'use strict';

const store = require('./store-6708f186.js');

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

exports.formBusy = formBusy;
exports.formLoading = formLoading;
