Product Description
function logShoppableMetrics(moduleName, showsAddToCart) {
if (window.ue && window.ue.count) {
window.ue.count("aplus:shoppable:" + moduleName + ":addToCart", showsAddToCart ? 1 : 0);
}
}
/**
* Common event handler for click and keydown events.
* @param {Event} event - The event object.
* @param {Function} handleClickOrEnter - Function to handle click or Enter key events.
* @param {Function} handleEsc - Function to handle Esc key events.
*/
// [TODO][AplusMantle-8064] Create common event handler util(key events, click events) in AplusModuleResources
function handleClickAndKeyEvents(event, handleClickOrEnterOrSpace) {
const ENTER_KEY_CODE = 13;
const ESCAPE_KEY_CODE = 27;
const SPACE_KEY_CODE = 32;
const isClick = event.type === 'click';
const isKeydown = event.type === 'keydown';
const isEnter = isKeydown && event.keyCode === ENTER_KEY_CODE;
const isSpace = isKeydown && event.keyCode === SPACE_KEY_CODE;
const isEsc = isKeydown && event.keyCode === ESCAPE_KEY_CODE;
if (isClick || isEnter || isSpace) {
handleClickOrEnterOrSpace();
} else if (isEsc) {
handleEsc(event);
}
}
/**
* Function to handle esc key event.
* @param {Event} event - The event object.
*/
function handleEsc(event) {
event.target.blur()// force remove focus
}






When is the best time to take Greens?
Greens are great at any time, so feel free to drink them whenever is right for you. The key is to find a time when you’re most consistent so you can take them daily and see the best results!
What do Greens taste like?
Absolutely amazing! Greens embody their flavor profile for a smooth and refreshing sip that tastes a lot like a light fruit juice.
What do Greens help with?
Say goodbye to bloat! Greens are packed with 30+ essential nutrients to help balance gut health, boost energy, aid digestion, and provide immunity support.*
Are Greens good for bloating?
Yes! Greens are full of natural digestive enzymes and dairy-free probiotics to help soothe uncomfortable bloat.*
WARNING:
California’s Proposition 65