Ariver
2026-07-06 ac1d4fd8ef875312d11acd4e4e5935ced542c227
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import { writable } from "svelte/store";
 
export type IndicatorStatus =
  | "loading"
  | "ready"
  | "recording"
  | "processing"
  | "done"
  | "cancelled"
  | "no_voice"
  | "no_content"
  | "error"
  | "hidden";
 
export const indicatorVisible = writable<boolean>(false);
export const indicatorStatus = writable<IndicatorStatus>("hidden");
export const indicatorVolume = writable<number>(0);
const defaultHotkeyName =
  typeof navigator !== "undefined" && /Mac|iPhone|iPad|iPod/.test(navigator.platform)
    ? "R-⌘"
    : "R-Win";
 
export const hotkeyName = writable<string>(defaultHotkeyName);