const airReactionsSettings = get(window, 'airReactionsSettings', {})
-----------------------------------
function get(obj, props, defaults) {
if (props in obj && typeof props === 'object') {
return {...defaults, ...obj[props]};
}
return {...defaults};
}