repo stringlengths 7 64 | file_url stringlengths 81 338 | file_path stringlengths 5 257 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:25:31 2026-01-05 01:50:38 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SingASong/SongSelection/Components/SongSettings/SongSettings.tsx | src/routes/SingASong/SongSelection/Components/SongSettings/SongSettings.tsx | import styled from '@emotion/styled';
import { PlayerSetup, SingSetup, SongPreview } from 'interfaces';
import events from 'modules/GameEvents/GameEvents';
import { AnimatePresence, motion } from 'motion/react';
import { useState } from 'react';
import GameSettings from 'routes/SingASong/SongSelection/Components/SongSe... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SingASong/SongSelection/Components/SongSettings/MicCheck/Ping.tsx | src/routes/SingASong/SongSelection/Components/SongSettings/MicCheck/Ping.tsx | import styled from '@emotion/styled';
import PlayersManager from 'modules/Players/PlayersManager';
import { ComponentProps } from 'react';
import { useDevicePing } from 'routes/SelectInput/hooks/useDevicePing';
interface Props extends ComponentProps<typeof PingContainer> {
playerNumber: 0 | 1 | 2 | 3;
}
function Pi... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SingASong/SongSelection/Components/SongSettings/MicCheck/NoiseDetection.tsx | src/routes/SingASong/SongSelection/Components/SongSettings/MicCheck/NoiseDetection.tsx | import styled from '@emotion/styled';
import { Warning } from '@mui/icons-material';
import events from 'modules/GameEvents/GameEvents';
import { useEventListenerSelector } from 'modules/GameEvents/hooks';
import PlayersManager from 'modules/Players/PlayersManager';
import { usePlayerMicData } from 'modules/hooks/playe... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SingASong/SongSelection/Components/SongSettings/MicCheck/Status.tsx | src/routes/SingASong/SongSelection/Components/SongSettings/MicCheck/Status.tsx | import styled from '@emotion/styled';
import { Error as ErrorIcon, Warning as WarningIcon } from '@mui/icons-material';
import { typography } from 'modules/Elements/cssMixins';
import { inputStatus } from 'modules/GameEngine/Input/Interface';
import { ComponentProps } from 'react';
interface Props extends ComponentPro... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SingASong/SongSelection/Components/SongSettings/MicCheck/SinglePlayer.tsx | src/routes/SingASong/SongSelection/Components/SongSettings/MicCheck/SinglePlayer.tsx | import styled from '@emotion/styled';
import { PlayerMicCheck } from 'modules/Elements/VolumeIndicator';
import { PlayerEntity } from 'modules/Players/PlayersManager';
import usePlayerMicStatus from 'modules/hooks/players/usePlayerMicStatus';
import Ping from 'routes/SingASong/SongSelection/Components/SongSettings/MicC... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SingASong/SongSelection/Components/SongSettings/PlayerSettings/SinglePlayer.tsx | src/routes/SingASong/SongSelection/Components/SongSettings/PlayerSettings/SinglePlayer.tsx | import styled from '@emotion/styled';
import { MAX_NAME_LENGTH } from 'consts';
import { PlayerSetup, SongPreview } from 'interfaces';
import { Autocomplete } from 'modules/Elements/Autocomplete';
import { Switcher } from 'modules/Elements/Switcher';
import events from 'modules/GameEvents/GameEvents';
import { useEvent... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SingASong/SongSelection/Components/SongCard/TopContainer.tsx | src/routes/SingASong/SongSelection/Components/SongCard/TopContainer.tsx | import styled from '@emotion/styled';
import { FiberNewOutlined, PeopleAlt as PeopleAltIcon, Star } from '@mui/icons-material';
import dayjs from 'dayjs';
import { SongPreview } from 'interfaces';
import styles from 'modules/GameEngine/Drawing/styles';
import { useSongStats } from 'modules/Songs/stats/hooks';
import { ... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SingASong/SongSelection/Components/SongCard/SongFlag.test.tsx | src/routes/SingASong/SongSelection/Components/SongCard/SongFlag.test.tsx | import { render, screen } from '@testing-library/react';
import { generateSong } from 'modules/utils/testUtils';
import SongFlag from 'routes/SingASong/SongSelection/Components/SongCard/SongFlag';
describe('SongCard', () => {
it('SongFlag should not render for GB', async () => {
const song = generateSong([], {
... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SingASong/SongSelection/Components/SongCard/SongFlag.tsx | src/routes/SingASong/SongSelection/Components/SongCard/SongFlag.tsx | import { SongPreview } from 'interfaces';
import { Flag } from 'modules/Elements/Flag';
import langMap from 'modules/Elements/Flag/mapping';
import { ComponentProps, useMemo } from 'react';
// skipping US and GB songs as there are a lot of them making the list look messy
const SKIPPED_ORIGINS = ['US', 'GB'];
interfac... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SingASong/SongSelection/utils/getSongIdWithNew.ts | src/routes/SingASong/SongSelection/utils/getSongIdWithNew.ts | import { SongGroup } from 'routes/SingASong/SongSelection/Hooks/useSongList';
export const getSongIdWithNew = (song: SongGroup['songs'][number], songGroup: SongGroup) => {
return `${song.song.id}${songGroup.isNew ? '-new-group' : ''}`;
};
| typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SingASong/SongSelection/Hooks/useSongListFilter.ts | src/routes/SingASong/SongSelection/Hooks/useSongListFilter.ts | import uFuzzy from '@leeoniya/ufuzzy';
import { SongPreview } from 'interfaces';
import isSongRecentlyUpdated from 'modules/Songs/utils/isSongRecentlyUpdated';
import clearString, { removeAccents } from 'modules/utils/clearString';
import { useDeferredValue, useEffect, useMemo, useState } from 'react';
import { Exclude... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SingASong/SongSelection/Hooks/usePlaylists.tsx | src/routes/SingASong/SongSelection/Hooks/usePlaylists.tsx | import { SongPreview } from 'interfaces';
import { ClosableTooltip } from 'modules/Elements/Tooltip';
// import isoCodeToCountry from 'modules/utils/isoCodeToCountry';
// import eurovisionIcon from 'routes/SingASong/SongSelection/Components/SongCard/eurovision-icon.svg';
import { List } from '@mui/icons-material';
impo... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SingASong/SongSelection/Hooks/useRecommendedSongs.ts | src/routes/SingASong/SongSelection/Hooks/useRecommendedSongs.ts | import { SongPreview } from 'interfaces';
import { getAllStats } from 'modules/Songs/stats/common';
import { useMemo } from 'react';
import { useAsync } from 'react-use';
import { ExcludedLanguagesSetting, useSettingValue } from 'routes/Settings/SettingsState';
import isSongRecentlyUpdated from 'modules/Songs/utils/is... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SingASong/SongSelection/Hooks/selectRandomSong.test.ts | src/routes/SingASong/SongSelection/Hooks/selectRandomSong.test.ts | import { randomInt } from 'modules/utils/randomValue';
import selectRandomSong from 'routes/SingASong/SongSelection/Hooks/selectRandomSong';
import { afterEach, Mock, vitest } from 'vitest';
vitest.mock('modules/utils/randomValue');
describe('selectRandomSong', function () {
it('should not select songs from previou... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SingASong/SongSelection/Hooks/usePlaylistsEurovision.tsx | src/routes/SingASong/SongSelection/Hooks/usePlaylistsEurovision.tsx | import styled from '@emotion/styled';
import { Flag } from 'modules/Elements/Flag';
import { colorSets } from 'modules/GameEngine/Drawing/styles';
import { getEurovisionYear } from 'modules/Songs/utils/specialSongsThemeChecks';
import isoCodeToCountry from 'modules/utils/isoCodeToCountry';
import eurovisionIcon from 'r... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SingASong/SongSelection/Hooks/selectRandomSong.ts | src/routes/SingASong/SongSelection/Hooks/selectRandomSong.ts | import { randomInt } from 'modules/utils/randomValue';
const MAX_REMEMBERED_SONGS_COUNT = 30;
export default function selectRandomSong(
songCount: number,
previouslySelectedSongs: number[],
maxRememberedCount = MAX_REMEMBERED_SONGS_COUNT,
) {
let newIndex;
if (previouslySelectedSongs.length < songCount) {
... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SingASong/SongSelection/Hooks/useSongSelection.ts | src/routes/SingASong/SongSelection/Hooks/useSongSelection.ts | import { woosh } from 'modules/SoundManager';
import { randomInt } from 'modules/utils/randomValue';
import startViewTransition from 'modules/utils/startViewTransition';
import { useEffect, useState } from 'react';
import { flushSync } from 'react-dom';
import useSongList from 'routes/SingASong/SongSelection/Hooks/useS... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SingASong/SongSelection/Hooks/useSongList.ts | src/routes/SingASong/SongSelection/Hooks/useSongList.ts | import { captureException } from '@sentry/react';
import { SongPreview } from 'interfaces';
import useSongIndex from 'modules/Songs/hooks/useSongIndex';
import { ReactNode, useMemo } from 'react';
import useRecommendedSongs from 'routes/SingASong/SongSelection/Hooks/useRecommendedSongs';
import { useSongListFilter } fr... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SingASong/SongSelection/Hooks/useSongListFilter.test.ts | src/routes/SingASong/SongSelection/Hooks/useSongListFilter.test.ts | import { renderHook } from '@testing-library/react';
import { SongPreview } from 'interfaces';
import { generateSongPreview } from 'modules/utils/testUtils';
import { act } from 'react';
import { useSongListFilter } from 'routes/SingASong/SongSelection/Hooks/useSongListFilter';
import { beforeEach } from 'vitest';
con... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SingASong/SongSelection/Hooks/useSongSelectionKeyboardNavigation.ts | src/routes/SingASong/SongSelection/Hooks/useSongSelectionKeyboardNavigation.ts | import { chunk, throttle } from 'es-toolkit';
import { menuBack, menuEnter, menuNavigate } from 'modules/SoundManager';
import useKeyboard from 'modules/hooks/useKeyboard';
import useKeyboardHelp from 'modules/hooks/useKeyboardHelp';
import usePrevious from 'modules/hooks/usePrevious';
import useSmoothNavigate from 'mo... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SingASong/SongSelection/Hooks/useSpecialTheme.ts | src/routes/SingASong/SongSelection/Hooks/useSpecialTheme.ts | import { SongPreview } from 'interfaces';
import { useBackground } from 'modules/Elements/BackgroundContext';
import { backgroundTheme } from 'modules/Elements/LayoutWithBackground';
import { FeatureFlags } from 'modules/utils/featureFlags';
import useFeatureFlag from 'modules/utils/useFeatureFlag';
import { useEffect ... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SelectInput/MicCheck.tsx | src/routes/SelectInput/MicCheck.tsx | import styled from '@emotion/styled';
import { PlayerMicCheck } from 'modules/Elements/VolumeIndicator';
import PlayersManager from 'modules/Players/PlayersManager';
interface Props {
names?: string[];
}
function MicCheck({ names }: Props) {
return (
<MicCheckContainer>
{PlayersManager.getPlayers().map(... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SelectInput/SelectInput.tsx | src/routes/SelectInput/SelectInput.tsx | import MenuWithLogo from 'modules/Elements/MenuWithLogo';
import useSmoothNavigate from 'modules/hooks/useSmoothNavigate';
import { Helmet } from 'react-helmet';
import SelectInputView from 'routes/SelectInput/SelectInputView';
function SelectInput() {
const navigate = useSmoothNavigate();
return (
<MenuWithL... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SelectInput/SelectPreference.tsx | src/routes/SelectInput/SelectPreference.tsx | import styled from '@emotion/styled';
import { Laptop, PeopleAlt, Person, PhoneAndroid, PhoneIphone, PhotoCamera, QrCode } from '@mui/icons-material';
import { Badge } from 'modules/Elements/Badge';
import { MenuButton } from 'modules/Elements/Menu';
import { MicIconBlue, MicIconRed } from 'modules/Elements/MicIcon';
i... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SelectInput/SelectInputView.tsx | src/routes/SelectInput/SelectInputView.tsx | import { Menu } from 'modules/Elements/AKUI/Menu';
import { CompletedAnim } from 'modules/Elements/Menu/Heading';
import InputManager from 'modules/GameEngine/Input/InputManager';
import startViewTransition from 'modules/utils/startViewTransition';
import storage from 'modules/utils/storage';
import posthog from 'posth... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SelectInput/SelectInputModal.tsx | src/routes/SelectInput/SelectInputModal.tsx | import { MenuContainer } from 'modules/Elements/Menu';
import Modal from 'modules/Elements/Modal';
import SelectInputView from 'routes/SelectInput/SelectInputView';
interface Props {
onClose: () => void;
closeButtonText: string;
open: boolean;
}
export default function SelectInputModal({ onClose, closeButtonTex... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SelectInput/hooks/usePlayerNumberPreset.ts | src/routes/SelectInput/hooks/usePlayerNumberPreset.ts | import PlayersManager, { MAX_PLAYERS } from 'modules/Players/PlayersManager';
import { useEffect } from 'react';
export default function usePlayerNumberPreset(targetPlayerCount: number, maxPlayerCount: number = MAX_PLAYERS) {
useEffect(() => {
PlayersManager.setMinPlayerNumber(targetPlayerCount);
const playe... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SelectInput/hooks/useMicrophoneList.ts | src/routes/SelectInput/hooks/useMicrophoneList.ts | import events from 'modules/GameEvents/GameEvents';
import { useEventListenerSelector } from 'modules/GameEvents/hooks';
import { useEffect } from 'react';
import inputSourceListManager from 'routes/SelectInput/InputSources';
import { InputSourceNames } from 'routes/SelectInput/InputSources/interfaces';
export functio... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SelectInput/hooks/useRemoteMicAutoselect.ts | src/routes/SelectInput/hooks/useRemoteMicAutoselect.ts | import events from 'modules/GameEvents/GameEvents';
import { useEventEffect } from 'modules/GameEvents/hooks';
import PlayersManager, { MAX_PLAYERS } from 'modules/Players/PlayersManager';
import { useRef } from 'react';
import { RemoteMicrophoneInputSource } from 'routes/SelectInput/InputSources/Remote';
export funct... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SelectInput/hooks/usePlayerInput.ts | src/routes/SelectInput/hooks/usePlayerInput.ts | import { nextIndex, nextValue } from 'modules/Elements/Utils/indexes';
import events from 'modules/GameEvents/GameEvents';
import { useEventListenerSelector } from 'modules/GameEvents/hooks';
import PlayersManager from 'modules/Players/PlayersManager';
import tuple from 'modules/utils/tuple';
import { useEffect } from ... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SelectInput/hooks/useDevicePing.ts | src/routes/SelectInput/hooks/useDevicePing.ts | import RemoteMicManager from 'modules/RemoteMic/RemoteMicManager';
import { useEffect, useState } from 'react';
export const useDevicePing = (deviceId?: string) => {
const [latency, setLatency] = useState<number | null>(null);
useEffect(() => {
const interval = setInterval(() => {
const remoteMic = Remo... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SelectInput/InputSources/Microphone.ts | src/routes/SelectInput/InputSources/Microphone.ts | import { captureException } from '@sentry/react';
import { range } from 'es-toolkit';
import { getInputId } from 'modules/Players/utils';
import userMediaService from 'modules/UserMedia/userMediaService';
import { InputSource } from './interfaces';
interface NameMapper {
test: (label: string, channel: number, channe... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SelectInput/InputSources/Remote.ts | src/routes/SelectInput/InputSources/Remote.ts | import events from 'modules/GameEvents/GameEvents';
import { getInputId } from 'modules/Players/utils';
import { RemoteMic } from 'modules/RemoteMic/RemoteMicInput';
import RemoteMicManager from 'modules/RemoteMic/RemoteMicManager';
import { InputSource } from './interfaces';
const mapRemoteMicToInput = (remoteMic: Re... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SelectInput/InputSources/Dummy.ts | src/routes/SelectInput/InputSources/Dummy.ts | import { getInputId } from 'modules/Players/utils';
import { InputSource } from './interfaces';
const inputList = [
{
channels: 2,
channel: 0,
label: 'Dummy Input 1',
id: getInputId({ deviceId: 'default', channel: 0 }),
deviceId: 'default',
},
{
channels: 2,
channel: 1,
label: 'Du... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SelectInput/InputSources/DrawingTest.ts | src/routes/SelectInput/InputSources/DrawingTest.ts | import { getInputId } from 'modules/Players/utils';
import { InputSource } from './interfaces';
const inputs = [
{
channels: 2,
channel: 1,
label: 'Drawing Test Input',
id: getInputId({ deviceId: 'default', channel: 1 }),
deviceId: 'default',
},
];
export class DrawingTestInputSource {
publi... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SelectInput/InputSources/interfaces.ts | src/routes/SelectInput/InputSources/interfaces.ts | import { DummyInputSource } from 'routes/SelectInput/InputSources/Dummy';
import { MicrophoneInputSource } from 'routes/SelectInput/InputSources/Microphone';
import { RemoteMicrophoneInputSource } from 'routes/SelectInput/InputSources/Remote';
export interface InputSource {
label: string;
channels: number;
chann... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SelectInput/InputSources/index.ts | src/routes/SelectInput/InputSources/index.ts | import events from 'modules/GameEvents/GameEvents';
import { SelectedPlayerInput } from 'modules/Players/PlayersManager';
import { DrawingTestInputSource } from 'routes/SelectInput/InputSources/DrawingTest';
import {
InputSourceList,
InputSourceManagerInterface,
InputSourceNames,
} from 'routes/SelectInput/InputS... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SelectInput/Variants/Skip.tsx | src/routes/SelectInput/Variants/Skip.tsx | import { useEffect } from 'react';
import { MicSetupPreference } from 'routes/Settings/SettingsState';
import { ValuesType } from 'utility-types';
interface Props {
onSetupComplete: (complete: boolean) => void;
onBack: () => void;
onSave: () => void;
closeButtonText: string;
changePreference: (pref: ValuesTy... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SelectInput/Variants/MultipleMics.tsx | src/routes/SelectInput/Variants/MultipleMics.tsx | import { MenuButton } from 'modules/Elements/Menu';
import useKeyboardNav from 'modules/hooks/useKeyboardNav';
import { MicSetupPreference } from 'routes/Settings/SettingsState';
import { ValuesType } from 'utility-types';
interface Props {
onSetupComplete: (complete: boolean) => void;
onBack: () => void;
closeB... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SelectInput/Variants/RemoteMics.tsx | src/routes/SelectInput/Variants/RemoteMics.tsx | import { MenuButton } from 'modules/Elements/Menu';
import events from 'modules/GameEvents/GameEvents';
import { useEventListenerSelector } from 'modules/GameEvents/hooks';
import PlayersManager from 'modules/Players/PlayersManager';
import useKeyboardNav from 'modules/hooks/useKeyboardNav';
import { useEffect } from '... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SelectInput/Variants/Advanced.tsx | src/routes/SelectInput/Variants/Advanced.tsx | import { MenuButton } from 'modules/Elements/Menu';
import events from 'modules/GameEvents/GameEvents';
import { useEventListenerSelector } from 'modules/GameEvents/hooks';
import PlayersManager from 'modules/Players/PlayersManager';
import UserMediaEnabled from 'modules/UserMedia/UserMediaEnabled';
import { useMicroph... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SelectInput/Variants/BuiltIn.tsx | src/routes/SelectInput/Variants/BuiltIn.tsx | import styled from '@emotion/styled';
import { Check, Error } from '@mui/icons-material';
import Loader from 'modules/Elements/Loader';
import { MenuButton } from 'modules/Elements/Menu';
import { Switcher } from 'modules/Elements/Switcher';
import { nextIndex } from 'modules/Elements/Utils/indexes';
import events from... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SelectInput/Variants/DifferentMics.tsx | src/routes/SelectInput/Variants/DifferentMics.tsx | import { MenuButton } from 'modules/Elements/Menu';
import events from 'modules/GameEvents/GameEvents';
import { useEventListenerSelector } from 'modules/GameEvents/hooks';
import PlayersManager from 'modules/Players/PlayersManager';
import UserMediaEnabled from 'modules/UserMedia/UserMediaEnabled';
import { useMicroph... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SelectInput/Variants/SingStarMics.tsx | src/routes/SelectInput/Variants/SingStarMics.tsx | import styled from '@emotion/styled';
import Loader from 'modules/Elements/Loader';
import { MenuButton } from 'modules/Elements/Menu';
import InputManager from 'modules/GameEngine/Input/InputManager';
import events from 'modules/GameEvents/GameEvents';
import { useEventEffect, useEventListenerSelector } from 'modules/... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/SelectInput/Variants/Components/PlayerSelector.tsx | src/routes/SelectInput/Variants/Components/PlayerSelector.tsx | import styled from '@emotion/styled';
import { Switcher } from 'modules/Elements/Switcher';
import { PlayerMicCheck } from 'modules/Elements/VolumeIndicator';
import { PlayerEntity } from 'modules/Players/PlayersManager';
import useKeyboardNav from 'modules/hooks/useKeyboardNav';
import { useMicrophoneList } from 'rout... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/ConnectRemoteMic/ConnectRemoteMic.tsx | src/routes/ConnectRemoteMic/ConnectRemoteMic.tsx | import styled from '@emotion/styled';
import { focused, typography } from 'modules/Elements/cssMixins';
import styles from 'modules/GameEngine/Drawing/styles';
import RemoteMicServer from 'modules/RemoteMic/Network/Server';
import useQueryParam from 'modules/hooks/useQueryParam';
import * as qrcode from 'qrcode.react';... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/Edit/Setlists.tsx | src/routes/Edit/Setlists.tsx | import styled from '@emotion/styled';
import { LockOpen, LockOutlined } from '@mui/icons-material';
import { Button, Grid } from '@mui/material';
import { useBackground } from 'modules/Elements/BackgroundContext';
import NoPrerender from 'modules/Elements/NoPrerender';
import NormalizeFontSize from 'modules/Elements/No... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/Edit/RedirectToFirstLocalSong.tsx | src/routes/Edit/RedirectToFirstLocalSong.tsx | import { Button } from '@mui/material';
import dayjs from 'dayjs';
import useSongIndex from 'modules/Songs/hooks/useSongIndex';
import useBackgroundMusic from 'modules/hooks/useBackgroundMusic';
import useQueryParam from 'modules/hooks/useQueryParam';
import useSmoothNavigate, { buildUrl } from 'modules/hooks/useSmooth... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/Edit/GetSongsBPMs.tsx | src/routes/Edit/GetSongsBPMs.tsx | import useSongIndex from 'modules/Songs/hooks/useSongIndex';
import useBackgroundMusic from 'modules/hooks/useBackgroundMusic';
import { useEffect } from 'react';
interface GetSongBpmSearchEntry {
song_id: string;
song_title: string;
song_uri: string;
tempo: string;
time_sig: string;
key_of: string;
open... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/Edit/Edit.tsx | src/routes/Edit/Edit.tsx | import styled from '@emotion/styled';
import { Delete } from '@mui/icons-material';
import { IconButton, Paper } from '@mui/material';
import dayjs from 'dayjs';
import relativeTime from 'dayjs/plugin/relativeTime';
import SongDao from 'modules/Songs/SongsService';
import useSong from 'modules/Songs/hooks/useSong';
imp... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/Edit/ShareSongsModal.tsx | src/routes/Edit/ShareSongsModal.tsx | import { Button, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle } from '@mui/material';
import { captureException } from '@sentry/react';
import SongDao from 'modules/Songs/SongsService';
import convertSongToTxt from 'modules/Songs/utils/convertSongToTxt';
import storage from 'modules/utils/storag... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/Edit/SongList.tsx | src/routes/Edit/SongList.tsx | import styled from '@emotion/styled';
import { Delete, Download, Edit as EditIcon, Visibility, VisibilityOff } from '@mui/icons-material';
import { Button, FormControlLabel, Grid, IconButton, Switch } from '@mui/material';
import { useBackground } from 'modules/Elements/BackgroundContext';
import NoPrerender from 'modu... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/Edit/Components/SongsTable.tsx | src/routes/Edit/Components/SongsTable.tsx | import { Checkbox } from '@mui/material';
import dayjs from 'dayjs';
import { SongPreview } from 'interfaces';
import { MaterialReactTable, MaterialReactTableProps, MRT_ColumnDef } from 'material-react-table';
import { buildUrl } from 'modules/hooks/useSmoothNavigate';
import { useMemo } from 'react';
import { Link } f... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/QuickSetup/QuickSetup.tsx | src/routes/QuickSetup/QuickSetup.tsx | import isMobile from 'is-mobile';
import MenuWithLogo from 'modules/Elements/MenuWithLogo';
import useSmoothNavigate from 'modules/hooks/useSmoothNavigate';
import isDev from 'modules/utils/isDev';
import { useMemo } from 'react';
import { Helmet } from 'react-helmet';
import SuggestMobileMode from 'routes/QuickSetup/S... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/QuickSetup/SuggestMobileMode.tsx | src/routes/QuickSetup/SuggestMobileMode.tsx | import styled from '@emotion/styled';
import { MenuButton, MenuContainer } from 'modules/Elements/Menu';
import LayoutGame from 'routes/LayoutGame';
import { MobilePhoneModeSetting, useSettingValue } from 'routes/Settings/SettingsState';
function SuggestMobilePhone() {
const [, setMobilePhoneMode] = useSettingValue(... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/RemoteMic/BottomBar.tsx | src/routes/RemoteMic/BottomBar.tsx | import styled from '@emotion/styled';
import { List as ListIcon, Settings as SettingsIcon } from '@mui/icons-material';
import { MicIcon } from 'modules/Elements/MicIcon';
import styles from 'modules/GameEngine/Drawing/styles';
import { PhoneTabs } from 'routes/RemoteMic/RemoteMic';
interface Props {
active: PhoneTa... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/RemoteMic/RemoteMic.tsx | src/routes/RemoteMic/RemoteMic.tsx | import styled from '@emotion/styled';
import NoSleep from '@uriopass/nosleep.js';
import Typography from 'modules/Elements/AKUI/Primitives/Typography';
import { useBackground } from 'modules/Elements/BackgroundContext';
import NormalizeFontSize from 'modules/Elements/NormalizeFontSize';
import { switchToTheme } from 'm... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/RemoteMic/Components/NumericInput.tsx | src/routes/RemoteMic/Components/NumericInput.tsx | import styled from '@emotion/styled';
import { typography } from 'modules/Elements/cssMixins';
import { ComponentProps } from 'react';
interface Props extends Omit<ComponentProps<typeof Container>, 'onChange'> {
unit?: string;
value: number;
onChange: (newValue: number) => void;
step?: number;
disabled?: boo... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/RemoteMic/Components/PlayerNumberCircle.tsx | src/routes/RemoteMic/Components/PlayerNumberCircle.tsx | import styled from '@emotion/styled';
import styles from 'modules/GameEngine/Drawing/styles';
import gameEvents from 'modules/GameEvents/GameEvents';
import { useEventListener } from 'modules/GameEvents/hooks';
import { useEffect } from 'react';
import { useUpdate } from 'react-use';
interface Props {
number: number... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/RemoteMic/Components/ConfrimWifiModal.tsx | src/routes/RemoteMic/Components/ConfrimWifiModal.tsx | import styled from '@emotion/styled';
import { Laptop, PhoneAndroid, Wifi } from '@mui/icons-material';
import { MenuButton, MenuContainer } from 'modules/Elements/Menu';
import Modal from 'modules/Elements/Modal';
import styles from 'modules/GameEngine/Drawing/styles';
import storage from 'modules/utils/storage';
impo... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/RemoteMic/Components/PlayerChangeModal.tsx | src/routes/RemoteMic/Components/PlayerChangeModal.tsx | import { Menu } from 'modules/Elements/AKUI/Menu';
import { backgroundTheme } from 'modules/Elements/LayoutWithBackground';
import styles from 'modules/GameEngine/Drawing/styles';
import { default as events, default as gameEvents } from 'modules/GameEvents/GameEvents';
import { useEventListener } from 'modules/GameEven... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/RemoteMic/hooks/usePermissions.ts | src/routes/RemoteMic/hooks/usePermissions.ts | import events from 'modules/GameEvents/GameEvents';
import { useEventListener } from 'modules/GameEvents/hooks';
export default function usePermissions() {
const [permissions] = useEventListener(events.remoteMicPermissionsSet, true) ?? ['write'];
return permissions;
}
| typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/RemoteMic/hooks/useServerEvent.ts | src/routes/RemoteMic/hooks/useServerEvent.ts | import Client from 'modules/RemoteMic/Network/Client';
import { NetworkMessages } from 'modules/RemoteMic/Network/messages';
import { useEffect } from 'react';
export default function useServerEvent(callback: (message: NetworkMessages) => void, dependencies: any[] = []) {
useEffect(() => {
return Client.addListe... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/RemoteMic/Panels/RemoteSongList.tsx | src/routes/RemoteMic/Panels/RemoteSongList.tsx | import styled from '@emotion/styled';
import { ArrowRight, Search } from '@mui/icons-material';
import { groupBy, uniqBy } from 'es-toolkit';
import { SongPreview } from 'interfaces';
import { Badge } from 'modules/Elements/Badge';
import { Flag } from 'modules/Elements/Flag';
import { Input } from 'modules/Elements/In... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/RemoteMic/Panels/Microphone.tsx | src/routes/RemoteMic/Panels/Microphone.tsx | import styled from '@emotion/styled';
import { transportErrorReason } from 'modules/RemoteMic/Network/Client/NetworkClient';
import UserMediaEnabled from 'modules/UserMedia/UserMediaEnabled';
import isDev from 'modules/utils/isDev';
import { useState } from 'react';
import Connect from 'routes/RemoteMic/Panels/Micropho... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/RemoteMic/Panels/RemoteSettings.tsx | src/routes/RemoteMic/Panels/RemoteSettings.tsx | import styled from '@emotion/styled';
import { MenuButton, MenuContainer } from 'modules/Elements/Menu';
import Modal from 'modules/Elements/Modal';
import SimplifiedMic from 'modules/GameEngine/Input/SimplifiedMic';
import RemoteMicClient from 'modules/RemoteMic/Network/Client';
import { transportErrorReason } from 'm... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/RemoteMic/Panels/RemoteSongList/useMySongList.ts | src/routes/RemoteMic/Panels/RemoteSongList/useMySongList.ts | import RemoteMicClient from 'modules/RemoteMic/Network/Client';
import posthog from 'posthog-js';
import { useCallback } from 'react';
import createPersistedState from 'use-persisted-state';
export const useSavedSongs = createPersistedState<string[]>('remote-mic-saved-songs');
export const useMySongList = () => {
c... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/RemoteMic/Panels/RemoteSongList/useSendInitialSongList.ts | src/routes/RemoteMic/Panels/RemoteSongList/useSendInitialSongList.ts | import RemoteMicClient from 'modules/RemoteMic/Network/Client';
import { useEffect } from 'react';
import { useMySongList } from 'routes/RemoteMic/Panels/RemoteSongList/useMySongList';
const useSendInitialSongList = (send: boolean) => {
const { savedSongList } = useMySongList();
useEffect(() => {
if (send) {
... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/RemoteMic/Panels/RemoteSongList/LanguageFilter.tsx | src/routes/RemoteMic/Panels/RemoteSongList/LanguageFilter.tsx | import { Menu } from 'modules/Elements/AKUI/Menu';
import { Flag } from 'modules/Elements/Flag';
import Modal from 'modules/Elements/Modal';
import isE2E from 'modules/utils/isE2E';
import { useState } from 'react';
import { useLanguageList } from 'modules/Songs/hooks/useLanguageList';
interface Props {
excludedLan... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/RemoteMic/Panels/RemoteSettings/InputLag.tsx | src/routes/RemoteMic/Panels/RemoteSettings/InputLag.tsx | import Typography from 'modules/Elements/AKUI/Primitives/Typography';
import RemoteMicClient from 'modules/RemoteMic/Network/Client';
import { useEffect, useState } from 'react';
import NumericInput from 'routes/RemoteMic/Components/NumericInput';
function RemoteInputLag() {
const [currentValue, setCurrentValue] = u... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/RemoteMic/Panels/RemoteSettings/ManagePlayers.tsx | src/routes/RemoteMic/Panels/RemoteSettings/ManagePlayers.tsx | import styled from '@emotion/styled';
import Typography from 'modules/Elements/AKUI/Primitives/Typography';
import { MenuButton } from 'modules/Elements/Menu';
import Modal from 'modules/Elements/Modal';
import styles from 'modules/GameEngine/Drawing/styles';
import events from 'modules/GameEvents/GameEvents';
import {... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/RemoteMic/Panels/RemoteSettings/UnassignAfterSongFinishedSetting.tsx | src/routes/RemoteMic/Panels/RemoteSettings/UnassignAfterSongFinishedSetting.tsx | import { Checkbox } from 'modules/Elements/AKUI/Checkbox';
import RemoteMicClient from 'modules/RemoteMic/Network/Client';
import { useEffect, useState } from 'react';
function UnassignAfterSongFinishedSetting() {
const [currentValue, setCurrentValue] = useState(false);
const [isLoading, setIsLoading] = useState(f... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/RemoteMic/Panels/RemoteSettings/MicrophoneSettings.tsx | src/routes/RemoteMic/Panels/RemoteSettings/MicrophoneSettings.tsx | import { MenuButton } from 'modules/Elements/Menu';
import RemoteMicClient from 'modules/RemoteMic/Network/Client';
import { MIC_ID_KEY } from 'modules/RemoteMic/Network/Client/NetworkClient';
import storage from 'modules/utils/storage';
import { useEffect, useState } from 'react';
import NumericInput from 'routes/Remo... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/RemoteMic/Panels/Microphone/RemoteSongSearch.tsx | src/routes/RemoteMic/Panels/Microphone/RemoteSongSearch.tsx | import styled from '@emotion/styled';
import { Search } from '@mui/icons-material';
import { MAX_NAME_LENGTH } from 'consts';
import { Input } from 'modules/Elements/Input';
import RemoteMicClient from 'modules/RemoteMic/Network/Client';
import useDebounce from 'modules/hooks/useDebounce';
import { ComponentRef, useEff... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/RemoteMic/Panels/Microphone/Connect.tsx | src/routes/RemoteMic/Panels/Microphone/Connect.tsx | import styled from '@emotion/styled';
import { QrCode2, Wifi } from '@mui/icons-material';
import { MAX_NAME_LENGTH } from 'consts';
import { Menu } from 'modules/Elements/AKUI/Menu';
import Typography from 'modules/Elements/AKUI/Primitives/Typography';
import { Input } from 'modules/Elements/Input';
import Loader from... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/RemoteMic/Panels/Microphone/MicPreview.tsx | src/routes/RemoteMic/Panels/Microphone/MicPreview.tsx | import { throttle } from 'es-toolkit';
import SimplifiedMic from 'modules/GameEngine/Input/SimplifiedMic';
import events from 'modules/GameEvents/GameEvents';
import { useEventListener } from 'modules/GameEvents/hooks';
import { useEffect, useMemo, useState } from 'react';
import VolumeIndicator from 'routes/RemoteMic/... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/RemoteMic/Panels/Microphone/Ping.tsx | src/routes/RemoteMic/Panels/Microphone/Ping.tsx | import RemoteMicClient from 'modules/RemoteMic/Network/Client';
import { getPingTime } from 'modules/RemoteMic/Network/utils';
import { useEffect, useState } from 'react';
function Ping() {
const [latency, setLatency] = useState(RemoteMicClient.latency);
useEffect(() => {
const interval = setInterval(() => {
... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/RemoteMic/Panels/Microphone/Keyboard.tsx | src/routes/RemoteMic/Panels/Microphone/Keyboard.tsx | import styled from '@emotion/styled';
import {
ArrowBack,
ArrowForward,
Games,
KeyboardArrowDown,
KeyboardArrowLeft,
KeyboardArrowRight,
KeyboardArrowUp,
Shuffle,
} from '@mui/icons-material';
import events from 'modules/GameEvents/GameEvents';
import { useEventListener } from 'modules/GameEvents/hooks'... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/RemoteMic/Panels/Microphone/PlayerChange.tsx | src/routes/RemoteMic/Panels/Microphone/PlayerChange.tsx | import { SwapHoriz as SwapHorizIcon } from '@mui/icons-material';
import { Button } from 'modules/Elements/AKUI/Button';
import { MenuButton } from 'modules/Elements/AKUI/Menu/MenuButton';
import Modal from 'modules/Elements/Modal';
import RemoteMicClient from 'modules/RemoteMic/Network/Client';
import { memo, useState... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/RemoteMic/Panels/Microphone/VolumeIndicator.tsx | src/routes/RemoteMic/Panels/Microphone/VolumeIndicator.tsx | import styled from '@emotion/styled';
import styles from 'modules/GameEngine/Drawing/styles';
import { useEffect, useState } from 'react';
import PlayerChange from 'routes/RemoteMic/Panels/Microphone/PlayerChange';
import usePermissions from 'routes/RemoteMic/hooks/usePermissions';
interface Props {
volume: number;
... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/RemoteMic/Panels/Microphone/ConfirmReadiness.tsx | src/routes/RemoteMic/Panels/Microphone/ConfirmReadiness.tsx | import styled from '@emotion/styled';
import { MenuButton, MenuContainer } from 'modules/Elements/Menu';
import { focused } from 'modules/Elements/cssMixins';
import events from 'modules/GameEvents/GameEvents';
import { useEventEffect } from 'modules/GameEvents/hooks';
import RemoteMicClient from 'modules/RemoteMic/Net... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/Game/Game.tsx | src/routes/Game/Game.tsx | import { SingSetup, SongPreview } from 'interfaces';
import CameraManager from 'modules/Camera/CameraManager';
import NoPrerender from 'modules/Elements/NoPrerender';
import { woosh } from 'modules/SoundManager';
import useFullscreen from 'modules/hooks/useFullscreen';
import useQueryParam from 'modules/hooks/useQueryP... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/Game/eventListeners.ts | src/routes/Game/eventListeners.ts | import { captureException } from '@sentry/react';
import { SingSetup, Song, SongPreview } from 'interfaces';
import GameState from 'modules/GameEngine/GameState/GameState';
import getPlayerNoteDistance from 'modules/GameEngine/Helpers/getPlayerNoteDistance';
import events from 'modules/GameEvents/GameEvents';
import Pl... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/Game/SongPage.tsx | src/routes/Game/SongPage.tsx | import styled from '@emotion/styled';
import { Song, SongPreview } from 'interfaces';
import { typography } from 'modules/Elements/cssMixins';
import styles from 'modules/GameEngine/Drawing/styles';
interface Props {
width: number;
height: number;
songData: SongPreview | Song;
children: React.ReactNode;
back... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/Game/Singing/CalibrationIntro.tsx | src/routes/Game/Singing/CalibrationIntro.tsx | import { Menu } from 'modules/Elements/AKUI/Menu';
import useKeyboardNav from 'modules/hooks/useKeyboardNav';
type Props = {
onContinue: () => void;
};
export const CalibrationIntro = ({ onContinue }: Props) => {
const { register } = useKeyboardNav({
onBackspace: onContinue,
});
return (
<>
<Me... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/Game/Singing/WaitForReadiness.tsx | src/routes/Game/Singing/WaitForReadiness.tsx | import styled from '@emotion/styled';
import { CheckCircleOutline } from '@mui/icons-material';
import Loader from 'modules/Elements/Loader';
import { typography } from 'modules/Elements/cssMixins';
import events from 'modules/GameEvents/GameEvents';
import { useEventEffect, useEventListenerSelector } from 'modules/Gam... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/Game/Singing/Singing.tsx | src/routes/Game/Singing/Singing.tsx | import styled from '@emotion/styled';
import { GAME_MODE, SingSetup, SongPreview } from 'interfaces';
import { Calibration } from 'modules/Calibration/Calibration';
import { Menu } from 'modules/Elements/AKUI/Menu';
import { useBackground } from 'modules/Elements/BackgroundContext';
import Modal from 'modules/Elements/... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/Game/Singing/Player.tsx | src/routes/Game/Singing/Player.tsx | import { milliseconds, seconds, SingSetup, Song } from 'interfaces';
import {
ComponentProps,
RefAttributes,
RefObject,
useCallback,
useEffect,
useImperativeHandle,
useMemo,
useRef,
useState,
} from 'react';
import styled from '@emotion/styled';
import VideoPlayer, { VideoPlayerRef, VideoState } from... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/Game/Singing/Hooks/useCurrentSectionIndex.ts | src/routes/Game/Singing/Hooks/useCurrentSectionIndex.ts | import { Section } from 'interfaces';
import { useEffect, useState } from 'react';
import { PlayerRef } from '../Player';
export default function useCurrentSectionIndex(
sections: Section[],
player: PlayerRef,
beatLength: number,
gap: number,
) {
const [currentSectionIndex, setCurrentSectionIndex] = useState... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/Game/Singing/Hooks/useVideoPlayer.ts | src/routes/Game/Singing/Hooks/useVideoPlayer.ts | import { milliseconds } from 'interfaces';
import { VideoPlayerRef, VideoState } from 'modules/Elements/VideoPlayer';
import { RefObject, useEffect, useState } from 'react';
import { FPSCountSetting, InputLagSetting, useSettingValue } from 'routes/Settings/SettingsState';
export const useVideoPlayer = (
playerRef: R... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/Game/Singing/GameOverlay/GameOverlay.tsx | src/routes/Game/Singing/GameOverlay/GameOverlay.tsx | import styled from '@emotion/styled';
import { GAME_MODE, PlayerSetup, Song } from 'interfaces';
import { VideoPlayerRef, VideoState } from 'modules/Elements/VideoPlayer';
import PlayersManager from 'modules/Players/PlayersManager';
import { forwardRef, MutableRefObject, useEffect, useImperativeHandle, useRef } from 'r... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/Game/Singing/GameOverlay/Components/Lyrics.tsx | src/routes/Game/Singing/GameOverlay/Components/Lyrics.tsx | import styled from '@emotion/styled';
import { SwapHoriz as SwapHorizIcon } from '@mui/icons-material';
import { GAME_MODE, Note } from 'interfaces';
import styles from 'modules/GameEngine/Drawing/styles';
import GameState from 'modules/GameEngine/GameState/GameState';
import PlayersManager, { PlayerEntity } from 'modu... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/Game/Singing/GameOverlay/Components/LyricsVolumeIndicator.tsx | src/routes/Game/Singing/GameOverlay/Components/LyricsVolumeIndicator.tsx | import styled from '@emotion/styled';
import { PlayerMicCheck } from 'modules/Elements/VolumeIndicator';
import { PlayerEntity } from 'modules/Players/PlayersManager';
import usePlayerMicStatus from 'modules/hooks/players/usePlayerMicStatus';
import { ComponentProps, memo } from 'react';
import Ping from 'routes/SingAS... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/Game/Singing/GameOverlay/Components/DurationBar.tsx | src/routes/Game/Singing/GameOverlay/Components/DurationBar.tsx | import styled from '@emotion/styled';
import { uniq } from 'es-toolkit';
import { PlayerSetup } from 'interfaces';
import { VideoState } from 'modules/Elements/VideoPlayer';
import styles from 'modules/GameEngine/Drawing/styles';
import GameState from 'modules/GameEngine/GameState/GameState';
import { getFirstNoteStart... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/Game/Singing/GameOverlay/Components/SkipOutro.tsx | src/routes/Game/Singing/GameOverlay/Components/SkipOutro.tsx | import styled from '@emotion/styled';
import { typography } from 'modules/Elements/cssMixins';
import GameState from 'modules/GameEngine/GameState/GameState';
import beatToMs from 'modules/GameEngine/GameState/Helpers/beatToMs';
import { getLastNoteEnd } from 'modules/Songs/utils/notesSelectors';
import useDebounce fro... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/Game/Singing/GameOverlay/Components/ScoreText.tsx | src/routes/Game/Singing/GameOverlay/Components/ScoreText.tsx | interface Props {
score: number;
}
// eslint-disable-next-line react-refresh/only-export-components
export const formatter = new Intl.NumberFormat(undefined, { maximumFractionDigits: 0 });
export default function ScoreText({ score }: Props) {
return <>{formatter.format(score)}</>;
}
| typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/Game/Singing/GameOverlay/Components/RateSong.tsx | src/routes/Game/Singing/GameOverlay/Components/RateSong.tsx | import styled from '@emotion/styled';
import { CheckBox, CheckBoxOutlineBlank } from '@mui/icons-material';
import { Song } from 'interfaces';
import { Menu } from 'modules/Elements/AKUI/Menu';
import { MenuButton } from 'modules/Elements/Menu';
import GameState from 'modules/GameEngine/GameState/GameState';
import use... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/Game/Singing/GameOverlay/Components/SkipIntro.tsx | src/routes/Game/Singing/GameOverlay/Components/SkipIntro.tsx | import styled from '@emotion/styled';
import { VideoPlayerRef } from 'modules/Elements/VideoPlayer';
import { typography } from 'modules/Elements/cssMixins';
import GameState from 'modules/GameEngine/GameState/GameState';
import getSkipIntroTime, { SKIP_INTRO_MS } from 'modules/Songs/utils/getSkipIntroTime';
import get... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/Game/Singing/GameOverlay/Components/PauseMenu.tsx | src/routes/Game/Singing/GameOverlay/Components/PauseMenu.tsx | import { Menu } from 'modules/Elements/AKUI/Menu';
import { MenuButton } from 'modules/Elements/Menu';
import Modal from 'modules/Elements/Modal';
import GameState from 'modules/GameEngine/GameState/GameState';
import SongsService from 'modules/Songs/SongsService';
import useKeyboardNav from 'modules/hooks/useKeyboardN... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Asvarox/allkaraoke | https://github.com/Asvarox/allkaraoke/blob/2143688edab9de7166d87a6c703a394abc450293/src/routes/Game/Singing/GameOverlay/helpers/getPlayerScoreData.ts | src/routes/Game/Singing/GameOverlay/helpers/getPlayerScoreData.ts | type playerNum = 0 | 1 | 2 | 3;
type score = number;
export default function getPlayerScoreData(scores: [playerNum, score][], playerNumber: playerNum) {
// sort by highest score first
scores.sort((a, b) => b[1] - a[1]);
const score = scores.find(([number]) => number === playerNumber) ?? [playerNumber, -1];
cons... | typescript | MIT | 2143688edab9de7166d87a6c703a394abc450293 | 2026-01-05T04:35:37.445262Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.