resolveAcceptType = () => {
    let type = 'custom';

    const { _acceptedCategories, _allCategoryNames, _readOnlyCategories } = globalObj._state;
    const nAcceptedCategories = _acceptedCategories.length;

    if (nAcceptedCategories === _allCategoryNames.length)
        type = 'all';
    else if (nAcceptedCategories === _readOnlyCategories.length)
        type = 'necessary';

    return type;
}
Calculate "accept type"
@returns {'all'|'custom'|'necessary'} accept type