{"version":3,"sources":["player/components/Line.tsx","styles/js/loader.js","player/types.ts","utils/objects.js","utils/helpers.js","utils/reactiveVars.js","hooks/Others/useMediaQuery.js","player/components/Song.tsx","player/stores/MediaPlayerStore.ts","player/stores/RootStore.tsx","player/hooks/useStores.ts","player/components/ProgressBar.tsx","player/utils/index.ts","player/components/Button.tsx","player/images/full-screen.svg","player/images/change-song.svg","player/images/favourite.svg","player/images/favourited.svg","player/images/hotspot.svg","player/images/pause.svg","player/images/play.svg","player/images/change-slide.svg","player/images/minimize.png","player/images/instrumental.png","player/images/vocal.png","player/images/musical-note.png","player/components/Styles/Icon.tsx","player/images/volume.png","player/images/plaintext-white.png","player/images/fancytext-white.png","player/components/Icon.tsx","player/components/SpacerNew.tsx","player/components/Styles/GridContainer.tsx","player/components/SongControls.tsx","player/hooks/useSongPage.ts","components/Shared/LikeAddIcons.js","player/components/VolumeSlider.tsx","player/components/Progress.tsx","player/components/SlideSwitcher.tsx","player/components/MobileFullscreen/SlideActions.tsx","player/components/MobileFullscreen/SongActions.tsx","player/components/MobileFullscreen/Progress.tsx","player/components/MobileFullscreen/Footer.tsx","player/components/MobileFullscreen/Index.tsx","graphql/queries/player/fragments.js","graphql/mutations/player/index.js","hooks/Others/usePlayerHit.js","graphql/queries/songbook/fragments.js","graphql/queries/tag/fragments.js","graphql/queries/song/fragments.js","graphql/queries/resource/fragments.js","graphql/queries/assembly/fragments.js","graphql/mutations/favourite/index.js","graphql/queries/assembly/assembly.js","graphql/queries/resource/resource.js","graphql/queries/song/song.js","hooks/Favourite/useAddToFavourites.js","hooks/Favourite/useRemoveFromFavourites.js","player/components/Styles/PlayerContainer.tsx","player/components/Styles/GridMediaButton.tsx","utils/Queue.js","hooks/Song/useWrapLines.js","hooks/Song/useGetSongForPlayer.js","player/components/MediaPlayer.tsx","player/hooks/useHighlightedPhrase.ts","player/hooks/useFontLoaded.ts","player/hooks/useScale.ts","player/components/UrlImage.tsx","player/utils/colMap.ts","player/components/Styles/SlideContainer.tsx","player/components/Styles/SlideElement.tsx","player/components/Styles/CanvasContainer.tsx","player/components/Styles/BackgroundContainer.tsx","player/components/Styles/Background.tsx","player/components/Styles/Controls.tsx","player/components/Slide.tsx","components/Shared/PopupInfo.js","player/components/SongTypes.tsx","player/components/MobileFullscreen/GuestHeader.tsx","utils/user.js","graphql/queries/playlist/fragments.js","graphql/queries/collection/fragments.js","graphql/mutations/collection/index.js","graphql/queries/collection/collection.js","styles/js/modals.js","hooks/Collection/useAddToCollection.js","hooks/Collection/useGetCollections.js","graphql/mutations/playlist/index.js","graphql/queries/playlist/playlist.js","hooks/Playlist/useAddToPlaylist.js","hooks/Playlist/useGetPlaylists.js","components/Shared/Loading.js","hooks/Collection/useCreateCollection.js","components/Shared/FormError.js","components/Shared/Modals/Collection/CreateCollectionModal.js","hooks/Playlist/useCreatePlaylist.js","components/Shared/Modals/Playlist/CreatePlaylistModal.js","components/Shared/Modals/AddToPlaylistAndCollectionModal.js","hooks/Collection/useDeleteCollection.js","hooks/Playlist/useDeletePlaylist.js","components/Shared/Modals/DeleteModal.js","hooks/Playlist/useEditPlaylist.js","components/Shared/Modals/Playlist/EditPlaylistModal.js","hooks/Collection/useRemoveFromCollection.js","hooks/Playlist/useRemoveFromPlaylist.js","components/Shared/Modals/RemoveModal.js","graphql/queries/share/fragments.js","graphql/mutations/share/index.js","graphql/queries/share/share.js","hooks/Share/useGenerateShareLink.js","hooks/Share/useGetSharedLinks.js","hooks/Share/useGetShareLink.js","components/Shared/Modals/ShareSongModal/ModalHeader.js","hooks/Share/useRenewSharedLink.js","components/Shared/Modals/ShareSongModal/RenewLink.js","components/Shared/Modals/ShareSongModal/ShareSongModal.js","components/Shared/Modals/ActionsModal/SharePlaylist.js","components/Shared/Modals/ActionsModal/ModalHeader.js","components/Shared/Modals/ActionsModal/Favourite.js","components/Shared/Modals/ActionsModal/EditPlaylist.js","components/Shared/Modals/ActionsModal/AddTo.js","components/Shared/Modals/ActionsModal/Share.js","components/Shared/Modals/ActionsModal/RemoveFrom.js","components/Shared/Modals/ActionsModal/DeletePlaylist.js","hooks/Playlist/useCopyPlaylist.js","components/Shared/Modals/ActionsModal/CopyPlaylist.js","hooks/Collection/useCopyCollection.js","components/Shared/Modals/ActionsModal/CopyCollection.js","hooks/Playlist/useGetPlaylistShareLink.js","components/Shared/Modals/Playlist/SharePlaylistModal/ModalBody/GeneratePlaylistShareLink/CopyShareLink.js","hooks/Playlist/useGeneratePlaylistShareLink.js","components/Shared/Modals/Playlist/SharePlaylistModal/ModalBody/GeneratePlaylistShareLink/GenerateShareLink.js","components/Shared/Modals/Playlist/SharePlaylistModal/ModalBody/GeneratePlaylistShareLink/Index.js","hooks/Playlist/useSharePlaylist.js","components/Shared/Modals/Playlist/SharePlaylistModal/ModalBody/SharePlaylistWithOrganisation.js","components/Shared/Modals/Playlist/SharePlaylistModal/ModalBody/Index.js","components/Shared/Modals/Playlist/SharePlaylistModal/ModalHeader.js","components/Shared/Modals/Playlist/SharePlaylistModal/Index.js","components/Shared/Modals/ActionsModal/HidePC.js","hooks/Collection/useHideSharedCollection.js","hooks/Playlist/useHideSharedPlaylist.js","components/Shared/Modals/HidePCModal.js","components/Shared/Modals/ActionsModal/Index.js","player/components/App.tsx","player/Index.tsx","components/Home/Categories/LeftIcon.js","components/Home/Categories/LeftShadow.js","components/Home/Categories/RightIcon.js","components/Home/Categories/RightShadow.js","components/Home/Categories/Index.js","components/Shared/ContentHereSquare.js","components/Shared/PlaySong.js","components/Shared/SongItem/index.js","components/Shared/SongCards/Index.js","components/Shared/BottomSpacer.js","graphql/queries/organisation/fragments.js","graphql/queries/organisation/organisation.js","hooks/Organisation/useGetMemberships.js","hooks/Organisation/useHandleSubscriptionAndTrials.js","components/Shared/Header/Sections/OrganisationsDropdown/Organisation.js","components/Shared/Header/Sections/OrganisationsDropdown/Organisations.js","components/Shared/Header/Sections/OrganisationsDropdown/OrganisationsDropdown.js","components/Shared/Header/Sections/MainNav/OrganisationName.js","components/Shared/Header/Sections/ManageAccountDropdown.js","components/Shared/RouterLinkOrNot/index.js","components/Shared/FeaturedAlbumArt.js","hooks/Collection/useGetCollection.js","components/Search/Sections/SearchCollectionArt.js","hooks/Playlist/useGetPlaylist.js","components/Search/Sections/SearchPlaylistArt.js","graphql/queries/notification/fragments.js","graphql/mutations/notifications/index.js","graphql/queries/notification/notification.js","hooks/Notification/useMarkUserNotificationsAsRead.js","components/Shared/Header/Sections/MainNav/Notifications/NotificationItem.js","hooks/Notification/useGetUserNotifications.js","components/Notifications/MarkAsRead.js","components/Shared/Header/Sections/MainNav/Notifications/Notifications.js","components/Shared/Header/Sections/MainNav/MainNav.js","components/Shared/Header/Sections/MainNav/MainNavMobile.js","components/Shared/Header/Sections/SearchBarDropdown.js","components/Shared/Header/Index.js","hooks/useListenToOutsideClicks.js","components/Shared/Sidebar/Sections/Countdown.js","components/Shared/Sidebar/Sections/Logo.js","components/Shared/Sidebar/Sections/SidebarList/Lists/LinkGeneric.js","components/Shared/Sidebar/Sections/SidebarList/Lists/LinkGenericMobile.js","components/Shared/Sidebar/Sections/SidebarList/Lists/MyFavourites.js","components/Shared/Sidebar/Sections/SidebarList/Lists/SongsAndPlaylist.js","components/Shared/Sidebar/Sections/SidebarList/Lists/TreatBox.js","components/Shared/Sidebar/Sections/SidebarList/Index.js","components/Shared/Sidebar/Sections/SidebarProfile.js","components/Shared/Sidebar/Index.js","styles/js/app.js","components/Shared/LoadJquery.js","graphql/queries/user/fragments.js","graphql/queries/user/user.js","hooks/User/useGetUser.js","graphql/queries/glossary/fragments.js","graphql/queries/glossary/glossary.js","hooks/Favourite/useGetFavouriteAssemblies.js","hooks/Favourite/useGetFavouriteResources.js","hooks/Favourite/useGetFavouriteSongs.js","components/Shared/Others/GetCommonData.js","graphql/mutations/organisation/index.js","hooks/Organisation/useAcceptOrDeclineInvite.js","components/Shared/Modals/InvitesModal/Invite.js","components/Shared/Modals/InvitesModal/InvitesModal.js","components/Shared/Modals/NoSubscriptionModal.js","components/Shared/Modals/TrialEndedModal.js","graphql/mutations/user/index.js","hooks/User/useUpdateUser.js","components/Shared/Modals/OnboardingQuestions/AllDoneButton.js","graphql/queries/tag/tag.js","hooks/useGetTag.js","components/Shared/Modals/OnboardingQuestions/SectionHeader.js","components/Shared/Modals/OnboardingQuestions/Checkbox.js","components/Shared/Modals/OnboardingQuestions/AreasYoureInterestedIn/Index.js","components/Shared/Modals/OnboardingQuestions/MarketingConsent/Index.js","components/Shared/Modals/OnboardingQuestions/ModalHeader.js","components/Shared/Modals/OnboardingQuestions/SingWithYourChildren/Index.js","components/Shared/Modals/OnboardingQuestions/WhatIsYourRole/Index.js","components/Shared/Modals/OnboardingQuestions/WhichAgeGroupDoYouTeach/Index.js","components/Shared/Modals/OnboardingQuestions/Index.js","components/Shared/HOCs/withPageWrapper.js","graphql/queries/player/player.js","hooks/Player/useGetSongs.js","components/Home/UpcomingEvents/ExternalEvent.js","components/Home/UpcomingEvents/CalendarEvent.js","components/Home/UpcomingEvents/index.js","components/Shared/SimpleCard/index.js","components/Home/Features/index.js","components/Home/Tips/LeftIcon.js","components/Home/Tips/RightIcon.js","components/Home/Tips/index.js","components/Shared/Quote/index.js","graphql/queries/homepage/fragments.js","graphql/queries/homepage/homepage.js","hooks/useGetHomePage.js","components/Shared/Video/Video.js","views/Index.js","components/Shared/Copyright.js","components/Resources/AudioBar.js","components/Resources/Header.js","components/Resources/Spacer.js","components/Song/Sections/SongsPageContent/Modules/ImageModule.js","components/Song/Sections/SongsPageContent/Modules/TextModule.js","components/Shared/IconModule.js","components/Shared/SoundcloudAudio.js","components/Shared/BioModule.js","hooks/Resource/useRenderResource.js","components/Shared/BannerQuote/Index.js","components/Song/Sections/SongsPageContent/Modules/QuotesModule.js","hooks/useRenderSparkles.js","utils/resource.js","components/Song/Sections/SongsPageContent/Sections/MusicActivity/TagsModule.js","components/Resources/Sections/MainSection/Index.js","graphql/mutations/other/index.js","hooks/Others/useFileStats.js","components/Shared/Downloadable.js","components/Shared/TagRow.js","components/Resources/DownloadsAndAboutDropdown.js","components/Resources/Sections/ResourcesHeader/Sections/ResourcesHeaderInfo.js","components/Resources/Sections/ResourcesHeader/Index.js","hooks/Resource/useGetResource.js","views/Resource/Resource.js","components/Shared/RelatedGuidesAndResources/Body/RelatedGuidesCard.js","components/Shared/RelatedGuidesAndResources/Body/RelatedGuidesCardLarge.js","components/Shared/RelatedGuidesAndResources/Body/Index.js","components/Shared/RelatedGuidesAndResources/Header.js","components/Shared/RelatedGuidesAndResources/Index.js","components/Shared/DownloadsAndAboutDropdown.js","components/Song/Sections/SongsHeader/SongsHeaderInfo.js","components/Song/Sections/SongsHeader/Index.js","components/Song/Sections/SongsPageContent/Sections/LinkedAssemblies/Index.js","hooks/Resource/useRenderResources.js","components/Song/Sections/SongsPageContent/Sections/SongSummaryTeachingTips/Index.js","components/Song/Sections/SongsPageContent/Modules/VideoModule.js","components/Shared/CategoryHeader.js","components/Shared/ResourceHeader.js","components/Song/Sections/SongsPageContent/Sections/CategoryGroup/Index.js","components/Song/Sections/SongsPageContent/Index.js","hooks/Song/useGetSong.js","graphql/queries/category/category.js","hooks/Others/useGetCategories.js","views/Song/Song.js","hooks/useRefetchTags.js","components/Shared/CategoryPages/AgeRangeSelect.js","components/Shared/CategoryPages/Select.js","components/Shared/CategoryPages/SelectSection.js","components/Shared/Buttons/FilterButton.js","components/Shared/CategoryPages/SubmitSection.js","components/CategoryPages/Assemblies/Sections/FilterSection.js","components/CategoryPages/Assemblies/Sections/Header.js","hooks/Assembly/useGetRandomFeaturedAssemblies.js","graphql/queries/categoryPage/fragments.js","graphql/queries/categoryPage/categoryPage.js","hooks/useGetCategoryPage.js","components/Shared/Card.js","components/Shared/AssemblyCards/Index.js","components/Shared/GuidesAndResources.js","components/Shared/Playlist.js","components/Shared/PlaylistCards.js","components/Shared/Songbook/SongbookItem.js","components/Shared/Songbook/Index.js","components/CategoryPages/Assemblies/Sections/MainContent/Index.js","hooks/Resource/useGetResources.js","hooks/Song/useGetSongs.js","graphql/queries/songbook/songbook.js","hooks/Songbook/useGetSongbooks.js","views/CategoryPages/Assemblies.js","components/Songs/Sections/SonglistHeader.js","hooks/Songbook/useGetComposers.js","components/Songs/Sections/FilterSection.js","components/Songs/Song.js","components/Songs/Sections/Songslist.js","views/Song/Songs.js","views/Others/404.js","components/AssemblyPlans/Sections/FilterSection.js","components/AssemblyPlans/Sections/Header.js","components/AssemblyPlans/Sections/MainContent/CardGroup.js","components/AssemblyPlans/Sections/MainContent/Index.js","hooks/Assembly/useGetFeaturedAssemblies.js","views/Assembly/AssemblyPlans.js","components/Assembly/Sections/Header.js","components/CurriculumPlan/Song.js","components/Assembly/Sections/MainSection/Song.js","components/Assembly/Sections/MainSection/Content.js","components/Assembly/Sections/MainSection/Tabs.js","components/Assembly/Sections/MainSection/AssemblyPlans.js","components/Assembly/Sections/MainSection/Description.js","components/Assembly/Sections/MainSection/Index.js","hooks/Assembly/useGetAssembly.js","views/Assembly/Assembly.js","components/MusicCurriculum/Sections/Animation.js","components/MusicCurriculum/Sections/Footer.js","components/MusicCurriculum/Sections/Header.js","graphql/mutations/curriculum/index.js","graphql/queries/musicCurriculum/fragments.js","graphql/queries/musicCurriculum/musicCurriculum.js","hooks/Curriculum/useAddLessonPlanBookmark.js","hooks/Curriculum/useRemoveLessonPlanBookmark.js","components/CurriculumPlan/Bookmark.js","components/MusicCurriculum/Sections/Panels/Step.js","components/MusicCurriculum/Sections/Panels/Term.js","components/MusicCurriculum/Sections/Panels.js","components/MusicCurriculum/Tabs.js","hooks/Curriculum/useGetMusicCurriculum.js","hooks/Curriculum/useGetMusicCurriculumOverview.js","views/MusicCurriculum/MusicCurriculum.js","components/CurriculumPlan/Sections/Header.js","components/CurriculumPlan/Sections/MainSection/PickAndMix.js","components/Shared/MCActivityHeader.js","components/Shared/TextModule.js","components/CurriculumPlan/Sections/MainSection/Plan.js","components/CurriculumPlan/Sections/MainSection/Index.js","hooks/useGetLessonPlan.js","views/MusicCurriculum/CurriculumPlan.js","components/CategoryPages/ChoirsAndConcerts/Sections/FilterSection.js","components/CategoryPages/ChoirsAndConcerts/Sections/Header.js","components/CategoryPages/ChoirsAndConcerts/Sections/MainSection/Index.js","views/CategoryPages/ChoirsAndConcerts.js","components/CategoryPages/CollectiveWorship/Sections/FilterSection.js","components/CategoryPages/CollectiveWorship/Sections/Header.js","components/Shared/AssemblyPlans.js","components/CategoryPages/CollectiveWorship/Sections/MainSection.js","views/CategoryPages/CollectiveWorship.js","components/CategoryPages/Wellbeing/Sections/FilterSection.js","components/CategoryPages/Wellbeing/Sections/Header.js","components/CategoryPages/Wellbeing/Sections/MainSection.js","views/CategoryPages/Wellbeing.js","components/TreatBox/SelectPlaylist.js","components/LottieAnimation/index.tsx","components/TreatBox/MainButton.js","components/TreatBox/Sections/Header.js","views/TreatBox/TreatBox.js","components/CategoryPages/SingInTheCommunity/Sections/FilterSection.js","components/CategoryPages/SingInTheCommunity/Sections/Header.js","components/CategoryPages/SingInTheCommunity/Sections/MainSection.js","views/CategoryPages/SingInTheCommunity.js","hooks/Assembly/useGetAssembliesByTheme.js","hooks/Assembly/useGetAssemblies.js","components/AssembliesTheme/Sections/OtherAssemblies.js","components/AssembliesTheme/Sections/MainSection/Card.js","components/AssembliesTheme/Sections/MainSection/Index.js","hooks/Assembly/useGetAnimatedAssemblyMedia.js","components/Shared/Mp4.js","components/AssembliesTheme/Sections/MainSection/AnimatedAssemblyMedia.js","views/Assembly/AssembliesTheme.js","hooks/Resource/useGetRecommendedResources.js","components/RecommendedResources/Sections/Header.js","components/ResourcesFavourite/Tag.js","components/RecommendedResources/Sections/MainSection/Card.js","components/RecommendedResources/Sections/MainSection/ResourcesList.js","components/Shared/Resources/ResourcesListInfiniteScroll.js","components/Shared/ResourceList.js","views/Resource/RecommendedResources.js","components/CategoryPages/SingInEverySubject/Sections/FilterSection.js","components/CategoryPages/SingInEverySubject/Sections/Header.js","components/CategoryPages/SingInEverySubject/Sections/MainSection/CurriculumResources.js","components/CategoryPages/SingInEverySubject/Sections/MainSection/MusicCurriculumBanner.js","components/CategoryPages/SingInEverySubject/Sections/MainSection/Index.js","views/CategoryPages/SingInEverySubject.js","components/CategoryPages/SchoolRoutinesAndSignals/Sections/FilterSection.js","components/CategoryPages/SchoolRoutinesAndSignals/Sections/Header.js","components/Shared/Video/VideoCards.js","components/CategoryPages/SchoolRoutinesAndSignals/Sections/MainSection/Index.js","views/CategoryPages/SchoolRoutinesAndSignals.js","components/CategoryPages/SingForFun/Sections/FilterSection.js","components/CategoryPages/SingForFun/Sections/Header.js","components/CategoryPages/SingForFun/Sections/MainSection/Index.js","views/CategoryPages/SingForFun.js","components/Shared/PageHeader.js","components/Collections/CardCollection.js","hooks/Playlist/useUpdateCollectionsOrdering.js","components/Collections/Tabs/UserCollections.js","components/Collections/Tabs/SparkyardCollections.js","components/Collections/Tabs/SharedCollections.js","components/Collections/SortingDropdown.js","components/Collections/datas.js","components/Collections/Sections/MainSection.js","components/Collections/CreateCollection.js","views/Collection/Collections.js","graphql/queries/nativitiesAndMusicals/nativitiesAndMusicals.js","views/Song/SongChoice.js","components/Playlists/Playlist.js","components/Playlists/PlaylistList.js","hooks/Playlist/useUpdatePlaylistsOrdering.js","components/Playlists/Tabs/UserPlaylists.js","components/Playlists/Tabs/SparkyardPlaylists.js","components/Playlists/Tabs/SharedPlaylists.js","components/Playlists/SortingDropdown.js","components/Playlists/datas.js","components/Playlists/Sections/MainSection.js","components/Playlists/CreatePlaylistButton.js","views/Playlist/SongsPlaylists.js","components/SongCalendar/CalendarPage/Sections/Header.js","components/SongCalendar/CalendarPage/Sections/Event.js","components/SongCalendar/CalendarPage/Sections/Month.js","components/SongCalendar/CalendarPage/Sections/MainSection.js","graphql/queries/calendar/fragments.js","graphql/queries/calendar/events.js","hooks/useGetEvents.js","views/SongCalendar/SongCalendar.js","hooks/useGetEvent.js.js","components/Shared/EventSongCards/Index.js","components/SongCalendar/EventPage/Sections/Header.js","views/SongCalendar/Event.js","hooks/Collection/useEditCollection.js","components/Shared/Modals/Collection/EditCollectionModal.js","hooks/Collection/useGetCollectionShareLink.js","components/Shared/Modals/Collection/ShareCollectionModal/ModalBody/GenerateCollectionShareLink/CopyShareLink.js","hooks/Collection/useGenerateCollectionShareLink.js","components/Shared/Modals/Collection/ShareCollectionModal/ModalBody/GenerateCollectionShareLink/GenerateShareLink.js","components/Shared/Modals/Collection/ShareCollectionModal/ModalBody/GenerateCollectionShareLink/Index.js","hooks/Collection/useShareCollection.js","components/Shared/Modals/Collection/ShareCollectionModal/ModalBody/ShareCollectionWithOrganisation.js","components/Shared/Modals/Collection/ShareCollectionModal/ModalBody/Index.js","components/Shared/Modals/Collection/ShareCollectionModal/ModalHeader.js","components/Shared/Modals/Collection/ShareCollectionModal/Index.js","components/Collection/Dropdown/DeleteCollection.js","components/Collection/Dropdown/EditCollection.js","components/Collection/Dropdown/ShareCollection.js","components/Collection/Dropdown/Index.js","components/Collection/Sections/Header.js","components/Collection/ContentBanner.js","components/Collection/Sections/Resources.js","hooks/Collection/useUpdateCollection.js","components/Collection/Sections/Collection.js","views/Collection/Collection.js","components/Playlist/Sections/Header.js","components/Shared/Song/ReorderableSongsList.js","components/Playlist/Sections/Subheader.js","hooks/Playlist/useUpdatePlaylistSongOrdering.js","views/Playlist/Playlist.js","views/MusicCurriculum/CurriculumResources.js","hooks/Others/useGenerateUrlHash.js","graphql/mutations/auth/index.js","hooks/User/useLoginUser.js","views/Auth/Login.js","components/ResourcesFavourite/Sections/Header.js","hooks/Favourite/useUpdateFavourites.js","components/ResourcesFavourite/Sections/Tags.js","components/ResourcesFavourite/ResourceItem.js","components/ResourcesFavourite/Sections/MainSection.js","components/ResourcesFavourite/Sections/FilterSection.js","views/Resource/ResourcesFavourite.js","components/SongsFavourite/Header.js","hooks/Favourite/useUpdateFavouriteSongsOrdering.js","views/Song/SongsFavourite.js","components/Shared/Resources/FilterSection.js","views/Resource/SeeAll.js","views/Playlist/SeeAll.js","views/Others/SeeAllVideos.js","hooks/Song/useGetPurchasedSongbooks.js","components/Shared/Songbook/SongbookList.js","views/Others/SeeAllSongbooks.js","components/NativitiesAndMusicals/Sections/Header.js","hooks/Songbook/useGetNativitiesAndMusicals.js","components/NativitiesAndMusicals/NativitiesAndMusicalItem.js","components/NativitiesAndMusicals/Sections/NeedMoreMusicals.js","components/NativitiesAndMusicals/NativitiesAndMusicalCards.js","components/NativitiesAndMusicals/Sections/MainSection.js","views/Song/NativitiesAndMusicals.js","components/Shared/CategoryPages/MultiFilterSection.js","components/Search/Sections/FilterSection.js","components/Search/Sections/SearchHeader.js","components/Search/Sections/SearchResultImage.js","components/Search/SearchResult.js","components/Search/Sections/SearchResultList.js","graphql/queries/search/fragments.js","graphql/mutations/search/index.js","constants/global.js","views/Search/Search.js","components/Songbook/Dropdown.js","components/Songbook/Sections/SongbookDetails.js","components/Songbook/Sections/Header.js","hooks/Songbook/useGetSongbook.js","views/Songbook/Songbook.js","views/Auth/Logout.js","views/Others/SeeAllAssemblies.js","components/ManageAccount/Sections/Header.js","hooks/Others/useUploadmage.js","components/Shared/Modals/ManageAccount/EditAccountModal/Avatar.js","components/Shared/Modals/ManageAccount/EditAccountModal/ModalHeader.js","components/Shared/Modals/ManageAccount/EditAccountModal/ResetPasswordButton.js","components/Shared/Modals/ManageAccount/EditAccountModal/Tag.js","components/Shared/Modals/ManageAccount/EditAccountModal/SelectedTags.js","components/Shared/Modals/ManageAccount/EditAccountModal/TagSuggestions.js","components/Shared/Modals/ManageAccount/EditAccountModal/EditAccountModal.js","components/ManageAccount/Sections/OrganisationsSegment/Organisation/CardsSection/Card.js","components/ManageAccount/Sections/OrganisationsSegment/Organisation/CardsSection/LastCard.js","components/ManageAccount/Sections/AccountSegment/PrivateUserCardsSection.js","components/ManageAccount/Sections/AccountSegment/AccountSegment.js","components/Shared/Modals/ManageAccount/CreateUsageReport/ModalHeader.js","graphql/queries/report/report.js","hooks/Report/useGetUsageReport.js","components/Shared/Modals/ManageAccount/CreateUsageReport/DateRange.js","components/Shared/Modals/ManageAccount/CreateUsageReport/Row.js","hooks/Organisation/useGetOrganisation.js","components/Shared/Modals/ManageAccount/CreateUsageReport/UserSelection.js","components/Shared/Modals/ManageAccount/CreateUsageReport/FormatSelection.js","components/Shared/Modals/ManageAccount/CreateUsageReport/Table.js","components/Shared/Modals/ManageAccount/CreateUsageReport/Index.js","components/Shared/Modals/ManageAccount/EditOrganisationModal/FormRow.js","hooks/Organisation/useAddOrEditAddress.js","hooks/Organisation/useUpdateOrganisationLogo.js","components/Shared/Modals/ManageAccount/EditOrganisationModal/Logo.js","hooks/Organisation/useUpdateOrganisationName.js","components/Shared/Modals/ManageAccount/EditOrganisationModal/EditOrganisationNameSection.js","components/Shared/Modals/ManageAccount/EditOrganisationModal/ModalHeader.js","components/Shared/Modals/ManageAccount/EditOrganisationModal/EditOrganisationModal.js","hooks/Organisation/useAcceptOrDeclineJoinRequest.js","hooks/Organisation/useCancelInvite.js","hooks/Organisation/useEditMember.js","hooks/Organisation/useRemoveMember.js","components/Shared/Modals/ManageAccount/InviteAndManageColleaguesModal/ColleaguesList/TableRow.js","components/Shared/Modals/ManageAccount/InviteAndManageColleaguesModal/ColleaguesList/TableBody.js","components/Shared/Modals/ManageAccount/InviteAndManageColleaguesModal/ColleaguesList/TableHead.js","components/Shared/Modals/ManageAccount/InviteAndManageColleaguesModal/ColleaguesList/ColleaguesList.js","components/Shared/Modals/ManageAccount/InviteAndManageColleaguesModal/ModalHeader.js","hooks/Organisation/useSendInvite.js","components/Shared/Modals/ManageAccount/InviteAndManageColleaguesModal/SendInviteSection.js","components/Shared/Modals/ManageAccount/InviteAndManageColleaguesModal/InviteAndManageColleaguesModal.js","hooks/Organisation/useLeaveOrganisation.js","components/Shared/Modals/ManageAccount/LeaveOrganisation/HeaderAndDescription.js","components/Shared/Modals/ManageAccount/LeaveOrganisation/LeaveOrganisationModal.js","components/Shared/Modals/ManageAccount/ManageStudentLinksModal/ModalHeader.js","hooks/Organisation/useGetOrganisationPlays.js","hooks/Share/useDeleteSharedLink.js","components/Shared/Modals/ManageAccount/ManageStudentLinksModal/TableBody.js","components/Shared/Modals/ManageAccount/ManageStudentLinksModal/TableHead.js","components/Shared/Modals/ManageAccount/ManageStudentLinksModal/ManageStudentLinksModal.js","components/Shared/Modals/ManageAccount/ManageSubscription/Footer.js","components/Shared/Modals/ManageAccount/ManageSubscription/ModalBody/PackageDetails.js","components/SubscriptionModalContent/SubscriptionModalContent.js","components/Shared/Modals/ManageAccount/ManageSubscription/ModalBody/SubscriptionDetails.js","components/Shared/Modals/ManageAccount/ManageSubscription/ModalBody/Index.js","components/Shared/Modals/ManageAccount/ManageSubscription/ModalHeader.js","components/Shared/Modals/ManageAccount/ManageSubscription/ManageSubscriptionModal.js","components/ManageAccount/Sections/OrganisationsSegment/Organisation/CardsSection/AllCards.js","components/ManageAccount/Sections/OrganisationsSegment/Organisation/CardsSection/CardsSection.js","components/ManageAccount/Sections/OrganisationsSegment/Organisation/EditOrganisationButton.js","components/ManageAccount/Sections/OrganisationsSegment/Organisation/LeaveOrganisationButton.js","components/ManageAccount/Sections/OrganisationsSegment/Organisation/OrganisationDetails.js","components/ManageAccount/Sections/OrganisationsSegment/Organisation/Organisation.js","components/ManageAccount/Sections/OrganisationsSegment/Index.js","components/ManageAccount/Sections/MainSection.js","views/ManageAccount/ManageAccount.js","hooks/Song/useGetRecommendedSongs.js","views/Song/RecommendedSongs.js","components/Collection/SeeAllResources/Header.js","views/Collection/SeeAllResources.js","hooks/User/useSendVerificationMail.js","components/Shared/Modals/EmailVerification/CheckYourMailModal.js","views/Others/Restricted.js","hooks/Share/useVerifyShareLink.js","views/Share/SharedSong.js","hooks/Playlist/useVerifyPlaylistShareLink.js","components/Shared/Modals/CopyModelModal.js","views/Share/SharedPlaylist/Playlist.js","views/Share/SharedPlaylist/Index.js","views/Share/ShareGuest.js","hooks/Collection/useVerifyCollectionShareLink.js","views/Share/SharedCollection/Collection.js","views/Share/SharedCollection/Index.js","components/Shared/Songbook/SongbookSeries.js","graphql/queries/songbook/songbookSeries.js","hooks/Songbook/useGetSongbookSeries.js","components/Shared/Modals/SongbookSeriesModal/Index.js","components/Songbooks/Sections/Header.js","components/Songbooks/Sections/AllSongbookSeries.js","views/Songbook/Songbooks.js","components/Collection/SeeAllSongs.js","views/Notifications/Index.js","views/Song/RecentlyPlayed.js","routes/index.js","graphql/config.js","components/Shared/ScrollToTop.js","components/Shared/Others/ActionsModalWrapper.js","index.js"],"names":["Line","_ref","yPosition","phrases","highlightedPhrases","onClick","onDblClick","isPlaying","infoName","position","fontFamily","fontSize","textPrimaryColor","textHighlightColor","plainTextView","totalLineCount","highlightInfoName","longestInfoNameLength","doubleClick","useRef","infoNameRef","itemEls","getClickHandler","phrase","current","clearTimeout","global","setTimeout","handleFill","some","phraseItem","id","isHighlightable","isLarge","section","name","getFontStyle","_section$children2","_section$children2$","_section$children3","_section$children3$","fontStyles","_section$children4","_section$children4$","push","children","join","getFontSize","_section$children7","_section$children7$","_section$children5","_section$children5$","_section$children6","_section$children6$","type","sizeObj","small","large","italic","_ref2","currentElementPositionInRef","getXPosition","phraseId","phraseIdx","sectionIdx","_itemEls$current","_itemEls$current3","xOffset","isNonFirstPhrase","length","xPosition","lastPhraseWidth","_itemEls$current2","_itemEls$current2$phr","_itemEls$current2$phr2","flattenedRef","Object","values","flat","charLength","elId","_id","elIdxInFlattenedRef","findIndex","item","i","_flattenedRef$i","size","width","splice","forEach","el","sumWidths","a","getYposition","isClickable","isInstructionalText","_section$children","_section$children$","setCursorType","document","body","style","cursor","phrasesState","setPhrasesState","useState","useEffect","_jsx","_Fragment","map","_jsxs","React","Fragment","Text","x","y","text","wrap","fill","ref","content","html","parse","decode","renderSection","handleElementPush","element","_itemEls$current4","elementId","phraseInRef","find","handleRef","_itemEls$current5","fontStyle","onMouseEnter","onMouseLeave","onMouseDown","e","evt","button","child","grandChild","window","$","jQuery","require","ProgressDefaultState","played","playedSeconds","loaded","loadedSeconds","songSrcOne","concat","process","FilesDefaultState","mp3","ogg","CloudDefaultState","filename","filename_md5","filename_size","PhraseDefault","milliseconds","hide","italics","subtitle","PageDefaultState","infoHeader","infoHeaderBasicOverride","infoFooter1","infoFooter2","showPageHeader","showPageFooter","millisecondsStart","millisecondsStop","styleBodyLeading","styleBodySize","clouds","cloudPosX","cloudPosY","groups","styleGroupIndex","styleGroupCol","styleColIndex","stylePadding","splitLineNumber","lines","SongDefaultState","tempo","infoNameExtractable","infoAuthor","infoCopyright","infoCopyrightFormatted","infoCCLI","infoAge","infoCategory","keywords","overrideButtonInfo","overrideButtonLyrics","overrideButtonScore","showButtonExtract","showButtonInfo","showButtonLyrics","showButtonScore","styleBodyFont","styleTitleCol","styleTitleFont","styleTitleSize","styleCol1Highlighted","styleCol1Unhighlighted","styleCol2Highlighted","styleCol2Unhighlighted","styleCol3Highlighted","styleCol3Unhighlighted","styleCol4Highlighted","styleCol4Unhighlighted","styleCol5Highlighted","styleCol5Unhighlighted","styleMarginLeft","styleMarginRight","styleMarginTop","styleMarginBottom","fileBackground","fileBackgroundMD5","fileBackgroundSize","fileLarge","fileLargeMD5","fileLargeSize","fileInfo","fileInfoMD5","fileInfoSize","fileLyrics","fileLyricsMD5","fileLyricsSize","fileScore","fileScoreMD5","fileScoreSize","isFavourited","audios","isDefault","isExtractable","isVisible","infoArtist","infoISRC","millisecondsLength","files","file_md5s","file_sizes","pages","esbTrack","esongbook","imageFilename","imageFileOriginal","imageFileLarge","imageFileMedium","albumArt","AlbumDefaultState","albumName","songCount","songs","src","JumpToDefault","phraseStarts","phraseEnds","setAt","Date","complete","playSinglePhrase","newPhraseID","PlayerHitDefault","sessionUUID","songId","hitUUID","audioId","updateExpected","updateSequence","playheadPositionStartMs","playheadPositionEndMs","shareId","esongbookId","organisationRef","valuesObj","song_type","seasonal","speed","vocal_range","curriculum_area","topic_or_theme","curriculum_concept","curriculum_subject_links","routines","vocal_range_description","musical_style","tempo_description","assemblyThemesObj","ANIMATED","COLLECTIVE_WORSHIP","CHRISTMAS","EASTER","HARVEST","SUMMER","AUTUMN","SPRING","WINTER","typeObj","engage","wonder","resource","resourceQuestions","reflect","prayer","goDeeper","sing","customSection","activity","brightIdea","talkAbout","bibleBit","respond","bibleBitOrRespond","bibleBitOrReflect","engagementActivity","talkOrThinkAbout","responsiveActivity","prayerActivity","playAnimation","readStory","creativeIdeas","vocalPathwayActivity","spotlightOn","curriculumLink","musicCurriculumActivity","stepColorObj","eventColourObject","updateQuery","prev","newQuery","fetchMoreResult","defaultFilterValues","min_age","max_age","test","resource_type","content_type","modelMap","SONG","RESOURCE","ASSEMBLY","PLAYLIST","playlistDefaultObj","collectionDefaultObj","title","description","toastSuccessObj","toastId","autoClose","toastErrorObj","loginUrl","cookieYes","Cookies","get","sparkyardLoginUrl","cookieValues","split","reduce","acc","curr","key","value","console","log","params","advertisement","analytics","functional","categoryMap","image","resourceQuery","hasTags","OR","AND","column","curriculumLinksAndMoreItems","blogOrGuideItems","filterTypeMap","resourceType","includes","all","defaultAvatarMid","defaultOrganisationLogo","availableRoles","formatTags","makeVar","tags","tag","index","formattedName","formatList","newText","replace","removeHtmlClassFromString","formatTime","time","date","setSeconds","toISOString","substr","returnNumberRange","start","end","numArr","shortenLongDescription","limit","stripHtml","div","createElement","innerHTML","textContent","innerText","addGlossaries","glossaries","textStr","word","definition","glossaryRegEx","RegExp","formatForMultiWord","wordStr","wordToArr","formatDefinition","replaceAll","match","trimmedMatch","trim","mediaPlayerSelectedSongStateDefault","loading","data","song","albumArtDefault","returnHasTags","available","randomise","arguments","undefined","buildFilterParams","contentType","filteredArr","tagsArr","entries","formatted_name","buildTags","filterParameters","filtered","_data$min_age","_data$max_age","_data$max_age2","_data$min_age2","hasSongDetail","operator","categoryFilter","hasCategory","composers","where","displayLoadingMessage","message","options","toast","info","dismissLoadingMessage","dismiss","displaySuccessMessage","success","displayErrorMessage","error","dismissErrorMessage","displayWarningMessage","dismissWarningMessage","matchesAgeRange","inputMinAge","inputMaxAge","resourceMinAge","resourceMaxAge","redirectToOota","open","calculateDaysLeftInSubscription","dateRenewal","isActive","daysLeftOnSubscription","formatDistanceToNowStrict","parseInt","roundingMethod","getSubscriptionCardTexts","subs","activeTrial","activeSubs","filter","sub","paidSubs","subscriptionType","hasMultiplePaidSubs","manualSubs","hasManualSubs","middleText","topText","bottomText","currentSong","currentResource","currentSongTypeId","playerActive","isPlayerFullscreen","songChoiceSongs","isMobileSidebarOpen","user","isMobileFullscreen","resourceList","playlistList","videoList","songbookList","assemblyList","openTabType","mediaPlayerSelectedSongState","modalActions","headerText","favourite","addToPlaylist","addToCollection","share","modalId","deletePlaylist","userFavouriteSongs","userFavouriteResources","userFavouriteAssemblies","addToPlaylistSongId","addToCollectionItemObj","deleteModalObj","organisationDetails","organisationId","selectedSongId","subscriptionDetails","organisationLoggedInAs","loggedInAsPrivateUser","currentOrganisationHasActiveSub","userHasActiveSubOrTrial","currentlySelectedSubscription","allSongsPageSongs","useMediaQuery","query","matches","setMatches","media","matchMedia","listener","addEventListener","removeEventListener","Container","styled","withConfig","displayName","componentId","gridPosition","_ref3","gridPositionMobile","AlbumCover","img","AlbumInfo","withRouter","_ref4","_songState$data","_songState$data$song","_songState$data2","_songState$data2$song","_songState$data$song7","isGuest","history","songState","useReactiveVar","isNotDesktop","isVerySmallScreen","shouldScrollSongName","textLimit","songName","SongLink","Tappable","component","className","onTap","_songState$data$song2","dangerouslySetInnerHTML","__html","SongDetails","_songState$data$song3","_songState$data$song4","songbook","esongbooks","_songState$data$song5","_songState$data$song6","_songState$data$song8","_songState$data$song9","MediaPlayerStore","store","useLocalStore","album","playing","duration","volume","currentSrc","seeking","jumpTo","page","progress","playlist","showSlide","songData","ready","playerHit","shouldRecordHit","shouldUpdateHit","lastPlayheadPositionMs","currentPlayheadPositionMs","togglePlainTextView","enablePlainTextView","enableFancyTextView","switchSong","backwards","previousPlayingState","setLastPlayheadPositionMs","Math","round","setJumpTo","setCurrentPlayheadPositionMs","switchTrack","idx","setShouldRecordHit","setSong","Decimal","times","switchSlide","offset","currentSlide","previoudPlayingState","setPlaying","setShowSlide","toggle","resetJumpTo","setDuration","setVolume","setProgress","setSeeking","isSeeking","setPage","setPlaylist","setReady","setShareId","setPlayerHit","hit","setShouldUpdateHit","setError","StoreContext","createContext","mediaPlayerStore","StoreProvider","Provider","useStores","useContext","RelativeRootElement","height","Slider","input","attrs","numeral","format","ProgressBar","_sliderRef$current","player","sliderRef","isMobile","LineStyle","clientHeight","left","zIndex","onMouseUp","seekTo","parseFloat","currentTarget","useObserver","_sliderRef$current2","_sliderRef$current3","strokeColor","percent","strokeLinecap","min","max","step","onChange","Number","target","onTouchStart","onTouchEnd","getMapValue","defaultProps","variant","rotate","buttonStyleMap","primary","secondary","default","ButtonBase","disabled","Button","bordered","active","hideOnMobile","showOnMobileFs","audioBg","css","_templateObject","_taggedTemplateLiteral","_templateObject2","_templateObject3","_templateObject4","_templateObject5","_templateObject6","_templateObject7","_templateObject8","iconImageMap","Fullscreen","ChangeSong","Favourite","Favourited","Hotspot","Pause","Play","ChangeSlide","Volume","Minimize","Instrumental","Vocal","Plaintext","Fancytext","MusicalNote","iconStyleMap","Icon","mobileDimensions","_ref5","tabletDimensions","_ref6","mobileFullscreenDimensions","_ref7","pulsate","MediaButton","icon","buttonRef","blur","Spacer","GridContainer","mobileFullscreen","SongControls","_mediaPlayerStore$pla","_mediaPlayerStore$pla2","_mediaPlayerStore$pla3","getSongRequest","mobileFullscreenStatus","currentSongId","nextSongId","previousSongId","playButtonShouldPulsate","useSongPage","currentPage","setCurrentPage","newPage","useCallback","pageEnd","LikeAndAddIcons","darkColor","songsList","itemType","largeIcon","editPlaylist","playlistName","sharePlaylist","canCopyPlaylist","copyCollection","hidePC","href","VolumeContainer","VolumeSlider","_StyledInput","documentElement","setProperty","_styled","ProgressContainer","Progress","toFixed","ButtonShadow","leftButton","rightButton","navigation","SlideSwitcherContainer","PagesTab","SlideSwitcher","totalSlides","SlideActions","SongActions","JSON","metadata","flexBasis","setIconType","getIcon","label","alt","selectedOption","setSelectedOption","Select","styles","control","base","state","background","color","border","paddingTop","paddingBottom","boxShadow","isFocused","borderColor","singleValue","menu","marginTop","opacity","marginBottom","option","provided","borderBottom","padding","indicatorSeparator","display","isSearchable","menuPlacement","preventDefault","minimize","MobileFullscreenDetails","Footer","PlayerHitFieldsFragment","gql","RecentlyPlayedFragment","CREATE_HIT","UPDATE_HIT","usePlayerHit","createPlayerHit","createPlayerHitData","useMutation","onError","err","location","reload","onCompleted","updatePlayerHit","createPlayerHitRequest","variables","updatePlayerHitRequest","EsongbookResourceFieldsFragments","EsongbookFieldsFragments","MinEsongbookFieldsFragments","TagFieldsFragment","CategoryFieldsFragments","SparklesFieldsFragment","ResourceFieldsFragments","CloudFieldsFragment","PhraseFieldsFragment","LineFieldsFragment","GroupFieldsFragment","PageFieldsFragment","AudioFileFieldsFragment","_templateObject9","AudioFieldsFragment","_templateObject10","SongFieldsFragments","_templateObject11","MinSongFieldsFragment","_templateObject12","MidSongFieldsFragment","_templateObject13","MinResourceFragmentFields","AssemblyPlanFieldsFragments","AssemblyFieldsFragment","MinAssemblyFieldsFragment","ADD_SONG_TO_FAVOURITES","ADD_RESOURCE_TO_FAVOURITES","ADD_ASSEMBLY_TO_FAVOURITES","REMOVE_SONG_FROM_FAVOURITES","REMOVE_RESOURCE_FROM_FAVOURITES","REMOVE_ASSEMBLY_FROM_FAVOURITES","UPDATE_FAVOURITES","UPDATE_FAVOURITE_SONGS_ORDERING","GET_ASSEMBLIES_BY_THEME","GET_ASSEMBLY","GET_ASSEMBLIES","GET_ANIMATED_ASSEMBLY_MEDIA","GET_FEATURED_ASSEMBLIES","GET_FAVOURITE_ASSEMBLIES","GET_RANDOM_FEATURED_ASSEMBLIES","GET_RESOURCE","GET_RECOMMENDED_RESOURCES","GET_RESOURCES","GET_FAVOURITE_RESOURCES","GET_SONG","GET_SONGS","GET_FAVOURITE_SONGS","GET_RECOMMENDED_SONGS","GET_COMPOSERS","GET_SONG_AS_GUEST","useAddToFavourites","_organisationLoggedIn","addToFavourites","refetchQueries","addResourceToFavourites","resources","addAssemblyToFavourites","assemmblies","addToFavouriteRequest","send","this","addSong","addResource","addAssembly","item_id","organisation_ref","then","res","addSongToFavourite","catch","addResourceToFavourite","useRemoveFromFavourites","removeSongFromFavourites","removeResourceFromFavourites","removeAssemblyFromFavourites","removeFromFavouritesRequest","removeSong","removeResource","removeAssembly","removeSongFromFavourite","removeResourceFromFavourite","removeAssembliesFromFavourites","PlayerContainer","GridMediaButton","Queue","enqueue","promise","Promise","resolve","reject","queue","dequeue","workingOnPromise","shift","pendingPromise","useWrapLines","wrapLines","threshold","modifiedPages","modifiedGroups","group","modifiedLines","line","uniqueTags","Set","contentWithoutTags","contentArr","modifiedContent","slice","newLines","openTags","contentLine","openTag","closedTags","openedTags","inTag","tagName","char","reverse","tagToClose","pattern","splitPhraseIntoLines","useGetSongForPlayer","guest","setData","resKey","getSong","refetch","useLazyQuery","songCopy","sortedAudios","sort","b","audioSrs","audio","uuidv4","errorMessage","fetchPolicy","notifyOnNetworkStatusChange","songShareId","context","headers","ootaShareUUID","Controls","isIOS","Player","_mediaPlayerStore$son","_player$current","dividedBy","timeSinceLastUpdate","setTimeSinceLastUpdate","roundedPlayedSeconds","prevState","playerHitObj","currentAudioId","ReactPlayer","config","file","forceAudio","url","progressInterval","onProgress","onDuration","onPlay","uuidValidate","onPause","onSeek","MediaPlayer","_organisationLoggedIn2","_mediaPlayerStore$son2","_mediaPlayerStore$son3","toggleFullScreen","overflow","isEmptyLyrics","favIconState","setFavIconState","userAgemt","navigator","userAgent","platform","maxTouchPoints","_mediaPlayerStore$son4","_StyledDiv","Song","Modernizr","fullscreen","indexOf","useHighlightedPhrase","_phrases$","filterGroups","phrasesArr","mobx","flatMap","flattenGroups","setPhrases","currentPhrases","setCurrentPhrases","nextPhrase","passedThisPhrase","beforeNextPhrase","allPhrases","phraseArr","_nextPhrase","currentIdx","_nextPhrase2","useFontLoaded","fontLoaded","setFontLoaded","font","FontFaceObserver","centuryGothic","blueMixChar","load","timer","useScale","containerDimensions","scale","setScale","pow","URLImage","imageRef","setImage","handleLoad","loadImage","Image","colMap","SlideContainer","props","SlideElement","CanvasContainer","BackgroundContainer","Background","overrideSystem","ignoreInputFields","Slide","cloud","containerRef","useComponentSize","isPlainText","titleFamily","fontError","titleFontLoaded","titleFontError","copyrightFontLoaded","copyrightFontError","plainTextViewTextColor","every","shouldReduceLineHeight","hasCloudAndMultipleGroups","hasMultipleGroupsAndIsFirstPage","hasCloudAndIsFirstPage","parsedTitle","splitByThreshold","sentence","splitIndex","lastIndexOf","getYOffset","lineIdx","groupIdx","groupCount","_groups$","_groups$groupIdx","lineCount","hasChorusImage","lineSpacing","groupSpacing","firstLinePosition","_groups","useKeyboardShortcut","footerTextIdx","FooterTextToArray","copyrights","getFontsize","hasCloud","FooterTextStartingPosOffset","footerOffset","firstPageLinePosition","_group$infoName","Stage","scaleX","scaleY","Layer","KonvaLine","points","strokeWidth","stroke","yOffset","_createElement","phraseIndex","_phrases$slice$find","p","copyright","PopupInfo","isHeader","referenceElement","setReferenceElement","popperElement","setPopperElement","attributes","usePopper","placement","infoShow","setInfoShow","classNames","popper","getIconType","SongTypes","GuestHeader","getUserFromLocalStorage","localStorage","getItem","persistOrganisationLoggedInAs","setItem","clearLoginPreferences","removeItem","PlaylistFieldsFragment","PlaylistShareLinkFieldsFragment","CollectionFieldsFragment","CollectionsFieldsFragment","CollectionShareLinkFieldsFragment","CREATE_COLLECTION","ADD_TO_COLLECTION","EDIT_COLLECTION","DELETE_COLLECTION","REMOVE_FROM_COLLECTION","UPDATE_COLLECTION","UPDATE_COLLECTION_SONG_ORDERING","UPDATE_COLLECTION_PLAYLIST_ORDERING","COPY_COLLECTION","GENERATE_COLLECTION_SHARE_LINK","VERIFY_COLLECTION_SHARE_LINK","HIDE_SHARED_COLLECTION","UPDATE_COLLECTIONS_ORDERING","GET_USER_COLLECTIONS","GET_SY_COLLECTIONS","GET_COLLECTION","GET_COLLECTIONS_SHARED_WITH_ORGANISATION","GET_COLLECTION_SHARE_LINK","showModal","closeOptions","keyboard","backdrop","modal","show","hideModal","useAddToCollection","itemId","addToCollectionRequest","attachIds","detachIds","attach","detach","useGetCollections","sparkyard","shared","useQuery","CREATE_PLAYLIST","ADD_TO_PLAYLIST","REMOVE_FROM_PLAYLIST","DELETE_PLAYLIST","EDIT_PLAYLIST","UPDATE_PLAYLIST_SONG_ORDERING","GENERATE_PLAYLIST_SHARE_LINK","COPY_PLAYLIST","VERIFY_PLAYLIST_SHARE_LINK","HIDE_SHARED_PLAYLIST","UPDATE_PLAYLISTS_ORDERING","GET_PLAYLISTS","GET_PLAYLIST","GET_PLAYLISTS_SHARED_WITH_ORGANISATION","GET_PLAYLIST_SHARE_LINK","useAddToPlaylist","createdBy","addToPlaylistRequest","song_id","useGetPlaylists","_useReactiveVar","isSharedPlaylists","fetchMore","Loading","useCreateCollection","reset","closeDropdown","createCollection","createCollectionRequest","share_with_organisation","_res$data","_res$data$createColle","FormError","CreateCollectionModal","register","handleSubmit","errors","useForm","tabIndex","role","placeholder","required","rows","useCreatePlaylist","createWithSong","createPlaylist","createPlaylistRequest","_res$data$createPlayl","CreatePlaylistModal","AddToPlaylistAndCollectionModal","_playlists$playlists","_userCollections$user","userCollections","loadingUserCollections","playlists","loadingPlaylists","collectionCheckedList","setCollectionCheckedList","playlistCheckedList","setPlaylistCheckedList","stateMap","collection","findModelAndUpdateCheckedList","items","_items$modelMap$itemT","collections","userPlaylists","playlistId","checked","htmlFor","collectionId","collectionAttachIds","collectionDetachIds","playlistAttachIds","playlistDetachIds","handleAddToCollection","useDeleteCollection","useHistory","deleteCollection","deleteCollectionRequest","useDeletePlaylist","deletePlaylistRequest","DeleteModal","fnMap","COLLECTION","toLowerCase","useEditPlaylist","editPlaylistRequest","EditPlaylistModal","defaultValue","useRemoveFromCollection","removeFromCollection","removeFromCollectionRequest","item_type","toUpperCase","songbooks","assemblies","useRemoveFromPlaylist","removeFromPlaylist","removeFromPlaylistRequest","playlist_id","RemoveModal","childId","parentId","from","SongShareFieldsFragments","GENERATE_SHARE_LINK","VERIFY_SHARE_LINK","DELETE_SHARED_LINK","RENEW_SHARED_LINK","GET_SHARE_LINK","GET_SHARED_LINKS","useGenerateShareLink","generateShareLink","generateShareLinkRequest","useGetSharedLinks","useGetShareLink","ModalHeader","shareLink","hasReachedSharingLimit","rel","useRenewSharedLink","renewSharedLink","renewSharedLinkRequest","RenewLink","setLoadingRenewShareLink","uuid","origin","ShareSongModal","_sharedLinks$getShare","isCopied","setIsCopied","generatedShareLink","setGeneratedShareLink","loadingRenewShareLink","selectedOrganisation","getShareLinkData","loadingGetShareLink","generateShareLinkData","loadingGenerateShareLink","sharedLinks","activeSysub","getSharedLinks","getShareLink","disableButton","status","readOnly","clipboard","writeText","SharePlaylist","iconState","setIconState","favSongs","favResources","favAssemblies","isAlreadyFavourited","_fnMap$itemType","EditPlaylist","AddTo","Share","RemoveFrom","DeletePlaylist","useCopyPlaylist","setCopied","copyPlaylist","copyPlaylistRequest","CopyPlaylist","useCopyCollection","copyCollectionRequest","CopyCollection","useGetPlaylistShareLink","CopyShareLink","copiedLinkId","setCopiedLinkId","shareLinkUrl","useGeneratePlaylistShareLink","generatePlaylistShareLink","generatePlaylistShareLinkRequest","GenerateShareLink","GeneratePlaylistShareLink","getPlaylistShareLink","useSharePlaylist","sharePlaylistRequest","deleteId","shares","delete","upsert","SharePlaylistWithOrganisation","setState","hasSharedWithOrganisation","handleSharePlaylist","ModalBody","SharePlaylistModal","HidePC","useHideSharedCollection","hideSharedCollection","hideSharedCollectionRequest","collection_id","useHideSharedPlaylist","hideSharedPlaylist","hideSharedPlaylistRequest","HidePCModal","loadingHideSharedCollection","loadingHideSharedPlaylist","shouldDisableButton","fullscreenView","App","isFullScreen","isPlayerActive","handle","useFullScreenHandle","isMobiileLandscape","currentPageIndex","exit","enter","_mediaPlayerStore$son5","mediaPlayerClassName","slidesClassName","FullScreen","ActionsModal","LeftIcon","viewBox","xmlns","clipPath","d","transform","RightShadow","version","xmlnsXlink","gradientUnits","x1","y1","x2","y2","stopColor","stopOpacity","fillRule","RightIcon","categories","link","imgHeight","SwiperButton","onPrev","onNext","hidePrev","hideNext","LeftShadow","reachBeginning","setReachBeginning","reachEnd","setReachEnd","swiperCategories","setSwiperCategories","Swiper","spaceBetween","slidesPerView","onInit","swiper","allowTouchMove","onReachBeginning","onReachEnd","onSlidePrevTransitionStart","onSlideNextTransitionStart","modules","Navigation","category","SwiperSlide","backgroundColor","slidePrev","slideNext","ContentHereSquare","PlaySong","mini","nativities","songStateClassName","selectedSong","signingVideos","songLink","pageTitle","showContentHereImg","filterParams","seeAllRoute","useLocation","linkLocation","path","pathname","songTitle","SongItem","BottomSpacer","AddressFieldsFragment","SysubFieldsFragment","MemberFieldsFragment","InviteFieldsFragment","OrganisationFieldsFragment","MembershipFieldsFragment","GET_MEMBERSHIPS","GET_ORGANISATION","LEAVE_ORGANISATION","GET_ORGANISATION_PLAYS","useGetMemberships","useHandleSubscriptionAndTrials","hasActiveSubscription","firstActiveSub","handleOrganisationSub","organisation","hasActiveSub","sysubs","handleUserSubOrTrial","hasActiveSubOrTrial","trialRecentlyEnded","Organisation","logo","disableClick","privateUser","Organisations","organisations","userAvatar","availableOrganisations","detailName","avatar","OrganisationsDropdown","_sysubs$","_data$memberships","organisationCount","memberships","currentlyLoggedInAsOrganisation","isPrivateUser","savedOrganisation","getOrganisationFromLocalStorage","validOrganisation","membership","organisationWithSub","organisationWithActiveSub","_membership$organisat","_membership$organisat2","getFirstOrganisationWithActiveSubscription","_data$memberships2","_data$memberships2$","firstOrganisation","validateOrganisationId","photoToDisplay","addBorderToAvatar","hideSwitch","organisationName","OrganisationName","hideName","avatarSrc","RouterLinkOrNot","forwardRef","isHtmlLink","startsWith","baseProps","Link","to","FeaturedAlbumArt","roundedCorners","borderRadius","albumArts","featuredAlbumArts","radiusMap","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","useGetCollection","loadSilently","SearchCollectionArt","_data$collection","useGetPlaylist","SearchPlaylistArt","_data$playlist","NotificationFieldsFragment","MARK_USER_NOTIFICATIONS_AS_READ","GET_USER_NOTIFICATIONS","useMarkUserNotificationsAsRead","markUserNotificationsAsRead","markUserNotificationsAsReadRequest","NotificationItem","notification","slug","read","typeId","customLink","openInNewTab","useMemo","assembly_plan","guide","blog","song_calendar","custom","before_trial_ends","before_sub_ends","after_first_login","handleMarkAsRead","TitleAndSubtitle","notificationImage","useGetUserNotifications","pollInterval","MarkAsRead","Notifications","unreadNotificationsCount","getUserNotifications","MainNav","handleSearch","encodeURIComponent","searchParam","queryString","search","autoComplete","onSubmit","ManageAccountDropdown","showSearchMenu","setShowSearchMenu","Header","MainNavMobile","SearchBarDropdown","useListenToOutsideClicks","handleOutsideClick","event","contains","Countdown","loggedInUser","currentSub","daysLeft","clockClassName","shouldDisplayCountdown","trial","fnParam","trialDateUntil","floor","now","willRenew","differenceInDays","textClassName","iconUrl","route","setIsActive","openTab","SidebarList","LinkGeneric","SongsAndPlaylist","MyFavourites","TreatBox","LinkGenericMobile","SidebarProfile","firstname","surname","Sidebar","wrapperRef","Logo","jquery","carousel","click","removeClass","addClass","on","keyCode","val","toggleClass","tooltip","remove","mouseup","container","is","has","LoadJquery","UserInviteFieldsFragment","UserFieldsFragment","GET_USER","useGetUser","disableRedirect","fetchTime","setFetchTime","queryOptions","timeout","_res$me","_res$me2","_res$me$invites","me","stringify","shouldRequireValidation","isValidated","validationRequired","invites","timeNow","timeForNextRefetch","differenceInMilliseconds","tokenExpires","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","forceRefresh","GlossaryFieldsFragment","GET_GLOSSARIES","useGetFavouriteAssemblies","useGetFavouriteResources","useGetFavouriteSongs","sortedSongs","localeCompare","sensitivity","GetCommonData","glossaryData","sortedGlossaries","favouriteSongs","favouriteResources","favouriteAssemblies","SEND_INVITE","CANCEL_INVITE","EDIT_MEMBER","REMOVE_MEMBER","ADD_ADDRESS","EDIT_ADDRESS","UPDATE_ORGANISATION_LOGO","ACCEPT_OR_DECLINE_INVITE","UPSERT_ORGANISATION_NAME","ACCEPT_OR_DECLINE_JOIN_REQUEST","useAcceptOrDeclineInvite","acceptOrDeclineInvite","acceptOrDeclineInviteRequest","Invite","inviteRef","invite_ref","action","InvitesModal","NoSubscriptionModal","TrialEndedModal","UPDATE_USER","SEND_VERIFICATION_MAIL","useUpdateUser","updateUser","userId","email","updateUserRequest","emailHasChanged","AllDoneButton","GET_TAGS","useGetTag","ofType","SectionHeader","tickAll","Checkbox","handleChange","onCheck","roleFormatted","wordBreak","AreasYoureInterestedIn","handleShowSection","handleDataChange","availableSubjectsData","availableSubjects","setAvailableSubjects","selectedSubjects","setSelectedSubjects","subjects","tagsFormatted","isChecked","subject","newSubjects","existingSubject","MarketingConsent","marketingConsent","float","marginRight","SingWithYourChildren","availableCategories","selectedCategories","setSelectedCategories","newCategories","existingCategory","WhatIsYourRole","roles","selectedRoles","setSelectedRoles","newRoles","existingRole","WhichAgeGroupDoYouTeach","minAge","maxAge","minAgeRef","maxAgeRef","num","OnboardingQuestionsModal","showSections","setShowSections","whatIsYourRole","whichAgeGroupDoYouTeach","areasYoureInterestedIn","singWithYourChildren","allDoneButton","marketing_consent","withPageWrapper","Wrapped","currentURL","isSharedPageURL","whitelistedFromAuthRedirect","OnboardingQuestions","GET_RECENNTLY_PLAYED","useGetRecentlyPlayed","number","first","ExternalEvent","isFree","getTime","getTimezoneOffset","CalendarEvent","bgColor","clipRule","parseISO","events","sortedEvents","featured","thumbnail","thumbnail_color","custom_link","event_description","start_date","open_in_new_tab","layout","SimpleCard","linkTarget","noTopRadius","features","feature","datas","swiperTips","setSwiperTips","breakpoints","tip","Quote","buttonText","buttonLink","buttonBgColor","textSpanAdded","HomepageFieldsFragment","GET_HOMEPAGE","useGetHomePage","getHomepage","songImage","songDescription","songbookImage","songbookTitle","songbookDescription","songbookId","collectionImage","collectionTitle","collectionDescription","featuredSyResourceTypeId","blogThumbnail","blogTitle","blogDescription","blogUrl","openBlogLinkInNewTab","mainContent","eventsContent","Video","noMargin","setPadding","embedUrl","getVideoId","service","vimeoPaddingReq","async","vimeoPadding","axios","getVimeoVideoPadding","vimeoStyle","top","frameBorder","allow","allowFullScreen","Index","_dataRecentlyPlayed$r","dataRecentlyPlayed","dataHomePage","loadingHomePage","shouldDisplayNewSparks","newSparks","Categories","Features","blog_thumbnail","blog_title","blog_description","blog_url","song_album_art","quote","author","button_copy","callout_button","button_url","button_color","SongCards","recentlyPlayed","elm","UpcomingEvents","Tips","summary","Copyright","AudioBar","audioRef","audioTime","setAudioTime","setstate","PlayIcon","pause","play","onTimeUpdate","currentTime","preload","ImageModule","assembly","TextModule","list","whiteHeader","glossariesArr","formattedText","IconModule","SoundcloudAudio","scrolling","BioModule","useRenderResource","render","wrapperClassNames","background_color","spacer","soundcloud_link","_resource$attributes$","BannerQuote","imageUrl","QuotesModule","useRenderSparkles","sparkle","formatResourceContent","getResourceTags","buildResourceParams","hasSongTags","getResourceImage","_categoryMap$find","getResourceThumbnail","resourceCategory","getResourceDescription","_JSON$parse","_firstCopyBlock$attri","thumbnailText","firstCopyBlock","getThumbnail","__typename","getTitle","theme","getDescription","TagsModule","types","Compose","Notation","Improvise","Sing","Listen","Rhythm","Tempo","Texture","Dynamics","Timbre","Articulation","Arts","Music","Pitch","Pulse","Structure","getRandomColor","keys","randomKey","random","MainSection","resourceTags","sparkles","parsedContent","isBlogOrGuide","shouldDisplayTag","GENERATE_URL_HASH","CREATE_FILE_STAT","useFileStats","createFileStat","createFileStatRequest","organisation_id","Downloadable","stat","pdfId","sy_pdf_id","TagRow","withWrapper","WrappedComponent","eventPage","downloadables","formattedDownloadables","sparkyardCategory","topicTheme","curriculumConcept","interrelatedDimensions","ageRange","musicActivitySizeAndScale","musicChecklist","downloadable","pdf","shouldShowButton","ResourcesHeaderInfo","ResourcesHeader","sy_resource_id","event_type","DownloadsAndAboutDropdown","useGetResource","Resource","_data$resource3","_data$resource4","_data$resource5","_data$resource6","useParams","_data$resource","Redirect","_data$resource2","_data$resource2$categ","RelatedSongs","Body","RelatedGuidesCardLarge","RelatedGuidesCard","RelatedGuidesAndResources","lyrics","instrumentalResource","age","songTags","score","downloadablesArr","_esongbooks$","SongsHeader","SongsHeaderInfo","assemblyPlans","getClassName","assembliesUnique","ap","useRenderResources","fullWidth","resourcePage","SongSummaryTeachingTips","_formatResourceConten","teachingTips","songSummaryMedia","teachingTipsMedia","medium","VideoModule","videoUrl","videoTitle","CategoryHeader","ResourceHeader","categoryName","CategoryGroup","songResources","getCategoryResources","_resource$category","SongsPageContent","sortedCategories","hiddenCategories","LinkedAssemblies","useGetSong","GET_CATEGORIES","useGetCategories","_data$song","recommendedResources","useRefetchTags","allTagTypesRefetchMapDefault","categoryPageTagName","allTagTypesRefetchMap","selectedTags","setSelectedTags","setAgeRange","refetchNewTags","ageRangeValue","selectedTagsValue","withContent","handleClearFilters","AgeRangeSelect","handleAgeRangeChange","range","handleTagChange","minHeight","SelectSection","FilterButton","hideClearFilters","cookies","SubmitSection","FilterSection","_values$tags","_topicOrTheme$tags","handleFilterSongs","fetchMoreValues","loadingValues","topicOrTheme","fetchMoreTopicsOrThemes","loadingTopicsOrThemes","season","fetchMoreSeasons","loadingSeasons","isLoading","valuesObjs","topicOrThemeObjs","useGetRandomFeaturedAssemblies","CategoryPageFieldsFragment","GET_CATEGORY_PAGE","useGetCategoryPage","themePage","objectFit","_assemblies$slice","linkToSeeAllPage","Card","GuidesAndResources","mapTitle","Assembly","Curriculum","Wellbeing","Playlist","PlaylistCards","disableDeletePlaylist","orderingFunction","nativitiesAndMusicals","songbookClassName","nativitiesClassName","nativitiesMusicals","SongbookItem","imgMedium","MainContent","displayResources","displaySongs","displayPlaylists","displaySongbooks","displaySongVideos","displayAssemblies","classAssembly","categoryPage","randomFeaturedAssemblies","AssemblyCards","featuredAssembliesOnCategoryPage","Songbooks","useGetResources","useGetSongs","orderBy","order","GET_SONGBOOK","GET_SONGBOOKS","useGetSongbooks","songbooksGrouped","_data$esongbooks","seriesTitle","seriesName","Assemblies","_data$songs","_resources$resources","_signingVideos$songs","_classAssembly$esongb","setDisplaySongs","setDisplayResources","setDisplayPlaylists","setDisplaySongbooks","setDisplaySongVideos","setDisplayAssemblies","setFilterParams","fetchMoreClassAssemblies","fetchMorePlaylists","hasCategoryPages","loadingSongs","fetchMoreSongs","fetchMoreSongVideos","loadingResources","fetchMoreResources","resourceParams","SonglistBanner","SonglistHeader","useGetComposers","_musicalStyle$tags","_songType$tags","vocalRange","loadingVocalRange","musicalStyle","loadingMusicalStyle","songType","loadingSongType","tempoDescription","loadingTempo","loadingComposers","composersSorted","musicalStyleObjs","songTypeObjs","dragEnabled","orderedSongs","pivot","ordering","SongsList","maxWidth","_a$pivot","_b$pivot","Songs","_data$songs3","tagsChanged","setTagsChanged","persistedSongs","v","InfiniteScroll","pageStart","loadMore","loadMoreSongs","_data$songs2","_data$songs2$paginato","paginatorInfo","hasMore","hasMorePages","loader","NotFound","CardGroup","assemblyPlan","groupedData","groupBy","array","f","o","featuredAssemblies","useGetFeaturedAssemblies","AssemblyPlans","Content","mb20","formattedContent","LessonPlanSong","paddingLeft","paddingRight","Tabs","selectedPlan","handleSelectedPlan","preparationTime","timeIcon","preparationTimeValue","downloadLink","_assembly$assemblyPla","assemblyPlanTags","Description","_assembly$assemblyPla2","setSelectedPlan","getIndexFromSlug","allSongs","plan","_plan$songs","useGetAssembly","Animation","parsedMedia","video","musicCurriculumOverview","links","ADD_LESSON_PLAN_BOOKMARK","REMOVE_LESSON_PLAN_BOOKMARK","CurriculumLessonPlanFieldsFragment","MinCurriculumLessonPlanFieldsFragment","CurriculumTermStepFieldsFragment","MinCurriculumTermStepFieldsFragment","CurriculumTermFieldsFragment","MinCurriculumTermFieldsFragment","MusicCurriculumOverviewFieldsFragment","GET_MUSIC_CURRICULUM","GET_LESSON_PLAN","GET_MUSIC_CURRICULUM_OVERVIEW","useAddLessonPlanBookmark","addLessonPlanBookmark","useRemoveLessonPlanBookmark","removeLessonPlanBookmark","Bookmark","hasBeenBookmarked","bookmarkId","lessonPlanId","loadingAddBookmark","loadingRemoveBookmark","handleRemoveBookmark","handleAddBookmark","Step","lessonPlans","term","year","lessonPlanColor","pickAndMix","maxHeight","right","Term","isOpen","handlePanelIds","steps","Panels","selectedYear","selectedTerm","yearParamExists","sortedTerms","terms","getTermId","termNumber","openPanelIds","setopenPanelIds","_getTermId","newIds","termRefs","yearRef","findTermIndex","scrollIntoView","pdfCopy","pdf2","pdf2Copy","Reception","musicCurriculum","handleSelectedYear","sortedCurriculum","adminOnly","isAdmin","useGetMusicCurriculum","useGetMusicCurriculumOverview","MusicCurriculum","setSelectedYear","sortedYears","selectedYearObj","lessonPlan","hasDownloadbles","lesson_plan_id","PickAndMix","headerImage","MCActivityHeader","Plan","_lessonPlan$musicCurr","_lessonPlan$musicCurr2","_sparkles","_lessonPlan$lessonPla","musicCurriculumActivities","callout","calloutTitle","calloutImage","copy","useGetLessonPlan","CurriculumPlan","_JSON$parse2","lessonPlanTags","handleFilter","vocalRangeDescription","fetchMoreVocalRangeDescriptions","loadingVocalRangeDescription","fetchMoreSongTypes","loadingSongTypes","fetchMoreMusicalStyles","loadingMusicalStyles","fetchMoreTempoDescriptions","loadingTempoDescriptions","fetchMoreTopicOrThemes","_data$categoryPage","ChoirsAndConcerts","_songs$songs","_data$categoryPage2","CollectiveWorship","SelectPlaylist","selected","setSelected","TreatboxSurpriseAnimation","animationData","treatboxSurpriseJson","loop","View","useLottie","MainButton","loadingUserPlaylists","setModal","surprise","setSurprise","surpriseButtonAndIcon","setSurpriseButtonAndIcon","surpriseAnimation","setSurpriseAnimation","randomSong","setRandomSong","selectPlaylistID","setSelectPlaylistID","randomFromAllSongs","randomFromAllSongsLoading","excludeFromTreatbox","sortedUserPlaylists","setRandomSongId","_randomFromAllSongs$s","_randomFromAllSongs$s2","_randomFromAllSongs$s3","_randomFromAllSongs$s4","randomSongId","onReady","SingInTheCommunity","useGetAssembliesByTheme","useGetAssemblies","OtherAssemblies","_data$assemblies","_data$assemblies$data","AssemblyPlanCard","whereConditions","whereConditionsObj","assembliesSearchTheme","useGetAnimatedAssemblyMedia","Mp4","controls","AnimatedAssemblyMedia","animatedAssemblyMedia","mediaType","AssembliesTheme","useGetRecommendedResources","contentTypeTags","filterData","setFilterData","gridTemplateColumns","Tag","actions","showTags","ResourcesList","ResourcesListInfiniteScroll","ResourceList","_data$recommendedReso","_data$recommendedReso5","isRecommendedResourcesComponent","originalResourceList","setRecommendedResources","_data$recommendedReso2","resourcesToDisplay","contentTypeTagsWithTotal","total","loadMoreResources","_data$recommendedReso3","_data$recommendedReso4","RecommendedResources","_subject$tags","_curriculumConcept$ta","getValues","fetchMoreSubjects","loadingSubject","loadingTopicOrTheme","fetchMoreCurriculumConcepts","loadingCurriculumConcept","subjectObjs","curriculumConceptObjs","set","tagKeys","CurriculumResources","_resource$resourceTag","_resource$resourceTag2","MusicCurriculumBanner","scienceSongs","englishSongs","mathsSongs","filterResults","resourceFilterParams","SingInEverySubject","_scienceSongs$songs","_mathsSongs$songs","_englishSongs$songs","filterCookie","setResourceFilterParams","loadingCategoryPage","fetchMoreMathsSongs","loadingMathsSongs","fetchMoreScienceSongs","loadingScienceSongs","fetchMoreEnglishSongs","loadingEnglishSongs","filterElements","_params$filtered","tagsHaveChanged","containsSubjectFilter","param","hasPlaylistTags","fetchMoreKeys","_routines$tags","fetchMoreRoutines","routineObjs","videos","VideoCards","SchoolRoutinesAndSignals","SingForFun","PageHeader","banner","additionalComponents","headerClass","titlebarClass","descriptionBarClass","isShowSorting","useUpdateCollectionsOrdering","updateCollectionsOrdering","updateCollectionsOrderingRequest","UserCollections","showDragIcon","localCollections","setLocalCollections","DragDropContext","onDragEnd","result","Array","reorderedItem","source","destination","Droppable","droppableId","innerRef","Draggable","draggableId","snapshot","draggableProps","dragHandleProps","Collection","SparkyardCollections","SharedCollections","SortingDropdown","_sortings$activeSorti","sortings","activeSortingIndex","setActiveSortingIndex","dropdownOpen","setDropdownOpen","Dropdown","DropdownToggle","DropdownMenu","sorting","DropdownItem","availableFor","syCollections","sharedCollections","loadingSyCollections","loadingSharedCollections","activeTabIndex","setActiveTabIndex","selectedSorting","setSelectedSorting","sortedUserCollections","userCollectionsLocal","sortedSyCollections","syCollectionsLocal","sortedSharedCollections","sharedCollectionsLocal","tabs","filteredSortings","currentTab","activeTab","URLSearchParams","tab","Nav","NavItem","NavLink","toggleTab","TabContent","TabPane","tabId","CreateCollection","loggedIntoOrganisation","shareWithOrganisationStatus","Collections","sparkyardCollections","collectionsSharedWithOrganisation","GET_NATIVITIES_MUSICALS","GET_PURCHASED_NATIVITIES","GET_PURCHASED_MUSICALS","GET_PURCHASED_SONGBOOKS","GET_PURCHASED_SONGS","setAllSongs","setLoading","queryVar","purchasedSongsData","allSongsData","purchasedSongs","isUserPlaylist","sharedWithUser","backgroundSize","PlaylistListContent","localPlaylists","setLocalPlaylists","isDragDisabled","PlaylistList","_props$playlists","useUpdatePlaylistsOrdering","updatePlaylistsOrdering","updatePlaylistsOrderingRequest","UserPlaylists","SparkyardPlaylists","SharedPlaylists","syPlaylists","loadingSyPlaylists","sharedPlaylists","loadingSharedPlaylists","userPlaylistsLocal","sortedSyPlaylists","syPlaylistsLocal","sortedSharedPlaylists","sharedPlaylistsLocal","playlistsSharedWithOrganisation","CreatePlaylistButton","SongsPlaylists","Event","day","Month","firstEventDatestring","startDate","firstEventDate","getYear","aDatestring","aEventDate","bDatestring","bEventDate","eventDatestring","eventDate","month","EventFieldsFragment","MinEventFieldsFragment","GET_EVENTS","GET_EVENT","useGetEvents","SongCalendar","eventsObj","getMonthAndYear","datestring","useGetEvent","endDate","downloadablesAttached","startDay","getDate","startMonth","endDay","endMonth","calendar_event_id","_data$event2","_data$event2$resource","_data$event3","_data$event$resources","_data$event$sparkles","_data$event","EventSongCards","useEditCollection","editCollection","editCollectionRequest","EditCollectionModal","useGetCollectionShareLink","useGenerateCollectionShareLink","generateCollectionShareLink","generateCollectionShareLinkRequest","GenerateCollectionShareLink","getCollectionShareLink","useShareCollection","shareCollection","shareCollectionRequest","ShareCollectionWithOrganisation","handleShareCollection","ShareCollectionModal","DeleteCollection","EditCollection","ShareCollection","hideDropdown","isUserCollection","wasSharedWithUser","ContentBanner","Resources","sortedResources","useUpdateCollection","updateCollection","updateCollectionRequest","syncWithoutDetaching","pdfs","getType","CollectionComponent","ReorderableSongsList","isUserResource","_result$destination","buildInput","Subheader","isSharedWithUser","useUpdatePlaylistSongOrdering","updatePlaylistSongOrdering","updatePlaylistSongOrderingRequest","_data$playlist2","_data$playlist3","_data$playlist4","_data$playlist5","_data$playlist6","_data$playlist7","dropdownActive","setDropdownActive","handleDropdown","useGenerateUrlHash","generateUrlHash","generateUrlHashRequest","LOGIN_USER","useLoginUser","code","loginUser","loginRequest","_res$data2","Login","dataURL","purchasenow","redirectUrl","_data$loginUser","accessToken","useUpdateFavourites","updateFavourites","updateFavouritesRequest","Tags","_resource$calendarEve","calendarEvents","getLink","allResources","resourceIds","assemblyIds","idMap","getIds","ResourceItem","resetFilter","ResourcesFavourites","loadingFavAssemblies","originalAssembliesList","setFavResources","setFavAssemblies","resourceResultListCopy","filteredAssemblies","assemblyCopy","ageRangeSplit","splitAgeRange","filteredResources","useUpdateFavouriteSongsOrdering","updateFavouriteSongsOrdering","updateFavouriteSongsOrderingRequest","_user","SongsFavourite","setSongs","showAgeRange","setShowAgeRange","showValues","setShowValues","showTopic","setShowTopic","showContentType","setShowContentType","setClassName","setContentTypeTags","SeeAll","setResources","existingResources","_data$resources","SeeAllVideos","_videoList","useGetPurchasedSongbooks","queryMap","Purchased","getPurchasedItems","getPurchasedItemsRequest","songbookType","songbooksData","setSongbooksData","useGetPurchasedSongs","itemsDataMap","SongBook","SeeAllSongbooks","SongbookList","useGetNativitiesAndMusicals","NeedMoreMusicals","NativitiesAndMusicalsCards","musicals","shouldHideSeeAllLink","seeAllLinkClassName","itemsToDisplayCount","hasSong","hasSongbook","songChoiceDefault","songbookListDefault","NativitiesAndMusicalsItem","NativitiesAndMusicals","MultiFilterSection","setItems","pushData","newItems","buttonClassName","getResourceTypes","queryStrings","isArray","searchText","setValue","defaultValues","resource_types","setText","formRef","dispatchEvent","cancelable","bubbles","Controller","SearchHeader","SearchResultImage","getDisplayImage","categoryNames","setCategoryNames","names","linkMap","Songbook","searchWords","Highlighter","highlightStyle","textToHighlight","tagType","SearchResultList","searchResults","SearchResult","SearchResultFieldsFragments","SearchResultResponseFieldsFragments","SEARCH","searchTypeTexts","ESONGBOOK","MUSIC_ACTIVITY","BLOG_OR_GUIDE","CURRICULUM_LINKS_AND_MORE","SEND_RESOURCE","Search","count","originalList","setOriginalList","searchResultList","setSearchResultList","doSearch","results","resultComponents","localResultComponents","_filterData$resource_","searchTypes","constantCase","queryParams","_originalList$key","linkUrl","esongbook_id","pdfFile","sfxFile","esongbook_resource_id","SongbookDetails","excludeResources","useGetSongbook","_data$esongbook","_data$esongbook3","_data$esongbook4","_data$esongbook5","linkToOota","_data$esongbook2","Logout","SeeAllAssemblies","useUploadImage","defaultImage","setImg","isValidImage","callback","reader","FileReader","onload","imgFile","onerror","readAsDataURL","URL","createObjectURL","getImageFile","stopPropagation","validImage","Avatar","avatarRef","ResetPasswordButton","redirectToUrl","answer","questionRef","SelectedTags","TagSuggestions","EditAccountModal","questions","questionsState","setQuestionsState","questionsParsed","defaultState","questionsStateCopy","amcAnswers","ADD","REMOVE","question","_Object$entries","_questionsState$quest","_questionsState$quest2","reference","aarAgeFrom","aarAgeMin","aarAgeMax","aarAgeTo","defaultChecked","avatarHasChanged","questionsInput","q","pick","footerText","cardColour","modalTarget","LastCard","PrivateUserCardsSection","sharedLinksCount","selectedSub","addresses","detailCompany","detailFirstName","detailSurname","detailLine1","detailTown","detailPostcode","detailCountry","AccountSegment","trialDateFrom","roleIdx","GET_USER_USAGE_REPORTS","GET_ORGANISATION_USAGE_REPORTS","useGetUsageReport","getUsageReport","getUsageReportRequest","DateRange","setDayInclusiveFrom","setDayInclusiveTo","yesterday","startDateRef","endDateRef","_startDateRef$current","_startDateRef$current2","showPicker","_endDateRef$current","_endDateRef$current2","Row","setChecked","useGetOrganisation","getOrganisationRequest","getOrganisation","UserSelection","_data$organisation","_data$organisation$us","selectedUser","setSelectedUser","isForSingleUser","handleIsForSingleUser","hidden","users","ootaId","FormatSelection","selectedFormat","setSelectedFormat","Table","dayInclusiveFrom","dayInclusiveTo","groupByUser","setGroupByUser","includePlays","setIncludePlays","includeLyrics","setIncludeLyrics","setIsForSingleUser","downloadFileRef","mimeTypes","csv","xlsx","organisationUsage","encodeURI","download","days","selection","sendGetUsageReportRequest","dataVersion","memberUserRef","fileFormat","excludePlays","excludeLyrics","excludeScores","CreateUsageReport","FormRow","labelText","useAddOrEditAddress","addAddress","editAddress","loadingEditAddress","sendAddAddressRequest","sendEditAddressRequest","useUpdateOrganisationLogo","updateOrganisationLogo","updateOrganisationLogoRequest","disableElement","useUpdateOrganisationName","organisationData","updateOrganisationName","updateOrganisationNameRequest","syId","EditOrganisationNameSection","display_name","EditOrganisationModal","_addresses$","_addresses$2","_addresses$3","_addresses$4","_addresses$5","_getCountries","_addresses$6","_addresses$7","orgDetails","detailBillingEmail","hasExistingAddress","zendeskFormLink","getCountries","countriesFormatted","countries","country","detailPhone","inputData","company","line1","town","phone","postcode","billing_email","default_billing","default_delivery","address_ref","addressRef","useAcceptOrDeclineJoinRequest","acceptOrDeclineJoinRequest","sendAcceptOrDeclineJoinRequest","useCancelInvite","cancelInvite","sendCancelInviteRequest","useEditMember","editMember","sendEditMemberRequest","useRemoveMember","removeMember","sendRemoveMemberRequest","TableRow","isAdminUser","userProfile","joinRequestRef","sendEmails","checkStatus","userStatus","checkboxesState","setCheckboxesState","loadingJoinRequest","loadingEditMember","authedUserEmail","currentUserEmail","loadingRemoveMember","member_user_ref","rowClassName","removeElementClassName","checkboxClassName","scope","join_request_ref","is_admin","send_emails","handleCheckboxChange","TableBody","joinRequests","request","TableHead","ColleaguesList","members","membersWithSYProfiles","member","findUser","useSendInvite","sendInvite","sendInviteRequest","response","SendInviteSection","trigger","watch","mode","form","willBeAdmin","fields","append","useFieldArray","invitesLoading","setInvitesLoading","inviteAllLoading","setInviteAllLoading","watchInvites","validateRow","_watchInvites$index","_watchInvites$index2","disabledSubmit","_","promises","newInvitesLoading","field","_errors$invites$index","_errors$invites$index2","validate","InviteAndManageColleaguesModal","useLeaveOrganisation","leaveOrganisation","leaveOrganisationRequest","existingEmail","HeaderAndDescription","LeaveOrganisationModal","confirmEmail","useGetOrganisationPlays","getOrganisationPlays","useDeleteSharedLink","deleteSharedLink","deleteSharedLinkRequest","songRefCSV","shareIDsSCV","songRef","optionalShareIDs","shouldBeDisabled","DisplayLinkStatus","_data$organisationPla","organisationPlays","counts","ManageStudentLinksModal","SubscriptionButton","accessTokenAndUrlReturnSignature","subscriptionUrl","manageDiscountCodeUrl","managePONumberUrl","sysubRef","stripeCollectionMethod","PackageDetails","effectiveUserLimit","syprodDescription","syprodPupilsMax","syprodReadablePrice","packageInfoAvailable","manualSubPackageDetailsText","manualRationale","flexShrink","SubscriptionModalContent","SubscriptionDetails","dateCreated","scheduledDeactivation","subscriptionStatus","formatDate","AddressDetails","_countries$detailCoun","address","addressName","ManageSubscriptionModal","CardsSectionForAdmins","playsPast30Days","effectiveUserCount","CardsSection","_data$organisation$sy","subInfo","firstActiveSubFromBackend","selectedSubFromBackend","organisationObj","AllCards","EditOrganisationButton","LeaveOrganisationButton","OrganisationDetails","detailCategory","detailNation","OrganisationsSegment","getIsAdmin","findMembership","ManageAccount","useGetRecommendedSongs","RecommendedSongs","_data$recommendedSong3","recommendedSongs","_data$recommendedSong","_data$recommendedSong2","SeeAllResources","stateCopy","newState","newResource","useSendVerificationMail","sendVerificationMail","sendVerificationMailRequest","CheckYourMailModal","Restricted","useVerifyShareLink","verifyShareLink","_res$verifyShareLink","_res$verifyShareLink2","ootaUUID","SharedSong","useVerifyPlaylistShareLink","verifyPlaylistShareLink","_res$verifyPlaylistSh","CopyModelModal","loadingCopyPlaylist","loadingCopyCollection","copied","SharedPlaylist","_data$verifyPlaylistS","_data$verifyPlaylistS2","ShareGuest","useVerifyCollectionShareLink","verifyCollectionShareLink","_res$verifyCollection","SharedCollection","_data$verifyCollectio","_data$verifyCollectio2","SongbookSeries","showModalContent","GET_SONGBOOK_SERIES","useGetSongbookSeries","SongbookSeriesModal","modalContent","AllSongbookSeries","songbookSeries","setModalContent","excludeNativitiesMusicals","getModalContent","series","getSongbookSeries","seriesReordered","entry","seriesId","SeeAllSongs","showAllNotifications","setShowAllNotifications","notificationsToDisplay","handleTabChange","showAll","TabItem","RecentlyPlayed","Routes","Switch","Route","exact","ResourcesFavourite","SongChoice","SeeAllPlaylists","httpLink","createUploadLink","uri","fetch","authLink","setContext","refreshToken","authorization","errorLink","graphQLErrors","networkError","forward","operation","retryLink","RetryLink","delay","initial","jitter","attempts","retryIf","_operation","operationName","client","ApolloClient","cache","InMemoryCache","ScrollToTop","topScrollPosition","behavior","_allSongsPageSongs","hasSongPageScrollPosition","isSongsPage","scrollTo","scrollPosition","setScrollPosition","handleScroll","scrollY","passive","bottom","ActionsModalWrapper","cssVars","TagManager","initialize","gtmId","ReactDOM","StrictMode","ApolloProvider","ToastContainer","Router","getElementById"],"mappings":"k4/BAAA,iEA6YeA,IA5WFC,IAiBc,IAjBb,UACZC,EAAS,QACTC,EAAO,mBACPC,EAAkB,QAClBC,EAAO,WACPC,EAAU,UACVC,EAAS,SACTC,EAAQ,SACRC,EAAQ,WACRC,EAAU,SACVC,EAAQ,iBACRC,EAAgB,mBAChBC,EAAkB,cAClBC,EAAa,eACbC,EAAc,kBACdC,EAAiB,sBACjBC,GACMhB,EACN,MAAMiB,EAAcC,iBAA8B,MAC5CC,EAAcD,iBAAmB,MACjCE,EAAUF,iBAA6C,CAAC,GAExDG,EAAmBC,IAGlBL,EAAYM,SASfC,aAAaP,EAAYM,SACzBN,EAAYM,QAAU,KACtBlB,EAAWiB,IATXL,EAAYM,QAA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AAWC,WAHY,CACrBC,MAAO,gBAITC,IAASz0C,OACPzyD,eAACI,IAAM+mG,WAAU,CAAAlrG,SACfkE,gBAACinG,IAAc,CAACxB,OAAQA,GAAO3pG,SAAA,CAC7B+D,eAACqnG,IAAc,CAAC73F,WAAW,EAAO3V,SAAS,eAC3CmG,eAACyiB,GAAa,CAAAxmB,SACZkE,gBAACmnG,IAAM,CAAArrG,SAAA,CACL+D,eAACgmG,GAAW,IACZhmG,eAAC6mG,GAAmB,IACpB7mG,eAAC+jG,GAAM,IACP/jG,eAACm4B,GAAM,cAMf34B,SAAS+nG,eAAe,Q","file":"static/js/main.0be32ce4.chunk.js","sourcesContent":["/* eslint-disable no-plusplus */\n/* eslint-disable @typescript-eslint/no-loop-func */\n/* eslint-disable react/no-array-index-key */\n/* eslint-disable function-paren-newline */\n/* eslint-disable implicit-arrow-linebreak */\n/* eslint-disable no-return-assign */\n/* eslint-disable operator-linebreak */\n/* eslint-disable react/no-unused-prop-types */\nimport React, { useEffect, useRef, useState } from 'react';\nimport { decode } from 'html-entities';\nimport { Text } from 'react-konva';\nimport html from 'html-parse-stringify';\nimport Konva from 'konva';\nimport { Line as LineType, Phrase } from '../types';\n\ntype Props = LineType & {\n position: number;\n yPosition: number;\n highlightedPhrases: Phrase[];\n onClick: (phrase: Phrase) => void;\n onDblClick: (phrase: Phrase) => void;\n isPlaying: boolean;\n infoName: string;\n plainTextView: boolean;\n fontFamily: string;\n fontSize: number;\n textPrimaryColor: string;\n textHighlightColor: string;\n totalLineCount: number;\n highlightInfoName: boolean;\n longestInfoNameLength: number;\n};\n\nconst Line = ({\n yPosition,\n phrases,\n highlightedPhrases,\n onClick,\n onDblClick,\n isPlaying,\n infoName,\n position,\n fontFamily,\n fontSize,\n textPrimaryColor,\n textHighlightColor,\n plainTextView,\n totalLineCount,\n highlightInfoName,\n longestInfoNameLength,\n}: Props): JSX.Element => {\n const doubleClick = useRef(null);\n const infoNameRef = useRef(null);\n const itemEls = useRef<{ [phraseId: number]: Konva.Text[] }>({});\n\n const getClickHandler = (phrase: Phrase) => {\n // doubleClick.current is null\n // if user hasn't done a first click or if user completes a doubleclick\n if (!doubleClick.current) {\n // global.setTimeout tells typescript *not* node.setTimeout (different return types)\n doubleClick.current = global.setTimeout(() => {\n // Cancellable timeout allows user to initiate double click\n onClick(phrase);\n doubleClick.current = null;\n }, 250);\n } else {\n // if user double clicks this will enter\n clearTimeout(doubleClick.current);\n doubleClick.current = null;\n onDblClick(phrase);\n }\n };\n\n const handleFill = (phrase: Phrase) => {\n const isHighlitablePhrase = highlightedPhrases.some(\n (phraseItem: Phrase) => phraseItem.id === phrase.id\n );\n\n const fillColour =\n isHighlitablePhrase && phrase.isHighlightable && isPlaying\n ? textHighlightColor\n : textPrimaryColor;\n\n // if (newPhraseID > 0) {\n // console.log(newPhraseID, phrase.id)\n // // if double clicking prevents highlight flash\n // fillColour =\n // newPhraseID === phrase.id ? textHighlightColor : textPrimaryColor;\n // }\n return fillColour;\n };\n\n type SectionType = {\n type: string;\n children: {\n name: string | undefined;\n children: { name: string | number; content: string }[];\n content: string;\n type: string;\n }[];\n name: keyof {\n small: number | string;\n large: number | string;\n italic: string;\n bold: string;\n };\n content: string;\n };\n\n type Child = {\n type: string;\n name: string | undefined;\n content: string | undefined;\n children: { content: string | undefined; name: string | number }[];\n };\n\n const parseHTML = (text: string) => html.parse(decode(text));\n\n const isLarge = (section: SectionType) => section.name === 'large';\n\n const isInstructionalText = (section: SectionType, isClickable: boolean) => {\n if (isClickable) return false;\n if (section.name === 'small') {\n return true;\n }\n\n return section?.children?.[0]?.name === 'small';\n };\n\n const getFontStyle = (section: SectionType | Child) => {\n const fontStyles = [];\n\n if (section.name === 'italic' || section.name === 'bold') {\n fontStyles.push(section.name);\n }\n\n if (\n section?.children?.[0]?.name === 'italic' ||\n section?.children?.[0]?.name === 'bold'\n ) {\n fontStyles.push(section?.children?.[0]?.name);\n }\n\n return fontStyles.join(' ');\n };\n\n const getFontSize = (section: SectionType): number => {\n if (section.type !== 'tag') {\n return fontSize;\n }\n\n if (plainTextView) {\n if (\n section.name !== 'italic' &&\n section.name !== 'small' &&\n section?.children?.[0]?.name !== 'italic' &&\n section?.children?.[0]?.name !== 'small'\n ) {\n return fontSize;\n }\n }\n\n const sizeObj: {\n small: number;\n large: number;\n italic?: number;\n } = {\n small: fontSize / (plainTextView ? 2.4 : 1.6),\n large: fontSize + 16,\n italic: fontSize,\n };\n\n if (section.name === 'small' || section.name === 'large') {\n return sizeObj[section.name] || fontSize;\n }\n\n if (section?.children?.[0]?.name) {\n const { name } = section.children[0];\n return (\n (name in sizeObj ? sizeObj[name as keyof typeof sizeObj] : fontSize) ??\n fontSize\n );\n }\n\n return fontSize;\n };\n\n let currentElementPositionInRef = 0;\n\n const getXPosition = (\n phraseId: number,\n phraseIdx: number,\n sectionIdx: number\n ) => {\n const xOffset = totalLineCount > 10 ? 162 : 190;\n const isNonFirstPhrase = phraseIdx !== 0 && phrases.length > 1;\n let xPosition = infoName.length > 3 ? xOffset : 60.54;\n xPosition =\n longestInfoNameLength > 10 ? longestInfoNameLength * 20 : xPosition;\n\n const sumWidths = (a: number) => {\n xPosition += a;\n };\n\n let lastPhraseWidth = 0;\n\n if (isNonFirstPhrase && itemEls.current?.[phraseId]) {\n // flatten the array of arrays (gotten through object.values()) of sections\n // look for the section index in the flatten array and calculate text width\n // up to that point\n const flattenedRef = Object.values(itemEls.current).flat();\n\n let charLength = 0;\n\n const elId = itemEls.current?.[phraseId]?.[sectionIdx]?._id;\n const elIdxInFlattenedRef = flattenedRef.findIndex(\n (item) => item?._id === elId\n );\n\n for (let i = 0; i < elIdxInFlattenedRef; i++) {\n charLength += flattenedRef?.[i]?.size().width;\n }\n lastPhraseWidth = charLength + xPosition;\n }\n if (itemEls.current?.[phraseId]) {\n const arrCopy = [...itemEls.current[phraseId]];\n\n arrCopy\n .splice(0, currentElementPositionInRef)\n .forEach((el: Konva.Text) => sumWidths(el?.size().width));\n currentElementPositionInRef += 1;\n }\n\n return isNonFirstPhrase\n ? lastPhraseWidth + phraseIdx * 20\n : phraseIdx * 33 + xPosition;\n };\n\n const getYposition = (section: SectionType, isClickable: boolean) => {\n if (isLarge(section) && !plainTextView) return yPosition - 12;\n if (isInstructionalText(section, isClickable)) return yPosition + 10;\n return yPosition;\n };\n\n const setCursorType = (isClickable: boolean) => {\n document.body.style.cursor = isClickable ? 'pointer' : 'default';\n };\n\n const renderSection = (\n section: SectionType,\n phrase: Phrase,\n phraseIdx: number,\n sectionIdx: number\n ) => {\n const handleElementPush = (element: Konva.Text) => {\n const elementId = element?._id;\n const phraseInRef = itemEls?.current?.[phrase.id];\n\n if (elementId) {\n const elementExistsInRef = phraseInRef?.find(\n (item) => item?._id === elementId\n );\n if (!elementExistsInRef) {\n phraseInRef?.push(element);\n }\n }\n };\n\n const handleRef = (element: Konva.Text) => {\n // create a new key in ref with phrase id as key with a value of an array\n // of elements if key does not already exist\n // check if element exists in array before pushing\n const phraseInRef = itemEls?.current?.[phrase.id];\n if (phraseInRef) {\n handleElementPush(element);\n } else {\n itemEls.current[phrase.id] = [element];\n }\n };\n\n if (section.type !== 'tag') {\n return (\n {\n if (sectionIdx !== 0) {\n handleElementPush(element);\n } else {\n itemEls.current[phrase.id] = [element];\n }\n }}\n y={isLarge(section) && !plainTextView ? yPosition - 5 : yPosition}\n x={getXPosition(phrase.id, phraseIdx, sectionIdx)}\n wrap=\"word\"\n text={section.content}\n fill={handleFill(phrase)}\n fontFamily={fontFamily}\n fontSize={getFontSize(section)}\n fontStyle={getFontStyle(section)}\n onMouseEnter={() => setCursorType(phrase.isClickable)}\n onMouseLeave={() => (document.body.style.cursor = 'default')}\n onMouseDown={(e) => {\n // only register mouse-left-click on clickable elements\n if (e.evt.button !== 0 || !phrase.isClickable) return;\n getClickHandler(phrase);\n }} // NOTE onTap for mobile\n />\n );\n }\n\n return section.children.map((child: Child) => {\n if (child.type === 'text') {\n return (\n handleRef(element)}\n y={getYposition(section, phrase.isClickable)}\n x={getXPosition(phrase.id, phraseIdx, sectionIdx)}\n wrap=\"word\"\n text={child.content}\n fill={handleFill(phrase)}\n fontFamily={fontFamily}\n fontSize={getFontSize(section)}\n fontStyle={getFontStyle(section)}\n onMouseEnter={() => setCursorType(phrase.isClickable)}\n onMouseLeave={() => (document.body.style.cursor = 'default')}\n onMouseDown={(e) => {\n // only register mouse-left-click on clickable elements\n if (e.evt.button !== 0 || !phrase.isClickable) return;\n getClickHandler(phrase);\n }} // NOTE onTap for mobile\n />\n );\n }\n\n return child.children.map(\n (grandChild: { content: string | undefined }) => (\n handleRef(element)}\n y={getYposition(section, phrase.isClickable)}\n x={getXPosition(phrase.id, phraseIdx, sectionIdx)}\n wrap=\"word\"\n text={grandChild.content}\n fill={handleFill(phrase)}\n fontFamily={fontFamily}\n fontSize={getFontSize(section)}\n fontStyle={getFontStyle(child)}\n onMouseEnter={() => setCursorType(phrase.isClickable)}\n onMouseLeave={() => (document.body.style.cursor = 'default')}\n onMouseDown={(e) => {\n // only register mouse-left-click on clickable elements\n if (e.evt.button !== 0 || !phrase.isClickable) return;\n getClickHandler(phrase);\n }} // NOTE onTap for mobile\n />\n )\n );\n });\n };\n\n // store phrases in a state and unset ref when component unmounts\n const [phrasesState, setPhrasesState] = useState([]);\n useEffect(() => {\n setPhrasesState(phrases);\n\n return () => {\n itemEls.current = {};\n };\n }, [phrases]);\n\n return (\n <>\n {phrasesState.map((phrase: Phrase, phraseIdx: number) => (\n \n {!!infoName && position === 0 && (\n \n )}\n {parseHTML(phrase.content).map(\n (section: SectionType, sectionIdx: number) =>\n renderSection(section, phrase, phraseIdx, sectionIdx)\n )}\n \n ))}\n \n );\n};\n\nexport default Line;\n","/* eslint-disable no-multi-assign */\nwindow.$ = window.jQuery = require('jquery');\n","export type Progress = {\n played: number;\n playedSeconds: number;\n loaded: number;\n loadedSeconds: number;\n};\n\nexport const ProgressDefaultState = {\n played: 0,\n playedSeconds: 0,\n loaded: 0,\n loadedSeconds: 0,\n};\n\nexport const songSrcOne = [\n `${process.env.PUBLIC_URL}/audio/track_1/3891.mp3`,\n `${process.env.PUBLIC_URL}/audio/track_1/3894.mp3`,\n `${process.env.PUBLIC_URL}/audio/track_1/3899.mp3`,\n `${process.env.PUBLIC_URL}/audio/track_1/3900.mp3`,\n];\n\nexport const songSrcTwo = [\n `${process.env.PUBLIC_URL}/audio/track_2/3892.mp3`,\n `${process.env.PUBLIC_URL}/audio/track_2/3895.mp3`,\n];\n\nexport interface Files {\n mp3: string;\n ogg: string;\n}\n\nexport const FilesDefaultState: Files = {\n mp3: '',\n ogg: '',\n};\n\nexport interface FileSizes {\n mp3: number;\n ogg: number;\n}\n\nexport const FileSizesDefaultState: FileSizes = {\n mp3: 0,\n ogg: 0,\n};\n\nexport interface Audio {\n id: number;\n isDefault: boolean;\n isExtractable: boolean;\n isVisible: boolean;\n type: string;\n tempo: number;\n infoName: string;\n infoNameExtractable: string;\n infoArtist: string;\n infoCopyright: string;\n infoISRC: string;\n millisecondsLength: number;\n files: Files;\n file_md5s: Files;\n file_sizes: FileSizes;\n}\n\nexport const AudioDefaultState: Audio = {\n id: 0,\n isDefault: false,\n isExtractable: false,\n isVisible: false,\n type: '',\n tempo: 0,\n infoName: '',\n infoNameExtractable: '',\n infoArtist: '',\n infoCopyright: '',\n infoISRC: '',\n millisecondsLength: 0,\n files: FilesDefaultState,\n file_md5s: FilesDefaultState,\n file_sizes: FileSizesDefaultState,\n};\n\nexport interface Cloud {\n id: number;\n filename: string;\n filename_md5: string;\n filename_size: string;\n}\n\nexport const CloudDefaultState: Cloud = {\n id: 0,\n filename: '',\n filename_md5: '',\n filename_size: '',\n};\n\nexport type Phrase = {\n id: number;\n content: string;\n milliseconds: number;\n hide: number;\n isClickable: boolean;\n isHighlightable: boolean;\n italics?: boolean;\n subtitle?: boolean;\n};\n\nexport const PhraseDefault: Phrase = {\n id: -1,\n content: '',\n milliseconds: 0,\n hide: 0,\n isClickable: false,\n isHighlightable: false,\n italics: false,\n subtitle: false,\n};\n\nexport type Line = {\n id: number;\n splitLineNumber: number;\n phrases: Phrase[];\n};\n\nexport const LineDefaultState: Line = {\n id: 0,\n splitLineNumber: 0,\n phrases: [PhraseDefault],\n};\n\nexport type Group = {\n id: number;\n infoName: string;\n styleGroupIndex: number;\n styleGroupCol: string;\n styleColIndex: number;\n stylePadding: number;\n splitLineNumber: number;\n lines: Line[];\n};\n\nexport const GroupDefaultState: Group = {\n id: 0,\n infoName: '',\n styleGroupIndex: 0,\n styleGroupCol: '',\n styleColIndex: 0,\n stylePadding: 0,\n splitLineNumber: 0,\n lines: [LineDefaultState],\n};\n\nexport interface Page {\n id: number;\n infoHeader: string;\n infoHeaderBasicOverride: string;\n infoFooter1: string;\n infoFooter2: string;\n showPageHeader: boolean;\n showPageFooter: boolean;\n millisecondsStart: number;\n millisecondsStop: number;\n styleBodyLeading: number;\n styleBodySize: number;\n clouds: Cloud[];\n cloudPosX: number;\n cloudPosY: number;\n groups: Group[];\n}\n\nexport const PageDefaultState: Page = {\n id: 0,\n infoHeader: '',\n infoHeaderBasicOverride: '',\n infoFooter1: '',\n infoFooter2: '',\n showPageHeader: false,\n showPageFooter: false,\n millisecondsStart: 0,\n millisecondsStop: 0,\n styleBodyLeading: 0,\n styleBodySize: 0,\n clouds: [CloudDefaultState],\n cloudPosX: -1,\n cloudPosY: -1,\n groups: [GroupDefaultState],\n};\n\nexport const EsongbookDefaultState: Esongbook = {\n id: 0,\n infoName: '',\n infoAuthor: '',\n imageFilename: '',\n imageFileOriginal: '',\n imageFileLarge: '',\n imageFileMedium: '',\n albumArt: '',\n};\nexport const EsbTrackDefaultState: EsbTrack = {\n id: 0,\n esongbook: EsongbookDefaultState,\n};\nexport interface Esongbook {\n id: number;\n infoName: string;\n infoAuthor: string;\n imageFilename: string;\n imageFileOriginal: string;\n imageFileLarge: string;\n imageFileMedium: string;\n albumArt: string;\n}\n\nexport interface EsbTrack {\n id: number;\n esongbook: Esongbook;\n}\n\nexport interface Song {\n id: number;\n tempo: number;\n infoName: string;\n infoNameExtractable: string;\n infoAuthor: string;\n infoCopyright: string;\n infoCopyrightFormatted: string;\n infoCCLI: string;\n infoAge: string;\n infoCategory: string;\n keywords: string;\n overrideButtonInfo: string;\n overrideButtonLyrics: string;\n overrideButtonScore: string;\n showButtonExtract: boolean;\n showButtonInfo: boolean;\n showButtonLyrics: boolean;\n showButtonScore: boolean;\n styleBodyFont: string;\n styleBodyLeading: number;\n styleBodySize: number;\n styleTitleCol: string;\n styleTitleFont: string;\n styleTitleSize: number;\n styleCol1Highlighted: string;\n styleCol1Unhighlighted: string;\n styleCol2Highlighted: string;\n styleCol2Unhighlighted: string;\n styleCol3Highlighted: string;\n styleCol3Unhighlighted: string;\n styleCol4Highlighted: string;\n styleCol4Unhighlighted: string;\n styleCol5Highlighted: string;\n styleCol5Unhighlighted: string;\n styleMarginLeft: number;\n styleMarginRight: number;\n styleMarginTop: number;\n styleMarginBottom: number;\n fileBackground: string;\n fileBackgroundMD5: string;\n fileBackgroundSize: number;\n fileLarge: string;\n fileLargeMD5: string;\n fileLargeSize: number;\n fileInfo: string;\n fileInfoMD5: string;\n fileInfoSize: number;\n fileLyrics: string;\n fileLyricsMD5: string;\n fileLyricsSize: number;\n fileScore: string;\n fileScoreMD5: string;\n fileScoreSize: number;\n isFavourited: boolean;\n albumArt?: string | null;\n audios: Audio[];\n clouds: Cloud[];\n pages: Page[];\n esbTrack: EsbTrack | null;\n}\n\nexport const SongDefaultState: Song = {\n id: 0,\n tempo: 0,\n infoName: '',\n infoNameExtractable: '',\n infoAuthor: '',\n infoCopyright: '',\n infoCopyrightFormatted: '',\n infoCCLI: '',\n infoAge: '',\n infoCategory: '',\n keywords: '',\n overrideButtonInfo: '',\n overrideButtonLyrics: '',\n overrideButtonScore: '',\n showButtonExtract: false,\n showButtonInfo: false,\n showButtonLyrics: false,\n showButtonScore: false,\n styleBodyFont: '',\n styleBodyLeading: 0,\n styleBodySize: 0,\n styleTitleCol: '',\n styleTitleFont: '',\n styleTitleSize: 0,\n styleCol1Highlighted: '',\n styleCol1Unhighlighted: '',\n styleCol2Highlighted: '',\n styleCol2Unhighlighted: '',\n styleCol3Highlighted: '',\n styleCol3Unhighlighted: '',\n styleCol4Highlighted: '',\n styleCol4Unhighlighted: '',\n styleCol5Highlighted: '',\n styleCol5Unhighlighted: '',\n styleMarginLeft: 0,\n styleMarginRight: 0,\n styleMarginTop: 0,\n styleMarginBottom: 0,\n fileBackground: '',\n fileBackgroundMD5: '',\n fileBackgroundSize: 0,\n fileLarge: '',\n fileLargeMD5: '',\n fileLargeSize: 0,\n fileInfo: '',\n fileInfoMD5: '',\n fileInfoSize: 0,\n fileLyrics: '',\n fileLyricsMD5: '',\n fileLyricsSize: 0,\n fileScore: '',\n fileScoreMD5: '',\n fileScoreSize: 0,\n isFavourited: false,\n audios: [AudioDefaultState],\n clouds: [CloudDefaultState],\n pages: [PageDefaultState],\n esbTrack: EsbTrackDefaultState,\n};\n\nexport interface CustomSong extends Song {\n src: string[];\n}\n\nexport const CustomSongDefaultState: CustomSong = {\n ...SongDefaultState,\n src: songSrcOne,\n};\n\nexport interface Album {\n albumName: string;\n songCount: number;\n songs: CustomSong[];\n}\n\nexport const AlbumDefaultState: Album = {\n albumName: '',\n songCount: 0,\n songs: [CustomSongDefaultState],\n};\n\nexport interface RootObject {\n songs: Song[];\n}\n\nexport const JumpToDefault = {\n phraseStarts: -1,\n phraseEnds: -1,\n setAt: new Date(),\n complete: true,\n playSinglePhrase: false,\n newPhraseID: 0,\n};\nexport interface JumpTo {\n phraseStarts: number;\n phraseEnds: number;\n setAt: Date;\n complete: boolean;\n playSinglePhrase: boolean;\n newPhraseID: number;\n}\n\nexport type PlayerHit = {\n sessionUUID: string;\n songId: number;\n hitUUID: string;\n audioId: number | undefined;\n updateExpected: boolean;\n updateSequence: number;\n playheadPositionStartMs: number;\n playheadPositionEndMs?: number | null;\n shareId?: number | null;\n esongbookId?: number | null;\n organisationRef?: number;\n id?: number | null;\n};\n\nexport const PlayerHitDefault: PlayerHit = {\n sessionUUID: '',\n songId: 0,\n hitUUID: '',\n audioId: 0,\n updateExpected: true,\n updateSequence: 0,\n playheadPositionStartMs: 0,\n playheadPositionEndMs: 0,\n shareId: null,\n esongbookId: null,\n organisationRef: 0,\n id: null,\n};\n","/* eslint-disable operator-linebreak */\n/* eslint-disable implicit-arrow-linebreak */\n/* eslint-disable no-confusing-arrow */\nimport Cookies from 'universal-cookie';\n\nexport const valuesObj = {\n song_type: 'Song Type',\n seasonal: 'Seasonal',\n style: 'Style',\n speed: 'Speed',\n vocal_range: 'Vocal Range',\n curriculum_area: 'Curriculum Subject Links',\n topic_or_theme: 'Topic/Theme',\n values: 'Values (PSHE, SMSC)',\n curriculum_concept: 'Curriculum Concept',\n curriculum_subject_links: 'Curriculum Subject Links',\n routines: 'routines',\n vocal_range_description: 'Vocal Range Description',\n musical_style: 'Musical Style',\n tempo_description: 'Tempo Description',\n};\n\nexport const assemblyThemesObj = {\n ANIMATED: 'Animated Assemblies',\n COLLECTIVE_WORSHIP: 'Collective Worship Assemblies',\n CHRISTMAS: 'Christmas Assemblies',\n EASTER: 'Easter Assemblies',\n HARVEST: 'Harvest Assemblies',\n SUMMER: 'Summer Assemblies',\n AUTUMN: 'Autumn Assemblies',\n SPRING: 'Spring Assemblies',\n WINTER: 'Winter Assemblies',\n};\n\nexport const typeObj = {\n engage: 'bg__fuchsia',\n wonder: 'bg__orange',\n resource: 'bg__bush-lilac',\n resourceQuestions: 'bg__apple',\n reflect: 'bg__blue-navy',\n prayer: 'bg__lime',\n goDeeper: 'bg__cerise-dark',\n sing: 'bg__blue-pacific',\n customSection: 'bg__mandy',\n activity: 'bg__cerise-dark',\n brightIdea: 'bg__christi',\n talkAbout: 'bg__green-meadow',\n bibleBit: 'bg__cerise-dark',\n respond: 'bg__orange',\n bibleBitOrRespond: 'bg__cerise-dark',\n bibleBitOrReflect: 'bg__cerise-dark',\n engagementActivity: 'bg__fuchsia',\n talkOrThinkAbout: 'bg__green-meadow',\n responsiveActivity: 'bg__orange',\n prayerActivity: 'bg__lime',\n playAnimation: 'bg__blue-navy',\n readStory: 'bg__bush-lilac',\n creativeIdeas: 'bg__yellow-sun',\n vocalPathwayActivity: 'bg__mandy',\n spotlightOn: 'bg__green-meadow',\n curriculumLink: 'bg__mantis',\n musicCurriculumActivity: 'bg__blue-curious',\n};\n\nexport const stepColorObj = {\n 1: 'bg__lime',\n 2: 'bg__pumpkin',\n 3: 'bg__cerise-dark',\n 4: 'bg__amethyst',\n};\n\nexport const eventColourObject = {\n 1: 'bg__vivid-orange',\n 2: 'bg__moderate-blue',\n 3: 'bg__cerise-dark',\n 4: 'bg__moderate-green',\n 5: 'bg__jellybean',\n 6: 'bg__fuchsia',\n};\n\nexport const updateQuery = {\n updateQuery: (prev, newQuery) =>\n newQuery.fetchMoreResult ? newQuery.fetchMoreResult : prev,\n};\n\nexport const defaultFilterValues = {\n topic_or_theme: 'all',\n seasonal: 'all',\n values: 'all',\n min_age: 5,\n max_age: 11,\n test: 'all',\n curriculum_subject_links: 'all',\n curriculum_concept: 'all',\n routines: 'all',\n vocal_range_description: 'all',\n song_type: 'all',\n musical_style: 'all',\n tempo_description: 'all',\n style: 'all',\n speed: 'all',\n vocal_range: 'all',\n resource_type: 'all',\n curriculum_area: 'all',\n content_type: 'all',\n};\n\nexport const modelMap = {\n SONG: 'songs',\n RESOURCE: 'resources',\n ASSEMBLY: 'assemblies',\n PLAYLIST: 'playlists',\n};\n\nexport const playlistDefaultObj = { name: '' };\nexport const collectionDefaultObj = {\n title: '',\n description: '',\n};\nexport const toastSuccessObj = {\n toastId: 'success',\n autoClose: 4000,\n};\nexport const toastErrorObj = { toastId: 'error' };\n\nconst loginUrl = process.env.REACT_APP_OOTA_LOGIN_URL;\nconst cookies = new Cookies();\nconst cookieYes = cookies.get('cookieyes-consent');\nexport const sparkyardLoginUrl = cookieYes\n ? (() => {\n const cookieValues = cookieYes.split(',').reduce((acc, curr) => {\n const [key, value] = curr.split(':');\n acc[key] = value;\n return acc;\n }, {});\n\n console.log(cookieValues)\n\n const params = [];\n if (cookieValues.advertisement === 'yes') params.push('syproceed_ad=yes');\n if (cookieValues.analytics === 'yes') params.push('syproceed_an=yes');\n if (cookieValues.functional === 'yes') params.push('syproceed_fu=yes');\n\n return `${loginUrl}?${params.join('&')}`;\n })()\n : loginUrl;\nexport const resetPasswordUrl = process.env.REACT_APP_PASSWORD_RESET_URL;\n\nexport const categoryMap = [\n {\n name: 'Bright Idea',\n image: '/img/bright-idea.png',\n },\n {\n name: 'Spotlight on...',\n image: '/img/spotlight.png',\n },\n {\n name: 'Music Curriculum Activity',\n image: '/img/music-curriculum-activity.png',\n },\n {\n name: 'Curriculum Link',\n image: '/img/curriculum-activity.png',\n },\n {\n name: 'Music Activity',\n image: '/img/Resource-thumbnail_MusicActivity.png',\n },\n {\n name: 'Blog',\n image: '/img/blog.png',\n },\n {\n name: 'Guide',\n image: '/img/guide.png',\n },\n {\n name: 'SEND Resource',\n image: '/img/send-resource.png',\n },\n {\n name: 'Creative Ideas',\n image: '/img/Resource-thumbnail_Creative.png',\n },\n {\n name: 'Song Calendar Activity',\n image: '/img/Resource-thumbnail_Calendar-resources.png',\n },\n];\n\nexport const defaultAssemblyThumbnail = '/img/assembly-plan.png';\nexport const defaultResourceThumbnail =\n '/img/ResourceCategories_Resources-Guide-44.png';\n\nexport const resourceQuery = {\n hasTags: {\n OR: [\n {\n AND: [\n {\n column: 'TYPE',\n value: 'OOTA Singing School',\n },\n {\n column: 'NAME',\n value: 'Curriculum',\n },\n ],\n },\n {\n column: 'TYPE',\n value: 'Topic/Theme',\n },\n {\n column: 'TYPE',\n value: 'Curriculum Concept',\n },\n {\n column: 'TYPE',\n value: 'Curriculum Subject Links',\n },\n ],\n },\n};\n\nexport const curriculumLinksAndMoreItems = [\n 'Curriculum Link',\n 'Creative Ideas',\n 'Spotlight on...',\n 'Bright Idea',\n 'Song Calendar Activity',\n];\n\nexport const blogOrGuideItems = ['Blog', 'Guide'];\n\nexport const filterTypeMap = {\n 'Blog or Guide': (resourceType) => blogOrGuideItems.includes(resourceType),\n 'Curriculum links and more': (resourceType) =>\n curriculumLinksAndMoreItems.includes(resourceType),\n all: () => true,\n};\n\nexport const defaultAvatarMid = '/img/user.svg';\nexport const defaultAvatarLg = '/img/big-avatar.png';\nexport const defaultOrganisationLogo = '/img/organisation_default.png';\n\nexport const availableRoles = [\n 'Teacher/T.A',\n 'Organization/School Head',\n 'Music Co-ordinator',\n 'Visiting Music Teacher',\n 'Church Leader/Minister',\n 'Worship Leader',\n \"Children's/Youth Leader\",\n 'Parent/Carer',\n 'Purchaser/Administrator',\n 'Other',\n];\n","/* eslint-disable prefer-template */\n/* eslint-disable operator-linebreak */\n/* eslint-disable implicit-arrow-linebreak */\n/* eslint-disable no-useless-escape */\n/* eslint-disable arrow-body-style */\n/* eslint-disable no-plusplus */\n\nimport { makeVar } from '@apollo/client';\nimport axios from 'axios';\nimport { differenceInDays, formatDistanceToNowStrict } from 'date-fns';\nimport { toast } from 'react-toastify';\nimport { SongDefaultState } from '../player/types';\nimport { toastErrorObj, toastSuccessObj, valuesObj } from './objects';\n\nexport const replacedGlossaryWords = makeVar([]);\n\nexport const formatTags = (tags) => {\n if (tags?.length < 1 || !tags) return 'N/A';\n return tags.map((tag, index) => {\n if (index + 1 !== tags.length) return `${tag.formattedName} / `;\n return tag.formattedName;\n });\n};\n\n// eslint-disable-next-line max-len\nexport const formatSongDuration = (duration) =>\n (Math.round((duration / 60000) * 100) / 100).toFixed(2);\n\nexport const formatList = (text) => {\n if (!text) return null;\n\n let newText = text;\n\n newText = newText\n .replace(/
    /gi, '
      ')\n .replace(/
        /gi, '
          ')\n .replace(/
        • /gi, '
        • ')\n .replace(/<\\/li>/gi, '
        • ');\n\n return newText;\n};\n\nexport const removeHtmlClassFromString = (text) => {\n if (!text) return null;\n return text\n .replace(/class=\"[a-zA-Z0-9:;\\.\\s\\(\\)\\-\\,]*\"/gi, '')\n .replace(/
        • /gi, '
        • ')\n .replace(/
            /gi, '
              ')\n .replace(//gi, '')\n .replace(//gi, '')\n .replace(/<\\/music>/gi, '')\n .replace(//gi, '');\n};\n\nexport const formatTime = (time) => {\n const date = new Date(0);\n date.setSeconds(time || 0);\n return date.toISOString().substr(14, 5);\n};\n\nexport const returnNumberRange = (start, end) => {\n const numArr = [];\n for (let i = start; i <= end; i += 1) {\n numArr.push(i);\n }\n return numArr;\n};\n\nexport const shortenLongDescription = (text, limit) => {\n if (text?.length > limit) {\n return `${text.substr(0, limit - 4)}...`;\n }\n return text;\n};\n\nexport const capitalizeFirstLetter = (str) => {\n str = str.toLowerCase();\n return str.charAt(0).toUpperCase() + str.slice(1);\n};\n\nexport const stripHtml = (text) => {\n if (!text) return null;\n const div = document.createElement('DIV');\n div.innerHTML = text;\n return div.textContent || div.innerText || '';\n};\n\nexport const getVimeoVideoPadding = async (url) => {\n try {\n const {\n data: { width, height },\n } = await axios.get(`https://vimeo.com/api/oembed.json?url=${url}`);\n return `${((height / width) * 100).toFixed(2)}% 0 0 0`;\n } catch (e) {\n return null;\n }\n};\n\nexport const addGlossaries = (text, glossaries) => {\n if (!text) return null;\n if (glossaries?.length < 1) return text;\n\n let textStr = text;\n for (let i = 0; i < glossaries.length; i++) {\n const { word, definition } = glossaries[i];\n\n // match standalone word or when it ends with ., comma, ;, and )\n // but not when it has double backticks `` appended\n const glossaryRegEx = new RegExp(\n '\\\\b(' + word + ')(?=[]\\\\b|\\\\s|$|\\\\.|<|,|;|\\\\))(?!,``|;``|\\\\.``|\\\\)``)',\n 'i'\n );\n\n /**\n * Split multiword words and replace space with +++\n * so individual words dont get matched in the rest of the iterations\n *\n * @param {string} wordStr\n * @returns string\n */\n const formatForMultiWord = (wordStr) => {\n const wordToArr = wordStr.split(' ');\n if (wordToArr.length === 1) return wordStr;\n\n return wordToArr.join('+++').concat('≠≠');\n };\n\n /**\n * add double backticks to the end of each word\n * in the definition so it doesn't get matched in the rest of the iterations\n * replace < with ææ so in case a glossary word is the last in the definition\n *\n * @returns string\n */\n const formatDefinition = () => {\n return definition\n .split(' ')\n .join('`` ')\n .concat('``')\n .replaceAll('<', 'ææ');\n };\n\n textStr = textStr.replace(glossaryRegEx, (match) => {\n const trimmedMatch = match.trim();\n return `${formatForMultiWord(\n word\n )} ${formatDefinition()}\">${formatForMultiWord(\n trimmedMatch\n )}`;\n });\n }\n\n // remove `` and ≠≠, replace ææ with < and +++ with space\n return textStr\n .replaceAll('``', '')\n .replaceAll('ææ', '<')\n .replaceAll('+++', ' ')\n .replaceAll('≠≠', '')\n .replace(/class=\"pagnifin-font*\"/gi, '')\n .replace(/class=\"normal-text*\"/gi, '')\n .replace(//gi, \"\")\n .replace(//gi, \"\")\n .replace(//gi, \"\")\n .replace(//gi, \"\")\n .replace(/<\\/music>/gi, '')\n .replace(/<\\/normal>/gi, '');\n};\n\nexport const mediaPlayerSelectedSongStateDefault = {\n loading: true,\n data: {\n song: {\n ...SongDefaultState,\n },\n },\n};\n\nexport const getSongAudioSrcs = (audios) =>\n audios.map((audio) => audio.files.mp3);\n\nexport const albumArtDefault = '/img/artwork-missing.jpg';\n\nexport const groupBy = (array, f) => {\n const groups = {};\n array.forEach((o) => {\n const group = JSON.stringify(f(o));\n groups[group] = groups[group] || [];\n groups[group].push(o);\n });\n return Object.keys(groups).map((group) => {\n return groups[group];\n });\n};\n\nexport const returnHasTags = (key, type, name, randomise = false) => {\n return {\n [key]: {\n AND: [\n { column: 'TYPE', value: type },\n { column: 'NAME', value: name },\n ],\n },\n available: true,\n randomise,\n };\n};\n\nexport const buildTags = (data) => {\n const tagsArr = [];\n\n // eslint-disable-next-line no-restricted-syntax\n for (const [key, value] of Object.entries(data)) {\n if (\n !['min_age', 'max_age'].includes(key) &&\n value !== 'all' &&\n key !== 'composers'\n ) {\n tagsArr.push({ type: valuesObj[key], formatted_name: value });\n }\n }\n return tagsArr;\n};\n\nexport const buildFilterParams = (data, contentType = '') => {\n const filteredArr = buildTags(data);\n\n const filterParameters = {\n ...(filteredArr.length > 0 && {\n filtered: filteredArr,\n }),\n };\n\n if ('min_age' in data && 'max_age' in data) {\n filterParameters.hasSongDetail = {\n OR: [\n {\n AND: [\n { column: 'MINAGE', value: data.min_age ?? 5, operator: 'LTE' },\n { column: 'MAXAGE', value: data.max_age ?? 11, operator: 'GTE' },\n ],\n },\n {\n AND: [\n { column: 'MINAGE', value: data.max_age ?? 5, operator: 'LTE' },\n { column: 'MAXAGE', value: data.min_age ?? 11, operator: 'GTE' },\n ],\n },\n ],\n };\n }\n\n if (contentType !== '') {\n let categoryFilter = {\n AND: [\n {\n column: 'NAME',\n value: contentType,\n },\n ],\n };\n\n if (contentType === 'Blog or Guide') {\n categoryFilter = {\n OR: [\n {\n column: 'NAME',\n value: 'Blog',\n },\n {\n column: 'NAME',\n value: 'Guide',\n },\n ],\n };\n }\n\n if (contentType === 'Curriculum links and more') {\n categoryFilter = {\n OR: [\n {\n column: 'NAME',\n value: 'Curriculum Link',\n },\n {\n column: 'NAME',\n value: 'Creative Ideas',\n },\n {\n column: 'NAME',\n value: 'Bright Idea',\n },\n {\n column: 'NAME',\n value: 'Spotlight on...',\n },\n ],\n };\n }\n\n filterParameters.hasCategory = categoryFilter;\n }\n\n if ('composers' in data && data.composers !== 'all') {\n filterParameters.where = {\n column: 'COMPOSERS',\n value: data.composers,\n };\n }\n\n return filterParameters;\n};\n\nexport const extractContent = (html) => {\n return new DOMParser().parseFromString(html, 'text/html').documentElement\n .textContent;\n};\n\nexport const displayLoadingMessage = (message = 'Loading...', options = {}) =>\n toast.info(message, { toastId: 'loading', ...options });\n\nexport const dismissLoadingMessage = () => toast.dismiss('loading');\n\nexport const displaySuccessMessage = (message = 'Success!') =>\n toast.success(message, toastSuccessObj);\n\nexport const displayErrorMessage = (message = 'Operation failed!') =>\n toast.error(message, toastErrorObj);\n\nexport const dismissErrorMessage = () => toast.dismiss('error');\n\nexport const displayWarningMessage = (message = 'Warning!') =>\n toast(`${message} Click here to close this message`, {\n toastId: 'warning',\n });\n\nexport const dismissWarningMessage = () => toast.dismiss('warning');\n\n/**\n *\n * @param {number} inputMinAge\n * @param {number} inputMaxAge\n * @param {number} resourceMinAge\n * @param {number} resourceMaxAge\n * @returns {boolean}\n */\nexport const matchesAgeRange = (\n inputMinAge,\n inputMaxAge,\n resourceMinAge,\n resourceMaxAge\n) =>\n (resourceMinAge <= inputMinAge && resourceMaxAge >= inputMaxAge) ||\n (resourceMinAge <= inputMaxAge && resourceMaxAge >= inputMinAge);\n\nexport const redirectToOota = () =>\n window.open('https://outoftheark.co.uk', '_blank');\n\nexport const equals = (a, b) =>\n a.length === b.length && a.every((v, i) => v === b[i]);\n\nexport const calculateDaysLeftInSubscription = (dateRenewal, isActive) => {\n let daysLeftOnSubscription = '0 days';\n\n if (dateRenewal && isActive) {\n daysLeftOnSubscription = formatDistanceToNowStrict(\n new Date(parseInt(dateRenewal, 10) * 1000),\n { roundingMethod: 'floor' }\n );\n } else if (!dateRenewal) {\n return 'N/A';\n }\n\n return daysLeftOnSubscription;\n};\n\nexport const calculateDaysLeftInTrial = (date) => {\n return differenceInDays(new Date(parseInt(date, 10) * 1000), new Date());\n};\n\nexport const getSubscriptionCardTexts = (\n subs,\n daysLeftOnSubscription,\n activeTrial\n) => {\n const activeSubs = subs?.filter((sub) => sub.isActive);\n\n const paidSubs = activeSubs?.filter(\n (sub) => sub.subscriptionType === 'STRIPE'\n );\n\n const hasMultiplePaidSubs = paidSubs?.length > 1;\n\n const manualSubs = activeSubs?.filter(\n (sub) => sub.subscriptionType === 'MANUAL'\n );\n\n const hasManualSubs = manualSubs?.length > 0;\n\n const getBottomText = () => {\n if (activeTrial) return 'remaining in your free trial subscription';\n if (hasMultiplePaidSubs) return 'active subscriptions';\n if (manualSubs?.length > 0) return ' ';\n return false;\n };\n\n let middleText = hasMultiplePaidSubs\n ? activeSubs.length\n : daysLeftOnSubscription;\n\n let topText = '';\n if (hasManualSubs) {\n middleText = 'Custom subscription';\n topText = ' ';\n }\n\n return {\n topText,\n middleText,\n bottomText: getBottomText(),\n hasMultiplePaidSubs,\n hasManualSubs,\n };\n};\n\nexport const splitByThreshold = (sentence, threshold) => {\n if (!sentence || threshold <= 0 || threshold > sentence.length) {\n return [sentence];\n }\n\n let splitIndex = sentence.lastIndexOf(' ', threshold);\n\n if (splitIndex === -1) {\n splitIndex = sentence.indexOf(' ', threshold);\n }\n\n if (splitIndex === -1) {\n return [sentence];\n }\n\n const part1 = sentence.slice(0, splitIndex).trim();\n const part2 = sentence.slice(splitIndex).trim();\n\n return [part1, part2];\n};\n","import { makeVar } from '@apollo/client';\nimport { mediaPlayerSelectedSongStateDefault } from './helpers';\n\nexport const currentSong = makeVar({});\nexport const currentResource = makeVar({});\nexport const currentSongTypeId = makeVar(0);\nexport const playerActive = makeVar(false);\nexport const isPlayerFullscreen = makeVar(false);\nexport const glossaries = makeVar([]);\nexport const songChoiceSongs = makeVar([]);\nexport const lastPhraseWidth = makeVar(60.54);\nexport const isMobileSidebarOpen = makeVar(false);\nexport const user = makeVar(null);\nexport const isMobileFullscreen = makeVar(false);\nexport const resourceList = makeVar([]);\nexport const playlistList = makeVar({});\nexport const videoList = makeVar([]);\nexport const songbookList = makeVar({});\nexport const assemblyList = makeVar({});\nexport const openTabType = makeVar('');\nexport const mediaPlayerSelectedSongState = makeVar(\n mediaPlayerSelectedSongStateDefault\n);\nexport const modalActions = makeVar({\n headerText: '',\n favourite: false,\n addToPlaylist: false,\n addToCollection: false,\n share: false,\n modalId: 0,\n type: null,\n deletePlaylist: false,\n});\n\nexport const userFavouriteSongs = makeVar([]);\nexport const userFavouriteResources = makeVar([]);\nexport const userFavouriteAssemblies = makeVar([]);\nexport const addToPlaylistSongId = makeVar(null);\nexport const addToCollectionItemObj = makeVar({});\nexport const deleteModalObj = makeVar({});\nexport const organisationDetails = makeVar({});\nexport const organisationId = makeVar();\nexport const selectedSongId = makeVar();\nexport const subscriptionDetails = makeVar({});\nexport const organisationLoggedInAs = makeVar(null);\nexport const loggedInAsPrivateUser = makeVar(false);\nexport const currentOrganisationHasActiveSub = makeVar(false);\nexport const userHasActiveSubOrTrial = makeVar(false);\nexport const currentlySelectedSubscription = makeVar({});\nexport const allSongsPageSongs = makeVar([]);\n","import { useEffect, useState } from 'react';\n\nconst useMediaQuery = (query) => {\n const [matches, setMatches] = useState(false);\n\n useEffect(() => {\n const media = window.matchMedia(query);\n if (media.matches !== matches) {\n setMatches(media.matches);\n }\n const listener = () => setMatches(media.matches);\n window.addEventListener('resize', listener);\n return () => window.removeEventListener('resize', listener);\n }, [matches, query]);\n\n return matches;\n};\n\nexport default useMediaQuery;\n","/* eslint-disable react/no-danger */\n/* eslint-disable react/require-default-props */\n/* eslint-disable operator-linebreak */\n/* eslint-disable implicit-arrow-linebreak */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\nimport { useReactiveVar } from '@apollo/client';\nimport React from 'react';\nimport Tappable from 'react-tappable';\nimport { withRouter } from 'react-router-dom';\nimport tw, { styled } from 'twin.macro';\nimport 'styled-components/macro';\nimport {\n albumArtDefault,\n shortenLongDescription,\n stripHtml,\n} from '../../utils/helpers';\nimport { mediaPlayerSelectedSongState } from '../../utils/reactiveVars';\nimport useMediaQuery from '../../hooks/Others/useMediaQuery';\n\nconst Container = styled.div<{\n gridPosition: number;\n gridPositionMobile?: number;\n}>`\n ${tw`flex items-center`}\n ${({ gridPosition }) => gridPosition && `-ms-grid-column: ${gridPosition}`};\n ${({ gridPosition }) => gridPosition && `grid-column: ${gridPosition}`};\n ${({ gridPositionMobile }) =>\n gridPositionMobile &&\n `\n @media (max-width: 767px),screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape) {\n grid-column: ${gridPositionMobile};\n }`};\n`;\n\nconst AlbumCover = styled.img`\n height: 38px;\n width: 38px;\n @media (max-width: 767px),\n screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape) {\n display: none;\n }\n`;\n\nexport const AlbumInfo = styled.div`\n ${tw`h-full flex flex-col justify-around text-white py-4 pl-6`}\n font-size: 12px;\n // width: 60rem;\n @media (max-width: 767px) {\n max-width: 184px;\n }\n @media (max-width: 810px) {\n position: relative;\n width: 100%;\n }\n @media (max-width: 767px),\n screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape) {\n max-width: 184px;\n }\n`;\n\ntype Props = {\n gridPosition: number;\n gridPositionMobile?: number;\n isGuest: boolean;\n history: any;\n};\n\nconst Song = ({\n gridPosition,\n gridPositionMobile,\n isGuest,\n history,\n}: Props) => {\n const songState = useReactiveVar(mediaPlayerSelectedSongState);\n\n const isNotDesktop = useMediaQuery('(max-width: 810px)');\n const isVerySmallScreen = useMediaQuery('(max-width: 374px)');\n\n const shouldScrollSongName =\n songState?.data?.song?.infoName.length > 35 && isNotDesktop;\n\n const textLimit = isVerySmallScreen ? 25 : 35;\n\n let songName = songState?.data?.song?.infoName;\n songName = shouldScrollSongName\n ? shortenLongDescription(stripHtml(songName), textLimit)\n : songName;\n\n const SongLink = () => (\n {\n history.push(`/song/${songState.data.song?.id}`);\n }}\n >\n \n \n );\n\n const SongDetails = () => {\n // const albumName = shortenLongDescription(\n // JSON.parse(songState.data.song?.audios[0].metadata || '{}')?.album || '',\n // 30\n // );\n\n const songbook = shortenLongDescription(\n (songState.data.song as any)?.esongbooks[0]?.infoName || '',\n 30\n );\n\n return (\n <>\n {isGuest ? (\n <>\n \n {songbook}\n \n ) : (\n <>\n \n {\n history.push(\n `/songbook/${songState.data.song?.esbTrack?.esongbook.id}`\n );\n }}\n >\n \n {songbook}\n \n \n \n )}\n \n );\n };\n\n const albumArt = songState.data.song?.albumArt;\n\n return (\n \n {isGuest ? (\n \n ) : (\n {\n history.push(\n `/songbook/${songState.data.song?.esbTrack?.esongbook.id}`\n );\n }}\n >\n \n \n )}\n\n \n {songState.loading ? (\n Loading song...\n ) : (\n \n )}\n \n \n );\n};\n\nexport default withRouter(Song);\n","/* eslint-disable implicit-arrow-linebreak */\n/* eslint-disable prefer-destructuring */\n/* eslint-disable no-return-assign */\nimport { useLocalStore } from 'mobx-react-lite';\nimport {\n Album,\n AlbumDefaultState,\n CustomSong,\n Progress,\n ProgressDefaultState,\n Page,\n Phrase,\n PageDefaultState,\n PhraseDefault,\n JumpTo,\n JumpToDefault,\n songSrcOne,\n PlayerHit,\n PlayerHitDefault,\n} from '../types';\nimport songData from '../temp/songs.json';\nimport { currentSongTypeId, playerActive } from '../../utils/reactiveVars';\nimport Decimal from 'decimal.js';\n\nexport type MediaPlayerStoreType = {\n album: Album;\n playing: boolean;\n duration: number;\n volume: number;\n currentSrc: string;\n seeking: boolean;\n jumpTo: JumpTo;\n showSlide: boolean;\n plainTextView: boolean;\n page: Page;\n phrase: Phrase;\n progress: Progress;\n playlist: CustomSong[];\n song: CustomSong;\n ready: boolean;\n shareId: number | null;\n playerHit: PlayerHit;\n shouldRecordHit: boolean;\n shouldUpdateHit: boolean;\n error: boolean;\n lastPlayheadPositionMs: number;\n currentPlayheadPositionMs: number;\n togglePlainTextView: () => void;\n enablePlainTextView: () => void;\n enableFancyTextView: () => void;\n switchSong: (backwards: boolean) => void;\n setShowSlide: (toggle: boolean) => void;\n resetJumpTo: () => void;\n setJumpTo: ({\n phraseStarts,\n phraseEnds,\n playSinglePhrase,\n newPhraseID,\n }: {\n phraseStarts: number;\n phraseEnds?: number;\n playSinglePhrase: boolean;\n newPhraseID?: number;\n }) => void;\n setPlaying: (playing: boolean) => void;\n setDuration: (duration: number) => void;\n setVolume: (volume: number) => void;\n setSong: (song: string) => void;\n setProgress: (progress: Progress) => void;\n setSeeking: (isSeeking: boolean) => void;\n setPage: (page: Page) => void;\n switchTrack: (idx: number, playedSeconds: number) => void;\n switchSlide: (offset: number, currentSlide: number) => void;\n setPlaylist: (songs: CustomSong[]) => void;\n setReady: (ready: boolean) => void;\n setShareId: (shareId: number | null) => void;\n setPlayerHit: (hit: PlayerHit) => void;\n setShouldRecordHit: (value: boolean) => void;\n setShouldUpdateHit: (value: boolean) => void;\n setError: (value: boolean) => void;\n setLastPlayheadPositionMs: (value: number) => void;\n setCurrentPlayheadPositionMs: (value: number) => void;\n};\n\nexport const MediaPlayerStore = (): MediaPlayerStoreType => {\n const store: MediaPlayerStoreType = useLocalStore(\n () => ({\n album: AlbumDefaultState,\n playing: false,\n duration: 0,\n volume: 0.5,\n currentSrc: '',\n seeking: false,\n jumpTo: JumpToDefault,\n page: PageDefaultState,\n phrase: PhraseDefault,\n progress: ProgressDefaultState,\n playlist: AlbumDefaultState.songs,\n showSlide: false,\n song: { ...songData.songs[0], src: songSrcOne },\n plainTextView: false,\n ready: false,\n shareId: null,\n playerHit: PlayerHitDefault,\n shouldRecordHit: true,\n shouldUpdateHit: true,\n error: false,\n lastPlayheadPositionMs: 0,\n currentPlayheadPositionMs: 0,\n togglePlainTextView: () => (store.plainTextView = !store.plainTextView),\n enablePlainTextView: () => (store.plainTextView = true),\n enableFancyTextView: () => (store.plainTextView = false),\n switchSong: (backwards: boolean) => {\n // NOTE: this is all done very directly,\n // will be reducing down the repeat in the storage of songs\n // as store.playlist isn't currently in use etc.\n if (backwards && store.progress.playedSeconds > 0.25) {\n const previousPlayingState = store.playing;\n store.setLastPlayheadPositionMs(\n Math.round(store.progress.playedSeconds * 1000)\n );\n store.setJumpTo({ phraseStarts: 1, playSinglePhrase: false });\n store.playing = true;\n store.playing = previousPlayingState;\n store.setCurrentPlayheadPositionMs(0);\n return;\n }\n store.setJumpTo({ phraseStarts: 1, playSinglePhrase: false });\n setTimeout(() => {\n // if (store.song.id === 1765) {\n // store.song = { ...songData.songs[1], src: songSrcTwo };\n // store.currentSrc = songSrcTwo[0];\n // } else {\n // store.song = { ...songData.songs[0], src: songSrcOne };\n // store.currentSrc = songSrcOne[0];\n // }\n\n store.phrase = PhraseDefault;\n }, 1000);\n },\n switchTrack: (idx, playedSeconds) => {\n if (store.playing) store.setShouldRecordHit(false);\n store.setSong(store.song.src[idx]);\n store.setLastPlayheadPositionMs(Math.round(playedSeconds * 1000));\n store.setCurrentPlayheadPositionMs(Math.round(playedSeconds * 1000));\n store.setJumpTo({\n phraseStarts: +new Decimal(playedSeconds).times(1000),\n playSinglePhrase: false,\n });\n\n // this is for safari as it restarts playback when new audio is loaded\n // set player to playedSeconds timestamp if it is greater than the current timestamp\n // setTimeout(() => {\n // if (playedSeconds > store.progress.playedSeconds) {\n // store.setJumpTo({\n // phraseStarts: playedSeconds * 1000,\n // playSinglePhrase: false,\n // });\n // store.setProgress({\n // played: playedSeconds * 1000,\n // playedSeconds,\n // loaded: playedSeconds * 1000,\n // loadedSeconds: playedSeconds,\n // });\n // }\n // }, 2000);\n\n currentSongTypeId(idx);\n },\n switchSlide: (offset, currentSlide) => {\n if (offset === -1 && currentSlide === 0) return;\n const previoudPlayingState = store.playing;\n store.setPlaying(true);\n store.setLastPlayheadPositionMs(\n Math.round(store.progress.playedSeconds * 1000)\n );\n const millisecondsStart =\n store.song.pages[currentSlide + offset].millisecondsStart;\n store.setJumpTo({\n phraseStarts: millisecondsStart,\n playSinglePhrase: false,\n });\n store.setCurrentPlayheadPositionMs(Math.round(millisecondsStart));\n store.setPlaying(previoudPlayingState);\n },\n setShowSlide: (toggle) => {\n store.showSlide = toggle;\n },\n resetJumpTo: () => {\n store.jumpTo = JumpToDefault;\n },\n setJumpTo: ({\n phraseStarts,\n phraseEnds = -1,\n playSinglePhrase,\n newPhraseID = 0,\n }) => {\n const date = new Date();\n store.jumpTo = {\n phraseStarts: phraseStarts || 1,\n phraseEnds,\n setAt: date,\n complete: !playSinglePhrase,\n playSinglePhrase,\n newPhraseID,\n };\n }, // time defaults to 1ms as react-player can't jumpTo(0)\n setPlaying: (playing: boolean) => (store.playing = playing),\n setDuration: (duration) => (store.duration = duration),\n setVolume: (volume) => (store.volume = volume),\n setSong: (song: string) => (store.currentSrc = song),\n setProgress: (progress) => (store.progress = progress),\n setSeeking: (isSeeking) => (store.seeking = isSeeking),\n setPage: (page: Page) => (store.page = page),\n setPlaylist: (songs) => (store.playlist = songs),\n setReady: (ready) => (store.ready = ready),\n setShareId: (id) => (store.shareId = id),\n setPlayerHit: (hit) => (store.playerHit = hit),\n setShouldRecordHit: (value) => (store.shouldRecordHit = value),\n setShouldUpdateHit: (value) => (store.shouldUpdateHit = value),\n setError: (value) => (store.error = value),\n setLastPlayheadPositionMs: (value: number) =>\n (store.lastPlayheadPositionMs = value),\n setCurrentPlayheadPositionMs: (value) =>\n (store.currentPlayheadPositionMs = value),\n })\n );\n if (playerActive()) store.setPlaying(true);\n return store;\n};\n","/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\nimport React from 'react';\nimport { MediaPlayerStore, MediaPlayerStoreType } from './MediaPlayerStore';\n\nexport const StoreContext = React.createContext<{\n mediaPlayerStore: MediaPlayerStoreType;\n}>(\n { mediaPlayerStore: {} as MediaPlayerStoreType }\n // Context expects a default state - ({} as Type) workaround\n // uses the type information to satisfy Typescripts \"object might be null\" error\n);\n\n/**\n * A wrapper to the Context.Provider to create the Mobx Local Store\n */\ntype Props = { children: React.ReactChild };\nexport const StoreProvider = ({ children }: Props) => (\n \n {children}\n \n);\n","/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\nimport React from 'react';\nimport { StoreContext } from '../stores/RootStore';\n\nconst useStores = () => React.useContext(StoreContext);\nexport default useStores;\n","/* eslint-disable react/jsx-curly-newline */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable implicit-arrow-linebreak */\n/* eslint-disable operator-linebreak */\n/* eslint-disable @typescript-eslint/prefer-as-const */\n/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport Decimal from 'decimal.js';\nimport React, { useRef } from 'react';\nimport tw, { styled } from 'twin.macro';\nimport 'styled-components/macro';\nimport ReactPlayer from 'react-player';\nimport { useObserver } from 'mobx-react-lite';\nimport numeral from 'numeral';\nimport { Line } from 'rc-progress';\nimport useStores from '../hooks/useStores';\nimport useMediaQuery from '../../hooks/Others/useMediaQuery';\n\ntype Props = {\n player: React.RefObject;\n};\n\nconst Container = styled('div')<{ height: number }>`\n ${tw`absolute w-full`}\n top: 14px;\n max-width: 1360px;\n @media (max-width: 1600px) {\n max-width: 90%;\n }\n @media (max-width: 767px),\n screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape) {\n max-width: 100vw;\n margin-left: -5%;\n top: 0;\n }\n`;\n\nconst RelativeRootElement = styled('div')<{ height: number }>`\n ${tw`relative`};\n height: ${({ height }) => height};\n`;\n\nconst Slider = styled.input.attrs({ type: 'range' })`\n ${tw`absolute top-0 w-full m-0 z-20 bg-transparent`}\n height: 5px;\n -webkit-appearance: none;\n\n :focus {\n outline: none;\n }\n ::-webkit-slider-runnable-track {\n ${tw`w-full h-2 cursor-pointer bg-transparent`}\n border-radius: 1.3px;\n border: 0.2px solid transparent;\n }\n ::-webkit-slider-thumb {\n ${tw`w-4 h-8 border border-solid border-transparent rounded bg-transparent cursor-pointer mt-3`}\n -webkit-appearance: none;\n }\n :focus::-webkit-slider-runnable-track {\n ${tw`bg-transparent`}\n }\n ::-moz-range-track {\n ${tw`w-full h-2 cursor-pointer bg-transparent border border-solid border-transparent`}\n }\n ::-moz-range-thumb {\n ${tw`border border-solid border-transparent h-0 w-0 bg-transparent hidden cursor-pointer`}\n }\n ::-ms-track {\n ${tw`w-full h-2 cursor-pointer bg-transparent border border-solid border-transparent text-transparent`}\n }\n ::-ms-thumb {\n ${tw`border border-solid border-transparent h-8 w-4 bg-transparent cursor-pointer`}\n }\n max-width: 1360px;\n left: 0px;\n @media (min-width: 429px) and (max-width: 1024px) {\n width: 94.5%;\n }\n @media (min-width: 1025px) and (max-width: 1366px) {\n max-width: 1266px;\n }\n @media (max-width: 767px),\n screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape) {\n width: 100%;\n }\n @media screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape) {\n width: 414px !important;\n }\n`;\n\nexport const formatTime = (value: number) =>\n numeral(value).format('0:00').replace('0:0', '');\n\nexport const ProgressBar = ({ player }: Props) => {\n const { mediaPlayerStore } = useStores();\n const sliderRef = useRef(null!);\n\n const isMobile = useMediaQuery(\n '(max-width: 767px), screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape) '\n );\n\n const LineStyle = {\n height: `${sliderRef.current?.clientHeight || 2}px`,\n width: '100%',\n position: 'absolute' as 'absolute',\n left: isMobile ? '10px' : 0,\n zIndex: 5,\n };\n\n const onMouseUp = (\n e: React.TouchEvent | React.MouseEvent\n ) => {\n mediaPlayerStore.setSeeking(false);\n if (player.current) {\n player.current.seekTo(parseFloat(e.currentTarget.value));\n }\n };\n\n return useObserver(() => (\n \n {/* \n \n \n */}\n \n \n \n ) => {\n mediaPlayerStore.setLastPlayheadPositionMs(\n Math.round(mediaPlayerStore.progress.playedSeconds * 1000)\n );\n mediaPlayerStore.setCurrentPlayheadPositionMs(\n Math.round(\n Number(e.target.value) * mediaPlayerStore.duration * 1000\n )\n );\n mediaPlayerStore.setProgress({\n ...mediaPlayerStore.progress,\n played: Number(e.target.value),\n });\n }}\n onMouseUp={(e) => onMouseUp(e)}\n onMouseDown={() => mediaPlayerStore.setSeeking(true)}\n onTouchStart={() => mediaPlayerStore.setSeeking(true)}\n onTouchEnd={(e) => onMouseUp(e)}\n />\n \n \n ));\n};\n","/* eslint-disable implicit-arrow-linebreak */\n/* eslint-disable @typescript-eslint/ban-types */\nexport const getMapValue = (key: string, map: object): [string, string] =>\n map[key as keyof typeof map];\n","/* eslint-disable operator-linebreak */\n// import React from 'react';\nimport tw, { css, styled } from 'twin.macro';\nimport 'styled-components/macro';\nimport { isMobileFullscreen } from '../../utils/reactiveVars';\nimport { getMapValue } from '../utils';\n\nexport interface IButton {\n variant?: string;\n icon?:\n | 'Fullscreen'\n | 'ChangeSong'\n | 'Favourite'\n | 'Favourited'\n | 'Hotspot'\n | 'Pause'\n | 'Play'\n | 'ChangeSlide'\n | 'Volume'\n | 'Minimize'\n | 'Text'\n | 'Vocal'\n | 'Instrumental'\n | 'Fancytext'\n | 'MusicalNote'\n | 'Plaintext';\n onClick?: () => void;\n disabled?: boolean;\n content?: string;\n rotate?: number;\n type?: 'submit' | 'reset' | 'button';\n gridPosition?: number;\n children?: JSX.Element | string;\n bordered?: boolean;\n id?: number;\n active?: boolean;\n hideOnMobile?: boolean;\n showOnMobileFs?: boolean;\n gridPositionMobile?: number;\n mobileDimensions?: number;\n tabletDimensions?: number;\n mobileFullscreenDimensions?: number;\n audioBg?: boolean;\n pulsate?: boolean;\n}\n\nconst defaultProps = {\n variant: 'default',\n type: 'button',\n rotate: 0,\n content: '',\n};\n\nconst buttonStyleMap = {\n primary: tw`bg-green-400`,\n secondary: tw`bg-white`,\n default: tw`h-12 w-12 bg-blue-400`,\n media: tw`text-white`,\n};\n\nconst ButtonBase = styled.button.attrs(({ type = 'button' }: IButton) => ({\n type,\n}))(({ disabled }) => [\n tw`text-black`,\n disabled && tw`hover:cursor-default opacity-25`,\n]);\n\nexport const Button = styled(ButtonBase)(\n ({\n variant = defaultProps.variant,\n rotate,\n gridPosition,\n gridPositionMobile,\n bordered,\n active,\n hideOnMobile,\n showOnMobileFs,\n audioBg,\n }) => [\n getMapValue(variant, buttonStyleMap),\n rotate &&\n css`\n transform: rotate(${rotate}deg);\n `,\n gridPosition &&\n css`\n grid-column: ${gridPosition};\n -ms-grid-column: ${gridPosition};\n `,\n css`\n font-size: 13px;\n `,\n bordered &&\n css`\n padding: 4px 11px 5px;\n border-radius: 5px;\n font-family: Arial Regular, Arial, sans-serif;\n `,\n\n hideOnMobile &&\n css`\n @media (max-width: 767px),\n screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape) {\n display: none;\n }\n `,\n gridPositionMobile &&\n `@media (max-width: 767px),screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape) {\n grid-column: ${gridPositionMobile};\n }`,\n audioBg &&\n css`\n background: #212121;\n `,\n active &&\n css`\n background-color: #40c0c0;\n `,\n showOnMobileFs &&\n isMobileFullscreen() &&\n css`\n @media (max-width: 429px),\n screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape) {\n display: inherit;\n }\n `,\n ]\n);\n\nexport default Button;\n","export default __webpack_public_path__ + \"static/media/full-screen.6a9f9a39.svg\";","export default __webpack_public_path__ + \"static/media/change-song.0bb5b4ff.svg\";","export default __webpack_public_path__ + \"static/media/favourite.5b91fd17.svg\";","export default __webpack_public_path__ + \"static/media/favourited.e5af9b37.svg\";","export default __webpack_public_path__ + \"static/media/hotspot.d2299547.svg\";","export default __webpack_public_path__ + \"static/media/pause.0510d7ce.svg\";","export default __webpack_public_path__ + \"static/media/play.e79215b3.svg\";","export default __webpack_public_path__ + \"static/media/change-slide.4b73fdc6.svg\";","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAZKADAAQAAAABAAAAZAAAAAAvu95BAAAEFElEQVR4Ae2dv2/TUBDH/RynqFIGkLowMaBOHRqJLvQXahFihZ2/AeUPYGCGJf8EAyr/AKJSm1RZSxj4A1B3RNfS+HHPwhG6uNazo/ruma+lNHn2s+/u+8nZUZy7mkjJcjgaDW0U9Zk7l7Tu3HQ6n052d7+zbd7Dt9Ym47OzV9bax3S8dRNFMd85SZLBl52dKV/f9Jh807EcjEanJNiTIm+MMVeRMW9O9vffF20vW3c4mTy019cf6diPyuYlnc7B8d7eadmcJrYtvFOaMFrVBom5YtP03dPx+EWVfV1m+MCocszbnhsEkFyENE2H+Wuf57+nqdLM8DlOk3OCAkLn/wfPx+P7vgK5a4bvXC3zggLiRPtt7bqveO4C7jtXy7zggMS0+IpX9GnKd1+ped7BSTn4v9kFEGXEAQRAlCmgzB1kCIAoU0CZO8gQAFGmgDJ3kCEAokwBZe4gQwBEmQLK3EGGAIgyBZS5gwwBEGUKKHMHGQIgyhRQ5g4yBECUKaDMHWQIgChTQJk7yBAAUaaAMneQIQCiTAFl7iBDlAFJbqhcat5Na3n1VKM+zGazIRUN/WrUKDP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w, { styled } from 'twin.macro';\nimport 'styled-components/macro';\nimport Fullscreen from '../../images/full-screen.svg';\nimport ChangeSong from '../../images/change-song.svg';\nimport Favourite from '../../images/favourite.svg';\nimport Favourited from '../../images/favourited.svg';\nimport Hotspot from '../../images/hotspot.svg';\nimport Pause from '../../images/pause.svg';\nimport Play from '../../images/play.svg';\nimport ChangeSlide from '../../images/change-slide.svg';\nimport Volume from '../../images/volume.png';\nimport Minimize from '../../images/minimize.png';\nimport Instrumental from '../../images/instrumental.png';\nimport Vocal from '../../images/vocal.png';\nimport Plaintext from '../../images/plaintext-white.png';\nimport Fancytext from '../../images/fancytext-white.png';\nimport MusicalNote from '../../images/musical-note.png';\nimport { getMapValue } from '../../utils';\nimport { isMobileFullscreen } from '../../../utils/reactiveVars';\n\ninterface IIcon {\n rotate?: number;\n variant?: string;\n mobileDimensions?: number;\n tabletDimensions?: number;\n mobileFullscreenDimensions?: number;\n}\n\nconst iconImageMap = {\n Fullscreen,\n ChangeSong,\n Favourite,\n Favourited,\n Hotspot,\n Pause,\n Play,\n ChangeSlide,\n Volume,\n Minimize,\n Instrumental,\n Vocal,\n Plaintext,\n Fancytext,\n MusicalNote,\n};\n\nconst iconStyleMap = {\n Fullscreen: tw`w-14 h-14`,\n Minimize: tw`w-14 h-14`,\n ChangeSong: tw`w-8 h-8`,\n Favourite: tw`w-8 h-8`,\n Favourited: tw`w-8 h-8`,\n Hotspot: tw`w-8 h-8`,\n Pause: tw`w-18 h-18 fill-current text-black`,\n Play: tw`w-18 h-18 fill-current text-teal-400`,\n ChangeSlide: tw`w-8 h-8`,\n Volume: tw`w-6 h-8`,\n Instrumental: tw`w-14 h-14`,\n Vocal: tw`w-14 h-14`,\n Plaintext: tw`w-14 h-14`,\n Fancytext: tw`w-14 h-14`,\n MusicalNote: tw`w-14 h-14`,\n};\n\nexport const Icon = styled.img.attrs(({ variant = 'Play' }: IIcon) => ({\n src: getMapValue(variant, iconImageMap),\n}))`\n ${({ rotate }) => rotate && `transform: rotate(${rotate}deg);`},\n ${tw`h-full w-full disabled:opacity-25`}\n ${({ variant = 'Play' }) => getMapValue(variant, iconStyleMap)}\n ${({ mobileDimensions }) =>\n mobileDimensions &&\n `\n @media (max-width: 767px),screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape) {\n width: ${mobileDimensions}px;\n height: ${mobileDimensions}px;\n }`};\n ${({ tabletDimensions }) =>\n tabletDimensions &&\n `@media (min-width: 768px) and (max-width: 1024px) {\n width: ${tabletDimensions}px;\n height: ${tabletDimensions}px;\n }`};\n ${({ mobileFullscreenDimensions }) =>\n mobileFullscreenDimensions &&\n isMobileFullscreen() &&\n `\n @media (max-width: 767px),screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape) {\n width: ${mobileFullscreenDimensions}px;\n height: ${mobileFullscreenDimensions}px;\n }`};\n display: inherit;\n ${({ pulsate }) =>\n pulsate &&\n `\n animation-duration: 3s;\n animation-name: pulsate;\n animation-iteration-count: infinite;\n `}\n`;\n\nexport default Icon;\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEIAAABkCAYAAAAyoebDAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAQqADAAQAAAABAAAAZAAAAACmLFuzAAADjklEQVR4Ae2dvWsUQRjGc1GCYJMiiN1Z2Ahqo4VaXRNB0EJJaRU7sRErwRRaKmgTQQsbU1hYCAqKiNr40diKf4JoJyh+JHj+Xrk9Z3KXxOztzc7OPAMPu7dudt7nt09mzyMzNzGRYet2u/vQK/QDvUDt7DBgehZ9QW57nhUInM+jZZdAb/9XNiAwfHkIgP6h5EHgdArd7TteYydpEHieRjYYbtiSBYHzNnq/IYHeCUmCwNsB9PF/Idh5yYHA03H01cxtpiUFAuNn0cpmABTnJgECMy10tTBVZtt4EJjehu6XMe/+TKNBYGQGvXYNld1vNZUEhndT+xNk25Hb5MhXqOECQDhCt29RJ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UoQMAClCBoAUIQNAipABIEXIAJAiZABIETIApAgZAFKEDAApQgaAFCEDQIqQASBFyACQImQASBEyAKQIGQBShAwAKUIGgBQhA0CKkAEgRcgAkCJkAEgRMgCkCBkAUoQMAClCBoAUIQNAipABIEXIAJAiZABIETIApAgZAFKEDAApQgaAFCEDQIqQASBFyACQImQASBEyAKQIGQBShAwAKUIGgBQhA0CKkAEgRcgA0Ekp/R/UiYM85X/fMwAAAABJRU5ErkJggg==\"","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARkAAAEZCAYAAACjEFEXAAAACXBIWXMAAAsSAAALEgHS3X78AAAQVUlEQVR4nO3d/VHbVxbG8eud/G9tBcgVoFRguQKTCiAVmFRgp4KQCkIqMFQQXEFEBUEVWFTAjtbnt3OtlUD66T7nvn0/Mx6SzY4RSHp07tu5r56engIAqPyL3ywAJUIGgBQhA0CKkAEgRcgAkCJkAEgRMgCkCBkAUoQMAClCBoAUIQNAipABIEXIAJAiZABIETIApAgZAFKEDAApQgaAFCEDQIqQASBFyACQImQASBEyAKQIGQBShAwAKUIGgBQhA0CKkAEgRcgAkCJkAEgRMgCkCBkAUoQMAClCBoAUIQNAipABIEXIAJAiZABIETIApAgZAFKEDAApQgaAFCEDQIqQASBFyACQImQASBEyAKQIGQBShAwAKUIGgBQhA0CKkAEgRcgAkCJkAEgRMgCkCBkAUoQMAClCBoAUIQNAipABIEXIAJAiZABIETIApAgZAFKEDAApQgaAFCEDQIqQASBFyACQqilkViGEp8b+LAr4vQJStYTMLITwuoDHkdppCGHe1o8EfK+mkGnVRcM/G1BNyLT8aX8eQpgW8DgACUKmDJeN/3zo2Kunp6fSf/r1p/w/BTwOpUf7OVft/ojoVQ2VTMvzMYP1pPZZGQ8FSKuGkOll9eVTAY8BSI6QKccJ1QxaVPqczCSE8LWAx+HlC/tm0JrSK5ke5mNib1nORmtKD5keP9WZm0FTSh8u3dmne2/+zXI2WlF6JdNjwAQ256ElJYdMb/MxMc4zoRklh0zPqyw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pbW153qUwJGaAcZxY6c8G8zdBY/ca7iiVkgDJNNpboD7nOOV52X9jXbJPvhAxQn21L9KHUiXlCBoBUCdfUAmgYIQNAipABIEXIAJAiZABIETIApAgZAFKEDAApQgaAFCEDQIqQASBFyACQImQASBEyAKQIGQBShAwAKUIGgBQhA0CKkAEgRcgAkCJkAEgRMgCkCBkAUoQMAClCBoAUIQNAipABIEXIAJAiZABIETIApAgZAFKEDAApQgaAFCEDQIqQASBFyACQImQASBEyAKQIGQBShAwAKUIGgBQhA0CKkAEgRcgAkCJkAEgRMgCkCBkAUoQMAClCBoAUIQNAipABIEXIAJAiZABIETIApAgZAFKEDAApQgaAFCEDQIqQASBFyACQImQASBEyAKQIGQBShAwAKUIGgBQhA0CKkAEgRcgAkCJkAEgRMgCkCBkAUoQMAClCBoBOCOE/BjM6f1FYZnUAAAAASUVORK5CYII=\"","/* eslint-disable operator-linebreak */\n/* eslint-disable implicit-arrow-linebreak */\n/* eslint-disable import/no-named-as-default */\nimport React, { useRef } from 'react';\nimport Tappable from 'react-tappable';\nimport { useReactiveVar } from '@apollo/client';\nimport Button, { IButton } from './Button';\nimport { currentSongTypeId } from '../../utils/reactiveVars';\nimport Icon from './Styles/Icon';\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport const MediaButton = ({\n icon,\n content,\n onClick,\n disabled,\n rotate,\n type,\n gridPosition,\n bordered,\n id,\n hideOnMobile,\n showOnMobileFs,\n mobileDimensions,\n tabletDimensions,\n gridPositionMobile,\n audioBg,\n mobileFullscreenDimensions,\n pulsate,\n}: IButton) => {\n const buttonRef = useRef(null);\n\n return (\n {\n if (!disabled && onClick) {\n return onClick();\n }\n }}\n >\n {\n if (buttonRef.current) {\n buttonRef.current.blur();\n }\n }}\n >\n {icon && (\n \n )}\n {content}\n \n \n );\n};\n","/* eslint-disable react/require-default-props */\nimport { useReactiveVar } from '@apollo/client';\nimport React from 'react';\nimport { isMobileFullscreen } from '../../utils/reactiveVars';\n\nconst Spacer = (): JSX.Element => {\n const type = useReactiveVar(isMobileFullscreen)\n ? 'song-controls__spacer-mobile-fs'\n : 'song-controls__spacer';\n\n return
              ;\n};\n\nexport default Spacer;\n","/* eslint-disable operator-linebreak */\n/* eslint-disable implicit-arrow-linebreak */\nimport tw, { styled } from 'twin.macro';\nimport 'styled-components/macro';\n\nconst GridContainer = styled('div')<{\n gridPosition: number;\n mobileFullscreen?: boolean;\n}>`\n ${tw`flex flex-row justify-between items-center z-30`}\n ${({ gridPosition }) => gridPosition && `-ms-grid-column: ${gridPosition}`};\n ${({ gridPosition }) => gridPosition && `grid-column: ${gridPosition}`};\n width: 120px;\n\n @media (min-width: 767px) and (max-width: 1024px) {\n width: 10rem;\n padding-right: 10px;\n }\n @media (max-width: 767px),\n screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape) {\n width: 85px !important;\n padding-left: 21px;\n padding-right: 7px;\n }\n ${({ mobileFullscreen }) =>\n mobileFullscreen &&\n `\n @media (max-width: 767px),screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape) {\n width: 183px !important;\n padding: 0;\n }`};\n`;\n\nexport default GridContainer;\n","/* eslint-disable @typescript-eslint/no-unused-expressions */\n/* eslint-disable operator-linebreak */\n/* eslint-disable react/jsx-curly-newline */\n/* eslint-disable implicit-arrow-linebreak */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\nimport React from 'react';\nimport { useObserver } from 'mobx-react-lite';\nimport { useReactiveVar } from '@apollo/client';\n\nimport { MediaButton } from './Icon';\n\nimport useStores from '../hooks/useStores';\nimport {\n isMobileFullscreen,\n isPlayerFullscreen,\n} from '../../utils/reactiveVars';\nimport Spacer from './SpacerNew';\nimport GridContainer from './Styles/GridContainer';\n\ntype Props = {\n gridPosition: number;\n getSongRequest: (\n id: number | string,\n songShareId?: null | undefined,\n ootaShareUUID?: string\n ) => number | string;\n};\n\nexport const SongControls = ({\n gridPosition,\n getSongRequest,\n}: Props): JSX.Element => {\n const { mediaPlayerStore } = useStores();\n\n const mobileFullscreenStatus = useReactiveVar(isMobileFullscreen);\n const currentSongId = mediaPlayerStore.playlist.findIndex(\n (song) => song.id === mediaPlayerStore.song.id\n );\n\n const nextSongId = mediaPlayerStore.playlist[currentSongId + 1]?.id;\n const previousSongId = mediaPlayerStore.playlist?.[currentSongId - 1]?.id;\n\n const playButtonShouldPulsate =\n mediaPlayerStore.ready &&\n !mediaPlayerStore.playing &&\n !(mediaPlayerStore.progress.playedSeconds > 0) &&\n !isPlayerFullscreen();\n\n return useObserver(() => (\n \n {\n // setPosition(position - 1);\n // mediaPlayerStore.setSong(mediaPlayerStore.song.src[position - 1]);\n if (mediaPlayerStore.progress.playedSeconds < 1) {\n mediaPlayerStore.setPlaying(false);\n // setSongId(previousSongId);\n previousSongId && getSongRequest(previousSongId);\n setTimeout(() => {\n mediaPlayerStore.switchSong(true);\n }, 400);\n return;\n }\n mediaPlayerStore.switchSong(true);\n }}\n />\n \n {\n mediaPlayerStore.setPlaying(!mediaPlayerStore.playing);\n mediaPlayerStore.resetJumpTo();\n }}\n mobileDimensions={30}\n tabletDimensions={30}\n mobileFullscreenDimensions={60}\n pulsate={playButtonShouldPulsate}\n />\n \n {\n // mediaPlayerStore.setSong(mediaPlayerStore.song.src[position + 1]);]\n mediaPlayerStore.setPlaying(false);\n getSongRequest(nextSongId);\n setTimeout(() => {\n mediaPlayerStore.switchSong(false);\n }, 1000);\n }}\n rotate={180}\n tabletDimensions={14}\n hideOnMobile\n showOnMobileFs\n mobileFullscreenDimensions={22}\n disabled={!nextSongId}\n />\n \n ));\n};\n","/* eslint-disable operator-linebreak */\n/* eslint-disable no-shadow */\n/* eslint-disable implicit-arrow-linebreak */\n/* eslint-disable @typescript-eslint/no-shadow */\nimport { useCallback, useState, useEffect } from 'react';\nimport { Page, PageDefaultState } from '../types';\n/**\n * Outputs the current page based on the progress into a song\n *\n * @param pages the given data for a song\n * @param milliseconds current progress into the song\n *\n * @returns {Page} A page which contains the lyrics to display on-screen\n */\nconst useSongPage = (pages: Array, milliseconds: number): Page => {\n const [currentPage, setCurrentPage] = useState(PageDefaultState);\n\n const newPage = useCallback(\n (pages) =>\n pages.find((page: Page, idx: number) => {\n if (pages.length === 1) return true;\n const pageEnd =\n idx < pages.length - 1\n ? pages[idx + 1].millisecondsStart\n : page.millisecondsStop;\n return milliseconds >= page.millisecondsStart && milliseconds < pageEnd;\n }) || PageDefaultState,\n [milliseconds]\n );\n\n useEffect(() => {\n setCurrentPage(newPage(pages));\n }, [pages, newPage]);\n\n return currentPage;\n};\n\nexport default useSongPage;\n","/* eslint-disable react/jsx-curly-newline */\n/* eslint-disable implicit-arrow-linebreak */\nimport React from 'react';\nimport { modalActions } from '../../utils/reactiveVars';\n\nconst LikeAndAddIcons = ({\n headerText,\n darkColor,\n favourite,\n addToPlaylist,\n addToCollection,\n share,\n modalId,\n type,\n deletePlaylist,\n songsList,\n id,\n itemType,\n largeIcon,\n editPlaylist,\n playlistName,\n sharePlaylist,\n canCopyPlaylist,\n copyCollection,\n hidePC,\n}) => (\n <>\n \n \n modalActions({\n headerText,\n favourite,\n addToPlaylist,\n addToCollection,\n share,\n modalId,\n type,\n deletePlaylist,\n id,\n itemType,\n editPlaylist,\n playlistName,\n sharePlaylist,\n canCopyPlaylist,\n copyCollection,\n hidePC,\n })\n }\n >\n \n \n
              \n \n);\n\nexport default LikeAndAddIcons;\n","/* eslint-disable operator-linebreak */\n/* eslint-disable react/jsx-curly-newline */\n/* eslint-disable implicit-arrow-linebreak */\nimport { useObserver } from 'mobx-react-lite';\nimport React from 'react';\nimport tw, { styled } from 'twin.macro';\nimport 'styled-components/macro';\nimport useStores from '../hooks/useStores';\nimport { MediaButton } from './Icon';\n\nconst VolumeContainer = styled.div<{\n gridPosition: number;\n hideOnMobile?: boolean;\n}>`\n ${tw`w-48 flex justify-around`}\n ${({ gridPosition }) => gridPosition && `-ms-grid-column: ${gridPosition}`};\n ${({ gridPosition }) => gridPosition && `grid-column: ${gridPosition}`};\n ${({ hideOnMobile }) =>\n hideOnMobile &&\n `\n @media (max-width: 767px),screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape) {\n display: none;\n }`};\n`;\n\nconst VolumeSlider = ({\n gridPosition,\n}: {\n gridPosition: number;\n}): JSX.Element => {\n const { mediaPlayerStore } = useStores();\n\n return useObserver(() => (\n \n \n {/* TODO: Replace this input with the ProgressBar.tsx */}\n ) => {\n mediaPlayerStore.setVolume(parseFloat(e.target.value));\n document.documentElement.style.setProperty(\n '--volume-track-position',\n `${parseFloat(e.target.value) * 100}%`\n );\n }}\n className=\"d-none d-md-block\"\n />\n \n ));\n};\n\nexport default VolumeSlider;\n","/* eslint-disable operator-linebreak */\n/* eslint-disable implicit-arrow-linebreak */\nimport { useObserver } from 'mobx-react-lite';\nimport tw, { styled } from 'twin.macro';\nimport 'styled-components/macro';\nimport React from 'react';\nimport useStores from '../hooks/useStores';\nimport { formatTime } from './ProgressBar';\n\nconst ProgressContainer = styled.div<{\n gridPosition: number;\n hideOnMobile?: boolean;\n}>`\n ${tw`h-full flex items-center`}\n ${({ gridPosition }) => gridPosition && `-ms-grid-column: ${gridPosition}`};\n ${({ gridPosition }) => gridPosition && `grid-column: ${gridPosition}`};\n ${({ hideOnMobile }) =>\n hideOnMobile &&\n `\n @media (max-width: 767px),screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape) {\n display: none;\n }`};\n font-size: 12px;\n`;\n\nconst Progress = ({\n gridPosition,\n hideOnMobile,\n}: {\n gridPosition: number;\n hideOnMobile?: boolean;\n}): JSX.Element => {\n const { mediaPlayerStore } = useStores();\n\n return useObserver(() => (\n \n \n {formatTime(+mediaPlayerStore.progress.playedSeconds.toFixed(0))}\n \n  / \n {formatTime(mediaPlayerStore.duration)}\n \n ));\n};\n\nexport default Progress;\n","/* eslint-disable operator-linebreak */\nimport { useObserver } from 'mobx-react-lite';\nimport React from 'react';\nimport tw, { css, styled } from 'twin.macro';\nimport 'styled-components/macro';\nimport useStores from '../hooks/useStores';\nimport { MediaButton } from './Icon';\n\ntype ButtonShadowProps = {\n leftButton?: boolean;\n rightButton?: boolean;\n navigation?: boolean;\n active?: boolean;\n isMobile?: boolean;\n};\nexport const ButtonShadow = styled('div')(\n ({ leftButton, rightButton, navigation, active, isMobile }) => [\n tw`h-18 w-22 flex items-center justify-center`,\n isMobile && tw`h-18 w-22`,\n leftButton && tw`rounded-br-xl`,\n leftButton && isMobile && tw`rounded-br-none rounded-bl-xl`,\n rightButton && tw`rounded-tr-xl`,\n rightButton && isMobile && tw`rounded-tr-none rounded-br-xl`,\n rightButton &&\n navigation &&\n css`\n padding-right: 19px;\n `,\n css`\n background-color: rgba(19, 27, 32, 0.9);\n z-index: 1001;\n `,\n active &&\n css`\n background-color: #40c0c0;\n `,\n css`\n @media (max-width: 767px),\n screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape) {\n display: inline-flex;\n }\n `,\n ]\n);\n\ntype SlideSwitcherContainerProps = { gridPosition: number; showSlide: boolean };\nconst SlideSwitcherContainer = styled.div`\n ${tw`h-full w-full flex justify-center flex-col-reverse`}\n @media (max-width: 767px),screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape) {\n display: none;\n }\n`;\n\nexport const PagesTab = styled('div')(() => [\n tw`h-16 w-22 mx-auto inset-x-0 rounded-lg box-border text-white text-center`,\n css`\n // background-color: rgba(36, 52, 62, 0.5);\n font-family: 'Spartan-Regular', 'Spartan', sans-serif;\n top: -0.75rem;\n font-size: 10px;\n line-height: 4.75rem; /* height - -top = lineheight (in rem's) */\n `,\n]);\n\ntype SlideSwitcherProps = {\n gridPosition: number;\n currentSlide: number;\n totalSlides: number;\n};\n\nconst SlideSwitcher = ({\n gridPosition,\n currentSlide,\n totalSlides,\n}: SlideSwitcherProps): JSX.Element => {\n const { mediaPlayerStore } = useStores();\n // const switchSlide = (offset: number) => {\n // const previoudPlayingState = mediaPlayerStore.playing;\n // mediaPlayerStore.setPlaying(true);\n // mediaPlayerStore.setJumpTo({\n // phraseStarts:\n // mediaPlayerStore.song.pages[currentSlide + offset].millisecondsStart,\n // playSinglePhrase: false,\n // });\n // mediaPlayerStore.setPlaying(previoudPlayingState);\n // };\n\n const enablePlainTextView = () => mediaPlayerStore.enablePlainTextView();\n const enableFancyTextView = () => mediaPlayerStore.enableFancyTextView();\n\n return useObserver(() => (\n \n \n \n \n \n \n \n
              \n \n {\n mediaPlayerStore.switchSlide(-1, currentSlide);\n }}\n >\n {'<'}\n \n \n \n \n {currentSlide + 1}/{totalSlides}\n \n \n \n {\n mediaPlayerStore.switchSlide(1, currentSlide);\n }}\n >\n {'>'}\n \n \n
              \n \n ));\n};\n\nexport default SlideSwitcher;\n","/* eslint-disable implicit-arrow-linebreak */\nimport { useObserver } from 'mobx-react-lite';\nimport React from 'react';\nimport useStores from '../../hooks/useStores';\nimport { MediaButton } from '../Icon';\nimport { ButtonShadow, PagesTab } from '../SlideSwitcher';\n\ntype Props = {\n currentSlide: number;\n totalSlides: number;\n};\nconst SlideActions = ({ currentSlide, totalSlides }: Props): JSX.Element => {\n const { mediaPlayerStore } = useStores();\n\n return useObserver(() => (\n
              \n
              \n \n {\n mediaPlayerStore.switchSlide(-1, currentSlide);\n }}\n >\n {'<'}\n \n \n \n \n {currentSlide + 1}/{totalSlides}\n \n \n \n {\n mediaPlayerStore.switchSlide(1, currentSlide);\n }}\n >\n {'>'}\n \n \n
              \n\n
              \n \n \n \n \n \n \n
              \n
              \n ));\n};\n\nexport default SlideActions;\n","/* eslint-disable react/no-danger */\nimport { useReactiveVar } from '@apollo/client';\nimport React from 'react';\nimport LikeAndAddIcons from '../../../components/Shared/LikeAddIcons';\nimport { mediaPlayerSelectedSongState } from '../../../utils/reactiveVars';\n\nconst SongActions = ({ isGuest }): JSX.Element => {\n const songState = useReactiveVar(mediaPlayerSelectedSongState);\n\n return (\n
              \n
              \n {songState.loading ? (\n Loading song...\n ) : (\n <>\n \n \n {JSON.parse(songState.data.song.audios[0].metadata).album}\n \n \n )}\n
              \n \n \n \n
              \n
              \n );\n};\n\nexport default SongActions;\n","import React from 'react';\nimport ReactPlayer from 'react-player';\nimport useStores from '../../hooks/useStores';\nimport { formatTime, ProgressBar } from '../ProgressBar';\n\nconst Progress = ({\n player,\n}: {\n player: React.MutableRefObject;\n}): JSX.Element => {\n const { mediaPlayerStore } = useStores();\n\n return (\n
              \n
              \n \n {formatTime(mediaPlayerStore.progress.playedSeconds)}\n \n \n \n
              \n {formatTime(mediaPlayerStore.duration)}\n
              \n
              \n );\n};\n\nexport default Progress;\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport React, { useState } from 'react';\nimport Select from 'react-select';\nimport Tappable from 'react-tappable';\nimport { withRouter } from 'react-router-dom';\nimport useStores from '../../hooks/useStores';\nimport Vocal from '../../images/vocal.png';\nimport Instrumental from '../../images/instrumental.png';\nimport MusicalNote from '../../images/musical-note.png';\nimport minimize from '../../images/minimize.png';\nimport {\n isMobileFullscreen,\n isPlayerFullscreen,\n} from '../../../utils/reactiveVars';\nimport useMediaQuery from '../../../hooks/Others/useMediaQuery';\n\nconst Footer = ({\n setIconType,\n isGuest,\n history,\n}: {\n setIconType: React.Dispatch>;\n isGuest: boolean;\n}): JSX.Element => {\n const { mediaPlayerStore } = useStores();\n const isMobile = useMediaQuery('(max-width: 428px)');\n\n const getIcon = (infoName: string) => {\n if (infoName === 'Vocal') return Vocal;\n if (infoName === 'Instrumental') return Instrumental;\n return MusicalNote;\n };\n\n const options = mediaPlayerStore.song.audios.map(({ infoName }, idx) => ({\n label: (\n
              \n \n {infoName}\n
              \n ),\n value: idx,\n }));\n\n const [selectedOption, setSelectedOption] = useState(options[0]);\n\n const handleChange = (option: { label: JSX.Element; value: number }) => {\n setSelectedOption(option);\n mediaPlayerStore.switchTrack(\n option.value,\n mediaPlayerStore.progress.playedSeconds\n );\n };\n\n const customStyles = {\n control: (base: any, state: { isFocused: any }) => ({\n ...base,\n background: '#40c0c0',\n color: '#fff',\n border: 'none',\n paddingTop: '6px',\n paddingBottom: '6px',\n boxShadow: state.isFocused ? null : null,\n '&:hover': {\n borderColor: state.isFocused ? 'red' : 'blue',\n },\n width: '170px',\n fontSize: '10px',\n }),\n singleValue: () => ({\n color: '#fff',\n }),\n menu: (base: any) => ({\n ...base,\n marginTop: 0,\n paddingTop: 0,\n width: '170px',\n background: '#333',\n opacity: 1,\n zIndex: 200,\n marginBottom: '3px',\n }),\n option: (provided: any) => ({\n ...provided,\n background: 'transparent',\n borderBottom: '1px solid #222',\n padding: 20,\n fontSize: '10px',\n }),\n indicatorSeparator: () => ({\n display: 'none',\n }),\n };\n\n return (\n
              \n \n\n {\n setIconType('Fullscreen');\n isPlayerFullscreen(false);\n mediaPlayerStore.setShowSlide(false);\n if (isMobile) {\n isMobileFullscreen(false);\n }\n history.push(`/song/${mediaPlayerStore.song.id}`);\n }}\n >\n Song resources\n \n\n {\n e.preventDefault();\n setIconType('Fullscreen');\n mediaPlayerStore.setShowSlide(!mediaPlayerStore.showSlide);\n isPlayerFullscreen(!isPlayerFullscreen());\n isMobileFullscreen(false);\n }}\n >\n \"minimize\"\n \n
              \n );\n};\nexport default withRouter(Footer);\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable react/no-array-index-key */\n/* eslint-disable react/no-danger */\nimport React from 'react';\nimport { useObserver } from 'mobx-react-lite';\nimport ReactPlayer from 'react-player';\nimport { isMobileFullscreen } from '../../../utils/reactiveVars';\nimport { SongControls } from '../SongControls';\n\nimport SlideActions from './SlideActions';\nimport SongActions from './SongActions';\nimport Progress from './Progress';\nimport Footer from './Footer';\n\ntype Props = {\n currentSlide: number;\n totalSlides: number;\n player: React.MutableRefObject;\n setIconType: React.Dispatch>;\n isGuest: boolean;\n};\n\nconst MobileFullscreenDetails = ({\n currentSlide,\n totalSlides,\n player,\n setIconType,\n isGuest,\n}: Props): JSX.Element | null => {\n if (!isMobileFullscreen()) return null;\n\n return useObserver(() => (\n
              \n \n\n
              \n \n \n
              \n\n
              \n \n
              \n\n
              \n
              \n ));\n};\n\nexport default MobileFullscreenDetails;\n","import { gql } from '@apollo/client';\n\nexport const PlayerHitFieldsFragment = gql`\n fragment PlayerHitFields on PlayerStat {\n id\n sessionUUID\n songId\n hitUUID\n audioId\n updateExpected\n updateSequence\n playheadPositionStartMs\n playheadPositionEndMs\n shareId\n esongbookId\n organisationRef\n }\n`;\n\nexport const RecentlyPlayedFragment = gql`\n fragment RecentlyPlayedFields on PlayerStat {\n id\n song {\n id\n title\n author\n age\n isFavourited\n albumArt\n duration\n ordering\n }\n }\n`;\n","import { gql } from '@apollo/client';\nimport { PlayerHitFieldsFragment } from '../../queries/player/fragments';\n\nexport const CREATE_HIT = gql`\n mutation CreateHit($input: CreateHitInput!) {\n createHit(input: $input) {\n ...PlayerHitFields\n }\n }\n ${PlayerHitFieldsFragment}\n`;\n\nexport const UPDATE_HIT = gql`\n mutation UpdateHit($input: UpdateHitInput!) {\n updateHit(input: $input) {\n ...PlayerHitFields\n }\n }\n ${PlayerHitFieldsFragment}\n`;\n","/* eslint-disable implicit-arrow-linebreak */\n/* eslint-disable operator-linebreak */\nimport { useMutation } from '@apollo/client';\nimport { CREATE_HIT, UPDATE_HIT } from '../../graphql/mutations/player';\nimport useStores from '../../player/hooks/useStores';\n\nconst usePlayerHit = () => {\n const { mediaPlayerStore } = useStores();\n\n const [createPlayerHit, { loading, data: createPlayerHitData }] = useMutation(\n CREATE_HIT,\n {\n onError: (err) => {\n if (err.message === 'Invalid hit') {\n window.location.reload();\n }\n },\n onCompleted: () => {\n mediaPlayerStore.setShouldRecordHit(true);\n mediaPlayerStore.setShouldUpdateHit(true);\n },\n }\n );\n\n const [updatePlayerHit] = useMutation(UPDATE_HIT, {\n onError: () => {},\n });\n\n const createPlayerHitRequest = (input) =>\n createPlayerHit({\n variables: {\n input,\n },\n });\n\n const updatePlayerHitRequest = (input) =>\n updatePlayerHit({\n variables: {\n input,\n },\n });\n\n return {\n createPlayerHitRequest,\n updatePlayerHitRequest,\n loading,\n createPlayerHitData,\n };\n};\n\nexport default usePlayerHit;\n","import { gql } from '@apollo/client';\n\nexport const EsongbookResourceFieldsFragments = gql`\n fragment EsongbookResourceFields on EsbResource {\n id\n ordering\n type\n title\n linkUrl\n pdfFile\n pdfFileMd5\n pdfFileSize\n sfxFile\n sfxFileMd5\n sfxFileSize\n }\n`;\n\nexport const EsongbookFieldsFragments = gql`\n fragment EsongbookFields on Esongbook {\n id\n infoName\n infoAuthor\n seriesId\n imageFilename\n imageFileOriginal\n imageFileLarge\n imageFileMedium\n albumArt\n infoCategory\n linkToOota\n esongbookId\n excludeResources\n resources {\n ...EsongbookResourceFields\n }\n songs {\n id\n title\n author\n age\n albumArt\n duration\n pivot {\n ordering\n }\n }\n }\n ${EsongbookResourceFieldsFragments}\n`;\n\nexport const MinEsongbookFieldsFragments = gql`\n fragment MinEsongbookFields on Esongbook {\n id\n infoName\n infoAuthor\n seriesId\n seriesName\n imageFilename\n imageFileOriginal\n imageFileLarge\n imageFileMedium\n albumArt\n infoCategory\n linkToOota\n resources {\n ...EsongbookResourceFields\n }\n }\n ${EsongbookResourceFieldsFragments}\n`;\n","import { gql } from '@apollo/client';\n\nexport const TagFieldsFragment = gql`\n fragment TagFields on Tag {\n id\n type\n formattedName\n }\n`;\n","import { gql } from '@apollo/client';\nimport { EsongbookFieldsFragments } from '../songbook/fragments';\nimport { TagFieldsFragment } from '../tag/fragments';\n\nexport const CategoryFieldsFragments = gql`\n fragment CategoryFields on Category {\n id\n name\n color\n }\n`;\n\nexport const SparklesFieldsFragment = gql`\n fragment SparklesFields on Sparkle {\n id\n title\n text\n imageUrl\n backgroundColor\n }\n`;\n\nexport const ResourceFieldsFragments = gql`\n fragment ResourceFields on Resource {\n id\n slug\n title\n privateTitle\n content\n active\n summary\n ageRange\n thumbnail\n thumbnailText\n downloadables\n href\n resourceTags {\n ...TagFields\n }\n category {\n ...CategoryFields\n }\n sparkles {\n ...SparklesFields\n }\n songs {\n id\n title\n isFavourited\n albumArt\n duration\n }\n }\n ${TagFieldsFragment}\n ${CategoryFieldsFragments}\n ${SparklesFieldsFragment}\n`;\n\nexport const CloudFieldsFragment = gql`\n fragment CloudFields on Cloud {\n id\n filename\n filename_md5\n filename_size\n }\n`;\n\nexport const PhraseFieldsFragment = gql`\n fragment PhraseFields on Phrase {\n id\n content\n milliseconds\n hide\n isClickable\n isHighlightable\n splitLineNumber\n }\n`;\n\nexport const LineFieldsFragment = gql`\n fragment LineFields on Line {\n id\n splitLineNumber\n phrases {\n ...PhraseFields\n }\n }\n ${PhraseFieldsFragment}\n`;\n\nexport const GroupFieldsFragment = gql`\n fragment GroupFields on Group {\n id\n infoName\n styleGroupIndex\n styleGroupCol\n styleColIndex\n stylePadding\n lines {\n ...LineFields\n }\n }\n ${LineFieldsFragment}\n`;\n\nexport const PageFieldsFragment = gql`\n fragment PageFields on Page {\n id\n infoHeader\n infoHeaderBasicOverride\n infoFooter1\n infoFooter2\n showPageHeader\n showPageFooter\n millisecondsStart\n millisecondsStop\n styleBodyLeading\n styleBodySize\n cloudPosX\n cloudPosY\n clouds {\n ...CloudFields\n }\n groups {\n ...GroupFields\n }\n }\n ${CloudFieldsFragment}\n ${GroupFieldsFragment}\n`;\n\nexport const AudioFileFieldsFragment = gql`\n fragment AudioFileFields on AudioFile {\n mp3\n ogg\n }\n`;\n\nexport const AudioFieldsFragment = gql`\n fragment AudioFields on Audio {\n id\n metadata\n duration\n id\n isDefault\n isExtractable\n type\n tempo\n infoName\n infoNameExtractable\n infoArtist\n infoCopyright\n infoISRC\n millisecondsLength\n files {\n ...AudioFileFields\n }\n file_md5s {\n ...AudioFileFields\n }\n file_sizes {\n ...AudioFileFields\n }\n }\n ${AudioFileFieldsFragment}\n`;\n\nexport const SongFieldsFragments = gql`\n fragment SongFields on Song {\n albumArt\n id\n tempo\n infoName\n infoNameExtractable\n infoAuthor\n infoCopyright\n infoCopyrightFormatted\n infoCCLI\n infoAge\n infoCategory\n keywords\n overrideButtonInfo\n overrideButtonLyrics\n overrideButtonScore\n showButtonExtract\n showButtonInfo\n showButtonLyrics\n showButtonScore\n styleBodyFont\n styleBodyLeading\n styleBodySize\n styleTitleCol\n styleTitleFont\n styleTitleSize\n styleCol1Highlighted\n styleCol1Unhighlighted\n styleCol2Highlighted\n styleCol2Unhighlighted\n styleCol3Highlighted\n styleCol3Unhighlighted\n styleCol4Highlighted\n styleCol4Unhighlighted\n styleCol5Highlighted\n styleCol5Unhighlighted\n styleMarginLeft\n styleMarginRight\n styleMarginTop\n styleMarginBottom\n fileBackground\n fileBackgroundMD5\n fileBackgroundSize\n fileLarge\n fileLargeMD5\n fileLargeSize\n fileInfo\n fileInfoMD5\n fileInfoSize\n fileLyrics\n fileLyricsMD5\n fileLyricsSize\n fileScore\n fileScoreMD5\n fileScoreSize\n title\n author\n lyrics\n score\n age\n videoUrl\n videoTitle\n summary\n teachingTips\n instrumentalResource\n songSummaryMedia\n teachingTipsMedia\n assemblyPlans {\n id\n name\n slug\n assembly {\n id\n title\n description\n }\n }\n userCollections {\n id\n }\n clouds {\n ...CloudFields\n }\n pages {\n ...PageFields\n }\n audios {\n ...AudioFields\n }\n songTags {\n ...TagFields\n }\n resources {\n ...ResourceFields\n }\n sparkles {\n ...SparklesFields\n }\n recommendedResources {\n ...ResourceFields\n }\n esbTrack {\n id\n esongbook {\n ...EsongbookFields\n }\n }\n esongbooks {\n ...EsongbookFields\n }\n }\n ${ResourceFieldsFragments}\n ${SparklesFieldsFragment}\n ${TagFieldsFragment}\n ${CloudFieldsFragment}\n ${PageFieldsFragment}\n ${AudioFieldsFragment}\n ${EsongbookFieldsFragments}\n`;\n\nexport const MinSongFieldsFragment = gql`\n fragment MinSongFields on Song {\n id\n title\n author\n age\n isFavourited\n albumArt\n duration\n ordering\n }\n`;\n\nexport const MidSongFieldsFragment = gql`\n fragment MidSongFields on Song {\n age\n albumArt\n author\n fileBackground\n fileBackgroundMD5\n fileBackgroundSize\n fileInfo\n fileInfoMD5\n fileInfoSize\n fileLarge\n fileLargeMD5\n fileLargeSize\n fileLyrics\n fileLyricsMD5\n fileLyricsSize\n fileScore\n fileScoreMD5\n fileScoreSize\n id\n infoAge\n infoAuthor\n infoCategory\n infoCCLI\n infoCopyright\n infoCopyrightFormatted\n infoName\n infoNameExtractable\n keywords\n lyrics\n overrideButtonInfo\n overrideButtonLyrics\n overrideButtonScore\n score\n showButtonExtract\n showButtonInfo\n showButtonLyrics\n showButtonScore\n styleBodyFont\n styleBodyLeading\n styleBodySize\n styleCol1Highlighted\n styleCol1Unhighlighted\n styleCol2Highlighted\n styleCol2Unhighlighted\n styleCol3Highlighted\n styleCol3Unhighlighted\n styleCol4Highlighted\n styleCol4Unhighlighted\n styleCol5Highlighted\n styleCol5Unhighlighted\n styleMarginBottom\n styleMarginLeft\n styleMarginRight\n styleMarginTop\n styleTitleCol\n styleTitleFont\n styleTitleSize\n tempo\n title\n clouds {\n ...CloudFields\n }\n pages {\n ...PageFields\n }\n audios {\n ...AudioFields\n }\n esbTrack {\n id\n esongbook {\n ...EsongbookFields\n }\n }\n }\n ${CloudFieldsFragment}\n ${PageFieldsFragment}\n ${AudioFieldsFragment}\n ${EsongbookFieldsFragments}\n`;\n","import { gql } from '@apollo/client';\n\nexport const MinResourceFragmentFields = gql`\n fragment MinResourceFields on Resource {\n id\n slug\n thumbnail\n title\n thumbnailText\n ordering\n minAge\n maxAge\n summary\n content\n href\n calendarEvents {\n id\n slug\n }\n category {\n id\n name\n }\n resourceTags {\n id\n formattedName\n type\n }\n }\n`;\n","import { gql } from '@apollo/client';\nimport { MinSongFieldsFragment } from '../song/fragments';\n\nexport const AssemblyPlanFieldsFragments = gql`\n fragment AssemblyPlanFields on AssemblyPlan {\n id\n slug\n content\n engage\n wonder\n resource\n resourceQuestions\n reflect\n prayer\n goDeeper\n customSection\n downloadLink\n talkAbout\n bibleBit\n respond\n bibleBitOrRespond\n bibleBitOrReflect\n engagementActivity\n talkOrThinkAbout\n responsiveActivity\n prayerActivity\n playAnimation\n readStory\n songs {\n ...MinSongFields\n }\n assembly {\n id\n }\n assemblyPlanTags {\n id\n type\n formattedName\n }\n }\n ${MinSongFieldsFragment}\n`;\n\nexport const AssemblyFieldsFragment = gql`\n fragment AssemblyFields on Assembly {\n id\n title\n description\n theme\n ageRange\n videoTitle\n videoUrl\n thumbnail\n ordering\n assemblyPlans {\n ...AssemblyPlanFields\n }\n }\n ${AssemblyPlanFieldsFragments}\n`;\n\nexport const MinAssemblyFieldsFragment = gql`\n fragment MinAssemblyFields on Assembly {\n id\n title\n description\n theme\n ageRange\n thumbnail\n ordering\n }\n`;\n","import { gql } from '@apollo/client';\nimport { MinSongFieldsFragment } from '../../queries/song/fragments';\nimport { MinResourceFragmentFields } from '../../queries/resource/fragments';\nimport { MinAssemblyFieldsFragment } from '../../queries/assembly/fragments';\n\nexport const ADD_SONG_TO_FAVOURITES = gql`\n mutation AddSongToFavourite($input: AddToFavouriteInput!) {\n addSongToFavourite(input: $input) {\n ...MinSongFields\n }\n }\n ${MinSongFieldsFragment}\n`;\n\nexport const ADD_RESOURCE_TO_FAVOURITES = gql`\n mutation AddResourceToFavourite($input: AddToFavouriteInput!) {\n addResourceToFavourite(input: $input) {\n ...MinResourceFields\n }\n }\n ${MinResourceFragmentFields}\n`;\n\nexport const ADD_ASSEMBLY_TO_FAVOURITES = gql`\n mutation AddAssemblyToFavourites($input: AddToFavouriteInput!) {\n addAssemblyToFavourites(input: $input) {\n ...MinAssemblyFields\n }\n }\n ${MinAssemblyFieldsFragment}\n`;\n\nexport const REMOVE_SONG_FROM_FAVOURITES = gql`\n mutation RemoveSongFromFavourite($input: RemoveFavouriteInput!) {\n removeSongFromFavourite(input: $input) {\n ...MinSongFields\n }\n }\n ${MinSongFieldsFragment}\n`;\n\nexport const REMOVE_RESOURCE_FROM_FAVOURITES = gql`\n mutation RemoveResourceFromFavourite($input: RemoveFavouriteInput!) {\n removeResourceFromFavourite(input: $input) {\n ...MinResourceFields\n }\n }\n ${MinResourceFragmentFields}\n`;\n\nexport const REMOVE_ASSEMBLY_FROM_FAVOURITES = gql`\n mutation RemoveAssemblyFromFavourites($input: RemoveFavouriteInput!) {\n removeAssemblyFromFavourites(input: $input) {\n ...MinAssemblyFields\n }\n }\n ${MinAssemblyFieldsFragment}\n`;\n\nexport const UPDATE_FAVOURITES = gql`\n mutation UpdateFavourites($input: UpdateFavouritesInput!) {\n updateFavourites(input: $input)\n }\n`;\n\nexport const UPDATE_FAVOURITE_SONGS_ORDERING = gql`\n mutation UpdateFavouriteSongsOrdering(\n $id: ID!\n $input: UpdateFavouriteSongsOrderingInput!\n ) {\n updateFavouriteSongsOrdering(id: $id, input: $input) {\n id\n }\n }\n`;\n","import { gql } from '@apollo/client';\nimport { AssemblyFieldsFragment, MinAssemblyFieldsFragment } from './fragments';\n\nexport const GET_ASSEMBLIES_BY_THEME = gql`\n query AssembliesSearchTheme(\n $where: QueryAssembliesSearchThemeWhereWhereConditions\n ) {\n assembliesSearchTheme(where: $where) {\n ...MinAssemblyFields\n }\n }\n ${MinAssemblyFieldsFragment}\n`;\n\nexport const GET_ASSEMBLY = gql`\n query Assembly($id: ID!) {\n assembly(id: $id) {\n ...AssemblyFields\n }\n }\n ${AssemblyFieldsFragment}\n`;\n\nexport const GET_ASSEMBLIES = gql`\n query Assemblies($first: Int!) {\n assemblies(first: $first) {\n data {\n ...MinAssemblyFields\n }\n }\n }\n ${MinAssemblyFieldsFragment}\n`;\n\nexport const GET_ANIMATED_ASSEMBLY_MEDIA = gql`\n query AnimatedAssemblyMedia {\n animatedAssemblyMedia {\n id\n media\n }\n }\n`;\n\nexport const GET_FEATURED_ASSEMBLIES = gql`\n query FeaturedAssemblies {\n featuredAssemblies {\n id\n title\n theme\n description\n thumbnail\n }\n }\n`;\n\nexport const GET_FAVOURITE_ASSEMBLIES = gql`\n query UserFavouriteAssemblies($organisation_ref: ID) {\n userFavouriteAssemblies(organisation_ref: $organisation_ref) {\n ...MinAssemblyFields\n }\n }\n ${MinAssemblyFieldsFragment}\n`;\n\nexport const GET_RANDOM_FEATURED_ASSEMBLIES = gql`\n query FeaturedAssembliesOnCategoryPage {\n featuredAssembliesOnCategoryPage {\n ...MinAssemblyFields\n }\n }\n ${MinAssemblyFieldsFragment}\n`;\n","import { gql } from '@apollo/client';\nimport { ResourceFieldsFragments } from '../song/fragments';\nimport { MinResourceFragmentFields } from './fragments';\n\nexport const GET_RESOURCE = gql`\n query Resource($slug: String!) {\n resource(slug: $slug) {\n ...ResourceFields\n }\n }\n ${ResourceFieldsFragments}\n`;\n\nexport const GET_RECOMMENDED_RESOURCES = gql`\n query RecommendedResources($first: Int!, $page: Int) {\n recommendedResources(first: $first, page: $page) {\n data {\n ...MinResourceFields\n }\n paginatorInfo {\n currentPage\n lastPage\n count\n hasMorePages\n }\n }\n }\n ${MinResourceFragmentFields}\n`;\n\nexport const GET_RESOURCES = gql`\n query Resources(\n $first: Int!\n $page: Int\n $where: QueryResourcesWhereWhereConditions\n $hasTags: QueryResourcesHasTagsWhereHasConditions\n $hasCategory: QueryResourcesHasCategoryWhereHasConditions\n $filtered: [TagInput]\n ) {\n resources(\n first: $first\n page: $page\n where: $where\n hasTags: $hasTags\n hasCategory: $hasCategory\n filtered: $filtered\n ) {\n data {\n ...ResourceFields\n }\n paginatorInfo {\n currentPage\n lastPage\n count\n hasMorePages\n }\n }\n }\n ${ResourceFieldsFragments}\n`;\n\nexport const GET_FAVOURITE_RESOURCES = gql`\n query UserFavouriteResources($organisation_ref: ID) {\n userFavouriteResources(organisation_ref: $organisation_ref) {\n ...MinResourceFields\n }\n }\n ${MinResourceFragmentFields}\n`;\n\nexport const GET_NEW_SPARKS = gql`\n query NewSparks {\n newSparks {\n id\n resources {\n ...MinResourceFields\n }\n }\n }\n ${MinResourceFragmentFields}\n`;\n","import { gql } from '@apollo/client';\nimport {\n MidSongFieldsFragment,\n MinSongFieldsFragment,\n SongFieldsFragments,\n} from './fragments';\n\nexport const GET_SONG = gql`\n query Song($id: ID!, $organisation_ref: ID) {\n song(id: $id) {\n ...SongFields\n isFavourited(organisation_ref: $organisation_ref)\n }\n }\n ${SongFieldsFragments}\n`;\n\nexport const GET_SONGS = gql`\n query Songs(\n $first: Int!\n $page: Int\n $hasSongTags: QuerySongsHasSongTagsWhereHasConditions\n $where: QuerySongsWhereWhereConditions\n $hasSongDetail: QuerySongsHasSongDetailWhereHasConditions\n $hasAssemblyPlans: WhereConditions\n $hasMusicCurriculumActivities: WhereConditions\n $orderBy: [QuerySongsOrderByOrderByClause!]\n $filtered: [TagInput]\n $primary: Boolean\n $available: Boolean\n $randomise: Boolean\n $excludeFromTreatbox: Boolean\n ) {\n songs(\n first: $first\n page: $page\n hasSongTags: $hasSongTags\n where: $where\n hasSongDetail: $hasSongDetail\n hasAssemblyPlans: $hasAssemblyPlans\n hasMusicCurriculumActivities: $hasMusicCurriculumActivities\n orderBy: $orderBy\n filtered: $filtered\n primary: $primary\n available: $available\n randomise: $randomise\n excludeFromTreatbox: $excludeFromTreatbox\n ) {\n data {\n ...MinSongFields\n }\n paginatorInfo {\n currentPage\n lastPage\n count\n hasMorePages\n }\n }\n }\n ${MinSongFieldsFragment}\n`;\n\nexport const GET_FAVOURITE_SONGS = gql`\n query UserFavouriteSongs($organisation_ref: ID) {\n userFavouriteSongs(organisation_ref: $organisation_ref) {\n ...MinSongFields\n \n }\n }\n ${MinSongFieldsFragment}\n`;\n\nexport const GET_RECOMMENDED_SONGS = gql`\n query RecommendedSongs($first: Int!, $page: Int, $randomise: Boolean) {\n recommendedSongs(first: $first, page: $page, randomise: $randomise) {\n data {\n ...MinSongFields\n }\n paginatorInfo {\n currentPage\n lastPage\n count\n hasMorePages\n }\n }\n }\n ${MinSongFieldsFragment}\n`;\n\nexport const GET_COMPOSERS = gql`\n query Composers {\n composers\n }\n`;\n\nexport const GET_SONG_AS_GUEST = gql`\n query SongAsGuest($id: ID!) {\n songAsGuest(id: $id) {\n ...MidSongFields\n esongbooks {\n id\n albumArt\n infoName\n }\n }\n }\n ${MidSongFieldsFragment}\n`;\n","/* eslint-disable func-names */\n/* eslint-disable object-shorthand */\n/* eslint-disable no-unused-vars */\n/* eslint-disable @typescript-eslint/no-unused-vars */\nimport { useMutation } from '@apollo/client';\nimport {\n ADD_ASSEMBLY_TO_FAVOURITES,\n ADD_RESOURCE_TO_FAVOURITES,\n ADD_SONG_TO_FAVOURITES,\n} from '../../graphql/mutations/favourite';\nimport { GET_FAVOURITE_ASSEMBLIES } from '../../graphql/queries/assembly/assembly';\nimport { GET_FAVOURITE_RESOURCES } from '../../graphql/queries/resource/resource';\nimport { GET_FAVOURITE_SONGS } from '../../graphql/queries/song/song';\nimport { displayErrorMessage } from '../../utils/helpers';\nimport {\n organisationLoggedInAs,\n userFavouriteAssemblies,\n userFavouriteResources,\n userFavouriteSongs,\n} from '../../utils/reactiveVars';\n\nconst useAddToFavourites = (type, id) => {\n const organisationRef = organisationLoggedInAs()?.id || null;\n const [addToFavourites, { loading, data }] = useMutation(\n ADD_SONG_TO_FAVOURITES,\n {\n refetchQueries: [\n {\n query: GET_FAVOURITE_SONGS,\n },\n ],\n }\n );\n\n const [addResourceToFavourites, { data: resources }] = useMutation(\n ADD_RESOURCE_TO_FAVOURITES,\n {\n refetchQueries: [\n {\n query: GET_FAVOURITE_RESOURCES,\n },\n ],\n }\n );\n\n const [addAssemblyToFavourites, { data: assemmblies }] = useMutation(\n ADD_ASSEMBLY_TO_FAVOURITES,\n {\n refetchQueries: [\n {\n query: GET_FAVOURITE_ASSEMBLIES,\n },\n ],\n }\n );\n\n const addToFavouriteRequest = {\n send: function () {\n type === 'SONG' && this.addSong();\n type === 'RESOURCE' && this.addResource();\n type === 'ASSEMBLY' && this.addAssembly();\n },\n addSong: () => {\n addToFavourites({\n variables: {\n input: {\n type,\n item_id: parseInt(id, 10),\n organisation_ref: organisationRef,\n },\n },\n })\n .then((res) => {\n userFavouriteSongs(res.data.addSongToFavourite);\n })\n .catch(() => displayErrorMessage());\n },\n addResource: () => {\n addResourceToFavourites({\n variables: {\n input: {\n type,\n item_id: parseInt(id, 10),\n organisation_ref: organisationRef,\n },\n },\n })\n .then((res) => {\n userFavouriteResources(res.data.addResourceToFavourite);\n })\n .catch(() => displayErrorMessage());\n },\n addAssembly: () => {\n addAssemblyToFavourites({\n variables: {\n input: {\n type,\n item_id: parseInt(id, 10),\n organisation_ref: organisationRef,\n },\n },\n })\n .then((res) => {\n userFavouriteAssemblies(res.data.userFavouriteAssemblies);\n })\n .catch(() => displayErrorMessage());\n },\n };\n\n return { addToFavouriteRequest, data, loading };\n};\n\nexport default useAddToFavourites;\n","/* eslint-disable func-names */\n/* eslint-disable object-shorthand */\n/* eslint-disable no-unused-vars */\n/* eslint-disable @typescript-eslint/no-unused-vars */\nimport { useMutation } from '@apollo/client';\nimport { toast } from 'react-toastify';\nimport {\n REMOVE_ASSEMBLY_FROM_FAVOURITES,\n REMOVE_RESOURCE_FROM_FAVOURITES,\n REMOVE_SONG_FROM_FAVOURITES,\n} from '../../graphql/mutations/favourite';\nimport { GET_FAVOURITE_ASSEMBLIES } from '../../graphql/queries/assembly/assembly';\nimport { GET_FAVOURITE_RESOURCES } from '../../graphql/queries/resource/resource';\nimport { GET_FAVOURITE_SONGS } from '../../graphql/queries/song/song';\nimport {\n userFavouriteAssemblies,\n userFavouriteResources,\n userFavouriteSongs,\n} from '../../utils/reactiveVars';\n\nconst useRemoveFromFavourites = (type, id) => {\n const [removeSongFromFavourites, { loading, data }] = useMutation(\n REMOVE_SONG_FROM_FAVOURITES,\n {\n refetchQueries: [\n {\n query: GET_FAVOURITE_SONGS,\n },\n ],\n }\n );\n\n const [removeResourceFromFavourites, { data: resources }] = useMutation(\n REMOVE_RESOURCE_FROM_FAVOURITES,\n {\n refetchQueries: [\n {\n query: GET_FAVOURITE_RESOURCES,\n },\n ],\n }\n );\n\n const [removeAssemblyFromFavourites, { data: assemmblies }] = useMutation(\n REMOVE_ASSEMBLY_FROM_FAVOURITES,\n {\n refetchQueries: [\n {\n query: GET_FAVOURITE_ASSEMBLIES,\n },\n ],\n }\n );\n\n const removeFromFavouritesRequest = {\n send: function () {\n type === 'SONG' && this.removeSong();\n type === 'RESOURCE' && this.removeResource();\n type === 'ASSEMBLY' && this.removeAssembly();\n },\n removeSong: () => {\n removeSongFromFavourites({\n variables: {\n input: {\n type,\n item_id: parseInt(id, 10),\n },\n },\n })\n .then((res) => {\n userFavouriteSongs(res.data.removeSongFromFavourite);\n })\n .catch((e) => toast.error('Operation failed!', { toastId: 'error' }));\n },\n removeResource: () => {\n removeResourceFromFavourites({\n variables: {\n input: {\n type,\n item_id: parseInt(id, 10),\n },\n },\n })\n .then((res) => {\n userFavouriteResources(res.data.removeResourceFromFavourite);\n })\n .catch((e) => toast.error('Operation failed!', { toastId: 'error' }));\n },\n removeAssembly: () => {\n removeAssemblyFromFavourites({\n variables: {\n input: {\n type,\n item_id: parseInt(id, 10),\n },\n },\n })\n .then((res) => {\n userFavouriteAssemblies(res.data.removeAssembliesFromFavourites);\n })\n .catch((e) => toast.error('Operation failed!', { toastId: 'error' }));\n },\n };\n\n return { removeFromFavouritesRequest, data, loading };\n};\n\nexport default useRemoveFromFavourites;\n","import { styled } from 'twin.macro';\nimport 'styled-components/macro';\n\nconst PlayerContainer = styled.div`\n max-width: 1360px;\n margin: auto;\n margin-top: 25px;\n margin-bottom: 7px;\n // @media (max-width: 1024px) {\n // max-width: 1024px;\n // }\n @media (max-width: 1600px) {\n max-width: 90%;\n }\n @media (max-width: 429px),\n screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape) {\n margin-top: 9px;\n }\n @media screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape) {\n margin-top: 0;\n }\n`;\n\nexport default PlayerContainer;\n","/* eslint-disable operator-linebreak */\nimport { styled } from 'twin.macro';\nimport 'styled-components/macro';\nimport { MediaButton } from '../Icon';\n\nexport const GridMediaButton = styled(MediaButton)<{\n gridPosition: number;\n hideOnMobile?: boolean;\n gridPositionMobile?: number;\n}>(({ gridPosition, hideOnMobile, gridPositionMobile }) => [\n gridPosition && `-ms-grid-column: ${gridPosition}`,\n gridPosition && `grid-column: ${gridPosition}`,\n hideOnMobile &&\n ` \n @media (max-width: 767px),screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape) {\n display: none;\n }`,\n gridPositionMobile &&\n `\n @media (max-width: 767px),screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape) {\n grid-column: ${gridPositionMobile};\n }`,\n]);\n","// https://gist.githubusercontent.com/ogostos/a04869d68313ee51f496b2996026d8ed/raw/0d9e77ea19d0bd1dc21470c33e5d24df52d27bd4/five.js\nexport default class Queue {\n static queue = [];\n\n static pendingPromise = false;\n\n static enqueue(promise) {\n return new Promise((resolve, reject) => {\n this.queue.push({\n promise,\n resolve,\n reject,\n });\n this.dequeue();\n });\n }\n\n static dequeue() {\n if (this.workingOnPromise) {\n return false;\n }\n const item = this.queue.shift();\n if (!item) {\n return false;\n }\n\n try {\n this.workingOnPromise = true;\n item\n .promise()\n .then((value) => {\n this.workingOnPromise = false;\n item.resolve(value);\n this.dequeue();\n })\n .catch((err) => {\n this.workingOnPromise = false;\n item.reject(err);\n this.dequeue();\n });\n } catch (err) {\n this.workingOnPromise = false;\n item.reject(err);\n this.dequeue();\n }\n return true;\n }\n}\n","/* eslint-disable @typescript-eslint/no-shadow */\n/* eslint-disable no-shadow */\n/* eslint-disable implicit-arrow-linebreak */\n/* eslint-disable no-return-assign */\n/* eslint-disable no-continue */\n/* eslint-disable prefer-template */\n/* eslint-disable no-plusplus */\nconst useWrapLines = () => {\n function splitPhraseIntoLines(content) {\n // let newLines = content.split(\" \");\n const newLines = content;\n if (newLines.length < 2) {\n return [content];\n }\n\n let openTags = [];\n const lines = [];\n newLines.forEach((contentLine) => {\n contentLine = contentLine.trim();\n openTags.forEach((openTag) => {\n contentLine = `<${openTag}>` + contentLine;\n });\n\n const closedTags = [];\n const openedTags = [];\n let inTag = false;\n let tagName = '';\n for (let i = contentLine.length; i >= 1; i--) {\n const char = contentLine[i - 1];\n if (char === '>') {\n inTag = true;\n tagName = '';\n continue;\n }\n if (inTag && char === '/') {\n inTag = false;\n closedTags.push(tagName.split('').reverse().join(''));\n i--;\n continue;\n }\n if (inTag && char === '<') {\n inTag = false;\n openedTags.push(tagName.split('').join(''));\n continue;\n }\n if (inTag) {\n tagName = char + tagName;\n }\n }\n\n if (openedTags.length > closedTags.length) {\n openTags = openedTags.slice(0, openedTags.length - closedTags.length);\n }\n const tagsToClose = openedTags.slice(closedTags.length).reverse();\n tagsToClose.forEach((tagToClose) => {\n contentLine += ``;\n\n const pattern = new RegExp(\n `<${tagToClose}[^>]*><\\\\/${tagToClose}[^>]*>`\n );\n contentLine = contentLine.replace(pattern, '');\n });\n\n lines.push(contentLine);\n });\n\n return lines;\n }\n\n const wrapLines = (pages, fontSize) => {\n const threshold = fontSize > 40 ? 47 : 62;\n const modifiedPages = [];\n pages.forEach((page) => {\n const modifiedGroups = [];\n\n const pageCopy = { ...page };\n\n pageCopy.groups.forEach((group) => {\n const modifiedLines = [];\n\n group.lines.forEach((line) => {\n if (line.phrases.length === 1) {\n const { content } = line.phrases[0];\n if (content.length > threshold) {\n if (content.includes('<') && content.includes('>')) {\n const threshold = 52;\n const tags = content.match(/<([^<>]*)>/gm);\n const uniqueTags = [...new Set(tags)];\n let contentWithoutTags = content;\n uniqueTags.forEach(\n (tag) =>\n (contentWithoutTags = contentWithoutTags.replaceAll(\n tag,\n ''\n ))\n );\n\n if (contentWithoutTags.length > threshold) {\n const threshold = 55 + tags.length;\n const contentArr = content.split(' ');\n let modifiedContent = ['', ''];\n for (let i = 0; i < contentArr.length; i++) {\n if (modifiedContent[0].length < threshold) {\n modifiedContent[0] = contentArr.slice(0, i + 1).join(' ');\n } else {\n modifiedContent[1] = contentArr.slice(i).join(' ');\n break;\n }\n }\n\n modifiedContent = splitPhraseIntoLines(modifiedContent);\n\n modifiedLines.push(\n {\n ...line,\n id: modifiedLines.length + line.id,\n phrases: [\n { ...line.phrases[0], content: modifiedContent[0] },\n ],\n },\n {\n ...line,\n id: modifiedLines.length + line.id + 1,\n phrases: [\n { ...line.phrases[0], content: modifiedContent[1] },\n ],\n }\n );\n } else {\n modifiedLines.push({\n ...line,\n id: modifiedLines.length + line.id,\n });\n }\n } else {\n const contentArr = content.split(' ');\n const modifiedContent = ['', ''];\n for (let i = 0; i < contentArr.length; i++) {\n if (modifiedContent[0].length < threshold) {\n modifiedContent[0] = contentArr.slice(0, i + 1).join(' ');\n } else {\n modifiedContent[1] = contentArr.slice(i).join(' ');\n break;\n }\n }\n modifiedLines.push({\n ...line,\n id: modifiedLines.length + line.id,\n phrases: [\n { ...line.phrases[0], content: modifiedContent[0] },\n ],\n });\n if (modifiedContent[1]) {\n modifiedLines.push({\n ...line,\n id: modifiedLines.length + line.id + 1,\n phrases: [\n { ...line.phrases[0], content: modifiedContent[1] },\n ],\n });\n }\n }\n } else {\n modifiedLines.push({\n ...line,\n id: modifiedLines.length + line.id,\n });\n }\n } else {\n modifiedLines.push({ ...line, id: modifiedLines.length + line.id });\n }\n });\n modifiedGroups.push({ ...group, lines: modifiedLines });\n });\n modifiedPages.push({ ...page, groups: modifiedGroups });\n });\n\n return modifiedPages;\n };\n\n return wrapLines;\n};\n\nexport default useWrapLines;\n","/* eslint-disable react-hooks/exhaustive-deps */\n/* eslint-disable operator-linebreak */\n/* eslint-disable @typescript-eslint/naming-convention */\n/* eslint-disable @typescript-eslint/no-shadow */\nimport { useCallback, useState } from 'react';\nimport { useLazyQuery } from '@apollo/client';\nimport { v4 as uuidv4 } from 'uuid';\nimport { GET_SONG, GET_SONG_AS_GUEST } from '../../graphql/queries/song/song';\nimport useStores from '../../player/hooks/useStores';\nimport {\n dismissErrorMessage,\n displayErrorMessage,\n getSongAudioSrcs,\n} from '../../utils/helpers';\nimport {\n currentSongTypeId,\n isMobileFullscreen,\n isPlayerFullscreen,\n mediaPlayerSelectedSongState,\n playerActive,\n selectedSongId,\n} from '../../utils/reactiveVars';\nimport useMediaQuery from '../Others/useMediaQuery';\nimport useWrapLines from './useWrapLines';\n\nconst useGetSongForPlayer = (guest = false, esongbookId, organisation_ref) => {\n const wrapLines = useWrapLines();\n const { mediaPlayerStore } = useStores();\n const [data, setData] = useState(null);\n const [shareId, setShareId] = useState(null);\n\n const isMobile = useMediaQuery(\n '(max-width: 767px), screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape) '\n );\n\n const query = guest ? GET_SONG_AS_GUEST : GET_SONG;\n const resKey = guest ? 'songAsGuest' : 'song';\n\n const [getSong, { loading, error, refetch }] = useLazyQuery(query, {\n onCompleted: (res) => {\n dismissErrorMessage();\n // eslint-disable-next-line no-shadow\n const data = { song: res[resKey] };\n\n setData({ song: res[resKey] });\n mediaPlayerSelectedSongState({ loading, data, error });\n if (res[resKey] === null) return;\n // sort audios cos sometimes they do not come in the correct order\n const songCopy = { ...data.song };\n const sortedAudios = [...songCopy.audios]?.sort(\n (a, b) => b.isDefault - a.isDefault\n );\n songCopy.audios = sortedAudios;\n\n const audioSrs = getSongAudioSrcs(sortedAudios);\n\n const modifiedPages = wrapLines(songCopy.pages, songCopy.styleBodySize);\n\n mediaPlayerStore.song = {\n ...songCopy,\n src: audioSrs,\n pages: modifiedPages,\n };\n mediaPlayerStore.setSong(audioSrs[0]);\n mediaPlayerStore.setReady(true);\n currentSongTypeId(0);\n mediaPlayerStore.setLastPlayheadPositionMs(0);\n mediaPlayerStore.setCurrentPlayheadPositionMs(0);\n mediaPlayerStore.setPlayerHit({\n sessionUUID: uuidv4(),\n audioId: sortedAudios[0].id,\n songId: songCopy.id,\n shareId,\n updateExpected: true,\n updateSequence: 0,\n esongbookId,\n });\n\n if (guest) {\n playerActive(true);\n setTimeout(() => {\n mediaPlayerStore.setShowSlide(true);\n }, 3000);\n isPlayerFullscreen(true);\n if (isMobile && isPlayerFullscreen()) {\n isMobileFullscreen(true);\n }\n mediaPlayerStore.setShareId(shareId);\n }\n },\n onError: (err) => {\n mediaPlayerStore.setSong(null);\n mediaPlayerStore.setReady(false);\n mediaPlayerStore.setError(true);\n\n const errorMessage =\n err?.message === 'This action is unauthorized.'\n ? 'Access denied!'\n : 'Something went wrong';\n\n displayErrorMessage(errorMessage);\n },\n fetchPolicy: 'no-cache',\n notifyOnNetworkStatusChange: true,\n });\n\n const getSongRequest = useCallback(\n (id, songShareId = null, ootaShareUUID) => {\n getSong({\n variables: {\n id,\n ...(!guest && {\n organisation_ref,\n }),\n },\n ...(guest && {\n context: {\n headers: {\n ootaShareUUID,\n },\n },\n }),\n });\n // storing id in global state cos of some apollo bugs\n selectedSongId(id);\n setShareId(songShareId);\n return id;\n },\n []\n );\n\n loading && mediaPlayerStore.setReady(false);\n\n return { getSongRequest, data, refetch };\n};\n\nexport default useGetSongForPlayer;\n","/* eslint-disable max-len */\n/* eslint-disable react-hooks/exhaustive-deps */\n/* eslint-disable function-paren-newline */\n/* eslint-disable operator-linebreak */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable react/no-array-index-key */\n/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable react/jsx-curly-newline */\n/* eslint-disable implicit-arrow-linebreak */\nimport React, { useRef, useEffect, useState } from 'react';\nimport tw, { styled } from 'twin.macro';\nimport { ApolloQueryResult, OperationVariables } from '@apollo/client';\nimport 'styled-components/macro';\nimport ReactPlayer from 'react-player';\nimport Decimal from 'decimal.js';\nimport { useObserver } from 'mobx-react-lite';\nimport { v4 as uuidv4, validate as uuidValidate } from 'uuid';\nimport Song from './Song';\nimport useStores from '../hooks/useStores';\nimport { ProgressBar } from './ProgressBar';\nimport { SongControls } from './SongControls';\nimport {\n isMobileFullscreen,\n isPlayerFullscreen,\n organisationLoggedInAs,\n} from '../../utils/reactiveVars';\nimport useSongPage from '../hooks/useSongPage';\nimport LikeAndAddIcons from '../../components/Shared/LikeAddIcons';\nimport VolumeSlider from './VolumeSlider';\nimport Progress from './Progress';\nimport useMediaQuery from '../../hooks/Others/useMediaQuery';\nimport MobileFullscreenDetails from './MobileFullscreen/Index';\nimport usePlayerHit from '../../hooks/Others/usePlayerHit';\nimport useAddToFavourites from '../../hooks/Favourite/useAddToFavourites';\nimport useRemoveFromFavourites from '../../hooks/Favourite/useRemoveFromFavourites';\nimport PlayerContainer from './Styles/PlayerContainer';\nimport { GridMediaButton } from './Styles/GridMediaButton';\nimport Queue from '../../utils/Queue';\nimport { PlayerHit } from '../types';\nimport useGetSongForPlayer from '../../hooks/Song/useGetSongForPlayer';\n\ndeclare const Modernizr: any;\n\nconst Controls = styled('div')<{\n isIOS?: boolean;\n}>`\n ${tw`h-full grid`}\n display: -ms-grid;\n -ms-grid-rows: 1fr;\n grid-template-rows: 1fr;\n grid-template-columns: 1.5fr 1.1fr 0.8fr 7.2fr 0.4fr 0.4fr 0.3fr;\n -ms-grid-columns: 1.7fr 2.5fr 1fr 1fr 1.5fr 1.75fr 0.25fr 0.25fr 0.4fr;\n\n @media (min-width: 429px) and (max-width: 768px) {\n grid-template-columns: 0.5fr 1.3fr 1.1fr 4fr 0.4fr 0.4fr 0.5fr;\n }\n @media (min-width: 769px) and (max-width: 1023px) {\n grid-template-columns: ${({ isIOS }) =>\n isIOS ? '1.2fr 0.01fr 1fr' : '1.5 1.1fr 0.8'} 4fr 0.4fr 0.4fr 0.3fr;\n }\n @media (min-width: 1024px) and (max-width: 1365px) {\n grid-template-columns: 1.2fr ${({ isIOS }) =>\n isIOS\n ? '0.01fr 1.2fr 5.2fr 0.6fr 0.3fr'\n : '1.1fr 1.2fr 5.9fr 0.4fr 0.4fr'} 0.3fr;\n }\n @media (max-width: 767px),\n screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape) {\n grid-template-columns: 1fr 4.5fr 1fr 1fr;\n margin-left: auto;\n margin-right: auto;\n max-width: 414px;\n background-color: #293943 !important;\n }\n @media screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape) {\n height: 86px;\n }\n`;\n\ntype PlayerProps = {\n player: React.RefObject;\n refetch: (\n variables?: Partial | undefined\n ) => Promise>;\n};\ntype Timer = undefined | number | any;\nconst Player = ({ player, refetch }: PlayerProps) => {\n const { mediaPlayerStore } = useStores();\n\n useEffect(() => {\n // let timer: Timer;\n\n // if (mediaPlayerStore.jumpTo.playSinglePhrase) {\n // timer = setTimeout(() => {\n // mediaPlayerStore.setPlaying(false);\n // mediaPlayerStore.resetJumpTo();\n // }, mediaPlayerStore.jumpTo.phraseEnds - mediaPlayerStore.jumpTo.phraseStarts);\n // }\n if (mediaPlayerStore.jumpTo.phraseStarts > 0) {\n mediaPlayerStore.progress = {\n ...mediaPlayerStore.progress,\n played: mediaPlayerStore.jumpTo.phraseStarts,\n playedSeconds: +new Decimal(\n mediaPlayerStore.jumpTo.phraseStarts\n ).dividedBy(1000),\n };\n player.current?.seekTo(\n +new Decimal(mediaPlayerStore.jumpTo.phraseStarts).dividedBy(1000)\n );\n mediaPlayerStore.setSeeking(false);\n }\n\n // return () => {\n // if (timer) clearTimeout(timer);\n // // if (timer2) clearTimeout(timer2);\n // };\n }, [mediaPlayerStore.jumpTo, player]);\n\n useEffect(() => {\n if (mediaPlayerStore.jumpTo.playSinglePhrase) {\n if (\n mediaPlayerStore.progress.playedSeconds >=\n +new Decimal(mediaPlayerStore.jumpTo.phraseEnds).dividedBy(1000) - 0.09\n ) {\n mediaPlayerStore.setPlaying(false);\n mediaPlayerStore.resetJumpTo();\n }\n }\n }, [mediaPlayerStore.progress.played, player]);\n\n const { createPlayerHitRequest, updatePlayerHitRequest } = usePlayerHit();\n\n const {\n progress: { playedSeconds },\n playerHit,\n setPlayerHit,\n lastPlayheadPositionMs,\n currentPlayheadPositionMs,\n song: { id: songId },\n } = mediaPlayerStore;\n\n const organisationRef = organisationLoggedInAs()?.id;\n const [timeSinceLastUpdate, setTimeSinceLastUpdate] = useState(0);\n\n const roundedPlayedSeconds = Math.round(playedSeconds);\n\n // Increment counter for automatatic hit updates every ten seconds\n useEffect(() => {\n if (roundedPlayedSeconds !== 0 && mediaPlayerStore.playing) {\n setTimeSinceLastUpdate((prevState) => prevState + 1);\n }\n }, [roundedPlayedSeconds]);\n\n // Update last hit automatically after ten seconds of playback\n useEffect(() => {\n if (timeSinceLastUpdate >= 10) {\n const { hitUUID } = playerHit;\n\n const playerHitObj = {\n ...playerHit,\n updateExpected: true,\n updateSequence: playerHit.updateSequence + 1,\n playheadPositionEndMs: Math.round(playedSeconds * 1000),\n };\n const { updateExpected, updateSequence, playheadPositionEndMs } =\n playerHitObj;\n\n setPlayerHit(playerHitObj);\n\n Queue.enqueue(() =>\n updatePlayerHitRequest({\n updateExpected,\n updateSequence,\n playheadPositionEndMs,\n hitUUID,\n })\n );\n setTimeSinceLastUpdate(0);\n }\n });\n\n const currentAudioId = mediaPlayerStore.song.audios.find(\n (audio) => audio.files.mp3 === mediaPlayerStore.currentSrc\n )?.id;\n\n return useObserver(() => (\n {\n if (!mediaPlayerStore.seeking) mediaPlayerStore.setProgress(e);\n }}\n onDuration={(e) => mediaPlayerStore.setDuration(e)}\n volume={mediaPlayerStore.volume}\n onPlay={() => {\n if (\n mediaPlayerStore.shouldRecordHit &&\n !mediaPlayerStore.seeking &&\n playerHit.songId\n ) {\n const playerHitObj: PlayerHit = {\n ...playerHit,\n hitUUID: uuidv4(),\n playheadPositionStartMs: currentPlayheadPositionMs,\n playheadPositionEndMs: null,\n updateExpected: true,\n updateSequence: 0,\n organisationRef,\n songId,\n sessionUUID: playerHit.sessionUUID || uuidv4(),\n };\n\n delete playerHitObj.id;\n\n setPlayerHit(playerHitObj);\n\n while (\n !uuidValidate(playerHitObj.hitUUID) ||\n !uuidValidate(playerHitObj.sessionUUID)\n ) {\n playerHitObj.hitUUID = uuidv4();\n if (!uuidValidate(playerHitObj.sessionUUID)) {\n playerHitObj.sessionUUID = uuidv4();\n }\n setPlayerHit(playerHitObj);\n }\n\n Queue.enqueue(() => createPlayerHitRequest(playerHitObj));\n\n setTimeSinceLastUpdate(0);\n }\n\n mediaPlayerStore.setPlaying(true);\n // mediaPlayerStore.setShouldRecordHit(true);\n }}\n onPause={() => {\n const { hitUUID } = playerHit;\n\n const playerHitObj = {\n ...playerHit,\n updateExpected: false,\n updateSequence: playerHit.updateSequence + 1,\n playheadPositionEndMs: Math.round(playedSeconds * 1000),\n };\n const { updateExpected, updateSequence, playheadPositionEndMs } =\n playerHitObj;\n\n setPlayerHit(playerHitObj);\n\n Queue.enqueue(() =>\n updatePlayerHitRequest({\n updateExpected,\n updateSequence,\n playheadPositionEndMs,\n hitUUID,\n })\n );\n setTimeSinceLastUpdate(0);\n\n mediaPlayerStore.setPlaying(false);\n mediaPlayerStore.setCurrentPlayheadPositionMs(\n Math.round(playedSeconds * 1000)\n );\n }}\n onSeek={() => {\n if (\n mediaPlayerStore.playing &&\n !mediaPlayerStore.seeking &&\n mediaPlayerStore.shouldUpdateHit\n ) {\n // mediaPlayerStore.setShouldRecordHit(true);\n\n Queue.enqueue(() =>\n updatePlayerHitRequest({\n updateExpected: false,\n updateSequence: playerHit.updateSequence + 1,\n playheadPositionEndMs: lastPlayheadPositionMs,\n hitUUID: playerHit.hitUUID,\n })\n );\n\n const playerHitObj = {\n ...playerHit,\n hitUUID: uuidv4(),\n playheadPositionStartMs: currentPlayheadPositionMs,\n playheadPositionEndMs: null,\n updateSequence: 0,\n organisationRef,\n audioId: currentAudioId,\n songId,\n sessionUUID: playerHit.sessionUUID || uuidv4(),\n };\n\n delete playerHitObj.id;\n\n setPlayerHit(playerHitObj);\n\n while (\n !uuidValidate(playerHitObj.hitUUID) ||\n !uuidValidate(playerHitObj.sessionUUID)\n ) {\n playerHitObj.hitUUID = uuidv4();\n if (!uuidValidate(playerHitObj.sessionUUID)) {\n playerHitObj.sessionUUID = uuidv4();\n }\n setPlayerHit(playerHitObj);\n }\n Queue.enqueue(() => createPlayerHitRequest(playerHitObj));\n\n setTimeSinceLastUpdate(0);\n }\n }}\n onError={() => {\n refetch({ id: songId, organisation_ref: organisationRef });\n }}\n />\n ));\n};\n\nconst MediaPlayer = ({\n toggleFullScreen,\n}: {\n toggleFullScreen: () => Promise;\n}): JSX.Element => {\n const player = useRef(null!);\n const { mediaPlayerStore } = useStores();\n const [, setIconType] = useState<'Fullscreen' | 'Minimize'>('Fullscreen');\n\n const organisationRef = organisationLoggedInAs()?.id || null;\n\n const { getSongRequest, refetch } = useGetSongForPlayer(\n false,\n null,\n organisationRef\n );\n\n if (!mediaPlayerStore.showSlide) {\n document.body.style.overflow = 'visible';\n document.documentElement.style.overflow = 'visible';\n } else {\n document.body.style.overflow = 'hidden';\n document.documentElement.style.overflow = 'hidden';\n }\n\n const isMobile = useMediaQuery(\n '(max-width: 767px), screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape) '\n );\n const supportsFullscreen = () => Modernizr.fullscreen;\n\n const currentPage = useSongPage(\n mediaPlayerStore.song?.pages,\n +new Decimal(mediaPlayerStore.progress.playedSeconds).times(1000) // using decimal.js here cos js cannot do floating point operations well\n );\n\n const isEmptyLyrics = mediaPlayerStore.song?.pages.length < 1;\n\n const [favIconState, setFavIconState] = useState<'Favourite' | 'Favourited'>(\n 'Favourite'\n );\n\n useEffect(() => {\n if (mediaPlayerStore.song.isFavourited) {\n return setFavIconState('Favourited');\n }\n return setFavIconState('Favourite');\n }, [mediaPlayerStore.song]);\n\n const {\n song: { id },\n } = mediaPlayerStore;\n\n const { addToFavouriteRequest } = useAddToFavourites('SONG', id);\n const { removeFromFavouritesRequest } = useRemoveFromFavourites('SONG', id);\n\n const isGuest = !!mediaPlayerStore.shareId;\n\n const userAgemt = navigator.userAgent;\n const isIOS =\n /iPad|iPhone|iPod/.test(userAgemt) ||\n (navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1);\n\n return useObserver(() => (\n <>\n \n \n {/* */}\n \n\n \n \n {!isIOS && }\n \n \n {\n if (favIconState === 'Favourite') {\n addToFavouriteRequest.send();\n return setFavIconState('Favourited');\n }\n removeFromFavouritesRequest.send();\n return setFavIconState('Favourite');\n }}\n disabled={isGuest}\n />\n \n {' '}\n \n {\n mediaPlayerStore.setShowSlide(!mediaPlayerStore.showSlide);\n if (!isMobile && supportsFullscreen()) {\n toggleFullScreen();\n }\n isPlayerFullscreen(!isPlayerFullscreen());\n if (isMobile && isPlayerFullscreen()) {\n isMobileFullscreen(true);\n }\n }}\n gridPosition={7}\n gridPositionMobile={4}\n mobileDimensions={29}\n tabletDimensions={29}\n disabled={isEmptyLyrics || isGuest}\n pulsate={mediaPlayerStore.ready && !isPlayerFullscreen()}\n />\n \n \n \n \n \n \n ));\n};\n\nexport default MediaPlayer;\n","/* eslint-disable function-paren-newline */\n/* eslint-disable operator-linebreak */\n/* eslint-disable implicit-arrow-linebreak */\n/* eslint-disable no-shadow */\n/* eslint-disable @typescript-eslint/no-shadow */\n/* eslint-disable max-len */\nimport { useState, useEffect, useCallback } from 'react';\nimport * as mobx from 'mobx';\nimport { Phrase, Group } from '../types';\n\n/**\n * Outputs the current highlighted phrase based on the position of milliseconds\n * in the provided Groups and the time(ms) that the phrase stops playing.\n *\n * @param groups Groups of lines/phrases that make up the slide\n * @param milliseconds current value in ms that the song has progressed\n *\n * @returns {[phrase: Phrase[], phraseEndsAt: number]} the current phrase to highlight and a number when it ends\n */\n\nconst useHighlightedPhrase = (\n groups: Array,\n milliseconds: number\n): [Phrase[], Phrase[]] => {\n const filterGroups = useCallback((groups: Array) => {\n const phrasesArr: Array = [];\n mobx.toJS(groups).forEach((group) => {\n phrasesArr.push(\n group.lines\n .slice()\n .flatMap((line) => line.phrases)\n .filter(\n (phrase) =>\n phrase.id <= 0 ||\n (phrase.id >= 0 &&\n phrase.milliseconds > 0 &&\n phrase.isHighlightable)\n )\n );\n });\n return phrasesArr;\n }, []);\n\n const flattenGroups = useCallback(\n (groups: Array) =>\n mobx.toJS(groups).flatMap((group) =>\n group.lines\n .slice()\n .flatMap((line) => line.phrases)\n .filter(\n (phrase) =>\n phrase.id <= 0 ||\n (phrase.id >= 0 &&\n phrase.milliseconds > 0 &&\n phrase.isHighlightable)\n )\n ),\n []\n );\n\n const [phrases, setPhrases] = useState(filterGroups(groups));\n const [currentPhrases, setCurrentPhrases] = useState([\n phrases[0]?.[0],\n ]);\n\n const nextPhrase = useCallback(\n (phrases: Array) =>\n phrases.find((phrase: Phrase, idx: number) => {\n const passedThisPhrase = phrase.milliseconds <= milliseconds;\n let beforeNextPhrase = true;\n if (idx < phrases.length - 1) {\n beforeNextPhrase = phrases[idx + 1].milliseconds > milliseconds;\n }\n\n if (\n idx === phrases.length - 1 &&\n milliseconds > phrases[idx].hide &&\n phrases[idx].hide !== 0\n ) {\n return false;\n }\n // Finds the first phrase where milliseconds (into the song) is higher than phrase.milliseconds but lower than the next phrase\n return passedThisPhrase && beforeNextPhrase;\n }),\n [milliseconds]\n );\n\n useEffect(() => {\n setPhrases(filterGroups(groups));\n }, [groups, filterGroups]);\n\n useEffect(() => {\n const allPhrases: Phrase[] = [];\n\n phrases.forEach((phraseArr) => {\n if (milliseconds > nextPhrase(phraseArr)?.milliseconds) {\n allPhrases.push(nextPhrase(phraseArr));\n const currentIdx = phraseArr.findIndex(\n (phrase) => phrase.id === nextPhrase(phraseArr)?.id\n );\n\n // eslint-disable-next-line no-plusplus\n for (let i = currentIdx - 1; i >= 0; i--) {\n if (\n phraseArr[i].milliseconds === phraseArr[currentIdx].milliseconds\n ) {\n allPhrases.push(phraseArr[i]);\n }\n }\n }\n });\n setCurrentPhrases(() => allPhrases);\n }, [milliseconds, groups, phrases, nextPhrase]);\n\n return [currentPhrases, flattenGroups(groups)];\n};\n\nexport default useHighlightedPhrase;\n","import { useEffect, useState } from 'react';\nimport FontFaceObserver from 'fontfaceobserver';\n\n/**\n * Returns a new key when the specified font has successfully loaded\n * @param id number | string\n * @param fontFamily string\n * @returns {[string, boolean]}\n */\nconst useFontLoaded = (\n id: number | string,\n fontFamily: string\n): [boolean, boolean] => {\n const [fontLoaded, setFontLoaded] = useState(false);\n // NOTE changing this key will force canvas to redraw (used when font loads)\n const [error, setError] = useState(false);\n\n useEffect(() => {\n const font = new FontFaceObserver(fontFamily); // NOTE this will come from the page.json\n const centuryGothic = new FontFaceObserver('CenturyGothic');\n const blueMixChar = new FontFaceObserver('BlueMixChar');\n centuryGothic.load();\n blueMixChar.load();\n\n font.load().then(\n () => {\n setFontLoaded(true); // use this as the key to the element to\n },\n () => {\n setError(true);\n }\n );\n const timer = setTimeout(() => {\n setError(true);\n }, 2000);\n return () => clearTimeout(timer);\n }, [id, fontFamily]);\n\n return [fontLoaded, error];\n};\n\nexport default useFontLoaded;\n","/* eslint-disable no-shadow */\n/* eslint-disable no-restricted-properties */\n/* eslint-disable @typescript-eslint/no-shadow */\nimport { useEffect, useState } from 'react';\n/**\n * A hook to return the scale up required for the canvas\n * @param containerDimensions {Object}\n * @returns {number} scale\n */\nconst useScale = (containerDimensions: {\n width: number;\n height: number;\n}): number => {\n const [scale, setScale] = useState(1);\n\n useEffect(() => {\n let scale = 8751.294\n + (-0.2362459 - 8751.294)\n / (1 + Math.pow(containerDimensions.height / 5433188, 1.000205));\n // NOTE: Scale is plotted from the original web-apps dimensions of the container\n\n if (scale < 0.406) scale = 0.406;\n if (scale * 1023.65 >= containerDimensions.width) scale = containerDimensions.width / 1023.65;\n // if (scale * 622 >= containerHeight) scale = containerHeight / 622;\n\n setScale(scale);\n }, [containerDimensions.height, containerDimensions.width]);\n\n return scale;\n};\n\nexport default useScale;\n","/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\nimport React, { useCallback, useRef, useEffect, useState } from 'react';\nimport { Image } from 'react-konva';\n\ntype Props = {\n x: number;\n y: number;\n src: string;\n};\n\nfunction URLImage({ src, x, y }: Props) {\n const imageRef = useRef(undefined);\n const [image, setImage] = useState(undefined);\n\n const handleLoad = useCallback(() => {\n setImage(imageRef.current);\n }, []);\n\n const loadImage = useCallback(() => {\n const img = new window.Image();\n img.src = src;\n // img.crossOrigin = 'Anonymous';\n imageRef.current = img;\n imageRef.current.addEventListener('load', handleLoad);\n }, [imageRef, handleLoad, src]);\n\n useEffect(() => {\n loadImage();\n return () => {\n if (imageRef.current !== undefined) {\n imageRef.current.removeEventListener('load', handleLoad);\n }\n };\n }, [imageRef, loadImage, handleLoad]);\n\n return ;\n}\n\nexport default URLImage;\n","export const colMap = {\n 1: 'styleCol1Highlighted',\n 2: 'styleCol2Highlighted',\n 3: 'styleCol3Highlighted',\n 4: 'styleCol4Highlighted',\n 5: 'styleCol5Highlighted',\n};\n","import tw, { styled } from 'twin.macro';\nimport 'styled-components/macro';\n\ntype SlideContainerProps = {\n scale: number;\n width: number | string;\n height: number | string;\n showSlide: boolean;\n};\nconst SlideContainer = styled('div')`\n ${tw`flex flex-col items-center justify-center relative`}\n width: ${(props) => props.width};\n height: ${(props) => props.height};\n overflow: hidden;\n display: ${(props) => (props.showSlide ? 'block' : 'none')};\n top: -76px;\n @media (max-width: 767px),\n screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape) {\n top: 50px;\n }\n`;\n\nexport default SlideContainer;\n","import tw, { styled } from 'twin.macro';\nimport 'styled-components/macro';\n\ntype SlideElementProps = {\n scale: number;\n containerDimensions: { width: number; height: number };\n};\nconst SlideElement = styled('div')`\n ${tw`w-full h-full flex flex-col justify-center border-red-300 border border-solid z-10 relative`}\n background: #434343;\n`;\n\nexport default SlideElement;\n","/* eslint-disable implicit-arrow-linebreak */\nimport tw, { styled } from 'twin.macro';\nimport 'styled-components/macro';\n\ntype CanvasContainerProps = {\n scale: number;\n containerDimensions: { width: number; height: number };\n padding: [number, number, number, number];\n};\nconst CanvasContainer = styled('div')`\n ${tw`absolute block top-0 left-0 w-full h-full z-10`}\n width: ${(props) => props.scale * 1023.65}px;\n height: ${(props) => props.scale * 622}px;\n position: absolute;\n left: ${(props) =>\n (props.containerDimensions.width - 1023.65 * props.scale) / 2}px;\n top: ${(props) =>\n (props.containerDimensions.height - 622 * props.scale) / 2}px;\n padding: ${({ scale, padding }) => scale * padding[0]}px\n ${({ scale, padding }) => scale * padding[1]}px\n ${({ scale, padding }) => scale * padding[2]}px\n ${({ scale, padding }) => scale * padding[3]}px;\n`;\n\nexport default CanvasContainer;\n","/* eslint-disable implicit-arrow-linebreak */\nimport { styled } from 'twin.macro';\nimport 'styled-components/macro';\n\ntype BackgroundContainerProps = {\n scale: number;\n containerDimensions: { width: number; height: number };\n};\nconst BackgroundContainer = styled('div')`\n position: absolute;\n width: 1023.65px;\n height: 622px;\n transform: scale(${(props) => props.scale});\n transform-origin: 0 0;\n top: 0;\n left: ${(props) =>\n (props.containerDimensions.width - 1023.65 * props.scale) / 2}px;\n`;\n\nexport default BackgroundContainer;\n","import { css, styled } from 'twin.macro';\nimport 'styled-components/macro';\n\ntype BackgroundProps = {\n scale: number;\n containerDimensions: { width: number; height: number };\n plainTextView: boolean;\n background: string;\n};\nconst Background = styled('div')(\n ({ plainTextView, background, scale, containerDimensions }) => [\n css`\n min-height: 100%;\n height: ${(containerDimensions.height / (622 * scale)) * 100}%;\n margin-top: 0px;\n display: block;\n position: absolute;\n top: 0px;\n width: 150%;\n left: -25%;\n background-repeat: no-repeat;\n background-position: center center;\n z-index: 100;\n background-size: 100% auto;\n background-color: #fff;\n `,\n plainTextView\n ? css`\n background-color: rgb(255, 255, 183);\n `\n : css`\n background-image: url(${background});\n `,\n ]\n);\n\nexport default Background;\n","import tw, { styled } from 'twin.macro';\nimport 'styled-components/macro';\n\n// eslint-disable-next-line @typescript-eslint/ban-types\ntype ControlsProps = {};\nconst Controls = styled('div')(() => [\n tw`h-full w-full absolute block top-0 left-0`,\n]);\n\nexport default Controls;\n","/* eslint-disable no-plusplus */\n/* eslint-disable arrow-body-style */\n/* eslint-disable @typescript-eslint/no-unused-expressions */\n/* eslint-disable no-unused-vars */\n/* eslint-disable function-paren-newline */\n/* eslint-disable @typescript-eslint/no-shadow */\n/* eslint-disable no-shadow */\n/* eslint-disable react/jsx-props-no-spreading */\n/* eslint-disable operator-linebreak */\n/* eslint-disable implicit-arrow-linebreak */\n/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport React, { useRef, useEffect } from 'react';\nimport useComponentSize from '@rehooks/component-size';\nimport { Text, Stage, Layer, Line as KonvaLine } from 'react-konva';\nimport { useObserver } from 'mobx-react-lite';\nimport useKeyboardShortcut from 'use-keyboard-shortcut';\nimport Line from './Line';\nimport { Line as LineType, Group, Phrase, Page } from '../types';\nimport useHighlightedPhrase from '../hooks/useHighlightedPhrase';\nimport useStores from '../hooks/useStores';\nimport useFontLoaded from '../hooks/useFontLoaded';\nimport useScale from '../hooks/useScale';\nimport URLImage from './UrlImage';\nimport SlideSwitcher from './SlideSwitcher';\nimport { isPlayerFullscreen } from '../../utils/reactiveVars';\nimport { colMap } from '../utils/colMap';\nimport SlideContainer from './Styles/SlideContainer';\nimport SlideElement from './Styles/SlideElement';\nimport CanvasContainer from './Styles/CanvasContainer';\nimport BackgroundContainer from './Styles/BackgroundContainer';\nimport Background from './Styles/Background';\nimport Controls from './Styles/Controls';\nimport { splitByThreshold } from '../../utils/helpers';\n\n// const fontFamily = 'CenturyGothic';\n// const titleFamily = 'FuturBook';\n// const copyrightFamily = 'Open Sans';\n\ntype Props = {\n id: number;\n title: string;\n page: Page;\n milliseconds: number;\n height: number | string;\n width: number | string;\n currentSlide: number;\n cloud: boolean;\n onClick?: (id: number) => void;\n background: string;\n totalSlides: number;\n};\n\nexport const overrideSystem = { overrideSystem: true, ignoreInputFields: true };\n\nconst Slide = ({\n id,\n title,\n page,\n milliseconds,\n height,\n width,\n currentSlide,\n cloud,\n onClick,\n background,\n totalSlides,\n}: Props): JSX.Element => {\n const { mediaPlayerStore } = useStores();\n const containerRef = useRef(null!);\n\n // const [state, setState] = useState(page.groups);\n\n // trigger rerender so text is displayed properly when\n // view is switched while song is paused\n useEffect(() => {\n if (!mediaPlayerStore.playing) {\n mediaPlayerStore.setPlaying(true);\n mediaPlayerStore.setPlaying(false);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [mediaPlayerStore.plainTextView]);\n\n const containerDimensions = useComponentSize(containerRef);\n const scale = useScale(containerDimensions);\n const [highlightedPhrases, phrases] = useHighlightedPhrase(\n page.groups,\n milliseconds\n );\n\n const isPlainText = mediaPlayerStore.plainTextView === true;\n const fontFamily = isPlainText\n ? 'CenturyGothic'\n : mediaPlayerStore.song.styleBodyFont;\n const titleFamily = isPlainText\n ? 'FuturBook'\n : mediaPlayerStore.song.styleTitleFont;\n const copyrightFamily = 'Open Sans';\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const [fontLoaded, fontError] = useFontLoaded(\n page.id,\n mediaPlayerStore.song.styleBodyFont\n );\n\n const [titleFontLoaded, titleFontError] = useFontLoaded(\n page.id,\n mediaPlayerStore.song.styleTitleFont\n );\n const [copyrightFontLoaded, copyrightFontError] = useFontLoaded(\n page.id,\n copyrightFamily\n );\n\n const plainTextViewTextColor = 'rgb(45, 43, 85)';\n const textPrimaryColor = mediaPlayerStore.plainTextView\n ? plainTextViewTextColor\n : mediaPlayerStore.song.styleCol1Unhighlighted;\n\n let totalLineCount = 0;\n\n // eslint-disable-next-line no-return-assign\n page.groups.every((group) => (totalLineCount += group.lines.length));\n\n const shouldReduceLineHeight =\n (cloud && totalLineCount > 8 && !mediaPlayerStore.plainTextView) ||\n (currentSlide === 0 && totalLineCount > 8);\n\n const hasCloudAndMultipleGroups =\n page.groups.length > 2 && cloud && !mediaPlayerStore.plainTextView;\n\n const hasMultipleGroupsAndIsFirstPage =\n currentSlide === 0 && page.groups.length > 2;\n\n const hasCloudAndIsFirstPage =\n cloud &&\n totalLineCount > 6 &&\n currentSlide === 0 &&\n !mediaPlayerStore.plainTextView;\n\n const parsedTitle =\n mediaPlayerStore.song.styleTitleSize >= 60\n ? splitByThreshold(title, 28)\n : [title];\n\n const getYOffset = (\n lineIdx: number,\n groupIdx: number,\n groupCount: number,\n groups: Group[]\n ) => {\n let lineCount = 0;\n\n groups.slice(0, groupIdx + 1).forEach((group, i) => {\n if (i === groupIdx) {\n lineCount += lineIdx;\n return;\n }\n lineCount += group.lines.length;\n });\n\n const hasChorusImage = cloud && !mediaPlayerStore.plainTextView;\n const isMultipleGroups = groupCount > 2;\n // let lineSpacing = totalLineCount > 10 ? 37 : 45;\n let lineSpacing = totalLineCount > 10 ? 37 : 50;\n if (shouldReduceLineHeight) {\n lineSpacing = 32;\n }\n // const groupSpacing = isMultipleGroups ? 10 * groupIdx - 5 : 20 * groupIdx;\n let groupSpacing = isMultipleGroups ? 10 * groupIdx : 20 * groupIdx;\n\n let firstLinePosition = currentSlide === 0 ? 110 : 10;\n\n if (hasMultipleGroupsAndIsFirstPage) {\n groupSpacing = groupIdx;\n lineSpacing = 45;\n }\n if (hasCloudAndMultipleGroups || hasCloudAndIsFirstPage) {\n lineSpacing = 40;\n }\n\n if (hasCloudAndMultipleGroups && currentSlide === 0) {\n groupSpacing = groups[groupIdx - 1]?.stylePadding || groupSpacing;\n }\n\n if (shouldReduceLineHeight) {\n lineSpacing = 32;\n firstLinePosition = 120;\n }\n\n // lineSpacing =\n // (mediaPlayerStore.song.styleBodyLeading || page.styleBodyLeading) +\n // (mediaPlayerStore.song.styleBodySize || page.styleBodySize) + 4;\n\n if (hasChorusImage) {\n firstLinePosition = currentSlide === 0 ? 80 : 30;\n }\n if (groupIdx !== 0) firstLinePosition += groups[0]?.stylePadding;\n\n if (cloud && mediaPlayerStore.plainTextView) {\n firstLinePosition = currentSlide === 0 ? 100 : 50;\n }\n\n let stylePadding = groups[groupIdx]?.stylePadding;\n if (\n cloud &&\n mediaPlayerStore.plainTextView &&\n groupIdx === 0 &&\n groupCount > 1\n ) {\n stylePadding = 0;\n }\n\n if (parsedTitle.length > 1 && currentSlide === 0) {\n firstLinePosition += mediaPlayerStore.plainTextView ? 20 : 60;\n }\n\n return (\n firstLinePosition +\n lineCount * lineSpacing +\n (stylePadding || groupSpacing)\n );\n };\n\n const playOrPauseKey = [' '];\n const instrumentalTrackKey = ['I'];\n const vocalTrackKey = ['V'];\n const previousPageKey = ['ArrowLeft'];\n const nextPageKey = ['ArrowRight'];\n\n useKeyboardShortcut(\n playOrPauseKey,\n () => {\n if (isPlayerFullscreen()) {\n return mediaPlayerStore.setPlaying(!mediaPlayerStore.playing);\n }\n },\n overrideSystem\n );\n\n useKeyboardShortcut(\n previousPageKey,\n () => {\n if (isPlayerFullscreen() && currentSlide > 0) {\n return mediaPlayerStore.switchSlide(-1, currentSlide);\n }\n },\n overrideSystem\n );\n\n useKeyboardShortcut(\n nextPageKey,\n () => {\n if (isPlayerFullscreen() && currentSlide !== totalSlides - 1) {\n return mediaPlayerStore.switchSlide(1, currentSlide);\n }\n },\n overrideSystem\n );\n\n useKeyboardShortcut(\n instrumentalTrackKey,\n () => {\n if (isPlayerFullscreen()) {\n return mediaPlayerStore.switchTrack(\n 1,\n mediaPlayerStore.progress.playedSeconds\n );\n }\n },\n overrideSystem\n );\n\n useKeyboardShortcut(\n vocalTrackKey,\n () => {\n if (isPlayerFullscreen()) {\n return mediaPlayerStore.switchTrack(\n 0,\n mediaPlayerStore.progress.playedSeconds\n );\n }\n },\n overrideSystem\n );\n\n let footerTextIdx = 0;\n page.infoFooter1.length > 0 && (footerTextIdx += 1);\n page.infoFooter2.length > 0 && (footerTextIdx += 1);\n\n const footerText = `Words and Music by ${mediaPlayerStore.song.infoAuthor} ${mediaPlayerStore.song.infoCopyrightFormatted}, CCLI Song No. ${mediaPlayerStore.song.infoCCLI}`;\n const FooterTextToArray = footerText.split('');\n const copyrights = mediaPlayerStore.song.infoCopyrightFormatted\n ? mediaPlayerStore.song.infoCopyrightFormatted.split('')\n : [];\n if (mediaPlayerStore.song.infoAuthor) {\n copyrights[0] = `Words and Music by ${mediaPlayerStore.song.infoAuthor} ${copyrights[0]}`;\n }\n copyrights[copyrights.length - 1] = `${\n copyrights[copyrights.length - 1]\n }, CCLI Song No. ${mediaPlayerStore.song.infoCCLI}`;\n\n const getFontsize = () => {\n const fontSize = page.styleBodySize || mediaPlayerStore.song.styleBodySize;\n if (shouldReduceLineHeight) return fontSize / 1.3;\n if (hasCloudAndMultipleGroups) return fontSize / 1.1;\n if (hasMultipleGroupsAndIsFirstPage) return fontSize / 1.05;\n if (hasCloudAndIsFirstPage) return fontSize / 1.15;\n return totalLineCount > 10 ? fontSize / 1.15 : fontSize;\n };\n\n const hasCloud = cloud && !mediaPlayerStore.plainTextView;\n const cloudPosX = page.cloudPosX - 120;\n const cloudPosY = page.cloudPosY - 80 > 0 ? page.cloudPosY - 80 : 0;\n\n let FooterTextStartingPosOffset = 530 - FooterTextToArray.length * 15;\n\n const footerOffset =\n getYOffset(0, page.groups.length + 1, page.groups.length, page.groups) +\n (hasCloud ? 80 : 0);\n FooterTextStartingPosOffset =\n FooterTextStartingPosOffset > footerOffset\n ? FooterTextStartingPosOffset\n : footerOffset;\n\n const firstPageLinePosition = parsedTitle.length > 1 ? 120 : 70;\n\n const longestInfoNameLength = Math.max(\n ...page.groups.map((group) => group.infoName?.length || 0)\n );\n\n const song = mediaPlayerStore.song as CustomSong;\n\n return useObserver(() => (\n \n {\n if (onClick) onClick(id);\n }}\n >\n \n \n \n <>\n {/* Title for non-plain text */}\n {page.showPageHeader &&\n (titleFontLoaded || titleFontError) &&\n currentSlide === 0 &&\n parsedTitle.map((line, idx) => (\n \n ))}\n\n {/* Chorus cloud/text+line in plaintext view */}\n\n {cloud &&\n (!mediaPlayerStore.plainTextView ? (\n \n ) : (\n \n ))}\n {mediaPlayerStore.plainTextView &&\n (page.showPageHeader || cloud) && (\n \n )}\n\n {/* Lyrics */}\n {fontLoaded &&\n page.groups.map((group: Group, groupIdx: number) =>\n group.lines.map((line: LineType, lineIdx: number) => {\n // const yOffset = 120 + 44.5 * idx + (idx1 === 0 ? 0 : 55);\n const yOffset = getYOffset(\n lineIdx,\n groupIdx,\n page.groups.length,\n page.groups\n );\n\n return (\n {\n mediaPlayerStore.setSeeking(true);\n mediaPlayerStore.setLastPlayheadPositionMs(\n Math.round(\n mediaPlayerStore.progress.playedSeconds * 1000\n )\n );\n mediaPlayerStore.setCurrentPlayheadPositionMs(\n Math.round(phrase.milliseconds)\n );\n // Single clicks move song to line - doesnt affect \"store.playing\"\n // e.g. if song is playing,\n // playback continues, if paused, remains paused\n mediaPlayerStore.setJumpTo({\n phraseStarts: phrase.milliseconds,\n playSinglePhrase: false,\n });\n mediaPlayerStore.setProgress({\n ...mediaPlayerStore.progress,\n played: mediaPlayerStore.jumpTo.phraseStarts,\n });\n // Seeks the progress bar\n // if player is paused (onProgress won't fire after seeking)\n }}\n onDblClick={(phrase: Phrase) => {\n // Double clicks move to line\n // and play song no matter \"store.playing\" state\n // double click will *only* play the selected line, then pause\n let phraseEnds = page.millisecondsStop;\n\n const phraseIndex = phrases\n .map((phrase) => phrase.id)\n .indexOf(phrase.id);\n\n if (lineIdx < group.lines.length - 1) {\n // if line was split with wraplines() the next line(s) will have\n // the same milliseconds value\n // find the next phrase without the same milliseconds stop value\n phraseEnds =\n phrases\n .slice(phraseIndex)\n .find(\n (p) =>\n p.milliseconds !== phrase.milliseconds\n )?.milliseconds || page.millisecondsStop;\n } else {\n phraseEnds += 150;\n }\n\n mediaPlayerStore.setLastPlayheadPositionMs(\n Math.round(\n mediaPlayerStore.progress.playedSeconds * 1000\n )\n );\n mediaPlayerStore.setCurrentPlayheadPositionMs(\n Math.round(phrase.milliseconds)\n );\n\n mediaPlayerStore.setJumpTo({\n phraseStarts: phrase.milliseconds,\n phraseEnds,\n playSinglePhrase: true,\n newPhraseID: phrase.id,\n });\n if (!mediaPlayerStore.playing) {\n mediaPlayerStore.setShouldUpdateHit(false);\n }\n mediaPlayerStore.setPlaying(true);\n }}\n isPlaying={mediaPlayerStore.playing}\n plainTextView={mediaPlayerStore.plainTextView}\n fontFamily={fontFamily}\n fontSize={getFontsize()}\n textPrimaryColor={textPrimaryColor}\n textHighlightColor={\n mediaPlayerStore.plainTextView\n ? 'rgb(254, 0, 0)'\n : `#${song[colMap[group.styleColIndex]]}`\n }\n totalLineCount={totalLineCount}\n />\n );\n })\n )}\n\n {page.infoFooter1.length > 0 && (\n \n )}\n {page.infoFooter2.length > 1 && (\n \n )}\n {/*page.showPageFooter &&\n (copyrightFontLoaded || copyrightFontError) &&\n FooterTextToArray.map((footerTextLine, idx) => (\n \n ))*/}\n\n {page.showPageFooter &&\n (copyrightFontLoaded || copyrightFontError) &&\n copyrights.map((copyright, idx) => (\n \n ))}\n \n \n \n \n \n \n \n \n \n \n \n \n ));\n};\n\nexport default Slide;\n","import classNames from 'classnames';\nimport React, { useState } from 'react';\nimport { usePopper } from 'react-popper';\nimport Tappable from 'react-tappable';\nimport useStores from '../../player/hooks/useStores';\n\nconst PopupInfo = ({ isHeader, position }) => {\n const { mediaPlayerStore } = useStores();\n const isGuest = !!mediaPlayerStore.shareId;\n const [referenceElement, setReferenceElement] = useState(null);\n const [popperElement, setPopperElement] = useState(null);\n\n const { styles, attributes } = usePopper(referenceElement, popperElement, {\n placement: position ? position : 'bottom',\n });\n\n const [infoShow, setInfoShow] = useState(false);\n\n return (\n \n {infoShow && (\n \n setInfoShow(false)}\n />\n

              What is Sparkyard?

              \n

              \n Sparkyard is subscription service with songs, assemblies, resources,\n a flexible music curriculum and much more.\n

              \n

              © Out of the Ark

              \n \n )}\n\n {isGuest ? (\n {\n setInfoShow(true);\n }}\n >\n \"\"\n
              \n \n ) : (\n
              \n \"\"\n
              \n
              \n )}\n \n );\n};\n\nexport default PopupInfo;\n","/* eslint-disable react/no-array-index-key */\nimport React from 'react';\nimport { isPlayerFullscreen } from '../../utils/reactiveVars';\nimport useStores from '../hooks/useStores';\nimport { MediaButton } from './Icon';\nimport PopupInfo from '../../components/Shared/PopupInfo';\n\n// const SongType = styled.div<{ gridPosition: number; hideOnMobile: boolean }>`\n// ${tw`flex items-center text-white`}\n// ${({ gridPosition }) => gridPosition && `-ms-grid-column: ${gridPosition}`};\n// ${({ gridPosition }) => gridPosition && `grid-column: ${gridPosition}`};\n// display: grid;\n// display: -ms-grid;\n// margin-right: 20px;\n// grid-template-columns: 4fr 1fr;\n// ${({ hideOnMobile }) =>\n// hideOnMobile &&\n// ` @media (max-width: 415px) {\n// display: none;\n// }`};\n// @media (min-width: 415px) and (max-width: 768px) {\n// margin-right: 10px;\n// }\n// // grid-template-columns:auto;\n// // grid-template-rows: 0.5fr 0.5fr;\n// `;\n\n// const SongTypeWrapper = styled.div`\n// border-radius: 5px;\n// border: 1px #4f4f4f solid;\n// `;\n\nexport const getIconType = (\n infoName: string\n): 'Vocal' | 'Instrumental' | 'MusicalNote' => {\n if (infoName === 'Vocal' || infoName === 'Instrumental') {\n return infoName;\n }\n return 'MusicalNote';\n};\n\nconst SongTypes = (): JSX.Element | null => {\n if (!isPlayerFullscreen()) return null;\n\n const { mediaPlayerStore } = useStores();\n\n return (\n
              \n
              \n
              \n {mediaPlayerStore.song.audios.map(({ infoName }, idx) => (\n = mediaPlayerStore.song.src.length}\n icon={getIconType(infoName)}\n content={infoName}\n onClick={() => {\n mediaPlayerStore.switchTrack(\n idx,\n mediaPlayerStore.progress.playedSeconds\n );\n }}\n id={idx}\n bordered\n tabletDimensions={16}\n audioBg\n />\n ))}\n
              \n\n \n
              \n
              \n );\n};\n\nexport default SongTypes;\n","import React from 'react';\nimport { isMobileFullscreen } from '../../../utils/reactiveVars';\nimport PopupInfo from '../../../components/Shared/PopupInfo';\n\nconst GuestHeader = ({ isGuest }: { isGuest: boolean }): JSX.Element | null => {\n if (!isMobileFullscreen() || !isGuest) return null;\n\n return (\n \n );\n};\n\nexport default GuestHeader;\n","/* eslint-disable operator-linebreak */\nexport const getUserFromLocalStorage = () => {\n const user = localStorage.getItem('user');\n if (user) return JSON.parse(user);\n return null;\n};\n\nexport const removeUserFromLocalStorage = () => {\n localStorage.removeItem('user');\n};\n\nexport const persistOrganisationLoggedInAs = (id) => {\n localStorage.setItem('organisationLoggedInAs', id);\n localStorage.setItem('loggedInAsPrivateUser', 'false');\n};\n\nexport const getOrganisationFromLocalStorage = () => {\n const organisationId = localStorage.getItem('organisationLoggedInAs');\n if (\n localStorage.getItem('loggedInAsPrivateUser') === 'true' ||\n !organisationId\n ) {\n return false;\n }\n\n return organisationId;\n};\n\nexport const clearLoginPreferences = () => {\n localStorage.removeItem('organisationLoggedInAs');\n localStorage.removeItem('loggedInAsPrivateUser');\n};\n","import { gql } from '@apollo/client';\nimport { MinSongFieldsFragment } from '../song/fragments';\n\nexport const PlaylistFieldsFragment = gql`\n fragment PlaylistFields on Playlist {\n id\n name\n color\n isUserPlaylist\n ordering\n songs {\n ...MinSongFields\n }\n }\n ${MinSongFieldsFragment}\n`;\n\nexport const PlaylistShareLinkFieldsFragment = gql`\n fragment PlaylistShareLinkFields on PlaylistShareLink {\n id\n uuid\n userId\n playlistId\n }\n`;\n","import { gql } from '@apollo/client';\nimport { MinAssemblyFieldsFragment } from '../assembly/fragments';\nimport { PlaylistFieldsFragment } from '../playlist/fragments';\nimport { MinResourceFragmentFields } from '../resource/fragments';\nimport {\n MinSongFieldsFragment,\n SparklesFieldsFragment,\n} from '../song/fragments';\nimport { EsongbookFieldsFragments } from '../songbook/fragments';\n\nexport const CollectionFieldsFragment = gql`\n fragment CollectionFields on Collection {\n id\n title\n pdfs\n videos\n description\n isUserCollection\n image\n songs {\n ...MinSongFields\n }\n sparkles {\n ...SparklesFields\n }\n resources {\n ...MinResourceFields\n }\n playlists {\n ...PlaylistFields\n }\n esongbooks {\n ...EsongbookFields\n }\n assemblies {\n ...MinAssemblyFields\n }\n # assemblyPlans {\n # ...AssemblyPlanFields\n # }\n }\n ${SparklesFieldsFragment}\n ${EsongbookFieldsFragments}\n ${MinSongFieldsFragment}\n ${MinResourceFragmentFields}\n ${PlaylistFieldsFragment}\n ${MinAssemblyFieldsFragment}\n`;\n\nexport const CollectionsFieldsFragment = gql`\n fragment CollectionsFields on Collection {\n id\n title\n pdfs\n isUserCollection\n image\n songs {\n ...MinSongFields\n }\n resources {\n id\n }\n assemblies {\n id\n }\n esongbooks {\n id\n }\n playlists {\n id\n }\n }\n ${MinSongFieldsFragment}\n`;\n\nexport const CollectionShareLinkFieldsFragment = gql`\n fragment CollectionShareLinkFields on CollectionShareLink {\n id\n uuid\n userId\n collectionId\n }\n`;\n","import { gql } from '@apollo/client';\nimport {\n CollectionFieldsFragment,\n CollectionShareLinkFieldsFragment,\n} from '../../queries/collection/fragments';\n\nexport const CREATE_COLLECTION = gql`\n mutation CreateCollection($input: CreateCollectionInput!) {\n createCollection(input: $input) {\n id\n title\n description\n }\n }\n`;\n\nexport const ADD_TO_COLLECTION = gql`\n mutation AddToCollection($input: AddToCollectionInput!) {\n addToCollection(input: $input) {\n id\n }\n }\n`;\n\nexport const EDIT_COLLECTION = gql`\n mutation EditCollection($id: ID!, $input: EditCollectionInput!) {\n editCollection(id: $id, input: $input) {\n id\n }\n }\n`;\n\nexport const DELETE_COLLECTION = gql`\n mutation DeleteCollection($id: ID!) {\n deleteCollection(id: $id) {\n id\n }\n }\n`;\n\nexport const REMOVE_FROM_COLLECTION = gql`\n mutation RemoveFromCollection($id: ID!, $input: RemoveFromCollectionInput!) {\n removeFromCollection(id: $id, input: $input) {\n ...CollectionFields\n }\n }\n ${CollectionFieldsFragment}\n`;\n\nexport const UPDATE_COLLECTION = gql`\n mutation UpdateCollection($id: ID!, $input: UpdateCollectionInput!) {\n updateCollection(id: $id, input: $input) {\n ...CollectionFields\n }\n }\n ${CollectionFieldsFragment}\n`;\n\nexport const UPDATE_COLLECTION_SONG_ORDERING = gql`\n mutation UpdateCollectionSongOrdering(\n $id: ID!\n $input: UpdateCollectionSongsInput!\n ) {\n updateCollectionSongOrdering(id: $id, input: $input) {\n ...CollectionFields\n }\n }\n ${CollectionFieldsFragment}\n`;\n\nexport const UPDATE_COLLECTION_PLAYLIST_ORDERING = gql`\n mutation UpdateCollectionPlaylistOrdering(\n $id: ID!\n $input: UpdateCollectionPlaylistInput!\n ) {\n updateCollectionPlaylistOrdering(id: $id, input: $input) {\n ...CollectionFields\n }\n }\n ${CollectionFieldsFragment}\n`;\n\nexport const COPY_COLLECTION = gql`\n mutation CopyCollection($id: ID!) {\n copyCollection(id: $id)\n }\n`;\n\nexport const GENERATE_COLLECTION_SHARE_LINK = gql`\n mutation GenerateCollectionShareLink($collection_id: ID!) {\n generateCollectionShareLink(collection_id: $collection_id) {\n ...CollectionShareLinkFields\n }\n }\n ${CollectionShareLinkFieldsFragment}\n`;\n\nexport const VERIFY_COLLECTION_SHARE_LINK = gql`\n mutation VerifyCollectionShareLink(\n $where: MutationVerifyCollectionShareLinkWhereWhereConditions\n ) {\n verifyCollectionShareLink(where: $where) {\n id\n userId\n }\n }\n`;\n\nexport const HIDE_SHARED_COLLECTION = gql`\n mutation HideSharedCollection($collection_id: ID!, $organisation_ref: ID!) {\n hideSharedCollection(\n collection_id: $collection_id\n organisation_ref: $organisation_ref\n ) {\n id\n }\n }\n`;\n\nexport const UPDATE_COLLECTIONS_ORDERING = gql`\n mutation UpdateCollectionsOrdering(\n $input: [UpdateCollectionsOrderingInput]!\n ) {\n updateCollectionsOrdering(input: $input)\n }\n`;\n","import { gql } from '@apollo/client';\nimport {\n CollectionFieldsFragment,\n CollectionsFieldsFragment,\n CollectionShareLinkFieldsFragment,\n} from './fragments';\n\nexport const GET_USER_COLLECTIONS = gql`\n query UserCollections($organisation_ref: ID) {\n userCollections(organisation_ref: $organisation_ref) {\n ...CollectionsFields\n }\n }\n ${CollectionsFieldsFragment}\n`;\n\nexport const GET_SY_COLLECTIONS = gql`\n query SparkyardCollections {\n sparkyardCollections {\n ...CollectionsFields\n }\n }\n ${CollectionsFieldsFragment}\n`;\n\nexport const GET_COLLECTION = gql`\n query Collection($id: ID!, $organisation_ref: ID) {\n collection(id: $id) {\n ...CollectionFields\n hasSharedWithOrganisation(organisation_ref: $organisation_ref)\n shareId(organisation_ref: $organisation_ref)\n wasSharedWithUser(organisation_ref: $organisation_ref)\n }\n }\n ${CollectionFieldsFragment}\n`;\n\nexport const GET_COLLECTIONS_SHARED_WITH_ORGANISATION = gql`\n query CollectionsSharedWithOrganisation($organisation_ref: ID!) {\n collectionsSharedWithOrganisation(organisation_ref: $organisation_ref) {\n ...CollectionsFields\n }\n }\n ${CollectionsFieldsFragment}\n`;\n\nexport const GET_COLLECTION_SHARE_LINK = gql`\n query GetCollectionShareLink($collection_id: ID!) {\n getCollectionShareLink(collection_id: $collection_id) {\n ...CollectionShareLinkFields\n }\n }\n ${CollectionShareLinkFieldsFragment}\n`;\n","import $ from 'jquery';\n\nconst hideModal = (modalId) => {\n $('#createCollectionModal').modal('hide');\n $('#createPlaylistModal').modal('hide');\n $('#removeModal').modal('hide');\n $('#deleteModal').modal('hide');\n $('#editCollectionModal').modal('hide');\n $('#editPlaylistModal').modal('hide');\n $('#editAccountModal').modal('hide');\n $('#leaveOrganisationModal').modal('hide');\n $('#onboardingQuestionsModal').modal('hide');\n if (modalId) {\n $(`#${modalId}`).modal('hide');\n }\n};\n\nexport const showModal = (modalId, disableClose = false) => {\n const closeOptions = disableClose\n ? {\n keyboard: false,\n backdrop: 'static',\n }\n : {};\n\n setTimeout(() => {\n $(`#${modalId}`).modal({\n show: true,\n ...closeOptions,\n });\n }, 500);\n};\n\nexport default hideModal;\n","/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable no-unused-vars */\nimport { useMutation } from '@apollo/client';\nimport { ADD_TO_COLLECTION } from '../../graphql/mutations/collection';\nimport { GET_USER_COLLECTIONS } from '../../graphql/queries/collection/collection';\nimport hideModal from '../../styles/js/modals';\nimport {\n dismissLoadingMessage,\n displayErrorMessage,\n displaySuccessMessage,\n} from '../../utils/helpers';\nimport { organisationLoggedInAs } from '../../utils/reactiveVars';\n\nconst useAddToCollection = (type, itemId, modalId) => {\n const [addToCollection, { loading, data }] = useMutation(ADD_TO_COLLECTION, {\n refetchQueries: [\n {\n query: GET_USER_COLLECTIONS,\n },\n ],\n });\n\n const addToCollectionRequest = {\n send: (attachIds, detachIds) => {\n addToCollection({\n variables: {\n input: {\n type,\n item_id: parseInt(itemId, 10),\n attach: attachIds,\n detach: detachIds,\n },\n },\n })\n .then((res) => {\n displaySuccessMessage('Success!');\n dismissLoadingMessage();\n hideModal(modalId);\n })\n .catch((e) => {\n dismissLoadingMessage();\n displayErrorMessage('Operation failed');\n });\n },\n };\n\n return { loading, data, addToCollectionRequest };\n};\n\nexport default useAddToCollection;\n","import { useQuery } from '@apollo/client';\nimport {\n GET_COLLECTIONS_SHARED_WITH_ORGANISATION,\n GET_SY_COLLECTIONS,\n GET_USER_COLLECTIONS,\n} from '../../graphql/queries/collection/collection';\nimport {\n dismissLoadingMessage,\n displayErrorMessage,\n} from '../../utils/helpers';\n\nconst useGetCollections = (type, organisationRef = null) => {\n const queryMap = {\n user: GET_USER_COLLECTIONS,\n sparkyard: GET_SY_COLLECTIONS,\n shared: GET_COLLECTIONS_SHARED_WITH_ORGANISATION,\n };\n\n const query = queryMap[type];\n // add string \"user\" to array if you want to fetch only collections created in that organisation\n const includeOrganisationRefForTypes = ['shared'];\n\n const { data, loading, error, refetch } = useQuery(query, {\n onCompleted: () => dismissLoadingMessage(),\n ...(includeOrganisationRefForTypes.includes(type) && {\n variables: {\n organisation_ref: organisationRef,\n },\n }),\n onError: () => {\n // suppress error for shared collection as organisation ref\n // may not be available on page load yet\n if (type !== 'shared') {\n displayErrorMessage('Could not get collections');\n }\n },\n });\n\n return { data, loading, error, refetch };\n};\n\nexport default useGetCollections;\n","import { gql } from '@apollo/client';\nimport { PlaylistShareLinkFieldsFragment } from '../../queries/playlist/fragments';\n\nexport const CREATE_PLAYLIST = gql`\n mutation CreatePlaylist($input: CreatePlaylistInput!) {\n createPlaylist(input: $input) {\n id\n }\n }\n`;\n\nexport const ADD_TO_PLAYLIST = gql`\n mutation AddToPlaylist($input: AddToPlaylistInput!) {\n addToPlaylist(input: $input) {\n id\n }\n }\n`;\n\nexport const REMOVE_FROM_PLAYLIST = gql`\n mutation RemoveFromPlaylist($input: RemoveFromPlaylistInput!) {\n removeFromPlaylist(input: $input) {\n id\n }\n }\n`;\n\nexport const DELETE_PLAYLIST = gql`\n mutation DeletePlaylist($id: ID!) {\n deletePlaylist(id: $id)\n }\n`;\n\nexport const EDIT_PLAYLIST = gql`\n mutation EditPlaylist($id: ID!, $input: EditPlaylistInput!) {\n editPlaylist(id: $id, input: $input) {\n id\n }\n }\n`;\n\nexport const UPDATE_PLAYLIST_SONG_ORDERING = gql`\n mutation UpdatePlaylistSongOrdering($id: ID!, $input: UpdatePlaylistInput!) {\n updatePlaylistSongOrdering(id: $id, input: $input) {\n id\n }\n }\n`;\n\nexport const GENERATE_PLAYLIST_SHARE_LINK = gql`\n mutation GeneratePlaylistShareLink($playlist_id: ID!) {\n generatePlaylistShareLink(playlist_id: $playlist_id) {\n ...PlaylistShareLinkFields\n }\n }\n ${PlaylistShareLinkFieldsFragment}\n`;\n\nexport const COPY_PLAYLIST = gql`\n mutation CopyPlaylist($id: ID!) {\n copyPlaylist(id: $id)\n }\n`;\n\nexport const VERIFY_PLAYLIST_SHARE_LINK = gql`\n mutation VerifyPlaylistShareLink(\n $where: MutationVerifyPlaylistShareLinkWhereWhereConditions\n ) {\n verifyPlaylistShareLink(where: $where) {\n id\n userId\n }\n }\n`;\n\nexport const HIDE_SHARED_PLAYLIST = gql`\n mutation HideSharedPlaylist($playlist_id: ID!, $organisation_ref: ID!) {\n hideSharedPlaylist(\n playlist_id: $playlist_id\n organisation_ref: $organisation_ref\n ) {\n id\n }\n }\n`;\n\nexport const UPDATE_PLAYLISTS_ORDERING = gql`\n mutation UpdatePlaylistsOrdering($input: [UpdatePlaylistsOrderingInput]!) {\n updatePlaylistsOrdering(input: $input)\n }\n`;\n","import { gql } from '@apollo/client';\nimport {\n PlaylistFieldsFragment,\n PlaylistShareLinkFieldsFragment,\n} from './fragments';\n\nexport const GET_PLAYLISTS = gql`\n query Playlists(\n $createdBy: String!\n $hasCategoryPages: QueryPlaylistsHasCategoryPagesWhereHasConditions\n $hasPlaylistTags: QueryPlaylistsHasPlaylistTagsWhereHasConditions\n $filtered: [TagInput]\n $organisation_ref: ID\n ) {\n playlists(\n createdBy: $createdBy\n hasCategoryPages: $hasCategoryPages\n hasPlaylistTags: $hasPlaylistTags\n filtered: $filtered\n ) {\n ...PlaylistFields\n hasSharedWithOrganisation(organisation_ref: $organisation_ref)\n shareId(organisation_ref: $organisation_ref)\n }\n }\n ${PlaylistFieldsFragment}\n`;\n\nexport const GET_PLAYLIST = gql`\n query Playlist($id: ID!, $organisation_ref: ID) {\n playlist(id: $id) {\n ...PlaylistFields\n hasSharedWithOrganisation(organisation_ref: $organisation_ref)\n shareId(organisation_ref: $organisation_ref)\n isSharedWithUser(organisation_ref: $organisation_ref)\n }\n }\n ${PlaylistFieldsFragment}\n`;\n\nexport const GET_PLAYLISTS_SHARED_WITH_ORGANISATION = gql`\n query PlaylistsSharedWithOrganisation($organisation_ref: ID!) {\n playlistsSharedWithOrganisation(organisation_ref: $organisation_ref) {\n ...PlaylistFields\n }\n }\n ${PlaylistFieldsFragment}\n`;\n\nexport const GET_RECOMMENDED_PLAYLISTS = gql`\n query RecommendedPlaylists {\n recommendedPlaylists {\n id\n playlists {\n ...PlaylistFields\n }\n }\n }\n ${PlaylistFieldsFragment}\n`;\n\nexport const GET_PLAYLIST_SHARE_LINK = gql`\n query GetPlaylistShareLink($playlist_id: ID!) {\n getPlaylistShareLink(playlist_id: $playlist_id) {\n ...PlaylistShareLinkFields\n }\n }\n ${PlaylistShareLinkFieldsFragment}\n`;\n","/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable no-unused-vars */\nimport { useMutation } from '@apollo/client';\nimport { toast } from 'react-toastify';\nimport { ADD_TO_PLAYLIST } from '../../graphql/mutations/playlist';\nimport { GET_PLAYLISTS } from '../../graphql/queries/playlist/playlist';\nimport hideModal from '../../styles/js/modals';\nimport {\n dismissLoadingMessage,\n displaySuccessMessage,\n} from '../../utils/helpers';\nimport { toastErrorObj, toastSuccessObj } from '../../utils/objects';\nimport { organisationLoggedInAs } from '../../utils/reactiveVars';\n\nconst useAddToPlaylist = (songId, modalId) => {\n const [addToPlaylist, { loading, data }] = useMutation(ADD_TO_PLAYLIST, {\n refetchQueries: [\n {\n query: GET_PLAYLISTS,\n variables: {\n createdBy: 'user',\n organisation_ref: organisationLoggedInAs()?.id || null,\n },\n },\n ],\n });\n\n const addToPlaylistRequest = {\n send: (attachIds, detachIds) => {\n addToPlaylist({\n variables: {\n input: {\n song_id: parseInt(songId, 10),\n attach: attachIds,\n detach: detachIds,\n },\n },\n })\n .then((res) => {\n displaySuccessMessage();\n dismissLoadingMessage();\n hideModal(modalId);\n })\n .catch((e) => {\n toast.dismiss('loading');\n toast.error('Operation failed!', toastErrorObj);\n });\n },\n };\n\n return { loading, data, addToPlaylistRequest };\n};\n\nexport default useAddToPlaylist;\n","import { useQuery, useReactiveVar } from '@apollo/client';\nimport {\n GET_PLAYLISTS,\n GET_PLAYLISTS_SHARED_WITH_ORGANISATION,\n} from '../../graphql/queries/playlist/playlist';\nimport {\n dismissLoadingMessage,\n displayErrorMessage,\n} from '../../utils/helpers';\nimport { organisationLoggedInAs } from '../../utils/reactiveVars';\n\nconst useGetPlaylists = (createdBy, variables) => {\n const organisationRef = useReactiveVar(organisationLoggedInAs)?.id || null;\n\n const includeOrganisationRefForTypes = ['shared', 'user'];\n const isSharedPlaylists = createdBy === 'shared';\n const query = isSharedPlaylists\n ? GET_PLAYLISTS_SHARED_WITH_ORGANISATION\n : GET_PLAYLISTS;\n\n const { data, loading, error, refetch, fetchMore } = useQuery(query, {\n variables: {\n ...(!isSharedPlaylists && { createdBy }),\n ...(includeOrganisationRefForTypes.includes(createdBy) && {\n organisation_ref: organisationRef,\n }),\n ...variables,\n },\n onCompleted: () => dismissLoadingMessage(),\n onError: () => {\n dismissLoadingMessage();\n // suppress error for shared playlists as organisation ref\n // may not be available on page load yet\n if (!isSharedPlaylists) {\n displayErrorMessage('Could not load playlists');\n }\n },\n });\n\n return { data, loading, error, refetch, fetchMore };\n};\n\nexport default useGetPlaylists;\n","import React from 'react';\n\nconst Loading = () =>
              Loading...
              ;\n\nexport default Loading;\n","/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable function-paren-newline */\n/* eslint-disable no-unused-vars */\n/* eslint-disable implicit-arrow-linebreak */\nimport { useMutation } from '@apollo/client';\nimport { toast } from 'react-toastify';\nimport { CREATE_COLLECTION } from '../../graphql/mutations/collection';\nimport { GET_USER_COLLECTIONS } from '../../graphql/queries/collection/collection';\nimport hideModal from '../../styles/js/modals';\nimport {\n dismissLoadingMessage,\n displayErrorMessage,\n displaySuccessMessage,\n} from '../../utils/helpers';\nimport { collectionDefaultObj } from '../../utils/objects';\nimport { organisationLoggedInAs } from '../../utils/reactiveVars';\nimport useAddToCollection from './useAddToCollection';\n\nconst useCreateCollection = (\n reset,\n closeDropdown,\n itemType = null,\n itemId = null\n) => {\n const { addToCollectionRequest } = useAddToCollection(itemType, itemId);\n\n const [createCollection, { loading, data }] = useMutation(CREATE_COLLECTION, {\n refetchQueries: [\n {\n query: GET_USER_COLLECTIONS,\n },\n ],\n });\n\n const createCollectionRequest = {\n send: (title, description, organisationRef) => {\n createCollection({\n variables: {\n input: {\n title,\n description,\n ...(organisationRef && {\n share_with_organisation: organisationRef,\n }),\n organisation_ref: organisationLoggedInAs()?.id || null,\n },\n },\n })\n .then((res) => {\n reset(collectionDefaultObj);\n displaySuccessMessage('Collection created!');\n dismissLoadingMessage();\n closeDropdown && closeDropdown();\n if (itemType && itemId) {\n addToCollectionRequest.send(\n [parseInt(res?.data?.createCollection?.id, 10)],\n []\n );\n }\n hideModal();\n })\n .catch((e) => {\n {\n displayErrorMessage('Could not create collection');\n dismissLoadingMessage();\n }\n });\n },\n };\n\n return { createCollectionRequest, loading, data };\n};\n\nexport default useCreateCollection;\n","import React from 'react';\n\nconst FormError = ({ text, className }) => (\n
              {text}
              \n);\n\nexport default FormError;\n","import { useReactiveVar } from '@apollo/client';\nimport React from 'react';\nimport { useForm } from 'react-hook-form';\nimport useCreateCollection from '../../../../hooks/Collection/useCreateCollection';\nimport { addToCollectionItemObj } from '../../../../utils/reactiveVars';\nimport FormError from '../../FormError';\n\nconst CreateCollectionModal = () => {\n const { register, handleSubmit, errors, reset } = useForm();\n\n const { id: itemId, itemType } = useReactiveVar(addToCollectionItemObj);\n\n const { createCollectionRequest } = useCreateCollection(\n reset,\n null,\n itemType,\n itemId\n );\n\n const handleCreateCollection = ({ title, description }) => {\n createCollectionRequest.send(title, description);\n };\n\n return (\n \n \n
              \n
              \n
              \n
              Create collection
              \n \n \"\"\n \n
              \n
              \n Enter a name for your new collection below\n
              \n
              \n \n {errors.title && }\n
              \n
              \n \n {errors.description && }\n
              \n \n Add\n \n
              \n
              \n \n \n );\n};\nexport default CreateCollectionModal;\n","/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable no-unused-vars */\nimport { useMutation } from '@apollo/client';\nimport { CREATE_PLAYLIST } from '../../graphql/mutations/playlist';\nimport { GET_PLAYLISTS } from '../../graphql/queries/playlist/playlist';\nimport hideModal from '../../styles/js/modals';\nimport {\n dismissLoadingMessage,\n displayErrorMessage,\n displaySuccessMessage,\n} from '../../utils/helpers';\nimport { playlistDefaultObj } from '../../utils/objects';\nimport { organisationLoggedInAs } from '../../utils/reactiveVars';\nimport useAddToPlaylist from './useAddToPlaylist';\n\nconst useCreatePlaylist = (reset, createWithSong = null) => {\n const { addToPlaylistRequest } = useAddToPlaylist(createWithSong);\n const [createPlaylist, { data, loading }] = useMutation(CREATE_PLAYLIST, {\n refetchQueries: [\n {\n query: GET_PLAYLISTS,\n variables: {\n createdBy: 'user',\n organisation_ref: organisationLoggedInAs()?.id || null,\n },\n },\n ],\n });\n\n const createPlaylistRequest = {\n send: (name) => {\n createPlaylist({\n variables: {\n input: {\n name,\n organisation_ref: organisationLoggedInAs()?.id || null,\n },\n },\n })\n .then((res) => {\n reset(playlistDefaultObj);\n displaySuccessMessage('Playlist created!');\n dismissLoadingMessage();\n hideModal();\n if (createWithSong) {\n addToPlaylistRequest.send(\n [parseInt(res?.data?.createPlaylist?.id, 10)],\n []\n );\n }\n })\n .catch((e) => {\n dismissLoadingMessage();\n displayErrorMessage('Could not create playlist');\n });\n },\n };\n\n return { createPlaylistRequest, loading, data };\n};\n\nexport default useCreatePlaylist;\n","import { useReactiveVar } from '@apollo/client';\nimport React from 'react';\nimport { useForm } from 'react-hook-form';\n\nimport useCreatePlaylist from '../../../../hooks/Playlist/useCreatePlaylist';\nimport { addToPlaylistSongId } from '../../../../utils/reactiveVars';\nimport FormError from '../../FormError';\n\nconst CreatePlaylistModal = () => {\n const { register, handleSubmit, errors, reset } = useForm();\n\n const songId = useReactiveVar(addToPlaylistSongId);\n const { createPlaylistRequest } = useCreatePlaylist(reset, songId);\n\n const handleCreatePlaylist = (playlist) => {\n createPlaylistRequest.send(playlist.name);\n };\n\n return (\n \n \n
              \n
              \n
              \n
              Add to...
              \n \n \"\"\n \n
              \n
              \n Enter a name for your new playlist below:\n
              \n
              \n \n {errors.name && }\n
              \n \n Add\n \n
              \n
              \n \n \n );\n};\n\nexport default CreatePlaylistModal;\n","/* eslint-disable operator-linebreak */\n/* eslint-disable react-hooks/exhaustive-deps */\n/* eslint-disable function-paren-newline */\n/* eslint-disable react/jsx-curly-newline */\n/* eslint-disable implicit-arrow-linebreak */\n/* eslint-disable no-restricted-syntax */\n/* eslint-disable no-empty */\nimport { useReactiveVar } from '@apollo/client';\nimport React, { useEffect, useState } from 'react';\nimport { toast } from 'react-toastify';\nimport useAddToCollection from '../../../hooks/Collection/useAddToCollection';\nimport useGetCollections from '../../../hooks/Collection/useGetCollections';\nimport useAddToPlaylist from '../../../hooks/Playlist/useAddToPlaylist';\nimport useGetPlaylists from '../../../hooks/Playlist/useGetPlaylists';\nimport { modelMap } from '../../../utils/objects';\nimport {\n addToCollectionItemObj,\n addToPlaylistSongId,\n organisationLoggedInAs,\n} from '../../../utils/reactiveVars';\nimport Loading from '../Loading';\nimport CreateCollectionModal from './Collection/CreateCollectionModal';\nimport CreatePlaylistModal from './Playlist/CreatePlaylistModal';\nimport hideModal, { showModal } from '../../../styles/js/modals';\n\nconst AddToPlaylistAndCollectionModal = ({ show, modalId, itemType, id }) => {\n if (!id) return null;\n const organisationRef = useReactiveVar(organisationLoggedInAs)?.id || null;\n const { data: userCollections, loading: loadingUserCollections } =\n useGetCollections('user', organisationRef);\n\n const { data: playlists, loading: loadingPlaylists } =\n useGetPlaylists('user');\n\n const { addToCollectionRequest, loading } = useAddToCollection(\n itemType,\n id,\n modalId\n );\n const { addToPlaylistRequest } = useAddToPlaylist(id, modalId);\n\n const [collectionCheckedList, setCollectionCheckedList] = useState({});\n const [playlistCheckedList, setPlaylistCheckedList] = useState({});\n\n const stateMap = {\n collection: setCollectionCheckedList,\n playlist: setPlaylistCheckedList,\n };\n\n const findModelAndUpdateCheckedList = (items, type) =>\n stateMap[type]((prevState) => ({\n ...prevState,\n [items.id]: items[modelMap[itemType]]?.some((item) => item.id === id),\n }));\n\n useEffect(() => {\n if (userCollections?.userCollections) {\n const collections = [...userCollections?.userCollections];\n setCollectionCheckedList({});\n collections.forEach((collection) =>\n findModelAndUpdateCheckedList(collection, 'collection')\n );\n }\n }, [itemType, id, userCollections]);\n\n useEffect(() => {\n if (playlists?.playlists) {\n const userPlaylists = [...playlists?.playlists];\n setPlaylistCheckedList({});\n userPlaylists.forEach((playlist) =>\n findModelAndUpdateCheckedList(playlist, 'playlist')\n );\n }\n }, [itemType, id, playlists]);\n\n loading && toast.info('Please wait...', { toastId: 'loading' });\n\n const handleAddToCollection = (e) => {\n e.preventDefault();\n const collectionAttachIds = [];\n const collectionDetachIds = [];\n const playlistAttachIds = [];\n const playlistDetachIds = [];\n\n for (const [key, value] of Object.entries(collectionCheckedList)) {\n value && collectionAttachIds.push(parseInt(key, 10));\n !value && collectionDetachIds.push(parseInt(key, 10));\n }\n\n for (const [key, value] of Object.entries(playlistCheckedList)) {\n value && playlistAttachIds.push(parseInt(key, 10));\n !value && playlistDetachIds.push(parseInt(key, 10));\n }\n\n addToCollectionRequest.send(collectionAttachIds, collectionDetachIds);\n if (itemType === 'SONG') {\n addToPlaylistRequest.send(playlistAttachIds, playlistDetachIds);\n }\n };\n\n return (\n <>\n \n \n
              \n
              \n
              \n
              Add to...
              \n \n \"\"\n \n
              \n {(show === 'both' || show === 'playlist') && (\n <>\n
              \n Playlists\n
              \n {loadingPlaylists && }\n {playlists?.playlists?.map(({ id: playlistId, name }) => (\n
              \n {\n setPlaylistCheckedList({\n ...playlistCheckedList,\n [playlistId]: e.target.checked,\n });\n }}\n />\n \n
              \n ))}\n\n {\n e.preventDefault();\n hideModal(modalId);\n showModal('createPlaylistModal');\n addToPlaylistSongId(id);\n }}\n >\n Create New Playlist...\n \n \n )}\n {(show === 'both' || show === 'collection') && (\n <>\n
              \n Collections\n
              \n {loadingUserCollections && }\n {userCollections?.userCollections?.map(\n ({ id: collectionId, title }) => (\n
              \n {\n setCollectionCheckedList({\n ...collectionCheckedList,\n [collectionId]: e.target.checked,\n });\n }}\n />\n \n
              \n )\n )}\n\n {\n e.preventDefault();\n hideModal(modalId);\n showModal('createCollectionModal');\n addToCollectionItemObj({ id, itemType });\n }}\n >\n Create new collection…\n \n handleAddToCollection(e)}\n >\n Add\n \n \n )}\n
              \n
              \n \n \n \n \n \n );\n};\nexport default AddToPlaylistAndCollectionModal;\n","import { useMutation } from '@apollo/client';\nimport { useHistory } from 'react-router-dom';\nimport { toast } from 'react-toastify';\nimport { DELETE_COLLECTION } from '../../graphql/mutations/collection';\nimport { GET_USER_COLLECTIONS } from '../../graphql/queries/collection/collection';\nimport hideModal from '../../styles/js/modals';\nimport {\n dismissLoadingMessage,\n displaySuccessMessage,\n} from '../../utils/helpers';\nimport { toastErrorObj } from '../../utils/objects';\n\nconst useDeleteCollection = (id) => {\n const history = useHistory();\n const [deleteCollection] = useMutation(DELETE_COLLECTION, {\n refetchQueries: [\n {\n query: GET_USER_COLLECTIONS,\n },\n ],\n });\n\n const deleteCollectionRequest = {\n send: () => {\n deleteCollection({ variables: { id } })\n .then(() => {\n displaySuccessMessage('Collection deleted!');\n dismissLoadingMessage();\n hideModal();\n history.push('/collections');\n })\n .catch(() => {\n toast.dismiss('loading');\n toast.error('Could not delete collection', toastErrorObj);\n });\n },\n };\n\n return { deleteCollectionRequest };\n};\n\nexport default useDeleteCollection;\n","/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable no-unused-vars */\nimport { useMutation } from '@apollo/client';\nimport { toast } from 'react-toastify';\nimport { GET_PLAYLISTS } from '../../graphql/queries/playlist/playlist';\nimport { DELETE_PLAYLIST } from '../../graphql/mutations/playlist';\nimport hideModal from '../../styles/js/modals';\nimport { toastErrorObj, toastSuccessObj } from '../../utils/objects';\nimport {\n dismissLoadingMessage,\n displaySuccessMessage,\n} from '../../utils/helpers';\nimport { organisationLoggedInAs } from '../../utils/reactiveVars';\n\nconst useDeletePlaylist = (playlistId) => {\n const [deletePlaylist] = useMutation(DELETE_PLAYLIST, {\n refetchQueries: [\n {\n query: GET_PLAYLISTS,\n variables: {\n createdBy: 'user',\n organisation_ref: organisationLoggedInAs()?.id || null,\n },\n },\n ],\n });\n\n const deletePlaylistRequest = {\n send: () => {\n deletePlaylist({\n variables: {\n id: parseInt(playlistId, 10),\n },\n })\n .then((res) => {\n displaySuccessMessage();\n dismissLoadingMessage();\n hideModal();\n })\n .catch((e) => {\n toast.error(e.message, toastErrorObj);\n hideModal();\n });\n },\n };\n\n return { deletePlaylistRequest };\n};\n\nexport default useDeletePlaylist;\n","/* eslint-disable operator-linebreak */\nimport { useReactiveVar } from '@apollo/client';\nimport React from 'react';\nimport useDeleteCollection from '../../../hooks/Collection/useDeleteCollection';\nimport useDeletePlaylist from '../../../hooks/Playlist/useDeletePlaylist';\nimport { deleteModalObj } from '../../../utils/reactiveVars';\n\nconst DeleteModal = () => {\n const { itemType, id } = useReactiveVar(deleteModalObj);\n const { deletePlaylistRequest } = useDeletePlaylist(id);\n const { deleteCollectionRequest } = useDeleteCollection(id);\n\n const fnMap = {\n PLAYLIST: deletePlaylistRequest,\n COLLECTION: deleteCollectionRequest,\n };\n\n return (\n <>\n \n \n
              \n
              \n
              \n
              \n Delete {itemType?.toLowerCase()}\n
              \n \n \"\"\n \n
              \n
              \n Are you sure you want to delete this {itemType?.toLowerCase()}?\n
              \n
              \n fnMap[itemType].send()}\n >\n Confirm\n \n \n Cancel\n \n
              \n
              \n
              \n \n \n \n );\n};\n\nexport default DeleteModal;\n","import { useMutation } from '@apollo/client';\nimport { toast } from 'react-toastify';\nimport { EDIT_PLAYLIST } from '../../graphql/mutations/playlist';\nimport { GET_PLAYLIST } from '../../graphql/queries/playlist/playlist';\nimport hideModal from '../../styles/js/modals';\nimport {\n dismissLoadingMessage,\n displaySuccessMessage,\n} from '../../utils/helpers';\nimport { playlistDefaultObj, toastErrorObj } from '../../utils/objects';\nimport { organisationLoggedInAs } from '../../utils/reactiveVars';\n\nconst useEditPlaylist = (id, reset) => {\n const [editPlaylist] = useMutation(EDIT_PLAYLIST, {\n refetchQueries: [\n {\n query: GET_PLAYLIST,\n variables: {\n id,\n organisation_ref: organisationLoggedInAs()?.id || null,\n },\n },\n ],\n });\n\n const editPlaylistRequest = (name) => {\n editPlaylist({\n variables: {\n id,\n input: {\n name,\n },\n },\n })\n .then(() => {\n reset(playlistDefaultObj);\n displaySuccessMessage('Playlist edited successfully!');\n dismissLoadingMessage();\n hideModal();\n })\n .catch(() => {\n toast.error('Could not edit playlist.', toastErrorObj);\n toast.dismiss('loading');\n });\n };\n return { editPlaylistRequest };\n};\n\nexport default useEditPlaylist;\n","import React from 'react';\nimport { useForm } from 'react-hook-form';\nimport useEditPlaylist from '../../../../hooks/Playlist/useEditPlaylist';\nimport FormError from '../../FormError';\n\nconst EditPlaylistModal = ({ name, id }) => {\n const { register, handleSubmit, errors, reset } = useForm();\n const { editPlaylistRequest } = useEditPlaylist(id, reset);\n\n const handleEdit = (data) => {\n editPlaylistRequest(data.name);\n };\n\n return (\n \n \n
              \n
              \n
              \n
              Edit playlist
              \n \n \"\"\n \n
              \n\n
              \n \n {errors.name && }\n
              \n\n \n Save\n \n
              \n
              \n \n \n );\n};\n\nexport default EditPlaylistModal;\n","import { useMutation } from '@apollo/client';\nimport { toast } from 'react-toastify';\nimport { REMOVE_FROM_COLLECTION } from '../../graphql/mutations/collection';\nimport { GET_COLLECTION } from '../../graphql/queries/collection/collection';\nimport hideModal from '../../styles/js/modals';\nimport {\n dismissLoadingMessage,\n displaySuccessMessage,\n} from '../../utils/helpers';\nimport { toastErrorObj } from '../../utils/objects';\nimport {\n assemblyList,\n playlistList,\n resourceList,\n songbookList,\n songChoiceSongs,\n} from '../../utils/reactiveVars';\n\nconst useRemoveFromCollection = (collectionId, itemType, itemId) => {\n const [removeFromCollection, { loading }] = useMutation(\n REMOVE_FROM_COLLECTION,\n {\n refetchQueries: [\n { query: GET_COLLECTION, variables: { id: collectionId } },\n ],\n }\n );\n\n loading && toast.info('Please wait...', { toastId: 'loading' });\n\n const removeFromCollectionRequest = {\n send: () => {\n removeFromCollection({\n variables: {\n id: parseInt(collectionId, 10),\n input: {\n item_type: itemType.toUpperCase(),\n item_id: parseInt(itemId, 10),\n },\n },\n })\n .then((res) => {\n displaySuccessMessage();\n dismissLoadingMessage();\n songChoiceSongs({\n ...songChoiceSongs(),\n songs: res.data.removeFromCollection.songs,\n });\n playlistList({\n ...playlistList(),\n playlists: res.data.removeFromCollection.playlists,\n });\n songbookList({\n ...songbookList(),\n songbooks: res.data.removeFromCollection.esongbooks,\n });\n assemblyList({\n ...assemblyList(),\n assemblies: res.data.removeFromCollection.assemblies,\n });\n resourceList({\n ...resourceList(),\n resources: res.data.removeFromCollection.resources,\n });\n hideModal();\n })\n .catch(() => {\n toast.dismiss('loading');\n toast.error('Operation failed.', toastErrorObj);\n });\n },\n };\n\n return { removeFromCollectionRequest };\n};\n\nexport default useRemoveFromCollection;\n","/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable no-unused-vars */\nimport { useMutation } from '@apollo/client';\nimport { toast } from 'react-toastify';\nimport { REMOVE_FROM_PLAYLIST } from '../../graphql/mutations/playlist';\nimport { GET_PLAYLIST } from '../../graphql/queries/playlist/playlist';\nimport hideModal from '../../styles/js/modals';\nimport {\n dismissLoadingMessage,\n displaySuccessMessage,\n} from '../../utils/helpers';\nimport { toastErrorObj, toastSuccessObj } from '../../utils/objects';\nimport { organisationLoggedInAs } from '../../utils/reactiveVars';\n\nconst useRemoveFromPlaylist = (songId, playlistId) => {\n const [removeFromPlaylist, { data }] = useMutation(REMOVE_FROM_PLAYLIST, {\n refetchQueries: [\n {\n query: GET_PLAYLIST,\n variables: {\n id: playlistId,\n organisation_ref: organisationLoggedInAs()?.id || null,\n },\n },\n ],\n });\n\n const removeFromPlaylistRequest = {\n send: () => {\n removeFromPlaylist({\n variables: {\n input: {\n song_id: parseInt(songId, 10),\n playlist_id: parseInt(playlistId, 10),\n },\n },\n })\n .then((res) => {\n displaySuccessMessage();\n dismissLoadingMessage();\n hideModal();\n })\n .catch((e) => toast.error('Operation failed!', toastErrorObj));\n },\n };\n\n return { data, removeFromPlaylistRequest };\n};\n\nexport default useRemoveFromPlaylist;\n","/* eslint-disable operator-linebreak */\nimport React from 'react';\nimport useRemoveFromCollection from '../../../hooks/Collection/useRemoveFromCollection';\nimport useRemoveFromPlaylist from '../../../hooks/Playlist/useRemoveFromPlaylist';\n\nconst RemoveModal = ({ type, childId }) => {\n const { parentId, item } = type;\n const { removeFromPlaylistRequest } = useRemoveFromPlaylist(\n childId,\n type.parentId\n );\n\n const { removeFromCollectionRequest } = useRemoveFromCollection(\n parentId,\n item,\n childId\n );\n\n const fnMap = {\n playlist: removeFromPlaylistRequest,\n collection: removeFromCollectionRequest,\n };\n\n return (\n <>\n \n \n
              \n
              \n
              \n
              \n Remove from {type.from}\n
              \n \n \"\"\n \n
              \n
              \n Are you sure you want to remove this {type.item} from this{' '}\n {type.from}?\n
              \n
              \n fnMap[type.from].send()}\n >\n Confirm\n \n \n Cancel\n \n
              \n
              \n
              \n \n \n \n );\n};\n\nexport default RemoveModal;\n","import { gql } from '@apollo/client';\n\nexport const SongShareFieldsFragments = gql`\n fragment SongShareFields on SongShare {\n id\n userId\n songId\n uuid\n expiresIn\n status\n organisationRef\n ootaUUID\n song {\n id\n infoName\n }\n }\n`;\n","import { gql } from '@apollo/client';\nimport { SongShareFieldsFragments } from '../../queries/share/fragments';\n\nexport const GENERATE_SHARE_LINK = gql`\n mutation GenerateShareLink($input: GenerateShareInput!) {\n generateShareLink(input: $input) {\n ...SongShareFields\n }\n }\n ${SongShareFieldsFragments}\n`;\n\nexport const VERIFY_SHARE_LINK = gql`\n mutation VerifyShareLink(\n $where: MutationVerifyShareLinkWhereWhereConditions\n ) {\n verifyShareLink(where: $where) {\n id\n ootaUUID\n }\n }\n`;\n\nexport const DELETE_SHARED_LINK = gql`\n mutation DeleteSharedLink($id: ID!) {\n deleteSharedLink(id: $id) {\n id\n }\n }\n`;\n\nexport const RENEW_SHARED_LINK = gql`\n mutation RenewSharedLink($id: ID!) {\n renewSharedLink(id: $id) {\n id\n }\n }\n`;\n","import { gql } from '@apollo/client';\nimport { SongShareFieldsFragments } from './fragments';\n\nexport const GET_SHARE_LINK = gql`\n query GetShareLink($song_id: ID!, $organisation_ref: ID) {\n getShareLink(song_id: $song_id, organisation_ref: $organisation_ref) {\n ...SongShareFields\n }\n }\n ${SongShareFieldsFragments}\n`;\n\nexport const GET_SHARED_LINKS = gql`\n query GetSharedLinks($organisation_ref: ID) {\n getSharedLinks(organisation_ref: $organisation_ref) {\n ...SongShareFields\n }\n }\n ${SongShareFieldsFragments}\n`;\n","/* eslint-disable operator-linebreak */\nimport { useMutation } from '@apollo/client';\nimport { GENERATE_SHARE_LINK } from '../../graphql/mutations/share';\nimport {\n GET_SHARED_LINKS,\n GET_SHARE_LINK,\n} from '../../graphql/queries/share/share';\n\nconst useGenerateShareLink = (songId, organisationRef) => {\n const [generateShareLink, { loading, data }] = useMutation(\n GENERATE_SHARE_LINK,\n {\n refetchQueries: [\n {\n query: GET_SHARE_LINK,\n variables: {\n where: {\n AND: [\n { column: 'SONGID', value: songId },\n { column: 'ORGANISATIONREF', value: organisationRef },\n ],\n },\n },\n },\n {\n query: GET_SHARED_LINKS,\n variables: {\n organisation_ref: organisationRef,\n },\n },\n ],\n }\n );\n\n const generateShareLinkRequest = () => {\n generateShareLink({\n variables: {\n input: { song_id: songId, organisation_ref: organisationRef },\n },\n fetchPolicy: 'network-only',\n });\n };\n\n return { generateShareLinkRequest, data, loading };\n};\n\nexport default useGenerateShareLink;\n","import { useQuery } from '@apollo/client';\nimport { GET_SHARED_LINKS } from '../../graphql/queries/share/share';\nimport { displayErrorMessage } from '../../utils/helpers';\n\nconst useGetSharedLinks = (organisationRef) => {\n const { data, loading } = useQuery(GET_SHARED_LINKS, {\n variables: {\n organisation_ref: organisationRef,\n },\n onError: () => displayErrorMessage('Could not get shared links'),\n });\n\n return { data, loading };\n};\n\nexport default useGetSharedLinks;\n","import { useQuery } from '@apollo/client';\nimport { GET_SHARE_LINK } from '../../graphql/queries/share/share';\nimport { displayErrorMessage } from '../../utils/helpers';\n\nconst useGetShareLink = (songId, organisationRef) => {\n const { data, loading } = useQuery(GET_SHARE_LINK, {\n variables: {\n song_id: songId,\n organisation_ref: organisationRef,\n },\n onError: () => displayErrorMessage(),\n });\n\n return { data, loading };\n};\n\nexport default useGetShareLink;\n","/* eslint-disable no-irregular-whitespace */\n/* eslint-disable no-unused-vars */\n/* eslint-disable @typescript-eslint/no-unused-vars */\nimport React from 'react';\n\nconst ModalHeader = ({ shareLink, hasReachedSharingLimit }) => (\n <>\n
              \n
              Share link
              \n \n \"\"\n \n
              \n {shareLink ? (\n

              \n Copy the link below to share with students at home. The link will expire\n after 14 days and can be managed and renewed in your account area.\n

              \n ) : (\n

              \n {hasReachedSharingLimit ? (\n <>\n You have reached your limit and can no longer generate share links.\n Visit the Manage Account area to manage your student links.\n \n ) : (\n <>Generate a link to share this song with students at home.\n )}\n

              \n )}\n

              \n You are sharing this resource, subject to our agreed{' '}\n \n Terms & Conditions  \n \n for its use.\n

              \n \n);\n\nexport default ModalHeader;\n","import { useMutation } from '@apollo/client';\nimport { RENEW_SHARED_LINK } from '../../graphql/mutations/share';\nimport { GET_SHARED_LINKS } from '../../graphql/queries/share/share';\n\nconst useRenewSharedLink = () => {\n const [renewSharedLink, { loading, data }] = useMutation(RENEW_SHARED_LINK, {\n refetchQueries: [\n {\n query: GET_SHARED_LINKS,\n },\n ],\n });\n\n const renewSharedLinkRequest = (id) => {\n renewSharedLink({\n variables: { id },\n });\n };\n\n return { renewSharedLinkRequest, loading, data };\n};\n\nexport default useRenewSharedLink;\n","/* eslint-disable react-hooks/exhaustive-deps */\nimport React, { useEffect } from 'react';\nimport useRenewSharedLink from '../../../../hooks/Share/useRenewSharedLink';\nimport { displaySuccessMessage } from '../../../../utils/helpers';\n\nconst RenewLink = ({ shareLink, setLoadingRenewShareLink }) => {\n const { renewSharedLinkRequest, loading, data } = useRenewSharedLink();\n let className = 'alert alert-warning text__fs-10';\n if (loading) {\n className += ' disable-element';\n }\n\n data?.renewSharedLink && displaySuccessMessage();\n\n useEffect(() => {\n setLoadingRenewShareLink(loading);\n }, [loading]);\n\n return (\n
              \n This song's share link has expired.{' '}\n {\n e.preventDefault();\n renewSharedLinkRequest(shareLink.id);\n }}\n className=\"text__underline\"\n >\n Click here\n {' '}\n to renew.\n
              \n );\n};\n\nexport default RenewLink;\n","/* eslint-disable operator-linebreak */\n/* eslint-disable implicit-arrow-linebreak */\n/* eslint-disable no-return-assign */\nimport { useReactiveVar } from '@apollo/client';\nimport React, { useState, useEffect } from 'react';\nimport useGenerateShareLink from '../../../../hooks/Share/useGenerateShareLink';\nimport useGetSharedLinks from '../../../../hooks/Share/useGetSharedLinks';\nimport useGetShareLink from '../../../../hooks/Share/useGetShareLink';\nimport { organisationLoggedInAs, user } from '../../../../utils/reactiveVars';\nimport ModalHeader from './ModalHeader';\nimport RenewLink from './RenewLink';\n\nexport const generateShareLink = (uuid, songId) =>\n `${document.location.origin}/shared/song/${songId}/${uuid}`;\n\nconst ShareSongModal = ({ itemType, songId }) => {\n if (itemType !== 'SONG') return null;\n\n const [isCopied, setIsCopied] = useState(false);\n const [generatedShareLink, setGeneratedShareLink] = useState(null);\n const [loadingRenewShareLink, setLoadingRenewShareLink] = useState(false);\n\n const selectedOrganisation = useReactiveVar(organisationLoggedInAs);\n const organisationRef = selectedOrganisation?.id || null;\n\n const { data: getShareLinkData, loading: loadingGetShareLink } =\n useGetShareLink(songId, organisationRef);\n\n const {\n data: generateShareLinkData,\n generateShareLinkRequest,\n loading: loadingGenerateShareLink,\n } = useGenerateShareLink(songId, organisationRef);\n\n const { data: sharedLinks } = useGetSharedLinks(organisationRef);\n const { activeSysub } = user();\n\n const sharedLinksCount = sharedLinks?.getSharedLinks?.length || 0;\n const sharedLinksCountLimit = activeSysub ? 35 : 5;\n const hasReachedSharingLimit = sharedLinksCount >= sharedLinksCountLimit;\n\n useEffect(() => {\n setTimeout(() => setIsCopied(false), 5000);\n }, [isCopied]);\n\n // reset mutation data stored in state when song id or organisation changes\n useEffect(() => {\n setGeneratedShareLink(null);\n }, [songId, selectedOrganisation]);\n\n useEffect(() => {\n if (generateShareLinkData?.generateShareLink) {\n setGeneratedShareLink(generateShareLinkData?.generateShareLink);\n }\n }, [generateShareLinkData]);\n\n const loading =\n loadingGetShareLink || loadingGenerateShareLink || loadingRenewShareLink;\n const shareLink = getShareLinkData?.getShareLink || generatedShareLink;\n\n const disableButton = loading || hasReachedSharingLimit;\n\n return (\n \n \n
              \n
              \n {loading && (\n
              \n Please wait...\n
              \n )}\n \n {shareLink?.status === 'Expired' && (\n \n )}\n\n {shareLink && (\n
              \n
              \n
              \n \n
              \n
              \n
              \n {\n e.preventDefault();\n navigator.clipboard.writeText(\n generateShareLink(shareLink?.uuid, songId)\n );\n setIsCopied(true);\n }}\n >\n \n \n
              \n
              \n )}\n {!shareLink && (\n generateShareLinkRequest()}\n disabled={disableButton}\n >\n Generate Share Link\n \n )}\n\n {isCopied && (\n copied!\n )}\n
              \n
              \n \n \n );\n};\n\nexport default ShareSongModal;\n","import React from 'react';\nimport { showModal } from '../../../../styles/js/modals';\n\nconst SharePlaylist = ({ show }) => {\n if (!show) return null;\n\n return (\n
              \n showModal('sharePlaylistModal')}\n >\n {' '}\n Share this playlist\n \n
              \n );\n};\n\nexport default SharePlaylist;\n","import React from 'react';\n\nconst ModalHeader = ({ headerText }) => (\n
              \n
              {headerText}
              \n \n \"\"\n \n
              \n);\n\nexport default ModalHeader;\n","/* eslint-disable react-hooks/exhaustive-deps */\n/* eslint-disable implicit-arrow-linebreak */\nimport { useReactiveVar } from '@apollo/client';\nimport React, { useEffect, useState } from 'react';\nimport Tappable from 'react-tappable';\nimport useAddToFavourites from '../../../../hooks/Favourite/useAddToFavourites';\nimport useRemoveFromFavourites from '../../../../hooks/Favourite/useRemoveFromFavourites';\nimport {\n userFavouriteAssemblies,\n userFavouriteResources,\n userFavouriteSongs,\n} from '../../../../utils/reactiveVars';\n\nconst Favourite = ({ itemType, id, show }) => {\n if (!show) return null;\n\n const { addToFavouriteRequest } = useAddToFavourites(itemType, id);\n const { removeFromFavouritesRequest } = useRemoveFromFavourites(itemType, id);\n\n const [iconState, setIconState] = useState('inactive');\n\n const favSongs = useReactiveVar(userFavouriteSongs);\n const favResources = useReactiveVar(userFavouriteResources);\n const favAssemblies = useReactiveVar(userFavouriteAssemblies);\n\n const fnMap = {\n SONG: favSongs,\n RESOURCE: favResources,\n ASSEMBLY: favAssemblies,\n };\n\n useEffect(() => {\n const isAlreadyFavourited = () =>\n fnMap[itemType]?.some((item) => item.id === id);\n\n return isAlreadyFavourited()\n ? setIconState('active')\n : setIconState('inactive');\n }, [favSongs, id, favResources, favAssemblies]);\n\n return (\n
              \n {\n if (iconState !== 'active') {\n addToFavouriteRequest.send();\n return setIconState('active');\n }\n removeFromFavouritesRequest.send();\n return setIconState('inactive');\n }}\n data-dismiss=\"modal\"\n >\n {' '}\n \n {iconState === 'active' ? 'Remove from favourites' : 'Favourite'}\n \n \n
              \n );\n};\n\nexport default Favourite;\n","import React from 'react';\nimport { showModal } from '../../../../styles/js/modals';\n\nconst EditPlaylist = ({ show }) => {\n if (!show) return null;\n\n return (\n
              \n {\n e.preventDefault();\n showModal('editPlaylistModal');\n }}\n >\n {' '}\n Edit playlist\n \n
              \n );\n};\nexport default EditPlaylist;\n","import React from 'react';\nimport { showModal } from '../../../../styles/js/modals';\n\nconst AddTo = ({ modalId, show }) => {\n if (!show) return null;\n\n return (\n
              \n {\n e.preventDefault();\n showModal(`${modalId}addToPlaylistAndCollection`);\n }}\n >\n Add\n to...\n \n
              \n );\n};\n\nexport default AddTo;\n","import React from 'react';\nimport { showModal } from '../../../../styles/js/modals';\n\nconst Share = ({ show }) => {\n if (!show) return null;\n\n return (\n
              \n {\n e.preventDefault();\n showModal('share-modal');\n }}\n >\n {' '}\n Share\n \n
              \n );\n};\n\nexport default Share;\n","import React from 'react';\nimport { showModal } from '../../../../styles/js/modals';\n\nconst RemoveFrom = ({ show, type }) => {\n if (!show) return null;\n\n return (\n
              \n {\n e.preventDefault();\n showModal('removeModal');\n }}\n >\n \"bin\"\n Remove from {type.from}\n \n
              \n );\n};\n\nexport default RemoveFrom;\n","import React from 'react';\nimport { showModal } from '../../../../styles/js/modals';\nimport { deleteModalObj } from '../../../../utils/reactiveVars';\n\nconst DeletePlaylist = ({ itemType, id, show }) => {\n if (!show) return null;\n\n return (\n
              \n {\n e.preventDefault();\n deleteModalObj({ itemType, id });\n showModal('deleteModal');\n }}\n >\n \"bin\"\n Delete playlist\n \n
              \n );\n};\n\nexport default DeletePlaylist;\n","import { useMutation } from '@apollo/client';\nimport { COPY_PLAYLIST } from '../../graphql/mutations/playlist';\nimport { GET_PLAYLISTS } from '../../graphql/queries/playlist/playlist';\nimport {\n dismissLoadingMessage,\n displayErrorMessage,\n displaySuccessMessage,\n} from '../../utils/helpers';\nimport { organisationLoggedInAs } from '../../utils/reactiveVars';\n\nconst useCopyPlaylist = (setCopied) => {\n const [copyPlaylist, { loading }] = useMutation(COPY_PLAYLIST, {\n refetchQueries: [\n {\n query: GET_PLAYLISTS,\n variables: {\n createdBy: 'user',\n organisation_ref: organisationLoggedInAs()?.id || null,\n },\n },\n ],\n onError: () => {\n dismissLoadingMessage();\n displayErrorMessage();\n },\n onCompleted: () => {\n displaySuccessMessage('Playlist copied!');\n setCopied(true);\n },\n });\n\n const copyPlaylistRequest = (id) => {\n copyPlaylist({\n variables: { id },\n });\n };\n\n loading && dismissLoadingMessage('Please wait...');\n\n return { copyPlaylistRequest, loading };\n};\n\nexport default useCopyPlaylist;\n","import React from 'react';\nimport useCopyPlaylist from '../../../../hooks/Playlist/useCopyPlaylist';\n\nconst CopyPlaylist = ({ id, show }) => {\n if (!show) return null;\n\n const { copyPlaylistRequest } = useCopyPlaylist();\n\n return (\n
              \n {\n e.preventDefault();\n copyPlaylistRequest(id);\n }}\n >\n {' '}\n Copy Playlist\n \n
              \n );\n};\n\nexport default CopyPlaylist;\n","import { useMutation } from '@apollo/client';\nimport { COPY_COLLECTION } from '../../graphql/mutations/collection';\nimport { GET_USER_COLLECTIONS } from '../../graphql/queries/collection/collection';\nimport {\n dismissLoadingMessage,\n displayErrorMessage,\n displaySuccessMessage,\n} from '../../utils/helpers';\n\nconst useCopyCollection = (setCopied) => {\n const [copyCollection, { loading }] = useMutation(COPY_COLLECTION, {\n refetchQueries: [\n {\n query: GET_USER_COLLECTIONS,\n },\n ],\n onError: () => {\n dismissLoadingMessage();\n displayErrorMessage();\n },\n onCompleted: () => {\n dismissLoadingMessage();\n displaySuccessMessage('Collection copied!');\n setCopied(true);\n },\n });\n\n loading && dismissLoadingMessage('Please wait...');\n\n const copyCollectionRequest = (id) => {\n copyCollection({\n variables: {\n id,\n },\n });\n };\n\n return { copyCollectionRequest, loading };\n};\n\nexport default useCopyCollection;\n","import React from 'react';\nimport useCopyCollection from '../../../../hooks/Collection/useCopyCollection';\n\nconst CopyCollection = ({ show, id }) => {\n if (!show) return null;\n\n const { copyCollectionRequest } = useCopyCollection();\n\n return (\n
              \n {\n e.preventDefault();\n copyCollectionRequest(id);\n }}\n >\n {' '}\n Copy collection\n \n
              \n );\n};\n\nexport default CopyCollection;\n","import { useQuery } from '@apollo/client';\nimport { GET_PLAYLIST_SHARE_LINK } from '../../graphql/queries/playlist/playlist';\nimport { displayErrorMessage } from '../../utils/helpers';\n\nconst useGetPlaylistShareLink = (playlistId) => {\n const { data, loading } = useQuery(GET_PLAYLIST_SHARE_LINK, {\n variables: {\n playlist_id: playlistId,\n },\n onError: () => displayErrorMessage(),\n });\n\n return { data, loading };\n};\n\nexport default useGetPlaylistShareLink;\n","/* eslint-disable implicit-arrow-linebreak */\nimport React, { useEffect, useState } from 'react';\nimport { displaySuccessMessage } from '../../../../../../../utils/helpers';\n\nconst CopyShareLink = ({ shareLink }) => {\n if (!shareLink) return null;\n const { playlistId, uuid } = shareLink;\n\n const [copiedLinkId, setCopiedLinkId] = useState(null);\n\n const shareLinkUrl = `${document.location.origin}/shared/playlist/${playlistId}/${uuid}`;\n\n useEffect(() => {\n setTimeout(() => setCopiedLinkId(null), 5000);\n }, [copiedLinkId]);\n\n copiedLinkId && displaySuccessMessage('Link copied!');\n\n return (\n
              \n
              \n
              \n \n
              \n
              \n
              \n {\n e.preventDefault();\n navigator.clipboard.writeText(shareLinkUrl);\n setCopiedLinkId(shareLink.id);\n }}\n >\n \n \n
              \n
              \n );\n};\n\nexport default CopyShareLink;\n","import { useMutation } from '@apollo/client';\nimport { GENERATE_PLAYLIST_SHARE_LINK } from '../../graphql/mutations/playlist';\nimport {\n dismissLoadingMessage,\n displayErrorMessage,\n displayLoadingMessage,\n displaySuccessMessage,\n} from '../../utils/helpers';\n\nconst useGeneratePlaylistShareLink = (setGeneratedShareLink) => {\n const [generatePlaylistShareLink, { loading }] = useMutation(\n GENERATE_PLAYLIST_SHARE_LINK,\n {\n onError: () => {\n dismissLoadingMessage();\n displayErrorMessage('Could not generate playlist share link.');\n },\n onCompleted: (res) => {\n setGeneratedShareLink(res.generatePlaylistShareLink);\n dismissLoadingMessage();\n displaySuccessMessage('Playlist share link generated!');\n },\n }\n );\n\n const generatePlaylistShareLinkRequest = (id) => {\n generatePlaylistShareLink({\n variables: { playlist_id: id },\n });\n };\n\n loading && displayLoadingMessage();\n\n return { generatePlaylistShareLinkRequest };\n};\n\nexport default useGeneratePlaylistShareLink;\n","/* eslint-disable operator-linebreak */\nimport React from 'react';\nimport useGeneratePlaylistShareLink from '../../../../../../../hooks/Playlist/useGeneratePlaylistShareLink';\n\nconst GenerateShareLink = ({ setGeneratedShareLink, hide, playlistId }) => {\n if (hide) return null;\n\n const { generatePlaylistShareLinkRequest, loading } =\n useGeneratePlaylistShareLink(setGeneratedShareLink);\n\n return (\n <>\n generatePlaylistShareLinkRequest(playlistId)}\n disabled={loading}\n >\n Generate share link\n \n \n );\n};\n\nexport default GenerateShareLink;\n","/* eslint-disable operator-linebreak */\nimport React, { useState } from 'react';\nimport useGetPlaylistShareLink from '../../../../../../../hooks/Playlist/useGetPlaylistShareLink';\nimport CopyShareLink from './CopyShareLink';\nimport GenerateShareLink from './GenerateShareLink';\n\nconst GeneratePlaylistShareLink = ({ playlistId }) => {\n const { data: getShareLinkData, loading: loadingGetShareLink } =\n useGetPlaylistShareLink(playlistId);\n\n const [generatedShareLink, setGeneratedShareLink] = useState(null);\n\n const shareLink =\n getShareLinkData?.getPlaylistShareLink || generatedShareLink;\n\n return (\n <>\n

              \n Create a link to share a copy of this playlist with anyone who has a\n Sparkyard subscription.\n

              \n {loadingGetShareLink && Please wait...}\n\n \n \n \n );\n};\n\nexport default GeneratePlaylistShareLink;\n","import { useMutation } from '@apollo/client';\nimport { EDIT_PLAYLIST } from '../../graphql/mutations/playlist';\nimport {\n GET_PLAYLIST,\n GET_PLAYLISTS,\n} from '../../graphql/queries/playlist/playlist';\nimport {\n dismissLoadingMessage,\n displayErrorMessage,\n displayLoadingMessage,\n displaySuccessMessage,\n} from '../../utils/helpers';\n\nconst useSharePlaylist = (id, organisationRef) => {\n const [sharePlaylist, { loading }] = useMutation(EDIT_PLAYLIST, {\n refetchQueries: [\n {\n query: GET_PLAYLIST,\n variables: {\n id,\n organisation_ref: organisationRef,\n },\n },\n {\n query: GET_PLAYLISTS,\n variables: {\n createdBy: 'user',\n organisation_ref: organisationRef,\n },\n },\n ],\n notifyOnNetworkStatusChange: true,\n });\n\n const sharePlaylistRequest = (deleteId = null) => {\n const inputPayload = deleteId\n ? { delete: [deleteId] }\n : { upsert: [{ organisation_ref: organisationRef }] };\n\n sharePlaylist({\n variables: {\n id,\n input: {\n shares: {\n ...inputPayload,\n },\n },\n },\n })\n .then(() => {\n displaySuccessMessage();\n dismissLoadingMessage();\n })\n .catch(() => {\n displayErrorMessage();\n dismissLoadingMessage();\n });\n };\n\n loading && displayLoadingMessage();\n\n return { sharePlaylistRequest, loading };\n};\n\nexport default useSharePlaylist;\n","import React, { useEffect, useState } from 'react';\nimport useSharePlaylist from '../../../../../../hooks/Playlist/useSharePlaylist';\nimport { organisationLoggedInAs } from '../../../../../../utils/reactiveVars';\n\nconst SharePlaylistWithOrganisation = ({ id, sharePlaylist }) => {\n const organisationRef = organisationLoggedInAs()?.id || null;\n const { sharePlaylistRequest, loading } = useSharePlaylist(\n id,\n organisationRef\n );\n\n const [state, setState] = useState(sharePlaylist?.hasSharedWithOrganisation);\n const text = state ? 'Stop sharing' : 'Share with my Organization';\n\n useEffect(() => {\n setState(sharePlaylist?.hasSharedWithOrganisation);\n }, [id, sharePlaylist]);\n\n const handleSharePlaylist = () => {\n const deleteId = state ? sharePlaylist.shareId : null;\n sharePlaylistRequest(deleteId);\n };\n\n return (\n <>\n

              \n Share this Playlist with everyone within your organization. You will\n still be able to edit it, but other users can also create their own copy\n

              \n handleSharePlaylist()}\n disabled={loading}\n data-dismiss=\"modal\"\n >\n {text}\n \n \n );\n};\n\nexport default SharePlaylistWithOrganisation;\n","import React from 'react';\nimport GeneratePlaylistShareLink from './GeneratePlaylistShareLink/Index';\nimport SharePlaylistWithOrganisation from './SharePlaylistWithOrganisation';\n\nconst ModalBody = ({ id, sharePlaylist }) => (\n <>\n \n \n \n);\n\nexport default ModalBody;\n","/* eslint-disable no-irregular-whitespace */\n/* eslint-disable no-unused-vars */\n/* eslint-disable @typescript-eslint/no-unused-vars */\nimport React from 'react';\n\nconst ModalHeader = () => (\n <>\n
              \n
              Share Options
              \n \n \"\"\n \n
              \n \n);\n\nexport default ModalHeader;\n","import React from 'react';\nimport ModalBody from './ModalBody/Index';\nimport ModalHeader from './ModalHeader';\n\nconst SharePlaylistModal = ({ id, sharePlaylist }) => (\n \n \n
              \n
              \n \n \n
              \n
              \n \n \n);\n\nexport default SharePlaylistModal;\n","import React from 'react';\nimport { showModal } from '../../../../styles/js/modals';\n\nconst HidePC = ({ hidePC }) => {\n if (!hidePC) return null;\n\n return (\n
              \n {\n e.preventDefault();\n showModal('hidePCModal');\n }}\n >\n {' '}\n Unfollow {hidePC}\n \n
              \n );\n};\n\nexport default HidePC;\n","import { useMutation } from '@apollo/client';\nimport { useHistory } from 'react-router-dom';\nimport { HIDE_SHARED_COLLECTION } from '../../graphql/mutations/collection';\nimport { GET_COLLECTIONS_SHARED_WITH_ORGANISATION } from '../../graphql/queries/collection/collection';\nimport {\n dismissLoadingMessage,\n displaySuccessMessage,\n} from '../../utils/helpers';\nimport { organisationLoggedInAs } from '../../utils/reactiveVars';\n\nconst useHideSharedCollection = () => {\n const organisationRef = organisationLoggedInAs()?.id || null;\n const history = useHistory();\n\n const [hideSharedCollection, { loading }] = useMutation(\n HIDE_SHARED_COLLECTION,\n {\n refetchQueries: [\n {\n query: GET_COLLECTIONS_SHARED_WITH_ORGANISATION,\n variables: {\n organisation_ref: organisationRef,\n },\n },\n ],\n onCompleted: () => {\n dismissLoadingMessage();\n displaySuccessMessage('Collection unfollowed!');\n history.push('/collections');\n },\n }\n );\n\n const hideSharedCollectionRequest = (collectionId) => {\n hideSharedCollection({\n variables: {\n collection_id: collectionId,\n organisation_ref: organisationRef,\n },\n });\n };\n\n return { hideSharedCollectionRequest, loading };\n};\n\nexport default useHideSharedCollection;\n","import { useMutation } from '@apollo/client';\nimport { useHistory } from 'react-router-dom';\nimport { HIDE_SHARED_PLAYLIST } from '../../graphql/mutations/playlist';\nimport { GET_PLAYLISTS_SHARED_WITH_ORGANISATION } from '../../graphql/queries/playlist/playlist';\nimport {\n dismissLoadingMessage,\n displaySuccessMessage,\n} from '../../utils/helpers';\nimport { organisationLoggedInAs } from '../../utils/reactiveVars';\n\nconst useHideSharedPlaylist = () => {\n const organisationRef = organisationLoggedInAs()?.id || null;\n const history = useHistory();\n\n const [hideSharedPlaylist, { loading }] = useMutation(HIDE_SHARED_PLAYLIST, {\n refetchQueries: [\n {\n query: GET_PLAYLISTS_SHARED_WITH_ORGANISATION,\n variables: {\n organisation_ref: organisationRef,\n },\n },\n ],\n onCompleted: () => {\n dismissLoadingMessage();\n displaySuccessMessage('Playlist unfollowed!');\n history.push('/songs/playlists');\n },\n });\n\n const hideSharedPlaylistRequest = (playlistId) => {\n hideSharedPlaylist({\n variables: {\n playlist_id: playlistId,\n organisation_ref: organisationRef,\n },\n });\n };\n\n return { hideSharedPlaylistRequest, loading };\n};\n\nexport default useHideSharedPlaylist;\n","/* eslint-disable operator-linebreak */\nimport React from 'react';\nimport useHideSharedCollection from '../../../hooks/Collection/useHideSharedCollection';\nimport useHideSharedPlaylist from '../../../hooks/Playlist/useHideSharedPlaylist';\n\nconst HidePCModal = ({ type, id }) => {\n const { hideSharedCollectionRequest, loading: loadingHideSharedCollection } =\n useHideSharedCollection();\n const { hideSharedPlaylistRequest, loading: loadingHideSharedPlaylist } =\n useHideSharedPlaylist();\n\n const fnMap = {\n collection: hideSharedCollectionRequest,\n playlist: hideSharedPlaylistRequest,\n };\n\n const shouldDisableButton =\n loadingHideSharedCollection || loadingHideSharedPlaylist;\n\n return (\n \n
              \n
              \n
              \n
              \n You will lose access to this {type}. Are you sure?\n
              \n\n fnMap[type](id)}\n disabled={shouldDisableButton}\n data-dismiss=\"modal\"\n >\n Continue\n \n \n Cancel\n \n
              \n
              \n
              \n \n );\n};\n\nexport default HidePCModal;\n","/* eslint-disable react-hooks/exhaustive-deps */\n/* eslint-disable arrow-body-style */\n/* eslint-disable operator-linebreak */\nimport { useReactiveVar } from '@apollo/client';\nimport React, { useEffect } from 'react';\nimport { withRouter } from 'react-router-dom';\nimport { modalActions } from '../../../../utils/reactiveVars';\nimport { getUserFromLocalStorage } from '../../../../utils/user';\nimport AddToPlaylistAndCollectionModal from '../AddToPlaylistAndCollectionModal';\nimport DeleteModal from '../DeleteModal';\nimport EditPlaylistModal from '../Playlist/EditPlaylistModal';\nimport RemoveModal from '../RemoveModal';\nimport ShareSongModal from '../ShareSongModal/ShareSongModal';\nimport SharePlaylist from './SharePlaylist';\nimport ModalHeader from './ModalHeader';\nimport Favourite from './Favourite';\nimport EditPlaylist from './EditPlaylist';\nimport AddTo from './AddTo';\nimport Share from './Share';\nimport RemoveFrom from './RemoveFrom';\nimport DeletePlaylist from './DeletePlaylist';\nimport CopyPlaylist from './CopyPlaylist';\nimport CopyCollection from './CopyCollection';\nimport SharePlaylistModal from '../Playlist/SharePlaylistModal/Index';\nimport HidePC from './HidePC';\nimport HidePCModal from '../HidePCModal';\n\nconst ActionsModal = ({ fullscreenView }) => {\n useEffect(() => {\n getUserFromLocalStorage();\n }, []);\n\n if (!getUserFromLocalStorage()) return null;\n\n const {\n headerText,\n favourite,\n addToPlaylist,\n addToCollection,\n share,\n modalId,\n type,\n deletePlaylist,\n id,\n itemType,\n editPlaylist,\n playlistName,\n sharePlaylist,\n canCopyPlaylist,\n copyCollection,\n hidePC,\n } = useReactiveVar(modalActions);\n\n const showCollectionOrPlaylist = () => {\n if (addToCollection && addToPlaylist) return 'both';\n return addToCollection ? 'collection' : 'playlist';\n };\n\n return (\n <>\n \n \n
              \n
              \n \n \n \n \n \n \n \n \n \n \n \n
              \n
              \n \n \n \n {share && }\n {type && }\n \n \n {sharePlaylist && (\n \n )}\n {hidePC && }\n \n );\n};\n\nexport default withRouter(ActionsModal);\n","/* eslint-disable max-len */\n/* eslint-disable react-hooks/exhaustive-deps */\n/* eslint-disable no-shadow */\n/* eslint-disable @typescript-eslint/no-shadow */\nimport React, { useEffect } from 'react';\nimport Decimal from 'decimal.js';\nimport 'twin.macro';\nimport 'styled-components/macro';\nimport { FullScreen, useFullScreenHandle } from 'react-full-screen';\nimport { useObserver } from 'mobx-react-lite';\nimport { useReactiveVar } from '@apollo/client';\n\nimport MediaPlayer from './MediaPlayer';\nimport Slide from './Slide';\nimport useStores from '../hooks/useStores';\nimport useSongPage from '../hooks/useSongPage';\nimport {\n isMobileFullscreen,\n isPlayerFullscreen,\n playerActive,\n} from '../../utils/reactiveVars';\nimport SongTypes from './SongTypes';\nimport useMediaQuery from '../../hooks/Others/useMediaQuery';\nimport GuestHeader from './MobileFullscreen/GuestHeader';\nimport ActionsModal from '../../components/Shared/Modals/ActionsModal/Index';\n\nconst App = (): JSX.Element => {\n const { mediaPlayerStore } = useStores();\n\n const isFullScreen = useReactiveVar(isPlayerFullscreen);\n const isPlayerActive = useReactiveVar(playerActive);\n\n let currentPage = useSongPage(\n mediaPlayerStore.song?.pages,\n Math.round(\n +new Decimal(mediaPlayerStore.progress.playedSeconds).times(1000)\n ) // using decimal.js here cos js cannot do floating point operations well\n );\n\n const handle = useFullScreenHandle();\n\n const slidesInvisible = () => isPlayerActive && !isFullScreen;\n const isMobile = useMediaQuery(\n '(max-width: 767px), screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape)'\n );\n const isMobiileLandscape = useMediaQuery(\n 'screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape)'\n );\n const mobileHeight = isMobiileLandscape\n ? 'calc(42vw - 50px)'\n : 'calc(42% - 50px)';\n const height = isMobile ? mobileHeight : 'calc(100%)';\n\n let currentPageIndex = mediaPlayerStore.song.pages.indexOf(currentPage);\n const toggleFullScreen = () => {\n if (!isFullScreen) return handle.enter();\n return handle.exit();\n };\n\n if (mediaPlayerStore.progress.playedSeconds === mediaPlayerStore.duration) {\n mediaPlayerStore.switchSong(true);\n }\n\n if (currentPageIndex === -1 && mediaPlayerStore.song?.pages.length > 0) {\n currentPageIndex = mediaPlayerStore.song?.pages.length - 1;\n currentPage = mediaPlayerStore.song?.pages[currentPageIndex];\n }\n\n useEffect(() => {\n if (mediaPlayerStore.song?.pages.length < 1) {\n isPlayerFullscreen(false);\n mediaPlayerStore.setShowSlide(false);\n handle.exit();\n }\n }, [mediaPlayerStore.song]);\n\n const mobileFullscreen = useReactiveVar(isMobileFullscreen);\n let mediaPlayerClassName = 'd-block w-100 media-player z-100';\n let slidesClassName = '';\n if (slidesInvisible()) {\n mediaPlayerClassName += ' media-player-hide-slides';\n slidesClassName = 'media-player-hide-slides';\n }\n if (mobileFullscreen) {\n mediaPlayerClassName += ' flip-element';\n }\n\n return useObserver(() => (\n \n {isFullScreen && }\n
              \n \n \n \n \n \n
              \n \n
              \n ));\n};\n\nexport default App;\n","import React from 'react';\nimport { useReactiveVar } from '@apollo/client';\nimport './css/index.css';\nimport App from './components/App';\nimport './css/tailwind.generated.css';\nimport { playerActive } from '../utils/reactiveVars';\n\nconst Player = (): JSX.Element | null => {\n if (!useReactiveVar(playerActive)) return null;\n\n return ;\n};\n\nexport default Player;\n","import React from 'react';\n\nconst LeftIcon = () => {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default LeftIcon;\n","import React from 'react';\nconst RightShadow = () => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default RightShadow;\n","import React from 'react';\n\nconst RightIcon = () => {\n return (\n \n \n \n \n \n );\n};\n\nexport default RightIcon;\n","import React from 'react';\nconst RightShadow = () => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default RightShadow;\n","import React, { useState } from 'react';\nimport Tappable from 'react-tappable';\nimport { withRouter } from 'react-router-dom';\nimport LeftIcon from './LeftIcon';\nimport LeftShadow from './LeftShadow';\nimport RightIcon from './RightIcon';\nimport RightShadow from './RightShadow';\nimport classNames from 'classnames';\nimport { Swiper, SwiperSlide } from 'swiper/react';\nimport { Navigation } from 'swiper';\n\nconst categories = [\n {\n link: '/assemblies',\n title: 'ASSEMBLIES',\n image: '/img/category-assemblies.png',\n color: '#c43bb7',\n imgHeight: '55px',\n },\n {\n link: '/sing-in-every-subject',\n title: 'Sing in Every Subject',\n image: '/img/category-sing-in-every-subject.png',\n color: '#f27021',\n imgHeight: '55px',\n },\n {\n link: '/school-routines-and-signals',\n title: 'School Routines & signals',\n image: '/img/category-school-routines.png',\n color: '#15a881',\n imgHeight: '62px',\n },\n {\n link: '/sing-for-fun',\n title: 'Sing for fun',\n image: '/img/category-sing-for-fun.png',\n color: '#0a7bc1',\n imgHeight: '57px',\n },\n {\n link: '/choirs-and-concerts',\n title: 'Choirs & Concerts',\n image: '/img/category-choirs.png',\n color: '#de2962',\n imgHeight: '45px',\n },\n {\n link: '/sing-in-the-community',\n title: 'Sing in the community',\n image: '/img/category-sing-in-the-community.png',\n color: '#9670c7',\n imgHeight: '57px',\n },\n {\n link: '/wellbeing',\n title: 'Wellbeing',\n image: '/img/category-wellbeing.png',\n color: '#52788c',\n imgHeight: '60px',\n },\n {\n link: '/collective-worship',\n title: 'Collective Worship',\n image: '/img/category-collective-worship.png',\n color: '#65a22f',\n imgHeight: '54px',\n },\n];\n\nconst SwiperButton = ({ onPrev, onNext, hidePrev, hideNext }) => {\n return (\n <>\n {!hidePrev && (\n \n
              \n \n
              \n \n \n )}\n\n {!hideNext && (\n \n
              \n \n
              \n \n \n )}\n \n );\n};\n\nconst Categories = ({ history }) => {\n const [reachBeginning, setReachBeginning] = useState(true);\n const [reachEnd, setReachEnd] = useState(false);\n const [swiperCategories, setSwiperCategories] = useState(null);\n\n return (\n
              \n
              \n {\n setSwiperCategories(swiper);\n }}\n allowTouchMove={false}\n onReachBeginning={() => {\n setReachBeginning(true);\n }}\n onReachEnd={() => {\n setReachEnd(true);\n }}\n onSlidePrevTransitionStart={() => {\n setReachEnd(false);\n }}\n onSlideNextTransitionStart={() => {\n setReachBeginning(false);\n }}\n modules={[Navigation]}\n >\n {categories.map((category, index) => (\n \n \n history.push(category.link)}\n >\n \n

              {category.title}

              \n \n
              \n \n ))}\n \n\n swiperCategories.slidePrev()}\n onNext={() => swiperCategories.slideNext()}\n hidePrev={reachBeginning}\n hideNext={reachEnd}\n />\n
              \n \n );\n};\n\nexport default withRouter(Categories);\n","import React from 'react';\n\nconst ContentHereSquare = () => (\n
              \n
              \n
              \n \n
              \n
              \n
              \n);\n\nexport default ContentHereSquare;\n","/* eslint-disable @typescript-eslint/naming-convention */\nimport { useReactiveVar } from '@apollo/client';\nimport { useObserver } from 'mobx-react-lite';\nimport React from 'react';\nimport Tappable from 'react-tappable';\nimport useGetSongForPlayer from '../../hooks/Song/useGetSongForPlayer';\nimport useStores from '../../player/hooks/useStores';\n\nimport {\n organisationLoggedInAs,\n playerActive,\n selectedSongId,\n} from '../../utils/reactiveVars';\n\nconst PlaySong = ({ mini, id, nativities, esongbookId }) => {\n const organisation_ref = useReactiveVar(organisationLoggedInAs)?.id || null;\n const { mediaPlayerStore } = useStores();\n const { getSongRequest } = useGetSongForPlayer(\n false,\n esongbookId,\n organisation_ref\n );\n // const dimensions = mini ? 18 : 50;\n\n let className = 'song__thumbnail__icon';\n\n if (mini) {\n className = 'songslist__item__thumbnail__play';\n }\n\n if (nativities) className += ' nativities__play-icon';\n\n const songStateClassName = mediaPlayerStore.playing\n ? 'song__thumbnail__icon__playing'\n : 'song__thumbnail__icon__ready';\n\n const selectedSong = useReactiveVar(selectedSongId);\n const onClick = (e) => {\n e.preventDefault();\n if (mediaPlayerStore.ready && mediaPlayerStore.song.id === id) {\n mediaPlayerStore.setPlaying(!mediaPlayerStore.playing);\n } else {\n mediaPlayerStore.setPlaying(false);\n getSongRequest(id);\n }\n playerActive(true);\n };\n\n return useObserver(() => (\n onClick(e)}>\n {\n e.preventDefault();\n }}\n >\n \n {mediaPlayerStore.song.id === id && id === selectedSong && (\n \n )}\n \n \n ));\n};\n\nexport default PlaySong;\n","/* eslint-disable jsx-a11y/no-static-element-interactions */\n/* eslint-disable no-unused-vars */\n/* eslint-disable react/no-danger */\nimport React from 'react';\nimport Tappable from 'react-tappable';\nimport { withRouter } from 'react-router-dom';\nimport useStores from '../../../player/hooks/useStores';\nimport { albumArtDefault } from '../../../utils/helpers';\nimport PlaySong from '../PlaySong';\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nconst SongItem = ({\n title,\n id,\n albumArt,\n songs = [],\n signingVideos,\n history,\n}) => {\n const { mediaPlayerStore } = useStores();\n const songLink = `/song/${id}`;\n\n return (\n
              \n
              \n {signingVideos ? (\n history.push(songLink)}>\n \n \n ) : (\n <>\n \n mediaPlayerStore.setPlaylist(songs)}\n >\n \n \n \n )}\n
              \n history.push(songLink)}\n />\n
              \n );\n};\n\nexport default withRouter(SongItem);\n","/* eslint-disable react/jsx-curly-newline */\n/* eslint-disable implicit-arrow-linebreak */\n/* eslint-disable react-hooks/exhaustive-deps */\nimport React from 'react';\nimport Tappable from 'react-tappable';\nimport { useLocation, withRouter } from 'react-router-dom';\nimport { songChoiceSongs } from '../../../utils/reactiveVars';\nimport ContentHereSquare from '../ContentHereSquare';\nimport SongItem from '../SongItem';\nimport classNames from 'classnames';\n\nconst SongCards = ({\n title,\n songs,\n pageTitle,\n name,\n type,\n signingVideos,\n showContentHereImg,\n history,\n filterParams,\n seeAllRoute,\n limit = 6,\n onTap,\n}) => {\n if ((!songs || songs?.length < 1) && !showContentHereImg) return null;\n const location = useLocation();\n\n // eslint-disable-next-line operator-linebreak\n const linkLocation =\n type === 'Recommended' ? '/recommended-songs' : '/song-choice';\n\n return (\n <>\n
              \n

              {title}

              \n {\n if (onTap) {\n onTap();\n } else {\n songChoiceSongs({\n path: location.pathname,\n pageTitle,\n name,\n type,\n songs,\n filterParams,\n });\n history.push(seeAllRoute || linkLocation);\n }\n }}\n >\n SEE ALL\n \n
              \n
              \n
              \n {songs\n ?.slice(0, limit)\n .map(({ title: songTitle, id, albumArt }, index) => (\n \n \n
              \n ))}\n {showContentHereImg && }\n
              \n \n \n );\n};\n\nexport default withRouter(SongCards);\n","import { useReactiveVar } from '@apollo/client';\nimport React from 'react';\nimport { playerActive } from '../../utils/reactiveVars';\n\nconst BottomSpacer = () => {\n if (!useReactiveVar(playerActive)) return null;\n return
              ;\n};\n\nexport default BottomSpacer;\n","import { gql } from '@apollo/client';\n\nexport const AddressFieldsFragment = gql`\n fragment AddressFields on Address {\n id\n addressRef\n detailFirstName\n detailSurname\n detailCounty\n detailCompany\n detailLine1\n detailLine2\n detailTown\n detailPostcode\n detailCountry\n detailPhone\n detailFax\n isDefaultBilling\n }\n`;\n\nexport const SysubFieldsFragment = gql`\n fragment SysubFields on Sysub {\n id\n sysubRef\n dateCreated\n dateUpdated\n dateRenewal\n dateUpdated\n isActive\n willRenew\n syprodDescription\n syprodPupilsMax\n syprodReadablePrice\n subscriptionType\n manualRationale\n stripeCollectionMethod\n scheduledDeactivation\n }\n`;\n\nexport const MemberFieldsFragment = gql`\n fragment MemberFields on Member {\n id\n memberUserRef\n isAdmin\n sendEmails\n }\n`;\n\nexport const InviteFieldsFragment = gql`\n fragment InviteFields on Invite {\n id\n email\n inviteRef\n firstname\n surname\n }\n`;\n\nexport const OrganisationFieldsFragment = gql`\n fragment OrganisationFields on Organisation {\n id\n syId\n displayName\n detailHeadCount\n organisationRef\n detailName\n detailCategory\n detailHeadCount\n detailBillingEmail\n readOnly\n effectiveUserCount\n effectiveUserLimit\n avatar\n playsPast30Days\n playsThisMonth\n addresses {\n ...AddressFields\n }\n sysubs {\n ...SysubFields\n }\n users {\n id\n email\n firstname\n surname\n ootaId\n }\n members {\n ...MemberFields\n }\n invites {\n ...InviteFields\n }\n joinRequests {\n id\n email\n firstname\n surname\n }\n }\n ${AddressFieldsFragment}\n ${SysubFieldsFragment}\n ${MemberFieldsFragment}\n ${InviteFieldsFragment}\n`;\n\nexport const MembershipFieldsFragment = gql`\n fragment MembershipFields on Membership {\n id\n isAdmin\n sendEmails\n organisation {\n ...OrganisationFields\n }\n }\n ${OrganisationFieldsFragment}\n`;\n","import { gql } from '@apollo/client';\nimport {\n MembershipFieldsFragment,\n OrganisationFieldsFragment,\n} from './fragments';\n\nexport const GET_MEMBERSHIPS = gql`\n query Memberships {\n memberships {\n ...MembershipFields\n }\n }\n ${MembershipFieldsFragment}\n`;\n\nexport const GET_ORGANISATION = gql`\n query Organisation($id: ID!) {\n organisation(id: $id) {\n ...OrganisationFields\n }\n }\n ${OrganisationFieldsFragment}\n`;\n\nexport const LEAVE_ORGANISATION = gql`\n mutation LeaveOrganisation($id: ID!) {\n leaveOrganisation(id: $id)\n }\n`;\n\nexport const GET_ORGANISATION_PLAYS = gql`\n query OrganisationPlays($input: OrganisationPlaysInput!) {\n organisationPlays(input: $input) {\n counts\n }\n }\n`;\n","import { useQuery } from '@apollo/client';\nimport { GET_MEMBERSHIPS } from '../../graphql/queries/organisation/organisation';\n\nconst useGetMemberships = () => {\n const { data, loading, error } = useQuery(GET_MEMBERSHIPS);\n\n return { data, loading, error };\n};\n\nexport default useGetMemberships;\n","import { useHistory } from 'react-router-dom';\nimport { showModal } from '../../styles/js/modals';\nimport { dismissWarningMessage } from '../../utils/helpers';\nimport {\n currentlySelectedSubscription,\n currentOrganisationHasActiveSub,\n user,\n userHasActiveSubOrTrial,\n} from '../../utils/reactiveVars';\n\nconst useHandleSubscriptionAndTrials = () => {\n const history = useHistory();\n\n const hasActiveSubscription = (subs) => {\n const firstActiveSub = subs?.find((sub) => sub.isActive);\n // fallback empty object is needed here so sub details get reset when\n // organizations are switched\n currentlySelectedSubscription(firstActiveSub || {});\n return !!firstActiveSub;\n };\n\n const handleOrganisationSub = (organisation) => {\n const hasActiveSub = hasActiveSubscription(organisation?.sysubs);\n currentOrganisationHasActiveSub(hasActiveSub);\n\n if (!hasActiveSub) {\n history.push('/manage-account');\n showModal('noSubscriptionModal');\n } else {\n dismissWarningMessage();\n }\n };\n\n const handleUserSubOrTrial = () => {\n const { activeTrial, sysubs } = user();\n const hasActiveSubOrTrial = hasActiveSubscription(sysubs) || activeTrial;\n const trialRecentlyEnded = sysubs?.length === 0 && !activeTrial;\n userHasActiveSubOrTrial(hasActiveSubOrTrial);\n\n if (!hasActiveSubOrTrial) {\n history.push('/manage-account');\n\n if (trialRecentlyEnded) {\n showModal('trialEndedModal');\n } else {\n showModal('noSubscriptionModal');\n }\n } else {\n dismissWarningMessage();\n }\n };\n\n return { handleOrganisationSub, handleUserSubOrTrial };\n};\n\nexport default useHandleSubscriptionAndTrials;\n","/* eslint-disable operator-linebreak */\nimport React from 'react';\nimport useHandleSubscriptionAndTrials from '../../../../../hooks/Organisation/useHandleSubscriptionAndTrials';\nimport { defaultOrganisationLogo } from '../../../../../utils/objects';\nimport {\n loggedInAsPrivateUser,\n organisationLoggedInAs,\n playerActive,\n} from '../../../../../utils/reactiveVars';\nimport { persistOrganisationLoggedInAs } from '../../../../../utils/user';\n\nconst Organisation = ({\n logo,\n name,\n organisation,\n disableClick,\n privateUser,\n}) => {\n const { handleOrganisationSub, handleUserSubOrTrial } =\n useHandleSubscriptionAndTrials();\n\n return (\n {\n e.preventDefault();\n if (!disableClick && organisation) {\n organisationLoggedInAs(organisation);\n loggedInAsPrivateUser(false);\n handleOrganisationSub(organisation);\n persistOrganisationLoggedInAs(organisation.id);\n }\n if (privateUser) {\n organisationLoggedInAs(null);\n loggedInAsPrivateUser(true);\n handleUserSubOrTrial();\n localStorage.setItem('loggedInAsPrivateUser', 'true');\n }\n if (playerActive()) window.location.reload();\n }}\n >\n \"\"\n

              {name}

              \n \n );\n};\n\nexport default Organisation;\n","import { useReactiveVar } from '@apollo/client';\nimport React from 'react';\nimport { organisationLoggedInAs } from '../../../../../utils/reactiveVars';\nimport Organisation from './Organisation';\n\nconst Organisations = ({ organisations, userAvatar }) => {\n if (!organisations || organisations?.length < 1) return null;\n\n const selectedOrganisation = useReactiveVar(organisationLoggedInAs);\n const availableOrganisations = [...organisations].filter(\n (organisation) => organisation.id !== selectedOrganisation?.id\n );\n\n return (\n <>\n
              \n
              \n

              Log in as

              \n
              \n {availableOrganisations?.map(({ id, organisation }) => (\n \n ))}\n {selectedOrganisation && (\n \n )}\n \n );\n};\n\nexport default Organisations;\n","/* eslint-disable implicit-arrow-linebreak */\n/* eslint-disable operator-linebreak */\n/* eslint-disable react-hooks/exhaustive-deps */\nimport { useReactiveVar } from '@apollo/client';\nimport React, { useEffect } from 'react';\nimport useGetMemberships from '../../../../../hooks/Organisation/useGetMemberships';\nimport useHandleSubscriptionAndTrials from '../../../../../hooks/Organisation/useHandleSubscriptionAndTrials';\nimport {\n defaultAvatarMid,\n defaultOrganisationLogo,\n} from '../../../../../utils/objects';\nimport {\n currentOrganisationHasActiveSub,\n loggedInAsPrivateUser,\n organisationLoggedInAs,\n user,\n userHasActiveSubOrTrial,\n} from '../../../../../utils/reactiveVars';\nimport {\n getOrganisationFromLocalStorage,\n persistOrganisationLoggedInAs,\n} from '../../../../../utils/user';\nimport Organisation from './Organisation';\nimport Organisations from './Organisations';\n\nconst OrganisationsDropdown = () => {\n const { avatar, activeTrial, sysubs } = useReactiveVar(user);\n const hasActiveSubOrTrial = sysubs?.[0]?.isActive || activeTrial;\n\n const userAvatar = avatar || defaultAvatarMid;\n\n const { data, loading } = useGetMemberships();\n const { handleOrganisationSub, handleUserSubOrTrial } =\n useHandleSubscriptionAndTrials();\n\n const organisationCount = data?.memberships?.length || 0;\n const currentlyLoggedInAsOrganisation = useReactiveVar(\n organisationLoggedInAs\n );\n const isPrivateUser = useReactiveVar(loggedInAsPrivateUser);\n\n const getFirstOrganisationWithActiveSubscription = (memberships) => {\n const organisationWithActiveSub = memberships?.find(\n (membership) => membership.organisation.sysubs?.[0]?.isActive\n );\n\n return organisationWithActiveSub?.organisation;\n };\n\n const validateOrganisationId = (id, memberships) => {\n const validOrganisation = memberships?.find(\n (membership) => membership.organisation.id === id\n );\n return validOrganisation;\n };\n\n // attempt to log user in based on what they last logged in as\n // default to first organisation with an active subscription\n // if no organisation has an active sub check if user does and default to user pov\n // if user does not have an active sub default to first organisation in list\n // if no organisation exists default to user pov\n useEffect(() => {\n if (\n organisationCount > 0 &&\n !isPrivateUser &&\n !currentlyLoggedInAsOrganisation\n ) {\n if (localStorage.getItem('loggedInAsPrivateUser') === 'true') {\n loggedInAsPrivateUser(true);\n handleUserSubOrTrial();\n return;\n }\n\n const savedOrganisation = getOrganisationFromLocalStorage();\n if (savedOrganisation) {\n const validOrganisation = validateOrganisationId(\n savedOrganisation,\n data?.memberships\n );\n\n if (validOrganisation) {\n organisationLoggedInAs(validOrganisation.organisation);\n handleOrganisationSub(validOrganisation.organisation);\n persistOrganisationLoggedInAs(validOrganisation.id);\n return;\n }\n }\n\n const organisationWithSub = getFirstOrganisationWithActiveSubscription(\n data?.memberships\n );\n\n if (organisationWithSub) {\n organisationLoggedInAs(organisationWithSub);\n handleOrganisationSub(organisationWithSub);\n } else if (hasActiveSubOrTrial) {\n loggedInAsPrivateUser(true);\n handleUserSubOrTrial();\n } else {\n const firstOrganisation = data?.memberships?.[0]?.organisation;\n organisationLoggedInAs(firstOrganisation);\n handleOrganisationSub(firstOrganisation);\n }\n }\n\n if (data && organisationCount < 1) {\n loggedInAsPrivateUser(true);\n handleUserSubOrTrial();\n localStorage.setItem('loggedInAsPrivateUser', 'true');\n }\n }, [data]);\n\n useEffect(() => {\n if (data) {\n if (organisationLoggedInAs() && !currentOrganisationHasActiveSub()) {\n handleOrganisationSub(organisationLoggedInAs);\n }\n if (loggedInAsPrivateUser() && !userHasActiveSubOrTrial()) {\n handleUserSubOrTrial();\n }\n }\n }, [data]);\n\n if (loading) return null;\n\n const photoToDisplay = isPrivateUser\n ? userAvatar\n : currentlyLoggedInAsOrganisation?.avatar || defaultOrganisationLogo;\n\n const addBorderToAvatar = isPrivateUser ? 'user-avatar-organisations' : '';\n\n const hideSwitch = organisationCount < 1 ? 'd-none' : '';\n\n const organisationName =\n currentlyLoggedInAsOrganisation?.displayName ||\n currentlyLoggedInAsOrganisation?.detailName;\n\n return (\n
              \n \n \"\"\n \n {organisationName || 'Private license user'}\n \n \n \n
              \n

              Logged in as

              \n
              \n
              \n {organisationCount > 0 && currentlyLoggedInAsOrganisation ? (\n \n ) : (\n \n )}\n
              \n\n \n
              \n
              \n );\n};\n\nexport default OrganisationsDropdown;\n","/* eslint-disable operator-linebreak */\nimport { useReactiveVar } from '@apollo/client';\nimport React from 'react';\nimport useGetMemberships from '../../../../../hooks/Organisation/useGetMemberships';\nimport { organisationLoggedInAs } from '../../../../../utils/reactiveVars';\n\nconst OrganisationName = () => {\n const { data } = useGetMemberships();\n\n const organisationCount = data?.memberships?.length || 0;\n\n const selectedOrganisation = useReactiveVar(organisationLoggedInAs);\n const organisationName =\n selectedOrganisation?.displayName ||\n selectedOrganisation?.detailName ||\n 'Private license user';\n\n const hideName = organisationCount < 1 ? 'd-none' : '';\n\n return (\n

              {organisationName}

              \n );\n};\n\nexport default OrganisationName;\n","import React from 'react';\nimport Tappable from 'react-tappable';\nimport { withRouter } from 'react-router-dom';\n\nconst ManageAccountDropdown = ({ avatarSrc, history }) => (\n
              \n \n \"\"\n \n \n \n \"\"\n

              Help centre

              \n \n \n \"\"\n

              Buy songs and songbooks

              \n
              \n {\n history.push('/manage-account');\n }}\n >\n \"\"\n

              Manage account

              \n \n {\n history.push('/signout');\n }}\n >\n \"\"\n

              Sign out

              \n \n
              \n \n);\nexport default withRouter(ManageAccountDropdown);\n","import { forwardRef } from 'react';\nimport { Link } from 'react-router-dom';\n\nexport const RouterLinkOrNot = forwardRef(\n ({ children, href, target, ...props }, ref) => {\n const isHtmlLink =\n (href?.includes('://') ||\n href?.startsWith('#') ||\n href?.includes('mailto:')) ??\n false;\n\n const rel = target === '_blank' ? 'noopener noreferrer' : '';\n\n const baseProps = {\n href: href || '',\n target,\n rel,\n };\n\n if (isHtmlLink) {\n return (\n \n {children}\n \n );\n }\n\n return {children};\n }\n);\n\nexport default RouterLinkOrNot;\n","/* eslint-disable react/no-array-index-key */\nimport React from 'react';\nimport { albumArtDefault } from '../../utils/helpers';\n\nconst FeaturedAlbumArt = ({ songs, roundedCorners }) => {\n if (songs?.length < 1) {\n const borderRadius = roundedCorners ? 'border-10' : '';\n return (\n
              \n \n
              \n );\n }\n\n const albumArts = [];\n songs?.forEach((song) => {\n albumArts.push(song.albumArt || albumArtDefault);\n });\n\n const featuredAlbumArts = [...new Set(albumArts)].splice(0, 4);\n const borderRadius = roundedCorners ? 'border-10' : '';\n const radiusMap = {\n 0: { borderTopLeftRadius: '10px' },\n 1: { borderTopRightRadius: '10px' },\n 2: { borderBottomLeftRadius: '10px' },\n 3: { borderBottomRightRadius: '10px' },\n };\n\n return (\n <>\n {featuredAlbumArts.length < 4 ? (\n
              \n \n
              \n ) : (\n
              \n {featuredAlbumArts.map((img, i) => (\n \n ))}\n
              \n )}\n \n );\n};\n\nexport default FeaturedAlbumArt;\n","import { useQuery } from '@apollo/client';\nimport { GET_COLLECTION } from '../../graphql/queries/collection/collection';\nimport {\n dismissLoadingMessage,\n displayErrorMessage,\n displayLoadingMessage,\n} from '../../utils/helpers';\n\nconst useGetCollection = (id, organisationRef = null, options = {}) => {\n const { data, loading, error } = useQuery(GET_COLLECTION, {\n variables: {\n id,\n organisation_ref: organisationRef,\n },\n onCompleted: () => dismissLoadingMessage(),\n onError: () => displayErrorMessage(),\n });\n\n if (loading && !options.loadSilently) {\n displayLoadingMessage('Loading Collection...');\n }\n\n return { data, loading, error };\n};\n\nexport default useGetCollection;\n","import React from 'react';\nimport { useReactiveVar } from '@apollo/client';\nimport FeaturedAlbumArt from '../../Shared/FeaturedAlbumArt';\nimport { albumArtDefault } from '../../../utils/helpers';\nimport useGetCollection from '../../../hooks/Collection/useGetCollection';\nimport { organisationLoggedInAs } from '../../../utils/reactiveVars';\n\nconst SearchCollectionArt = ({ id }) => {\n const organisationRef = useReactiveVar(organisationLoggedInAs)?.id || null;\n\n const { data } = useGetCollection(id, organisationRef, {\n loadSilently: true,\n });\n\n return (\n <>\n {data ? (\n
              \n \n
              \n ) : (\n \n )}\n \n );\n};\n\nexport default SearchCollectionArt;\n","import { useQuery, useReactiveVar } from '@apollo/client';\nimport { GET_PLAYLIST } from '../../graphql/queries/playlist/playlist';\nimport {\n dismissLoadingMessage,\n displayErrorMessage,\n} from '../../utils/helpers';\nimport { organisationLoggedInAs } from '../../utils/reactiveVars';\n\nconst useGetPlaylist = (id) => {\n const organisationRef = useReactiveVar(organisationLoggedInAs)?.id || null;\n const { data, loading, error, fetchMore } = useQuery(GET_PLAYLIST, {\n variables: {\n id,\n organisation_ref: organisationRef,\n },\n onCompleted: () => dismissLoadingMessage(),\n onError: () => {\n dismissLoadingMessage();\n displayErrorMessage('Could not load playlist');\n },\n });\n\n return { data, loading, error, fetchMore };\n};\n\nexport default useGetPlaylist;\n","import React from 'react';\nimport FeaturedAlbumArt from '../../Shared/FeaturedAlbumArt';\nimport { albumArtDefault } from '../../../utils/helpers';\nimport useGetPlaylist from '../../../hooks/Playlist/useGetPlaylist';\n\nconst SearchPlaylistArt = ({ id }) => {\n const { data } = useGetPlaylist(id);\n\n return (\n <>\n {data ? (\n
              \n \n
              \n ) : (\n \n )}\n \n );\n};\n\nexport default SearchPlaylistArt;\n","import { gql } from '@apollo/client';\n\nexport const NotificationFieldsFragment = gql`\n fragment NotificationFields on Notification {\n id\n title\n subtitle\n type\n typeId\n image\n read\n slug\n customLink\n openInNewTab\n }\n`;\n","import { gql } from '@apollo/client';\nimport { NotificationFieldsFragment } from '../../queries/notification/fragments';\n\nexport const MARK_USER_NOTIFICATIONS_AS_READ = gql`\n mutation MarkUserNotificationsAsRead($id: ID) {\n markUserNotificationsAsRead(id: $id) {\n ...NotificationFields\n }\n }\n ${NotificationFieldsFragment}\n`;\n","import { gql } from '@apollo/client';\nimport { NotificationFieldsFragment } from './fragments';\n\nexport const GET_USER_NOTIFICATIONS = gql`\n query GetUserNotifications($organisationRef: ID) {\n getUserNotifications(organisationRef: $organisationRef) {\n ...NotificationFields\n }\n }\n ${NotificationFieldsFragment}\n`;\n","import { useMutation } from '@apollo/client';\nimport { MARK_USER_NOTIFICATIONS_AS_READ } from '../../graphql/mutations/notifications';\nimport { GET_USER_NOTIFICATIONS } from '../../graphql/queries/notification/notification';\n\nconst useMarkUserNotificationsAsRead = () => {\n const [markUserNotificationsAsRead, { loading }] = useMutation(\n MARK_USER_NOTIFICATIONS_AS_READ,\n { refetchQueries: [{ query: GET_USER_NOTIFICATIONS }] }\n );\n\n const markUserNotificationsAsReadRequest = (id) => {\n markUserNotificationsAsRead({ variables: { id } });\n };\n\n return { markUserNotificationsAsReadRequest, loading };\n};\n\nexport default useMarkUserNotificationsAsRead;\n","/* eslint-disable operator-linebreak */\n/* eslint-disable react-hooks/exhaustive-deps */\nimport React, { useMemo } from 'react';\nimport RouterLinkOrNot from '../../../../RouterLinkOrNot';\nimport SearchCollectionArt from '../../../../../Search/Sections/SearchCollectionArt';\nimport { albumArtDefault } from '../../../../../../utils/helpers';\nimport SearchPlaylistArt from '../../../../../Search/Sections/SearchPlaylistArt';\nimport useMarkUserNotificationsAsRead from '../../../../../../hooks/Notification/useMarkUserNotificationsAsRead';\n\nconst NotificationItem = ({ notification }) => {\n const {\n id,\n image,\n slug,\n title,\n subtitle,\n read,\n type,\n typeId,\n customLink,\n openInNewTab,\n } = notification;\n\n const { markUserNotificationsAsReadRequest } =\n useMarkUserNotificationsAsRead();\n\n const link = useMemo(() => {\n const linkMap = {\n song: `/song/${typeId}`,\n songbook: `/songbook/${typeId}`,\n assembly_plan: `/assembly/${typeId}`,\n collection: `/collection/${typeId}`,\n playlist: `/songs/playlists/${typeId}`,\n guide: `/resources/${slug}`,\n blog: `/resources/${slug}`,\n song_calendar: typeId === '0' ? `/song-calendar` : `/event/${slug}`,\n custom: customLink,\n user: '/manage-account',\n before_trial_ends: '/manage-account',\n before_sub_ends: '/manage-account',\n after_first_login: customLink,\n };\n return linkMap[type];\n }, []);\n\n const handleMarkAsRead = () => {\n markUserNotificationsAsReadRequest(id);\n };\n\n const TitleAndSubtitle = () => (\n
              \n
              {title}
              \n
              {subtitle}
              \n
              \n );\n\n const notificationImage = useMemo(() => {\n if (image) return image;\n return type === 'song_calendar'\n ? '/img/Resource-thumbnail_Calendar-resources.png'\n : albumArtDefault;\n }, []);\n\n return (\n <>\n {type === 'custom' ? (\n \n \"thumb\" \n \n \n ) : (\n \n {type === 'collection' && }\n {type === 'playlist' && }\n {type === 'user' && (\n <>\n {image ? (\n \n ) : (\n
              \n {subtitle.split(' ').slice(0, 2)[0][0]}{' '}\n {subtitle.split(' ').slice(0, 2)[1][0]}\n
              \n )}\n \n )}\n {!['collection', 'playlist', 'user'].includes(type) && (\n \n )}\n \n \n )}\n \n );\n};\n\nexport default NotificationItem;\n","import { useQuery, useReactiveVar } from '@apollo/client';\nimport { GET_USER_NOTIFICATIONS } from '../../graphql/queries/notification/notification';\nimport { organisationLoggedInAs } from '../../utils/reactiveVars';\n\nconst useGetUserNotifications = () => {\n const organisationRef = useReactiveVar(organisationLoggedInAs)?.id || null;\n\n const { data, loading, error } = useQuery(GET_USER_NOTIFICATIONS, {\n variables: { organisationRef },\n pollInterval: 180000\n });\n\n return { data, loading, error };\n};\n\nexport default useGetUserNotifications;\n","/* eslint-disable operator-linebreak */\nimport React from 'react';\nimport useMarkUserNotificationsAsRead from '../../hooks/Notification/useMarkUserNotificationsAsRead';\n\nconst MarkAsRead = () => {\n const { markUserNotificationsAsReadRequest, loading } =\n useMarkUserNotificationsAsRead();\n\n const onClick = (e) => {\n e.preventDefault();\n markUserNotificationsAsReadRequest();\n };\n\n return (\n \n Mark all as read\n \n );\n};\n\nexport default MarkAsRead;\n","import React, { useMemo } from 'react';\nimport { Link } from 'react-router-dom';\nimport NotificationItem from './NotificationItem';\nimport useGetUserNotifications from '../../../../../../hooks/Notification/useGetUserNotifications';\nimport Loading from '../../../../Loading';\nimport MarkAsRead from '../../../../../Notifications/MarkAsRead';\n\nconst Notifications = () => {\n const { data, loading, error } = useGetUserNotifications();\n\n const unreadNotificationsCount = useMemo(\n () => data?.getUserNotifications.filter((item) => !item.read).length || 0,\n [data]\n );\n\n return (\n
              \n \n \"\"\n {unreadNotificationsCount > 0 && (\n
              \n )}\n \n \n {loading && }\n {error && Could not load notifications}\n {data && (\n
              \n
              \n \n SEE ALL ({unreadNotificationsCount} unread)\n \n \n
              \n {data.getUserNotifications.slice(0, 5).map((notification) => (\n \n ))}\n
              \n )}\n
              \n
              \n );\n};\n\nexport default Notifications;\n","/* eslint-disable implicit-arrow-linebreak */\n/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React from 'react';\nimport { useForm } from 'react-hook-form';\nimport { useReactiveVar } from '@apollo/client';\nimport { useHistory, useLocation } from 'react-router-dom';\nimport queryString from 'query-string';\nimport { user } from '../../../../../utils/reactiveVars';\nimport { defaultAvatarMid } from '../../../../../utils/objects';\nimport OrganisationsDropdown from '../OrganisationsDropdown/OrganisationsDropdown';\nimport OrganisationName from './OrganisationName';\nimport ManageAccountDropdown from '../ManageAccountDropdown';\nimport Notifications from './Notifications/Notifications';\n\nconst MainNav = () => {\n const { handleSubmit, register } = useForm();\n const history = useHistory();\n const handleSearch = (data) =>\n history.push(`/search?text=${encodeURIComponent(data.text)}`);\n const location = useLocation();\n const { text: searchParam } = queryString.parse(location.search);\n\n const { avatar } = useReactiveVar(user);\n\n const avatarSrc = avatar || defaultAvatarMid;\n\n return (\n
              \n \n
              \n );\n};\n\nexport default MainNav;\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport { useReactiveVar } from '@apollo/client';\nimport React from 'react';\nimport Tappable from 'react-tappable';\nimport { withRouter } from 'react-router-dom';\nimport { defaultAvatarMid } from '../../../../../utils/objects';\nimport {\n isMobileFullscreen,\n isMobileSidebarOpen,\n user,\n} from '../../../../../utils/reactiveVars';\nimport Notifications from './Notifications/Notifications';\nimport PopupInfo from '../../../PopupInfo';\n\nconst MainNavMobile = ({ history, showSearchMenu, setShowSearchMenu }) => {\n const mobileFullscreen = useReactiveVar(isMobileFullscreen);\n const { avatar } = useReactiveVar(user);\n\n const avatarSrc = avatar || defaultAvatarMid;\n\n return (\n \n {!mobileFullscreen && (\n {\n e.preventDefault();\n isMobileSidebarOpen(true);\n document.body.style.overflow = 'hidden';\n }}\n >\n \"\"\n \n )}\n\n {mobileFullscreen ? (\n
              \n \n
              \n ) : (\n history.push('/')}\n >\n \"\"\n \n )}\n\n {!mobileFullscreen && (\n <>\n \n setShowSearchMenu(!showSearchMenu)}\n >\n \n \n \n \n )}\n \n );\n};\n\nexport default withRouter(MainNavMobile);\n","/* eslint-disable implicit-arrow-linebreak */\n/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React from 'react';\nimport Tappable from 'react-tappable';\nimport { useForm } from 'react-hook-form';\nimport { withRouter } from 'react-router-dom';\n\nconst SearchBarDropdown = ({ history }) => {\n const { handleSubmit, register } = useForm();\n const handleSearch = (data) =>\n history.push(`/search?text=${encodeURIComponent(data.text)}`);\n\n return (\n
              \n \n \n \n

              Categories

              \n
              \n
              \n {\n history.push('/assemblies');\n }}\n >\n

              ASSEMBLIES

              \n \n \n
              \n
              \n {\n history.push('/sing-in-every-subject');\n }}\n >\n

              \n Sing in
              Every
              Subject\n

              \n \n \n
              \n
              \n {\n history.push('/school-routines-and-signals');\n }}\n >\n

              \n School
              Routines
              & signals\n

              \n \n \n
              \n
              \n {\n history.push('/sing-for-fun');\n }}\n >\n

              \n Sing
              for fun\n

              \n \n \n
              \n
              \n {\n history.push('/choirs-and-concerts');\n }}\n >\n

              \n Choirs &
              Concerts\n

              \n \n \n
              \n
              \n {\n history.push('/sing-in-the-community');\n }}\n >\n

              \n Sing in the
              community\n

              \n \n \n
              \n
              \n {\n history.push('/wellbeing');\n }}\n >\n

              Wellbeing

              \n \n \n
              \n
              \n {\n history.push('/collective-worship');\n }}\n >\n

              \n Collective
              Worship\n

              \n \n \n
              \n
              \n
              \n );\n};\n\nexport default withRouter(SearchBarDropdown);\n","import React, { useState } from 'react';\nimport MainNav from './Sections/MainNav/MainNav';\nimport MainNavMobile from './Sections/MainNav/MainNavMobile';\nimport SearchBarDropdown from './Sections/SearchBarDropdown';\n\n/* eslint-disable jsx-a11y/anchor-is-valid */\nconst Header = () => {\n const [showSearchMenu, setShowSearchMenu] = useState(false);\n\n return (\n <>\n \n \n {showSearchMenu && }\n \n );\n};\n\nexport default Header;\n","import { useEffect } from 'react';\nimport { isMobileSidebarOpen } from '../utils/reactiveVars';\n\nconst useListenToOutsideClicks = (ref) => {\n useEffect(() => {\n const handleOutsideClick = (event) => {\n if (ref.current && !ref.current.contains(event.target)) {\n isMobileSidebarOpen(false);\n document.body.style.overflow = 'visible';\n }\n };\n\n document.addEventListener('mousedown', handleOutsideClick);\n return () => {\n document.removeEventListener('mousedown', handleOutsideClick);\n };\n }, [ref]);\n};\n\nexport default useListenToOutsideClicks;\n","import { useReactiveVar } from '@apollo/client';\nimport React from 'react';\nimport { calculateDaysLeftInTrial } from '../../../../utils/helpers';\nimport {\n currentlySelectedSubscription,\n user,\n} from '../../../../utils/reactiveVars';\n\nconst Countdown = () => {\n const loggedInUser = useReactiveVar(user);\n const currentSub = useReactiveVar(currentlySelectedSubscription);\n\n let daysLeft = null;\n let text = '';\n let clockClassName = 'd-inline-block mr-2';\n let shouldDisplayCountdown = true;\n\n if (loggedInUser.activeTrial || loggedInUser.activeSysub) {\n const state = loggedInUser.activeTrial ? 'trial' : 'sub';\n\n const stateMap = {\n trial: {\n fnParam: loggedInUser.trialDateUntil,\n text: 'days left of your free trial',\n },\n sub: {\n fnParam: currentSub?.dateRenewal || Math.floor(Date.now() / 1000),\n text: currentSub?.willRenew\n ? 'days left until renewal'\n : 'days left in your subscription',\n },\n };\n\n daysLeft = calculateDaysLeftInTrial(stateMap[state].fnParam);\n\n text = stateMap[state].text;\n if (state === 'sub' && daysLeft > 30) {\n shouldDisplayCountdown = false;\n }\n if (currentSub.subscriptionType === 'MANUAL' && !currentSub.dateRenewal) {\n shouldDisplayCountdown = false;\n }\n\n if (daysLeft < 6) {\n clockClassName += ' ring';\n }\n }\n\n if ((!daysLeft && daysLeft !== 0) || !shouldDisplayCountdown) return null;\n\n let textClassName = 'text__fs-13';\n if (daysLeft > 15) {\n textClassName += ' text__moderate-green';\n } else if (daysLeft < 16 && daysLeft > 5) {\n textClassName += ' text__pumpkin';\n } else if (daysLeft < 6) {\n textClassName += ' text__cerise-light';\n }\n\n return (\n
              \n \n {text}\n
              \n );\n};\n\nexport default Countdown;\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React from 'react';\nimport Tappable from 'react-tappable';\nimport { withRouter } from 'react-router-dom';\nimport Countdown from './Countdown';\n\nconst Logo = ({ history }) => (\n <>\n
              \n history.push('/')}\n >\n \"\"\n \n \n
              \n \n );\n\nexport default withRouter(Logo);\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React from 'react';\nimport Tappable from 'react-tappable';\nimport { withRouter } from 'react-router-dom';\n\nconst LinkGeneric = ({ iconUrl, text, route, history, location }) => (\n
            • \n {\n history.push(route || '#');\n }}\n >\n {text}\n

              {text}

              \n \n
            • \n);\n\nexport default withRouter(LinkGeneric);\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React from 'react';\nimport Tappable from 'react-tappable';\nimport { withRouter } from 'react-router-dom';\n\nconst LinkGenericMobile = ({ iconUrl, text, route, history }) => (\n
            • \n {\n history.push(route);\n }}\n >\n {text}\n

              {text}

              \n \n
            • \n);\n\nexport default withRouter(LinkGenericMobile);\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport { useReactiveVar } from '@apollo/client';\nimport React, { useEffect, useState } from 'react';\nimport Tappable from 'react-tappable';\nimport { withRouter } from 'react-router-dom';\nimport { openTabType } from '../../../../../../utils/reactiveVars';\n\nconst MyFavourites = ({ location, history }) => {\n const [isActive, setIsActive] = useState(false);\n const openTab = useReactiveVar(openTabType);\n\n useEffect(() => {\n setIsActive(openTab === 'favourite');\n }, [openTab]);\n\n return (\n \n {\n if (!isActive) {\n openTabType('favourite');\n } else {\n openTabType('');\n }\n }}\n >\n \"favourite\"\n

              My Favourites

              \n \n
                \n
              • \n {\n history.push('/favourite-songs');\n }}\n >\n Favourite Songs\n \n
              • \n
              • \n {\n history.push('/favourite-resources');\n }}\n >\n Favourite Resources\n \n
              • \n
              \n \n );\n};\n\nexport default withRouter(MyFavourites);\n","/* eslint-disable no-script-url */\n/* eslint-disable jsx-a11y/anchor-is-valid */\nimport { useReactiveVar } from '@apollo/client';\nimport React, { useEffect, useState } from 'react';\nimport Tappable from 'react-tappable';\nimport { withRouter } from 'react-router-dom';\nimport { openTabType } from '../../../../../../utils/reactiveVars';\n\nconst SongsAndPlaylist = ({ history }) => {\n const [isActive, setIsActive] = useState(false);\n const openTab = useReactiveVar(openTabType);\n\n useEffect(() => {\n setIsActive(openTab === 'songs');\n }, [openTab]);\n\n return (\n \n {\n if (!isActive) {\n openTabType('songs');\n } else {\n openTabType('');\n }\n }}\n >\n \"\"\n

              Songs and Playlists

              \n \n
                \n
              • \n {\n history.push('/songs');\n }}\n >\n All Songs\n \n
              • \n
              • \n {\n history.push('/songs/playlists');\n }}\n >\n All Playlists\n \n
              • \n
              • \n {\n history.push('/songs/all-songbooks');\n }}\n >\n All eSongbooks\n \n
              • \n
              • \n {\n history.push('/songs/nativities-and-musicals');\n }}\n >\n Purchased Nativities and Musicals\n \n
              • \n
              \n \n );\n};\n\nexport default withRouter(SongsAndPlaylist);\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React from 'react';\nimport Tappable from 'react-tappable';\nimport { withRouter } from 'react-router-dom';\n\nconst TreatBox = ({ location, history }) => (\n
            • \n {\n history.push('/treat-box');\n }}\n >\n \"\"\n

              \n Treat Box!\n

              \n \n
            • \n);\n\nexport default withRouter(TreatBox);\n","/* eslint-disable react-hooks/exhaustive-deps */\nimport React, { useEffect } from 'react';\nimport { useLocation } from 'react-router-dom';\nimport { openTabType } from '../../../../../utils/reactiveVars';\nimport LinkGeneric from './Lists/LinkGeneric';\nimport LinkGenericMobile from './Lists/LinkGenericMobile';\nimport MyFavourites from './Lists/MyFavourites';\n// import Resources from './Lists/Resources';\nimport SongsAndPlaylist from './Lists/SongsAndPlaylist';\nimport TreatBox from './Lists/TreatBox';\n\nconst SidebarList = () => {\n const location = useLocation();\n\n useEffect(() => {\n if (location.pathname.includes('favourite')) {\n openTabType('favourite');\n } else if (location.pathname.includes('/songs')) {\n openTabType('songs');\n } else openTabType('');\n }, []);\n\n return (\n
                \n \n \n {/* */}\n \n \n \n \n \n \n {/* */}\n
              • \n \n \"Help\n

                Help centre

                \n \n
              • \n \n \n \n
              \n );\n};\nexport default SidebarList;\n","/* eslint-disable operator-linebreak */\nimport { useReactiveVar } from '@apollo/client';\nimport React from 'react';\nimport { defaultAvatarMid } from '../../../../utils/objects';\nimport { user } from '../../../../utils/reactiveVars';\nimport OrganisationsDropdown from '../../Header/Sections/OrganisationsDropdown/OrganisationsDropdown';\n\nconst SidebarProfile = () => {\n const loggedInUser = useReactiveVar(user);\n if (!loggedInUser) return null;\n const { firstname, surname, avatar } = loggedInUser;\n\n return (\n
                \n
              • \n \"\"\n

                \n {firstname} {surname}\n

                \n
              • \n
              • \n \n
              • \n
              \n );\n};\n\nexport default SidebarProfile;\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport { useReactiveVar } from '@apollo/client';\nimport React, { useRef } from 'react';\nimport useListenToOutsideClicks from '../../../hooks/useListenToOutsideClicks';\nimport { isMobileSidebarOpen } from '../../../utils/reactiveVars';\nimport Logo from './Sections/Logo';\nimport SidebarList from './Sections/SidebarList/Index';\nimport SidebarProfile from './Sections/SidebarProfile';\n\nconst Sidebar = () => {\n const wrapperRef = useRef(null);\n useListenToOutsideClicks(wrapperRef);\n\n return (\n \n
              \n \n \n \n
              \n \n );\n};\n\nexport default Sidebar;\n","/* eslint-disable func-names */\nimport $ from 'jquery';\n\nconst jquery = () => {\n $(document).ready(() => {\n // manually init carousel\n $('.carousel').carousel();\n // sidebar nav expand collapse for children\n // $('.sidebar__list__item').click(function () {\n // $(this).toggleClass('active');\n // });\n // /* mobile sidebar */\n // $('#sidebar-cta').click((e) => {\n // $('.aside').toggleClass('active');\n // e.stopPropagation();\n // });\n // $(document).click(() => {\n // $('#sidebar').removeClass('active');\n // });\n\n // desktop search input\n $('#searchbar').click(() => {\n $('.searchbar__dropdown').removeClass('d-none');\n $('.searchbar__icon-search').addClass('d-none');\n $('.searchbar__icon-cross').removeClass('d-none');\n });\n // mobile dropdown\n let show = false;\n $('body').on('click', '#search-dropdown-cta', function () {\n if (!show) {\n $('.searchbar__dropdown').removeClass('d-none');\n $('.searchbar__icon-search').addClass('d-none');\n $('.searchbar__icon-cross').removeClass('d-none');\n show = true;\n } else {\n $('.searchbar__dropdown').addClass('d-none');\n $('.searchbar__icon-search').removeClass('d-none');\n $('.searchbar__icon-cross').addClass('d-none');\n show = false;\n }\n });\n $('.searchbar__icon-search').click(() => {\n $('.searchbar__dropdown').addClass('d-none');\n $('.searchbar__icon-search').removeClass('d-none');\n $('.searchbar__icon-cross').addClass('d-none');\n });\n $('.searchbar__input, .searchbar__mobile__input').on('keyup', (e) => {\n if (e.key === 'Enter' || e.keyCode === 13) {\n $('.searchbar__dropdown').addClass('d-none');\n $('.searchbar__icon-search').removeClass('d-none');\n $('.searchbar__icon-cross').addClass('d-none');\n }\n });\n $('.searchbar__icon-cross').click(() => {\n $('.searchbar__input').val('');\n $('.searchbar__mobile__input').val('');\n $('.searchbar__dropdown').addClass('d-none');\n $('.searchbar__icon-search').removeClass('d-none');\n $('.searchbar__icon-cross').addClass('d-none');\n });\n // songs filter dropdown\n $(\n '#cta-filter-dropdown, #cta-filter-dropdown-cancel, #cta-filter-dropdown-apply, #cta-filter-dropdown-recommended'\n ).click(() => {\n $('.filter__dropdown').toggleClass('active');\n });\n // songs favorite\n $('.songslist__item__favorite, .icon__favorite, .item__favorite').click(\n () => {\n $(this).toggleClass('active');\n }\n );\n // song download and about\n $('.songpage__item__about__cta').click(() => {\n $('.songpage__item__about').toggleClass('active');\n });\n // resource download and about\n $('.resource__item__about__cta').click(() => {\n $('.resource__item__about').toggleClass('active');\n });\n // esongbook resource dropdown\n $('.esongbook__resources__cta').click(() => {\n $('.esongbook__resources').toggleClass('active');\n });\n\n // tooltips\n $('[data-toggle=\"tooltip\"]').tooltip();\n\n // modals\n $('#addTo, #share').click(() => {\n $('#actions').modal('hide');\n });\n if (document.location.pathname !== '/manage-account') {\n $('body').on('hidden.bs.modal', () => {\n $('.modal-backdrop').remove();\n });\n }\n });\n $(document).mouseup((e) => {\n const container = $('.searchbar__dropdown');\n\n // if the target of the click isn't the container nor a descendant of the container\n if (!container.is(e.target) && container.has(e.target).length === 0) {\n container.addClass('d-none');\n $('.searchbar__icon-search').removeClass('d-none');\n $('.searchbar__icon-cross').addClass('d-none');\n }\n });\n\n // const matches = $('.main__container :not(script)')\n // .contents()\n // .filter(function () {\n // return this.nodeType === 3;\n // })\n\n // console.log(matches);\n // matches.replaceWith(function () {\n // // console.log(this.nodeValue);\n // return this.nodeValue.replace('the', 'test new string');\n // });\n\n // for (let i = 0; i < matches.length; i++) {\n // matches[i].replaceWith(function () {\n // // console.log(this.nodeValue);\n // return this.nodeValue.replace('the', 'The new string');\n // });\n // }\n\n // console.log(\n // $('.main__container :not(script)')\n // .contents()\n // .filter(function () {\n // return this.nodeType === 3;\n // })\n // );\n};\n\nexport const hideToolTips = () => $('div').tooltip('hide');\n\nexport default jquery;\n","import { useEffect } from 'react';\nimport jquery from '../../styles/js/app';\n\nconst LoadJquery = () => {\n useEffect(() => {\n jquery();\n }, []);\n\n return null;\n};\n\nexport default LoadJquery;\n","import { gql } from '@apollo/client';\nimport { SysubFieldsFragment } from '../organisation/fragments';\n\nexport const UserInviteFieldsFragment = gql`\n fragment UserInviteFields on UserInvite {\n id\n organisationRef\n organisationName\n }\n`;\n\nexport const UserFieldsFragment = gql`\n fragment UserFields on User {\n id\n avatar\n email\n firstname\n surname\n company\n accessToken\n refreshToken\n tokenExpires\n roles\n subjects\n minAge\n maxAge\n isValidated\n ootaId\n activeSysub\n activeTrial\n trialDateFrom\n trialDateUntil\n validationRequired\n loginCount\n categories\n playsPast30Days\n playsThisMonth\n isAdmin\n questions\n sysubs {\n ...SysubFields\n }\n invites {\n ...UserInviteFields\n }\n marketingConsent\n }\n ${SysubFieldsFragment}\n ${UserInviteFieldsFragment}\n`;\n","import { gql } from '@apollo/client';\nimport { UserFieldsFragment } from './fragments';\n\nexport const GET_USER = gql`\n query Me {\n me {\n ...UserFields\n }\n }\n ${UserFieldsFragment}\n`;\n","/* eslint-disable react-hooks/exhaustive-deps */\n/* eslint-disable operator-linebreak */\nimport { useEffect, useState } from 'react';\nimport { differenceInMilliseconds } from 'date-fns';\nimport { useQuery } from '@apollo/client';\nimport { useHistory } from 'react-router-dom';\nimport { GET_USER } from '../../graphql/queries/user/user';\nimport { showModal } from '../../styles/js/modals';\nimport { sparkyardLoginUrl } from '../../utils/objects';\nimport { user } from '../../utils/reactiveVars';\n\nconst useGetUser = (options, disableRedirect) => {\n const [fetchTime, setFetchTime] = useState(6000);\n const queryOptions = {\n // pollInterval: 7000,\n fetchPolicy: 'cache-first',\n ...options,\n };\n\n const history = useHistory();\n\n useEffect(() => {\n const timeout = setTimeout(() => {\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n refetch();\n }, fetchTime - 300000);\n\n return () => clearTimeout(timeout);\n }, [fetchTime]);\n\n const { data, refetch } = useQuery(GET_USER, {\n ...queryOptions,\n onCompleted: (res) => {\n if (disableRedirect) {\n return;\n }\n if (res?.me === null) {\n window.location.href = sparkyardLoginUrl;\n return;\n }\n\n localStorage.setItem('user', JSON.stringify(res.me));\n user(res.me);\n\n const shouldRequireValidation =\n !res.me?.isValidated && res.me?.validationRequired;\n if (shouldRequireValidation) {\n history.push('/restricted');\n }\n\n const shouldShowInvitesModal =\n res.me.invites?.length > 0 && !shouldRequireValidation;\n if (shouldShowInvitesModal) {\n history.push('/manage-account');\n return showModal('invitesModal', true);\n }\n\n const timeNow = new Date();\n const timeForNextRefetch = differenceInMilliseconds(\n new Date(res.me.tokenExpires),\n new Date(\n timeNow.getUTCFullYear(),\n timeNow.getUTCMonth(),\n timeNow.getUTCDate(),\n timeNow.getUTCHours(),\n timeNow.getUTCMinutes(),\n timeNow.getUTCSeconds()\n )\n );\n\n setFetchTime(timeForNextRefetch);\n },\n notifyOnNetworkStatusChange: true,\n context: {\n headers: {\n forceRefresh: true,\n },\n },\n });\n\n return { data };\n};\n\nexport default useGetUser;\n","import { gql } from '@apollo/client';\n\nexport const GlossaryFieldsFragment = gql`\n fragment GlossaryFields on Glossary {\n id\n word\n definition\n }\n`;\n","import { gql } from '@apollo/client';\nimport { GlossaryFieldsFragment } from './fragments';\n\nexport const GET_GLOSSARIES = gql`\n query Glossaries {\n glossaries(active: true) {\n ...GlossaryFields\n }\n }\n ${GlossaryFieldsFragment}\n`;\n","import { useQuery } from '@apollo/client';\nimport { GET_FAVOURITE_ASSEMBLIES } from '../../graphql/queries/assembly/assembly';\n\nconst useGetFavouriteAssemblies = () => {\n const { data, loading, error } = useQuery(GET_FAVOURITE_ASSEMBLIES, {\n onError: () => {},\n });\n\n return { data, loading, error };\n};\n\nexport default useGetFavouriteAssemblies;\n","import { useQuery } from '@apollo/client';\nimport { toast } from 'react-toastify';\nimport { GET_FAVOURITE_RESOURCES } from '../../graphql/queries/resource/resource';\nimport { userFavouriteResources } from '../../utils/reactiveVars';\n\nconst useGetFavouriteResources = () => {\n const { data, loading, error } = useQuery(GET_FAVOURITE_RESOURCES, {\n onCompleted: (res) => {\n toast.dismiss('loading');\n userFavouriteResources(res?.userFavouriteResources);\n },\n onError: () => {},\n });\n\n return { data, loading, error };\n};\n\nexport default useGetFavouriteResources;\n","/* eslint-disable function-paren-newline */\n/* eslint-disable implicit-arrow-linebreak */\nimport { useQuery } from '@apollo/client';\nimport { useState } from 'react';\nimport { GET_FAVOURITE_SONGS } from '../../graphql/queries/song/song';\nimport { dismissLoadingMessage } from '../../utils/helpers';\nimport { userFavouriteSongs } from '../../utils/reactiveVars';\n\nconst useGetFavouriteSongs = () => {\n const [data, setData] = useState([]);\n const { loading, error, fetchMore } = useQuery(GET_FAVOURITE_SONGS, {\n onCompleted: (res) => {\n dismissLoadingMessage();\n const sortedSongs = [...res.userFavouriteSongs].sort((a, b) =>\n a.title.toLowerCase().localeCompare(b.title.toLowerCase(), 'en', {\n sensitivity: 'base',\n })\n );\n userFavouriteSongs(sortedSongs);\n setData({ userFavouriteSongs: sortedSongs });\n },\n onError: () => {},\n });\n\n return { data, loading, error, fetchMore };\n};\n\nexport default useGetFavouriteSongs;\n","/* eslint-disable operator-linebreak */\nimport React from 'react';\nimport { useQuery } from '@apollo/client';\nimport { GET_GLOSSARIES } from '../../../graphql/queries/glossary/glossary';\nimport useGetFavouriteAssemblies from '../../../hooks/Favourite/useGetFavouriteAssemblies';\nimport useGetFavouriteResources from '../../../hooks/Favourite/useGetFavouriteResources';\nimport useGetFavouriteSongs from '../../../hooks/Favourite/useGetFavouriteSongs';\nimport {\n glossaries,\n userFavouriteAssemblies,\n userFavouriteResources,\n userFavouriteSongs,\n} from '../../../utils/reactiveVars';\n\nconst GetCommonData = () => {\n const { data: glossaryData } = useQuery(GET_GLOSSARIES);\n if (glossaryData?.glossaries) {\n // sort glossaries according to the number of words in descending order\n // so that multiword words get matched first\n const sortedGlossaries = [...glossaryData?.glossaries].sort(\n (a, b) => b.word.split(' ').length - a.word.split(' ').length\n );\n glossaries(sortedGlossaries);\n }\n\n const { data: favouriteSongs } = useGetFavouriteSongs();\n favouriteSongs && userFavouriteSongs(favouriteSongs?.userFavouriteSongs);\n\n const { data: favouriteResources } = useGetFavouriteResources();\n favouriteResources &&\n userFavouriteResources(favouriteResources?.userFavouriteResources);\n\n const { data: favouriteAssemblies } = useGetFavouriteAssemblies();\n favouriteAssemblies &&\n userFavouriteAssemblies(favouriteAssemblies?.userFavouriteAssemblies);\n\n return <>;\n};\n\nexport default GetCommonData;\n","import { gql } from '@apollo/client';\n\nexport const SEND_INVITE = gql`\n mutation SendInvite($input: InviteInput!) {\n sendInvite(input: $input)\n }\n`;\n\nexport const CANCEL_INVITE = gql`\n mutation CancelInvite($input: CancelInviteInput!) {\n cancelInvite(input: $input)\n }\n`;\n\nexport const EDIT_MEMBER = gql`\n mutation EditMember($input: EditMemberInput!) {\n editMember(input: $input)\n }\n`;\n\nexport const REMOVE_MEMBER = gql`\n mutation RemoveMember($input: RemoveMemberInput!) {\n removeMember(input: $input)\n }\n`;\n\nexport const ADD_ADDRESS = gql`\n mutation AddAddress($input: AddAddressInput!) {\n addAddress(input: $input)\n }\n`;\n\nexport const EDIT_ADDRESS = gql`\n mutation EditAddress($input: EditAddressInput!) {\n editAddress(input: $input)\n }\n`;\n\nexport const UPDATE_ORGANISATION_LOGO = gql`\n mutation UpdateOrganisationLogo($input: UpdateOrganisationLogoInput!) {\n updateOrganisationLogo(input: $input)\n }\n`;\n\nexport const ACCEPT_OR_DECLINE_INVITE = gql`\n mutation AcceptOrDeclineInvite($input: AcceptOrDeclineInviteInput!) {\n acceptOrDeclineInvite(input: $input)\n }\n`;\n\nexport const UPSERT_ORGANISATION_NAME = gql`\n mutation UpsertOrganisationName(\n $syId: ID\n $input: UpdateOrganisationNameInput!\n ) {\n upsertOrganisationName(syId: $syId, input: $input)\n }\n`;\n\nexport const ACCEPT_OR_DECLINE_JOIN_REQUEST = gql`\n mutation AcceptOrDeclineJoinRequest($input: AcceptOrDeclineJoinRequestInput!) {\n acceptOrDeclineJoinRequest(input: $input)\n }\n`;\n","import { useMutation } from '@apollo/client';\nimport { ACCEPT_OR_DECLINE_INVITE } from '../../graphql/mutations/organisation';\nimport { GET_USER } from '../../graphql/queries/user/user';\nimport {\n displayErrorMessage,\n displaySuccessMessage,\n} from '../../utils/helpers';\nimport { persistOrganisationLoggedInAs } from '../../utils/user';\n\nconst useAcceptOrDeclineInvite = () => {\n const [acceptOrDeclineInvite, { loading }] = useMutation(\n ACCEPT_OR_DECLINE_INVITE,\n {\n refetchQueries: [{ query: GET_USER }],\n onError: () => displayErrorMessage('Something went wrong.'),\n }\n );\n\n const acceptOrDeclineInviteRequest = (input) => {\n const { organisationRef } = input;\n\n acceptOrDeclineInvite({\n variables: {\n input,\n },\n }).then(() => {\n persistOrganisationLoggedInAs(organisationRef);\n displaySuccessMessage();\n setTimeout(() => window.location.reload(), 1000);\n });\n };\n\n return { acceptOrDeclineInviteRequest, loading };\n};\n\nexport default useAcceptOrDeclineInvite;\n","/* eslint-disable react/jsx-curly-newline */\n/* eslint-disable implicit-arrow-linebreak */\nimport React from 'react';\nimport useAcceptOrDeclineInvite from '../../../../hooks/Organisation/useAcceptOrDeclineInvite';\n\nconst Invite = ({ organisationName, inviteRef, organisationRef }) => {\n const { acceptOrDeclineInviteRequest, loading } = useAcceptOrDeclineInvite();\n\n return (\n <>\n
              \n You have been invited to join {organisationName}\n
              \n\n \n acceptOrDeclineInviteRequest({\n invite_ref: parseInt(inviteRef, 10),\n action: 'ACCEPT',\n organisation_ref: +organisationRef,\n })\n }\n disabled={loading}\n >\n Accept\n \n \n acceptOrDeclineInviteRequest({\n invite_ref: parseInt(inviteRef, 10),\n action: 'DECLINE',\n })\n }\n disabled={loading}\n >\n Decline\n \n \n );\n};\n\nexport default Invite;\n","import React from 'react';\nimport { user } from '../../../../utils/reactiveVars';\nimport Invite from './Invite';\n\nconst InvitesModal = () => {\n const { invites } = user();\n if (invites?.length < 1) return null;\n\n return (\n \n
              \n
              \n
              \n {invites?.map(({ id, organisationName, organisationRef }) => (\n \n ))}\n
              \n
              \n
              \n \n );\n};\n\nexport default InvitesModal;\n","import React from 'react';\n\nconst NoSubscriptionModal = () => (\n \n
              \n
              \n
              \n
              \n
              \n \n \"\"\n \n
              \n

              \n Unfortunately you do not have an active Sparkyard subscription on\n this account or organisation. Please either switch to another\n account/organisation or purchase a subscription.\n

              \n

              Something wrong? Contact Customer Services

              \n
              \n
              \n
              \n
              \n);\n\nexport default NoSubscriptionModal;\n","import React from 'react';\n\nconst TrialEndedModal = () => (\n \n
              \n
              \n
              \n
              \n
              \n \n \"\"\n \n
              \n

              \n Your trial has ended. Please click on ‘Manage your subscription’ to\n take out a subscription and access all of your songs and resources\n again.\n

              \n

              Something wrong? Contact Customer Services

              \n
              \n
              \n
              \n
              \n);\n\nexport default TrialEndedModal;\n","import { gql } from '@apollo/client';\nimport { UserFieldsFragment } from '../../queries/user/fragments';\n\nexport const UPDATE_USER = gql`\n mutation UpdateUser($id: ID!, $input: UpdateUserInput!) {\n updateUser(id: $id, input: $input) {\n ...UserFields\n }\n }\n ${UserFieldsFragment}\n`;\n\nexport const SEND_VERIFICATION_MAIL = gql`\n mutation SendVerificationMail {\n sendVerificationMail\n }\n`;\n","/* eslint-disable operator-linebreak */\n\nimport { useMutation } from '@apollo/client';\nimport { useHistory } from 'react-router-dom';\nimport { UPDATE_USER } from '../../graphql/mutations/user';\nimport { GET_USER } from '../../graphql/queries/user/user';\nimport hideModal from '../../styles/js/modals';\nimport {\n dismissLoadingMessage,\n dismissWarningMessage,\n displayErrorMessage,\n displayLoadingMessage,\n displaySuccessMessage,\n displayWarningMessage,\n} from '../../utils/helpers';\nimport { user } from '../../utils/reactiveVars';\n\nconst useUpdateUser = () => {\n const [updateUser, { data, loading, error }] = useMutation(UPDATE_USER, {\n refetchQueries: [{ query: GET_USER }],\n });\n\n const { id: userId, email } = user();\n const history = useHistory();\n\n const updateUserRequest = {\n send: (input) => {\n const emailHasChanged = email !== input.email;\n if (emailHasChanged) {\n displayWarningMessage('You will need to verify your new email.');\n }\n\n updateUser({\n variables: {\n id: parseInt(userId, 10),\n input,\n },\n })\n .then((res) => {\n dismissLoadingMessage();\n displaySuccessMessage();\n user(res.data?.updateUser);\n localStorage.setItem('user', JSON.stringify(res.data.updateUser));\n hideModal();\n if (emailHasChanged) {\n dismissWarningMessage();\n history.push('/restricted');\n }\n })\n .catch((err) => {\n const errorMessage =\n err?.message === 'Validation failed for the field [updateUser].'\n ? 'Email is already taken.'\n : 'Could not update user';\n dismissLoadingMessage();\n displayErrorMessage(errorMessage);\n });\n },\n };\n\n loading && displayLoadingMessage();\n\n return { updateUserRequest, data, error };\n};\n\nexport default useUpdateUser;\n","import React from 'react';\n\nconst AllDoneButton = ({ handleSubmit }) => (\n
              \n \n All done, thank you!\n \n
              \n);\n\nexport default AllDoneButton;\n","import { gql } from '@apollo/client';\nimport { TagFieldsFragment } from './fragments';\n\nexport const GET_TAGS = gql`\n query Tags($ofType: String!, $withContent: Content) {\n tags(ofType: $ofType, withContent: $withContent) {\n ...TagFields\n }\n }\n ${TagFieldsFragment}\n`;\n","import { useQuery } from '@apollo/client';\nimport { toast } from 'react-toastify';\nimport { GET_TAGS } from '../graphql/queries/tag/tag';\n\nconst useGetTag = (ofType, variables = {}) => {\n const { data, loading, error, fetchMore } = useQuery(GET_TAGS, {\n variables: {\n ofType,\n ...variables,\n },\n onError: () => {\n toast.error('Something went wrong', { toastId: 'tagErr' });\n },\n notifyOnNetworkStatusChange: true,\n });\n\n return { data, loading, error, fetchMore };\n};\n\nexport default useGetTag;\n","import React from 'react';\n\nconst SectionHeader = ({ text, tickAll }) => (\n
              \n {text}\n {tickAll && (\n <>\n
              \n Tick all that apply\n \n )}\n
              \n);\n\nexport default SectionHeader;\n","/* eslint-disable jsx-a11y/label-has-associated-control */\n/* eslint-disable react/no-danger */\nimport React from 'react';\n\nconst Checkbox = ({ role, checked, handleChange, onCheck }) => {\n const roleFormatted = role?.replaceAll('/', '/');\n\n return (\n \n {\n handleChange(role, e.target.checked);\n onCheck();\n }}\n />\n \n \n );\n};\n\nexport default Checkbox;\n","/* eslint-disable implicit-arrow-linebreak */\nimport { useReactiveVar } from '@apollo/client';\nimport React, { useEffect, useState } from 'react';\nimport useGetTag from '../../../../../hooks/useGetTag';\nimport { user } from '../../../../../utils/reactiveVars';\nimport SectionHeader from '../SectionHeader';\nimport Checkbox from '../Checkbox';\n\nconst AreasYoureInterestedIn = ({ handleShowSection, handleDataChange }) => {\n const { data: availableSubjectsData } = useGetTag('Curriculum Subject Links');\n const [availableSubjects, setAvailableSubjects] = useState([]);\n const [selectedSubjects, setSelectedSubjects] = useState([]);\n\n const { subjects } = useReactiveVar(user);\n\n useEffect(() => {\n setSelectedSubjects(subjects);\n if (availableSubjectsData?.tags) {\n const tagsFormatted = availableSubjectsData.tags.map(\n (tag) => tag.formattedName\n );\n setAvailableSubjects(tagsFormatted);\n }\n }, [availableSubjectsData, subjects]);\n\n const isChecked = (subject) =>\n !!selectedSubjects.find((item) => item === subject);\n\n const handleChange = (subject, checked) => {\n const newSubjects = checked\n ? [...selectedSubjects, subject]\n : selectedSubjects.filter(\n (existingSubject) => existingSubject !== subject\n );\n\n setSelectedSubjects(newSubjects);\n handleDataChange({ subjects: newSubjects });\n };\n\n return (\n <>\n \n
              \n {availableSubjects?.map((subject) => (\n handleShowSection('singWithYourChildren')}\n />\n ))}\n
              \n \n );\n};\n\nexport default AreasYoureInterestedIn;\n","import React from 'react';\n\nconst MarketingConsent = ({ handleDataChange }) => {\n const handleChange = (event) => {\n handleDataChange({ marketingConsent: event.target.checked ? 1 : 0 });\n };\n\n return (\n <>\n \n \n \n Would you like to sign up to our Sparkyard email mailing list to\n receive monthly tips, ideas and suggestions for making the most out of\n your subscription? You can change your settings here at any time.{' '}\n \n Visit our Privacy Notice.\n \n \n \n \n );\n};\n\nexport default MarketingConsent;\n","import React from 'react';\n\nconst ModalHeader = () => (\n <>\n
              \n
              \n
              Welcome back!
              \n
              \n \n \"\"\n \n
              \n
              \n We hope you’re enjoying Sparkyard\n
              \n

              \n We’d love to find out more about you, so we can make sure we recommend the\n best content and tell you about new releases.\n

              \n \n);\n\nexport default ModalHeader;\n","import React, { useEffect, useState } from 'react';\nimport { useReactiveVar } from '@apollo/client';\nimport SectionHeader from '../SectionHeader';\nimport Checkbox from '../Checkbox';\nimport { user } from '../../../../../utils/reactiveVars';\n\nconst SingWithYourChildren = ({ handleShowSection, handleDataChange }) => {\n const availableCategories = [\n 'School Choir',\n 'Music lessons',\n 'Other curriculum subjects',\n 'Assembly',\n 'School routines',\n 'School productions/performances',\n 'N/A',\n ];\n\n const [selectedCategories, setSelectedCategories] = useState([]);\n\n const { categories } = useReactiveVar(user);\n\n useEffect(() => {\n setSelectedCategories(categories);\n }, [categories]);\n\n const isChecked = (category) => !!selectedCategories.find((item) => item === category);\n const handleChange = (category, checked) => {\n const newCategories = checked\n ? [...selectedCategories, category]\n : selectedCategories.filter(\n (existingCategory) => existingCategory !== category\n );\n\n setSelectedCategories(newCategories);\n handleDataChange({ categories: newCategories });\n };\n\n return (\n <>\n \n
              \n {availableCategories?.map((role) => (\n handleShowSection('allDoneButton')}\n />\n ))}\n
              \n \n );\n};\n\nexport default SingWithYourChildren;\n","import { useReactiveVar } from '@apollo/client';\nimport React, { useEffect, useState } from 'react';\nimport { availableRoles } from '../../../../../utils/objects';\nimport { user } from '../../../../../utils/reactiveVars';\nimport SectionHeader from '../SectionHeader';\nimport Checkbox from '../Checkbox';\n\nconst WhatIsYourRole = ({ handleShowSection, handleDataChange }) => {\n const { roles } = useReactiveVar(user);\n const [selectedRoles, setSelectedRoles] = useState([]);\n\n useEffect(() => {\n setSelectedRoles(roles);\n }, [roles]);\n\n const isChecked = (role) => !!selectedRoles.find((item) => item === role);\n const handleChange = (role, checked) => {\n const newRoles = checked\n ? [...selectedRoles, role]\n : selectedRoles.filter((existingRole) => existingRole !== role);\n\n setSelectedRoles(newRoles);\n handleDataChange({ roles: newRoles });\n };\n\n return (\n <>\n \n
              \n {availableRoles?.map((role) => (\n handleShowSection('whichAgeGroupDoYouTeach')}\n />\n ))}\n
              \n \n );\n};\n\nexport default WhatIsYourRole;\n","import { useReactiveVar } from '@apollo/client';\nimport React, { useRef } from 'react';\nimport { returnNumberRange } from '../../../../../utils/helpers';\nimport { user } from '../../../../../utils/reactiveVars';\nimport SectionHeader from '../SectionHeader';\n\nconst WhichAgeGroupDoYouTeach = ({ handleShowSection, handleDataChange }) => {\n const { minAge, maxAge } = useReactiveVar(user);\n const minAgeRef = useRef(null);\n const maxAgeRef = useRef(null);\n\n return (\n <>\n \n
              \n
              \n \n {returnNumberRange(3, 13).map((num) => (\n \n ))}\n \n
              \n
              \n \n {returnNumberRange(4, 14).map((num) => (\n \n ))}\n \n
              \n {\n handleShowSection('areasYoureInterestedIn');\n handleDataChange({\n min_age: Number(minAgeRef.current.value),\n max_age: Number(maxAgeRef.current.value),\n });\n }}\n >\n \n \n
              \n \n );\n};\n\nexport default WhichAgeGroupDoYouTeach;\n","/* eslint-disable implicit-arrow-linebreak */\nimport React, { useState } from 'react';\nimport useUpdateUser from '../../../../hooks/User/useUpdateUser';\nimport { user } from '../../../../utils/reactiveVars';\nimport AllDoneButton from './AllDoneButton';\nimport AreasYoureInterestedIn from './AreasYoureInterestedIn/Index';\nimport MarketingConsent from './MarketingConsent/Index';\nimport ModalHeader from './ModalHeader';\nimport SingWithYourChildren from './SingWithYourChildren/Index';\nimport WhatIsYourRole from './WhatIsYourRole/Index';\nimport WhichAgeGroupDoYouTeach from './WhichAgeGroupDoYouTeach/Index';\n\nconst OnboardingQuestionsModal = () => {\n const { updateUserRequest } = useUpdateUser();\n\n const { email, firstname, surname } = user();\n\n const [showSections, setShowSections] = useState({\n whatIsYourRole: true,\n whichAgeGroupDoYouTeach: false,\n areasYoureInterestedIn: false,\n singWithYourChildren: false,\n allDoneButton: false,\n });\n\n const [data, setData] = useState({\n roles: [],\n min_age: 0,\n max_age: 0,\n subjects: [],\n categories: [],\n email,\n firstname,\n surname,\n marketing_consent: 1,\n });\n\n const {\n whatIsYourRole,\n whichAgeGroupDoYouTeach,\n areasYoureInterestedIn,\n singWithYourChildren,\n allDoneButton,\n } = showSections;\n\n const handleShowSection = (section) =>\n setShowSections({ ...showSections, [section]: true });\n\n const handleDataChange = (values) => setData({ ...data, ...values });\n\n const handleSubmit = () => updateUserRequest.send(data);\n\n return (\n \n \n
              \n
              \n \n {whatIsYourRole && (\n \n )}\n {whichAgeGroupDoYouTeach && (\n \n )}\n {areasYoureInterestedIn && (\n \n )}\n {singWithYourChildren && (\n \n )}\n \n {allDoneButton && }\n
              \n
              \n \n \n );\n};\n\nexport default OnboardingQuestionsModal;\n","/* eslint-disable implicit-arrow-linebreak */\n/* eslint-disable operator-linebreak */\n/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable no-unused-vars */\n/* eslint-disable react/display-name */\nimport React, { useEffect } from 'react';\nimport { Redirect, useLocation } from 'react-router-dom';\nimport Cookies from 'universal-cookie';\nimport { toast } from 'react-toastify';\nimport { isMobileSidebarOpen, user } from '../../../utils/reactiveVars';\nimport BottomSpacer from '../BottomSpacer';\nimport Header from '../Header/Index';\nimport Sidebar from '../Sidebar/Index';\nimport LoadJquery from '../LoadJquery';\nimport { getUserFromLocalStorage } from '../../../utils/user';\nimport { sparkyardLoginUrl } from '../../../utils/objects';\nimport useGetUser from '../../../hooks/User/useGetUser';\nimport GetCommonData from '../Others/GetCommonData';\nimport { hideToolTips } from '../../../styles/js/app';\nimport InvitesModal from '../Modals/InvitesModal/InvitesModal';\nimport NoSubscriptionModal from '../Modals/NoSubscriptionModal';\nimport TrialEndedModal from '../Modals/TrialEndedModal';\nimport { showModal } from '../../../styles/js/modals';\nimport OnboardingQuestions from '../Modals/OnboardingQuestions/Index';\n\nconst withPageWrapper =\n ({ pageTitle }) =>\n (Wrapped) =>\n () => {\n useEffect(() => {\n isMobileSidebarOpen(false);\n document.body.style.overflow = 'auto';\n toast.dismiss('error');\n hideToolTips();\n document.title = pageTitle || 'SPARKYARD';\n\n // fix bug with pages not being scrollable on mobile sometimes\n document.body.style.overflow = 'visible';\n }, []);\n\n const location = useLocation();\n\n const currentURL = location.pathname;\n const isSharedPageURL =\n currentURL.includes('/shared/collection') ||\n currentURL.includes('/shared/playlist');\n\n const whitelistedFromAuthRedirect =\n currentURL.includes('login') || isSharedPageURL;\n\n const { data } = useGetUser({}, isSharedPageURL);\n\n if (!getUserFromLocalStorage() && !whitelistedFromAuthRedirect) {\n window.location.href = sparkyardLoginUrl;\n return null;\n }\n\n if (isSharedPageURL && (!getUserFromLocalStorage() || data?.me === null)) {\n const type = currentURL.includes('/collection')\n ? 'collection'\n : 'playlist';\n\n window.location.href = `/guest/${type}`;\n return null;\n }\n\n user(getUserFromLocalStorage());\n\n return (\n
              \n {data?.me && (\n <>\n \n
              \n \n
              \n \n \n \n \n \n \n
              \n \n )}\n \n
              \n );\n };\n\nexport default withPageWrapper;\n","import { gql } from '@apollo/client';\nimport { RecentlyPlayedFragment } from './fragments';\n\nexport const GET_RECENNTLY_PLAYED = gql`\n query RecentlyPlayed($first: Int!, $page: Int) {\n recentlyPlayed(first: $first, page: $page) {\n data {\n ...RecentlyPlayedFields\n }\n paginatorInfo {\n currentPage\n lastPage\n count\n hasMorePages\n }\n }\n }\n ${RecentlyPlayedFragment}\n`;\n","import { useQuery } from '@apollo/client';\nimport { toast } from 'react-toastify';\nimport { GET_RECENNTLY_PLAYED } from '../../graphql/queries/player/player';\nimport {\n dismissLoadingMessage,\n displayErrorMessage,\n} from '../../utils/helpers';\n\nconst useGetRecentlyPlayed = (\n number,\n variables = null,\n notifyOnNetworkStatusChange = false\n) => {\n const { data, loading, error, fetchMore } = useQuery(GET_RECENNTLY_PLAYED, {\n variables: {\n first: number,\n ...variables,\n },\n onCompleted: () => toast.dismiss('loading'),\n onError: () => {\n dismissLoadingMessage();\n displayErrorMessage('Could not load songs');\n },\n notifyOnNetworkStatusChange,\n });\n\n return { data, loading, error, fetchMore };\n};\n\nexport default useGetRecentlyPlayed;\n","import React from 'react';\nimport { format, parse } from 'date-fns';\nimport RouterLinkOrNot from '../../Shared/RouterLinkOrNot';\n\nconst ExternalEvent = ({ href, image, title, date, isFree, openInNewTab }) => {\n const d = new Date(Date.parse((date ?? \"\").replace(\" \", \"T\")));\n\n return (\n \n \"event\"\n
              \n

              {title}

              \n {date && (\n
              \n {format(\n parse(\n '',\n '',\n new Date(d.getTime() - d.getTimezoneOffset() * 60 * 1000)\n ),\n 'EEE, MMM d . h:mm aa'\n )}\n
              \n )}\n {isFree &&
              Free
              }\n
              \n \n );\n};\n\nexport default ExternalEvent;\n","/* eslint-disable react/no-danger */\nimport React from 'react';\nimport { format, parseISO } from 'date-fns';\nimport RouterLinkOrNot from '../../Shared/RouterLinkOrNot';\n\nconst CalendarEvent = ({\n title,\n image,\n href,\n bgColor = 'green',\n description,\n date,\n}) => (\n \n {image && \"Calendar}\n
              \n \n \n \n
              \n

              {title}

              \n

              \n {date && format(parseISO(date), 'd MMMM')}\n

              \n
              \n
              \n
              \n \n);\n\nexport default CalendarEvent;\n","import React from 'react';\nimport { withRouter } from 'react-router-dom';\nimport ExternalEvent from './ExternalEvent';\nimport CalendarEvent from './CalendarEvent';\n\nconst UpcomingEvents = ({ events }) => {\n const sortedEvents = events.sort((x, y) =>\n x.attributes.featured === y.attributes.featured\n ? 0\n : x.attributes.featured\n ? -1\n : 1\n );\n\n return (\n <>\n

              Upcoming Events

              \n {sortedEvents.map(\n ({\n attributes: {\n image,\n title,\n thumbnail,\n thumbnail_color,\n custom_link,\n event_description,\n event,\n start_date,\n active,\n open_in_new_tab,\n },\n layout,\n key,\n }) => (\n
              \n {layout === 'ExternalEvent' && active && (\n \n )}\n {layout === 'CalendarEvent' && active && (\n \n )}\n
              \n )\n )}\n \n );\n};\n\nexport default withRouter(UpcomingEvents);\n","/* eslint-disable react/no-danger */\nimport classNames from 'classnames';\nimport React from 'react';\nimport RouterLinkOrNot from '../RouterLinkOrNot';\nimport PlaySong from '../PlaySong';\n\nconst SimpleCard = ({\n image,\n title,\n description,\n link,\n linkTarget,\n noTopRadius,\n type,\n id,\n}) => (\n \n
              \n {type === 'SONG' && }\n {image && (\n \n
              \n \"\"\n
              \n
              \n )}\n
              \n\n {(title || description) && (\n \n
              \n {title &&

              {title}

              }\n {description && (\n \n )}\n
              \n
              \n )}\n
              \n);\n\nexport default SimpleCard;\n","import React from 'react';\nimport { withRouter } from 'react-router-dom';\nimport SimpleCard from '../../Shared/SimpleCard';\nimport { Swiper, SwiperSlide } from 'swiper/react';\nimport useMediaQuery from '../../../hooks/Others/useMediaQuery';\n\nconst Features = ({ features }) => {\n const isMobile = useMediaQuery('(max-width: 926px)');\n\n return (\n
              \n {isMobile ? (\n
              \n \n {features.map((feature, index) => (\n \n \n \n ))}\n \n
              \n ) : (\n
              \n {features.map((feature, index) => (\n
              \n \n
              \n ))}\n
              \n )}\n
              \n );\n};\n\nexport default withRouter(Features);\n","import React from 'react';\n\nconst LeftIcon = () => {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default LeftIcon;\n","import React from 'react';\n\nconst RightIcon = () => {\n return (\n \n \n \n \n \n );\n};\n\nexport default RightIcon;\n","import React, { useState } from 'react';\nimport { withRouter } from 'react-router-dom';\nimport SimpleCard from '../../Shared/SimpleCard';\nimport classNames from 'classnames';\nimport LeftIcon from './LeftIcon';\nimport RightIcon from './RightIcon';\nimport { Swiper, SwiperSlide } from 'swiper/react';\nimport { Navigation } from 'swiper';\n\nconst SwiperButton = ({ onPrev, onNext, hidePrev, hideNext }) => {\n return (\n <>\n {!hidePrev && (\n
              \n
              \n \n
              \n )}\n\n {!hideNext && (\n
              \n
              \n \n
              \n )}\n \n );\n};\n\nconst Tips = ({ datas }) => {\n const [reachBeginning, setReachBeginning] = useState(true);\n const [reachEnd, setReachEnd] = useState(false);\n const [swiperTips, setSwiperTips] = useState(null);\n\n return (\n
              \n

              Tips, Tricks and Ideas

              \n
              \n {\n setSwiperTips(swiper);\n }}\n breakpoints={{\n 640: {\n slidesPerView: 2,\n },\n 926: {\n slidesPerView: 4,\n },\n }}\n allowTouchMove={true}\n onReachBeginning={() => {\n setReachBeginning(true);\n }}\n onReachEnd={() => {\n setReachEnd(true);\n }}\n onSlidePrevTransitionStart={() => {\n setReachEnd(false);\n }}\n onSlideNextTransitionStart={() => {\n setReachBeginning(false);\n }}\n modules={[Navigation]}\n >\n {datas.map((tip, index) => (\n \n
              \n \n
              \n
              \n ))}\n \n\n swiperTips.slidePrev()}\n onNext={() => swiperTips.slideNext()}\n hidePrev={reachBeginning}\n hideNext={reachEnd}\n />\n
              \n
              \n );\n};\n\nexport default withRouter(Tips);\n","/* eslint-disable react/no-danger */\nimport React, { useMemo } from 'react';\nimport classNames from 'classnames';\nimport RouterLinkOrNot from '../RouterLinkOrNot';\nimport SongItem from '../SongItem';\n\nconst Quote = ({\n songId,\n songs,\n image,\n text,\n description,\n buttonText,\n buttonLink,\n buttonBgColor = '',\n}) => {\n const textSpanAdded = useMemo(() => {\n return text + '';\n }, [text]);\n\n return (\n
              \n
              \n {(songId || image) && (\n
              \n {image && !songId ? (\n \"\"\n ) : songId ? (\n \n ) : (\n <>\n )}\n
              \n )}\n
              \n
              \n \n {description && (\n \n )}\n {buttonText && buttonLink && (\n \n {buttonText}\n \n )}\n
              \n
              \n
              \n {buttonText && buttonLink && (\n \n {buttonText}\n \n )}\n
              \n );\n};\n\nexport default Quote;\n","import { gql } from '@apollo/client';\n\nexport const HomepageFieldsFragment = gql`\n fragment HomepageFields on Homepage {\n id\n songId\n songTitle\n songDescription\n songImage\n songbookId\n songbookTitle\n songbookDescription\n songbookImage\n collectionId\n collectionTitle\n collectionDescription\n collectionImage\n blogTitle\n blogDescription\n blogThumbnail\n blogUrl\n mainContent\n eventsContent\n featuredSyResourceImage\n featuredSyResourceType\n featuredSyResourceTypeId\n featuredSyResourceTitle\n featuredSyResourceDescription\n featuredSyResourceOpenInNewTab\n openBlogLinkInNewTab\n newSparks {\n id\n resources {\n id\n slug\n title\n summary\n thumbnail\n }\n }\n }\n`;\n","import { gql } from '@apollo/client';\nimport { HomepageFieldsFragment } from './fragments';\n\nexport const GET_HOMEPAGE = gql`\n query GetHomepage {\n getHomepage {\n ...HomepageFields\n }\n }\n ${HomepageFieldsFragment}\n`;\n","import { useQuery } from '@apollo/client';\nimport { useMemo } from 'react';\nimport { GET_HOMEPAGE } from '../graphql/queries/homepage/homepage';\nimport { dismissLoadingMessage, displayErrorMessage } from '../utils/helpers';\n\nconst useGetHomePage = (name) => {\n const { data, loading, error } = useQuery(GET_HOMEPAGE, {\n variables: {\n name,\n },\n onCompleted: () => dismissLoadingMessage(),\n onError: () => {\n dismissLoadingMessage();\n displayErrorMessage('Could not load home page');\n },\n });\n\n const features = [\n {\n image: data?.getHomepage.songImage || '/img/song-of-the-week.png',\n title: data?.getHomepage.songTitle,\n description: data?.getHomepage.songDescription,\n link: `/song/${data?.getHomepage.songId}`,\n type: 'SONG',\n id: data?.getHomepage.songId,\n },\n {\n image: data?.getHomepage.songbookImage || '/img/featured-song-book.png',\n title: data?.getHomepage.songbookTitle,\n description: data?.getHomepage.songbookDescription,\n link: `/songbook/${data?.getHomepage.songbookId}`,\n type: 'SONGBOOK',\n },\n {\n image:\n data?.getHomepage.collectionImage || '/img/featured-collection.png',\n title: data?.getHomepage.collectionTitle,\n description: data?.getHomepage.collectionDescription,\n link: `/collection/${data?.getHomepage.collectionId}`,\n type: 'COLLECTION',\n },\n ];\n\n if (data?.getHomepage.featuredSyResourceTypeId) {\n // resource data should be here\n features.push({\n image: data?.getHomepage.blogThumbnail || '/img/why-choose-us.png',\n title: data?.getHomepage.blogTitle,\n description: data?.getHomepage.blogDescription,\n link: data?.getHomepage.blogUrl,\n linkTarget: data?.getHomepage.openBlogLinkInNewTab ? '_blank' : '',\n type: '',\n });\n } else {\n features.push({\n image: data?.getHomepage.blogThumbnail || '/img/why-choose-us.png',\n title: data?.getHomepage.blogTitle,\n description: data?.getHomepage.blogDescription,\n link: data?.getHomepage.blogUrl,\n linkTarget: data?.getHomepage.openBlogLinkInNewTab ? '_blank' : '',\n type: '',\n });\n }\n\n const [content, events] = useMemo(\n () => [\n data?.getHomepage.mainContent\n ? JSON.parse(data?.getHomepage.mainContent)\n : [],\n data?.getHomepage.eventsContent\n ? JSON.parse(data?.getHomepage.eventsContent)\n : [],\n ],\n [data]\n );\n\n return { data, loading, error, features, content, events };\n};\n\nexport default useGetHomePage;\n","/* eslint-disable react-hooks/exhaustive-deps */\n/* eslint-disable jsx-a11y/iframe-has-title */\nimport React, { useEffect, useState } from 'react';\nimport getVideoId from 'get-video-id';\nimport { getVimeoVideoPadding } from '../../../utils/helpers';\nimport useMediaQuery from '../../../hooks/Others/useMediaQuery';\n\nconst Video = ({ url, title, noMargin, mini }) => {\n if (!url) return null;\n\n const [padding, setPadding] = useState('56.25% 0 0 0');\n const height = mini ? '233px' : '370px';\n\n const embedUrl = getVideoId(url);\n if (!embedUrl) return null;\n const { service, id } = embedUrl;\n\n useEffect(() => {\n if (service === 'vimeo') {\n const vimeoPaddingReq = async () => {\n const vimeoPadding = await getVimeoVideoPadding(url);\n setPadding(vimeoPadding);\n };\n vimeoPaddingReq();\n }\n }, []);\n\n const isMobile = useMediaQuery(\n '(max-width: 428px), screen and (min-width: 428px) and (max-width: 926px) and (orientation: landscape)'\n );\n\n const vimeoStyle = {\n position: 'absolute',\n top: isMobile ? '-79px' : 0,\n left: 0,\n width: '100%',\n height,\n };\n\n return (\n
              \n
              \n {service === 'youtube' && (\n \n )}\n {service === 'vimeo' && (\n <>\n \n \n
              \n