import { s as state } from './store.js';

/**
 * Is the form loading.
 */
const formLoading = () => state.formState.value === 'loading';
/**
 * Is the form busy.
 */
const formBusy = () => ['updating', 'finalizing', 'paying', 'confirming'].includes(state.formState.value);

export { formLoading as a, formBusy as f };
