@nuskin/foundation-ui-components 2.1.2 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/common/accordion/NsCollapse.tsx","../src/common/accordion/colorMap.ts","../src/common/accordion/enums.ts","../src/common/accordion/NsAccordionHeader.tsx","../src/common/icon/icons/ArrowDown.tsx","../src/common/icon/icons/ArrowUp.tsx","../src/common/icon/icons/ArrowLeft.tsx","../src/common/icon/icons/ArrowRight.tsx","../src/common/icon/icons/Cart.tsx","../src/common/icon/icons/CartBadge.tsx","../src/common/icon/icons/InfoFilled.tsx","../src/common/icon/icons/InfoOutlined.tsx","../src/common/icon/icons/CheckShield.tsx","../src/common/icon/icons/CheckVerified.tsx","../src/common/icon/icons/SuccessIcon.tsx","../src/common/icon/icons/ErrorIcon.tsx","../src/common/icon/icons/TrashIcon.tsx","../src/common/icon/icons/SearchIcon.tsx","../src/common/icon/icons/SlashIcon.tsx","../src/common/icon/icons/home.tsx","../src/common/icon/icons/AlertErrorIcon.tsx","../src/common/icon/icons/WarningIcon.tsx","../src/common/icon/icons/CloseIcon.tsx","../src/common/icon/icons/UserIcon.tsx","../src/common/icon/icons/HamburgerIcon.tsx","../src/common/icon/icons/UserOutline.tsx","../src/common/icon/icons/Check.tsx","../src/common/icon/icons/RoundedClose.tsx","../src/common/icon/icons/ChevronRight.tsx","../src/common/icon/NsIconVariants.ts","../src/common/accordion/NsToggleSection.tsx","../src/common/accordion/ToggleSection.styled.tsx","../src/common/accordion/NsAccordionItem.tsx","../src/common/accordion/NsAccordion.tsx","../src/common/alert/NsAlert.tsx","../src/common/hooks/useWindowSize.tsx","../src/common/icon/NsIcon.tsx","../src/common/icon/NsIcon.styled.tsx","../src/common/typography/HtmlTagVariantMap.tsx","../src/common/typography/Typography.styled.tsx","../src/common/typography/NsTypography.tsx","../src/common/typography/GlobalFontInter.tsx","../src/common/alert/Header.tsx","../src/common/alert/NsAlert.styled.tsx","../src/common/auth-dropdown/NsAuthDropdown.tsx","../src/common/hooks/useOnClickOutside.tsx","../src/common/auth-dropdown/NsAuthDropdown.styled.ts","../src/common/autocomplete/NsAutocomplete.tsx","../src/common/autocomplete/helper/LineLoader.tsx","../src/common/autocomplete/helper/RecentClearAll.tsx","../src/common/autocomplete/helper/renderGroupName.tsx","../src/common/autocomplete/helper/SeeMoreButton.tsx","../src/common/autocomplete/NsAutocomplete.styled.tsx","../src/common/input/NsInputField.tsx","../src/common/label/NsLabel.tsx","../src/common/input/getAdornmentProps.tsx","../src/common/input/InputFieldWrapper.tsx","../src/common/input/InputWrapper.tsx","../src/common/image/bynder-util.ts","../src/common/image/BynderMedia.tsx","../src/common/banner/NsBanner.styled.tsx","../src/common/banner/NsBanner.tsx","../src/common/brand-components/NsBrandComponent.tsx","../src/common/brand-components/icons/NSLogoHorizontal.tsx","../src/common/brand-components/icons/NSLogoMark.tsx","../src/common/brand-components/icons/NSLogoPoweredBy.tsx","../src/common/brand-components/icons/NSLogoStacked.tsx","../src/common/brand-components/icons/NSWordMark.tsx","../src/common/brand-components/NsBrandContainer.styled.tsx","../src/common/breadcrumb/NsBreadcrumb.tsx","../src/common/breadcrumb/NsBreadcrumb.styled.tsx","../src/common/link/NsLink.styled.tsx","../src/common/link/NsLink.tsx","../src/common/button/NsButton.tsx","../src/common/button/NsButton.styled.tsx","../src/common/button/helper.ts","../src/common/card/NsBrandWrapper.tsx","../src/common/card/NsBgCard.tsx","../src/common/util.ts","../src/common/card/NsBrandLogo.tsx","../src/common/card/NsHeroCardLevel1.tsx","../src/common/card/CardButton.tsx","../src/common/card/NsHeroCardLevel2.tsx","../src/common/card/NsPost.tsx","../src/common/card/NsBrandCard.tsx","../src/common/card/cardSizes.ts","../src/common/card/NsIconText.tsx","../src/common/card/NsCheckoutCard.tsx","../src/common/card/NsSmallFullCard.tsx","../src/common/card/NsXLargeCard.tsx","../src/common/card/NsLargeCard.tsx","../src/common/card/NsMediumCard.tsx","../src/common/card/NsAwardCard.tsx","../src/common/carousal/NsCarousal.tsx","../src/common/carousal/CarousalControl.tsx","../src/common/carousal/IconWrapper.tsx","../src/common/carousal/slickSetting.ts","../src/common/carousal/NsScrollingCarousal.tsx","../src/common/cart-icon/NsCartIcon.tsx","../src/common/cart-icon/NsCartIcon.styled.tsx","../src/common/checkbox/NsCheckbox.tsx","../src/common/checkbox/NsCheckbox.styled.tsx","../src/common/flag/NsFlag.styled.tsx","../src/common/flag/NsFlag.tsx","../src/common/column-control/NsColumnControl.tsx","../src/common/column-control/utils.ts","../src/common/column-control/NsFlexColumns.tsx","../src/common/column-control/styled/StyledFlex.tsx","../src/common/column-control/styled/common.ts","../src/common/column-control/NsGridColumns.tsx","../src/common/column-control/styled/StyledGrid.tsx","../src/common/dropdown/NsDropdown.tsx","../src/common/dropdown/NsDropdown.styled.tsx","../src/common/dropdown/NsDropdownOption.tsx","../src/common/email-simple/NsEmailSimple.tsx","../src/common/validations/regex.ts","../src/common/hooks/useAccordionMap.tsx","../src/common/image/NsImage.tsx","../src/common/modal/NsModal.tsx","../src/common/modal/helper-component/NsModalDefault.tsx","../src/common/utility/Show.tsx","../src/common/modal/NsModal.styled.tsx","../src/common/modal/helper-component/NsModalTitle.tsx","../src/common/modal/helper-component/NsModalContentBox.tsx","../src/common/modal/helper-component/NsModalStatusIcon.tsx","../src/common/modal/helper-component/NsModalStatus.tsx","../src/common/modal/model/NsModalVariantMap.tsx","../src/common/nav-product-card/NsNavProductCard.styled.tsx","../src/common/nav-product-card/NsNavProductCard.tsx","../src/common/nav-tab/NsNavTab.tsx","../src/common/nav-tab/NsNavTab.styled.tsx","../src/common/nav-tab/NavDrawer.tsx","../src/common/nav-tab/NavTitles.tsx","../src/common/progress/NsProgress.styled.tsx","../src/common/progress/NsProgress.tsx","../src/common/radiogroup/NsRadioGroup.tsx","../src/common/radiogroup/NsRadioGroup.styled.tsx","../src/common/select/NsSelect.tsx","../src/common/select/constant.ts","../src/common/select/NsSelect.styled.tsx","../src/common/select/NsSelectOption.tsx","../src/common/select/DefaultRenderOption.tsx","../src/common/spinner/icons/Spinner.tsx","../src/common/spinner/NsSpinner.styled.tsx","../src/common/spinner/NsSpinner.tsx","../src/common/table/NsTable.tsx","../src/common/table/helper.ts","../src/common/table/NsExpandableRow.tsx","../src/common/table/NsTable.styled.ts","../src/common/table/NsTableHeader.tsx","../src/common/table/NsTablePagination.tsx","../src/common/text-strip/NsTextStrip.tsx","../src/common/toast/ToastProvider.tsx","../src/common/toast/useToast.tsx","../src/common/toast/Fade.tsx","../src/common/toast/shared.ts","../src/common/videos/NsVideo.tsx"],"names":["isValidElement","useMemo","styled","ColorUtils","AccordionVariant","Basic","Compact","Gray","Stripe","variantValues","Object","values","AccordionContentTypeObject","text","html","accordion","jsx","contentValues","getGenomeColor","colorMap","basic","contentBg","contentText","headBg","headText","compact","gray","stripe","getAccordionColor","theme","variant","invert","keys","result","includes","Error","colorKey","appColorKey","colorValue","getLevelOffset","level","StyledCollapse","isChild","borderBottom","backgroundColor","color","opacity","padding","height","overflow","transition","NsCollapse","isOpen","content","additionalProps","type","cslp","allowMultipleExpanded","body","NsTypography_default","children","className","dangerouslySetInnerHTML","__html","NsAccordion_default","items","NsCollapse_default","SvgIcon","ArrowDown","props","viewBox","fill","xmlns","fillRule","clipRule","d","ArrowDown_default","ArrowUp","ArrowUp_default","ArrowLeft","preserveAspectRatio","focusable","style","pointerEvents","display","id","stroke","strokeWidth","strokeLinecap","strokeLinejoin","transform","points","ArrowLeft_default","ArrowRight","ArrowRight_default","Cart","Cart_default","jsxs","CartBadge","width","cx","cy","r","CartBadge_default","InfoFilled","InfoFilled_default","InfoOutlined","clipPath","InfoOutlined_default","CheckShield","CheckShield_default","CheckVerified","CheckVerified_default","SuccessIcon","SuccessIcon_default","ErrorIcon","ErrorIcon_default","TrashIcon","TrashIcon_default","SearchIcon","SearchIcon_default","SlashIcon","SlashIcon_default","Home","home_default","AlertErrorIcon","AlertErrorIcon_default","WarningIcon","WarningIcon_default","CloseIcon","xmlnsXlink","CloseIcon_default","UserIcon","UserIcon_default","HamburgerIcon","HamburgerIcon_default","UserOutline","UserOutline_default","Check","Check_default","RoundedClose","x","y","rx","RoundedClose_default","ChevronRight","ChevronRight_default","IconVariants","arrowDown","arrowUp","arrowLeft","arrowRight","alertError","cart","cartBadge","close","check","checkShield","checkVerified","error","hamburgerIcon","home","infoFilled","infoOutlined","search","success","slash","trash","userIcon","userOutline","warning","roundedClose","chevronRight","NsIconVariants_default","isValidIconName","name","StyledHeader","cursor","gap","gridTemplateColumns","NsAccordionHeader","title","onClick","openedIconName","closedIconName","headerTypographyVariant","startIcon","showEndIconWhenEmpty","role","HeaderIcon","weight","header","NsIcon_default","NsAccordionHeader_default","useState","NsToggleSection","defaultOpen","isExpanded","setIsExpanded","NsAccordionItem_default","toggleOpen","NsToggleSection_default","border","StyledToggleSection","borderRight","margin","StyledAccordionWrapper","flexDirection","borderTop","borderLeft","NsAccordionItem","createKey","item","index","NsAccordion","defaultOpenIds","map","isDefaultOpen","filter","e","useAccordionMap_default","itemStateMap","testid","key","icon","$","item_title","rte","useEffect","useWindowSize","window","innerWidth","innerHeight","windowSize","setWindowSize","handleResize","addEventListener","removeEventListener","useWindowSize_default","useTheme","iconSize","small","medium","large","xLarge","IconWrapper","size","placeContent","placeItems","svg","paletteColor","NsIcon","testId","colorOverride","rest","Icon","iconColor","HtmlTagVariantMapping","h1","h2","h3","h4","h5","h6","CTA","HtmlTagVariantMap_default","defaultFont","defaultTypographyStyles","fontFamily","fontSize","lineHeight","letterSpacingPercentage","paragraphSpacing","fontWeight","fontWeightMap","light","normal","bold","getVariantStyle","themeTypographyVariants","variantStyles","StyledTypography","noSpacing","decoration","fontStyles","fonts","typographyVariants","letterSpacing","textDecorationLine","startsWith","NsTypography","renderHTMLNode","htmlTagVariant","as","css","GlobalStyles","GlobalFontInter","styles","GlobalFontInter_default","Fragment","notice","default","iconMap","Header","head","Header_default","gutterWidth","closeButtonWidth","iconWidth","TypeMap","banner","minHeight","contentColumnStart","contentColumnEnd","barPosition","footVisibility","card","footDisplay","contextType","info","AlertContainer","div","visible","Alert","context","AlertCloseButton","AlertIcon","AlertHead","AlertContent","AlertFoot","sectionFonts","AlertBody","NsAlert","threshold","foot","onDismiss","alertType","setAlertType","hasDismissListener","console","useCallback","useRef","useOnClickOutside","element","handler","mouseEvent","eventListener","event","contains","target","document","AuthDropdownContainer","AuthDropdown","Triangle","AuthHead","Button","Link","a","SignInButton","SignUpLinkContainer","SignUpLink","NsAuthDropdown","signInRedirectLink","signUpRedirectLink","signInBtnText","signUpLinkText","signUpLinkPrefixText","titleText","closeOnMouseLeave","darkModeEnabled","setIsOpen","dropdownRef","handleToggle","handleClose","current","handleOnMouseLeave","ref","onMouseLeave","href","NsAuthDropdown_default","React","Autocomplete","ListSubheader","Popper","useMediaQuery","StyledLine","LineLoader","show","StyledClear","TypoWrapper","RecentClearAll","recentSearchText","GroupNameTypography","renderOptionLabel","option","value","renderGroupBy","group","ListStyled","SeeMoreButton","onSeeMore","options","listboxRef","setScrollTopPosition","handleSeeMore","length","lastScrollPosition","scrollTop","FormHelperText","TextField","FormLabel","StyledLabel","textAlign","NsLabel","required","showOptional","NsLabel_default","InputAdornment","iconNameForFieldState","getAdornmentProps","disabled","fieldState","iconStart","iconEnd","icons","startAdornment","position","endAdornment","Stack","InputFieldWrapper","marginTop","InputFieldWrapper_default","Box","nuskinTheme","isDarkMode","colors","getInputBorderColor","palette","isLight","red","primary","main","InputWrapper","contrastText","inputFocusedBorder","accentColorB","inputDisabledBg","neutral","inputDisabledBorder","inputDisabledColor","black","defaultBg","placeholderColor","alignItems","background","borderRadius","fieldset","input","InputWrapper_default","NsInputField","autoComplete","autoFocus","defaultValue","fullWidth","focused","InputProps","inputProps","inputRef","maxRows","minRows","multiline","onFocus","onBlur","onChange","placeholder","rows","iconSide","label","InputLabelProps","labelSize","FormHelperTextProps","helperText","EndIcon","NsInputField_default","autocompleteClasses","StyledTextField","StyledPopper","listbox","boxSizing","VariableSizeList","createElement","LISTBOX_PADDING","noop","OuterElementContext","createContext","NsAutocomplete","OptionsUI","loading","noOptionsText","onInputChange","clear","seeMore","inputValue","isFilterEnabled","onKeypress","scrollTopPosition","OuterElementType","forwardRef","outerProps","useContext","displayName","renderInput","params","renderOption","renderRow","data","dataSet","inlineStyle","top","hasOwn","component","useResetCache","resetAfterIndex","ListboxComponent","other","itemData","forEach","push","smUp","breakpoints","up","noSsr","itemCount","itemSize","getChildSize","child","getHeight","reduce","b","gridRef","onClear","Provider","outerElementType","innerElementType","overscanCount","open","disableListWrap","PopperComponent","groupBy","getOptionLabel","state","renderGroup","filterOptions","freeSolo","onKeyDown","NsAutocomplete_default","getBasicDATWidthHeight","getImageType","url","fileName","files","parts","split","retrieveImageKey","getUrlBasedOnDerivative","imageDerivativeType","suffix","getMediaUrl","selected","isPublic","previewUrls","fileType","BynderMedia","imageDetail","liveTag","fit","altText","bgColor","mediaUrl","transformedMediaUrl","loop","autoPlay","muted","objectFit","objectPosition","src","alt","StyledBanner","section","StyledHeroText","$justify","$alignment","NsBanner","image","alignment","justify","NsBanner_default","NSLogoHorizontal","NSLogoHorizontal_default","NSLogoMark","NSLogoMark_default","NSLogoPoweredBy","NSLogoPoweredBy_default","NSLogoStacked","NSLogoStacked_default","NSLogoWordMark","NSWordMark_default","NsBrandContainer","NsBrandContainer_styled_default","VariantMap","stacked","horizontal","wordmark","logomark","poweredBy","NsBrandComponent","renderBrand","BrandComponent","NsBrandComponent_default","MUILink","linkDefaultStyles","getLinkStyles","$underlineOnHover","getVariantStyles","variants","outlined","showHorizontal","fontColor","secondary","StyledLink","SecondaryLinkWrapper","SecondaryWrapper","NsLink","underlineOnHover","NsLink_default","BreadcrumbContainer","nav","BreadcrumbList","ol","BreadcrumbItem","li","BreadcrumbStyledLink","underlineVisibility","NsBreadcrumb","underline","separator","neutral80","neutral60","getLabel","NsBreadcrumb_default","MUIButton","generateContainedStyle","textColor","hovered","pressed","generateOutlinedStyle","borderColor","activeColor","generateTextStyles","underlineColor","textDecoration","textUnderlineOffset","minWidth","textDecorationColor","generateIconOnlyStyles","buttonColor","getButtonConfig","attribute","config","components","button","StyledButton","iconOnly","focusBorderColor","sizeStyle","btnColor","buttonStyles","textTransform","NsButton","startIconName","endIconName","endIcon","disableRipple","NsButton_default","Wrapper","NsBrandWrapper","Card","shouldNotForwardPropsWithKeys","propArray","propName","shouldForwardProp","Component","backgroundImageUrl","backgroundImage","backgroundSize","backgroundPosition","NsBgCard","NsBgCard_default","CardMedia","NsBrandLogo","maxWidth","maxHeight","justifyContent","NsBrandLogo_default","ButtonTextVariant","CardButton","buttonText","showButton","buttonVariant","showArrowWithText","CardButton_default","CardContainer","imagePosition","backgroundClip","wordWrap","paddingLeft","left","marginBottom","NsHeroCardLevel1","cardTitle","cardDescription","backgroundImageDetail","NsHeroCardLevel2","brandName","NsHeroCardLevel2_default","NsPost","substring","NsPost_default","cardSizes","cardSizes_default","wordBreak","NsBrandCard","brandImageUrl","NsIconText","NsIconText_default","NsCheckoutCard","linkText","dropdownIcon","setDropdownIcon","handleClick","NsSmallFullCard","subtitle","NsXLargeCard","isHorizontal","matches","fontSizeSub","fontSizeTitle","imageWidth","NsLargeCard","intro","textVariantButton","span","g","buttonVariantStyle","fluid","textVariantCssModification","flexGrow","NsMediumCard","titleFontWeight","showArrowWithButtonText","NsAwardCard","awardName","mediaOutlet","Slider","IconWrapper_default","InnerWrapper","CarousalControl","next","prev","viewAllUrl","viewAllLabel","CarousalControl_default","settings","dots","infinite","speed","slidesToShow","slidesToScroll","swipeToSlide","responsive","breakpoint","initialSlide","slickSetting_default","SlickContainer","NsCarousal","entries","renderEntry","allEntryLink","allEntryLabel","showControlButtons","sliderRef","slickPrev","slickNext","entry","StyledDiv","dotsBottomPixel","zIndex","bottom","NsScrollingCarousal","slides","scrollSeconds","stillSeconds","renderSlide","defaultSettings","autoplay","autoplaySpeed","accessibility","adaptiveHeight","arrows","draggable","NsScrollingCarousal_default","IconButton","Badge","StyledBadge","bgcolor","NsCartIcon","maxItemCount","badgeContent","max","showZero","NsCartIcon_default","MUICheckbox","FormControlLabel","DoneIcon","FLAG_SCALE_VALUE","FlagHeightMap","getFlagHeight","$size","makeFlagSize","makeFlagBorder","$bgColor","StyledFlag","NsFlag","message","NsFlag_default","BpIcon","path","outline","BpCheckedIcon","getLabelColor","isDisabled","StyledFlagLabel","NsCheckbox","checked","ariaLabel","flag","renderCheckbox","checkedIcon","renderCheckboxLabel","control","NsCheckbox_default","sizeKeyPrefix","desktop","tablet","mobile","sizeKeyMap","getColumnSizes","inputColumnClass","sizeObject","trim","some","prefix","acc","sizes","replace","test","warn","join","descMaxWidthBreakpoints","mediaQuery","bp","fractions","tabletTemplateColumns","tabletFractions","mobileTemplateColumns","mobileFractions","Array","isArray","NsColumnControl","columnClass","NsColumnControl_default","mobileBreakPoint","commonStyles","flexWrap","flex","getPercentArray","fractionArray","numbers","numberString","num","sum","currentSum","currentNumber","toFixed","StyledFlex","isFullWidth","gridGap","fraction","flexResponsive","flexShrink","paddingInline","f","i","flexBasis","NsFlexColumns","NsFlexColumns_default","StyledGrid","fractionPercent","gridColumn","NsGridColumns","NsGridColumns_default","DropdownContainer","getDropdownHeadBorder","DropdownHead","DropdownButton","DropdownList","getListBgColor","DropdownOptionContainer","ListItem","NsDropdown","selectedLabel","onSelect","dropdownBorderColor","handleSelect","NsDropdown_default","NsDropdownOption","NsDropdownOption_default","emailPattern","NsEmailSimple","maxLength","invalidEmailMessage","dupedEmailMessage","requiredErrorMessage","checkEmail","setFieldState","errorMsg","setErrorMessage","emailInput","fieldStateValue","errorMessageValue","isValid","isAvailable","toLowerCase","NsEmailSimple_default","reducer","useAccordionMap","mapSetter","ids","slice","setItemMap","prevState","NsImage","cHeight","cWidth","NsImage_default","Dialog","DialogContent","Show","when","elseContent","Show_default","DialogActions","NsInfoWrapper","CloseButton","ModalFooter","DialogTitle","NsModalTitle","isCloseIcon","iconName","NsModalTitle_default","NsDefaultModal","footer","dividers","NsModalDefault_default","NsModalContentBox","statusInfo","description","NsModalContentBox_default","NsModalStatusIcon","StatusIconMap","NsModalStatusIcon_default","NsStatusModal","NsModalStatus_default","ModalVariantMap","confirmation","NsModal","fullScreen","scrollType","ariaLabelledby","ariaDescribedby","scroll","onClose","NsModal_default","ProductCardContainer","NsNavProductCard","productImg","productDescription","productName","LayoutGroup","motion","NavTabContainer","NavTabBox","NavTabUnderLine","NavDrawerStyled","NavDrawerContainer","NavTitlesBox","NavDrawer","active","showDrawer","initial","animate","exit","duration","NavTitles","tabs","setActive","tabTitleClassName","NavTitleTypography","tab","textVariant","tabName","handleMouseEnter","onMouseEnter","tabLink","layoutId","NsNavTabComponent","activeTab","find","handleLeave","tabContent","LinearProgress","CheckCircleIcon","StyledCheckCircle","ProgressInfo","StyledLinearProgress","barColor","StyledProgress","NsProgress","NsProgress_default","FormControl","Radio","RadioGroup","StyledHelperText","StyledSpan","StyledRadio","StyledFormControlLabel","StyledRadioGroup","NsRadioGroup","disable","labelFontSize","row","NsRadioGroup_default","factorMap","reverse","right","forward","arrowVisibility","total","direction","currentIndex","themeColor","SelectContainer","errorMessage","SelectMain","ErrorContainer","SelectHead","SelectButton","StyledArrowContainer","SelectList","SelectLabel","StyledSelectOption","showListDivider","dividerColor","colorType","hoveredBg","NsSelectOption","isSelected","NsSelectOption_default","DefaultRenderOption","NsSelect","selectBorderColor","readOnly","hasArrows","rules","reverseArrowControls","RenderOption","optionIndex","findIndex","setValue","selectContainerRef","selectHeadRef","closeMenuOnMouseLeave","val","closeMenu","handleMouseClick","setTimeout","focus","handleArrowClick","currentTarget","adder","nextIndex","visibility","onMouseDown","tabIndex","opt","NsSelect_default","SpinnerIcon","shapeRendering","textRendering","strokeDasharray","Spinner_default","SpinnerContainer","prop","NsSpinner","NsSpinner_default","TableBody","TableCell","TableRow","Grid","descendingComparator","orderBy","getComparator","order","stableSort","array","comparator","stabilizedThis","el","sort","Collapse","Table","TableContainer","TableSortLabel","Pagination","StyledTableContainer","StyledTable","StyledTableSortLabel","StyledTableLabel","StyledPageComponent","StyledEmptyRow","emptyRows","StyledTableRow","StyledTableLastCell","StyledOriginalTableCell","StyledPagination","StyledExpandCell","StyledProgressCell","ExpandableRow","expandableContent","isExpand","itemKeyList","showActions","showExpandedContent","actionClick","tableRowTestId","hover","align","colSpan","in","unmountOnExit","TableHead","visuallyHidden","NsTableHeader","headCells","onRequestSort","createSortHandler","property","headCell","sortable","sortDirection","sx","NsTablePagination","count","rowsPerPage","page","onPageChange","totalPage","Math","ceil","shape","NsTable","headers","rowsPerPageOptions","itemKey","isExpandableAll","setOrder","setOrderBy","expandMap","setExpandMap","setPage","setRowsPerPage","handleRequestSort","handleChangePage","newPage","getEmptyRows","visibleRows","rowCount","container","xs","NsTextStrip","link","NsTextStrip_default","MaterialDesignContent","SnackbarProvider","ScreenSize","ToastNotification","md","NsToastProvider","autoHideDuration","Components","ToastProvider_default","closeSnackbar","enqueueSnackbar","Transition","setRef","useForkRef","refA","refB","refValue","getTransitionProps","timeout","mode","easing","transitionTimingFunction","delay","transitionDelay","reflow","node","defaultEasing","easeInOut","easeOut","easeIn","sharp","formatMs","milliseconds","round","createTransition","animatedProp","formattedDuration","formattedDelay","entering","entered","Fade","Ve","inProp","onEnter","onEntered","onExit","onExited","nodeRef","handleRefIntermediary","handleRef","appear","isAppearing","transitionProps","webkitTransition","status","childProps","cloneElement","Fade_default","useToast","closeToast","toastId","generateActionButtons","showCloseIcon","actions","actionButtons","action","showToast","anchorOrigin","vertical","preventDuplicate","TransitionComponent","useToast_default","NsVideo","allowFullScreen","NsVideo_default"],"mappings":"w0xCAAA,OAASA,kBAAAA,EAAAA,CAA8BC,WAAAA,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,WAAAA,CAAAA,MAAAA,MAAAA,CAAAA,MAAAA,YAAAA,CAAAA,MAAAA,OAAAA,CAAAA,MAAAA,gBAAAA,CAAAA,MAAAA,QAAAA,CAAAA,MAAAA,MAAAA,CAAAA,MAAAA,UAAAA,CAAAA,MAAAA,YAAAA,CAAAA,MAAAA,mBAAAA,CAAAA,MAAAA,QAAAA,CAAAA,MAAAA,cAAAA,CAAAA,MAAAA,eAAAA,CAAAA,MAAAA,SAAAA,CAAAA,MAAAA,OAAAA,CAAAA,MAAAA,WAAAA,CAAAA,MAAAA,eAAAA,CAAAA,MAAAA,eAAAA,CAAAA,MAAAA,YAAAA,CAAAA,MAAAA,OAAAA,CAAAA,MAAAA,YAAAA,CAAAA,MAAAA,IAAAA,CAAAA,MAAAA,sBAAAA,CAAAA,MAAAA,QAAAA,CAAAA,MAAAA,eAAAA,CAAAA,MAAAA,QAAAA,CAAAA,MAAAA,aAAAA","sourcesContent":["import { isValidElement, ReactElement, useMemo } from 'react';\n\nimport { styled } from '@nuskin/foundation-theme';\n\nimport {\n AccordionContentTypeObject,\n AccordionItem,\n AccordionVariant,\n AccordionVariantType,\n NsAccordion,\n NsCollapseProps,\n NsTypography,\n} from '../';\nimport { getAccordionColor } from './colorMap';\n\nconst getLevelOffset = (level: number) => {\n return level > 1 ? (level - 1) * 16 : 0;\n};\ntype CollapsePropsType = { variant: AccordionVariantType; level: number; invert: boolean; isChild: boolean };\n\nexport const StyledCollapse = styled('section')<CollapsePropsType>(({ theme, variant, level, invert, isChild }) => {\n const { contentBg, contentText } = getAccordionColor({\n theme,\n invert,\n variant,\n keys: ['contentBg', 'contentText'],\n });\n\n let borderBottom = 'none';\n if (variant === AccordionVariant.Compact) {\n borderBottom = isChild ? 'none' : '1px solid rgb(0,0,0,0.125)';\n }\n return {\n backgroundColor: contentBg,\n color: contentText,\n opacity: 0,\n padding: '0 16px',\n height: 0,\n overflow: 'hidden',\n transition: '0.3s',\n '&.expanded': {\n padding: `9px 0 9px ${getLevelOffset(level)}px`,\n height: 'auto',\n opacity: 1,\n borderBottom,\n },\n '.nsa-content-padded': {\n padding: '0 16px 16px',\n color: contentText,\n backgroundColor: contentBg,\n },\n };\n});\n\n/**\n * NsCollapse component adds css animation while showing children items if prop `isOpen` is true,\n * and while removing children if prop `isOpen` is false\n */\nconst NsCollapse = ({\n isOpen,\n content,\n additionalProps,\n variant,\n level,\n invert,\n isChild,\n type,\n cslp,\n allowMultipleExpanded,\n}: NsCollapseProps): ReactElement => {\n const body = useMemo(() => {\n if (isValidElement(content)) {\n return content as ReactElement;\n }\n if (type === AccordionContentTypeObject.html) {\n return (\n <NsTypography variant=\"body-m\">\n <div\n className=\"nsa-content-padded\"\n dangerouslySetInnerHTML={{ __html: content as string }}\n {...(cslp?.content ?? {})}\n />\n </NsTypography>\n );\n } else if (type === AccordionContentTypeObject.text) {\n return (\n <NsTypography variant=\"body-m\" className=\"p-4\" {...(cslp?.content ?? {})}>\n {content as string}\n </NsTypography>\n );\n } else if (type === AccordionContentTypeObject.accordion) {\n return (\n <NsAccordion\n isChild={true}\n invert={invert}\n level={level}\n variant={AccordionVariant.Gray}\n items={content as AccordionItem[]}\n allowMultipleExpanded={allowMultipleExpanded ?? false}\n />\n );\n }\n return null;\n }, [allowMultipleExpanded, content, cslp?.content, invert, level, type]);\n return (\n <StyledCollapse\n isChild={isChild}\n level={level}\n className={`ns-collapse ${isOpen ? 'expanded' : ''} ${additionalProps?.className ?? ''}`}\n variant={variant}\n invert={invert}\n >\n {body}\n </StyledCollapse>\n );\n};\nexport default NsCollapse;\n","import {\n AllColorKeyType,\n ColorUtils,\n} from '@nuskin/foundation-theme';\n\nimport { Themed } from '../common.types';\nimport {\n AccordionVariant,\n AccordionVariantType,\n} from './enums';\n\nconst { getGenomeColor } = ColorUtils;\nconst compKeys = ['contentBg', 'contentText', 'headBg', 'headText'];\ntype CompKeys = (typeof compKeys)[number];\ntype VariantColors = Record<CompKeys, AllColorKeyType>;\n\nexport const colorMap: Record<AccordionVariantType, VariantColors> = {\n basic: {\n contentBg: 'N20',\n contentText: 'N90',\n headBg: 'N10',\n headText: 'N90',\n },\n compact: {\n contentBg: 'N10',\n contentText: 'N90',\n headBg: 'N10',\n headText: 'N90',\n },\n gray: {\n contentBg: 'N40',\n contentText: 'N80',\n headBg: 'N30',\n headText: 'N70',\n },\n stripe: {\n contentBg: 'N30',\n contentText: 'N70',\n headBg: 'N10',\n headText: 'N80',\n },\n};\n\ntype GetAccordionColor = {\n variant: AccordionVariantType;\n invert: boolean;\n keys: CompKeys[];\n} & Themed;\nexport const getAccordionColor = ({ theme, variant, invert, keys }: GetAccordionColor): Record<CompKeys, string> => {\n const result: Record<string, string> = {};\n if (!Object.values(AccordionVariant).includes(variant)) {\n throw new Error(`Invalid variant ${variant}`);\n }\n for (const colorKey of keys) {\n const appColorKey = colorMap[variant][colorKey];\n const colorValue = getGenomeColor(theme, appColorKey, invert ? 'dark' : 'light');\n result[colorKey] = colorValue;\n }\n return result;\n};\n","export const AccordionVariant = {\n Basic: 'basic',\n Compact: 'compact',\n Gray: 'gray',\n Stripe: 'stripe',\n} as const;\nconst variantValues = Object.values(AccordionVariant);\nexport type AccordionVariantType = (typeof variantValues)[number];\n\nexport const AccordionContentTypeObject = {\n text: 'text',\n html: 'html',\n accordion: 'accordion',\n jsx: 'jsx',\n};\n\nconst contentValues = Object.values(AccordionContentTypeObject);\nexport type AccordionContentType = (typeof contentValues)[number];\n","import { ReactElement } from 'react';\n\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { AccordionVariant, AccordionVariantType, NsAccordionHeaderProps, NsIcon, NsIconProps, NsTypography } from '../';\nimport { isValidIconName } from '../icon/NsIconVariants';\nimport { getAccordionColor } from './colorMap';\n\ntype StyledType = { variant: AccordionVariantType; invert: boolean };\n\nconst StyledHeader = styled('header')<StyledType>(({ theme, variant, invert }) => {\n const { headBg, headText } = getAccordionColor({ theme, variant, invert, keys: ['headBg', 'headText'] });\n let borderBottom = 'none';\n if (variant === AccordionVariant.Compact) {\n borderBottom = '1px solid rgb(0,0,0,0.125)';\n }\n return {\n backgroundColor: headBg,\n color: headText,\n cursor: 'pointer',\n display: 'grid',\n gap: '4px',\n gridTemplateColumns: 'auto 1fr 24px',\n padding: '9px 16px',\n borderBottom,\n '.nsa-item-title': {\n color: headText,\n },\n } as any;\n});\n\n/**\n * NsAccordionHeader is primarily used by NsToggleSection and NsAccordionItem\n * as a header, so it accepts `title` , `isOpen` and `onClick`\n */\nconst NsAccordionHeader = ({\n title,\n onClick,\n isOpen,\n additionalProps,\n openedIconName,\n closedIconName,\n variant,\n headerTypographyVariant,\n startIcon,\n invert,\n cslp,\n showEndIconWhenEmpty,\n content,\n}: NsAccordionHeaderProps): ReactElement => {\n return (\n <StyledHeader\n invert={invert}\n role=\"button\"\n aria-expanded={isOpen ? 'true' : 'false'}\n className={`section-header ${isOpen ? 'expanded' : ''} ${additionalProps?.className ?? ''}`}\n onClick={onClick}\n variant={variant}\n >\n <HeaderIcon {...startIcon} invert={invert} />\n {typeof title === 'string' ? (\n <NsTypography variant={headerTypographyVariant ?? 'h4'} weight=\"bold\" {...(cslp?.header ?? {})}>\n {title}\n </NsTypography>\n ) : (\n title\n )}\n {content || showEndIconWhenEmpty ? (\n <span className=\"header-icon\">\n <NsIcon\n {...(invert ? { color: 'secondary' } : {})}\n name={isOpen ? openedIconName ?? 'arrowUp' : closedIconName ?? 'arrowDown'}\n />\n </span>\n ) : null}\n </StyledHeader>\n );\n};\nexport default NsAccordionHeader;\n\nconst HeaderIcon = (props: Partial<NsIconProps> & { invert: boolean }): ReactElement => {\n const hasIcon = props?.name ? isValidIconName(props?.name) : false;\n if (!hasIcon) return <span />;\n return <NsIcon {...(props as NsIconProps)} {...(props.invert ? { color: 'secondary' } : {})} />;\n};\n","/* eslint-disable max-len */\n\nimport { ReactElement } from 'react';\n\nimport {\n SvgIcon,\n SvgIconProps,\n} from '@mui/material';\n\nconst ArrowDown = (props: SvgIconProps):ReactElement => {\n return (\n <SvgIcon viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" data-testid=\"arrowDown\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M12.7071 16.2071C12.3166 16.5976 11.6834 16.5976 11.2929 16.2071L4.29289 9.20711C3.90237 8.81658 3.90237 8.18342 4.29289 7.79289C4.68342 7.40237 5.31658 7.40237 5.70711 7.79289L12 14.0858L18.2929 7.79289C18.6834 7.40237 19.3166 7.40237 19.7071 7.79289C20.0976 8.18342 20.0976 8.81658 19.7071 9.20711L12.7071 16.2071Z\"\n fill={props.color}\n />\n </SvgIcon>\n );\n};\n\nexport default ArrowDown;\n","/* eslint-disable max-len */\n\nimport { ReactElement } from 'react';\n\nimport { SvgIcon, SvgIconProps } from '@mui/material';\n\nconst ArrowUp = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon viewBox=\"0 0 24 24\" data-testid=\"arrowUp\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M11.2929 7.79289C11.6834 7.40237 12.3166 7.40237 12.7071 7.79289L19.7071 14.7929C20.0976 15.1834 20.0976 15.8166 19.7071 16.2071C19.3166 16.5976 18.6834 16.5976 18.2929 16.2071L12 9.91421L5.70711 16.2071C5.31658 16.5976 4.68342 16.5976 4.29289 16.2071C3.90237 15.8166 3.90237 15.1834 4.29289 14.7929L11.2929 7.79289Z\"\n fill={props.color}\n />\n </SvgIcon>\n );\n};\n\nexport default ArrowUp;\n","import { ReactElement } from 'react';\n\nimport {\n SvgIcon,\n SvgIconProps,\n} from '@mui/material';\n\nconst ArrowLeft = (props: SvgIconProps):ReactElement => {\n return (\n <SvgIcon\n data-testid=\"arrowLeft\"\n viewBox=\"0 0 24 24\"\n preserveAspectRatio=\"xMidYMid meet\"\n focusable=\"false\"\n style={{ pointerEvents: 'none', display: 'block' }}\n {...props}\n >\n <g\n id=\"icon-narrow-angle-left-24\"\n stroke={props.color}\n strokeWidth=\"1\"\n fill=\"none\"\n fillRule=\"evenodd\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n >\n <g transform=\"translate(-196, -226)\" stroke={props.color}>\n <polyline\n // eslint-disable-next-line max-len\n transform=\"translate(209.000000, 237.500000) scale(-1.2, 1.2) rotate(90.000000) translate(-209.000000, -237.500000)\"\n points=\"200 242 209 233 218 242\"\n ></polyline>\n </g>\n </g>\n </SvgIcon>\n );\n};\nexport default ArrowLeft;\n","import { ReactElement } from 'react';\n\nimport {\n SvgIcon,\n SvgIconProps,\n} from '@mui/material';\n\nexport const ArrowRight = (props: SvgIconProps):ReactElement => {\n return (\n <SvgIcon\n {...props}\n data-testid=\"arrowRight\"\n viewBox=\"0 0 24 24\"\n preserveAspectRatio=\"xMidYMid meet\"\n focusable=\"false\"\n style={{ pointerEvents: 'none', display: 'block' }}\n >\n <g\n id=\"icon-narrow-angle-right-24\"\n stroke=\"none\"\n strokeWidth=\"1\"\n fill=\"none\"\n fillRule=\"evenodd\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n >\n <g transform=\"translate(-196, -226)\" stroke={props.color}>\n <polyline\n // eslint-disable-next-line max-len\n transform=\"translate(209.000000, 237.500000) scale(-1.2, 1.2) rotate(-90.000000) translate(-209.000000, -237.500000)\"\n points=\"200 242 209 233 218 242\"\n ></polyline>\n </g>\n </g>\n </SvgIcon>\n );\n};\n\nexport default ArrowRight;\n","/* eslint-disable max-len */\n\nimport { ReactElement } from 'react';\n\nimport {\n SvgIcon,\n SvgIconProps,\n} from '@mui/material';\n\nconst Cart = (props: SvgIconProps):ReactElement => {\n return (\n <SvgIcon viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" data-testid=\"cart\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M0 3.79999C0 3.2477 0.447715 2.79999 1 2.79999H3.19159C4.13466 2.79999 4.94959 3.45879 5.14719 4.38093L5.237 4.80005H21C21.3079 4.80005 21.5987 4.94192 21.7882 5.18464C21.9777 5.42735 22.0448 5.74384 21.9701 6.04258L20.5382 11.7702C20.0931 13.5509 18.4931 14.8 16.6577 14.8H7.3798L7.59407 15.8H19C19.5523 15.8 20 16.2478 20 16.8C20 17.3523 19.5523 17.8 19 17.8H18H7.5H6.78564C6.3141 17.8 5.90664 17.4706 5.80784 17.0096L3.45079 6.00958L3.19159 4.79999H1C0.447715 4.79999 0 4.35227 0 3.79999ZM7.5 17.8C6.39543 17.8 5.5 18.6955 5.5 19.8C5.5 20.9046 6.39543 21.8 7.5 21.8C8.60457 21.8 9.5 20.9046 9.5 19.8C9.5 18.6955 8.60457 17.8 7.5 17.8ZM18 17.8C16.8954 17.8 16 18.6955 16 19.8C16 20.9046 16.8954 21.8 18 21.8C19.1046 21.8 20 20.9046 20 19.8C20 18.6955 19.1046 17.8 18 17.8ZM6.95124 12.8H16.6577C17.5754 12.8 18.3754 12.1755 18.598 11.2851L19.7192 6.80005H5.66557L6.95124 12.8Z\"\n fill={props.color}\n />\n </SvgIcon>\n );\n};\n\nexport default Cart;\n","/* eslint-disable max-len */\n\nimport { ReactElement } from 'react';\n\nimport {\n SvgIcon,\n SvgIconProps,\n} from '@mui/material';\n\nconst CartBadge = (props: SvgIconProps) :ReactElement=> {\n return (\n <SvgIcon\n viewBox=\"0 0 30 30\"\n preserveAspectRatio=\"xMidYMid meet\"\n focusable=\"false\"\n data-testid=\"cartBadge\"\n {...props}\n >\n <g\n id=\"cart-icon-badge\"\n fill=\"none\"\n strokeWidth=\"1\"\n stroke=\"none\"\n fillRule=\"evenodd\"\n width=\"30px\"\n height=\"30px\"\n >\n <g id=\"Group\" transform=\"translate(0.000000, 0.500000)\" stroke={props.color}>\n <circle id=\"Oval\" cx=\"11\" cy=\"21.5\" r=\"1.5\"></circle>\n <circle id=\"Oval\" cx=\"23\" cy=\"21.5\" r=\"1.5\"></circle>\n <polyline\n id=\"Shape\"\n strokeLinecap=\"round\"\n points=\"0 -5.24580379e-15 3.5 -5.41233725e-15 9.5 18 23.5 18\"\n ></polyline>\n <path\n d=\"M8.5,14 L21.6400424,14 C22.9848342,14 24.1653247,13.1050925 24.5285445,11.8102811 L27,3\"\n id=\"Shape\"\n strokeLinecap=\"round\"\n ></path>\n </g>\n </g>\n </SvgIcon>\n );\n};\n\nexport default CartBadge;\n","/* eslint-disable max-len */\n\nimport { ReactElement } from 'react';\n\nimport {\n SvgIcon,\n SvgIconProps,\n} from '@mui/material';\n\nconst InfoFilled = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props} data-testid=\"infoFilled\">\n <path\n d=\"M12 0C9.62663 0 7.30655 0.703788 5.33316 2.02236C3.35977 3.34094 1.8217 5.21508 0.913451 7.4078C0.00519941 9.60051 -0.232441 12.0133 0.230582 14.3411C0.693605 16.6689 1.83649 18.807 3.51472 20.4853C5.19295 22.1635 7.33115 23.3064 9.65892 23.7694C11.9867 24.2324 14.3995 23.9948 16.5922 23.0865C18.7849 22.1783 20.6591 20.6402 21.9776 18.6668C23.2962 16.6934 24 14.3734 24 12C23.9963 8.81853 22.7309 5.76842 20.4812 3.51878C18.2316 1.26914 15.1815 0.00367709 12 0ZM11.9999 5.53846C12.2737 5.53846 12.5414 5.61967 12.7691 5.77181C12.9968 5.92395 13.1743 6.1402 13.2791 6.39321C13.3839 6.64621 13.4113 6.92461 13.3579 7.1932C13.3045 7.46179 13.1726 7.7085 12.979 7.90215C12.7853 8.09579 12.5386 8.22766 12.27 8.28109C12.0014 8.33451 11.723 8.30709 11.47 8.20229C11.217 8.0975 11.0008 7.92002 10.8486 7.69233C10.6965 7.46463 10.6153 7.19693 10.6153 6.92308C10.6153 6.74125 10.6511 6.56119 10.7207 6.39321C10.7903 6.22522 10.8922 6.07258 11.0208 5.944C11.1494 5.81543 11.302 5.71344 11.47 5.64386C11.638 5.57427 11.8181 5.53846 11.9999 5.53846H11.9999ZM12.9231 18.4615H12C11.8788 18.4616 11.7587 18.4378 11.6467 18.3914C11.5347 18.345 11.4329 18.2771 11.3471 18.1913C11.2614 18.1056 11.1934 18.0038 11.147 17.8918C11.1007 17.7798 11.0769 17.6597 11.0769 17.5385V12C10.8321 12 10.5973 11.9027 10.4242 11.7296C10.2511 11.5565 10.1538 11.3217 10.1538 11.0769C10.1538 10.8321 10.2511 10.5973 10.4242 10.4242C10.5973 10.2511 10.8321 10.1538 11.0769 10.1538H12C12.1212 10.1538 12.2413 10.1776 12.3533 10.224C12.4654 10.2703 12.5671 10.3383 12.6529 10.4241C12.7386 10.5098 12.8066 10.6116 12.853 10.7236C12.8993 10.8356 12.9232 10.9557 12.9231 11.0769V16.6154C13.1679 16.6154 13.4027 16.7126 13.5758 16.8857C13.7489 17.0589 13.8462 17.2936 13.8462 17.5385C13.8462 17.7833 13.7489 18.0181 13.5758 18.1912C13.4027 18.3643 13.1679 18.4615 12.9231 18.4615Z\"\n fill={props.color}\n />\n </SvgIcon>\n );\n};\n\nexport default InfoFilled;\n","/* eslint-disable max-len */\n\nimport { ReactElement } from 'react';\n\nimport {\n SvgIcon,\n SvgIconProps,\n} from '@mui/material';\n\nconst InfoOutlined = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n data-testid=\"infoOutlined\"\n >\n <g clipPath=\"url(#clip0_12033_52181)\">\n <path\n d=\"M12 2C14.67 2 17.18 3.04 19.07 4.93C20.96 6.82 22 9.33 22 12C22 13.98 21.42 15.91 20.31 17.56C19.21 19.21 17.66 20.48 15.82 21.24C14.6 21.75 13.31 22 11.99 22C11.34 22 10.68 21.94 10.04 21.81C8.09001 21.42 6.32001 20.48 4.92001 19.07C3.52001 17.67 2.57001 15.9 2.18001 13.95C1.79001 12 1.99001 10.01 2.75001 8.17C3.51001 6.34 4.78001 4.78 6.43001 3.68C8.08001 2.58 10 2 11.98 1.99L12 2ZM11.98 -0.0100002C9.61001 -0.0100002 7.29001 0.69 5.31001 2.01C3.36001 3.34 1.82001 5.22 0.910006 7.41C5.48363e-06 9.6 -0.229994 12.01 0.230006 14.34C0.690006 16.67 1.84001 18.81 3.51001 20.48C5.19001 22.16 7.33001 23.3 9.65001 23.76C10.42 23.91 11.21 23.99 11.99 23.99C13.56 23.99 15.12 23.68 16.58 23.08C18.77 22.17 20.65 20.63 21.97 18.66C23.29 16.69 23.99 14.37 23.99 11.99C23.99 8.81 22.72 5.76 20.47 3.51C18.23 1.27 15.18 -2.29105e-07 12 -2.29105e-07L11.98 -0.0100002Z\"\n fill={props.color}\n />\n <path\n d=\"M12 5.54C12.27 5.54 12.54 5.62 12.77 5.77C13 5.92 13.18 6.14 13.28 6.39C13.38 6.64 13.41 6.92 13.36 7.19C13.31 7.46 13.17 7.71 12.98 7.9C12.79 8.09 12.54 8.23 12.27 8.28C12 8.33 11.72 8.31 11.47 8.2C11.22 8.1 11 7.92 10.85 7.69C10.7 7.46 10.62 7.19 10.62 6.92C10.62 6.74 10.66 6.56 10.73 6.39C10.8 6.22 10.9 6.07 11.03 5.94C11.16 5.81 11.31 5.71 11.48 5.64C11.65 5.57 11.83 5.53 12.01 5.53L12 5.54Z\"\n fill={props.color}\n />\n <path\n d=\"M12.92 18.46H12C11.88 18.46 11.76 18.44 11.65 18.39C11.54 18.34 11.44 18.28 11.35 18.19C11.26 18.1 11.2 18 11.15 17.89C11.1 17.78 11.08 17.66 11.08 17.54V12C10.84 12 10.6 11.9 10.43 11.73C10.26 11.56 10.16 11.32 10.16 11.08C10.16 10.84 10.26 10.6 10.43 10.43C10.6 10.26 10.84 10.16 11.08 10.16H12C12.12 10.16 12.24 10.18 12.35 10.23C12.46 10.28 12.56 10.34 12.65 10.43C12.74 10.52 12.8 10.62 12.85 10.73C12.9 10.84 12.92 10.96 12.92 11.08V16.62C13.16 16.62 13.4 16.72 13.57 16.89C13.74 17.06 13.84 17.3 13.84 17.54C13.84 17.78 13.74 18.02 13.57 18.19C13.4 18.36 13.16 18.46 12.92 18.46Z\"\n fill={props.color}\n />\n </g>\n <defs>\n <clipPath id=\"clip0_12033_52181\">\n <rect width=\"24\" height=\"24\" fill=\"white\" />\n </clipPath>\n </defs>\n </SvgIcon>\n );\n};\n\nexport default InfoOutlined;\n","/* eslint-disable max-len */\n\nimport { ReactElement } from 'react';\n\nimport { SvgIcon, SvgIconProps } from '@mui/material';\n\nconst CheckShield = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n data-testid=\"checkShield\"\n >\n <path\n d=\"M20.3941 1H2.7631C2.29568 1.00061 1.84758 1.18656 1.51707 1.51707C1.18656 1.84759 1.00061 2.29568 1 2.7631V9.22751C1 19.0855 9.35492 22.3543 11.0311 22.9096C11.3861 23.0301 11.7711 23.0301 12.1261 22.9096C13.8014 22.3543 22.1572 19.0864 22.1572 9.22751V2.7631C22.1566 2.29568 21.9706 1.84758 21.6401 1.51707C21.3096 1.18656 20.8615 1.00061 20.3941 1ZM17.0358 8.69031L10.5705 14.8612C10.4064 15.0176 10.1885 15.1048 9.96185 15.1048C9.7352 15.1048 9.51725 15.0176 9.3532 14.8612L6.12142 11.7757C6.03753 11.6958 5.97021 11.6002 5.9233 11.4943C5.87639 11.3883 5.85082 11.2742 5.84805 11.1584C5.84528 11.0425 5.86536 10.9273 5.90715 10.8193C5.94893 10.7112 6.01161 10.6124 6.09158 10.5286C6.17156 10.4448 6.26726 10.3776 6.37324 10.3308C6.47921 10.2839 6.59338 10.2585 6.7092 10.2558C6.82502 10.2531 6.94023 10.2733 7.04825 10.3152C7.15627 10.3571 7.25497 10.4199 7.33872 10.4999L9.96185 13.0042L15.8185 7.41448C15.9022 7.33443 16.0009 7.27167 16.1089 7.22978C16.217 7.1879 16.3322 7.16772 16.448 7.17038C16.5638 7.17305 16.678 7.19852 16.7839 7.24533C16.8899 7.29214 16.9856 7.35938 17.0656 7.4432C17.1456 7.52702 17.2083 7.62578 17.25 7.73384C17.2918 7.84189 17.3119 7.95712 17.3091 8.07294C17.3064 8.18876 17.2808 8.3029 17.2339 8.40883C17.187 8.51477 17.1197 8.61042 17.0358 8.69031H17.0358Z\"\n fill={props.color}\n />\n </SvgIcon>\n );\n};\n\nexport default CheckShield;\n","/* eslint-disable max-len */\n\nimport { ReactElement } from 'react';\n\nimport {\n SvgIcon,\n SvgIconProps,\n} from '@mui/material';\n\nconst CheckVerified = (props: SvgIconProps):ReactElement => {\n return (\n <SvgIcon\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n data-testid=\"checkVerified\"\n >\n <path\n d=\"M22.4852 9.30165C22.0811 8.8802 21.6632 8.44451 21.5053 8.06271C21.3601 7.71198 21.3514 7.13107 21.3429 6.5692C21.3271 5.52361 21.3092 4.33855 20.4853 3.51468C19.6614 2.69081 18.4764 2.67292 17.4308 2.65712C16.8689 2.64865 16.288 2.63986 15.9373 2.49473C15.5556 2.33684 15.1198 1.91895 14.6983 1.51475C13.9581 0.804722 13.1188 0 12 0C10.8812 0 10.042 0.804722 9.30165 1.51475C8.8802 1.91895 8.44451 2.33684 8.06271 2.49473C7.71198 2.63986 7.13107 2.64865 6.5692 2.65712C5.52361 2.67292 4.33855 2.69081 3.51468 3.51468C2.69081 4.33855 2.67292 5.52361 2.65712 6.5692C2.64865 7.13107 2.63986 7.71198 2.49473 8.06271C2.33684 8.44441 1.91895 8.8802 1.51475 9.30165C0.804722 10.0419 0 10.8812 0 12C0 13.1188 0.804722 13.958 1.51475 14.6983C1.91895 15.1198 2.33684 15.5555 2.49473 15.9373C2.63986 16.288 2.64865 16.8689 2.65712 17.4308C2.67292 18.4764 2.69081 19.6614 3.51468 20.4853C4.33855 21.3092 5.52361 21.3271 6.5692 21.3429C7.13107 21.3514 7.71198 21.3601 8.06271 21.5053C8.44441 21.6632 8.8802 22.0811 9.30165 22.4852C10.0419 23.1953 10.8812 24 12 24C13.1188 24 13.958 23.1953 14.6983 22.4852C15.1198 22.0811 15.5555 21.6632 15.9373 21.5053C16.288 21.3601 16.8689 21.3514 17.4308 21.3429C18.4764 21.3271 19.6614 21.3092 20.4853 20.4853C21.3092 19.6614 21.3271 18.4764 21.3429 17.4308C21.3514 16.8689 21.3601 16.288 21.5053 15.9373C21.6632 15.5556 22.0811 15.1198 22.4852 14.6983C23.1953 13.9581 24 13.1188 24 12C24 10.8812 23.1953 10.042 22.4852 9.30165ZM17.3061 10.0486L11.0203 16.0486C10.8609 16.2008 10.6489 16.2857 10.4285 16.2857C10.2081 16.2857 9.99618 16.2008 9.83674 16.0486L6.69392 13.0486C6.61244 12.9709 6.54708 12.8779 6.50155 12.7749C6.45603 12.672 6.43123 12.561 6.42859 12.4485C6.42595 12.3359 6.4455 12.224 6.48614 12.119C6.52678 12.014 6.58771 11.918 6.66544 11.8366C6.74318 11.7551 6.83619 11.6898 6.93918 11.6443C7.04217 11.5988 7.15311 11.5741 7.26567 11.5715C7.37823 11.5688 7.49019 11.5884 7.59517 11.6291C7.70016 11.6698 7.79609 11.7308 7.87751 11.8085L10.4285 14.2436L16.1225 8.80852C16.2039 8.73076 16.2998 8.6698 16.4048 8.62912C16.5098 8.58844 16.6218 8.56885 16.7343 8.57145C16.8469 8.57405 16.9578 8.59881 17.0608 8.64429C17.1638 8.68978 17.2568 8.75511 17.3346 8.83656C17.4123 8.918 17.4732 9.01397 17.5139 9.11896C17.5545 9.22396 17.5741 9.33593 17.5714 9.44849C17.5688 9.56104 17.544 9.67198 17.4984 9.77495C17.4529 9.87792 17.3876 9.97091 17.3061 10.0486Z\"\n fill={props.color}\n />\n </SvgIcon>\n );\n};\n\nexport default CheckVerified;\n","import { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';\n\n/**\n * pass fill = '#fff' and colorOverride ='#5BAC85'\n * @param props\n * @returns\n */\nconst SuccessIcon = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n data-testid=\"success\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <g id=\"Check Circle\">\n <circle id=\"Ellipse 70\" cx=\"10\" cy=\"10\" r=\"10\" fill={props.color} />\n <g id=\"check 12px\">\n <g id=\"checkmark\">\n <path\n id=\"Shape (Stroke)\"\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M15.8051 5.79289C16.1956 6.18342 16.1956 6.81658 15.8051 7.20711L8.80508 14.2071C8.61742 14.3948 8.36287 14.5001 8.09748 14.5C7.8321 14.4999 7.57765 14.3943 7.39018 14.2064L3.79218 10.6014C3.40203 10.2105 3.40265 9.57735 3.79355 9.18721C4.18445 8.79706 4.81762 8.79768 5.20776 9.18858L8.09866 12.0851L14.3909 5.79289C14.7814 5.40237 15.4146 5.40237 15.8051 5.79289Z\"\n fill={props.fill || '#fff'}\n />\n </g>\n </g>\n </g>\n </SvgIcon>\n );\n};\n\nexport default SuccessIcon;\n","import { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';\n\n/**\n * pass colorOverride = '#C81D1D'\n * @param props { color: color to be filled for icon}\n * @returns ErrorIcon, can be used in Input field, when input field is in error state\n */\nconst ErrorIcon = (props: SvgIconProps):ReactElement => {\n return (\n <SvgIcon\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n data-testid=\"error\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path\n d=\"M17.07 2.92999C15.4338 1.29429 13.2811 0.276523 10.9786 0.0501185C8.67611 -0.176286 6.36637 0.402675 4.44291 1.68835C2.51945 2.97403 1.1013 4.88687 0.430089 7.10094C-0.241121 9.31502 -0.123857 11.6933 0.761901 13.8306C1.64766 15.9679 3.24711 17.732 5.28771 18.8222C7.32831 19.9125 9.68381 20.2614 11.9528 19.8096C14.2219 19.3578 16.2641 18.1332 17.7314 16.3445C19.1988 14.5557 20.0005 12.3136 20 9.99999C19.9994 7.34804 18.9455 4.80491 17.07 2.92999ZM9 5.37999C9 5.11477 9.10536 4.86041 9.29289 4.67288C9.48043 4.48534 9.73478 4.37999 10 4.37999C10.2652 4.37999 10.5196 4.48534 10.7071 4.67288C10.8946 4.86041 11 5.11477 11 5.37999V10.6C11 10.8652 10.8946 11.1196 10.7071 11.3071C10.5196 11.4946 10.2652 11.6 10 11.6C9.73478 11.6 9.48043 11.4946 9.29289 11.3071C9.10536 11.1196 9 10.8652 9 10.6V5.37999ZM10 15.51C9.74684 15.51 9.49936 15.4349 9.28887 15.2943C9.07837 15.1536 8.91431 14.9537 8.81743 14.7198C8.72055 14.4859 8.6952 14.2286 8.74459 13.9803C8.79398 13.732 8.91589 13.5039 9.0949 13.3249C9.27391 13.1459 9.50199 13.024 9.75028 12.9746C9.99858 12.9252 10.2559 12.9505 10.4898 13.0474C10.7237 13.1443 10.9236 13.3084 11.0643 13.5189C11.2049 13.7294 11.28 13.9768 11.28 14.23C11.28 14.5695 11.1451 14.895 10.9051 15.1351C10.665 15.3751 10.3395 15.51 10 15.51Z\"\n fill={props.color}\n />\n </SvgIcon>\n );\n};\n\nexport default ErrorIcon;\n","import { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';\n\n/**\n *\n * @param props {fill: color of the trash icon}\n * @returns returns TrashIcon, used for marking delete symbol\n */\nconst TrashIcon = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon\n width=\"20\"\n height=\"21\"\n viewBox=\"0 0 20 21\"\n data-testid=\"trash\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M10 0C10.5523 0 11 0.447715 11 1V2.5H19C19.5523 2.5 20 2.94772 20 3.5C20 4.05228 19.5523 4.5 19 4.5H17.5V18C17.5 19.6569 16.1569 21 14.5 21H5.5C3.84315 21 2.5 19.6569 2.5 18V4.5H1C0.447715 4.5 0 4.05228 0 3.5C0 2.94772 0.447715 2.5 1 2.5H9V1C9 0.447715 9.44771 0 10 0ZM4.5 4.5V18C4.5 18.5523 4.94772 19 5.5 19H14.5C15.0523 19 15.5 18.5523 15.5 18V4.5H4.5ZM6.5 5.5C7.05228 5.5 7.5 5.94772 7.5 6.5V17C7.5 17.5523 7.05228 18 6.5 18C5.94772 18 5.5 17.5523 5.5 17V6.5C5.5 5.94772 5.94772 5.5 6.5 5.5ZM10 5.5C10.5523 5.5 11 5.94772 11 6.5V17C11 17.5523 10.5523 18 10 18C9.44771 18 9 17.5523 9 17V6.5C9 5.94772 9.44771 5.5 10 5.5ZM13.5 5.5C14.0523 5.5 14.5 5.94772 14.5 6.5V17C14.5 17.5523 14.0523 18 13.5 18C12.9477 18 12.5 17.5523 12.5 17V6.5C12.5 5.94772 12.9477 5.5 13.5 5.5Z\"\n fill={props.color}\n />\n </SvgIcon>\n );\n};\n\nexport default TrashIcon;\n","import { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';\n\n/**\n * pass colorOverride = '#5F5F5F'\n * @param props {fill: color to be filled for icon, color: color of the tick icon}\n * @returns SearchIcon, can be used in Input field, when input field is in success state\n */\nconst SearchIcon = (props: SvgIconProps): ReactElement=> {\n return (\n <SvgIcon\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n data-testid=\"search\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M0 9.98777C0 4.47167 4.46598 0 9.97505 0C15.4841 0 19.9501 4.47167 19.9501 9.98777C19.9501 11.7568 19.49 13.4205 18.6829 14.8629L23.2366 19.4844C24.2593 20.5223 24.2537 22.1921 23.2241 23.2231C22.1755 24.273 20.4704 24.2567 19.442 23.1869L15.0315 18.5988C13.5485 19.4736 11.8192 19.9755 9.97505 19.9755C4.46598 19.9755 0 15.5039 0 9.98777ZM16.6388 17.42L20.8646 21.8159C21.1265 22.0884 21.5608 22.0926 21.8279 21.8251C22.0902 21.5625 22.0916 21.1372 21.8311 20.8728L17.5309 16.5087C17.2531 16.8311 16.9551 17.1355 16.6388 17.42ZM9.97505 1.97696C5.55644 1.97696 1.97444 5.56352 1.97444 9.98777C1.97444 14.412 5.55644 17.9986 9.97505 17.9986C11.7025 17.9986 13.2995 17.4515 14.6063 16.5208C15.3948 15.9594 16.0773 15.2583 16.6179 14.454C17.4753 13.1784 17.9757 11.6431 17.9757 9.98777C17.9757 5.56352 14.3937 1.97696 9.97505 1.97696Z\"\n fill={props.color}\n />\n </SvgIcon>\n );\n};\n\nexport default SearchIcon;\n","import { ReactElement } from 'react';\n\nimport {\n SvgIcon,\n SvgIconProps,\n} from '@mui/material';\n\nconst SlashIcon = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon viewBox=\"0 0 2 22\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props} data-testid=\"slash\">\n <path\n d=\"M1 1L1 11L0.999999 21\"\n stroke={props.color}\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </SvgIcon>\n );\n};\n\nexport default SlashIcon;\n","import { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport { SvgIcon, SvgIconProps } from '@mui/material';\n\nconst Home = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" data-testid=\"home\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M23.77 12.4971C23.8226 12.577 23.8694 12.6606 23.91 12.7471C23.9626 12.8911 23.9864 13.044 23.98 13.1971C23.9839 13.3413 23.9566 13.4845 23.9 13.6171C23.8531 13.7514 23.7781 13.8741 23.68 13.9771C23.5815 14.0833 23.4624 14.1683 23.33 14.2271C23.206 14.2775 23.0738 14.3046 22.94 14.3071C22.7944 14.3048 22.651 14.2706 22.52 14.2071C22.3902 14.1445 22.2745 14.056 22.18 13.9471L12.28 3.33713C12.2277 3.27493 12.1581 3.22968 12.08 3.20713C12.0087 3.18275 11.9313 3.18275 11.86 3.20713C11.803 3.22861 11.7517 3.26281 11.71 3.30713L1.8 13.9271C1.70627 14.0302 1.59203 14.1126 1.46459 14.169C1.33716 14.2254 1.19935 14.2545 1.06 14.2545C0.920651 14.2545 0.78284 14.2254 0.655406 14.169C0.527971 14.1126 0.413727 14.0302 0.32 13.9271C0.217842 13.8273 0.136296 13.7084 0.08 13.5771C0.0284697 13.4396 0.00139518 13.294 0 13.1471C0.0013101 13.0035 0.0284068 12.8612 0.08 12.7271C0.136065 12.5928 0.217559 12.4705 0.32 12.3671L10.26 1.77713C10.6011 1.40957 11.0475 1.15652 11.538 1.05268C12.0286 0.94884 12.5393 0.999295 13 1.19713C13.2985 1.33692 13.5643 1.53794 13.78 1.78713L15.33 3.48713V3.10713C15.3302 2.82197 15.4372 2.54724 15.63 2.33713C15.7244 2.23535 15.8389 2.15434 15.9663 2.09925C16.0937 2.04415 16.2312 2.01619 16.37 2.01713H20C20.1486 2.0007 20.2989 2.01779 20.44 2.06713C20.5669 2.12598 20.6821 2.20728 20.78 2.30713C20.8776 2.41428 20.9525 2.54016 21 2.67713C21.0449 2.80898 21.0652 2.94794 21.06 3.08713V9.56713L23.77 12.4971ZM19 7.33713V4.17713H17.42V5.67713L19 7.33713ZM19.28 13.94C19.4773 13.7598 19.7329 13.6569 20 13.65C20.2667 13.6586 20.5217 13.7613 20.72 13.94C20.8169 14.0298 20.8951 14.1378 20.95 14.258C21.0049 14.3781 21.0355 14.508 21.04 14.64V22.02C21.0355 22.152 21.0049 22.2819 20.95 22.402C20.8951 22.5222 20.8169 22.6302 20.72 22.72C20.5232 22.8997 20.2665 22.9996 20 23H14.22C13.9504 23.0001 13.6903 22.9004 13.49 22.72C13.3949 22.6294 13.3185 22.5209 13.2653 22.4008C13.2121 22.2807 13.1831 22.1513 13.18 22.02V16.66C13.18 16.6134 13.1691 16.5675 13.1483 16.5258C13.1275 16.4842 13.0972 16.4479 13.06 16.42C13.0207 16.3807 12.9739 16.3498 12.9223 16.3292C12.8707 16.3086 12.8155 16.2986 12.76 16.3H11.3C11.2443 16.2974 11.1887 16.3068 11.137 16.3275C11.0852 16.3482 11.0385 16.3797 11 16.42C10.9597 16.4426 10.9252 16.4743 10.8992 16.5124C10.8732 16.5506 10.8564 16.5943 10.85 16.64V22.04C10.851 22.173 10.8229 22.3046 10.7676 22.4255C10.7123 22.5464 10.6312 22.6538 10.53 22.74C10.4345 22.8321 10.3217 22.9043 10.1981 22.9523C10.0745 23.0004 9.94256 23.0234 9.80997 23.02H3.99997C3.85815 23.0235 3.71703 22.9988 3.58484 22.9473C3.45265 22.8958 3.33202 22.8186 3.22997 22.72C3.13304 22.6302 3.05485 22.5222 2.99993 22.402C2.945 22.2819 2.91443 22.152 2.90997 22.02V14.64C2.91311 14.5063 2.94305 14.3745 2.99802 14.2526C3.05298 14.1306 3.13186 14.0209 3.22997 13.93C3.43312 13.7554 3.69211 13.6594 3.95997 13.6594C4.22783 13.6594 4.48683 13.7554 4.68997 13.93C4.78627 14.0218 4.86329 14.1318 4.91652 14.2538C4.96975 14.3757 4.99812 14.507 4.99997 14.64V21.09H8.76997V16.68C8.7711 16.3671 8.83749 16.0578 8.9649 15.772C9.09232 15.4861 9.27797 15.23 9.50997 15.02C9.74648 14.8043 10.0212 14.6348 10.32 14.52C10.622 14.4001 10.9451 14.3423 11.27 14.35H12.73C13.3796 14.3465 14.0071 14.5854 14.49 15.02C14.7181 15.2289 14.9014 15.482 15.0286 15.7639C15.1558 16.0459 15.2243 16.3507 15.23 16.66V21.07H18.96V14.64C18.9609 14.5073 18.9899 14.3764 19.045 14.2557C19.1002 14.1351 19.1803 14.0275 19.28 13.94Z\"\n fill={props?.color}\n />\n </SvgIcon>\n );\n};\n\nexport default Home;\n","import { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';\n\n/**\n *\n * @param props { fill: color to be filled for icon, color: color of the tick icon}\n * @returns ErrorIcon, can be used in Input field, when input field is in error state\n */\nconst AlertErrorIcon = (props: SvgIconProps):ReactElement => {\n return (\n <SvgIcon\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n data-testid=\"alertError\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <g id=\"icon/alert/WarningFill-red\" transform=\"translate(1.000000, 1.000000)\">\n <g id=\"Error2\" transform=\"translate(0.000000, 1.200000)\">\n <path\n d=\"M17.9465423,14.8670135 L9.44311247,0.246687943 C9.35049358,0.100809118 9.18936767,0.012383152 9.01617259,0.012383152 C8.84297751,0.012383152 8.68185161,\n 0.100809118 8.58923271,0.246687943 L0.0706452929,14.8670135 C-0.0142965839,15.0216954 -0.0118890438,15.2093943 0.0769925071,15.3618609 C0.165874058,\n 15.5143276 0.328282319,15.6093523 0.505163987,15.6123832 L17.5120236,15.6123832 C17.6889052,15.6093523 17.8513135,15.5143276 17.940195,15.3618609 C18.0290766,\n 15.2093943 18.0314841,15.0216954 17.9465423,14.8670135 Z\"\n id=\"Shape\"\n fill={props.color}\n fillRule=\"nonzero\"\n ></path>\n <path\n d=\"M8.19,12.84 C8.16437588,12.6281014 8.2368299,12.4160897 8.38677958,12.2641927 C8.53672927,12.1122956 8.74778837,12.0371121 8.96,12.06 C9.16715704,\n 12.0467652 9.37034806,12.1211477 9.52,12.265 C9.65709398,12.4241339 9.72701115,12.6303 9.715,12.84 C9.72048715,13.0522748 9.64341383,13.2584012 9.5,\n 13.415 C9.35312473,13.5641498 9.1489517,13.6425377 8.94,13.63 C8.72997224,13.6424095 8.52401376,13.5683367 8.37,13.425 C8.23531653,13.2613056 8.17063593,\n 13.0510936 8.19,12.84 Z M9.415,11.195 L8.5,11.195 L8.25,5.96 L9.675,5.96 L9.415,11.195 Z\"\n id=\"Shape\"\n fill={'#FFFFFF'}\n fillRule=\"nonzero\"\n ></path>\n </g>\n </g>\n </SvgIcon>\n );\n};\n\nexport default AlertErrorIcon;\n","import { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';\n\n/**\n * pass colorOverride = '#FEBD00'\n * @param props { fill: color to be filled for icon, color: color of the tick icon}\n * @returns ErrorIcon, can be used in Input field, when input field is in error state\n */\nconst WarningIcon = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n data-testid=\"warning\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <g id=\"💎-icon/alert/WarningFill-yellow\" transform=\"translate(1.000000, 1.000000)\">\n <g id=\"Warning2\" transform=\"translate(0.000000, 1.200000)\">\n <path\n d=\"M17.9465423,14.8670135 L9.44311247,0.246687943 C9.35049358,0.100809118 9.18936767,0.012383152 9.01617259,0.012383152 C8.84297751,0.012383152 8.68185161,\n 0.100809118 8.58923271,0.246687943 L0.0706452929,14.8670135 C-0.0142965839,15.0216954 -0.0118890438,15.2093943 0.0769925071,15.3618609 C0.165874058,\n 15.5143276 0.328282319,15.6093523 0.505163987,15.6123832 L17.5120236,15.6123832 C17.6889052,15.6093523 17.8513135,15.5143276 17.940195,15.3618609 C18.0290766,\n 15.2093943 18.0314841,15.0216954 17.9465423,14.8670135 Z\"\n id=\"Shape\"\n fill={props.color}\n fillRule=\"nonzero\"\n ></path>\n <path\n d=\"M8.19,12.84 C8.16437588,12.6281014 8.2368299,12.4160897 8.38677958,12.2641927 C8.53672927,12.1122956 8.74778837,12.0371121 8.96,12.06 C9.16715704,\n 12.0467652 9.37034806,12.1211477 9.52,12.265 C9.65709398,12.4241339 9.72701115,12.6303 9.715,12.84 C9.72048715,13.0522748 9.64341383,13.2584012 9.5,\n 13.415 C9.35312473,13.5641498 9.1489517,13.6425377 8.94,13.63 C8.72997224,13.6424095 8.52401376,13.5683367 8.37,13.425 C8.23531653,13.2613056 8.17063593,\n 13.0510936 8.19,12.84 Z M9.415,11.195 L8.5,11.195 L8.25,5.96 L9.675,5.96 L9.415,11.195 Z\"\n id=\"Shape\"\n fill=\"#FFFFFF\"\n fillRule=\"nonzero\"\n ></path>\n </g>\n </g>\n </SvgIcon>\n );\n};\n\nexport default WarningIcon;\n","/* eslint-disable max-len */\n\nimport { ReactElement } from 'react';\n\nimport {\n SvgIcon,\n SvgIconProps,\n} from '@mui/material';\n\nconst CloseIcon = (props: SvgIconProps):ReactElement => {\n return (\n <SvgIcon\n viewBox=\"0 0 12 12\"\n preserveAspectRatio=\"xMidYMid meet\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlnsXlink=\"http://www.w3.org/1999/xlink\"\n {...props}\n data-testid=\"close\"\n >\n <g fill=\"none\" stroke={props.color} strokeWidth=\"1\">\n <path strokeLinecap=\"round\" d=\"M 0 0 L 12 12 M 0 12 L 12 0\" />\n </g>\n </SvgIcon>\n );\n};\n\nexport default CloseIcon;\n","import { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';\n\n/**\n *\n * @param props {fill: color to be filled for icon, color: color of the tick icon}\n */\nconst UserIcon = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon\n viewBox=\"0 0 24 24\"\n data-testid=\"userIcon\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n fill=\"transparent\"\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23Z\"\n stroke={props.color}\n strokeWidth=\"2\"\n />\n <path\n d=\"M19 20C18.9425 19.3229 19 17.5669 17.3793 17.2226C14.7126 16.6144 13.931 16.4078 14.1034 14.2272C15.8046 13.0796 15.7816 11.0252 15.7471 8.74139C15.7471 6.67508 14.0695 5 12 5C9.93052 5 8.25287 6.67508 8.25287 8.74139C8.25287 11.0367 8.25287 13.137 9.89655 14.2272C10.0575 16.4078 9.28736 16.6144 6.62069 17.2226C5 17.5669 5.05747 19.3229 5 20\"\n stroke={props.color}\n fill={props.color}\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n />\n </SvgIcon>\n );\n};\n\nexport default UserIcon;\n","import { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';\n\n/**\n *\n * @param props {stroke}\n */\nconst HamburgerIcon = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon viewBox=\"0 0 24 18\" {...props} data-testid=\"hamburgerIcon\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n stroke={props.color}\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M0 1C0 0.447715 0.447715 0 1 0H19C19.5523 0 20 0.447715 20 1C20 1.55228 19.5523 2 19 2H1C0.447715 2 0 1.55228 0 1Z\"\n />\n <path\n stroke={props.color}\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M0 9C0 8.44772 0.447715 8 1 8H19C19.5523 8 20 8.44772 20 9C20 9.55228 19.5523 10 19 10H1C0.447715 10 0 9.55228 0 9Z\"\n />\n <path\n stroke={props.color}\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M0 17C0 16.4477 0.447715 16 1 16H19C19.5523 16 20 16.4477 20 17C20 17.5523 19.5523 18 19 18H1C0.447715 18 0 17.5523 0 17Z\"\n />\n </SvgIcon>\n );\n};\n\nexport default HamburgerIcon;\n","import { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';\n\n/**\n * * pass colorOverride = '#272525'\n */\nfunction UserOutline(props: SvgIconProps): ReactElement {\n return (\n <SvgIcon\n data-testid=\"userOutline\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M12 1.25C6.06294 1.25 1.25 6.06294 1.25 12C1.25 17.9371 6.06294 22.75 12 22.75C17.9371 22.75 22.75 17.9371 22.75 12C22.75 6.06294 17.9371 1.25 12 1.25ZM2.75 12C2.75 6.89137 6.89137 2.75 12 2.75C17.1086 2.75 21.25 6.89137 21.25 12C21.25 14.5514 20.217 16.8615 18.5465 18.535C18.5373 18.5053 18.5278 18.4757 18.5177 18.4462C18.2909 17.7811 17.7908 17.0816 16.7743 16.861C16.1976 16.7279 15.7597 16.6249 15.4126 16.5154C15.0619 16.4048 14.8722 16.3075 14.7621 16.2197C14.6519 16.1318 14.5229 15.9893 14.534 15.3824C15.2564 14.7722 15.6208 13.9828 15.7989 13.145C15.9917 12.2377 15.9765 11.218 15.9621 10.2575L15.9618 10.2367C15.9587 8.04108 14.1928 6.25 12 6.25C9.80523 6.25 8.03818 8.04427 8.03818 10.2425L8.03818 10.2902C8.03812 11.2492 8.03807 12.2685 8.23093 13.1685C8.40828 13.9961 8.76096 14.7856 9.46415 15.382C9.47219 15.9884 9.34391 16.1319 9.23338 16.2204C9.12398 16.3079 8.93522 16.4051 8.58559 16.5155C8.23946 16.6249 7.80232 16.728 7.22572 16.861C6.20921 17.0816 5.70909 17.7811 5.48226 18.4462C5.47222 18.4757 5.46266 18.5053 5.45354 18.535C3.78298 16.8615 2.75 14.5514 2.75 12ZM6.77658 19.6351C8.26295 20.6539 10.0619 21.25 12 21.25C13.9381 21.25 15.7371 20.6539 17.2234 19.6351C17.206 19.3999 17.1779 19.1646 17.098 18.9304C16.9903 18.6146 16.822 18.4054 16.4533 18.3262L16.4423 18.3239L16.4423 18.3238C15.8787 18.1938 15.3772 18.0771 14.9615 17.946C14.5483 17.8157 14.1512 17.6513 13.8266 17.3922C13.0849 16.8004 12.9768 15.9412 13.0552 14.9385L13.0833 14.58L13.3803 14.3774C13.9081 14.0173 14.1862 13.5172 14.3317 12.8331C14.4843 12.1148 14.477 11.265 14.4619 10.2537L14.4617 10.2425H14.4618C14.4618 8.8592 13.3529 7.75 12 7.75C10.6471 7.75 9.53818 8.8592 9.53818 10.2425C9.53818 11.259 9.54149 12.1256 9.69764 12.8542C9.84777 13.5548 10.1225 14.0439 10.6148 14.3741L10.9184 14.5777L10.9451 14.9423C11.0181 15.9429 10.9092 16.8005 10.1706 17.3915C9.84647 17.6509 9.45024 17.8154 9.03756 17.9458C8.62239 18.077 8.12144 18.1938 7.55771 18.3238L7.54669 18.3263L7.54667 18.3262C7.17801 18.4054 7.00968 18.6146 6.90197 18.9304C6.8221 19.1646 6.79403 19.3999 6.77658 19.6351Z\"\n fill={props.color}\n />\n </SvgIcon>\n );\n}\n\nexport default UserOutline;\n","/* eslint-disable max-len */\n\nimport { ReactElement } from 'react';\n\nimport {\n SvgIcon,\n SvgIconProps,\n} from '@mui/material';\n\nconst Check = (props: SvgIconProps):ReactElement => {\n return (\n <SvgIcon\n viewBox=\"0 0 21 20\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n preserveAspectRatio=\"xMidYMid meet\"\n data-testid=\"check\"\n {...props}\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M20.0625 3.57806C20.3879 3.9035 20.3879 4.43114 20.0625 4.75657L8.39582 16.4232C8.23944 16.5796 8.02731 16.6674 7.80616 16.6673C7.585 16.6672 7.37296 16.5792 7.21673 16.4227L1.22007 10.4143C0.894947 10.0886 0.89546 9.56094 1.22121 9.23582C1.54697 8.9107 2.0746 8.91122 2.39972 9.23697L7.80714 14.6549L18.884 3.57806C19.2094 3.25263 19.737 3.25263 20.0625 3.57806Z\"\n fill={props.color}\n />\n </SvgIcon>\n );\n};\n\nexport default Check;\n","import { ReactElement } from 'react';\n\n/* figma link:\n https://www.figma.com/file/PYBXZQL5mleej9AlspDSuI/Equinox-Designs?type=design&node-id=82-1276&mode=design&t=k8Kqtpp3QmkKcOlT-4\n*/\nimport {\n SvgIcon,\n SvgIconProps,\n} from '@mui/material';\n\nconst RoundedClose = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon\n width=\"25\"\n height=\"25\"\n viewBox=\"0 0 25 25\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n data-testid=\"roundedClose\"\n >\n <rect x=\"0.734863\" y=\"0.730225\" width=\"24\" height=\"24\" rx=\"12\" fill={props.color} />\n <path\n d=\"M13.7942 12.7302L16.9911 9.53333C17.2817 9.2427 17.2817 8.76458 16.9911 8.47395C16.7005 8.18333 16.2224 8.18333 15.9317 8.47395L12.7349 11.6708L9.53799 8.47395C9.24736 8.18333 8.76924 8.18333 8.47861 8.47395C8.3333 8.61926 8.2583 8.81145 8.2583 9.00364C8.2583 9.19583 8.3333 9.38801 8.47861 9.53333L11.6755 12.7302L8.47861 15.9271C8.3333 16.0724 8.2583 16.2646 8.2583 16.4568C8.2583 16.6489 8.3333 16.8411 8.47861 16.9864C8.76924 17.2771 9.24736 17.2771 9.53799 16.9864L12.7349 13.7896L15.9317 16.9864C16.2224 17.2771 16.7005 17.2771 16.9911 16.9864C17.2817 16.6958 17.2817 16.2177 16.9911 15.9271L13.7942 12.7302Z\"\n fill=\"#292929\"\n />\n </SvgIcon>\n );\n};\n\nexport default RoundedClose;\n","import { ReactElement } from 'react';\n\nimport {\n SvgIcon,\n SvgIconProps,\n} from '@mui/material';\n\nexport const ChevronRight = (props: SvgIconProps):ReactElement => {\n return (\n <SvgIcon\n {...props}\n data-testid=\"chevronRight\"\n viewBox=\"0 0 18 18\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g id=\"arrow-right\">\n <path\n id=\"icon\"\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n // eslint-disable-next-line max-len\n d=\"M12.1553 8.46967C12.4482 8.76256 12.4482 9.23744 12.1553 9.53033L6.90533 14.7803C6.61244 15.0732 6.13756 15.0732 5.84467 14.7803C5.55178 14.4874 5.55178 14.0126 5.84467 13.7197L10.5643 9L5.84467 4.28033C5.55178 3.98744 5.55178 3.51256 5.84467 3.21967C6.13756 2.92678 6.61244 2.92678 6.90533 3.21967L12.1553 8.46967Z\"\n fill={props.color}\n />\n </g>\n </SvgIcon>\n );\n};\n\nexport default ChevronRight;\n","import ArrowDown from './icons/ArrowDown';\nimport ArrowUp from './icons/ArrowUp';\nimport ArrowLeft from './icons/ArrowLeft';\nimport ArrowRight from './icons/ArrowRight';\nimport Cart from './icons/Cart';\nimport CartBadge from './icons/CartBadge';\nimport InfoFilled from './icons/InfoFilled';\nimport InfoOutlined from './icons/InfoOutlined';\nimport CheckShield from './icons/CheckShield';\nimport CheckVerified from './icons/CheckVerified';\nimport SuccessIcon from './icons/SuccessIcon';\nimport ErrorIcon from './icons/ErrorIcon';\nimport TrashIcon from './icons/TrashIcon';\nimport SearchIcon from './icons/SearchIcon';\nimport SlashIcon from './icons/SlashIcon';\nimport Home from './icons/home';\nimport AlertErrorIcon from './icons/AlertErrorIcon';\nimport WarningIcon from './icons/WarningIcon';\nimport CloseIcon from './icons/CloseIcon';\nimport UserIcon from './icons/UserIcon';\nimport HamburgerIcon from './icons/HamburgerIcon';\nimport UserOutline from './icons/UserOutline';\nimport Check from './icons/Check';\nimport RoundedClose from './icons/RoundedClose';\nimport ChevronRight from './icons/ChevronRight';\n\nconst IconVariants = {\n arrowDown: ArrowDown,\n arrowUp: ArrowUp,\n arrowLeft: ArrowLeft,\n arrowRight: ArrowRight,\n alertError: AlertErrorIcon,\n cart: Cart,\n cartBadge: CartBadge,\n close: CloseIcon,\n check: Check,\n checkShield: CheckShield,\n checkVerified: CheckVerified,\n error: ErrorIcon,\n hamburgerIcon: HamburgerIcon,\n home: Home,\n infoFilled: InfoFilled,\n infoOutlined: InfoOutlined,\n search: SearchIcon,\n success: SuccessIcon,\n slash: SlashIcon,\n trash: TrashIcon,\n userIcon: UserIcon,\n userOutline: UserOutline,\n warning: WarningIcon,\n roundedClose: RoundedClose,\n chevronRight: ChevronRight,\n};\n\nexport default IconVariants;\nexport const isValidIconName = (name: string) => Object.keys(IconVariants).includes(name);\n","import React, {\n ReactElement,\n useState,\n} from 'react';\n\nimport {\n NsAccordionItem,\n NsToggleSectionProps,\n} from '../';\n\n/**\n * NsToggleSection takes prop `title` and prop `children` and toggles\n * children with animation when clicked on title\n *\n * it also has a `defaultOpen` prop, which when true, children is visible\n * by default, otherwise children is hidden by default and toggles between visible\n * and hidden on clicking title\n */\nconst NsToggleSection = ({\n title,\n content,\n additionalProps,\n defaultOpen,\n variant,\n invert,\n isChild,\n type,\n}: NsToggleSectionProps): ReactElement => {\n const [isExpanded, setIsExpanded] = useState(defaultOpen ?? false);\n\n const toggleAccordion = () => {\n setIsExpanded(!isExpanded);\n };\n return (\n <NsAccordionItem\n type={type}\n level={2}\n variant={variant}\n additionalProps={additionalProps}\n isOpen={isExpanded}\n title={title}\n content={content}\n toggleOpen={toggleAccordion}\n invert={invert}\n isChild={isChild}\n />\n );\n};\n\nexport default NsToggleSection;\n","import { styled } from '@nuskin/foundation-theme';\nimport { AccordionVariant, AccordionVariantType } from '../';\n\nconst border = '1px solid rgb(0,0,0,0.125)';\n\ntype StyledType = { variant: AccordionVariantType };\n\nexport const StyledToggleSection = styled('section')<StyledType>(({ variant }) => {\n if (variant === AccordionVariant.Compact) {\n return { borderRight: border };\n }\n return {\n margin: '5px 0',\n };\n});\n\nexport const StyledAccordionWrapper = styled('div')<StyledType>(({ variant }) => {\n if (variant === AccordionVariant.Compact) {\n return {\n display: 'flex',\n flexDirection: 'column',\n gap: '0',\n borderTop: border,\n borderLeft: border,\n };\n }\n return {\n display: 'flex',\n flexDirection: 'column',\n gap: '10px',\n };\n});\n","import React, { ReactElement } from 'react';\n\nimport { NsAccordionItemProps, NsCollapse } from '../';\nimport NsAccordionHeader from './NsAccordionHeader';\nimport { StyledToggleSection } from './ToggleSection.styled';\n\n/**\n * this component is used by accordion to pass title\n * and content\n * cslp:{header:CslpTag, content:CslpTag}\n */\nconst NsAccordionItem = ({\n isOpen,\n isChild,\n toggleOpen,\n title,\n content,\n variant,\n headerTypographyVariant,\n closedIconName,\n openedIconName,\n startIcon,\n level,\n additionalProps,\n invert,\n type,\n cslp,\n allowMultipleExpanded,\n showEndIconWhenEmpty,\n}: NsAccordionItemProps): ReactElement => {\n return (\n <StyledToggleSection variant={variant}>\n <NsAccordionHeader\n invert={invert}\n additionalProps={{ ...additionalProps, className: 'accordion-section ' + additionalProps?.className }}\n closedIconName={closedIconName}\n headerTypographyVariant={headerTypographyVariant}\n isOpen={isOpen}\n openedIconName={openedIconName}\n onClick={toggleOpen}\n title={title}\n variant={variant}\n startIcon={startIcon}\n cslp={cslp}\n showEndIconWhenEmpty={showEndIconWhenEmpty}\n content={content}\n />\n {content || showEndIconWhenEmpty ? (\n <NsCollapse\n type={type}\n isChild={isChild}\n isOpen={isOpen}\n variant={variant}\n level={level}\n invert={invert}\n content={content}\n cslp={cslp}\n allowMultipleExpanded={allowMultipleExpanded}\n />\n ) : null}\n </StyledToggleSection>\n );\n};\n\nexport default NsAccordionItem;\n","import React, { ReactElement, useMemo } from 'react';\n\nimport { AccordionItem, NsAccordionItem, NsAccordionProps, NsTypography, useAccordionMap } from '../';\nimport { StyledAccordionWrapper } from './ToggleSection.styled';\n\n/**\n * NsAccordion can be used to show a list of items with title and body\n * it accepts a `boolean` prop `allowMultipleExpanded` which when true,\n * multiple sections of accordion can remain open at a time\n *\n * we can define certain section to remain open by default using `isDefaultOpen` in the\n * items\n * if there are multiple items available for default open, but `allowMultipleExpanded`\n * is false then only first item of default open is made open\n */\nconst createKey = (item: AccordionItem, index: number) => item?.id + index;\nconst NsAccordion = ({\n allowMultipleExpanded,\n invert,\n level,\n variant,\n items,\n headerTypographyVariant,\n closedIconName,\n openedIconName,\n additionalProps,\n isChild = false,\n showEndIconWhenEmpty = false,\n}: NsAccordionProps): ReactElement => {\n const defaultOpenIds = useMemo(() => {\n return items\n ?.map?.((content, index) => (content?.isDefaultOpen ? createKey(content, index) : null))\n .filter((e) => e !== null) as string[];\n }, [items]);\n\n const { toggleOpen, itemStateMap } = useAccordionMap({ allowMultipleExpanded, defaultOpenIds });\n\n return (\n <StyledAccordionWrapper\n variant={variant}\n className=\"ns-accordion\"\n data-testid={additionalProps?.testid ?? 'ns-accordion-testid'}\n >\n {items?.map?.((item, index) => {\n const key = createKey(item, index);\n const isOpen = itemStateMap[key] ?? false;\n return (\n <NsAccordionItem\n allowMultipleExpanded={item.allowMultipleExpanded}\n type={item.type}\n closedIconName={closedIconName}\n content={item.content}\n headerTypographyVariant={headerTypographyVariant}\n invert={invert}\n isOpen={isOpen}\n isChild={isChild}\n key={key}\n level={level}\n openedIconName={openedIconName}\n startIcon={item.icon}\n toggleOpen={() => toggleOpen(createKey(item, index))}\n title={\n <NsTypography\n weight=\"bold\"\n variant=\"h6\"\n className=\"nsa-item-title\"\n additionalProps={{ ...item.$?.item_title }}\n >\n {item.title}\n </NsTypography>\n }\n cslp={{ content: item.$?.rte ?? { 'data-cslp': '' } }}\n variant={variant}\n showEndIconWhenEmpty={showEndIconWhenEmpty}\n />\n );\n })}\n </StyledAccordionWrapper>\n );\n};\n\nexport default NsAccordion;\n","import React, {\n ReactElement,\n useEffect,\n useState,\n} from 'react';\n\nimport useWindowSize from '../hooks/useWindowSize';\nimport { NsIcon } from '../icon';\nimport { NsTypography } from '../typography';\nimport Header, {\n colorMap,\n iconMap,\n} from './Header';\nimport {\n Alert,\n AlertBody,\n AlertCloseButton,\n AlertContainer,\n AlertContent,\n AlertFoot,\n AlertHead,\n AlertIcon,\n} from './NsAlert.styled';\nimport type {\n AlertType,\n ContextType,\n NsAlertProps,\n} from './types.d';\n\nexport default function NsAlert({\n context = 'info',\n title = 'Information',\n threshold = 600,\n type = 'banner',\n visible = false,\n head,\n body,\n foot,\n onDismiss = undefined,\n}: NsAlertProps): ReactElement {\n const [alertType, setAlertType] = useState('banner');\n const windowSize = useWindowSize();\n\n const hasDismissListener = typeof onDismiss === 'function';\n\n useEffect(() => {\n if (!context) {\n console.error(`Invalid prop value for 'context': ${context}`);\n }\n if (!type) {\n console.error(`Invalid prop value for 'type': ${type}`);\n }\n if (type === 'auto') {\n setAlertType(windowSize.width < threshold ? 'card' : 'banner');\n } else {\n setAlertType(type);\n }\n }, [threshold, type, windowSize.width, context]);\n\n return (\n <AlertContainer visible={visible} data-testid=\"alert-container\">\n <Alert type={alertType as AlertType} context={context as ContextType}>\n <AlertIcon>\n <NsIcon\n name={iconMap[context] || iconMap.default}\n color={colorMap[context] || colorMap.default}\n size=\"large\"\n />\n </AlertIcon>\n <AlertHead>\n <Header\n head={\n <NsTypography variant=\"body-xl\" className=\"alert-head-title\" weight=\"bold\" noSpacing>\n {title}\n </NsTypography>\n }\n >\n {head}\n </Header>\n </AlertHead>\n {hasDismissListener && (\n <AlertCloseButton data-testid=\"alert-close-button\" onClick={onDismiss}>\n <NsIcon name=\"close\" size=\"small\" cursor=\"pointer\" />\n </AlertCloseButton>\n )}\n <AlertContent type={alertType as AlertType}>\n <AlertBody>{body}</AlertBody>\n {foot ? <AlertFoot type={alertType as AlertType}>{foot}</AlertFoot> : null}\n </AlertContent>\n </Alert>\n </AlertContainer>\n );\n}\n","import { useState, useEffect } from 'react';\n\nconst useWindowSize = () => {\n const [windowSize, setWindowSize] = useState({\n width: window.innerWidth,\n height: window.innerHeight,\n });\n\n useEffect(() => {\n function handleResize() {\n setWindowSize({\n width: window?.innerWidth || 300,\n height: window?.innerHeight || 300,\n });\n }\n if (typeof window !== 'undefined') {\n window.addEventListener('resize', handleResize);\n }\n\n return () => {\n if (typeof window !== 'undefined') {\n window.removeEventListener('resize', handleResize);\n }\n };\n }, []);\n\n return windowSize;\n};\n\nexport default useWindowSize;\n","import { ReactElement } from 'react';\n\nimport { useTheme } from '@mui/material';\nimport { ColorUtils } from '@nuskin/foundation-theme';\n\nimport { IconWrapper } from './NsIcon.styled';\nimport IconVariants from './NsIconVariants';\nimport { NsIconNameType, NsIconProps } from './types.d';\n\nconst { paletteColor } = ColorUtils;\n\nconst NsIcon = ({\n name,\n size,\n color = 'primary',\n testId = 'icon',\n className,\n colorOverride,\n onClick = () => {},\n cursor = 'pointer',\n ...rest\n}: NsIconProps): ReactElement | null => {\n const Icon = IconVariants[name as NsIconNameType];\n const theme = useTheme();\n const iconColor = paletteColor(color)({ theme });\n if (!Icon) {\n return null;\n }\n\n return (\n <IconWrapper\n {...rest}\n data-testid={testId}\n size={size || 'large'}\n className={className}\n onClick={onClick}\n cursor={cursor}\n >\n <Icon color={colorOverride ? colorOverride : (iconColor as any)} />\n </IconWrapper>\n );\n};\n\nexport default NsIcon;\n","import { styled } from '@nuskin/foundation-theme';\n\nimport {\n NsIconProps,\n NsIconSizeType,\n} from './types.d';\n\nexport const iconSize: Record<NsIconSizeType, string> = {\n small: '16px',\n medium: '20px',\n large: '24px',\n xLarge: '30px',\n};\ntype IconWrapperType = { size: NsIconSizeType; cursor: NsIconProps['cursor'] };\n\nexport const IconWrapper = styled('span')<IconWrapperType>(({ size, cursor }) => {\n return {\n display: 'flex',\n placeContent: 'center',\n placeItems: 'center',\n cursor,\n svg: {\n width: iconSize[size],\n height: iconSize[size],\n },\n };\n});\n","import { HtmlTagVariant } from './types';\n\nconst HtmlTagVariantMapping: Record<string, HtmlTagVariant> = {\n h1: 'h1',\n h2: 'h2',\n h3: 'h3',\n h4: 'h4',\n h5: 'h5',\n h6: 'h6',\n CTA: 'span',\n 'title-l': 'h3',\n 'title-m': 'h5',\n 'title-s': 'h6',\n 'label-l': 'label',\n 'label-m': 'label',\n 'label-s': 'label',\n 'body-xl': 'p',\n 'body-l': 'p',\n 'body-m': 'p',\n 'body-s': 'p',\n 'body-xs': 'p',\n};\n\nexport default HtmlTagVariantMapping;\n","import { ColorUtils, FoundationTheme, styled } from '@nuskin/foundation-theme';\n\nimport { NsTypographyProps } from './types.d';\n\nconst { paletteColor } = ColorUtils;\n\ntype TypographyConfig = {\n fontFamily: string;\n fontSize?: number;\n lineHeight?: number;\n letterSpacingPercentage?: number;\n paragraphSpacing?: number;\n fontWeight?: number;\n};\n\nconst defaultFont = 'Inter';\nconst defaultTypographyStyles = {\n h1: {\n fontFamily: defaultFont,\n fontSize: 42,\n lineHeight: 48,\n letterSpacingPercentage: 0,\n paragraphSpacing: 0,\n },\n h2: {\n fontFamily: defaultFont,\n fontSize: 36,\n lineHeight: 42,\n letterSpacingPercentage: 0,\n paragraphSpacing: 0,\n },\n h3: {\n fontFamily: defaultFont,\n fontSize: 32,\n lineHeight: 38,\n letterSpacingPercentage: 0,\n paragraphSpacing: 0,\n },\n h4: {\n fontFamily: defaultFont,\n fontSize: 26,\n lineHeight: 34,\n letterSpacingPercentage: 0,\n paragraphSpacing: 0,\n },\n h5: {\n fontFamily: defaultFont,\n fontSize: 22,\n lineHeight: 28,\n letterSpacingPercentage: 0,\n fontWeight: 700,\n paragraphSpacing: 0,\n },\n h6: {\n fontFamily: defaultFont,\n fontSize: 18,\n lineHeight: 24,\n letterSpacingPercentage: 0,\n fontWeight: 600,\n paragraphSpacing: 0,\n },\n 'title-l': {\n fontFamily: defaultFont,\n fontSize: 22,\n lineHeight: 28,\n letterSpacingPercentage: 2,\n fontWeight: 700,\n paragraphSpacing: 0,\n },\n 'title-m': {\n fontFamily: defaultFont,\n fontSize: 16,\n lineHeight: 20,\n letterSpacingPercentage: 4,\n fontWeight: 700,\n paragraphSpacing: 0,\n },\n 'title-s': {\n fontFamily: defaultFont,\n fontSize: 16,\n lineHeight: 16,\n letterSpacingPercentage: 4,\n fontWeight: 700,\n paragraphSpacing: 0,\n },\n 'label-l': {\n fontFamily: defaultFont,\n fontSize: 20,\n lineHeight: 26,\n letterSpacingPercentage: 0,\n fontWeight: 600,\n paragraphSpacing: 8,\n },\n 'label-m': {\n fontFamily: defaultFont,\n fontSize: 16,\n lineHeight: 22,\n letterSpacingPercentage: 0,\n fontWeight: 600,\n paragraphSpacing: 8,\n },\n 'label-s': {\n fontFamily: defaultFont,\n fontSize: 14,\n lineHeight: 20,\n letterSpacingPercentage: 0,\n fontWeight: 700,\n paragraphSpacing: 6,\n },\n 'body-xl': {\n fontFamily: defaultFont,\n fontSize: 18,\n lineHeight: 22,\n letterSpacingPercentage: 0,\n paragraphSpacing: 22,\n },\n 'body-l': {\n fontFamily: defaultFont,\n fontSize: 16,\n lineHeight: 22,\n letterSpacingPercentage: 0,\n paragraphSpacing: 20,\n },\n 'body-m': {\n fontFamily: defaultFont,\n fontSize: 14,\n lineHeight: 20,\n letterSpacingPercentage: 0,\n paragraphSpacing: 18,\n },\n 'body-s': {\n fontFamily: defaultFont,\n fontSize: 12,\n lineHeight: 16,\n letterSpacingPercentage: 1,\n paragraphSpacing: 16,\n },\n 'body-xs': {\n fontFamily: defaultFont,\n fontSize: 10,\n lineHeight: 14,\n letterSpacingPercentage: 2,\n paragraphSpacing: 14,\n },\n CTA: {\n fontFamily: defaultFont,\n fontSize: 14,\n lineHeight: 20,\n letterSpacingPercentage: 0.14,\n fontWeight: 600,\n paragraphSpacing: 0,\n },\n};\n\nconst fontWeightMap = {\n light: 300,\n normal: 400,\n bold: 600,\n};\n\nconst getVariantStyle = (\n themeTypographyVariants: Record<FoundationTheme.TypographyVariants, TypographyConfig>,\n variant: FoundationTheme.TypographyVariants\n) => {\n const variantStyles = themeTypographyVariants?.[variant as FoundationTheme.TypographyVariants];\n if (variantStyles) {\n return variantStyles;\n }\n return defaultTypographyStyles[variant as FoundationTheme.TypographyVariants];\n};\n\nexport const StyledTypography = styled('div')<NsTypographyProps>(\n ({ theme, weight, variant, noSpacing, decoration, color, colorOverride }) => {\n const fontStyles: TypographyConfig = getVariantStyle(theme?.fonts?.typographyVariants, variant) || {};\n if (noSpacing) {\n fontStyles.paragraphSpacing = 0;\n }\n if (weight) {\n fontStyles.fontWeight = fontWeightMap[weight] || fontWeightMap.normal;\n }\n const updatedFontStyle = {\n fontFamily: fontStyles?.fontFamily || defaultFont,\n fontSize: `${fontStyles?.fontSize || 16}px`,\n lineHeight: `${fontStyles?.lineHeight || 16}px`,\n margin: fontStyles?.paragraphSpacing || 0,\n fontWeight: fontStyles?.fontWeight || 400,\n letterSpacing: fontStyles?.letterSpacingPercentage || 0,\n };\n return {\n ...updatedFontStyle,\n textDecorationLine: decoration,\n color: colorOverride?.startsWith('#') ? colorOverride : paletteColor(color)({ theme }),\n };\n }\n);\n","import React, {\n PropsWithChildren,\n ReactElement,\n} from 'react';\n\nimport HtmlTagVariantMapping from './HtmlTagVariantMap';\nimport {\n HtmlTagVariant,\n NsTypographyProps,\n} from './types.d';\nimport { StyledTypography } from './Typography.styled';\n\nconst NsTypography = ({\n children,\n weight = 'normal',\n className = '',\n variant = 'body-l',\n decoration = 'none',\n color = 'primary',\n additionalProps = {},\n colorOverride = '',\n noSpacing = false,\n renderHTMLNode,\n}: PropsWithChildren<NsTypographyProps>): ReactElement => {\n const htmlTagVariant: HtmlTagVariant | undefined = renderHTMLNode ? HtmlTagVariantMapping[variant] : undefined;\n\n return (\n <StyledTypography\n noSpacing={noSpacing}\n as={htmlTagVariant}\n className={className}\n weight={weight}\n variant={variant}\n decoration={decoration}\n colorOverride={colorOverride}\n color={color}\n {...additionalProps}\n >\n {children}\n </StyledTypography>\n );\n};\n\nexport default NsTypography;\n","import { ReactElement } from 'react';\n\nimport { css, GlobalStyles } from '@nuskin/foundation-theme';\n\nconst GlobalFontInter = (): ReactElement => (\n <GlobalStyles\n styles={css`\n @import url('https://fonts.googleapis.com/css2?family=Inter');\n `}\n />\n);\nexport default GlobalFontInter;\n","import React from 'react';\nimport { FoundationTheme } from '@nuskin/foundation-theme';\n\nimport type { HeaderProps } from './types.d';\nimport { NsIconNameType } from '../icon/types';\n\nexport const colorMap: { [key: string]: FoundationTheme.PaletteColors } = {\n error: 'error',\n notice: 'info',\n success: 'secondary',\n warning: 'warning',\n default: 'info',\n};\n\nexport const iconMap: { [key: string]: NsIconNameType } = {\n error: 'alertError',\n success: 'success',\n warning: 'warning',\n default: 'infoFilled',\n};\n\nconst Header: React.FC<HeaderProps> = ({ children, head }) => (\n <>\n {children}\n {head}\n </>\n);\n\nexport default Header;\n","/* eslint-disable max-len */\nimport { styled, ColorUtils, FoundationTheme } from '@nuskin/foundation-theme';\n\nconst { color } = ColorUtils;\n\nimport type { AlertContainerParams, AlertType, AlertParams, TypeMapCSS } from './types';\nconst gutterWidth = '10px';\nconst closeButtonWidth = '12px';\nconst iconWidth = '24px';\n\nconst TypeMap: TypeMapCSS = {\n banner: {\n minHeight: '114px',\n padding: '15px 45px',\n contentColumnStart: 'row-center',\n contentColumnEnd: 'row-center',\n barPosition: 'top',\n footVisibility: 'block',\n },\n card: {\n minHeight: '72px',\n padding: '24px 24px',\n contentColumnStart: 'row-left',\n contentColumnEnd: 'row-right',\n barPosition: 'left',\n footDisplay: 'none',\n },\n};\n\nconst contextType = {\n error: 'red',\n info: 'info',\n notice: 'info',\n success: 'success',\n warning: 'warning',\n};\n\nexport const AlertContainer = styled.div<AlertContainerParams>`\n display: ${({ visible }) => (visible ? 'block' : 'none')};\n * {\n box-sizing: border-box;\n webkit-font-smoothing: antialiased;\n }\n text-align: left;\n`;\n\nexport const Alert = styled.div<AlertParams>`\n position: relative;\n display: grid;\n grid-template-columns: [row-left] ${iconWidth} [space] ${gutterWidth} [row-center] auto [space] ${gutterWidth} [row-right] ${closeButtonWidth};\n grid-template-rows: [row1] auto;\n grid-auto-row: auto;\n grid-auto-flow: row;\n background-color: ${color('primary', 'white')};\n border: 1px solid ${color('primary', 'black')};\n min-height: ${({ type }) => TypeMap?.[type]?.minHeight};\n padding: ${({ type }) => TypeMap?.[type]?.padding};\n color: ${(props) => color(contextType?.[props?.context] as FoundationTheme.AppColors, '40')(props)} };\n`;\n\nexport const AlertCloseButton = styled.div`\n grid-column-start: row-right;\n grid-column-end: row-right;\n grid-row-start: row1;\n grid-row-end: row1;\n align-self: center;\n cursor: pointer;\n`;\n\nexport const AlertIcon = styled.div`\n grid-column-start: row-left;\n grid-column-end: row-left;\n grid-row-start: row1;\n grid-row-end: row1;\n width: ${iconWidth};\n height: ${iconWidth};\n`;\n\nexport const AlertHead = styled.div`\n grid-column-start: row-center;\n grid-column-end: row-center;\n grid-row-start: row1;\n grid-row-end: row1;\n display: flex;\n flex-direction: column;\n justify-content: center;\n .alert-head-title {\n color: ${color('primary', 'black')};\n }\n`;\n\nexport const AlertContent = styled.div<{ type: AlertType }>`\n margin-top: 8px;\n color: ${color('primary', 'black')};\n grid-column-start: ${({ type }) => TypeMap?.[type]?.contentColumnStart};\n grid-column-end: ${({ type }) => TypeMap?.[type]?.contentColumnEnd};\n`;\n\nexport const AlertFoot = styled.div<{ type: AlertType }>`\n margin-top: 8px;\n color: ${color('primary', 'black')};\n display: ${({ type }) => TypeMap?.[type]?.['footDisplay']};\n font-family: ${({ theme }) => theme?.fonts?.sectionFonts?.body};\n font-weight: 300;\n font-size: 14px;\n line-height: 18px;\n`;\n\nexport const AlertBody = styled.div`\n font-family: ${({ theme }) => theme?.fonts?.sectionFonts?.body};\n font-weight: 300;\n font-size: 16px;\n line-height: 21px;\n`;\n","import { ReactElement, useCallback, useRef, useState } from 'react';\n\nimport { useOnClickOutside } from '../hooks/useOnClickOutside';\nimport { NsIcon } from '../icon';\nimport {\n AuthDropdown,\n AuthDropdownContainer,\n AuthHead,\n Button,\n SignInButton,\n SignUpLink,\n SignUpLinkContainer,\n Triangle,\n} from './NsAuthDropdown.styled';\nimport { NsAuthDropdownProps } from './types.d';\n\nconst NsAuthDropdown = ({\n signInRedirectLink,\n signUpRedirectLink,\n signInBtnText,\n signUpLinkText,\n signUpLinkPrefixText,\n titleText,\n closeOnMouseLeave = false,\n darkModeEnabled = true,\n}: NsAuthDropdownProps): ReactElement => {\n const [isOpen, setIsOpen] = useState(false);\n const dropdownRef = useRef<HTMLDivElement | null>(null);\n\n const handleToggle = useCallback(() => {\n setIsOpen(!isOpen);\n }, [isOpen]);\n\n const handleClose = useCallback(() => {\n setIsOpen(false);\n }, []);\n\n useOnClickOutside(dropdownRef?.current, handleClose);\n\n const handleOnMouseLeave = useCallback(() => {\n if (closeOnMouseLeave) {\n handleClose();\n }\n }, [closeOnMouseLeave, handleClose]);\n\n return (\n <AuthDropdownContainer ref={dropdownRef}>\n <AuthHead data-testid=\"auth-head\" onClick={handleToggle} darkModeEnabled={darkModeEnabled}>\n <Button>{titleText}</Button>\n <NsIcon testId=\"chevron-icon\" name={isOpen ? 'arrowUp' : 'arrowDown'} color=\"primary\" />\n {isOpen ? (\n <div onMouseLeave={handleOnMouseLeave} className=\"auth-wrapper\">\n <Triangle />\n <AuthDropdown>\n <SignInButton href={signInRedirectLink} data-testid=\"sign-in-btn\">\n {signInBtnText}\n </SignInButton>\n <SignUpLinkContainer>\n {signUpLinkPrefixText}{' '}\n <SignUpLink data-testid=\"signup-link\" href={signUpRedirectLink}>\n {signUpLinkText}\n </SignUpLink>\n </SignUpLinkContainer>\n </AuthDropdown>\n </div>\n ) : null}\n </AuthHead>\n </AuthDropdownContainer>\n );\n};\n\nexport default NsAuthDropdown;\n","import { useEffect } from 'react';\n\nexport type Handler = () => void;\n\nexport function useOnClickOutside(\n element: HTMLDivElement | null,\n handler: Handler = () => {},\n mouseEvent: 'click' | 'mousedown' | 'mouseup' = 'click'\n): void {\n useEffect(() => {\n const eventListener = (event: MouseEvent) => {\n // Do nothing if clicking ref's element or descendent elements\n if (!element || element.contains(event.target as Node)) {\n return;\n }\n handler?.();\n };\n if (document) {\n document.addEventListener(mouseEvent, eventListener);\n return () => {\n document.removeEventListener(mouseEvent, eventListener);\n };\n }\n }, [mouseEvent, handler, element]);\n}\n","import {\n ColorUtils,\n styled,\n} from '@nuskin/foundation-theme';\n\nimport { DarkModeEnabledOption } from '../common.types';\n\nconst { getGenomeColor } = ColorUtils;\n\nexport const AuthDropdownContainer = styled.div`\n position: relative;\n display: inline-block;\n`;\n\nexport const AuthDropdown = styled.div`\n min-width: 280px;\n background-color: white;\n color: black;\n text-align: center;\n padding: 5px 0;\n position: absolute;\n z-index: 600;\n top: calc(100% + 18px);\n right: 5%;\n box-shadow: 0 0 5px 0 ${({ theme }) => getGenomeColor(theme, 'N70')};\n transition: all 0.15s ease-in-out;\n padding: 25px;\n`;\n\nexport const Triangle = styled.div`\n position: absolute;\n bottom: -18px;\n left: 50%;\n width: 24px;\n height: 24px;\n overflow: hidden;\n transition: all 0.15s ease-in-out;\n z-index: 700;\n opacity: 1;\n &::after {\n content: '';\n position: absolute;\n width: 14px;\n height: 14px;\n background-color: ${({ theme }) => getGenomeColor(theme, 'N10')};\n transform: rotate(45deg);\n top: 17px;\n left: 5px;\n box-shadow: 0 0 5px 0 ${({ theme }) => getGenomeColor(theme, 'N70')};\n }\n`;\nexport const AuthHead = styled('div')<DarkModeEnabledOption>`\n cursor: pointer;\n padding: 5px 10px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n color: ${({ theme }) => getGenomeColor(theme, 'N100')};\n`;\n\nexport const Button = styled.div`\n padding-right: 10px;\n`;\n\nexport const Link = styled.a`\n text-decoration: none;\n`;\n\nexport const SignInButton = styled(Link)`\n display: block;\n padding: 13px;\n width: 100%;\n background-color: ${({ theme }) => getGenomeColor(theme, 'N100')};\n color: ${({ theme }) => getGenomeColor(theme, 'N10')};\n border: 0;\n font-size: 16px;\n &:hover {\n background-color: ${({ theme }) => getGenomeColor(theme, 'N60')};\n }\n`;\n\nexport const SignUpLinkContainer = styled.div`\n margin-top: 15px;\n color: ${({ theme }) => getGenomeColor(theme, 'N100')};\n font-size: 13px;\n line-height: 16px;\n text-align: left;\n`;\n\nexport const SignUpLink = styled(Link)`\n cursor: pointer;\n font-weight: 300;\n font-size: 13px;\n line-height: 16px;\n text-decoration: none;\n color: ${({ theme }) => getGenomeColor(theme, 'N100')};\n position: relative;\n transition: all 0.15s ease-in-out;\n &:hover {\n color: ${({ theme }) => getGenomeColor(theme, 'N60')};\n font-size: 14px;\n }\n &:hover::after {\n opacity: 1;\n visibility: visible;\n }\n &::after {\n content: '';\n position: absolute;\n bottom: -2px;\n left: 0;\n right: 0;\n width: 100%;\n height: 1px;\n background-color: ${({ theme }) => getGenomeColor(theme, 'N100')};\n transition: all 0.15s ease-in-out;\n opacity: 0;\n visibility: hidden;\n }\n`;\n","import React, { PropsWithChildren, ReactElement, useEffect, useRef, useState } from 'react';\n\nimport {\n Autocomplete,\n AutocompleteRenderInputParams,\n ListSubheader,\n Popper,\n useMediaQuery,\n useTheme,\n} from '@mui/material';\n\nimport { LineLoader } from './helper/LineLoader';\nimport { RecentClearAll } from './helper/RecentClearAll';\nimport { renderGroupBy, renderOptionLabel } from './helper/renderGroupName';\nimport { SeeMoreButton } from './helper/SeeMoreButton';\nimport { StyledPopper, StyledTextField } from './NsAutocomplete.styled';\nimport { ComponentBoxProps, NsAutocompleteProps, OptionsProps } from './types.d';\nimport { VariableSizeList, ListChildComponentProps } from 'react-window';\n\nconst LISTBOX_PADDING = 8;\nconst noop = () => {};\nconst OuterElementContext = React.createContext({});\n\nconst NsAutocomplete = ({\n id = 'custom_autocomplete_dropdown',\n options,\n OptionsUI,\n loading,\n noOptionsText,\n onInputChange,\n onChange,\n onFocus,\n clear,\n seeMore,\n placeholder,\n className,\n iconStart,\n iconEnd,\n inputValue,\n value,\n isFilterEnabled = true,\n fullWidth,\n onKeypress,\n}: PropsWithChildren<NsAutocompleteProps>): ReactElement => {\n const listboxRef = useRef<any | null>(null);\n const [scrollTopPosition, setScrollTopPosition] = useState(0);\n\n useEffect(() => {\n if (listboxRef.current && options.length > 0) {\n listboxRef.current.scrollTop = scrollTopPosition;\n }\n }, [options, scrollTopPosition]);\n\n const OuterElementType = React.forwardRef((props: any, ref) => {\n const outerProps = React.useContext(OuterElementContext);\n return <ul ref={ref} {...props} {...outerProps} />;\n });\n\n OuterElementType.displayName = 'OuterElementType';\n\n const renderInput = (params: AutocompleteRenderInputParams) => (\n <StyledTextField\n {...(params as any)}\n placeholder={placeholder}\n InputProps={{\n ...params.InputProps,\n className: 'styled-text-field',\n startAdornment: iconStart,\n endAdornment: iconEnd,\n }}\n />\n );\n\n const renderOption = (props: ComponentBoxProps, option: OptionsProps) =>\n OptionsUI ? (\n <OptionsUI {...props} option={option} key={props.id} />\n ) : (\n <li {...(props as any)} key={props.id}>\n {option.value}\n </li>\n );\n\n const renderRow = (props: ListChildComponentProps) => {\n const { data, index, style } = props;\n const dataSet = data[index];\n const option = dataSet?.[1];\n const inlineStyle = {\n top: (style.top as number) + LISTBOX_PADDING,\n };\n\n if (Object.hasOwn(dataSet, 'group')) {\n return (\n <ListSubheader key={dataSet.key} component=\"div\" style={inlineStyle}>\n {dataSet.group}\n </ListSubheader>\n );\n }\n\n return (\n <div component=\"div\" {...dataSet[0]} style={inlineStyle}>\n {renderOption(props, option)}\n </div>\n );\n };\n\n const useResetCache = (data: any) => {\n const ref = React.useRef<VariableSizeList>(null);\n React.useEffect(() => {\n if (ref.current != null) {\n ref.current.resetAfterIndex(0, true);\n }\n }, [data]);\n return ref;\n };\n\n const ListboxComponent = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLElement>>(\n function ListboxComponent(props, ref) {\n const { children, ...other } = props;\n const itemData: React.ReactElement[] = [];\n (children as React.ReactElement[]).forEach(\n (item: React.ReactElement & { children?: React.ReactElement[] }) => {\n itemData.push(item);\n itemData.push(...(item.children || []));\n }\n );\n\n const theme = useTheme();\n const smUp = useMediaQuery(theme.breakpoints.up('sm'), {\n noSsr: true,\n });\n const itemCount = itemData.length;\n const itemSize = smUp ? 36 : 48;\n\n const getChildSize = (child: React.ReactElement) => {\n if (Object.hasOwn(child, 'group')) {\n return 48;\n }\n\n return itemSize;\n };\n\n const getHeight = () => {\n if (itemCount > 8) {\n return 8 * itemSize;\n }\n return itemData.map(getChildSize).reduce((a, b) => a + b, 0);\n };\n\n const gridRef = useResetCache(itemCount);\n\n return (\n <>\n <RecentClearAll\n show={clear?.show ?? false}\n text={clear?.text ?? 'Clear All'}\n onClick={clear?.onClear ?? noop}\n testId=\"autocomplete-clear-id\"\n recentSearchText={clear?.recentSearchText ?? 'Your Recent Searches'}\n />\n <div ref={ref}>\n <OuterElementContext.Provider value={other}>\n <VariableSizeList\n itemData={itemData}\n height={getHeight() + 2 * LISTBOX_PADDING}\n width=\"100%\"\n ref={gridRef}\n outerElementType={OuterElementType}\n innerElementType=\"ul\"\n itemSize={(index) => getChildSize(itemData[index])}\n overscanCount={5}\n itemCount={itemCount}\n >\n {renderRow}\n </VariableSizeList>\n </OuterElementContext.Provider>\n </div>\n <SeeMoreButton\n onSeeMore={seeMore?.onSeeMore}\n show={seeMore?.show}\n text={seeMore?.text}\n options={options}\n setScrollTopPosition={setScrollTopPosition}\n listboxRef={listboxRef}\n />\n </>\n );\n }\n );\n\n return (\n <>\n <LineLoader show={loading ?? false} />\n <Autocomplete\n open\n id={id}\n disableListWrap\n className={className}\n loading={loading}\n noOptionsText={noOptionsText}\n PopperComponent={fullWidth ? StyledPopper : Popper}\n ListboxComponent={ListboxComponent}\n options={options}\n groupBy={renderGroupBy}\n getOptionLabel={renderOptionLabel}\n renderOption={(props, option, state) => [props, option, state.index] as React.ReactNode}\n renderGroup={(params) => params as any}\n onChange={onChange}\n renderInput={renderInput}\n onInputChange={onInputChange}\n value={value}\n onFocus={onFocus ?? noop}\n inputValue={inputValue}\n filterOptions={\n isFilterEnabled\n ? undefined // Use default filtering behavior\n : (options) => options\n }\n freeSolo\n onKeyDown={onKeypress}\n />\n </>\n );\n};\n\nexport default NsAutocomplete;\n","import { ReactElement } from 'react';\n\nimport { styled } from '@nuskin/foundation-theme';\n\nconst StyledLine = styled.div`\n position: fixed;\n top: 0px;\n left: 0;\n width: 100%;\n height: 2px;\n background: #fff;\n z-index: 99999;\n overflow: hidden;\n .dot {\n position: absolute;\n height: 100%;\n width: 150px;\n background: #f00;\n animation: dotleft 1s cubic-bezier(0.72, 0.03, 0.75, 0.54) infinite;\n }\n @keyframes dotleft {\n 0% {\n left: 0%;\n width: 150px;\n }\n 100% {\n left: 100%;\n width: 900px;\n }\n }\n`;\nexport const LineLoader = ({ show }: { show: boolean }): ReactElement => {\n return (\n <StyledLine className={`${show ? '' : 'hidden '} line`}>\n <div className=\"dot\">&npsp;</div>\n </StyledLine>\n );\n};\n","import { ReactElement } from 'react';\n\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { NsTypography } from '../../typography';\n\ntype AutoCompleteButtonProps = {\n text: string;\n show: boolean;\n onClick(): void;\n testId?: string;\n recentSearchText: string;\n};\nexport const StyledClear = styled(NsTypography)`\n margin: 4px 8px;\n :hover {\n opacity: 0.5;\n }\n`;\nconst TypoWrapper = styled(NsTypography)`\n margin: 4px 8px;\n`;\nexport const RecentClearAll = (props: AutoCompleteButtonProps): ReactElement | null => {\n const { show, onClick, text, testId, recentSearchText } = props;\n if (!show) {\n return null;\n }\n return (\n <li className=\"justify-between flex p-0 m-0\" onClick={onClick}>\n <TypoWrapper data-testid={testId} variant=\"body-m\" weight=\"bold\">\n {recentSearchText}\n </TypoWrapper>\n <StyledClear\n data-testid={testId}\n variant=\"body-m\"\n weight=\"bold\"\n className=\"cursor-pointer hover:opacity-40\"\n >\n {text}\n </StyledClear>\n </li>\n );\n};\n","import { ReactElement } from 'react';\n\nimport { AutocompleteRenderGroupParams } from '@mui/material';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { OptionsProps } from '../../autocomplete';\nimport { NsTypography } from '../../typography';\n\nconst GroupNameTypography = styled(NsTypography)`\n margin: 4px 8px;\n`;\nexport const renderGroupName = ({ key, group, children }: AutocompleteRenderGroupParams): ReactElement => (\n <li key={key}>\n {group ? (\n <GroupNameTypography variant=\"body-m\" weight=\"bold\" className=\"p-0 m-0 border-solid\">\n {group}\n </GroupNameTypography>\n ) : null}\n <ul className=\"p-0\">{children}</ul>\n </li>\n);\n\nexport const renderOptionLabel = (option: string | OptionsProps): string =>\n typeof option === 'string' ? option : option?.value ?? '';\n\nexport const renderGroupBy = (option: OptionsProps) => (option?.group ?? '') as string;\n","import { Dispatch, MutableRefObject, ReactElement, SetStateAction, useCallback } from 'react';\n\nimport { ColorUtils, styled } from '@nuskin/foundation-theme';\n\nimport { NsTypography, OptionsProps } from '../../';\n\nconst { getGenomeColor } = ColorUtils;\nexport const ListStyled = styled.div`\n display: flex;\n width: 100%;\n flex-direction: row;\n align-items: center;\n gap: 10px;\n padding: 0;\n margin: 4px 8px;\n cursor: pointer;\n &:hover {\n background: ${({ theme }) => getGenomeColor(theme, 'A10')};\n }\n`;\n\ntype SeeMoreButtonProps = {\n text?: string;\n show?: boolean;\n onSeeMore?(): void;\n options: OptionsProps[];\n setScrollTopPosition: Dispatch<SetStateAction<number>>;\n listboxRef: MutableRefObject<HTMLUListElement | null>;\n};\n\nexport const SeeMoreButton = (props: SeeMoreButtonProps): ReactElement | null => {\n const {\n show = false,\n text = 'See More Results',\n onSeeMore,\n options,\n listboxRef,\n setScrollTopPosition,\n } = props || {};\n\n const handleSeeMore = useCallback(() => {\n /* Remember the current scroll position */\n if (options?.length > 0 && listboxRef?.current) {\n const lastScrollPosition = listboxRef.current?.scrollTop;\n if (lastScrollPosition) {\n setScrollTopPosition(lastScrollPosition);\n }\n }\n if (typeof onSeeMore === 'function') {\n onSeeMore();\n }\n }, [listboxRef, onSeeMore, options?.length, setScrollTopPosition]);\n if (!show) {\n return null;\n }\n return (\n <ListStyled className=\"text-left p-0\" onClick={handleSeeMore}>\n <NsTypography\n data-testid=\"autocomplete-loadmore-id\"\n variant=\"body-m\"\n decoration=\"underline\"\n className=\"cursor-pointer\"\n >\n {text}\n </NsTypography>\n </ListStyled>\n );\n};\n","import { styled, ColorUtils } from '@nuskin/foundation-theme';\nimport { NsInputField } from '../input';\nimport { Popper, autocompleteClasses } from '@mui/material';\nconst { getGenomeColor } = ColorUtils;\n\nexport const StyledTextField = styled(NsInputField)`\n .MuiAutocomplete-inputRoot {\n padding-right: 10px !important;\n }\n .styled-text-field.MuiOutlinedInput-root input#custom_autocomplete_dropdown::placeholder {\n opacity: 1;\n color: ${({ theme }) => getGenomeColor(theme, 'N100', 'light')};\n }\n`;\n\nexport const StyledPopper = styled(Popper)({\n [`& .${autocompleteClasses.listbox}`]: {\n boxSizing: 'border-box',\n '& ul': {\n padding: 0,\n margin: 0,\n },\n },\n});","import { ReactElement } from 'react';\n\nimport { FormHelperText, TextField } from '@mui/material';\n\nimport { NsLabel } from '../label';\nimport { AdornmentPropsType, getAdornmentProps } from './getAdornmentProps';\nimport InputFieldWrapper from './InputFieldWrapper';\nimport InputWrapper from './InputWrapper';\nimport { NsInputFieldProps } from './types.d';\n\n/**\n * we are using fieldState in place of error prop\n * @param props { placeholder, fieldState, iconStart, iconEnd, iconSide }\n * @returns Input Field\n */\nconst NsInputField = (props: NsInputFieldProps): ReactElement => {\n const {\n autoComplete,\n autoFocus,\n additionalProps,\n defaultValue,\n disabled,\n fullWidth,\n focused,\n id,\n InputProps,\n inputProps,\n inputRef,\n maxRows,\n minRows,\n multiline,\n name,\n onFocus,\n onBlur,\n onChange,\n placeholder,\n required,\n rows,\n ref,\n type,\n value,\n\n /* custom props */\n fieldState,\n iconStart,\n iconEnd,\n iconSide,\n showOptional,\n\n /* label props */\n label,\n InputLabelProps,\n labelSize,\n\n /* helper text props */\n FormHelperTextProps,\n helperText,\n ...rest\n } = props;\n /** EndIcon is created so that we can automatically add success and error icon based of fieldState,\n * it will override iconEnd. Also to note, InputProps is given to override both iconStart, iconEnd and EndIcon */\n const EndIcon: AdornmentPropsType = getAdornmentProps({ disabled, fieldState, iconEnd, iconStart });\n return (\n <InputFieldWrapper>\n {label ? (\n <NsLabel\n {...InputLabelProps}\n size={labelSize as any}\n showOptional={showOptional}\n required={required}\n disabled={disabled}\n error={fieldState === 'error' && !disabled}\n >\n {label as any}\n </NsLabel>\n ) : null}\n <InputWrapper fieldState={fieldState} data-testid={additionalProps?.testid ?? 'ns-input-field'}>\n <TextField\n {...rest}\n InputProps={{\n ...EndIcon,\n ...InputProps,\n }}\n {...{\n autoComplete,\n autoFocus,\n defaultValue,\n disabled,\n fullWidth,\n focused,\n id,\n inputProps,\n inputRef,\n maxRows,\n minRows,\n multiline,\n name,\n onFocus,\n onBlur,\n onChange,\n placeholder,\n required,\n rows,\n ref,\n type,\n value,\n }}\n />\n {iconSide}\n </InputWrapper>\n {helperText && !disabled ? (\n <FormHelperText {...FormHelperTextProps} className={fieldState}>\n {helperText}\n </FormHelperText>\n ) : null}\n </InputFieldWrapper>\n );\n};\nexport default NsInputField;\n","import { CSSProperties, ReactElement } from 'react';\n\nimport { FormLabel } from '@mui/material';\nimport { ColorUtils, styled } from '@nuskin/foundation-theme';\n\nimport { NsLabelProps } from './types.d';\n\nconst { /* isDarkMode, color, */ getGenomeColor } = ColorUtils;\n\nconst StyledLabel = styled(FormLabel)<{ fontSize?: number; style?: CSSProperties }>(({ theme, fontSize, style }) => {\n // const isLight = !isDarkMode({ theme });\n return {\n fontSize: fontSize ? `${fontSize}px` : '14px',\n textAlign: style?.textAlign ?? 'left',\n color: getGenomeColor(theme, 'N100'),\n '.optional-label': {\n // color: isLight ? color('neutral', '60')({ theme }) : color('neutral', '50')({ theme }),\n color: getGenomeColor(theme, 'N60'),\n },\n '.MuiInputLabel-asterisk': {\n color: getGenomeColor(theme, 'Error-60'),\n // color: isLight ? color('error', '40')({ theme }) : color('error', '20')({ theme }),\n },\n ...(style || {}),\n } as any; // TODO: may be this \"any\" has to be fixed from foundation-theme\n});\n\nconst NsLabel = (props: NsLabelProps): ReactElement => {\n const { required, showOptional, children, size } = props;\n return (\n <StyledLabel fontSize={size} {...props} required={required}>\n {children}\n {!required && showOptional ? <span className=\"optional-label\">{' (Optional)'}</span> : null}\n </StyledLabel>\n );\n};\nexport default NsLabel;\n","import { NsIcon, NsIconNameType } from '../icon';\nimport { InputAdornment } from '@mui/material';\nimport { fieldStateType } from './types.d';\nimport { ReactNode } from 'react';\n\ntype IconMapType = {\n [key: string]: NsIconNameType;\n};\n\nconst iconNameForFieldState: IconMapType = {\n error: 'error',\n success: 'success',\n};\ntype props = {\n disabled?: boolean;\n fieldState: fieldStateType;\n iconStart: ReactNode;\n iconEnd: ReactNode;\n};\n/**\n * Note: we are hiding the Adornment icons in case input is disabled\n * @param param0\n * @returns\n */\nexport type AdornmentPropsType = {\n startAdornment?: ReactNode;\n endAdornment?: ReactNode;\n}\nexport const getAdornmentProps = ({ disabled, fieldState, iconStart, iconEnd }: props) => {\n const icons = {\n startAdornment: iconStart ? <InputAdornment position=\"start\">{iconStart}</InputAdornment> : null,\n endAdornment: iconEnd ? <InputAdornment position=\"end\">{iconEnd}</InputAdornment> : null,\n };\n if (disabled) {\n return {};\n } else {\n if (fieldState === 'error' || fieldState === 'success') {\n return {\n ...icons,\n endAdornment: (\n <InputAdornment position=\"end\">\n <NsIcon name={iconNameForFieldState[fieldState]} />\n </InputAdornment>\n ),\n };\n } else {\n return icons;\n }\n }\n};\n","import { Stack } from '@mui/material';\nimport { styled, ColorUtils } from '@nuskin/foundation-theme';\nconst { color, paletteColor } = ColorUtils;\n\nconst InputFieldWrapper = styled(Stack)(({ theme }: any) => {\n return {\n display: 'flex',\n flexDirection: 'column' as 'column',\n gap: '7px',\n '.MuiFormHelperText-root': {\n fontSize: '11px',\n marginTop: 0,\n color: paletteColor('primary', 'main')({ theme }),\n '&.success': {\n color: color('success', '40')({ theme }),\n },\n '&.error': {\n color: paletteColor('error', 'main')({ theme }),\n },\n },\n };\n});\n\nexport default InputFieldWrapper;\n","import { Box } from '@mui/material';\nimport React from 'react';\nimport { ColorUtils, FoundationTheme, nuskinTheme, styled } from '@nuskin/foundation-theme';\n\nimport { fieldStateType } from './types.d';\n\nconst { isDarkMode } = ColorUtils;\nconst { colors } = nuskinTheme;\n\ntype InputWrapperType = {\n fieldState: fieldStateType;\n children: React.ReactNode;\n};\n\nconst getInputBorderColor = (\n palette: FoundationTheme.Theme['palette'],\n fieldState: fieldStateType,\n isLight = true\n): string => {\n if (fieldState === 'success') {\n return colors.success[40];\n } else if (fieldState === 'error') {\n return isLight ? colors.red[40] : colors.red[20];\n } else {\n return palette?.primary.main ?? '';\n }\n};\n\nconst InputWrapper: React.FC<InputWrapperType> = styled(Box)<InputWrapperType>(({ theme, fieldState }) => {\n /* default value added so that unit tests do not fail */\n const { palette = { primary: { main: '', contrastText: '' } } } = theme;\n const isLight = isDarkMode({ theme });\n const inputFocusedBorder = isLight ? colors.accentColorB[20] : colors.accentColorB[30];\n const inputDisabledBg = isLight ? colors.neutral[30] : colors.neutral[70];\n const inputDisabledBorder = isLight ? colors.neutral[60] : colors.neutral[80];\n const inputDisabledColor = isLight ? colors.neutral[60] : colors.primary.black;\n const defaultBg = palette.primary.contrastText;\n const placeholderColor = isLight ? colors.neutral[50] : colors.neutral[60];\n return {\n display: 'flex',\n alignItems: 'center',\n gap: '22px',\n\n '.MuiTextField-root': {\n background: defaultBg,\n\n '.MuiInputBase-root': {\n borderRadius: 0,\n ':hover': {\n fieldset: {\n border: `1px solid ${inputFocusedBorder}`,\n },\n },\n '&.Mui-focused': {\n fieldset: {\n border: `3px solid ${inputFocusedBorder}`,\n },\n },\n fieldset: {\n border: `1px solid ${getInputBorderColor(palette, fieldState, isLight)}`,\n },\n input: {\n color: palette.primary.main,\n background: defaultBg,\n padding: '11px 10px',\n '::placeholder': {\n color: placeholderColor,\n },\n },\n '&.Mui-disabled': {\n fieldset: {\n border: `1px solid ${inputDisabledBorder}`,\n },\n input: {\n background: inputDisabledBg,\n color: inputDisabledColor,\n },\n },\n },\n },\n };\n});\n\nexport default InputWrapper;\n","/* eslint-disable no-unused-vars */\nimport compose from 'ramda/src/compose';\nimport find from 'ramda/src/find';\nimport pathOr from 'ramda/src/pathOr';\nimport propEq from 'ramda/src/propEq';\nimport { BynderImageDataType, ImageType } from './types';\n\nexport const parseJsonString = (dataString: string) => {\n try {\n return JSON.parse(dataString);\n } catch (error) {\n console.error('error parsing data ', error);\n return {};\n }\n};\n\n/** alt text */\nexport const getBynderAltText = (propKey: string) =>\n compose(pathOr('', ['value']), find(propEq('SEO_Tags', 'name')), pathOr([], [propKey, 0, 'textMetaproperties']));\n\nexport const extractBynderDescription = (key: string) => pathOr('', [key, '0', 'description']);\n\n/** end alt text */\n\n/** DAT specific */\n\nexport const getBasicDATWidthHeight = (width: number = 900, height: number = 800, transform = 'scale') =>\n `io=transform:${transform},width:${width},height:${height}`;\n\n/** determine whether the image is\n * 1. custom transformation ('customTransformation') ==> further transformation cannot be applied\n https://media.nuskin.com/transform/3ea706a3-770e-4b66-b112-427ef840f4b6/mail-40th-240207-1?io=overlay:text,content:abc,font:Open Sans,size:64,color:FFFFFFFF,gravity:center,padding:20,angle:0\n\n * 2. base transform url ('transformBaseUrl') ==> transformation can be applied in the component\n * \"https://media.nuskin.com/transform/3ea706a3-770e-4b66-b112-427ef840f4b6/mail-40th-240207-1\"\n\n* 3. bynder defined preset ('preset') ==> further transformation cannot be applied\n \"https://media.nuskin.com/transform/PDP_Key_Ingredients_Image/3ea706a3-770e-4b66-b112-427ef840f4b6/mail-40th-240207-1\"\n\n * 4. custom preset ('defaultPreset') example: thumbnail, small, mini, original , webImage, ==> further transformation can be applied\n\n * returns either 'customTransformation' | 'transformBaseUrl' | or preset type of the image example webImage, thumbnail\n * */\nexport const getImageType = (url: string, fileName: string, files: Record<string, any>) => {\n if (url.includes(`${fileName}?io=`)) {\n return ImageType.customTransformation;\n } else {\n const parts = url.split('/');\n if (parts[3] === 'transform' && parts[5] === fileName) {\n // url?.toLowerCase().includes(`transform/${databaseId}/${fileName}`.toLowerCase()) this check creates error in sometimes url does not have - which is present in database id\n\n return ImageType.transformBaseUrl;\n } else {\n return retrieveImageKey(files, url);\n }\n }\n};\nexport const retrieveImageKey = (files: Record<string, any>, url: string) => {\n for (const key in files) {\n if (files[key].url === url) {\n return key;\n }\n }\n return ImageType.defaultPreset;\n};\n\nexport const getUrlBasedOnDerivative = (url: string, imageDerivativeType: string, suffix: string) => {\n if (imageDerivativeType === ImageType.customTransformation) {\n return `${url}&${suffix}`;\n } else if (imageDerivativeType === ImageType.transformBaseUrl) {\n return `${url}?${suffix}`;\n }\n return url;\n};\n\n/** end DAT */\n\n/**\n *\n * @param selected : object containing select image url\n * @param isPublic : whether asset is marked public, if it is video and marked public, then mov or gif can be selected otherwise, only webImage can be selected in that case we have to show previewUrl\n * @returns returns selected video or image, if asset is video and is not public, then returns previewUrl\n */\nexport function getMediaUrl(\n selected: BynderImageDataType['selected'],\n isPublic: boolean,\n previewUrls: BynderImageDataType['previewUrls']\n): string {\n const { url = '', type: fileType = '' } = selected ?? {};\n if (fileType === 'VIDEO') {\n if (isPublic) {\n return url;\n } else {\n return previewUrls?.[0] || '';\n }\n }\n return url;\n}\n","import { ReactElement } from 'react';\n\nimport { CslpTag } from '../common.types';\n/* eslint-disable @next/next/no-img-element */\nimport { getImageType, getMediaUrl, getUrlBasedOnDerivative } from './bynder-util';\nimport { BynderImageDataType } from './types';\n\ntype BynderMediaProps = {\n imageDetail: BynderImageDataType;\n suffix?: string;\n className?: string;\n testId?: string;\n liveTag?: CslpTag;\n};\nexport const BynderMedia = ({ imageDetail, suffix, className, testId, liveTag }: BynderMediaProps): ReactElement => {\n const { files, name, selected, previewUrls, isPublic } = imageDetail;\n const { url = '', fit, position, altText = '', bgColor, type } = selected ?? {};\n const imageDerivativeType = getImageType(url, name, files);\n const mediaUrl = getMediaUrl(selected, isPublic, previewUrls);\n let transformedMediaUrl = getUrlBasedOnDerivative(mediaUrl, imageDerivativeType, suffix ?? '');\n if (type === 'VIDEO') {\n return (\n <div {...liveTag}>\n <video\n loop\n autoPlay\n muted\n width=\"100%\"\n style={{ backgroundColor: bgColor, objectFit: fit, objectPosition: position }}\n className={`${className || ''} bynder-image`}\n data-testid={testId || 'test-bynder-video'}\n >\n <source src={transformedMediaUrl} type=\"video/mp4\" />\n <source src={transformedMediaUrl} type=\"video/ogg\" />\n </video>\n </div>\n );\n }\n return (\n <img\n {...liveTag}\n data-testid={testId || 'test-bynder-image'}\n className={`${className || ''} bynder-image`}\n src={transformedMediaUrl}\n alt={altText}\n style={{ backgroundColor: bgColor, objectFit: fit, objectPosition: position }}\n />\n );\n};\n","import { styled } from '@nuskin/foundation-theme';\nimport { AlignmentType } from './types.d';\n\nexport const StyledBanner = styled.section`\n position: relative;\n display: flex;\n justify-content: space-evenly;\n img {\n width: 100%;\n object-fit: cover;\n height: auto;\n }\n`;\n\nexport const StyledHeroText = styled.div<{ $justify: AlignmentType; $alignment: AlignmentType }>`\n height: 100%;\n display: flex;\n width: 100%;\n position: absolute;\n top: 0;\n justify-content: ${({ $justify }) => $justify};\n align-items: ${({ $alignment }) => $alignment};\n text-align: left;\n`;\n","/**\n * @author [Vijayaprathap Kumar] (vpkumar@nuskin.com)\n * NsBanner.tsx\n * @description NsBanner component with a image background\n */\n\nimport React, { PropsWithChildren, ReactElement } from 'react';\n\nimport { getBasicDATWidthHeight } from '../image/bynder-util';\nimport { BynderMedia } from '../image/BynderMedia';\nimport { StyledBanner, StyledHeroText } from './NsBanner.styled';\nimport { NsBannerProps } from './types.d';\n\nconst NsBanner = (props: PropsWithChildren<NsBannerProps>): ReactElement => {\n const { children, image, alignment = 'center', justify = 'start', className = '', additionalProps = {} } = props;\n\n return (\n <StyledBanner className={className}>\n <BynderMedia\n className=\"image\"\n imageDetail={image}\n {...additionalProps}\n suffix={getBasicDATWidthHeight(1100, 600, 'scale')}\n />\n <StyledHeroText $alignment={alignment} $justify={justify}>\n <div className=\"mx-14\">{children}</div>\n </StyledHeroText>\n </StyledBanner>\n );\n};\n\nexport default NsBanner;\n","import React, {\n PropsWithChildren,\n ReactElement,\n useCallback,\n} from 'react';\n\nimport NSLogoHorizontal from './icons/NSLogoHorizontal';\nimport NSLogoMark from './icons/NSLogoMark';\nimport NSLogoPoweredBy from './icons/NSLogoPoweredBy';\nimport NSLogoStacked from './icons/NSLogoStacked';\nimport NSLogoWordMark from './icons/NSWordMark';\nimport LogoContainer from './NsBrandContainer.styled';\nimport { NsBrandComponentProps } from './types.d';\n\nconst VariantMap = {\n stacked: NSLogoStacked,\n horizontal: NSLogoHorizontal,\n wordmark: NSLogoWordMark,\n logomark: NSLogoMark,\n poweredBy: NSLogoPoweredBy,\n};\n\nconst NsBrandComponent = (props: PropsWithChildren<NsBrandComponentProps>):ReactElement => {\n const { variant = 'stacked', size = '108px', color = 'primary' } = props;\n const renderBrand = useCallback(() => {\n const BrandComponent = VariantMap[variant];\n // [Todo - Add neutral as FoundationTheme.PaletteColor]\n return <BrandComponent color={color as any} />;\n }, [color, variant]);\n return <LogoContainer size={size}>{renderBrand()}</LogoContainer>;\n};\n\nexport default NsBrandComponent;\n","/* eslint-disable max-len */\n\nimport { ReactElement } from 'react';\n\nimport { SvgIcon, SvgIconProps } from '@mui/material';\n\nconst NSLogoHorizontal = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon viewBox=\"0 0 135 30\" fill=\"none\" data-testid=\"logo\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M133.439 23C132.607 23 131.905 23.7014 131.905 24.5C131.905 25.3004 132.607 26 133.439 26C134.349 26 135 25.3004 135 24.5C135 23.6516 134.349 23 133.439 23ZM133.439 25.8255C132.686 25.8255 132.06 25.1996 132.06 24.5C132.06 23.7765 132.686 23.1762 133.439 23.1762C134.219 23.1762 134.792 23.7765 134.792 24.5C134.792 25.1996 134.219 25.8255 133.439 25.8255ZM134.061 24.151C134.061 23.9766 133.959 23.6265 133.388 23.6265H132.892V25.3997H133.129V24.6252H133.518L133.854 25.3997H134.061L133.75 24.599C133.934 24.5751 134.061 24.3768 134.061 24.151ZM133.412 24.474H133.129V23.8248H133.464C133.698 23.8248 133.879 23.9014 133.879 24.151C133.879 24.3016 133.801 24.474 133.412 24.474Z\"\n fill={props.color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M51.181 25L38.4365 9.34704V24.7232H37V6.07549L37.3395 6L49.9798 21.4768V6.27702H51.4421V24.9497L51.181 25Z\"\n fill={props.color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M62.7499 25C58.2617 25 55.5685 22.4685 55.5685 17.9423V6H57.0471V17.9165C57.0471 21.7525 59.2912 23.696 62.7499 23.696C66.2087 23.696 68.5056 21.7014 68.5056 17.9165V6H70.0106V17.9423C70.0106 22.3406 67.1326 25 62.7499 25Z\"\n fill={props.color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M83.781 25C81.7507 25 79.9289 24.3475 78.2632 23.2933L78.966 22.0636C80.5016 23.0674 82.1934 23.7201 83.9109 23.7201C86.4353 23.7201 88.1273 22.1637 88.1273 20.1307C88.1273 17.9973 86.644 17.0685 83.9371 15.889C80.9961 14.634 79.2002 13.3287 79.2002 10.794C79.2002 8.13339 81.5165 6 84.9257 6C86.5914 6 88.101 6.52701 89.2202 7.2548L88.5176 8.43455C87.5545 7.78181 86.2274 7.27989 84.7959 7.27989C82.2452 7.27989 80.6578 8.78589 80.6578 10.6934C80.6578 12.6762 82.2714 13.6299 84.5877 14.6593C87.8668 16.0898 89.6106 17.3197 89.6106 19.955C89.6106 22.967 87.008 25 83.781 25Z\"\n fill={props.color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M104.227 25L95.1657 15.6169V25H93.7368V6H95.1657V14.8389L103.921 6H105.758L96.5441 15.2276L106.116 25H104.227Z\"\n fill={props.color}\n />\n <path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M109.211 25H110.552V6H109.211V25Z\" fill={props.color} />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M129.581 25L116.836 9.34704V24.7232H115.4V6.07549L115.74 6L128.379 21.4768V6.27702H129.842V24.9497L129.581 25Z\"\n fill={props.color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M23.3312 7.73077C23.3312 7.73077 26.0255 7.59615 28.0509 9.84615C28.7197 10.5962 29.3694 11.5577 29.7325 12.9038C28.7771 5.63461 22.5669 0 15.0382 0C7.52865 0 1.29935 5.63462 0.324829 12.9231C0.687886 11.5769 1.33757 10.6154 2.00636 9.86538C4.05094 7.61538 6.7261 7.75 6.7261 7.75C13.414 8.09615 13.4522 14.8654 13.4522 14.8654V29.7885C13.758 29.8269 14.0828 29.8462 14.4076 29.8654V13.9038C14.4076 11.7308 13.7388 9.61539 12.2293 8.11539C10.8535 6.73077 9.07642 5.96154 7.20381 5.92308C8.00636 4.51923 9.11464 3.34615 10.4331 2.51923C11.828 1.65385 13.414 1.19231 15.0382 1.19231C16.6624 1.19231 18.2675 1.65385 19.6624 2.51923C20.9809 3.34615 22.0892 4.51923 22.8917 5.92308C21.0191 5.96154 19.2229 6.73077 17.8471 8.11539C16.3376 9.61539 15.6497 11.7308 15.6497 13.9038V29.8269C15.9745 29.8077 16.2802 29.7885 16.6051 29.75V14.8462C16.6051 14.8462 16.6433 8.07692 23.3312 7.73077ZM22.0892 16.3462C21.0764 16.9808 20.0255 18.2692 20.0255 20.9231V28.9808C23.0064 27.9038 25.5478 25.9038 27.3057 23.3077C28.4713 21.4038 28.5095 19.9038 28.2229 18.8077C27.8025 17.4038 26.5223 15.6538 23.9427 15.7885C23.9427 15.7885 22.9299 15.8077 22.0892 16.3462ZM23.4841 11.0385C25.4904 11.0385 26.828 11.5769 27.7261 12.2885C28.4522 12.9231 30.5923 15.1538 29.1783 19.3462C29.1592 16.3269 28.4522 15.25 27.6688 14.3462C25.9872 12.5192 23.7516 12.7308 23.7516 12.7308C21.0955 12.8077 19.8535 14.1346 19.2802 15.3462C18.7452 16.4231 18.7834 17.3846 18.7834 17.3846V29.3654C18.4777 29.4423 18.172 29.5192 17.8471 29.5769V16.0385C17.8471 11.0769 23.4841 11.0385 23.4841 11.0385ZM6.59234 11.0385C4.58598 11.0385 3.2484 11.5769 2.35031 12.2885C1.62419 12.9231 -0.515935 15.1538 0.878969 19.3462C0.898077 16.3269 1.60508 15.25 2.38852 14.3462C4.05094 12.5192 6.30572 12.7308 6.30572 12.7308C8.96177 12.8077 10.2038 14.1346 10.7771 15.3462C11.3121 16.4038 11.2739 17.3846 11.2739 17.3846V29.3654C11.5796 29.4423 11.9044 29.5192 12.2293 29.5769V16.0577C12.2484 11.0769 6.59234 11.0385 6.59234 11.0385ZM6.15285 15.7885C6.15285 15.7885 7.16559 15.8077 8.00636 16.3462C8.99999 16.9808 10.0701 18.2692 10.0701 20.9231V28.9808C7.08916 27.9038 4.54776 25.9038 2.7898 23.3077C1.6433 21.4038 1.58598 19.9038 1.8726 18.8077C2.27387 17.4038 3.55413 15.6346 6.15285 15.7885Z\"\n fill={props.color}\n />\n </SvgIcon>\n );\n};\n\nexport default NSLogoHorizontal;\n","import React, { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';\n\nconst NSLogoMark = (props: SvgIconProps):ReactElement => {\n return (\n <SvgIcon\n viewBox=\"0 0 51 52\"\n fill=\"none\"\n data-testid=\"logo\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path\n d=\"M50.041 20.6435C49.3218 18.9662 48.2764 17.4488 46.9662 16.1793C44.1811 13.5595 40.2549 12.5391 36.5481 13.472C32.8413 14.4047 29.8642 17.1622 28.6486 20.7888C28.0296 22.4814 27.7126 24.2696 27.7116 26.0719C27.7116 33.9438 27.7116 41.8201 27.7116 49.7006C27.7116 51.0214 27.7116 51.0214 26.2599 50.9554C26.2599 50.7044 26.2599 50.4271 26.2599 50.1628C26.2599 41.2608 26.2599 32.3632 26.2599 23.47C26.0387 17.9191 29.4097 12.8556 34.6136 10.9226C35.2421 10.703 35.886 10.5308 36.5405 10.4075C37.1737 10.2754 37.8602 10.2225 38.4934 10.1433C37.6885 6.45834 30.9842 2.21863 25.547 1.96768C19.7457 1.82825 14.3682 4.99786 11.677 10.1433C12.2972 10.2225 12.9044 10.2622 13.4849 10.3678C18.8789 11.2894 23.0428 15.6226 23.7525 21.0529C23.8991 22.0412 23.974 23.0388 23.9766 24.0379C23.9766 32.7288 23.9766 41.4193 23.9766 50.1101C23.9766 50.7968 23.8182 51.0875 23.0793 51.0081C22.3401 50.929 22.4194 50.7044 22.4194 50.2159C22.4194 47.4552 22.4194 44.6948 22.4194 41.9212C22.4194 36.4532 22.4194 30.9852 22.4194 25.5172C22.4658 22.3039 21.2911 19.193 19.1332 16.8132C16.5801 14.0518 12.8165 12.7501 9.10424 13.3445C5.39204 13.939 2.22225 16.3508 0.657194 19.7718C0.485803 20.102 0.340436 20.4454 0.103027 20.9341C2.27367 8.85927 12.7463 0.0553189 25.0052 0.000259583C37.2638 -0.0547998 47.8152 8.65471 50.0937 20.7095\"\n fill={props.color}\n />\n <path\n d=\"M33.7936 49.41C33.7936 49.1591 33.7936 48.9873 33.7936 48.8157C33.7936 44.1663 33.7936 39.5703 33.7936 34.8551C33.7088 32.5992 34.5699 30.4108 36.1692 28.819C38.1948 26.8776 41.2056 26.3842 43.7444 27.5775C46.2721 28.5237 47.9495 30.9388 47.9543 33.6398C48.0301 36.4561 47.0132 39.192 45.1168 41.2738C42.3431 44.7864 38.7052 47.5172 34.5591 49.1985C34.3125 49.2868 34.0614 49.3618 33.8069 49.4231\"\n fill={props.color}\n />\n <path\n d=\"M16.4134 49.5949C14.7636 48.7363 13.2065 48.0496 11.7681 47.1646C8.4545 45.2066 5.68241 42.4507 3.70443 39.1475C2.56468 37.3357 2.09748 35.1804 2.38472 33.0589C2.7694 29.7773 5.45008 27.2445 8.74587 27.0492C12.2156 26.5971 15.4457 28.902 16.1493 32.3324C16.3906 33.327 16.5147 34.3466 16.5188 35.3701C16.5188 39.7552 16.5188 44.1533 16.5188 48.5778C16.5188 48.8288 16.5188 49.0667 16.4397 49.5552\"\n fill={props.color}\n />\n <path\n d=\"M20.1482 50.4005C18.8285 50.4005 18.7095 50.308 18.7095 49.1721V30.3114C18.8828 26.8698 16.8673 23.6935 13.6814 22.3867C10.1653 20.905 6.10269 21.6983 3.40106 24.3943C1.68238 26.3444 0.742587 28.8603 0.76163 31.4604C0.767026 31.7375 0.698784 32.0109 0.563576 32.253C0.418211 31.619 0.24682 30.9321 0.167472 30.351C-0.284175 27.8623 0.184929 25.2941 1.48719 23.1263C2.39143 21.5993 3.78764 20.4255 5.44632 19.798C8.97191 18.413 12.9285 18.6596 16.2551 20.4716C18.706 21.7014 20.2237 24.2401 20.1482 26.983C20.2142 34.6566 20.1482 42.3303 20.1482 49.991C20.1482 50.1495 20.1482 50.2947 20.1482 50.4402\"\n fill={props.color}\n />\n <path\n d=\"M29.9422 50.427V49.476C29.9422 42.3969 30.0213 35.3175 29.9422 28.238C29.8629 22.5058 33.0698 20.036 37.5834 19.1246C39.8521 18.6682 42.2024 18.8418 44.3797 19.6266C48.243 21.0933 50.6295 24.9853 50.1867 29.0965C50.0944 30.1707 49.9134 31.2353 49.6456 32.2796C49.4212 30.9588 49.3288 29.6381 48.9724 28.3173C48.2014 25.4313 46.0698 23.1046 43.2638 22.0861C40.4577 21.0675 37.3314 21.4856 34.891 23.2059C32.5944 24.7671 31.2823 27.4182 31.4333 30.1928C31.4333 36.4798 31.4333 42.7667 31.4333 49.0535C31.4333 50.3743 31.4333 50.3743 29.9159 50.3743\"\n fill={props.color}\n />\n </SvgIcon>\n );\n};\n\nexport default NSLogoMark;\n","import { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';\n\nconst NSLogoPoweredBy = (props: SvgIconProps): ReactElement => {\n const { color } = props;\n return (\n <SvgIcon viewBox=\"0 0 100 38\" data-testid=\"logo\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n d=\"M15 8.8855V0.885498H17.7031C18.3307 0.885498 18.8438 0.998779 19.2422 1.22534C19.6432 1.4493 19.9401 1.75269 20.1328 2.1355C20.3255 2.51831 20.4219 2.94539 20.4219 3.41675C20.4219 3.8881 20.3255 4.31649 20.1328 4.7019C19.9427 5.08732 19.6484 5.39461 19.25 5.62378C18.8516 5.85034 18.3411 5.96362 17.7188 5.96362H15.7812V5.10425H17.6875C18.1172 5.10425 18.4622 5.03003 18.7227 4.88159C18.9831 4.73315 19.1719 4.53263 19.2891 4.28003C19.4089 4.02482 19.4688 3.73706 19.4688 3.41675C19.4688 3.09644 19.4089 2.80998 19.2891 2.55737C19.1719 2.30477 18.9818 2.10685 18.7188 1.96362C18.4557 1.81779 18.1068 1.74487 17.6719 1.74487H15.9688V8.8855H15Z\"\n fill={color}\n />\n <path\n d=\"M28.7324 4.8855C28.7324 5.72925 28.5801 6.45841 28.2754 7.073C27.9707 7.68758 27.5527 8.16154 27.0215 8.49487C26.4902 8.82821 25.8835 8.99487 25.2012 8.99487C24.5189 8.99487 23.9121 8.82821 23.3809 8.49487C22.8496 8.16154 22.4316 7.68758 22.127 7.073C21.8223 6.45841 21.6699 5.72925 21.6699 4.8855C21.6699 4.04175 21.8223 3.31258 22.127 2.698C22.4316 2.08342 22.8496 1.60946 23.3809 1.27612C23.9121 0.94279 24.5189 0.776123 25.2012 0.776123C25.8835 0.776123 26.4902 0.94279 27.0215 1.27612C27.5527 1.60946 27.9707 2.08342 28.2754 2.698C28.5801 3.31258 28.7324 4.04175 28.7324 4.8855ZM27.7949 4.8855C27.7949 4.19279 27.679 3.60815 27.4473 3.13159C27.2181 2.65503 26.9069 2.29435 26.5137 2.04956C26.123 1.80477 25.6855 1.68237 25.2012 1.68237C24.7168 1.68237 24.278 1.80477 23.8848 2.04956C23.4941 2.29435 23.1829 2.65503 22.9512 3.13159C22.722 3.60815 22.6074 4.19279 22.6074 4.8855C22.6074 5.57821 22.722 6.16284 22.9512 6.6394C23.1829 7.11597 23.4941 7.47664 23.8848 7.72144C24.278 7.96623 24.7168 8.08862 25.2012 8.08862C25.6855 8.08862 26.123 7.96623 26.5137 7.72144C26.9069 7.47664 27.2181 7.11597 27.4473 6.6394C27.679 6.16284 27.7949 5.57821 27.7949 4.8855Z\"\n fill={color}\n />\n <path\n d=\"M31.8145 8.8855L29.627 0.885498H30.6113L32.2832 7.40112H32.3613L34.0645 0.885498H35.1582L36.8613 7.40112H36.9395L38.6113 0.885498H39.5957L37.4082 8.8855H36.4082L34.6426 2.5105H34.5801L32.8145 8.8855H31.8145Z\"\n fill={color}\n />\n <path\n d=\"M40.8027 8.8855V0.885498H45.6309V1.74487H41.7715V4.448H45.3809V5.30737H41.7715V8.02612H45.6934V8.8855H40.8027Z\"\n fill={color}\n />\n <path\n d=\"M47.377 8.8855V0.885498H50.0801C50.7051 0.885498 51.2181 0.992269 51.6191 1.20581C52.0202 1.41675 52.3171 1.70711 52.5098 2.0769C52.7025 2.4467 52.7988 2.86727 52.7988 3.33862C52.7988 3.80998 52.7025 4.22795 52.5098 4.59253C52.3171 4.95711 52.0215 5.24357 51.623 5.4519C51.2246 5.65763 50.7155 5.7605 50.0957 5.7605H47.9082V4.8855H50.0645C50.4915 4.8855 50.8353 4.823 51.0957 4.698C51.3587 4.573 51.5488 4.39592 51.666 4.16675C51.7858 3.93498 51.8457 3.65894 51.8457 3.33862C51.8457 3.01831 51.7858 2.73836 51.666 2.49878C51.5462 2.2592 51.3548 2.0743 51.0918 1.94409C50.8288 1.81128 50.4811 1.74487 50.0488 1.74487H48.3457V8.8855H47.377ZM51.1426 5.29175L53.1113 8.8855H51.9863L50.0488 5.29175H51.1426Z\"\n fill={color}\n />\n <path\n d=\"M54.4131 8.8855V0.885498H59.2412V1.74487H55.3818V4.448H58.9912V5.30737H55.3818V8.02612H59.3037V8.8855H54.4131Z\"\n fill={color}\n />\n <path\n d=\"M63.4561 8.8855H60.9873V0.885498H63.5654C64.3415 0.885498 65.0055 1.04565 65.5576 1.36597C66.1097 1.68368 66.5329 2.14071 66.8271 2.73706C67.1214 3.33081 67.2686 4.04175 67.2686 4.86987C67.2686 5.70321 67.1201 6.42065 66.8232 7.02222C66.5264 7.62118 66.0941 8.08211 65.5264 8.40503C64.9587 8.72534 64.2686 8.8855 63.4561 8.8855ZM61.9561 8.02612H63.3936C64.055 8.02612 64.6032 7.89852 65.0381 7.64331C65.473 7.3881 65.7972 7.02482 66.0107 6.55347C66.2243 6.08211 66.3311 5.52092 66.3311 4.86987C66.3311 4.22404 66.2256 3.66805 66.0146 3.2019C65.8037 2.73315 65.4886 2.37378 65.0693 2.12378C64.6501 1.87118 64.1279 1.74487 63.5029 1.74487H61.9561V8.02612Z\"\n fill={color}\n />\n <path\n d=\"M71.9873 8.8855V0.885498H74.7842C75.3415 0.885498 75.8011 0.981852 76.1631 1.17456C76.5251 1.36466 76.7946 1.62118 76.9717 1.94409C77.1488 2.2644 77.2373 2.61987 77.2373 3.0105C77.2373 3.35425 77.1761 3.6381 77.0537 3.86206C76.9339 4.08602 76.7751 4.2631 76.5771 4.39331C76.3818 4.52352 76.1696 4.61987 75.9404 4.68237V4.7605C76.1852 4.77612 76.4313 4.86206 76.6787 5.01831C76.9261 5.17456 77.1331 5.39852 77.2998 5.69019C77.4665 5.98185 77.5498 6.33862 77.5498 6.7605C77.5498 7.16154 77.4587 7.52222 77.2764 7.84253C77.0941 8.16284 76.8063 8.41675 76.4131 8.60425C76.0199 8.79175 75.5081 8.8855 74.8779 8.8855H71.9873ZM72.9561 8.02612H74.8779C75.5107 8.02612 75.96 7.90373 76.2256 7.65894C76.4938 7.41154 76.6279 7.11206 76.6279 6.7605C76.6279 6.48966 76.5589 6.23967 76.4209 6.0105C76.2829 5.77873 76.0863 5.59383 75.8311 5.45581C75.5758 5.31519 75.2738 5.24487 74.9248 5.24487H72.9561V8.02612ZM72.9561 4.40112H74.7529C75.0446 4.40112 75.3076 4.34383 75.542 4.22925C75.779 4.11467 75.9665 3.95321 76.1045 3.74487C76.2451 3.53654 76.3154 3.29175 76.3154 3.0105C76.3154 2.65894 76.193 2.36076 75.9482 2.11597C75.7034 1.86857 75.3154 1.74487 74.7842 1.74487H72.9561V4.40112Z\"\n fill={color}\n />\n <path\n d=\"M78.4541 0.885498H79.5635L81.7822 4.61987H81.876L84.0947 0.885498H85.2041L82.3135 5.58862V8.8855H81.3447V5.58862L78.4541 0.885498Z\"\n fill={color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M98.8441 32.3669C98.2276 32.3669 97.7076 32.8865 97.7076 33.4781C97.7076 34.0709 98.2276 34.5892 98.8441 34.5892C99.518 34.5892 100 34.0709 100 33.4781C100 32.8496 99.518 32.3669 98.8441 32.3669ZM98.844 34.4599C98.286 34.4599 97.8221 33.9962 97.8221 33.478C97.8221 32.9421 98.286 32.4974 98.844 32.4974C99.4217 32.4974 99.8461 32.9421 99.8461 33.478C99.8461 33.9962 99.4217 34.4599 98.844 34.4599ZM99.3046 33.2195C99.3046 33.0903 99.2286 32.831 98.806 32.831H98.4385V34.1445H98.6138V33.5708H98.9019L99.1514 34.1445H99.3046L99.0743 33.5514C99.2102 33.5337 99.3046 33.3868 99.3046 33.2195ZM98.8239 33.4588H98.6138V32.9779H98.862C99.0358 32.9779 99.1699 33.0347 99.1699 33.2196C99.1699 33.3311 99.1119 33.4588 98.8239 33.4588Z\"\n fill={props.color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M37.9119 33.8485L28.4715 22.2537V33.6435H27.4075V19.8303L27.6589 19.7744L37.0221 31.2387V19.9796H38.1053V33.8112L37.9119 33.8485Z\"\n fill={props.color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M46.4815 33.8485C43.1568 33.8485 41.1619 31.9733 41.1619 28.6206V19.7744H42.2571V28.6015C42.2571 31.443 43.9194 32.8826 46.4815 32.8826C49.0435 32.8826 50.7449 31.4051 50.7449 28.6015V19.7744H51.8597V28.6206C51.8597 31.8786 49.7279 33.8485 46.4815 33.8485Z\"\n fill={color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M62.06 33.8485C60.5561 33.8485 59.2066 33.3652 57.9728 32.5842L58.4934 31.6733C59.6309 32.4169 60.884 32.9004 62.1562 32.9004C64.0262 32.9004 65.2795 31.7475 65.2795 30.2416C65.2795 28.6613 64.1808 27.9733 62.1757 27.0996C59.9971 26.1699 58.6669 25.2031 58.6669 23.3256C58.6669 21.3547 60.3827 19.7744 62.908 19.7744C64.1419 19.7744 65.2601 20.1648 66.0891 20.7039L65.5687 21.5778C64.8553 21.0943 63.8722 20.7225 62.8118 20.7225C60.9224 20.7225 59.7465 21.838 59.7465 23.251C59.7465 24.7198 60.9418 25.4262 62.6576 26.1887C65.0866 27.2483 66.3782 28.1594 66.3782 30.1115C66.3782 32.3426 64.4505 33.8485 62.06 33.8485Z\"\n fill={color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M77.2052 33.8485L70.4931 26.898V33.8485H69.4347V19.7744H70.4931V26.3217L76.9783 19.7744H78.3394L71.5141 26.6097L78.6043 33.8485H77.2052Z\"\n fill={color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M80.8967 33.8485H81.8901V19.7744H80.8967V33.8485Z\"\n fill={color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M95.9857 33.8485L86.5454 22.2537V33.6435H85.4814V19.8303L85.7331 19.7744L95.0958 31.2387V19.9796H96.1793V33.8112L95.9857 33.8485Z\"\n fill={color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M17.2824 21.0565C17.2824 21.0565 19.2781 20.9567 20.7785 22.6234C21.2739 23.179 21.7551 23.8912 22.024 24.8884C21.3163 19.5037 16.7162 15.33 11.1394 15.33C5.57676 15.33 0.962469 19.5037 0.240601 24.9026C0.509532 23.9055 0.990778 23.1932 1.48618 22.6376C3.00069 20.971 4.98229 21.0707 4.98229 21.0707C9.93628 21.3271 9.96459 26.3414 9.96459 26.3414V37.3955C10.1911 37.424 10.4317 37.4382 10.6723 37.4525V25.6291C10.6723 24.0194 10.1769 22.4525 9.05872 21.3414C8.03961 20.3157 6.72326 19.7459 5.33614 19.7174C5.93062 18.6775 6.75157 17.8086 7.72822 17.1961C8.76148 16.555 9.93628 16.2131 11.1394 16.2131C12.3425 16.2131 13.5315 16.555 14.5647 17.1961C15.5414 17.8086 16.3623 18.6775 16.9568 19.7174C15.5697 19.7459 14.2392 20.3157 13.2201 21.3414C12.1019 22.4525 11.5923 24.0194 11.5923 25.6291V37.424C11.833 37.4097 12.0594 37.3955 12.3 37.367V26.3271C12.3 26.3271 12.3284 21.3129 17.2824 21.0565ZM17.7353 27.0251C17.7353 27.0251 16.9852 27.0393 16.3624 27.4382C15.6122 27.9083 14.8337 28.8627 14.8337 30.8285V36.7972C17.0418 35.9995 18.9243 34.518 20.2265 32.5949C21.0899 31.1846 21.1182 30.0735 20.9059 29.2616C20.5945 28.2217 19.6462 26.9254 17.7353 27.0251ZM17.3956 23.5066C18.8818 23.5066 19.8726 23.9054 20.5379 24.4325C21.0758 24.9026 22.661 26.555 21.6136 29.6604C21.5995 27.424 21.0758 26.6262 20.4954 25.9567C19.2498 24.6035 17.5938 24.7601 17.5938 24.7601C15.6264 24.8171 14.7063 25.8 14.2817 26.6975C13.8854 27.4952 13.9137 28.2074 13.9137 28.2074V37.0821C13.6872 37.1391 13.4607 37.196 13.2201 37.2388V27.2103C13.2201 23.5351 17.3956 23.5066 17.3956 23.5066ZM4.88322 23.5066C3.39702 23.5066 2.40622 23.9054 1.74097 24.4325C1.20311 24.9026 -0.382169 26.555 0.651093 29.6604C0.665248 27.424 1.18896 26.6262 1.76928 25.9567C3.0007 24.6035 4.67091 24.7601 4.67091 24.7601C6.63835 24.8171 7.55838 25.8 7.98301 26.6975C8.37933 27.4809 8.35102 28.2074 8.35102 28.2074V37.0821C8.57749 37.1391 8.81811 37.196 9.05874 37.2388V27.2245C9.07289 23.5351 4.88322 23.5066 4.88322 23.5066ZM4.55768 27.0251C4.55768 27.0251 5.30786 27.0393 5.93065 27.4382C6.66667 27.9083 7.45931 28.8627 7.45931 30.8285V36.7972C5.25125 35.9995 3.36873 34.518 2.06653 32.5949C1.21727 31.1846 1.17481 30.0735 1.38713 29.2616C1.68437 28.2217 2.6327 26.9111 4.55768 27.0251Z\"\n fill={color}\n />\n </SvgIcon>\n );\n};\n\nexport default NSLogoPoweredBy;\n","import { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';\n\nconst NSLogoStacked = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon viewBox=\"0 0 155 108\" fill=\"none\" data-testid=\"logo\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <g clipPath=\"url(#clip0_11117_50399)\">\n <path\n d=\"M145.803 20.6435C145.084 18.9662 144.039 17.4488 142.728 16.1793C139.943 13.5595 136.017 12.5391 132.31 13.472C128.604 14.4047 125.626 17.1622 124.411 20.7888C123.792 22.4814 123.475 24.2696 123.474 26.0719C123.474 33.9438 123.474 41.8201 123.474 49.7006C123.474 51.0214 123.474 51.0214 122.022 50.9554C122.022 50.7044 122.022 50.4271 122.022 50.1628C122.022 41.2608 122.022 32.3632 122.022 23.47C121.801 17.9191 125.172 12.8556 130.376 10.9226C131.004 10.703 131.648 10.5308 132.303 10.4075C132.936 10.2754 133.622 10.2225 134.256 10.1433C133.451 6.45834 126.746 2.21863 121.309 1.96768C115.508 1.82825 110.13 4.99786 107.439 10.1433C108.059 10.2225 108.667 10.2622 109.247 10.3678C114.641 11.2894 118.805 15.6226 119.515 21.0529C119.661 22.0412 119.736 23.0388 119.739 24.0379C119.739 32.7288 119.739 41.4193 119.739 50.1101C119.739 50.7968 119.58 51.0875 118.842 51.0081C118.102 50.929 118.182 50.7044 118.182 50.2159C118.182 47.4552 118.182 44.6948 118.182 41.9212C118.182 36.4532 118.182 30.9852 118.182 25.5172C118.228 22.3039 117.053 19.193 114.895 16.8132C112.342 14.0518 108.579 12.7501 104.866 13.3445C101.154 13.939 97.9845 16.3508 96.4194 19.7718C96.248 20.102 96.1026 20.4454 95.8652 20.9341C98.0359 8.85927 108.509 0.0553189 120.767 0.000259583C133.026 -0.0547998 143.577 8.65471 145.856 20.7095\"\n fill={props.color}\n />\n <path\n d=\"M129.556 49.41C129.556 49.1591 129.556 48.9873 129.556 48.8157C129.556 44.1663 129.556 39.5703 129.556 34.8551C129.471 32.5992 130.332 30.4108 131.931 28.819C133.957 26.8776 136.968 26.3842 139.507 27.5775C142.034 28.5237 143.712 30.9388 143.716 33.6398C143.792 36.4561 142.775 39.192 140.879 41.2738C138.105 44.7864 134.467 47.5172 130.321 49.1985C130.075 49.2868 129.824 49.3618 129.569 49.4231\"\n fill={props.color}\n />\n <path\n d=\"M112.176 49.5949C110.526 48.7363 108.969 48.0496 107.53 47.1646C104.217 45.2066 101.445 42.4507 99.4666 39.1475C98.3269 37.3357 97.8597 35.1804 98.1469 33.0589C98.5316 29.7773 101.212 27.2445 104.508 27.0492C107.978 26.5971 111.208 28.902 111.912 32.3324C112.153 33.327 112.277 34.3466 112.281 35.3701C112.281 39.7552 112.281 44.1533 112.281 48.5778C112.281 48.8288 112.281 49.0667 112.202 49.5552\"\n fill={props.color}\n />\n <path\n d=\"M115.91 50.4005C114.591 50.4005 114.472 50.308 114.472 49.1721V30.3114C114.645 26.8698 112.63 23.6935 109.444 22.3867C105.928 20.905 101.865 21.6983 99.1633 24.3943C97.4446 26.3444 96.5048 28.8603 96.5238 31.4604C96.5292 31.7375 96.461 32.0109 96.3258 32.253C96.1804 31.619 96.009 30.9321 95.9297 30.351C95.478 27.8623 95.9471 25.2941 97.2494 23.1263C98.1536 21.5993 99.5498 20.4255 101.209 19.798C104.734 18.413 108.691 18.6596 112.017 20.4716C114.468 21.7014 115.986 24.2401 115.91 26.983C115.976 34.6566 115.91 42.3303 115.91 49.991C115.91 50.1495 115.91 50.2947 115.91 50.4402\"\n fill={props.color}\n />\n <path\n d=\"M125.704 50.427V49.476C125.704 42.3969 125.783 35.3175 125.704 28.238C125.625 22.5058 128.832 20.036 133.346 19.1246C135.614 18.6682 137.965 18.8418 140.142 19.6266C144.005 21.0933 146.392 24.9853 145.949 29.0965C145.856 30.1707 145.676 31.2353 145.408 32.2796C145.183 30.9588 145.091 29.6381 144.734 28.3173C143.964 25.4313 141.832 23.1046 139.026 22.0861C136.22 21.0675 133.094 21.4856 130.653 23.2059C128.356 24.7671 127.044 27.4182 127.195 30.1928C127.195 36.4798 127.195 42.7667 127.195 49.0535C127.195 50.3743 127.195 50.3743 125.678 50.3743\"\n fill={props.color}\n />\n <path\n d=\"M27.714 93.128C27.714 86.9072 24.9822 83.6714 15.2691 79.2862C9.55475 76.6447 7.35082 74.0031 7.35082 70.8333C7.35082 66.567 10.3334 63.0141 16.1797 63.0141C19.1984 63.0878 22.1225 64.0833 24.5599 65.8672L26.843 61.5482C23.781 59.4956 20.1818 58.393 16.4964 58.3784C7.91831 58.3784 2.21712 64.3746 2.21712 71.0843C2.21712 76.6711 5.1997 80.3297 13.2631 83.8562C20.8779 87.2242 22.5011 89.6412 22.5011 93.7093C22.5011 97.7771 19.7034 101.845 13.7383 101.845C9.66038 101.629 5.74215 100.188 2.49426 97.711L0 102.162C3.94083 104.954 8.64596 106.462 13.4743 106.481C21.5378 106.481 27.6876 100.696 27.6876 93.128H27.714ZM71.951 105.715L49.3309 81.7563L70.9214 59.0915H64.5076L44.2501 80.8052V59.0915H39.1693V105.715H44.2501V82.8655L65.2731 105.715H71.951ZM89.5955 59.0915H84.462V105.715H89.5428L89.5955 59.0915ZM141.408 106.376V59.0915H136.327V93.8942L106.475 58.2329L105.458 58.4839V105.715H110.539V70.3842L140.774 106.639L141.408 106.376Z\"\n fill={props.color}\n />\n <path\n d=\"M39.4206 50.1894V2.91866H34.3131V37.6684L4.47444 2.00732L3.45825 2.25827V49.4893H8.53915V14.1849L38.7607 50.414L39.4206 50.1894ZM85.0167 32.7814V2.91866H79.9359V32.3983C79.9359 41.6438 74.6571 45.6855 67.425 45.6855C60.1929 45.6855 55.0461 41.7232 55.0461 32.3983V2.91866H49.965V32.7814C49.965 43.9686 56.7616 50.2555 67.425 50.2555C77.8373 50.2555 85.0167 43.5856 85.0167 32.7814Z\"\n fill={props.color}\n />\n <path\n d=\"M150.431 107.7C152.737 107.7 154.569 105.785 154.569 103.5C154.569 101.162 152.737 99.2468 150.431 99.2468C148.124 99.2468 146.318 101.136 146.318 103.5C146.318 105.811 148.15 107.7 150.431 107.7ZM150.431 107.119C148.52 107.119 146.977 105.441 146.977 103.513C146.977 101.492 148.52 99.8808 150.431 99.8808C152.368 99.8808 153.91 101.505 153.91 103.513C153.91 105.455 152.368 107.119 150.431 107.119ZM149.811 102.007C149.93 101.981 150.128 101.981 150.299 101.981C150.866 101.981 151.208 102.258 151.208 102.668C151.208 103.183 150.866 103.473 150.246 103.473C150.128 103.473 149.969 103.473 149.798 103.447V102.007H149.811ZM149.126 105.521H149.811V104.028C149.983 104.055 150.101 104.055 150.18 104.055C150.233 104.055 150.378 104.055 150.497 104.028L151.406 105.521H152.21L151.156 103.87C151.617 103.672 151.907 103.183 151.907 102.641C151.907 101.955 151.367 101.36 150.22 101.36C149.798 101.36 149.455 101.387 149.126 101.439V105.521Z\"\n fill={props.color}\n />\n </g>\n <defs>\n <clipPath id=\"clip0_11117_50399\">\n <rect width=\"155\" height=\"108\" fill=\"white\" />\n </clipPath>\n </defs>\n </SvgIcon>\n );\n};\n\nexport default NSLogoStacked;\n","import { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';\n\nconst NSLogoWordMark = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon viewBox=\"0 0 98 20\" data-testid=\"logo\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M96.4395 17C95.6072 17 94.9053 17.7014 94.9053 18.5C94.9053 19.3004 95.6072 20 96.4395 20C97.3493 20 98 19.3004 98 18.5C98 17.6516 97.3493 17 96.4395 17ZM96.4393 19.8255C95.686 19.8255 95.0598 19.1996 95.0598 18.5C95.0598 17.7765 95.686 17.1762 96.4393 17.1762C97.2193 17.1762 97.7922 17.7765 97.7922 18.5C97.7922 19.1996 97.2193 19.8255 96.4393 19.8255ZM97.0612 18.151C97.0612 17.9766 96.9586 17.6265 96.388 17.6265H95.892V19.3997H96.1287V18.6252H96.5176L96.8544 19.3997H97.0612L96.7503 18.599C96.9337 18.5751 97.0612 18.3768 97.0612 18.151ZM96.4123 18.474H96.1286V17.8248H96.4637C96.6983 17.8248 96.8794 17.9014 96.8794 18.151C96.8794 18.3016 96.8011 18.474 96.4123 18.474Z\"\n fill={props.color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M14.181 19L1.43645 3.34704V18.7232H0V0.0754862L0.339466 0L12.9798 15.4768V0.277025H14.4421V18.9497L14.181 19Z\"\n fill={props.color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M25.7499 19C21.2617 19 18.5685 16.4685 18.5685 11.9423V0H20.0471V11.9165C20.0471 15.7525 22.2912 17.696 25.7499 17.696C29.2087 17.696 31.5056 15.7014 31.5056 11.9165V0H33.0106V11.9423C33.0106 16.3406 30.1326 19 25.7499 19Z\"\n fill={props.color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M46.781 19C44.7507 19 42.9289 18.3475 41.2632 17.2933L41.966 16.0636C43.5016 17.0674 45.1934 17.7201 46.9109 17.7201C49.4353 17.7201 51.1273 16.1637 51.1273 14.1307C51.1273 11.9973 49.644 11.0685 46.9371 9.889C43.9961 8.63396 42.2002 7.32873 42.2002 4.79404C42.2002 2.13339 44.5165 0 47.9257 0C49.5914 0 51.101 0.527014 52.2202 1.2548L51.5176 2.43455C50.5545 1.78181 49.2274 1.27989 47.7959 1.27989C45.2452 1.27989 43.6578 2.78589 43.6578 4.69342C43.6578 6.67624 45.2714 7.62988 47.5877 8.6593C50.8668 10.0898 52.6106 11.3197 52.6106 13.955C52.6106 16.967 50.008 19 46.781 19Z\"\n fill={props.color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M67.227 19L58.1657 9.61689V19H56.7368V0H58.1657V8.83886L66.9207 0H68.7582L59.5441 9.22763L69.1158 19H67.227Z\"\n fill={props.color}\n />\n <path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M72.2106 19H73.5516V0H72.2106V19Z\" fill={props.color} />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M92.5808 19L79.8364 3.34704V18.7232H78.4V0.0754862L78.7397 0L91.3794 15.4768V0.277025H92.8421V18.9497L92.5808 19Z\"\n fill={props.color}\n />\n </SvgIcon>\n );\n};\n\nexport default NSLogoWordMark;\n","import { styled } from '@nuskin/foundation-theme';\n\nconst NsBrandContainer = styled.div<{ size: string }>`\n svg {\n font-size: ${({ size }) => size};\n height: auto;\n }\n`;\n\nexport default NsBrandContainer;\n","/**\n * @author [Vijayaprathap Kumar] (vpkumar@nuskin.com)\n * NsBreadcrumb.tsx\n * @description NsBreadcrumb component with a navigation items array props\n */\n\nimport { PropsWithChildren, ReactElement } from 'react';\n\nimport { useTheme } from '@mui/material/styles';\nimport { ColorUtils } from '@nuskin/foundation-theme';\n\nimport { NsIcon, NsTypography } from '../';\nimport { BreadcrumbContainer, BreadcrumbItem, BreadcrumbList, BreadcrumbStyledLink } from './NsBreadcrumb.styled';\nimport { ItemProps, NsBreadcrumbProps } from './types.d';\n\nconst { color } = ColorUtils;\n\nconst NsBreadcrumb = (props: PropsWithChildren<NsBreadcrumbProps>): ReactElement => {\n const { items, underline = true, separator = 'chevronRight' } = props;\n\n const theme = useTheme();\n const neutral80 = color('neutral', '80')({ theme });\n const neutral60 = color('neutral', '60')({ theme });\n\n const getLabel = (item: ItemProps) => {\n if (item?.href) {\n return (\n <NsTypography variant=\"h6\" colorOverride={neutral60}>\n <BreadcrumbStyledLink\n underlineVisibility={underline}\n href={item.href}\n underlineOnHover={!underline}\n >\n {item.icon ? (\n <NsIcon name={item.icon} size=\"medium\" testId=\"nav-icon\" colorOverride={neutral60} />\n ) : null}\n {item.label}\n </BreadcrumbStyledLink>\n </NsTypography>\n );\n } else {\n return (\n <NsTypography variant=\"h6\" weight=\"bold\" colorOverride={neutral80}>\n {item.label}\n </NsTypography>\n );\n }\n };\n\n return (\n <BreadcrumbContainer aria-label=\"breadcrumb\">\n <BreadcrumbList>\n {items?.map((item: ItemProps, index: number) => (\n <BreadcrumbItem key={item.label}>\n {getLabel(item)}\n {index !== items.length - 1 ? (\n <NsIcon\n className={separator === 'slash' && 'slashIcon'}\n name={separator}\n size=\"medium\"\n colorOverride={neutral80}\n />\n ) : null}\n </BreadcrumbItem>\n ))}\n </BreadcrumbList>\n </BreadcrumbContainer>\n );\n};\n\nexport default NsBreadcrumb;\n","import { styled } from '@nuskin/foundation-theme';\nimport { NsLink } from '../link';\n\nexport const BreadcrumbContainer = styled.nav`\n margin-bottom: 10px;\n`;\n\nexport const BreadcrumbList = styled.ol`\n display: flex;\n flex-wrap: wrap;\n padding: 0;\n margin: 0;\n list-style: none;\n`;\n\nexport const BreadcrumbItem = styled.li`\n display: flex;\n align-items: center;\n :not(:first-of-type) {\n margin-left: 12px;\n }\n & a {\n display: flex;\n gap: 8px;\n margin-right: 12px;\n }\n .slashIcon {\n transform: rotate(20deg);\n }\n`;\n\nexport const BreadcrumbStyledLink = styled(NsLink)<{ underlineVisibility?: boolean }>`\n text-decoration: ${({ underlineVisibility }) => (underlineVisibility ? 'underline' : 'none')};\n text-underline-offset: 4px;\n font-weight: 700;\n`;\n","import { styled } from '@nuskin/foundation-theme';\nimport MUILink from '@mui/material/Link';\n\ntype StyledProps = {\n disabled?: boolean;\n $underlineOnHover?: boolean;\n variants?: string;\n outlined?: boolean;\n showHorizontal?: boolean;\n fontColor?: 'primary' | 'secondary';\n};\n\n/**\n * Wrapper StyledMUILink / StyledNextLink for NsLink.tsx\n * @params ( theme: { palette }) / Provide the color's to container from @nuskin/foundation-theme\n * @params ( disabled: boolean) / Element will be disable only when disabled is true\n */\n\nexport const linkDefaultStyles = `\n -webkit-tap-highlight-color: transparent;\n background-color: transparent;\n background-repeat: no-repeat;\n border: none;\n cursor: pointer;\n outline: none;\n padding: 0;\n text-decoration: none;\n transition: transform 120ms linear;\n color: inherit;\n &:focus {\n outline: none;\n text-decoration: underline;\n }\n`;\n\nconst getLinkStyles = ({ disabled, $underlineOnHover = true }: StyledProps) => {\n if (disabled) {\n return `\n cursor: default;\n pointer-events: all;\n opacity: 0.6;\n `;\n } else if ($underlineOnHover) {\n return `&:hover {\n text-decoration: underline;\n text-underline-offset: 4px;\n text-decoration-color: currentcolor;\n }`;\n }\n return '';\n};\n\nconst getVariantStyles = ({ variants, outlined, showHorizontal, fontColor }: StyledProps) => {\n const styles: Record<string, string> = {\n primary: `\n padding: 8px 16px; \n background-color: ${outlined ? '#tansparent' : fontColor=='secondary' ? 'white': 'black'};\n color: ${outlined ?fontColor=='secondary' ? 'white': 'black': fontColor=='secondary' ? 'black': 'white'}; \n border: ${outlined ? `1px solid ${fontColor=='secondary' ? 'white' : 'black'}` : 'none'}; \n text-align: center; \n cursor: pointer; \n text-decoration: none;\n display: inline-block; \n &:hover {\n background-color: '#8C8C8C'; \n }\n @media (max-width: 1024px) {\n margin: auto;\n }\n @media (max-width: 1023px) {\n margin: ${showHorizontal?'0':'0 auto'};\n width: fit-content; \n }\n \n `,\n secondary: `\n text-align: center;\n cursor: pointer;\n text-decoration: none;\n display: inline-block;\n color: ${fontColor=='secondary' ? 'white' : 'black'}; \n\n `,\n };\n\n return variants ? styles[variants] || '' : '';\n}\n\nexport const StyledLink = styled(MUILink)<StyledProps>`\n ${linkDefaultStyles};\n ${getLinkStyles}\n ${getVariantStyles}\n`;\n","/**\n * @name NsLink.tsx\n * @description Exports one components - NsLink\n */\n\nimport React, {\n PropsWithChildren,\n ReactElement,\n} from 'react';\n\nimport {\n StyledLink\n} from './NsLink.styled';\nimport { NsLinkProps } from './types.d';\nimport { NsTypography } from '../typography';\nimport { NsIcon } from '../icon';\nimport { styled } from '@nuskin/foundation-theme';\n\nexport const SecondaryLinkWrapper = styled.a`\n display: flex;\n justify-content: center; /* Centers content horizontally */\n align-items: center; \n text-align: center;\n padding: 8px 16px; /* Padding for the link */\n text-decoration: none; /* Removes default underline */\n svg {\n margin-right: 10px;\n margin-left: 10px;\n g {\n stroke-width: 2;\n }\n }\n .cta-text {\n text-decoration: underline;\n text-underline-offset: 4px;\n text-decoration-color: inherit;\n }\n :hover {\n opacity: 0.7;\n }\n`;\n\nconst SecondaryWrapper: React.FC<{\n href: string;\n variants: string;\n fontColor: 'primary' | 'secondary' | undefined;\n children: React.ReactNode;\n}> = ({ href, variants, fontColor, children }) => {\n return (\n <SecondaryLinkWrapper href={href}>\n <NsTypography variant=\"body-l\" className=\"!m-0 cta-text\" weight=\"bold\" color={fontColor || 'primary'}>\n {children}\n </NsTypography>\n <NsIcon name=\"arrowRight\" size=\"small\" className=\"icon-order\" color={fontColor} />\n </SecondaryLinkWrapper>\n );\n};\n\nconst NsLink = (props: PropsWithChildren<NsLinkProps>): ReactElement => {\n const {\n className,\n href,\n variants,\n outlined,\n underlineOnHover,\n target,\n additionalProps,\n children,\n disabled,\n showHorizontal,\n color,\n } = props;\n\n return (\n <StyledLink\n className={className}\n href={href}\n variants={variants}\n outlined={outlined}\n showHorizontal={showHorizontal}\n fontColor={color}\n disabled={disabled}\n $underlineOnHover={underlineOnHover}\n target={target}\n {...additionalProps}\n >\n {variants === 'secondary' ? ( // secondary condition\n <SecondaryWrapper href={href} variants={variants} fontColor={color}>\n {children}\n </SecondaryWrapper>\n ) : (\n children\n )}\n </StyledLink>\n );\n};\n\nexport default NsLink;\n","import { PropsWithChildren, ReactElement } from 'react';\n\nimport { useTheme } from '@mui/material/styles';\n\nimport { NsIcon } from '../icon';\nimport { StyledButton } from './NsButton.styled';\nimport { NsButtonProps } from './types.d';\n\nconst NsButton = ({ children, darkModeEnabled = true, ...props }: PropsWithChildren<NsButtonProps>): ReactElement => {\n const { color, startIconName, endIconName, variant } = props;\n const { palette } = useTheme();\n // TODO: remove any\n const btnColor = color && (palette as any)?.[color] ? color : 'primary';\n let iconColor = btnColor;\n if (variant === 'contained') {\n if (btnColor === 'secondary') {\n iconColor = 'primary';\n } else {\n iconColor = 'secondary';\n }\n }\n let startIcon = props.startIcon;\n if (!startIcon && startIconName) {\n startIcon = <NsIcon name={startIconName} color={iconColor} size={props.size} />;\n }\n let endIcon = props.endIcon;\n if (!endIcon && endIconName) {\n endIcon = <NsIcon name={endIconName} color={iconColor} size={props.size} />;\n }\n\n return (\n <StyledButton\n {...props}\n startIcon={startIcon}\n endIcon={endIcon}\n color={btnColor}\n disableRipple\n darkModeEnabled={darkModeEnabled}\n >\n {children}\n </StyledButton>\n );\n};\n\nexport default NsButton;\n","import { Button as MUIButton } from '@mui/material';\n\nimport { styled, ColorUtils, FoundationTheme, getGenomeColor } from '@nuskin/foundation-theme';\ntype ButtonSize = {\n padding?: string;\n};\nexport type ButtonConfig = {\n borderRadius?: number;\n focusColor?: string;\n size?: {\n small?: ButtonSize;\n medium?: ButtonSize;\n large?: ButtonSize;\n };\n};\nimport { NsButtonProps } from './types.d';\nimport { generateContainedStyle, generateIconOnlyStyles, generateOutlinedStyle, generateTextStyles } from './helper';\n\nconst { buttonColor, paletteColor } = ColorUtils;\n\nconst getButtonConfig = (theme: FoundationTheme.Theme, attribute: keyof ButtonConfig) => {\n const { config } = theme || {};\n return config?.components?.button?.[attribute] || '';\n};\n\nexport const StyledButton = styled(MUIButton)<NsButtonProps>(\n ({ theme, color, size, darkModeEnabled, variant, iconOnly }) => {\n const borderRadius = getButtonConfig(theme, 'borderRadius') || 0;\n const focusBorderColor = getButtonConfig(theme, 'focusColor');\n // TODO: remove as any from the theme and color\n const sizeStyle = (theme as any)?.components?.button?.['size']?.[size ?? '']?.padding ?? {};\n const btnColor = color as any;\n\n let buttonStyles = {};\n const hovered = buttonColor(btnColor, 'hovered')({ theme });\n const pressed = buttonColor(btnColor, 'pressed')({ theme });\n const focused = buttonColor(btnColor, 'focused')({ theme });\n const textColor = paletteColor(btnColor, 'contrastText')({ theme, darkModeEnabled });\n const backgroundColor = paletteColor(btnColor)({ theme, darkModeEnabled });\n\n if (variant === 'contained') {\n buttonStyles = generateContainedStyle({ backgroundColor, textColor, hovered, pressed, focused });\n } else if (variant === 'outlined') {\n const activeColor = paletteColor(btnColor)({ theme });\n buttonStyles = generateOutlinedStyle({ borderColor: backgroundColor, hovered, pressed, activeColor });\n } else if (variant === 'text') {\n buttonStyles = generateTextStyles({ underlineColor: backgroundColor, hovered, pressed });\n } else if (iconOnly) {\n buttonStyles = generateIconOnlyStyles();\n }\n\n return {\n gap: '10px',\n borderRadius,\n '&:focus': {\n border: `1px solid ${focusBorderColor} !important`,\n },\n '&:disabled': {\n backgroundColor: buttonColor(btnColor, 'disabled'),\n color: buttonColor(btnColor, 'disabledText'),\n },\n ...buttonStyles,\n ...sizeStyle,\n textTransform: 'none',\n '@media (hover: none) and (pointer: coarse)': {\n '&:hover': {\n backgroundColor: getGenomeColor(theme, 'N100'),\n },\n '&:active': {\n backgroundColor: getGenomeColor(theme, 'N60'),\n },\n },\n };\n }\n);\n","type ContainedParams = {\n backgroundColor: string;\n textColor: string;\n hovered: string;\n pressed: string;\n focused: string;\n};\n\nexport function generateContainedStyle({\n backgroundColor,\n textColor,\n hovered,\n pressed,\n focused,\n}: ContainedParams): Record<string, any> {\n return {\n backgroundColor,\n color: `${textColor} !important`,\n '&:hover': {\n backgroundColor: `${hovered}`\n },\n '&:active': {\n backgroundColor: `${pressed}`\n },\n '&:focus': {\n backgroundColor: `${focused}`\n }\n };\n}\ntype OutlinedParams = {\n borderColor: string;\n hovered: string;\n pressed: string;\n activeColor: string;\n};\nexport function generateOutlinedStyle({ borderColor, hovered, pressed, activeColor }: OutlinedParams) {\n return {\n borderColor: `${borderColor}`,\n color: `${borderColor}`,\n '&:hover': {\n borderColor: `${hovered}`,\n color: `${borderColor}`\n },\n '&:active': {\n borderColor: `${pressed}`,\n color: `${activeColor}`\n }\n }\n}\n\ntype TextParams = {\n underlineColor: string;\n hovered: string;\n pressed: string;\n};\n\nexport function generateTextStyles({ underlineColor, hovered, pressed }: TextParams): Record<string, any> {\n return {\n textDecoration: 'underline 1px !important',\n textUnderlineOffset: '4px',\n minWidth: 'auto',\n backgroundColor: 'transparent !important',\n textDecorationColor: `${underlineColor}`,\n color: `${underlineColor}`,\n '&:hover': {\n color: `${hovered}`,\n textDecorationColor: `${hovered}`,\n backgroundColor: 'transparent !important',\n border: 0,\n },\n '&:active, &:focus': {\n color: `${underlineColor}`,\n textDecorationColor: `${pressed}`,\n border: 'none !important',\n }\n };\n}\n\nexport function generateIconOnlyStyles() {\n return {\n padding: '10px',\n minWidth: 'unset',\n };\n}\n","import { PropsWithChildren, ReactElement } from 'react';\n\nimport Box from '@mui/material/Box';\nimport { styled } from '@nuskin/foundation-theme';\n\nconst Wrapper = styled(Box)`\n background-color: rgba(0, 0, 0, 0.5);\n width: 100%;\n height: 100%;\n z-index: 100;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n &:hover {\n background-color: rgba(0, 0, 0, 0);\n & img {\n visibility: hidden;\n }\n }\n`;\n\nexport default function NsBrandWrapper({ children }: PropsWithChildren): ReactElement {\n return <Wrapper className=\"logo-wrapper\">{children}</Wrapper>;\n}\n","import Card from '@mui/material/Card';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { shouldNotForwardPropsWithKeys } from '../util';\n\ntype NsBgCardProps = {\n backgroundImageUrl: string;\n};\nconst options = {\n shouldForwardProp: shouldNotForwardPropsWithKeys<NsBgCardProps>(['backgroundImageUrl']),\n};\nconst Component = ({ backgroundImageUrl }: NsBgCardProps) => {\n const width = 256;\n return {\n backgroundImage: `url(\"${backgroundImageUrl}\")`,\n backgroundSize: 'cover',\n backgroundPosition: 'center',\n height: width * 1.2,\n width,\n };\n};\n/*\nThis styled component shows the background image on a card\n*/\nconst NsBgCard = styled(Card, options)<NsBgCardProps>(Component);\nexport default NsBgCard;\n","export function shouldNotForwardPropsWithKeys<T>(propArray: Array<keyof T>) {\n return (propName: string) => !propArray.includes(propName as keyof T);\n}\n","import CardMedia from '@mui/material/CardMedia';\nimport { styled } from '@nuskin/foundation-theme';\n\nconst NsBrandLogo = styled(CardMedia)<{\n component: 'img';\n}>({\n width: 'auto',\n height: 'auto',\n maxWidth: '80%',\n maxHeight: '80%',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n});\n\nexport default NsBrandLogo;\n","import { ReactElement } from 'react';\n\nimport Box from '@mui/material/Box';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { BynderMedia } from '../image/BynderMedia';\nimport { BynderImageDataType } from '../image/types';\nimport CardButton from './CardButton';\nimport { NsCardButton } from './types';\n\ntype NsHeroCardLevel1Props = {\n cardTitle: string;\n cardDescription: string;\n backgroundImageDetail: BynderImageDataType;\n button?: NsCardButton;\n className?: string;\n imagePosition?: 'top' | 'bottom';\n fontColor?: 'primary' | 'secondary';\n};\n\nconst CardContainer = styled((props: any) => <Box {...props} />)(({ imagePosition }) => {\n const imageDirection = imagePosition === 'top' ? 'column' : 'column-reverse';\n\n return {\n backgroundClip: 'border-box',\n display: 'flex',\n wordWrap: 'break-word' as 'break-word',\n position: 'relative',\n overflow: 'hidden',\n maxWidth: '820px',\n height: '532px',\n flexDirection: 'row',\n '.content': {\n width: '50%',\n minWidth: '300px',\n height: '500px',\n padding: '50px',\n paddingLeft: '100px',\n display: 'flex',\n flexDirection: 'column' as 'column',\n position: 'absolute',\n top: 0,\n left: 0,\n boxSizing: 'border-box',\n },\n '.bg-image': {\n objectFit: 'cover',\n },\n '.body-title': {\n fontSize: '36px',\n lineHeight: '44px',\n marginBottom: '20px',\n },\n '.body-text': {\n fontSize: '18px',\n marginBottom: '20px',\n },\n '.primary': {\n color: '#fff',\n },\n '.secondary': {\n color: '#000',\n },\n '.action-link': {\n marginTop: '10px',\n },\n '@media (max-width: 768px)': {\n '.content': {\n paddingLeft: '20px',\n },\n },\n '@media (max-width: 430px)': {\n height: 'auto',\n backgroundColor: '#edece9',\n flexDirection: imageDirection,\n '.content': {\n height: 'auto',\n position: 'static',\n width: '100%',\n padding: '20px',\n },\n },\n };\n});\n\nexport default function NsHeroCardLevel1({\n cardTitle,\n cardDescription,\n backgroundImageDetail,\n button,\n className,\n imagePosition = 'top',\n fontColor,\n}: NsHeroCardLevel1Props): ReactElement {\n return (\n <CardContainer className={className} data-testid=\"hero-card-level-1\" imagePosition={imagePosition}>\n <BynderMedia className=\"bg-image\" imageDetail={backgroundImageDetail} />\n <div className=\"content\">\n <article className={`body-title ${fontColor}`}>{cardTitle}</article>\n <article className={`body-text ${fontColor}`}>{cardDescription}</article>\n {button ? <CardButton {...button} /> : null}\n </div>\n </CardContainer>\n );\n}\n","import { ReactElement } from 'react';\n\nimport { Button } from '@mui/material';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { NsButton, NsIcon } from '../';\nimport { NsCardButton } from './types';\n\nconst ButtonTextVariant = styled(Button)`\n padding: 0;\n border-bottom: 1px solid black;\n border-radius: 0;\n text-transform: none;\n font-size: 14px;\n font-weight: 600;\n`;\n\nconst CardButton = ({\n url,\n endIcon,\n buttonText,\n showButton = true,\n buttonVariant = 'outlined',\n buttonColor = 'primary',\n fullWidth = false,\n showArrowWithText = false,\n}: NsCardButton): ReactElement | null => {\n if (showButton && url) {\n return (\n <div className=\"cta\">\n {buttonVariant === 'text' ? (\n <ButtonTextVariant href={url}>\n {buttonText}\n {showArrowWithText ? (\n <NsIcon name=\"arrowRight\" size=\"small\" color=\"primary\" />\n ) : endIcon ? (\n <NsIcon name={endIcon} size=\"small\" color=\"primary\" />\n ) : null}\n </ButtonTextVariant>\n ) : (\n <NsButton\n href={url}\n color={buttonColor}\n variant={buttonVariant}\n fullWidth={fullWidth}\n endIcon={endIcon ? <NsIcon name={endIcon} color={buttonColor} /> : null}\n className=\"cta-text\"\n >\n {buttonText}\n </NsButton>\n )}\n </div>\n );\n }\n return null;\n};\n\nexport default CardButton;\n","import { ReactElement } from 'react';\n\nimport Box from '@mui/material/Box';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { BynderMedia } from '../image/BynderMedia';\nimport { BynderImageDataType } from '../image/types';\nimport CardButton from './CardButton';\nimport { NsCardButton } from './types';\n\ntype NsHeroCardLevel2Props = {\n brandName: string;\n cardTitle: string;\n cardDescription: string;\n backgroundImageDetail: BynderImageDataType;\n button?: NsCardButton;\n className?: string;\n fontColor?: 'primary' | 'secondary';\n};\n\nconst CardContainer = styled(Box)`\n background-clip: border-box;\n display: flex;\n flex-direction: row;\n word-wrap: break-word;\n position: relative;\n overflow: hidden;\n height: 236px;\n max-width: 536px;\n .content {\n height: 100%;\n padding: 50px;\n display: flex;\n flex-direction: column;\n position: absolute;\n top: 0;\n left: 0;\n box-sizing: border-box;\n }\n .bg-image {\n object-fit: cover;\n }\n .brand-container {\n background-color: #fff;\n width: fit-content;\n padding-left: 10px;\n padding-right: 10px;\n }\n .body-title {\n font-size: 26px;\n line-height: 44px;\n margin-bottom: 5px;\n }\n .body-text {\n font-size: 12px;\n font-weight: 700;\n margin-bottom: 5px;\n }\n .primary {\n color: #fff;\n }\n .secondary {\n color: #000;\n }\n @media (max-width: 768px) {\n .content {\n padding: 5%;\n }\n }\n`;\n\nconst NsHeroCardLevel2 = ({\n brandName,\n cardTitle,\n cardDescription,\n backgroundImageDetail,\n button,\n className,\n fontColor,\n}: NsHeroCardLevel2Props): ReactElement => {\n return (\n <CardContainer className={className} data-testid=\"hero-card-level-2\">\n <BynderMedia className=\"bg-image\" imageDetail={backgroundImageDetail} />\n <div className=\"content\">\n <div className=\"brand-container\">\n <article className={fontColor}>{brandName}</article>\n </div>\n <article className={`body-title ${fontColor}`}>{cardTitle}</article>\n <article className={`body-text ${fontColor}`}>{cardDescription}</article>\n <div>{button ? <CardButton {...button} /> : null}</div>\n </div>\n </CardContainer>\n );\n};\nexport default NsHeroCardLevel2;\n","import { ReactElement } from 'react';\n\nimport Box from '@mui/material/Box';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { BynderMedia } from '../image/BynderMedia';\nimport { BynderImageDataType } from '../image/types';\n\ntype NsPostProps = {\n text: string;\n body: string;\n backgroundImageDetail: BynderImageDataType;\n className?: string;\n fontColor?: 'primary' | 'secondary';\n};\n\nconst CardContainer = styled(Box)`\n background-clip: border-box;\n display: flex;\n flex-direction: column;\n word-wrap: break-word;\n position: relative;\n overflow: hidden;\n max-width: 165px;\n height: 272px;\n background-color: #fff;\n .image {\n height: 180px;\n overflow: hidden;\n object-fit: contain;\n }\n .content {\n padding: 20px;\n display: flex;\n flex-direction: column;\n min-height: 92px;\n max-height: 92px;\n justify-content: space-around;\n }\n .body-title {\n font-size: 18px;\n font-weight: 600;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n margin: 0;\n }\n .body-text {\n font-size: 12px;\n font-weight: 700;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n color: #8c8c8c;\n margin: 0;\n }\n`;\n\nconst NsPost = ({ text, body, backgroundImageDetail, className, fontColor }: NsPostProps): ReactElement => {\n return (\n <CardContainer className={className} data-testid=\"post-card\">\n <BynderMedia className=\"image\" imageDetail={backgroundImageDetail} />\n <article className=\"content\">\n <h2 className={`body-title ${fontColor}`} title={text}>\n {text}\n </h2>\n <p className={`body-text ${fontColor}`} title={body?.substring(0, 80)}>\n {body}\n </p>\n </article>\n </CardContainer>\n );\n};\nexport default NsPost;\n","import { ReactElement } from 'react';\n\nimport Box from '@mui/material/Box';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { NsTypography } from '../';\nimport CardButton from './CardButton';\nimport cardSizes from './cardSizes';\nimport NsBgCard from './NsBgCard';\nimport NsBrandLogo from './NsBrandLogo';\nimport NsBrandWrapper from './NsBrandWrapper';\nimport { NsCardButton } from './types';\n\ntype NsBrandCardProps = {\n title?: string;\n brandImageUrl: string;\n backgroundImageUrl: string;\n size?: 'small' | 'large';\n button?: NsCardButton;\n className?: string;\n fontColor?: 'primary' | 'secondary';\n};\n\nconst CardContainer = styled((props: any) => <Box {...props} />)(({ size }) => {\n const { small, large } = cardSizes;\n let maxWidth, maxHeight;\n\n if (size === 'small') {\n maxWidth = small.maxWidth;\n maxHeight = small.maxHeight;\n } else {\n maxWidth = large.maxWidth;\n maxHeight = large.maxHeight;\n }\n\n return {\n maxWidth,\n display: 'flex',\n alignItems: 'start',\n justifyContent: 'center',\n position: 'relative',\n flexDirection: 'column',\n '.brand-title': {\n marginTop: '15px',\n fontSize: '18px',\n fontWeight: 600,\n lineHeight: '26px',\n display: 'inline-block',\n wordBreak: 'break-word',\n },\n ':hover': {\n '.brand-title': {\n opacity: '0.7',\n },\n },\n '.image': {\n maxWidth,\n maxHeight,\n backgroundSize: 'cover',\n backgroundPosition: 'center',\n },\n };\n});\nexport default function NsBrandCard({\n title,\n brandImageUrl,\n backgroundImageUrl,\n button,\n size,\n className,\n fontColor,\n}: NsBrandCardProps): ReactElement {\n return (\n <CardContainer className={className} role=\"brand-card\" component=\"div\" data-testid=\"brand-card\" size={size}>\n <NsBgCard backgroundImageUrl={backgroundImageUrl} className=\"image\">\n <NsBrandWrapper>\n <NsBrandLogo component=\"img\" image={brandImageUrl} />\n </NsBrandWrapper>\n </NsBgCard>\n {title ? (\n <NsTypography variant=\"h3\" className=\"brand-title\" color={fontColor}>\n {title}\n </NsTypography>\n ) : null}\n {button ? <CardButton {...button} /> : null}\n </CardContainer>\n );\n}\n","const cardSizes = {\n small: {\n maxWidth: '160px',\n maxHeight: '179px',\n },\n large: {\n maxWidth: '190px',\n maxHeight: '211px',\n },\n};\n\nexport default cardSizes;\n","import { ReactElement } from 'react';\n\nimport Box from '@mui/material/Box';\nimport { styled } from '@nuskin/foundation-theme';\n\ntype NsIconTextProps = {\n text: string;\n body: string;\n className?: string;\n fontColor?: 'primary' | 'secondary';\n};\n\nconst CardContainer = styled(Box)`\n background-clip: border-box;\n display: flex;\n flex-direction: column;\n word-wrap: break-word;\n position: relative;\n overflow: hidden;\n height: auto;\n max-width: 222px;\n background-color: #f5f5f5;\n padding: 20px;\n justify-content: center;\n gap: 30px;\n .icon {\n display: flex;\n width: 100%;\n }\n .divider {\n width: 182px;\n height: 1px;\n background: #b2b2b2;\n }\n .title {\n font-size: 26px;\n font-weight: 400;\n margin-top: -10px;\n }\n .text {\n font-weight: 400;\n font-size: 14px;\n }\n .primary {\n color: #fff;\n }\n .secondary {\n color: #000;\n }\n`;\n\nconst Icon = (): ReactElement => {\n return (\n <div className=\"icon\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"80\" height=\"80\" viewBox=\"0 0 80 80\" fill=\"none\">\n <path\n d=\"M40 80C62.0914 80 80 62.0914 80 40C80 17.9086 62.0914 0 40 0C17.9086 0 0 17.9086 0 40C0 62.0914 17.9086 80 40 80Z\"\n fill=\"white\"\n />\n <path\n opacity=\"0.3\"\n d=\"M43.7138 75.6844C62.5411 73.4233 73.528 54.1872 57.8386 44.0119C46.8517 37.2284 19.7234 38.6174 17.646 51.4899C15.0035 67.8672 29.589 77.9456 43.7138 75.6844Z\"\n fill=\"#F56767\"\n />\n <path\n d=\"M2.66699 40.4277H77.5603\"\n stroke=\"#252525\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M16 60H64\"\n stroke=\"#252525\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n stroke-dasharray=\"5 5\"\n />\n <path\n d=\"M25.333 69.334L54.6663 69.334\"\n stroke=\"#252525\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n stroke-dasharray=\"7 7\"\n />\n <path\n d=\"M8 48.9556C9.73125 51.1044 23.5567 54.3276 41.6428 49.4257C58.2309 44.9938 70.7303 46.8336 73.3333 48.5258\"\n stroke=\"#252525\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M24 22.668V25.3346\"\n stroke=\"#252525\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M24 33.334V36.0007\"\n stroke=\"#252525\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M50.6665 12V14.6667\"\n stroke=\"#252525\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M50.6665 22.666V25.3327\"\n stroke=\"#252525\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M17.3335 29.332H20.0002\"\n stroke=\"#252525\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M28 29.332H30.6667\"\n stroke=\"#252525\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M44 18.668H46.6667\"\n stroke=\"#252525\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M54.6665 18.668H57.3332\"\n stroke=\"#252525\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </svg>\n </div>\n );\n};\nconst NsIconText = ({ text, body, className, fontColor }: NsIconTextProps) => {\n return (\n <CardContainer className={className} data-testid=\"icon-text-card\">\n <Icon />\n <article className={`title ${fontColor}`}>{text}</article>\n <div className=\"divider\"></div>\n <article className={`text ${fontColor}`}>{body}</article>\n </CardContainer>\n );\n};\nexport default NsIconText;\n","import { ReactElement, useState } from 'react';\n\nimport Box from '@mui/material/Box';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { NsIcon, NsIconNameType, NsLink } from '../';\n\ntype NsCheckoutCardProps = {\n icon: NsIconNameType;\n title: string;\n linkText: string;\n url: string;\n className?: string;\n fontColor?: 'primary' | 'secondary';\n};\n\nconst CardContainer = styled(Box)`\n background-color: #fff;\n display: flex;\n max-width: 345px;\n height: auto;\n border: 2px solid #b2b2b2;\n border-radius: 2px;\n .left-bar {\n width: 4px;\n height: auto;\n background-color: #22d55c;\n }\n .content {\n display: flex;\n flex-direction: row;\n gap: 10px;\n margin: 10px;\n width: 100%;\n }\n .text-content {\n width: 100%;\n }\n .title {\n font-size: 14px;\n font-weight: 700;\n }\n .address {\n font-size: 13px;\n font-weight: 400;\n }\n .action-link {\n color: #7123d9;\n font-size: 14px;\n font-weight: 700;\n letter-spacing: 0.7;\n }\n .icon-right {\n margin-left: auto;\n }\n .icon {\n &:hover {\n cursor: pointer;\n }\n }\n .primary {\n color: #fff;\n }\n .secondary {\n color: #000;\n }\n`;\n\nexport default function NsCheckoutCard({\n title,\n icon,\n linkText,\n url,\n className,\n fontColor,\n}: NsCheckoutCardProps): ReactElement {\n const [dropdownIcon, setDropdownIcon] = useState(false);\n const handleClick = () => {\n setDropdownIcon(!dropdownIcon);\n };\n\n return (\n <CardContainer className={className} role=\"checkout-card\" component=\"div\" data-testid=\"checkout-card\">\n <div className=\"left-bar\"></div>\n <div className=\"content\">\n <span>\n <NsIcon name={icon} />\n </span>\n <div className=\"text-content\">\n <article className={`title ${fontColor}`}>{title}</article>\n <article className={`address ${fontColor}`}>Address</article>\n <NsLink className={`action-link ${fontColor}`} href={url}>\n {linkText}\n </NsLink>\n </div>\n <span className=\"icon-right\">\n <NsIcon\n name={dropdownIcon ? 'arrowUp' : 'arrowDown'}\n className=\"icon\"\n onClick={handleClick}\n testId=\"dropdown-icon\"\n />\n </span>\n </div>\n </CardContainer>\n );\n}\n","import { ReactElement } from 'react';\n\nimport Box from '@mui/material/Box';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { BynderMedia } from '../image/BynderMedia';\nimport { BynderImageDataType } from '../image/types';\nimport CardButton from './CardButton';\nimport { NsCardButton } from './types';\n\ntype NsSmallFullCardProps = {\n title: string;\n subtitle: string;\n backgroundImageDetail: BynderImageDataType;\n button?: NsCardButton;\n className?: string;\n fontColor?: 'primary' | 'secondary';\n};\n\nconst CardContainer = styled(Box)`\n background-color: #fff;\n display: flex;\n max-height: 320px;\n max-width: 375px;\n overflow: hidden;\n position: relative;\n .image {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n .gradientOverlay {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);\n }\n .content {\n position: absolute;\n height: 100%;\n width: 100%;\n padding: 40px 40px 25px 30px;\n display: flex;\n flex-direction: column;\n }\n .subtitle {\n color: #fff;\n font-size: 11px;\n font-weight: 400;\n margin-top: auto;\n }\n .title {\n color: #fff;\n font-size: 26px;\n font-weight: 400;\n margin-top: 20px;\n }\n .cta {\n margin-top: 20px;\n max-width: 208px;\n border-radius: 4px;\n overflow: hidden;\n }\n .primary {\n color: #fff;\n }\n .secondary {\n color: #000;\n }\n`;\n\nexport default function NsSmallFullCard({\n title,\n subtitle,\n backgroundImageDetail,\n button,\n className,\n fontColor,\n}: NsSmallFullCardProps): ReactElement {\n return (\n <CardContainer className={className} role=\"small-full-card\" component=\"div\" data-testid=\"small-full-card\">\n <BynderMedia className=\"image\" imageDetail={backgroundImageDetail} />\n <div className=\"gradientOverlay\"></div>\n <div className=\"content\">\n <article className={`subtitle ${fontColor}`}>{subtitle}</article>\n <article className={`title ${fontColor}`}>{title}</article>\n {button ? <CardButton {...button} /> : null}\n </div>\n </CardContainer>\n );\n}\n","import { ReactElement } from 'react';\n\nimport Box from '@mui/material/Box';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { BynderMedia } from '../image/BynderMedia';\nimport { BynderImageDataType } from '../image/types';\nimport CardButton from './CardButton';\nimport { NsCardButton } from './types';\n\ntype NsXLargeCardProps = {\n title: string;\n subtitle: string;\n backgroundImageDetail: BynderImageDataType;\n button?: NsCardButton;\n className?: string;\n fontColor?: 'primary' | 'secondary';\n};\n\nconst CardContainer = styled(Box)`\n background-color: #fff;\n display: flex;\n height: 620px;\n width: 450px;\n position: relative;\n .image {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n .gradientOverlay {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);\n }\n .content {\n position: absolute;\n height: 100%;\n width: 100%;\n padding: 40px 40px 25px 30px;\n display: flex;\n flex-direction: column;\n }\n .subtitle {\n color: #fff;\n font-size: 11px;\n font-weight: 400;\n margin-top: auto;\n }\n .title {\n color: #fff;\n font-size: 26px;\n font-weight: 400;\n margin-top: 20px;\n }\n .primary {\n color: #fff;\n }\n .secondary {\n color: #000;\n }\n .cta {\n margin-top: 20px;\n }\n`;\n\nexport default function NsXLargeCard({\n title,\n subtitle,\n backgroundImageDetail,\n button,\n className,\n fontColor,\n}: NsXLargeCardProps): ReactElement {\n return (\n <CardContainer className={className} role=\"x-large-card\" component=\"div\" data-testid=\"x-large-card\">\n <BynderMedia className=\"image\" imageDetail={backgroundImageDetail} />\n <div className=\"gradientOverlay\"></div>\n <div className=\"content\">\n <article className={`subtitle ${fontColor}`}>{subtitle}</article>\n <article className={`title ${fontColor}`}>{title}</article>\n {button ? <CardButton {...button} /> : null}\n </div>\n </CardContainer>\n );\n}\n","import { ReactElement } from 'react';\n\nimport Box from '@mui/material/Box';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { BynderMedia } from '../image/BynderMedia';\nimport { BynderImageDataType } from '../image/types';\nimport CardButton from './CardButton';\nimport { NsCardButton } from './types';\n\ntype NsLargeCardProps = {\n title: string;\n subtitle?: string;\n intro: string;\n backgroundImageDetail: BynderImageDataType;\n isHorizontal?: boolean;\n button?: NsCardButton;\n className?: string;\n fontColor?: 'primary' | 'secondary';\n};\n\nconst CardContainer = styled((props: any) => <Box {...props} />)(({ isHorizontal, matches }) => {\n let width = '450px',\n paddingLeft = '0px',\n justifyContent,\n fontSizeSub = '16px',\n fontSizeTitle = '26px',\n imageWidth = '100%';\n\n if (isHorizontal) {\n width = '600px';\n paddingLeft = '30px';\n justifyContent = 'center';\n fontSizeSub = '16px';\n fontSizeTitle = '26px';\n imageWidth = '50%';\n }\n let direction = isHorizontal ? ('row' as 'row') : ('column' as 'column');\n\n return {\n display: 'flex',\n flexDirection: direction,\n position: 'relative',\n width,\n '.bg-image': {\n objectFit: 'cover',\n height: '220px',\n width: imageWidth,\n },\n '.content': {\n display: 'flex',\n flexDirection: 'column',\n paddingLeft,\n justifyContent,\n },\n '.subtitle': {\n fontSize: fontSizeSub,\n fontWeight: '400',\n marginTop: '10px',\n },\n '.title': {\n fontSize: fontSizeTitle,\n fontWeight: '400',\n marginTop: '10px',\n },\n '.primary': {\n color: '#fff',\n },\n '.secondary': {\n color: '#000',\n },\n '.cta': {\n marginTop: '10px',\n },\n '@media (max-width: 768px)': {\n width: '100%',\n },\n };\n});\n\nexport default function NsLargeCard({\n title,\n subtitle,\n backgroundImageDetail,\n intro,\n isHorizontal,\n button,\n className,\n fontColor,\n}: NsLargeCardProps): ReactElement {\n return (\n <CardContainer\n className={className}\n role=\"large-card\"\n component=\"div\"\n data-testid=\"large-card\"\n isHorizontal={isHorizontal}\n >\n <BynderMedia className=\"bg-image\" imageDetail={backgroundImageDetail} />\n <div className=\"content\">\n <article className={`subtitle ${fontColor}`}>{subtitle}</article>\n <article className={`title ${fontColor}`}>{title}</article>\n <article className={`subtitle ${fontColor}`}>{intro}</article>\n {button ? <CardButton {...button} /> : null}\n </div>\n </CardContainer>\n );\n}\n","import { ReactElement } from 'react';\n\nimport Box from '@mui/material/Box';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { NsTypography } from '../';\nimport { BynderMedia } from '../image/BynderMedia';\nimport { BynderImageDataType } from '../image/types';\nimport CardButton from './CardButton';\nimport { NsCardButton } from './types';\n\ntype NsMediumCardProps = {\n title: string;\n titleFontWeight?: 'bold' | 'normal' | 'light';\n subtitle: string;\n backgroundImageDetail: BynderImageDataType;\n button?: NsCardButton;\n className?: string;\n fluid?: boolean;\n showArrowWithButtonText?: boolean;\n fontColor?: 'primary' | 'secondary';\n};\nconst textVariantButton = {\n padding: '0 0 4px',\n gap: '7px',\n span: {\n margin: 0,\n },\n '> div': {\n margin: 0,\n },\n '.MuiButton-endIcon': {\n svg: {\n g: {\n strokeWidth: 2,\n },\n },\n },\n};\nconst buttonVariantStyle = (variant: string) => (variant === 'text' ? { a: textVariantButton } : {});\nconst CardContainer = styled(Box)<{ fluid: boolean; variant: string }>(({ fluid, variant }) => {\n const textVariantCssModification = buttonVariantStyle(variant);\n\n return {\n display: 'flex',\n flexDirection: 'column',\n position: 'relative',\n '.image': {\n width: fluid ? '100%' : '300px',\n height: '300px',\n objectFit: 'cover',\n },\n '.content': {\n display: 'flex',\n width: fluid ? '100%' : '300px',\n flexDirection: 'column',\n flexGrow: 1,\n },\n '.subtitle': {\n fontSize: '16px',\n fontWeight: '400',\n },\n '.title': {\n fontSize: '20px',\n marginTop: '10px',\n },\n '.primary': {\n color: '#fff',\n },\n '.secondary': {\n color: '#000',\n },\n '.cta': {\n marginTop: 'auto',\n ...textVariantCssModification,\n },\n };\n});\n\nexport default function NsMediumCard({\n title,\n titleFontWeight,\n subtitle,\n backgroundImageDetail,\n button,\n className,\n fluid,\n showArrowWithButtonText = false,\n fontColor,\n}: NsMediumCardProps): ReactElement {\n return (\n <CardContainer\n className={className}\n role=\"medium-card\"\n component=\"div\"\n data-testid=\"medium-card\"\n fluid={fluid || false}\n variant={button?.buttonVariant ?? ''}\n >\n <BynderMedia className=\"image\" imageDetail={backgroundImageDetail} />\n <div className=\"content\">\n <NsTypography variant=\"h5\" color={fontColor} className=\"title\" weight={titleFontWeight}>\n {title}\n </NsTypography>\n <article className={`subtitle mt-3 mb-5 ${fontColor}`}>{subtitle}</article>\n {button ? <CardButton {...button} showArrowWithText={showArrowWithButtonText} /> : null}\n </div>\n </CardContainer>\n );\n}\n","import { ReactElement } from 'react';\n\nimport Box from '@mui/material/Box';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { NsTypography } from '../';\nimport { BynderMedia } from '../image/BynderMedia';\nimport { BynderImageDataType } from '../image/types';\n\ntype NsAwardCardProps = {\n title: string;\n awardName: string;\n mediaOutlet: string;\n backgroundImageDetail: BynderImageDataType;\n className?: string;\n fontColor?: 'primary' | 'secondary';\n};\n\nconst CardContainer = styled(Box)`\n display: flex;\n flex-direction: column;\n position: relative;\n align-items: center;\n width: 160px;\n height: auto;\n .image {\n width: 160px;\n height: auto;\n object-fit: cover;\n }\n .content {\n display: flex;\n flex-direction: column;\n text-align: center;\n align-items: center;\n margin-top: 25px;\n }\n .content-text: {\n margin-top: 20px;\n }\n .action-link {\n margin-top: 10px;\n align-self: start;\n },\n`;\n\nexport default function NsAwardCard({\n title,\n awardName,\n mediaOutlet,\n backgroundImageDetail,\n className,\n fontColor,\n}: NsAwardCardProps): ReactElement {\n return (\n <CardContainer className={className} role=\"award-card\" component=\"div\" data-testid=\"award-card\">\n <BynderMedia className=\"image\" imageDetail={backgroundImageDetail} />\n <div className=\"content\">\n <NsTypography weight=\"normal\" className=\"title\" variant=\"h5\" color={fontColor}>\n {title}\n </NsTypography>\n <NsTypography className=\"content-text\" variant=\"body-l\" color={fontColor}>\n {awardName}\n </NsTypography>\n <NsTypography className=\"content-text\" variant=\"body-l\" color={fontColor}>\n {mediaOutlet}\n </NsTypography>\n </div>\n </CardContainer>\n );\n}\n","import 'slick-carousel/slick/slick-theme.css';\nimport 'slick-carousel/slick/slick.css';\n\nimport { ReactElement, ReactNode, useCallback, useRef } from 'react';\n\nimport Slider from 'react-slick';\n\nimport Box from '@mui/material/Box';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport CarousalControl from './CarousalControl';\nimport defaultCarousalSettings from './slickSetting';\n\nconst SlickContainer = styled(Box)(() => {\n return {\n padding: '30px 0 60px',\n '.slick-slide': {\n display: 'flex',\n justifyContent: 'center',\n },\n };\n});\ninterface CarousalProps<T = any> {\n entries: T[];\n renderEntry(entry: T, index: number): ReactNode;\n allEntryLink?: string;\n allEntryLabel?: string;\n settings: any;\n showControlButtons?: boolean;\n}\n\nexport default function NsCarousal({\n entries,\n renderEntry,\n allEntryLink = '',\n settings,\n allEntryLabel = 'View All',\n showControlButtons = true,\n}: CarousalProps): ReactElement {\n const sliderRef = useRef();\n const prev = useCallback(() => {\n if (sliderRef.current) {\n const slider = sliderRef.current as any;\n slider.slickPrev();\n }\n }, [sliderRef]);\n const next = useCallback(() => {\n if (sliderRef.current) {\n const slider = sliderRef.current as any;\n slider.slickNext();\n }\n }, [sliderRef]);\n return (\n <SlickContainer className=\"brand-carousal\">\n {showControlButtons ? (\n <CarousalControl prev={prev} next={next} viewAllUrl={allEntryLink} viewAllLabel={allEntryLabel} />\n ) : null}\n <Slider {...{ ...defaultCarousalSettings, ...settings }} ref={sliderRef as any}>\n {entries.map((entry, index) => {\n return renderEntry(entry, index);\n })}\n </Slider>\n </SlickContainer>\n );\n}\n","import { ReactElement } from 'react';\n\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { NsIcon, NsLink, NsTypography } from '../';\nimport IconWrapper from './IconWrapper';\n\ninterface CarousalControlProps {\n next(): void;\n prev(): void;\n viewAllLabel: string;\n viewAllUrl: string;\n}\n/*\nThis component is visible over the carousal and it has prev and next buttons and view all link\n*/\nconst Wrapper = styled.div`\n display: flex;\n justify-content: flex-end;\n`;\nconst InnerWrapper = styled.div`\n display: flex;\n gap: 20px;\n align-items: center;\n`;\nconst CarousalControl = ({ next, prev, viewAllUrl, viewAllLabel }: CarousalControlProps): ReactElement => {\n return (\n <Wrapper>\n <InnerWrapper>\n {viewAllUrl ? (\n <NsLink href={viewAllUrl} underlineOnHover={false}>\n <NsTypography decoration=\"underline\" variant=\"body-l\">\n {viewAllLabel}\n </NsTypography>\n </NsLink>\n ) : null}\n <IconWrapper onClick={prev} className=\"carousal-prev-button\">\n <NsIcon name=\"arrowLeft\" />\n </IconWrapper>\n <IconWrapper onClick={next} className=\"carousal-next-button\">\n <NsIcon name=\"arrowRight\" />\n </IconWrapper>\n </InnerWrapper>\n </Wrapper>\n );\n};\nexport default CarousalControl;\n","import { PropsWithChildren, ReactElement } from 'react';\n\nimport { Box } from '@mui/material';\nimport { styled } from '@nuskin/foundation-theme';\n\ntype IconWrapperProps = PropsWithChildren<{\n onClick(): void;\n className?: string;\n}>;\nconst options = {};\nconst Wrapper = styled(\n Box,\n options\n)(({ theme }) => {\n const strokeColor = theme.palette?.primary?.main ?? '#252525';\n return {\n display: 'flex',\n width: 'auto',\n border: `2px solid ${strokeColor}`,\n borderRadius: '3px',\n cursor: 'pointer',\n padding: '9px',\n boxSizing: 'content-box',\n };\n});\nconst IconWrapper = ({ children, onClick, className }: IconWrapperProps): ReactElement => {\n return (\n <Wrapper component=\"span\" className={className || ''} onClick={onClick}>\n {children}\n </Wrapper>\n );\n};\nexport default IconWrapper;\n","const settings = {\n dots: true,\n infinite: false,\n speed: 2000,\n slidesToShow: 6,\n slidesToScroll: 1,\n swipeToSlide: true,\n responsive: [\n {\n breakpoint: 1800,\n settings: {\n slidesToShow: 5,\n slidesToScroll: 1,\n infinite: true,\n dots: true,\n },\n },\n {\n breakpoint: 1480,\n settings: {\n slidesToShow: 4,\n slidesToScroll: 1,\n infinite: true,\n dots: true,\n },\n },\n {\n breakpoint: 1160,\n settings: {\n slidesToShow: 3,\n slidesToScroll: 1,\n infinite: true,\n dots: true,\n },\n },\n {\n breakpoint: 840,\n settings: {\n slidesToShow: 2,\n slidesToScroll: 1,\n initialSlide: 1,\n },\n },\n {\n breakpoint: 580,\n settings: {\n slidesToShow: 1.5,\n slidesToScroll: 1,\n },\n },\n {\n breakpoint: 440,\n settings: {\n slidesToShow: 1,\n slidesToScroll: 1,\n },\n },\n ],\n};\n\nexport default settings;\n","import React, { ReactElement, useMemo } from 'react';\n\nimport Slider from 'react-slick';\n\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { NsScrollingCarousalProps } from '../';\n\ntype StyledType = {\n dotsBottomPixel?: number;\n};\n\nconst StyledDiv = styled('div')<StyledType>(({ dotsBottomPixel }) => {\n return {\n '.slick-dots': {\n zIndex: 9,\n bottom: `${dotsBottomPixel ?? -25}px`,\n opacity: '0.5',\n },\n };\n});\n\nconst NsScrollingCarousal = ({\n slides,\n scrollSeconds,\n stillSeconds,\n renderSlide,\n settings,\n dotsBottomPixel,\n additionalProps,\n}: NsScrollingCarousalProps): ReactElement => {\n const defaultSettings = useMemo(() => {\n return {\n ...settings,\n autoplay: true,\n autoplaySpeed: stillSeconds * 1000 || 2000, // autoplaySpeed = delay between scroll in milliseconds\n accessibility: true,\n adaptiveHeight: true,\n arrows: true,\n draggable: true,\n dots: false,\n infinite: true,\n speed: scrollSeconds * 1000 || 500, // speed = animation speed in milliseconds\n slidesToShow: 1,\n slidesToScroll: 1,\n swipeToSlide: true,\n };\n }, [stillSeconds, scrollSeconds, settings]);\n return (\n <StyledDiv\n className=\"scrolling-carousal-wrapper\"\n dotsBottomPixel={dotsBottomPixel}\n data-testid={additionalProps?.testid ?? 'scrolling-carousal-test-id'}\n >\n <Slider {...defaultSettings}>{slides.map(renderSlide)}</Slider>\n </StyledDiv>\n );\n};\n\nexport default NsScrollingCarousal;\n","import { ReactElement } from 'react';\n\nimport { IconButton } from '@mui/material';\n\nimport { NsIcon } from '../icon';\nimport { StyledBadge } from './NsCartIcon.styled';\nimport { NsCartIconProps } from './types.d';\n\nconst NsCartIcon = ({\n itemCount = 0,\n size = 'large',\n color = 'primary',\n maxItemCount = 999,\n}: NsCartIconProps): ReactElement => {\n return (\n <IconButton aria-label=\"cart\">\n <StyledBadge badgeContent={itemCount} max={maxItemCount} bgcolor={color} showZero>\n <NsIcon testId=\"cart-badge-icon\" name=\"cart\" size={size} color={color} />\n </StyledBadge>\n </IconButton>\n );\n};\n\nexport default NsCartIcon;\n","import { Badge, Theme } from '@mui/material';\nimport { ColorUtils, FoundationTheme, styled } from '@nuskin/foundation-theme';\n\ntype ItemCountParams = {\n theme?: Theme;\n bgcolor: FoundationTheme.PaletteColors;\n};\nconst { paletteColor } = ColorUtils;\nexport const StyledBadge = styled(Badge)<ItemCountParams>`\n & .MuiBadge-badge {\n cursor: pointer;\n background-color: ${({ bgcolor, theme }) => paletteColor(bgcolor)({ theme })};\n color: ${({ bgcolor, theme }) => paletteColor(bgcolor, 'contrastText')({ theme })};\n }\n`;\n","/**\n * @author [Vijayaprathap Kumar] (vpkumar@nuskin.com)\n * checkbox.tsx\n * @description\n */\n\nimport React, { PropsWithChildren, ReactElement, useCallback } from 'react';\n\nimport MUICheckbox from '@mui/material/Checkbox';\nimport FormControlLabel from '@mui/material/FormControlLabel';\n\nimport { NsTypography } from '../';\nimport { BpCheckedIcon, BpIcon, StyledFlagLabel, StyledLabel } from './NsCheckbox.styled';\nimport { NsCheckboxProps } from './types.d';\n\nconst NsCheckbox = (props: PropsWithChildren<NsCheckboxProps>): ReactElement => {\n const {\n name,\n label,\n onChange,\n checked,\n ariaLabel = 'nuskin checkbox',\n flag,\n disabled = false,\n size = 'small',\n testid = 'nuskin-checkbox',\n className = '',\n } = props;\n\n const renderCheckbox = useCallback(\n () => (\n <MUICheckbox\n name={name}\n color=\"default\"\n checked={checked}\n onChange={onChange}\n disabled={disabled}\n disableRipple\n checkedIcon={<BpCheckedIcon />}\n icon={<BpIcon />}\n inputProps={\n {\n 'aria-label': ariaLabel,\n 'data-testid': testid,\n } as React.InputHTMLAttributes<HTMLInputElement>\n }\n size={size}\n />\n ),\n [ariaLabel, checked, disabled, name, onChange, size, testid]\n );\n\n const renderCheckboxLabel = useCallback(\n () => (\n <NsTypography variant=\"body-l\">\n <StyledFlagLabel {...flag} size={size} testId={`${name}-flag-label`} />\n <StyledLabel className=\"checkbox-label-text\" isDisabled={disabled}>\n {label}\n </StyledLabel>\n </NsTypography>\n ),\n [disabled, flag, label, name, size]\n );\n\n return <FormControlLabel className={className} control={renderCheckbox()} label={renderCheckboxLabel()} />;\n};\n\nexport default NsCheckbox;\n","/**\n * @author [vijayaprathap Kumar] (vpkumar@nuskin.com)\n * @description Styled Components for Checkbox\n */\nimport DoneIcon from '@mui/icons-material/Done';\n\nimport { styled, ColorUtils } from '@nuskin/foundation-theme';\nimport { NsFlag } from '../flag';\nconst { paletteColor, buttonColor, getGenomeColor } = ColorUtils;\n/**\n * Wrapper BpIcon for checkbox.tsx\n * @params ( theme: { palette }) / Provide the color's to contaier from @nuskin/foundation-theme\n */\n\nexport const BpIcon = styled(DoneIcon)(({ theme }) => ({\n border: '1px solid #8C8C8C',\n path: {\n display: 'none',\n },\n 'input:hover ~ &': {\n border: '1px solid #94D6E9',\n },\n 'input:focus ~ &': {\n outline: '3px solid #94D6E9',\n },\n 'input:disabled ~ &': {\n background: buttonColor('primary', 'hovered')({ theme }),\n },\n}));\n\n/**\n * Wrapper BpCheckedIcon for checkbox.tsx\n * @params ( theme: { palette }) / Provide the color's to container from @nuskin/foundation-theme\n */\n\nexport const BpCheckedIcon = styled(BpIcon)(({ theme }) => ({\n path: {\n display: 'block',\n },\n background: getGenomeColor(theme, 'N100'),\n // background: paletteColor('primary', 'main')({ theme }),\n color: paletteColor('primary', 'contrastText')({ theme }),\n}));\n\nconst getLabelColor = (isDisabled: boolean, color: string) => (!isDisabled ? '' : `color: ${color}`);\n\nexport const StyledLabel = styled('span')<{ isDisabled: boolean }>`\n ${({ isDisabled, theme }) => {\n const color = buttonColor('primary', 'hovered')({ theme });\n return getLabelColor(isDisabled, color);\n }}\n`;\nexport const StyledFlagLabel = styled(NsFlag)`\n margin-right: 16px;\n`;\n","/**\n * @author [vijayaprathap Kumar] (vpkumar@nuskin.com)\n * Flag.styled.tsx\n @description Styled Components for Flag\n */\n\nimport { Theme } from '@mui/material';\nimport { styled, ColorUtils, FoundationTheme } from '@nuskin/foundation-theme';\n\nimport { NsFlagSize } from './types.d';\n\nconst { paletteColor } = ColorUtils;\n\ntype NsFlagThemeParams = {\n $size: NsFlagSize;\n $bgColor?: FoundationTheme.PaletteColors;\n theme?: Theme;\n};\n\n// Scale value used to divide size from props for create tag tail as per Flag width and height;\nconst FLAG_SCALE_VALUE = 2;\n\nconst FlagHeightMap = {\n small: 20,\n medium: 24,\n large: 28,\n};\n\nconst getFlagHeight = ({ $size }: { $size: NsFlagSize }) => {\n return FlagHeightMap[$size];\n};\n\nconst makeFlagSize = ({ $size }: { $size: NsFlagSize }) => {\n const sizeValue = getFlagHeight({ $size });\n return sizeValue / FLAG_SCALE_VALUE;\n};\n\nconst makeFlagBorder = ({ $size, $bgColor = 'accentColorA', theme }: NsFlagThemeParams) => {\n return `${makeFlagSize({ $size })}px solid ${paletteColor($bgColor)({ theme })}`;\n};\n\nexport const StyledFlag = styled('span')<NsFlagThemeParams>`\n min-width: 29px;\n height: ${getFlagHeight}px;\n color: ${({ $bgColor = 'accentColorA', theme }) => paletteColor($bgColor, 'contrastText')({ theme })};\n background: ${({ $bgColor = 'accentColorA', theme }) => paletteColor($bgColor)({ theme })};\n position: relative;\n padding: 0 15px;\n display: inline-grid;\n align-content: space-around;\n :before {\n position: absolute;\n top: 0;\n right: -${makeFlagSize}px;\n content: '';\n width: 0;\n height: 0;\n display: block;\n border-right: ${makeFlagSize}px solid transparent;\n border-top: ${makeFlagBorder};\n }\n :after {\n position: absolute;\n top: 0;\n right: -${makeFlagSize}px;\n content: '';\n width: 0;\n height: ${makeFlagSize}px;\n display: block;\n border-right: ${makeFlagSize}px solid transparent;\n border-bottom: ${makeFlagBorder};\n }\n`;\n","/**\n * @author [Vijayaprathap Kumar] (vpkumar@nuskin.com)\n * flag.tsx\n * @description NsFlag component with a themed background\n */\n\nimport React, { PropsWithChildren, ReactElement } from 'react';\n\nimport { StyledFlag } from './NsFlag.styled';\nimport { NsFlagProps } from './types.d';\n\nconst NsFlag = (props: PropsWithChildren<NsFlagProps>): ReactElement | null => {\n const { className = '', size = 'small', color = 'accentColorA', message, testId = 'ns-flag-component' } = props;\n if (!message) {\n return null;\n }\n return (\n <StyledFlag $size={size} $bgColor={color} data-testid={testId} className={className}>\n {message}\n </StyledFlag>\n );\n};\n\nexport default NsFlag;\n","import { ReactElement, useMemo } from 'react';\n\nimport { Box } from '@mui/material';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { shouldNotForwardPropsWithKeys } from '../util';\nimport { NsColumnControlProps, sizeObjectType } from './types.d';\nimport { getColumnSizes } from './utils';\n\ntype StyledDivProps = {\n sizes: sizeObjectType;\n gap?: number;\n};\n\nconst options = {\n shouldForwardProp: shouldNotForwardPropsWithKeys<StyledDivProps>(['sizes']),\n};\n\nconst descMaxWidthBreakpoints = [960, 600];\n\n/* media queries */\nconst mediaQuery = descMaxWidthBreakpoints.map((bp) => `@media (max-width: ${bp}px)`);\n\nconst StyledDiv = styled(\n Box as any,\n options\n)<StyledDivProps>(({ sizes, gap }: StyledDivProps) => {\n const gridTemplateColumns = sizes['fractions']?.map((e) => `${e}fr`).join(' ');\n const tabletTemplateColumns = sizes['tabletFractions']?.map((e) => `${e}fr`).join(' ');\n const mobileTemplateColumns = sizes['mobileFractions']?.map((e) => `${e}fr`).join(' ');\n return {\n display: 'grid',\n maxWidth: Array.isArray(sizes?.fractions) && sizes.fractions?.length <= 2 ? '1200px' : '2400px',\n margin: '32px auto',\n gap: gap ?? '2rem',\n overflow: 'scroll',\n gridTemplateColumns,\n [mediaQuery[0]]: {\n gridTemplateColumns: tabletTemplateColumns,\n },\n [mediaQuery[1]]: {\n gridTemplateColumns: mobileTemplateColumns,\n },\n };\n});\n\nconst NsColumnControl = ({ columnClass, children, gap, additionalProps }: NsColumnControlProps): ReactElement => {\n const sizes = useMemo(() => {\n return getColumnSizes(columnClass);\n }, [columnClass]);\n\n return (\n <StyledDiv\n sizes={sizes}\n gap={gap}\n data-testid={additionalProps?.testid ?? 'ns-column-control'}\n className={columnClass}\n >\n {children}\n </StyledDiv>\n );\n};\n\nexport default NsColumnControl;\n","import { NsColumnControlProps, sizeObjectType } from './types.d';\n\nexport const columnClasses: NsColumnControlProps['columnClass'][] = [\n 'ns-col-lg-2-1',\n 'ns-col-lg-1-2',\n 'ns-col-lg-1-1',\n 'ns-col-lg-1-1-1',\n 'ns-col-lg-2-1-1',\n 'ns-col-lg-1-1-1-1',\n 'ns-col-md-1',\n 'ns-col-md-1-1',\n 'ns-col-md-1-2',\n 'ns-col-md-2-1',\n 'ns-col-md-1-1-1',\n 'ns-col-md-2-1-1',\n 'ns-col-sm-1',\n 'ns-col-sm-1-1',\n 'ns-col-sm-1-2',\n 'ns-col-sm-2-1',\n];\nconst sizeKeyPrefix = {\n desktop: 'ns-col-lg-',\n tablet: 'ns-col-md-',\n mobile: 'ns-col-sm-',\n} as const;\n\ntype ValueOf<T> = T[keyof T];\n\nconst sizeKeyMap: Record<ValueOf<typeof sizeKeyPrefix>, string> = {\n [sizeKeyPrefix.desktop]: 'fractions',\n [sizeKeyPrefix.tablet]: 'tabletFractions',\n [sizeKeyPrefix.mobile]: 'mobileFractions',\n};\n\n/**\n * getColumnSizes function, we parse the input class and\n * return an object containing optionally containing 3 keys namely [fractions, tabletFractions, mobileFractions]\n * value of each of the key is an array of fractions example ['1','1']\n * meaning that the column should be divided into two fractions each of 1fr\n * @param inputColumnClass = a string that is mix of ns-col-lg-1-1-1 ns-col-md-1-1 ns-col-sm-1 etc\n * @returns {fractions:['1','1','1'], tabletFractions:['1','1'], mobileFractions:['1'] }\n */\nexport const getColumnSizes = (inputColumnClass: string): sizeObjectType => {\n const columnClass = inputColumnClass.trim();\n const validClasses = columnClass\n .split(' ')\n .filter((e) => Object.values(sizeKeyPrefix).some((prefix) => e.startsWith(prefix)));\n const sizeObject: sizeObjectType = validClasses.reduce((acc: any, current: string) => {\n for (const key of Object.values(sizeKeyPrefix)) {\n if (current.startsWith(key)) {\n const interClass = current.replace(key, '');\n const sizes = interClass.split('-').filter((e) => /^[1-9]$/.test(e));\n acc[sizeKeyMap[key]] = sizes;\n break;\n }\n }\n return acc;\n }, {});\n if (Object.keys(sizeObject).length < 1) {\n /* based on string passed as className, no valid size array could be extracted */\n console.warn(\n 'Received invalid className, valid column-control className starts with ' +\n Object.values(sizeKeyPrefix).join(', ')\n );\n }\n return sizeObject;\n};\n","import { ReactElement, useMemo } from 'react';\n\nimport { StyledFlex } from './styled/StyledFlex';\nimport { NsFlexColumnsProps } from './types';\nimport { getColumnSizes } from './utils';\n\nconst NsFlexColumns = ({\n columnClass,\n children,\n gap,\n additionalProps,\n isFullWidth,\n}: NsFlexColumnsProps): ReactElement => {\n const sizes = useMemo(() => {\n return getColumnSizes(columnClass ?? 'ns-col-lg-1-1');\n }, [columnClass]);\n return (\n <StyledFlex\n isFullWidth={isFullWidth || false}\n gap={gap}\n sizes={sizes}\n className=\"ns-flex-columns\"\n data-testid={additionalProps?.testid ?? 'ns-flex-columns'}\n >\n {children}\n </StyledFlex>\n );\n};\nexport default NsFlexColumns;\n","import { Box } from '@mui/material';\nimport { styled } from '@nuskin/foundation-theme';\nimport { sizeObjectType } from '../types';\nimport { commonStyles, getPercentArray } from './common';\nimport { shouldNotForwardPropsWithKeys } from '../../../common/util';\n\ntype StyledFlexProps = {\n sizes: sizeObjectType;\n gap?: number;\n isFullWidth: boolean;\n};\n\nconst options = {\n shouldForwardProp: shouldNotForwardPropsWithKeys<StyledFlexProps>(['sizes']),\n};\n\n/* main wrapper for column control using css flex */\nexport const StyledFlex = styled(\n Box as any,\n options\n)<StyledFlexProps>(({ sizes, gap, isFullWidth }: StyledFlexProps) => {\n const gridGap = gap ? `${gap}px` : '2rem';\n const fraction = getPercentArray(sizes.fractions);\n const flexResponsive = { flexGrow: 1, flexShrink: 1 };\n const maxWidth = isFullWidth ? '100%' : '1200px';\n const style: any = {\n gap: gridGap,\n ...commonStyles,\n maxWidth,\n display: 'flex',\n paddingInline: '20px',\n flexWrap: 'wrap',\n justifyContent: 'center',\n '> *': {\n display: 'flex',\n minWidth: '220px',\n },\n };\n fraction.forEach((f, i) => {\n style[`> :nth-of-type(${fraction.length}n+${i + 1})`] = {\n flexBasis: `calc(${fraction[i]} - ${gridGap})`,\n ...flexResponsive,\n };\n });\n return style;\n});\n","const mobileBreakPoint = '600px';\n\nexport const commonStyles = {\n margin: '32px auto',\n\n [`@media (max-width: ${mobileBreakPoint})`]: {\n display: 'flex',\n flexDirection: 'column',\n flexWrap: 'wrap',\n margin: '2rem 1rem',\n '> * ': {\n flex: '1 1 0 !important',\n },\n },\n};\n/*\n we have kept extra margin by taking 80% instead of 100%, because margins and padding,\n and gaps also take up space, so we should be left with appropriate space\n example:\n ['1','1'] => ['40%','40%']\n ['1','2'] => ['27%','53%']\n */\nexport function getPercentArray(fractionArray?: string[] | number[]): string[] {\n const numbers = fractionArray?.map((numberString) => +numberString)?.filter((num) => 0 < num && num < 10) ?? [];\n const sum = numbers.reduce((currentSum, currentNumber) => currentSum + currentNumber, 0);\n return numbers.map((currentNumber) => ((currentNumber / sum) * 80).toFixed(2) + '%');\n}\n","import { ReactElement, useMemo } from 'react';\n\nimport { StyledGrid } from './styled/StyledGrid';\nimport { NsGridColumnsProps } from './types';\nimport { getColumnSizes } from './utils';\n\nconst NsGridColumns = ({\n columnClass,\n children,\n gap,\n isFullWidth,\n additionalProps,\n}: NsGridColumnsProps): ReactElement => {\n const sizes = useMemo(() => {\n return getColumnSizes(columnClass ?? 'ns-col-lg-1-1');\n }, [columnClass]);\n return (\n <StyledGrid\n isFullWidth={isFullWidth || false}\n gap={gap}\n sizes={sizes}\n className=\"ns-grid-columns\"\n data-testid={additionalProps?.testid ?? 'ns-grid-columns'}\n >\n {children}\n </StyledGrid>\n );\n};\nexport default NsGridColumns;\n","import { Box } from '@mui/material';\nimport { styled } from '@nuskin/foundation-theme';\nimport { sizeObjectType } from '../types';\nimport { commonStyles, getPercentArray } from './common';\nimport { shouldNotForwardPropsWithKeys } from '../../../common/util';\n\ntype StyledGridProps = {\n sizes: sizeObjectType;\n gap?: number;\n isFullWidth: boolean;\n};\nconst options = {\n shouldForwardProp: shouldNotForwardPropsWithKeys<StyledGridProps>(['sizes']),\n};\n\n/* main wrapper for column control using css grid */\nexport const StyledGrid = styled(\n Box as any,\n options\n)<StyledGridProps>(({ sizes, gap, isFullWidth }: StyledGridProps) => {\n const gridGap = gap ?? '2rem';\n const maxWidth = isFullWidth ? '100%' : '1200px';\n return {\n gap: gridGap,\n ...commonStyles,\n maxWidth,\n display: 'grid',\n /* here we are creating gridTemplateColumns as calc(40% - 20px) calc(40% - 20px), */\n gridTemplateColumns: getPercentArray(sizes.fractions)\n ?.map((fractionPercent) => `calc(${fractionPercent} - 20px)`)\n .join(''),\n justifyContent: 'center',\n '> *': {\n minWidth: '220px',\n width: 'auto !important',\n },\n '.span-2': {\n gridColumn: 'span 2',\n },\n } as any;\n});\n","import React, { ReactElement, useCallback, useRef, useState } from 'react';\n\nimport { useOnClickOutside } from '../hooks/useOnClickOutside';\nimport { NsIcon } from '../icon';\nimport {\n DropdownButton,\n DropdownContainer,\n DropdownHead,\n DropdownList,\n DropdownOptionContainer,\n} from './NsDropdown.styled';\nimport { DropdownProps } from './types.d';\n\nconst NsDropdown: React.FC<DropdownProps> = ({\n selectedLabel,\n onSelect,\n children,\n disabled = false,\n type = 'outlined',\n dropdownBorderColor = 'accentColorB',\n closeOnMouseLeave = false,\n className,\n placeholder,\n}): ReactElement => {\n const [isOpen, setIsOpen] = useState(false);\n const dropdownRef = useRef<HTMLDivElement | null>(null);\n\n const handleToggle = useCallback(() => {\n if (disabled) return;\n setIsOpen((x) => !x);\n }, [disabled]);\n\n const handleClose = useCallback(() => {\n setIsOpen(false);\n }, []);\n\n useOnClickOutside(dropdownRef?.current, handleClose);\n\n const handleOnMouseLeave = useCallback(() => {\n if (closeOnMouseLeave) {\n handleClose();\n }\n }, [closeOnMouseLeave, handleClose]);\n\n const handleSelect = (input: string) => {\n onSelect(input);\n setIsOpen(false);\n };\n\n return (\n <DropdownContainer disabled={disabled} ref={dropdownRef} className={className}>\n <DropdownHead\n data-testid=\"dropdown-head\"\n id=\"dropdown-head\"\n disabled={disabled}\n type={type}\n onClick={handleToggle}\n >\n <DropdownButton>{selectedLabel || placeholder}</DropdownButton>\n <NsIcon\n testId=\"chevron-icon\"\n id=\"chevron-icon\"\n name=\"arrowDown\"\n color=\"primary\"\n cursor={disabled ? 'not-allowed' : 'pointer'}\n />\n </DropdownHead>\n {isOpen ? (\n <DropdownList\n data-testid=\"dropdown-list\"\n id=\"dropdown-list\"\n onMouseLeave={handleOnMouseLeave}\n borderColor={dropdownBorderColor}\n >\n {children.map((child, key) => {\n const value = React.isValidElement(child) ? child.props.value : child;\n return (\n <DropdownOptionContainer\n data-testid={`dropdown-option-container-${key}`}\n className=\"dropdown-option-container\"\n key={key}\n onClick={() => handleSelect(value)}\n >\n {child}\n </DropdownOptionContainer>\n );\n })}\n </DropdownList>\n ) : null}\n </DropdownContainer>\n );\n};\n\nexport default NsDropdown;\n","import { styled, ColorUtils, FoundationTheme } from '@nuskin/foundation-theme';\nimport { Themed } from '../common.types';\nconst { color, paletteColor, isDarkMode } = ColorUtils;\n\nexport const DropdownContainer = styled.div<{ disabled: boolean }>`\n position: relative;\n display: inline-block;\n opacity: ${({ disabled }) => (disabled ? '0.5' : '1')};\n cursor: ${({ disabled }) => (disabled ? 'not-allowed' : 'pointer')};\n`;\n\n/** this function also used for SelectHead */\nexport const getDropdownHeadBorder = ({ type, theme }: { type: string } & Themed) => {\n if (type === 'outlined') {\n const borderColor = color('primary', 'black')({ theme });\n return `1px solid ${borderColor}`;\n }\n return 'none';\n};\nexport const DropdownHead = styled.div<{ type: string; disabled: boolean }>`\n cursor: ${({ disabled }) => (disabled ? 'inherit' : 'pointer')};\n padding: 5px 10px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n border: ${getDropdownHeadBorder};\n color: ${paletteColor('primary')};\n`;\n\nexport const DropdownButton = styled.div`\n padding-right: 10px;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n`;\n\nexport const DropdownList = styled.div<{ borderColor: FoundationTheme.PaletteColors }>`\n position: absolute;\n z-index: 999;\n border: 1px solid ${({ borderColor, theme }) => paletteColor(borderColor)({ theme })};\n margin-top: 10px;\n width: 100%;\n color: ${paletteColor('primary', 'main')};\n background-color: ${paletteColor('primary', 'contrastText')};\n`;\n\nconst getListBgColor = (theme: FoundationTheme.Theme) => {\n return color('accentColorB', isDarkMode({ theme }) ? '50' : '10')({ theme });\n};\n\nexport const DropdownOptionContainer = styled.div`\n cursor: pointer;\n &:last-child {\n border-bottom: none;\n }\n`;\n\nexport const ListItem = styled.div`\n &:hover {\n background-color: ${({ theme }) => getListBgColor(theme)};\n }\n &:active {\n background-color: #7de3e8;\n }\n padding: 10px;\n`;\n","import React, { ReactElement } from 'react';\n\nimport { ListItem } from './NsDropdown.styled';\nimport { DropdownOptionProps } from './types.d';\n\nexport const NsDropdownOption: React.FC<DropdownOptionProps> = ({ value, children }): ReactElement => {\n return (\n <ListItem data-testid={`option-${value}`} id=\"dropdown-item\">\n {children}\n </ListItem>\n );\n};\nexport default NsDropdownOption;\n","import React, { ReactElement, useState } from 'react';\n\nimport { NsInputField } from '../input';\nimport { fieldStateType } from '../input/types';\nimport { emailPattern } from '../validations/regex';\nimport { NsEmailSimpleProps } from './types';\n\nconst NsEmailSimple = (props: NsEmailSimpleProps): ReactElement => {\n const {\n disabled,\n label,\n required,\n maxLength,\n invalidEmailMessage,\n dupedEmailMessage,\n requiredErrorMessage,\n checkEmail,\n additionalProps,\n } = props;\n const [fieldState, setFieldState] = useState<fieldStateType>();\n const [errorMsg, setErrorMessage] = useState('');\n\n const handleBlur = async (e: React.FocusEvent<HTMLInputElement>) => {\n const emailInput = e.target.value.toLowerCase().trim();\n let fieldStateValue: fieldStateType;\n let errorMessageValue = '';\n if (required && !emailInput) {\n fieldStateValue = 'error';\n errorMessageValue = requiredErrorMessage;\n } else if (!emailPattern.test(emailInput)) {\n fieldStateValue = 'error';\n errorMessageValue = invalidEmailMessage;\n } else if (typeof checkEmail === 'function') {\n try {\n const [isValid, isAvailable] = await checkEmail();\n if (!isValid) {\n fieldStateValue = 'error';\n errorMessageValue = invalidEmailMessage;\n } else if (!isAvailable) {\n fieldStateValue = 'error';\n errorMessageValue = dupedEmailMessage;\n } else {\n fieldStateValue = undefined;\n errorMessageValue = '';\n }\n } catch (error) {\n console.error('API error', error);\n }\n } else {\n //TODO What happens when user does not pass valid checkEmail function\n }\n setFieldState(fieldStateValue);\n setErrorMessage(errorMessageValue);\n };\n return (\n <NsInputField\n required={required}\n disabled={disabled}\n label={label}\n onBlur={handleBlur}\n inputProps={{ maxLength }}\n additionalProps={{ testid: additionalProps?.testid ?? 'email-field-test' }}\n helperText={errorMsg}\n fieldState={fieldState}\n InputProps={{\n endAdornment: null,\n }}\n />\n );\n};\n\nexport default NsEmailSimple;\n","export const emailPattern =\n /^[\\s]*[A-Za-z0-9!#$%&*+/=?^_`{|}~-]+(?:\\.[A-Za-z0-9!#$%&*+/=?^_`{|}~-]+)*@(?:[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?\\.)+[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?[\\s]*$/;\n","import { useCallback, useEffect, useState } from 'react';\n\ntype ItemMap = Record<string, boolean>;\ntype UseAccordionProp = {\n allowMultipleExpanded?: boolean;\n defaultOpenIds?: string[];\n};\nconst reducer = (map: ItemMap, id: string) => {\n map[id] = true;\n return map;\n};\n\nconst useAccordionMap = ({ allowMultipleExpanded, defaultOpenIds }: UseAccordionProp) => {\n const mapSetter = useCallback(() => {\n let ids = defaultOpenIds;\n if (!allowMultipleExpanded) {\n ids = ids?.slice(0, 1) ?? [];\n }\n return ids?.reduce(reducer, {}) ?? {};\n }, [defaultOpenIds, allowMultipleExpanded]);\n\n const [itemStateMap, setItemMap] = useState<ItemMap>(mapSetter);\n\n const toggleOpen = (index: string | number) => {\n const key = index + '';\n if (allowMultipleExpanded) {\n setItemMap((prevState) => ({ ...prevState, [key]: !prevState[key] }));\n } else {\n setItemMap({ [key]: !itemStateMap[index] });\n }\n };\n\n useEffect(() => {\n setItemMap(mapSetter);\n }, [mapSetter]);\n return { itemStateMap, toggleOpen };\n};\n\nexport default useAccordionMap;\n","import { ReactElement } from 'react';\n\nimport { NsImageProps } from './types';\n\n// eslint-disable-next-line no-unused-vars\nconst NsImage = ({ src, width, height, alt, variant, ...rest }: NsImageProps): ReactElement => {\n let cHeight, cWidth;\n switch (variant) {\n case 'product':\n cHeight = 300;\n cWidth = 300;\n break;\n case 'icon':\n cHeight = 60;\n cWidth = 60;\n break;\n case 'award':\n cHeight = 130;\n cWidth = 130;\n break;\n case 'fill':\n cHeight = 'auto';\n cWidth = '100%';\n break;\n default:\n cHeight = height;\n cWidth = width;\n break;\n }\n // eslint-disable-next-line @next/next/no-img-element\n return <img src={src} alt={alt} height={cHeight} width={cWidth} {...rest} />;\n};\nexport default NsImage;\n","import React, { ReactElement } from 'react';\n\nimport Dialog from '@mui/material/Dialog';\n\nimport { ModalVariantMap } from './model/NsModalVariantMap';\nimport { NsModalProps } from './types';\n\nconst NsModal = (props: NsModalProps): ReactElement => {\n const {\n open,\n handleClose,\n header,\n body,\n additionalProps,\n footer,\n statusInfo,\n variant = 'default',\n fullScreen,\n } = props;\n\n const { className, scrollType = 'paper', ariaLabel } = additionalProps || {};\n\n const { ariaLabelledby = 'alert-dialog-title', ariaDescribedby = 'alert-dialog-description' } = ariaLabel || {};\n\n const Component = ModalVariantMap[variant];\n\n return (\n <Dialog\n data-testid=\"nsmodal-dialog\"\n fullScreen={fullScreen}\n open={open}\n scroll={scrollType}\n onClose={handleClose}\n aria-labelledby={ariaLabelledby}\n aria-describedby={ariaDescribedby}\n className={className}\n >\n <Component {...{ header, handleClose, body, footer, additionalProps, statusInfo, variant, open }} />\n </Dialog>\n );\n};\n\nexport default NsModal;\n","import { ReactElement } from 'react';\n\nimport { DialogContent } from '@mui/material';\n\nimport { Show } from '../../utility';\nimport { ModalFooter } from '../NsModal.styled';\nimport { NsModalComponentProps } from '../types';\nimport NsModalTitle from './NsModalTitle';\n\nconst NsDefaultModal = ({\n header,\n handleClose,\n body,\n footer,\n additionalProps,\n}: NsModalComponentProps): ReactElement => {\n const { dividers } = additionalProps || {};\n\n return (\n <div data-testid=\"modal-default\">\n <NsModalTitle header={header} handleClose={handleClose} />\n <DialogContent dividers={dividers}>\n <Show when={body?.show ?? false}>\n <div data-testid=\"modal-body-content\">{body?.children}</div>\n </Show>\n <Show when={footer?.show ?? false}>\n <ModalFooter data-testid=\"modal-footer\">{footer?.children}</ModalFooter>\n </Show>\n </DialogContent>\n </div>\n );\n};\n\nexport default NsDefaultModal;\n","import { PropsWithChildren, ReactElement } from 'react';\n\ntype ShowType = PropsWithChildren & {\n when?: boolean;\n elseContent?: ReactElement;\n};\nconst Show = ({ when, children, elseContent }: ShowType): ReactElement => {\n if (when) {\n return <>{children}</>;\n }\n return <>{elseContent}</>;\n};\nexport default Show;\n","import { styled } from '@nuskin/foundation-theme';\nimport { NsButton } from '../button';\nimport { DialogActions } from '@mui/material';\n\nexport const NsInfoWrapper = styled.div`\n display: flex;\n .status-icon {\n padding: 16px 0px 0px 24px;\n }\n .title-icon {\n padding-right: 10px;\n }\n`;\n\nexport const CloseButton = styled(NsButton)`\n position: absolute;\n right: 8px;\n top: 8px;\n`;\n\nexport const ModalFooter = styled(DialogActions)`\n display: flex;\n justify-content: space-around;\n padding: 20px 0px 10px 0px;\n button {\n width: 100%;\n }\n`;\n","import { ReactElement } from 'react';\n\nimport { DialogTitle } from '@mui/material';\n\nimport { NsIcon } from '../../';\nimport { Show } from '../../utility';\nimport { CloseButton, NsInfoWrapper } from '../NsModal.styled';\nimport { NsModalComponentProps } from '../types';\n\nconst NsModalTitle = ({ header, handleClose }: NsModalComponentProps): ReactElement => {\n const { show, children, isCloseIcon, iconName } = header || {};\n return (\n <Show when={show}>\n <DialogTitle data-testid=\"modal-title\">\n <NsInfoWrapper>\n {iconName ? <NsIcon name={iconName} className=\"title-icon\" /> : null}\n {children}\n </NsInfoWrapper>\n <Show when={isCloseIcon}>\n <CloseButton aria-label=\"close\" onClick={handleClose} data-testid=\"modal-close-button\">\n <NsIcon name=\"close\" size=\"small\" />\n </CloseButton>\n </Show>\n </DialogTitle>\n </Show>\n );\n};\n\nexport default NsModalTitle;\n","import {\n ReactElement,\n useMemo,\n} from 'react';\n\nimport { DialogContent } from '@mui/material';\n\nimport { NsTypography } from '../../';\nimport { NsModalComponentProps } from '../types';\nimport NsModalTitle from './NsModalTitle';\n\nconst NsModalContentBox = ({ handleClose, statusInfo }: NsModalComponentProps): ReactElement => {\n const { title, description } = statusInfo || {};\n\n const header = useMemo(() => {\n return {\n show: true,\n children: (\n <NsTypography variant=\"h5\" weight=\"bold\">\n {title}\n </NsTypography>\n ),\n isCloseIcon: true,\n };\n }, [title]);\n\n return (\n <div>\n <NsModalTitle header={header} handleClose={handleClose} />\n <DialogContent>\n <NsTypography variant=\"body-xs\">{description}</NsTypography>\n </DialogContent>\n </div>\n );\n};\n\nexport default NsModalContentBox;\n","import { ReactElement } from 'react';\n\nimport { NsIcon, NsIconNameType } from '../../';\nimport { StatusIconMap } from '../model/NsModalVariantMap';\nimport { NsModalComponentProps, NsModalVariant } from '../types';\n\nconst NsModalStatusIcon = ({ variant }: NsModalComponentProps): ReactElement => {\n const iconName = variant ? StatusIconMap[variant] : null;\n return (\n <div className=\"status-icon\">\n <NsIcon name={iconName as NsIconNameType} size=\"medium\" color={variant as NsModalVariant} />\n </div>\n );\n};\n\nexport default NsModalStatusIcon;\n","import React, { ReactElement } from 'react';\n\nimport { NsInfoWrapper } from '../NsModal.styled';\nimport { NsModalComponentProps } from '../types';\nimport NsModalContentBox from './NsModalContentBox';\nimport NsModalStatusIcon from './NsModalStatusIcon';\n\nconst NsStatusModal = ({ handleClose, statusInfo, variant }: NsModalComponentProps): ReactElement => {\n return (\n <NsInfoWrapper data-testid=\"modal-status\">\n <NsModalStatusIcon {...{ variant }} />\n <NsModalContentBox {...{ handleClose, statusInfo }} />\n </NsInfoWrapper>\n );\n};\n\nexport default NsStatusModal;\n","import { ElementType } from 'react';\nimport NsDefaultModal from '../helper-component/NsModalDefault';\nimport NsStatusModal from '../helper-component/NsModalStatus';\nimport { StatusIconMapProps } from '../types';\n\ntype ModalMapType = {\n [key: string]: ElementType;\n};\n\nexport const ModalVariantMap: ModalMapType = {\n default: NsDefaultModal,\n confirmation: NsDefaultModal,\n success: NsStatusModal,\n warning: NsStatusModal,\n error: NsStatusModal,\n info: NsStatusModal,\n};\n\nexport const StatusIconMap: StatusIconMapProps = {\n success: 'success',\n warning: 'warning',\n error: 'error',\n info: 'infoFilled',\n};\n","import { styled } from '@nuskin/foundation-theme';\n\nexport const ProductCardContainer = styled.div`\n display: flex;\n\n img {\n flex: 1 0 0;\n display: block;\n margin-right: 15px;\n max-height: 200px;\n min-height: 100px;\n max-width: 200px;\n min-width: 100px;\n position: unset !important;\n object-fit: contain;\n }\n\n .text-container {\n max-width: 200px;\n min-width: 100px;\n flex: 1 0 0;\n text-align: left;\n }\n`;\n","import React, { ReactElement } from 'react';\n\nimport { NsTypography } from '../';\nimport { BynderMedia } from '../image/BynderMedia';\nimport { ProductCardContainer } from './NsNavProductCard.styled';\nimport { NsNavProductCardProps } from './types.d';\n\nexport const NsNavProductCard = ({\n productImg,\n productDescription,\n productName,\n className = '',\n}: NsNavProductCardProps): ReactElement => {\n return (\n <ProductCardContainer className={className}>\n <BynderMedia imageDetail={productImg} />\n <div className=\"text-container\">\n <NsTypography variant=\"h5\" color=\"primary\" className=\"mt-11 mb-3.5 underline-hover\" weight=\"bold\">\n {productName}\n </NsTypography>\n <NsTypography variant=\"body-s\" color=\"primary\" weight=\"light\">\n {productDescription}\n </NsTypography>\n </div>\n </ProductCardContainer>\n );\n};\n","import React, {\n ReactElement,\n useCallback,\n useState,\n} from 'react';\n\nimport { LayoutGroup } from 'framer-motion';\n\nimport { NavDrawer } from './NavDrawer';\nimport { NavTitles } from './NavTitles';\nimport { NavTabContainer } from './NsNavTab.styled';\nimport { NsNavTabComponentProps } from './types.d';\n\nexport const NsNavTabComponent = ({\n tabs,\n className,\n tabTitleClassName,\n showDrawer = true,\n}: NsNavTabComponentProps): ReactElement => {\n const [active, setActive] = useState<string | null>(null);\n\n const activeTab = tabs?.find((tab) => tab.tabName === active);\n\n const handleLeave = useCallback(() => {\n setActive(null);\n }, []);\n\n return (\n <NavTabContainer data-testid=\"nav-container\" className={`${className} ns-nav-tab-component`}>\n <LayoutGroup>\n <div onMouseLeave={handleLeave} data-testid=\"nav-container-draw\" className=\"p-0 m-0\">\n <NavTitles\n tabTitleClassName={tabTitleClassName}\n tabs={tabs}\n active={active}\n setActive={setActive}\n />\n <NavDrawer active={active} content={activeTab?.tabContent} showDrawer={showDrawer} />\n </div>\n </LayoutGroup>\n </NavTabContainer>\n );\n};\n","import { FoundationTheme, styled, ColorUtils } from '@nuskin/foundation-theme';\nimport { motion } from 'framer-motion';\n\nconst { paletteColor } = ColorUtils;\n\nexport const NavTabContainer = styled.div`\n .shadow {\n box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.15);\n }\n`;\n\nexport const NavTabBox = styled(motion.li)`\n margin: 0px 14px;\n align-items: center;\n white-space: normal;\n text-align: center;\n cursor: pointer;\n list-style: none;\n position: relative;\n min-width: 60px;\n padding: 8px 4px;\n`;\n\nexport const NavTabUnderLine = styled(motion.div)<{ color?: FoundationTheme.PaletteColors }>`\n width: 100%;\n position: absolute;\n height: 3px;\n background-color: ${({ theme, color }) => paletteColor(color)({ theme })};\n`;\n\nexport const NavDrawerStyled = styled.div`\n position: absolute;\n left: 0;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: flex-start;\n z-index: 600;\n width: 100%;\n max-height: 590px;\n\n background-color: ${paletteColor('primary', 'contrastText')};\n box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.15);\n transition: all 0.15s ease-in-out;\n overflow: hidden;\n`;\n\nexport const NavDrawerContainer = styled(motion.div)`\n ::before {\n content: '';\n position: absolute;\n top: -5px;\n width: 100%;\n height: 5px;\n box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.15);\n z-index: 1;\n }\n box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.15);\n background-color: ${paletteColor('primary', 'contrastText')};\n width: 100%;\n text-align: left;\n max-height: 590px;\n overflow: auto;\n .drawer-container {\n max-width: 1024px;\n margin: 0 auto;\n overflow: hidden;\n }\n`;\n\nexport const NavTitlesBox = styled.div`\n display: flex;\n height: 39px;\n`;\n","import { ReactElement, ReactNode } from 'react';\n\nimport { Show } from '../utility';\nimport { NavDrawerContainer, NavDrawerStyled } from './NsNavTab.styled';\n\ntype NavDrawerProps = {\n active: string | null;\n showDrawer: boolean;\n content: ReactNode;\n};\nexport const NavDrawer = ({ active, showDrawer, content }: NavDrawerProps): ReactElement => {\n return (\n <NavDrawerStyled data-testid=\"nav-drawer-container\" className=\"nav-drawer\">\n <Show when={Boolean(active) && showDrawer}>\n <NavDrawerContainer\n data-testid=\"nav-drawer\"\n initial={{\n height: 0,\n }}\n animate={{\n height: 'auto',\n }}\n exit={{\n height: 0,\n }}\n transition={{\n duration: 0.3,\n }}\n >\n <div className=\"drawer-container\">{content}</div>\n </NavDrawerContainer>\n </Show>\n </NavDrawerStyled>\n );\n};\n","import { ReactElement } from 'react';\n\nimport { NavTabs, NsLink, NsTypography } from '../';\nimport { Show } from '../utility';\nimport { NavTabBox, NavTabUnderLine, NavTitlesBox } from './NsNavTab.styled';\n\ntype NavTitlesProps = {\n tabs: NavTabs[];\n setActive(_x: string): void;\n active: string | null;\n tabTitleClassName?: string;\n};\n\nexport const NavTitles = ({ tabs, setActive, active, tabTitleClassName }: NavTitlesProps): ReactElement => {\n const NavTitleTypography = (tab: NavTabs) => (\n <NsTypography\n variant={tab.textVariant}\n additionalProps={{ ...tab?.liveTag }}\n className={`${tabTitleClassName} ${!active ? 'opacity-8' : ''}`}\n color={tab.tabName === active ? tab.activeColor : tab.color}\n noSpacing\n >\n {tab.tabName}\n </NsTypography>\n );\n\n return (\n <NavTitlesBox className=\"desktop-nav-titles\">\n {tabs?.map((tab) => {\n const handleMouseEnter = () => {\n setActive(tab.tabName);\n };\n return (\n <div\n key={tab?.tabName}\n data-testid={tab?.tabName}\n className=\"relative cursor-pointer\"\n onMouseEnter={handleMouseEnter}\n >\n <NavTabBox\n className=\"nav-tab-box\"\n data-testid={tab.tabName + '-list'}\n transition={{\n duration: 0.3,\n }}\n animate\n >\n {tab?.tabLink ? (\n <NavTitleTypography {...tab}>\n <NsLink href={tab.tabLink} underlineOnHover={false} />\n </NavTitleTypography>\n ) : (\n <NavTitleTypography {...tab} />\n )}\n </NavTabBox>\n <Show when={active === tab.tabName}>\n <NavTabUnderLine data-testid=\"underline\" layoutId=\"underline\" color={tab.activeColor} />\n </Show>\n </div>\n );\n })}\n </NavTitlesBox>\n );\n};\n","import { styled, ColorUtils } from '@nuskin/foundation-theme';\nimport { LinearProgress } from '@mui/material';\nimport CheckCircleIcon from '@mui/icons-material/CheckCircle';\nimport { NsProgressProps } from './types';\nimport { NsTypography } from '../typography';\n\nconst { color, paletteColor } = ColorUtils;\nexport const StyledCheckCircle = styled(CheckCircleIcon)`\n color: ${color('neutral', '50')};\n padding-top: 0.6em;\n padding-right: 0.5em;\n justify-self: flex-end;\n`;\n\nexport const ProgressInfo = styled(NsTypography)`\n display: flex;\n justify-content: flex-end;\n font-weight: 700;\n text-transform: uppercase;\n`;\n\nexport const StyledLinearProgress = styled(LinearProgress)<Omit<NsProgressProps, 'value'>>(\n ({ height, backgroundColor, barColor, theme }) => ({\n width: '334px',\n height,\n backgroundColor: paletteColor(backgroundColor)({ theme }),\n borderRadius: '8px',\n display: 'inline-block',\n\n '.MuiLinearProgress-bar': {\n backgroundColor: paletteColor(barColor)({ theme }),\n },\n })\n);\nexport const StyledProgress = styled('div')`\n display: grid;\n grid-template-rows: 30px 30px;\n .progress-info {\n justify-content: flex-end;\n display: flex;\n align-items: center;\n }\n .progress-bar {\n display: flex;\n align-items: center;\n .MuiSvgIcon-root {\n padding: 0;\n margin: 0;\n height: 100%;\n position: relative;\n left: -4px;\n scale: 1.3\n }\n }\n`;\n\n","import React, { ReactElement } from 'react';\n\nimport { ProgressInfo, StyledCheckCircle, StyledLinearProgress, StyledProgress } from './NsProgress.styled';\nimport { NsProgressProps } from './types';\n\nconst NsProgress = (props: NsProgressProps): ReactElement => {\n const { barColor, backgroundColor, height, value, body } = props;\n return (\n <StyledProgress className=\"ns-progress\">\n <ProgressInfo variant=\"body-xs\" className=\"progress-info\">\n {value}\n <span>{body ?? ' % Complete'}</span>\n </ProgressInfo>\n <div className=\"progress-bar\">\n <StyledLinearProgress\n variant=\"determinate\"\n role=\"progressbar\"\n value={value}\n height={height}\n barColor={barColor}\n backgroundColor={backgroundColor}\n />\n <StyledCheckCircle />\n </div>\n </StyledProgress>\n );\n};\n\nexport default NsProgress;\n","import { ReactElement } from 'react';\n\nimport { FormControl } from '@mui/material';\n\nimport { NsLabel } from '../label';\nimport {\n StyledFormControlLabel,\n StyledHelperText,\n StyledRadio,\n StyledRadioGroup,\n StyledSpan,\n} from './NsRadioGroup.styled';\nimport { NsRadioGroupProps } from './types';\n\nconst NsRadioGroup = (props: NsRadioGroupProps): ReactElement => {\n const {\n items,\n helperText,\n label,\n onChange,\n color,\n disable,\n size,\n additionalProps,\n labelFontSize,\n darkModeEnabled = true,\n row,\n } = props;\n\n return (\n <>\n <FormControl data-testid={additionalProps?.testid}>\n <NsLabel size={labelFontSize as any}>{label}</NsLabel>\n <StyledRadioGroup\n row={row}\n aria-labelledby=\"radio-buttons-group-label\"\n defaultValue={items?.[0]?.value}\n name=\"radio-buttons-group\"\n onChange={onChange}\n color={color}\n darkModeEnabled={darkModeEnabled}\n >\n {items?.map((item, index) => (\n <StyledFormControlLabel\n id={`${index} `}\n key={item?.id}\n value={item?.value}\n control={<StyledRadio className=\"custom-radio\" />}\n label={item?.label}\n disabled={disable}\n darkModeEnabled={darkModeEnabled}\n />\n ))}\n </StyledRadioGroup>\n </FormControl>\n {helperText ? (\n <StyledHelperText className={`ml-${size}`}>\n <StyledSpan className=\"text-sm\">{helperText}</StyledSpan>\n </StyledHelperText>\n ) : null}\n </>\n );\n};\n\nexport default NsRadioGroup;\n","import { Radio, FormControlLabel, FormLabel, RadioGroup } from '@mui/material';\nimport { ColorUtils, FoundationTheme, styled } from '@nuskin/foundation-theme';\n\nconst { paletteColor, isDarkMode, color } = ColorUtils;\n\nexport const StyledHelperText = styled('div')`\n margin-top :10px;\n padding-left: 0.5em;\n text-align: left;\n justify-self: flex-start;\n)`;\n\nexport const StyledSpan = styled('span')`\n font-size: '16px';\n font-weight: 300;\n color: ${paletteColor('primary')};\n`;\n\nexport const StyledLabel = styled(FormLabel)`\n color: ${paletteColor('primary')},\n marginBottom: '15px',\n backgroundColor: 'transparent',\n`;\n\nexport const StyledRadio = styled(Radio)`\n color: ${(props) => color('primary', !isDarkMode(props) ? 'black' : 'white')(props)};\n`;\n\nexport const StyledFormControlLabel = styled(FormControlLabel)<{ darkModeEnabled?: boolean }>((props) => {\n return {\n color: paletteColor('primary')(props),\n marginBottom: '10px',\n '.MuiFormControlLabel-label.Mui-disabled': {\n color: `${color('neutral', !isDarkMode(props) ? 60 : 20)(props)}`,\n },\n };\n});\n\ntype StyledRadioPropsType = {\n color: FoundationTheme.PaletteColors;\n darkModeEnabled?: boolean;\n};\n\nexport const StyledRadioGroup = styled(RadioGroup)<StyledRadioPropsType>(({ theme, color, darkModeEnabled }) => {\n return {\n marginTop: '10px',\n '.MuiRadio-root.custom-radio.Mui-checked': {\n color: paletteColor(color)({ theme, darkModeEnabled }),\n },\n };\n});\n","import React, {\n MouseEvent,\n ReactElement,\n useCallback,\n useMemo,\n useRef,\n useState,\n} from 'react';\n\nimport { useOnClickOutside } from '../hooks/useOnClickOutside';\nimport { NsIcon } from '../icon';\nimport { Show } from '../utility';\nimport {\n arrowVisibility,\n factorMap,\n} from './constant';\nimport { DefaultRenderOption } from './DefaultRenderOption';\nimport {\n ErrorContainer,\n SelectButton,\n SelectContainer,\n SelectHead,\n SelectLabel,\n SelectList,\n SelectMain,\n StyledArrowContainer,\n} from './NsSelect.styled';\nimport {\n LabelValueType,\n SelectProps,\n} from './types.d';\n\nconst NsSelect: React.FC<SelectProps> = ({\n selected,\n onSelect,\n disabled = false,\n type = 'outlined',\n placeholder = '',\n selectBorderColor = 'accentColorB',\n closeOnMouseLeave = false,\n showListDivider = true,\n label,\n readOnly = false,\n errorMessage,\n hasArrows,\n // eslint-disable-next-line no-unused-vars\n rules,\n reverseArrowControls,\n RenderOption = DefaultRenderOption,\n options,\n}): ReactElement => {\n const [isOpen, setIsOpen] = useState(false);\n const optionIndex = useMemo(() => {\n if (typeof selected?.index === 'number') return selected.index;\n return options.findIndex((option) => option.value === selected.value);\n }, [options, selected]);\n const [value, setValue] = useState<LabelValueType>({ ...selected, index: optionIndex });\n const selectContainerRef = useRef<HTMLDivElement>(null);\n const selectHeadRef = useRef<HTMLDivElement>(null);\n\n const closeMenuOnMouseLeave = useCallback(() => {\n if (closeOnMouseLeave) {\n setIsOpen(false);\n }\n }, [closeOnMouseLeave]);\n\n const handleSelect = (val: LabelValueType) => {\n onSelect(val);\n setIsOpen(false);\n setValue(val);\n };\n const closeMenu = useCallback(() => {\n setIsOpen(false);\n }, []);\n useOnClickOutside(selectContainerRef.current, closeMenu);\n\n const handleMouseClick = () => {\n if (disabled) return;\n setIsOpen(!isOpen);\n if (!isOpen) {\n setTimeout(() => {\n selectHeadRef.current?.focus();\n }, 0);\n }\n };\n const handleArrowClick = (event: MouseEvent) => {\n const direction = event.currentTarget?.className.includes('Right') ? 'right' : 'left';\n const adder = factorMap[reverseArrowControls ? 'reverse' : 'forward'][direction];\n const nextIndex = (selected?.index ?? -1) + adder;\n if (nextIndex > -1 && nextIndex < options.length) {\n handleSelect({ ...options[nextIndex], index: nextIndex });\n }\n };\n return (\n <SelectMain>\n {hasArrows && (\n <StyledArrowContainer\n onClick={handleArrowClick}\n className=\"LeftArrow\"\n style={{\n visibility: arrowVisibility(options.length, 'left', reverseArrowControls, value?.index),\n }}\n >\n <NsIcon name=\"arrowLeft\" color=\"primary\" />\n </StyledArrowContainer>\n )}\n <SelectContainer\n data-testid=\"select-container\"\n disabled={disabled || readOnly}\n ref={selectContainerRef}\n errorMessage={errorMessage}\n >\n {label && <SelectLabel errorMessage={errorMessage}>{label}</SelectLabel>}\n <SelectHead\n data-testid=\"select-head\"\n disabled={disabled || readOnly}\n type={type}\n onMouseDown={handleMouseClick}\n tabIndex={0}\n ref={selectHeadRef}\n >\n <SelectButton>{value?.label || placeholder}</SelectButton>\n {!readOnly && <NsIcon name={isOpen ? 'arrowUp' : 'arrowDown'} color=\"primary\" />}\n </SelectHead>\n <Show when={isOpen}>\n <SelectList\n data-testid=\"select-menu-list\"\n onMouseLeave={closeMenuOnMouseLeave}\n borderColor={selectBorderColor}\n className=\"selectList\"\n >\n {options.map((opt, optionIndex) => {\n return (\n <RenderOption\n key={opt.value}\n value={opt.value}\n label={opt.label}\n index={optionIndex}\n onClick={() =>\n handleSelect({ label: opt.label, value: opt.value, index: optionIndex })\n }\n selected={value}\n showListDivider={showListDivider}\n />\n );\n })}\n </SelectList>\n </Show>\n {errorMessage && <ErrorContainer>{errorMessage}</ErrorContainer>}\n </SelectContainer>\n {hasArrows && (\n <StyledArrowContainer\n onClick={handleArrowClick}\n className=\"RightArrow\"\n style={{\n visibility: arrowVisibility(options.length, 'right', reverseArrowControls, selected?.index),\n }}\n >\n <NsIcon name=\"arrowRight\" color=\"primary\" />\n </StyledArrowContainer>\n )}\n </SelectMain>\n );\n};\n\nexport default NsSelect;\n","export const factorMap: any = {\n reverse: {\n right: -1,\n left: 1,\n },\n forward: {\n right: 1,\n left: -1,\n },\n};\n\nexport const arrowVisibility = (\n total: number,\n direction: 'left' | 'right',\n reverse: boolean = false,\n currentIndex: number | undefined = -1\n) => {\n if (direction === 'left') {\n if (!reverse) {\n return currentIndex < 1 ? 'hidden' : 'visible';\n } else {\n return currentIndex >= total - 1 ? 'hidden' : 'visible';\n }\n }\n if (!reverse) {\n return currentIndex >= total - 1 ? 'hidden' : 'visible';\n } else {\n return currentIndex < 1 ? 'hidden' : 'visible';\n }\n};\n","import { ColorUtils, FoundationTheme, styled } from '@nuskin/foundation-theme';\nimport { HTMLAttributes } from 'react';\n\nimport { getDropdownHeadBorder } from '../dropdown/NsDropdown.styled';\n\nconst { paletteColor, themeColor } = ColorUtils;\n\ninterface SelectLabelProps extends HTMLAttributes<HTMLLabelElement> {\n errorMessage?: string;\n}\n\nexport const SelectContainer = styled.div<{ disabled: boolean; errorMessage?: string }>`\n position: relative;\n display: inline-block;\n opacity: ${({ disabled }) => (disabled ? '0.5' : '1')};\n color: ${({ theme, errorMessage }) =>\n errorMessage ? paletteColor('error')({ theme }) : paletteColor('primary')({ theme })};\n`;\nexport const SelectMain = styled.div`\n position: relative;\n display: flex;\n`;\n\nexport const ErrorContainer = styled.div`\n color: ${paletteColor('error')};\n`;\n\nexport const SelectHead = styled.div<{ type: string; disabled: boolean }>`\n cursor: ${({ disabled }) => (disabled ? 'inherit' : 'pointer')};\n padding: 5px 10px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n border: ${getDropdownHeadBorder};\n background: ${paletteColor('primary', 'contrastText')};\n color: ${paletteColor('primary')};\n width: 207px;\n position: relative;\n z-index: 2;\n`;\n\nexport const SelectButton = styled.div`\n padding-right: 10px;\n`;\n\nexport const StyledArrowContainer = styled.div`\n display: flex;\n align-items: center;\n padding-top: 30px;\n`;\n\nexport const SelectList = styled.div<{ borderColor: FoundationTheme.PaletteColors }>`\n position: absolute;\n z-index: 100;\n border: 1px solid ${({ borderColor, theme }) => paletteColor(borderColor)({ theme })};\n padding: 0;\n margin: 0;\n width: -webkit-fill-available;\n color: ${paletteColor('primary', 'main')};\n background-color: ${paletteColor('primary', 'contrastText')};\n max-height: 200px;\n overflow-y: auto;\n`;\n\nexport const SelectLabel = styled.label<SelectLabelProps>`\n display: block;\n margin-bottom: 5px;\n color: ${({ theme, errorMessage }) =>\n errorMessage ? paletteColor('error')({ theme }) : paletteColor('primary')({ theme })};\n}\n`;\ntype StyledSelectOptionType = { showListDivider: boolean };\nexport const StyledSelectOption = styled('div')<StyledSelectOptionType>(({ showListDivider, theme }) => {\n const dividerColor = themeColor(\n { colorType: 'neutral', variant: '30' },\n { colorType: 'neutral', variant: '20' }\n )({ theme });\n const borderBottom = showListDivider ? dividerColor : 'none';\n const hoveredBg = themeColor(\n { colorType: 'accentColorB', variant: '20' },\n { colorType: 'accentColorB', variant: '40' }\n )({ theme });\n\n return {\n cursor: 'pointer',\n borderBottom: `1px solid ${borderBottom}`,\n backgroundColor: 'white',\n color: 'black',\n padding: '5px 10px',\n '&.selected-option': {\n backgroundColor: paletteColor('accentColorA')({ theme }),\n color: 'white',\n },\n '&:hover': {\n color: 'white',\n backgroundColor: hoveredBg,\n },\n '&:last-child': {\n borderBottom: 'none',\n },\n };\n});\n","import React, { ReactElement } from 'react';\n\nimport { StyledSelectOption } from './NsSelect.styled';\nimport { SelectOptionProps } from './types.d';\n\nexport const NsSelectOption: React.FC<SelectOptionProps> = ({\n value,\n label,\n onClick,\n selected,\n showListDivider = true,\n}): ReactElement => {\n const isSelected = value === selected?.value;\n return (\n <StyledSelectOption\n className={isSelected ? 'selected-option' : ''}\n data-testid={`option-${value}`}\n showListDivider={showListDivider}\n onClick={onClick}\n >\n {label}\n </StyledSelectOption>\n );\n};\nexport default NsSelectOption;\n\n","import { ReactElement } from 'react';\n\nimport NsSelectOption from './NsSelectOption';\nimport { RenderSelectOptionArgType } from './types';\n\nexport const DefaultRenderOption = (props: RenderSelectOptionArgType): ReactElement => {\n return <NsSelectOption {...props} key={props?.value} onClick={props.onClick} index={props.index ?? 0} />;\n};\n","import { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';\n\nconst SpinnerIcon = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon\n id=\"ns-spinner-1\"\n viewBox=\"0 0 304 304\"\n shapeRendering=\"geometricPrecision\"\n textRendering=\"geometricPrecision\"\n {...props}\n >\n <g id=\"ns-spinner-2\">\n <g id=\"ns-spinner-3\" transform=\"matrix(1 0 0 1 -34 -34)\">\n <circle\n id=\"ns-spinner-4\"\n r=\"146.500000\"\n transform=\"matrix(0.26045430858251 0.75641493450408 -0.75641493450408 0.26045430858251 185.99999999964032 186.00000000212532)\"\n fill=\"none\"\n fillRule=\"evenodd\"\n stroke=\"rgb(247,247,247)\"\n strokeWidth=\"10\"\n strokeLinecap=\"round\"\n />\n </g>\n </g>\n <g\n id=\"ns-spinner-5\"\n transform=\"matrix(0.56568542494924 0.56568542494924 -0.56568542494924 0.56568542494924 37.61439805970794 61.68043135401598)\"\n >\n <g id=\"ns-spinner-6\" transform=\"matrix(1 0 0 1 -53 -239)\">\n <g id=\"ns-spinner-7_tr\" transform=\"translate(232.873721,220.430229) rotate(71.000016)\">\n <path\n id=\"ns-spinner-7\"\n d=\"M207.214206,353.714206C243.362404,353.714206,276.452762,340.622041,302.002226,318.920768C333.639565,292.048559,353.714206,251.975724,353.714206,207.214206C353.714206,126.304490,288.123922,60.714206,207.214206,60.714206C126.304490,60.714206,60.714206,126.304490,60.714206,207.214206C60.714206,237.178438,69.710103,265.041566,85.148469,288.250162C111.396930,327.709644,156.268722,353.714206,207.214206,353.714206Z\"\n transform=\"scale(1,1) translate(-207.214206,-207.214206)\"\n opacity=\"0\"\n fill=\"none\"\n fillRule=\"evenodd\"\n stroke=\"rgb(249,0,156)\"\n strokeWidth=\"30\"\n strokeLinecap=\"round\"\n strokeDasharray=\"200 1000\"\n />\n </g>\n <g id=\"ns-spinner-8_tr\" transform=\"translate(232.873721,220.430229) rotate(71.000016)\">\n <path\n id=\"ns-spinner-8\"\n d=\"M207.214206,353.714206C243.362404,353.714206,276.452762,340.622041,302.002226,318.920768C333.639565,292.048559,353.714206,251.975724,353.714206,207.214206C353.714206,126.304490,288.123922,60.714206,207.214206,60.714206C126.304490,60.714206,60.714206,126.304490,60.714206,207.214206C60.714206,237.178438,69.710103,265.041566,85.148469,288.250162C111.396930,327.709644,156.268722,353.714206,207.214206,353.714206Z\"\n transform=\"scale(1,1) translate(-207.214206,-207.214206)\"\n opacity=\"0\"\n fill=\"none\"\n fillRule=\"evenodd\"\n stroke=\"rgb(78,0,160)\"\n strokeWidth=\"30\"\n strokeLinecap=\"round\"\n strokeDasharray=\"200 1000\"\n />\n </g>\n <g id=\"ns-spinner-9_tr\" transform=\"translate(232.873721,220.430229) rotate(71.000016)\">\n <path\n id=\"ns-spinner-9\"\n d=\"M207.214206,353.714206C243.362404,353.714206,276.452762,340.622041,302.002226,318.920768C333.639565,292.048559,353.714206,251.975724,353.714206,207.214206C353.714206,126.304490,288.123922,60.714206,207.214206,60.714206C126.304490,60.714206,60.714206,126.304490,60.714206,207.214206C60.714206,237.178438,69.710103,265.041566,85.148469,288.250162C111.396930,327.709644,156.268722,353.714206,207.214206,353.714206Z\"\n transform=\"scale(1,1) translate(-207.214206,-207.214206)\"\n opacity=\"0\"\n fill=\"none\"\n fillRule=\"evenodd\"\n stroke=\"rgb(255,215,0)\"\n strokeWidth=\"30\"\n strokeLinecap=\"round\"\n strokeDasharray=\"200 1000\"\n />\n </g>\n <g id=\"ns-spinner-10_tr\" transform=\"translate(232.873721,220.430229) rotate(71.000016)\">\n <path\n id=\"ns-spinner-10\"\n d=\"M207.214206,353.714206C243.362404,353.714206,276.452762,340.622041,302.002226,318.920768C333.639565,292.048559,353.714206,251.975724,353.714206,207.214206C353.714206,126.304490,288.123922,60.714206,207.214206,60.714206C126.304490,60.714206,60.714206,126.304490,60.714206,207.214206C60.714206,237.178438,69.710103,265.041566,85.148469,288.250162C111.396930,327.709644,156.268722,353.714206,207.214206,353.714206Z\"\n transform=\"scale(1,1) translate(-207.214206,-207.214206)\"\n opacity=\"0\"\n fill=\"none\"\n fillRule=\"evenodd\"\n stroke=\"rgb(190,217,0)\"\n strokeWidth=\"30\"\n strokeLinecap=\"round\"\n strokeDasharray=\"200 1000\"\n />\n </g>\n <g id=\"ns-spinner-11_tr\" transform=\"translate(232.873721,220.430229) rotate(71.000016)\">\n <path\n id=\"ns-spinner-11\"\n d=\"M207.214206,353.714206C243.362404,353.714206,276.452762,340.622041,302.002226,318.920768C333.639565,292.048559,353.714206,251.975724,353.714206,207.214206C353.714206,126.304490,288.123922,60.714206,207.214206,60.714206C126.304490,60.714206,60.714206,126.304490,60.714206,207.214206C60.714206,237.178438,69.710103,265.041566,85.148469,288.250162C111.396930,327.709644,156.268722,353.714206,207.214206,353.714206Z\"\n transform=\"scale(1,1) translate(-207.214206,-207.214206)\"\n opacity=\"0\"\n fill=\"none\"\n fillRule=\"evenodd\"\n stroke=\"rgb(190,217,0)\"\n strokeWidth=\"30\"\n strokeLinecap=\"round\"\n strokeDasharray=\"200 1000\"\n />\n </g>\n <g id=\"ns-spinner-12_tr\" transform=\"translate(232.873721,220.430229) rotate(71.000016)\">\n <path\n id=\"ns-spinner-12\"\n d=\"M207.214206,353.714206C243.362404,353.714206,276.452762,340.622041,302.002226,318.920768C333.639565,292.048559,353.714206,251.975724,353.714206,207.214206C353.714206,126.304490,288.123922,60.714206,207.214206,60.714206C126.304490,60.714206,60.714206,126.304490,60.714206,207.214206C60.714206,237.178438,69.710103,265.041566,85.148469,288.250162C111.396930,327.709644,156.268722,353.714206,207.214206,353.714206Z\"\n transform=\"scale(1,1) translate(-207.214206,-207.214206)\"\n opacity=\"0\"\n fill=\"none\"\n fillRule=\"evenodd\"\n stroke=\"rgb(249,0,156)\"\n strokeWidth=\"30\"\n strokeLinecap=\"round\"\n strokeDasharray=\"200 1000\"\n />\n </g>\n <g id=\"ns-spinner-13_tr\" transform=\"translate(232.873721,220.430229) rotate(71.000016)\">\n <path\n id=\"ns-spinner-13\"\n d=\"M207.214206,353.714206C243.362404,353.714206,276.452762,340.622041,302.002226,318.920768C333.639565,292.048559,353.714206,251.975724,353.714206,207.214206C353.714206,126.304490,288.123922,60.714206,207.214206,60.714206C126.304490,60.714206,60.714206,126.304490,60.714206,207.214206C60.714206,237.178438,69.710103,265.041566,85.148469,288.250162C111.396930,327.709644,156.268722,353.714206,207.214206,353.714206Z\"\n transform=\"scale(1,1) translate(-207.214206,-207.214206)\"\n fill=\"none\"\n fillRule=\"evenodd\"\n stroke=\"rgb(255,215,0)\"\n strokeWidth=\"30\"\n strokeLinecap=\"round\"\n strokeDasharray=\"200 1000\"\n />\n </g>\n <g id=\"ns-spinner-14_tr\" transform=\"translate(232.873721,220.430229) rotate(71.000016)\">\n <path\n id=\"ns-spinner-14\"\n d=\"M207.214206,353.714206C243.362404,353.714206,276.452762,340.622041,302.002226,318.920768C333.639565,292.048559,353.714206,251.975724,353.714206,207.214206C353.714206,126.304490,288.123922,60.714206,207.214206,60.714206C126.304490,60.714206,60.714206,126.304490,60.714206,207.214206C60.714206,237.178438,69.710103,265.041566,85.148469,288.250162C111.396930,327.709644,156.268722,353.714206,207.214206,353.714206Z\"\n transform=\"scale(1,1) translate(-207.214206,-207.214206)\"\n fill=\"none\"\n fillRule=\"evenodd\"\n stroke=\"rgb(255,78,0)\"\n strokeWidth=\"30\"\n strokeLinecap=\"round\"\n strokeDasharray=\"200 1000\"\n />\n </g>\n <g id=\"ns-spinner-15_tr\" transform=\"translate(232.873721,220.430229) rotate(71.000016)\">\n <path\n id=\"ns-spinner-15\"\n d=\"M207.214206,353.714206C243.362404,353.714206,276.452762,340.622041,302.002226,318.920768C333.639565,292.048559,353.714206,251.975724,353.714206,207.214206C353.714206,126.304490,288.123922,60.714206,207.214206,60.714206C126.304490,60.714206,60.714206,126.304490,60.714206,207.214206C60.714206,237.178438,69.710103,265.041566,85.148469,288.250162C111.396930,327.709644,156.268722,353.714206,207.214206,353.714206Z\"\n transform=\"scale(1,1) translate(-207.214206,-207.214206)\"\n fill=\"none\"\n fillRule=\"evenodd\"\n stroke=\"rgb(0,183,231)\"\n strokeWidth=\"30\"\n strokeLinecap=\"round\"\n strokeDasharray=\"200 1000\"\n />\n </g>\n </g>\n </g>\n </SvgIcon>\n );\n};\n\nexport default SpinnerIcon;\n","import { styled } from '@nuskin/foundation-theme';\n\nexport const SpinnerContainer = styled.div<{ size: number }>`\n width: ${(prop) => prop.size}px;\n height: ${(prop) => prop.size}px;\n svg {\n width: ${(prop) => prop.size}px;\n height: ${(prop) => prop.size}px;\n }\n #ns-spinner-7_tr {\n animation: ns-spinner-7_tr__tr 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-7_tr__tr {\n 0% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n }\n 80% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n animation-timing-function: cubic-bezier(0.495, 0.49, 0.82, 0.11);\n }\n 100% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n }\n }\n #ns-spinner-7 {\n animation: ns-spinner-7_c_o 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-7_c_o {\n 0% {\n opacity: 0;\n }\n 77.500000% {\n opacity: 0;\n }\n 80% {\n opacity: 1;\n }\n 97.500000% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n }\n #ns-spinner-8_tr {\n animation: ns-spinner-8_tr__tr 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-8_tr__tr {\n 0% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n }\n 77.500000% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n animation-timing-function: cubic-bezier(0.1, 0.365, 0.82, 0.11);\n }\n 100% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n }\n }\n #ns-spinner-8 {\n animation: ns-spinner-8_c_o 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-8_c_o {\n 0% {\n opacity: 0;\n }\n 75% {\n opacity: 0;\n }\n 77.500000% {\n opacity: 1;\n }\n 97.500000% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n }\n #ns-spinner-9_tr {\n animation: ns-spinner-9_tr__tr 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-9_tr__tr {\n 0% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n }\n 30% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n animation-timing-function: cubic-bezier(0.5, 0.495, 0.82, 0.11);\n }\n 50% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n }\n 100% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n }\n }\n #ns-spinner-9 {\n animation: ns-spinner-9_c_o 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-9_c_o {\n 0% {\n opacity: 0;\n }\n 25% {\n opacity: 0;\n }\n 27.500000% {\n opacity: 1;\n }\n 47.500000% {\n opacity: 1;\n }\n 50% {\n opacity: 0;\n }\n 100% {\n opacity: 0;\n }\n }\n #ns-spinner-10_tr {\n animation: ns-spinner-10_tr__tr 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-10_tr__tr {\n 0% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n }\n 27.500000% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n animation-timing-function: cubic-bezier(0.1, 0.365, 0.82, 0.11);\n }\n 50% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n }\n 100% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n }\n }\n #ns-spinner-10 {\n animation: ns-spinner-10_c_o 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-10_c_o {\n 0% {\n opacity: 0;\n }\n 25% {\n opacity: 0;\n }\n 27.500000% {\n opacity: 1;\n }\n 47.500000% {\n opacity: 1;\n }\n 50% {\n opacity: 0;\n }\n 100% {\n opacity: 0;\n }\n }\n #ns-spinner-11_tr {\n animation: ns-spinner-11_tr__tr 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-11_tr__tr {\n 0% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n }\n 55% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n animation-timing-function: cubic-bezier(0.495, 0.49, 0.82, 0.11);\n }\n 75% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n }\n 100% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n }\n }\n #ns-spinner-11 {\n animation: ns-spinner-11_c_o 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-11_c_o {\n 0% {\n opacity: 0;\n }\n 52.500000% {\n opacity: 0;\n }\n 55% {\n opacity: 1;\n }\n 72.500000% {\n opacity: 1;\n }\n 75% {\n opacity: 0;\n }\n 100% {\n opacity: 0;\n }\n }\n #ns-spinner-12_tr {\n animation: ns-spinner-12_tr__tr 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-12_tr__tr {\n 0% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n }\n 52.500000% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n animation-timing-function: cubic-bezier(0.1, 0.365, 0.82, 0.11);\n }\n 75% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n }\n 100% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n }\n }\n #ns-spinner-12 {\n animation: ns-spinner-12_c_o 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-12_c_o {\n 0% {\n opacity: 0;\n }\n 50% {\n opacity: 0;\n }\n 52.500000% {\n opacity: 1;\n }\n 72.500000% {\n opacity: 1;\n }\n 75% {\n opacity: 0;\n }\n 100% {\n opacity: 0;\n }\n }\n #ns-spinner-13_tr {\n animation: ns-spinner-13_tr__tr 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-13_tr__tr {\n 0% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n }\n 5% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n animation-timing-function: cubic-bezier(0.495, 0.49, 0.82, 0.11);\n }\n 25% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n }\n 100% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n }\n }\n #ns-spinner-13 {\n animation: ns-spinner-13_c_o 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-13_c_o {\n 0% {\n opacity: 1;\n }\n 5% {\n opacity: 1;\n }\n 25% {\n opacity: 1;\n }\n 27.500000% {\n opacity: 0;\n }\n 100% {\n opacity: 0;\n }\n }\n #ns-spinner-14_tr {\n animation: ns-spinner-14_tr__tr 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-14_tr__tr {\n 0% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n }\n 2.500000% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n animation-timing-function: cubic-bezier(0.1, 0.365, 0.82, 0.11);\n }\n 25% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n }\n 100% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n }\n }\n #ns-spinner-14 {\n animation: ns-spinner-14_c_o 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-14_c_o {\n 0% {\n opacity: 1;\n }\n 2.500000% {\n opacity: 1;\n }\n 25% {\n opacity: 1;\n }\n 27.500000% {\n opacity: 0;\n }\n 100% {\n opacity: 0;\n }\n }\n #ns-spinner-15_tr {\n animation: ns-spinner-15_tr__tr 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-15_tr__tr {\n 0% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n animation-timing-function: cubic-bezier(0, 0.25, 0.795, 0.345);\n }\n 25% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n animation-timing-function: cubic-bezier(0, 0.25, 0.795, 0.345);\n }\n 50% {\n transform: translate(232.873721px, 220.430229px) rotate(791deg);\n animation-timing-function: cubic-bezier(0, 0.25, 0.795, 0.345);\n }\n 75% {\n transform: translate(232.873721px, 220.430229px) rotate(1151deg);\n animation-timing-function: cubic-bezier(0, 0.25, 0.795, 0.345);\n }\n 100% {\n transform: translate(232.873721px, 220.430229px) rotate(1511deg);\n }\n }\n`;\n","import React, { ReactElement } from 'react';\n\nimport SpinnerIcon from './icons/Spinner';\nimport { SpinnerContainer } from './NsSpinner.styled';\nimport { NsSpinnerProps } from './types';\n\nconst NsSpinner: React.FC<NsSpinnerProps> = ({ size = 100, additionalProps }): ReactElement => {\n return (\n <SpinnerContainer size={size} className=\"spinner\" {...additionalProps}>\n <SpinnerIcon />\n </SpinnerContainer>\n );\n};\n\nexport default NsSpinner;\n","import React, {\n ReactElement,\n useEffect,\n useState,\n} from 'react';\n\nimport {\n TableBody,\n TableCell,\n TableRow,\n} from '@mui/material';\nimport Grid from '@mui/material/Grid';\n\nimport {\n getComparator,\n stableSort,\n} from './helper';\nimport ExpandableRow from './NsExpandableRow';\nimport {\n StyledEmptyRow,\n StyledLinearProgress,\n StyledProgressCell,\n StyledTable,\n StyledTableContainer,\n} from './NsTable.styled';\nimport NsTableHeader from './NsTableHeader';\nimport NsTablePagination from './NsTablePagination';\nimport type {\n Item,\n NsTableProps,\n OrderType,\n} from './types';\n\nexport default function NsTable({\n headers = [],\n items = [],\n rows,\n rowsPerPageOptions,\n itemKey,\n expandableContent,\n actionClick,\n showActions = true,\n showExpandedContent = true,\n loading = false,\n isExpandableAll = false,\n}: NsTableProps): ReactElement {\n const [order, setOrder] = useState<OrderType>('asc');\n const [orderBy, setOrderBy] = useState<keyof Item>(itemKey);\n const [expandMap, setExpandMap] = useState<{ [key: number]: boolean }>({});\n const [page, setPage] = useState(0);\n const [rowsPerPage, setRowsPerPage] = useState(rows);\n const itemKeyList = React.useMemo(() => {\n return items.length ? Object.keys(items[0]) : [];\n }, [items]);\n\n useEffect(() => {\n setRowsPerPage(rows);\n setPage(0);\n }, [rows]);\n\n const handleRequestSort = (event: React.MouseEvent<unknown>, property: keyof Item) => {\n const isAsc = orderBy === property && order === 'asc';\n setOrder(isAsc ? 'desc' : 'asc');\n setOrderBy(property);\n };\n\n const handleClick = (index: number) => {\n if (isExpandableAll) {\n setExpandMap((prevState) => ({ ...prevState, [index]: !prevState[index] }));\n } else {\n setExpandMap({ [index]: !expandMap[index] });\n }\n };\n\n const handleChangePage = (newPage: number) => {\n setPage(newPage - 1);\n };\n\n const emptyRows = getEmptyRows();\n\n const visibleRows = React.useMemo(\n () =>\n stableSort(items, getComparator(order, orderBy)).slice(\n page * rowsPerPage,\n page * rowsPerPage + rowsPerPage\n ),\n [order, orderBy, page, rowsPerPage, items]\n );\n\n return (\n <div>\n <StyledTableContainer>\n <StyledTable>\n <NsTableHeader\n headCells={headers}\n order={order}\n orderBy={orderBy as string}\n onRequestSort={handleRequestSort}\n rowCount={items.length}\n />\n <TableBody>\n {loading ? (\n <TableRow>\n <StyledProgressCell colSpan={itemKeyList.length}>\n <Grid container>\n <Grid item xs={12}>\n <StyledLinearProgress />\n </Grid>\n </Grid>\n </StyledProgressCell>\n </TableRow>\n ) : null}\n {visibleRows.map((row, index) => {\n return (\n <ExpandableRow\n key={index}\n expandableContent={expandableContent}\n isExpand={expandMap[index]}\n handleClick={handleClick}\n row={row}\n index={index}\n itemKeyList={itemKeyList}\n actionClick={actionClick}\n showActions={showActions}\n showExpandedContent={showExpandedContent}\n />\n );\n })}\n {emptyRows > 0 ? (\n <StyledEmptyRow emptyRows={emptyRows}>\n <TableCell colSpan={itemKeyList.length} />\n </StyledEmptyRow>\n ) : null}\n </TableBody>\n </StyledTable>\n </StyledTableContainer>\n <NsTablePagination\n rowsPerPageOptions={rowsPerPageOptions}\n count={items.length}\n rowsPerPage={rowsPerPage}\n page={page + 1}\n onPageChange={handleChangePage}\n />\n </div>\n );\n\n function getEmptyRows() {\n return page > 0 ? Math.max(0, (1 + page) * rowsPerPage - items.length) : 0;\n }\n}\n","/* eslint-disable no-unused-vars */\nimport type { OrderType } from './types.d';\n\nexport function descendingComparator<T>(a: T, b: T, orderBy: keyof T) {\n if (b[orderBy] < a[orderBy]) {\n return -1;\n }\n if (b[orderBy] > a[orderBy]) {\n return 1;\n }\n return 0;\n}\n\nexport function getComparator<Key extends keyof any>(\n order: OrderType,\n orderBy: Key\n): (a: { [key in Key]: number | string }, b: { [key in Key]: number | string }) => number {\n return order === 'desc'\n ? (a, b) => descendingComparator(a, b, orderBy)\n : (a, b) => -descendingComparator(a, b, orderBy);\n}\n\nexport function stableSort<T>(array: readonly T[], comparator: (a: T, b: T) => number) {\n const stabilizedThis = array.map((el, index) => [el, index] as [T, number]);\n stabilizedThis.sort((a, b) => {\n const order = comparator(a[0], b[0]);\n if (order !== 0) {\n return order;\n }\n return a[1] - b[1];\n });\n return stabilizedThis.map((el) => el[0]);\n}\n","import React, { ReactElement } from 'react';\n\nimport { TableRow } from '@mui/material';\nimport Box from '@mui/material/Box';\nimport Collapse from '@mui/material/Collapse';\n\nimport {\n StyledExpandCell,\n StyledOriginalTableCell,\n StyledTableLastCell,\n StyledTableRow,\n} from './NsTable.styled';\nimport type { NsTableRowProps } from './types';\n\nexport default function ExpandableRow({\n expandableContent,\n isExpand,\n handleClick,\n row,\n itemKeyList,\n index,\n showActions,\n showExpandedContent,\n actionClick,\n}: NsTableRowProps): ReactElement {\n const tableRowTestId = `table-row-${index}`;\n\n return (\n <React.Fragment>\n <StyledTableRow\n hover\n onClick={() => handleClick(index)}\n tabIndex={-1}\n key={index}\n className=\"cursor-pointer\"\n data-testid={tableRowTestId}\n >\n {itemKeyList.map((id, i) => {\n return i === itemKeyList.length - 1 && showActions ? (\n <StyledTableLastCell align=\"justify\" key={id}>\n <span>{row[id]}</span>\n <span className=\"action\">{actionClick(row)}</span>\n </StyledTableLastCell>\n ) : (\n <StyledOriginalTableCell align=\"left\" key={id}>\n {row[id]}\n </StyledOriginalTableCell>\n );\n })}\n </StyledTableRow>\n {showExpandedContent ? (\n <TableRow>\n <StyledExpandCell colSpan={itemKeyList.length} className={!isExpand ? 'remove' : ''}>\n <Collapse in={isExpand} unmountOnExit>\n <Box className=\"m-px\">{expandableContent(row, index)}</Box>\n </Collapse>\n </StyledExpandCell>\n </TableRow>\n ) : null}\n </React.Fragment>\n );\n}\n","// TODO: const ariel = #f8e9f8;\n\nimport { styled, ColorUtils } from '@nuskin/foundation-theme';\n\nimport { \n Table,\n TableContainer,\n TableSortLabel,\n TableRow,\n TableCell\n} from '@mui/material';\nimport Pagination from '@mui/material/Pagination';\nimport LinearProgress from '@mui/material/LinearProgress';\n\nconst { color } = ColorUtils;\n\nexport const StyledTableContainer= styled(TableContainer)`\n background-color: ${color('primary', 'white')};\n`;\n\nexport const StyledTable = styled(Table)`\n size: medium;\n`;\n\nexport const StyledTableSortLabel = styled(TableSortLabel)`\n font-size: 12px;\n text-transform: uppercase;\n font-weight: 600;\n line-height: 16px;\n letter-spacing: 0.05em;\n color: rgba(0, 0, 0, 0.54);\n &:hover {\n color: ${color('primary', 'black')};\n }\n`;\n\nexport const StyledTableLabel = styled.span`\n font-size: 12px;\n text-transform: uppercase;\n font-weight: 700;\n line-height: 16px;\n letter-spacing: 0.05em;\n color: rgba(0, 0, 0, 0.54);\n &:hover {\n cursor: default;\n }\n`;\n\nexport const StyledPageComponent = styled.div`\n background-color: ${color('primary', 'white')};\n`;\n\nexport const StyledEmptyRow = styled(TableRow)<{emptyRows: number}>`\n height: ${({ emptyRows }) => 48 * emptyRows}px;\n`;\n\n// [Todo-Arun] - Move f8e9f8 to custom color palette\nexport const StyledTableRow = styled(TableRow)`\n &:hover {\n background-color: #f8e9f8 !important;\n }\n`;\n\nexport const StyledTableLastCell = styled(TableCell)`\n display: flex;\n height: 49px;\n align-items: center;\n padding: 0 24px;\n margin-bottom: -0.5px;\n\n .action {\n margin-left: auto;\n }\n`;\n\nexport const StyledOriginalTableCell = styled(TableCell)`\n height: 48px;\n padding: 0 24px;\n`;\n\nexport const StyledPagination = styled(Pagination)`\n .MuiPagination-ul {\n display: flex;\n justify-content: flex-end;\n background-color: ${color('primary', 'white')};\n }\n & .MuiPaginationItem-previousNext {\n margin: 0.3rem 10px;\n width: 2rem;\n height: 2rem;\n border-radius: 4px;\n }\n & .MuiPaginationItem-page {\n border-radius: 0px;\n width: auto;\n min-width: 34px;\n padding: 0 5px;\n font-size: 16px;\n line-height: 17px;\n border-color: ${color('primary', 'black')};\n }\n & .MuiPaginationItem-root.Mui-selected {\n background-color: ${color('primary', 'black')};\n color: ${color('primary', 'white')};\n }\n`;\n\nexport const StyledExpandCell= styled(TableCell)`\n padding-bottom: 0;\n padding-top: 0;\n &.remove {\n border: 0;\n }\n`;\n\nexport const StyledProgressCell = styled(TableCell)`\n padding: 0;\n border: 0;\n`;\n\nexport const StyledLinearProgress = styled(LinearProgress)`\n && {\n width: 100%;\n height: 7px;\n border-radius: 4px;\n }\n`;\n","import React, { ReactElement } from 'react';\n\nimport {\n Box,\n TableCell,\n TableHead,\n TableRow,\n} from '@mui/material';\nimport { visuallyHidden } from '@mui/utils';\n\nimport {\n StyledTableLabel,\n StyledTableSortLabel,\n} from './NsTable.styled';\nimport type {\n Item,\n NsTableHeaderProps,\n} from './types';\n\nexport default function NsTableHeader(props: NsTableHeaderProps): ReactElement {\n const { order, orderBy, headCells, onRequestSort } = props;\n const createSortHandler = (property: keyof Item) => (event: React.MouseEvent<unknown>) => {\n onRequestSort(event, property);\n };\n\n return (\n <TableHead>\n <TableRow>\n {headCells.map((headCell) =>\n headCell.sortable ? (\n <TableCell key={headCell.id} sortDirection={orderBy === headCell.id ? order : false}>\n <StyledTableSortLabel\n active={orderBy === headCell.id}\n direction={orderBy === headCell.id ? order : 'asc'}\n onClick={createSortHandler(headCell.id)}\n >\n {headCell.label}\n {orderBy === headCell.id ? (\n <Box component=\"span\" sx={visuallyHidden}>\n {order === 'desc' ? 'sorted descending' : 'sorted ascending'}\n </Box>\n ) : null}\n </StyledTableSortLabel>\n </TableCell>\n ) : (\n <TableCell key={headCell.id} sortDirection={false}>\n <StyledTableLabel>{headCell.label}</StyledTableLabel>\n </TableCell>\n )\n )}\n </TableRow>\n </TableHead>\n );\n}\n","import React, { ReactElement } from 'react';\n\nimport { StyledPagination } from './NsTable.styled';\nimport type { NsTablePaginationProps } from './types';\n\nexport default function NsTablePagination(props: NsTablePaginationProps): ReactElement {\n const { count, rowsPerPage, page, onPageChange } = props;\n\n const totalPage = Math.ceil(count / rowsPerPage);\n const handleChange = (event: React.ChangeEvent<unknown>, value: number) => {\n onPageChange(value);\n };\n\n return (\n <StyledPagination\n count={totalPage}\n page={page}\n variant=\"outlined\"\n onChange={handleChange}\n shape=\"rounded\"\n color=\"primary\"\n />\n );\n}\n","/**\n * NsTextStrip.tsx\n * @description NsTextStrip component for scrolling text CTA\n */\n\nimport React, { ReactElement } from 'react';\n\nimport {\n ColorUtils,\n styled,\n} from '@nuskin/foundation-theme';\n\nimport { NsLink } from '../link';\nimport { NsTypography } from '../typography';\nimport { NsTextStripProps } from './types.d';\n\nconst { getGenomeColor } = ColorUtils;\n\nconst StyledHeader = styled(NsLink)`\n background: ${({ theme }) => getGenomeColor(theme, 'N20')};\n min-height: 60px;\n padding: 4px 12px;\n a {\n text-decoration: underline;\n font-weight: 600;\n }\n .text-strip-title {\n max-width: 90%;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n .text-strip-description {\n max-width: 90%;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n`;\n\nconst NsTextStrip = (props: NsTextStripProps): ReactElement => {\n const { alignment = 'center', description, link, className = '' } = props;\n\n return (\n <StyledHeader\n href={link?.href ?? ''}\n className={`${className} items-${alignment} justify-center min-h-16 flex flex-col gap-1`}\n >\n {link?.title ? (\n <NsTypography weight=\"bold\" variant=\"label-m\" className=\"text-strip-title whitespace-nowrap\" noSpacing>\n {link.title}\n </NsTypography>\n ) : null}\n {description ? (\n <NsTypography className=\"text-strip-description whitespace-nowrap\" variant=\"body-m\" noSpacing>\n {description}\n </NsTypography>\n ) : null}\n </StyledHeader>\n );\n};\n\nexport default NsTextStrip;\n","import type { PropsWithChildren, ReactElement } from 'react';\n\nimport { MaterialDesignContent, SnackbarProvider, SnackbarProviderProps } from 'notistack';\n\nimport { ColorUtils, ScreenSize, styled } from '@nuskin/foundation-theme';\n\nconst { getGenomeColor } = ColorUtils;\n\nconst ToastNotification = styled(MaterialDesignContent)`\n width: 610px;\n height: 46px;\n box-shadow: none;\n padding: 0 20px;\n\n .toast-message-wrapper {\n width: 440px;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n\n @media (max-width: ${ScreenSize.md}px) {\n width: 343px;\n\n .toast-message-wrapper {\n width: 190px;\n }\n }\n\n #notistack-snackbar svg {\n font-size: 24px !important;\n }\n &.notistack-MuiContent-success {\n background-color: ${({ theme }) => getGenomeColor(theme, 'Success-10')};\n border: 1px solid ${({ theme }) => getGenomeColor(theme, 'Success-30')};\n color: ${({ theme }) => getGenomeColor(theme, 'Success-80')};\n\n svg g {\n stroke: ${({ theme }) => getGenomeColor(theme, 'Success-80')};\n }\n }\n &.notistack-MuiContent-error {\n background-color: ${({ theme }) => getGenomeColor(theme, 'Error-10')};\n border: 1px solid ${({ theme }) => getGenomeColor(theme, 'Error-50')};\n color: ${({ theme }) => getGenomeColor(theme, 'Error-60')};\n\n svg g {\n stroke: ${({ theme }) => getGenomeColor(theme, 'Error-60')};\n }\n }\n &.notistack-MuiContent-warning {\n background-color: ${({ theme }) => getGenomeColor(theme, 'Warning-10')};\n border: 1px solid ${({ theme }) => getGenomeColor(theme, 'Warning-40')};\n color: ${({ theme }) => getGenomeColor(theme, 'Warning-80')};\n\n svg g {\n stroke: ${({ theme }) => getGenomeColor(theme, 'Warning-80')};\n }\n }\n &.notistack-MuiContent-info {\n background-color: ${({ theme }) => getGenomeColor(theme, 'Info-10')};\n border: 1px solid ${({ theme }) => getGenomeColor(theme, 'Info-40')};\n color: ${({ theme }) => getGenomeColor(theme, 'Info-60')};\n\n svg g {\n stroke: ${({ theme }) => getGenomeColor(theme, 'Info-60')};\n }\n }\n`;\n\nconst NsToastProvider = (props: PropsWithChildren<SnackbarProviderProps>): ReactElement => {\n const { children, autoHideDuration = 5000 } = props;\n return (\n <SnackbarProvider\n autoHideDuration={autoHideDuration}\n Components={{\n success: ToastNotification,\n error: ToastNotification,\n info: ToastNotification,\n warning: ToastNotification,\n }}\n >\n {children}\n </SnackbarProvider>\n );\n};\n\nexport default NsToastProvider;\n","import { JSX } from 'react';\nimport { closeSnackbar, enqueueSnackbar, VariantType } from 'notistack';\nimport Fade from './Fade';\nimport NsIcon from '../icon/NsIcon';\nimport NsButton from '../button/NsButton';\n\ntype ToastActionLink = {\n label: string;\n onClick?: () => void;\n};\n\nexport type ToastOptions = {\n className?: string;\n autoHideDuration?: number | null;\n persist?: boolean;\n showCloseIcon?: boolean;\n actions?: ToastActionLink[];\n}\n\n\nconst useToast = () => {\n const closeToast = (toastId?: string) => {\n closeSnackbar(toastId);\n };\n const generateActionButtons = (showCloseIcon: boolean = false, variant: VariantType = 'success', actions?: ToastActionLink[]) => {\n let actionButtons: JSX.Element[] = [];\n if (actions?.length) {\n actionButtons = actions.map((action) => (\n <NsButton data-testid=\"action-button\" variant=\"text\" color={variant as any} key={action?.label} onClick={() => action.onClick?.()}>\n {action.label}\n </NsButton>\n ));\n }\n if (showCloseIcon) {\n actionButtons.push (\n <NsButton variant=\"text\" onClick={() => closeToast()}>\n <NsIcon name=\"close\" size=\"small\" cursor=\"pointer\" />\n </NsButton>\n );\n }\n return actionButtons?.length ? actionButtons : null;\n };\n const showToast = (variant: VariantType = 'default', message?: string, options?: ToastOptions) => {\n\n try {\n return enqueueSnackbar(<div className='toast-message-wrapper'>{message}</div>, {\n variant,\n ...options,\n anchorOrigin: { horizontal: 'center', vertical: 'bottom' },\n preventDuplicate: true,\n TransitionComponent: Fade,\n action: generateActionButtons(options?.showCloseIcon, variant, options?.actions),\n });\n } catch (err) {\n console.error('CFT::UI:COMPONENTS showToast should be used inside NsToastProvider');\n } \n };\n \n return {\n showToast,\n closeToast\n };\n};\n\nexport default useToast;","/**\n * Credit to MUI team @ https://mui.com\n */\nimport * as React from 'react';\n\nimport { Transition, TransitionProps, TransitionStatus } from 'notistack';\n\nimport { createTransition, getTransitionProps, reflow, useForkRef } from './shared';\n\nconst styles: Partial<Record<TransitionStatus, React.CSSProperties>> = {\n entering: {\n opacity: 1,\n },\n entered: {\n opacity: 1,\n },\n};\n\nconst Fade = React.forwardRef<HTMLDivElement, TransitionProps>((props, ref): React.ReactElement => {\n const {\n children,\n in: inProp,\n timeout = 0,\n style,\n onEnter,\n onEntered,\n onExit,\n onExited,\n direction, // Take this out since this is a Slide-only prop\n ...other\n } = props;\n\n const nodeRef = React.useRef<HTMLDivElement>(null);\n const handleRefIntermediary = useForkRef((children as any).ref, ref);\n const handleRef = useForkRef(nodeRef, handleRefIntermediary);\n\n const handleEnter: TransitionProps['onEnter'] = (node, isAppearing) => {\n reflow(node);\n\n const transitionProps = getTransitionProps({\n style,\n timeout,\n mode: 'enter',\n });\n node.style.webkitTransition = createTransition('opacity', transitionProps);\n node.style.transition = createTransition('opacity', transitionProps);\n\n if (onEnter) {\n onEnter(node, isAppearing);\n }\n };\n\n const handleExit: TransitionProps['onExit'] = (node) => {\n const transitionProps = getTransitionProps({\n style,\n timeout,\n mode: 'exit',\n });\n node.style.webkitTransition = createTransition('opacity', transitionProps);\n node.style.transition = createTransition('opacity', transitionProps);\n\n if (onExit) {\n onExit(node);\n }\n };\n\n return (\n <Transition\n appear\n in={inProp}\n nodeRef={nodeRef}\n onEnter={handleEnter}\n onEntered={onEntered}\n onExit={handleExit}\n onExited={onExited}\n timeout={timeout}\n {...other}\n >\n {(status, childProps) =>\n React.cloneElement(children as any, {\n style: {\n opacity: 0,\n visibility: status === 'exited' && !inProp ? 'hidden' : undefined,\n ...styles[status],\n ...style,\n ...(children as any).props.style,\n },\n ref: handleRef,\n ...childProps,\n })\n }\n </Transition>\n );\n});\n\nFade.displayName = 'Fade';\n\nexport default Fade;\n","import { TransitionDuration } from 'notistack';\nimport React from 'react';\n\n/**\n * passes {value} to {ref}\n *\n * Useful if you want to expose the ref of an inner component to the public API\n * while still using it inside the component.\n * @param ref A ref callback or ref object. If anything falsy, this is a no-op.\n */\nfunction setRef<T>(\n ref:\n | React.MutableRefObject<T | null>\n | ((instance: T | null) => void)\n | null\n | undefined,\n value: T | null\n): void {\n if (typeof ref === 'function') {\n ref(value);\n } else if (ref) {\n ref.current = value;\n }\n}\n\nexport function useForkRef<Instance>(\n refA: React.Ref<Instance> | null | undefined,\n refB: React.Ref<Instance> | null | undefined\n): React.Ref<Instance> | null {\n /**\n * This will create a new function if the ref props change and are defined.\n * This means react will call the old forkRef with `null` and the new forkRef\n * with the ref. Cleanup naturally emerges from this behavior.\n */\n return React.useMemo(() => {\n if (refA == null && refB == null) {\n return null;\n }\n return (refValue) => {\n setRef(refA, refValue);\n setRef(refB, refValue);\n };\n }, [refA, refB]);\n}\n\ninterface ComponentProps {\n style?: React.CSSProperties | undefined;\n /**\n * number: e.g. 400\n * TransitionDuration: e.g. { enter: 200, exit: 400 }\n */\n timeout: number | TransitionDuration;\n mode: 'enter' | 'exit';\n}\n\ninterface TransitionPropsReturnType {\n duration: number;\n easing: string | undefined;\n delay: string | undefined;\n}\n\nexport function getTransitionProps(\n props: ComponentProps\n): TransitionPropsReturnType {\n const { timeout, style = {}, mode } = props;\n return {\n duration: typeof timeout === 'object' ? timeout[mode] || 0 : timeout,\n easing: style.transitionTimingFunction,\n delay: style.transitionDelay,\n };\n}\n\n/**\n * CSS hack to force a repaint\n */\nexport const reflow = (node: Element): void => {\n // We have to do something with node.scrollTop.\n // Otherwise it's removed from the compiled code by optimisers\n // eslint-disable-next-line no-self-assign\n node.scrollTop = node.scrollTop;\n};\n\ninterface CreateTransitionOptions {\n duration: number;\n easing?: string;\n delay?: string | number;\n}\n\nconst defaultEasing = {\n // This is the most common easing curve.\n easeInOut: 'cubic-bezier(0.4, 0, 0.2, 1)',\n // Objects enter the screen at full velocity from off-screen and\n // slowly decelerate to a resting point.\n easeOut: 'cubic-bezier(0.0, 0, 0.2, 1)',\n // Objects leave the screen at full velocity. They do not decelerate when off-screen.\n easeIn: 'cubic-bezier(0.4, 0, 1, 1)',\n // The sharp curve is used by objects that may return to the screen at any time.\n sharp: 'cubic-bezier(0.4, 0, 0.6, 1)',\n};\n\nconst formatMs = (milliseconds: number) => `${Math.round(milliseconds)}ms`;\n\nexport function createTransition(\n props: string | string[] = ['all'],\n options?: CreateTransitionOptions\n): string {\n const {\n duration = 300,\n easing = defaultEasing.easeInOut,\n delay = 0,\n } = options || {};\n\n const properties = Array.isArray(props) ? props : [props];\n\n return properties\n .map((animatedProp) => {\n const formattedDuration =\n typeof duration === 'string' ? duration : formatMs(duration);\n const formattedDelay =\n typeof delay === 'string' ? delay : formatMs(delay);\n return `${animatedProp} ${formattedDuration} ${easing} ${formattedDelay}`;\n })\n .join(',');\n}\n","/**\n * @author [Vijayaprathap Kumar] (vpkumar@nuskin.com)\n * NsVideo.tsx\n * @description NsVideo component with a Iframe video url props\n */\n\nimport { PropsWithChildren, ReactElement } from 'react';\n\nimport { NsVideoProps } from './types.d';\n\nconst NsVideo = (props: PropsWithChildren<NsVideoProps>): ReactElement => {\n const { src, title, width, height, allowFullScreen } = props;\n return (\n <iframe\n title={title}\n src={src}\n width={width}\n height={height}\n allowFullScreen={allowFullScreen}\n style={{ border: '0' }}\n />\n );\n};\n\nexport default NsVideo;\n"]}
|
|
1
|
+
{"version":3,"sources":["../src/common/accordion/NsCollapse.tsx","../src/common/accordion/colorMap.ts","../src/common/accordion/enums.ts","../src/common/accordion/NsAccordionHeader.tsx","../src/common/icon/icons/ArrowDown.tsx","../src/common/icon/icons/ArrowUp.tsx","../src/common/icon/icons/ArrowLeft.tsx","../src/common/icon/icons/ArrowRight.tsx","../src/common/icon/icons/Cart.tsx","../src/common/icon/icons/CartBadge.tsx","../src/common/icon/icons/InfoFilled.tsx","../src/common/icon/icons/InfoOutlined.tsx","../src/common/icon/icons/CheckShield.tsx","../src/common/icon/icons/CheckVerified.tsx","../src/common/icon/icons/SuccessIcon.tsx","../src/common/icon/icons/ErrorIcon.tsx","../src/common/icon/icons/TrashIcon.tsx","../src/common/icon/icons/SearchIcon.tsx","../src/common/icon/icons/SlashIcon.tsx","../src/common/icon/icons/home.tsx","../src/common/icon/icons/AlertErrorIcon.tsx","../src/common/icon/icons/WarningIcon.tsx","../src/common/icon/icons/CloseIcon.tsx","../src/common/icon/icons/UserIcon.tsx","../src/common/icon/icons/HamburgerIcon.tsx","../src/common/icon/icons/UserOutline.tsx","../src/common/icon/icons/Check.tsx","../src/common/icon/icons/RoundedClose.tsx","../src/common/icon/icons/ChevronRight.tsx","../src/common/icon/NsIconVariants.ts","../src/common/accordion/NsToggleSection.tsx","../src/common/accordion/ToggleSection.styled.tsx","../src/common/accordion/NsAccordionItem.tsx","../src/common/accordion/NsAccordion.tsx","../src/common/alert/NsAlert.tsx","../src/common/hooks/useWindowSize.tsx","../src/common/icon/NsIcon.tsx","../src/common/icon/NsIcon.styled.tsx","../src/common/typography/HtmlTagVariantMap.tsx","../src/common/typography/Typography.styled.tsx","../src/common/typography/NsTypography.tsx","../src/common/typography/GlobalFontInter.tsx","../src/common/alert/Header.tsx","../src/common/alert/NsAlert.styled.tsx","../src/common/auth-dropdown/NsAuthDropdown.tsx","../src/common/hooks/useOnClickOutside.tsx","../src/common/auth-dropdown/NsAuthDropdown.styled.ts","../src/common/autocomplete/NsAutocomplete.tsx","../src/common/autocomplete/helper/LineLoader.tsx","../src/common/autocomplete/helper/RecentClearAll.tsx","../src/common/autocomplete/helper/renderGroupName.tsx","../src/common/autocomplete/helper/SeeMoreButton.tsx","../src/common/autocomplete/NsAutocomplete.styled.tsx","../src/common/input/NsInputField.tsx","../src/common/label/NsLabel.tsx","../src/common/input/getAdornmentProps.tsx","../src/common/input/InputFieldWrapper.tsx","../src/common/input/InputWrapper.tsx","../src/common/image/bynder-util.ts","../src/common/image/BynderMedia.tsx","../src/common/banner/NsBanner.styled.tsx","../src/common/banner/NsBanner.tsx","../src/common/brand-components/NsBrandComponent.tsx","../src/common/brand-components/icons/NSLogoHorizontal.tsx","../src/common/brand-components/icons/NSLogoMark.tsx","../src/common/brand-components/icons/NSLogoPoweredBy.tsx","../src/common/brand-components/icons/NSLogoStacked.tsx","../src/common/brand-components/icons/NSWordMark.tsx","../src/common/brand-components/NsBrandContainer.styled.tsx","../src/common/breadcrumb/NsBreadcrumb.tsx","../src/common/breadcrumb/NsBreadcrumb.styled.tsx","../src/common/link/NsLink.styled.tsx","../src/common/link/NsLink.tsx","../src/common/button/NsButton.tsx","../src/common/button/NsButton.styled.tsx","../src/common/button/helper.ts","../src/common/card/NsBrandWrapper.tsx","../src/common/card/NsBgCard.tsx","../src/common/util.ts","../src/common/card/NsBrandLogo.tsx","../src/common/card/NsHeroCardLevel1.tsx","../src/common/card/CardButton.tsx","../src/common/card/NsHeroCardLevel2.tsx","../src/common/card/NsPost.tsx","../src/common/card/NsBrandCard.tsx","../src/common/card/cardSizes.ts","../src/common/card/NsIconText.tsx","../src/common/card/NsCheckoutCard.tsx","../src/common/card/NsSmallFullCard.tsx","../src/common/card/NsXLargeCard.tsx","../src/common/card/NsLargeCard.tsx","../src/common/card/NsMediumCard.tsx","../src/common/card/NsAwardCard.tsx","../src/common/carousal/NsCarousal.tsx","../src/common/carousal/CarousalControl.tsx","../src/common/carousal/IconWrapper.tsx","../src/common/carousal/slickSetting.ts","../src/common/carousal/NsScrollingCarousal.tsx","../src/common/cart-icon/NsCartIcon.tsx","../src/common/cart-icon/NsCartIcon.styled.tsx","../src/common/checkbox/NsCheckbox.tsx","../src/common/checkbox/NsCheckbox.styled.tsx","../src/common/flag/NsFlag.styled.tsx","../src/common/flag/NsFlag.tsx","../src/common/column-control/NsColumnControl.tsx","../src/common/column-control/utils.ts","../src/common/column-control/NsFlexColumns.tsx","../src/common/column-control/styled/StyledFlex.tsx","../src/common/column-control/styled/common.ts","../src/common/column-control/NsGridColumns.tsx","../src/common/column-control/styled/StyledGrid.tsx","../src/common/dropdown/NsDropdown.tsx","../src/common/dropdown/NsDropdown.styled.tsx","../src/common/dropdown/NsDropdownOption.tsx","../src/common/email-simple/NsEmailSimple.tsx","../src/common/validations/regex.ts","../src/common/hooks/useAccordionMap.tsx","../src/common/image/NsImage.tsx","../src/common/modal/NsModal.tsx","../src/common/modal/helper-component/NsModalDefault.tsx","../src/common/utility/Show.tsx","../src/common/modal/NsModal.styled.tsx","../src/common/modal/helper-component/NsModalTitle.tsx","../src/common/modal/helper-component/NsModalContentBox.tsx","../src/common/modal/helper-component/NsModalStatusIcon.tsx","../src/common/modal/helper-component/NsModalStatus.tsx","../src/common/modal/model/NsModalVariantMap.tsx","../src/common/nav-product-card/NsNavProductCard.styled.tsx","../src/common/nav-product-card/NsNavProductCard.tsx","../src/common/nav-tab/NsNavTab.tsx","../src/common/nav-tab/NsNavTab.styled.tsx","../src/common/nav-tab/NavDrawer.tsx","../src/common/nav-tab/NavTitles.tsx","../src/common/progress/NsProgress.styled.tsx","../src/common/progress/NsProgress.tsx","../src/common/radiogroup/NsRadioGroup.tsx","../src/common/radiogroup/NsRadioGroup.styled.tsx","../src/common/select/NsSelect.tsx","../src/common/select/constant.ts","../src/common/select/NsSelect.styled.tsx","../src/common/select/NsSelectOption.tsx","../src/common/select/DefaultRenderOption.tsx","../src/common/spinner/icons/Spinner.tsx","../src/common/spinner/NsSpinner.styled.tsx","../src/common/spinner/NsSpinner.tsx","../src/common/table/NsTable.tsx","../src/common/table/helper.ts","../src/common/table/NsExpandableRow.tsx","../src/common/table/NsTable.styled.ts","../src/common/table/NsTableHeader.tsx","../src/common/table/NsTablePagination.tsx","../src/common/text-strip/NsTextStrip.tsx","../src/common/toast/ToastProvider.tsx","../src/common/toast/useToast.tsx","../src/common/toast/Fade.tsx","../src/common/toast/shared.ts","../src/common/videos/NsVideo.tsx"],"names":["isValidElement","useMemo","styled","ColorUtils","AccordionVariant","Basic","Compact","Gray","Stripe","variantValues","Object","values","AccordionContentTypeObject","text","html","accordion","jsx","contentValues","getGenomeColor","colorMap","basic","contentBg","contentText","headBg","headText","compact","gray","stripe","getAccordionColor","theme","variant","invert","keys","result","includes","Error","colorKey","appColorKey","colorValue","getLevelOffset","level","StyledCollapse","isChild","borderBottom","backgroundColor","color","opacity","padding","height","overflow","transition","NsCollapse","isOpen","content","additionalProps","type","cslp","allowMultipleExpanded","body","NsTypography_default","children","className","dangerouslySetInnerHTML","__html","NsAccordion_default","items","NsCollapse_default","SvgIcon","ArrowDown","props","viewBox","fill","xmlns","fillRule","clipRule","d","ArrowDown_default","ArrowUp","ArrowUp_default","ArrowLeft","preserveAspectRatio","focusable","style","pointerEvents","display","id","stroke","strokeWidth","strokeLinecap","strokeLinejoin","transform","points","ArrowLeft_default","ArrowRight","ArrowRight_default","Cart","Cart_default","jsxs","CartBadge","width","cx","cy","r","CartBadge_default","InfoFilled","InfoFilled_default","InfoOutlined","clipPath","InfoOutlined_default","CheckShield","CheckShield_default","CheckVerified","CheckVerified_default","SuccessIcon","SuccessIcon_default","ErrorIcon","ErrorIcon_default","TrashIcon","TrashIcon_default","SearchIcon","SearchIcon_default","SlashIcon","SlashIcon_default","Home","home_default","AlertErrorIcon","AlertErrorIcon_default","WarningIcon","WarningIcon_default","CloseIcon","xmlnsXlink","CloseIcon_default","UserIcon","UserIcon_default","HamburgerIcon","HamburgerIcon_default","UserOutline","UserOutline_default","Check","Check_default","RoundedClose","x","y","rx","RoundedClose_default","ChevronRight","ChevronRight_default","IconVariants","arrowDown","arrowUp","arrowLeft","arrowRight","alertError","cart","cartBadge","close","check","checkShield","checkVerified","error","hamburgerIcon","home","infoFilled","infoOutlined","search","success","slash","trash","userIcon","userOutline","warning","roundedClose","chevronRight","NsIconVariants_default","isValidIconName","name","StyledHeader","cursor","gap","gridTemplateColumns","NsAccordionHeader","title","onClick","openedIconName","closedIconName","headerTypographyVariant","startIcon","showEndIconWhenEmpty","role","HeaderIcon","weight","header","NsIcon_default","NsAccordionHeader_default","useState","NsToggleSection","defaultOpen","isExpanded","setIsExpanded","NsAccordionItem_default","toggleOpen","NsToggleSection_default","border","StyledToggleSection","borderRight","margin","StyledAccordionWrapper","flexDirection","borderTop","borderLeft","NsAccordionItem","createKey","item","index","NsAccordion","defaultOpenIds","map","isDefaultOpen","filter","e","useAccordionMap_default","itemStateMap","testid","key","icon","$","item_title","rte","useEffect","useWindowSize","window","innerWidth","innerHeight","windowSize","setWindowSize","handleResize","addEventListener","removeEventListener","useWindowSize_default","useTheme","iconSize","small","medium","large","xLarge","IconWrapper","size","placeContent","placeItems","svg","paletteColor","NsIcon","testId","colorOverride","rest","Icon","iconColor","HtmlTagVariantMapping","h1","h2","h3","h4","h5","h6","CTA","HtmlTagVariantMap_default","defaultFont","defaultTypographyStyles","fontFamily","fontSize","lineHeight","letterSpacingPercentage","paragraphSpacing","fontWeight","fontWeightMap","light","normal","bold","getVariantStyle","themeTypographyVariants","variantStyles","StyledTypography","noSpacing","decoration","fontStyles","fonts","typographyVariants","letterSpacing","textDecorationLine","startsWith","NsTypography","renderHTMLNode","htmlTagVariant","as","css","GlobalStyles","GlobalFontInter","styles","GlobalFontInter_default","Fragment","notice","default","iconMap","Header","head","Header_default","gutterWidth","closeButtonWidth","iconWidth","TypeMap","banner","minHeight","contentColumnStart","contentColumnEnd","barPosition","footVisibility","card","footDisplay","contextType","info","AlertContainer","div","visible","Alert","context","AlertCloseButton","AlertIcon","AlertHead","AlertContent","AlertFoot","sectionFonts","AlertBody","NsAlert","threshold","foot","onDismiss","alertType","setAlertType","hasDismissListener","console","useCallback","useRef","useOnClickOutside","element","handler","mouseEvent","eventListener","event","contains","target","document","AuthDropdownContainer","AuthDropdown","Triangle","AuthHead","Button","Link","a","SignInButton","SignUpLinkContainer","SignUpLink","NsAuthDropdown","signInRedirectLink","signUpRedirectLink","signInBtnText","signUpLinkText","signUpLinkPrefixText","titleText","closeOnMouseLeave","darkModeEnabled","setIsOpen","dropdownRef","handleToggle","handleClose","current","handleOnMouseLeave","ref","onMouseLeave","href","NsAuthDropdown_default","React","Autocomplete","ListSubheader","Popper","useMediaQuery","StyledLine","LineLoader","show","StyledClear","TypoWrapper","RecentClearAll","recentSearchText","GroupNameTypography","renderOptionLabel","option","value","renderGroupBy","group","ListStyled","SeeMoreButton","onSeeMore","options","listboxRef","setScrollTopPosition","handleSeeMore","length","lastScrollPosition","scrollTop","FormHelperText","TextField","FormLabel","StyledLabel","textAlign","NsLabel","required","showOptional","NsLabel_default","InputAdornment","iconNameForFieldState","getAdornmentProps","disabled","fieldState","iconStart","iconEnd","icons","startAdornment","position","endAdornment","Stack","InputFieldWrapper","marginTop","InputFieldWrapper_default","Box","nuskinTheme","isDarkMode","colors","getInputBorderColor","palette","isLight","red","primary","main","InputWrapper","contrastText","inputFocusedBorder","accentColorB","inputDisabledBg","neutral","inputDisabledBorder","inputDisabledColor","black","defaultBg","placeholderColor","alignItems","background","borderRadius","fieldset","input","InputWrapper_default","NsInputField","autoComplete","autoFocus","defaultValue","fullWidth","focused","InputProps","inputProps","inputRef","maxRows","minRows","multiline","onFocus","onBlur","onChange","placeholder","rows","iconSide","label","InputLabelProps","labelSize","FormHelperTextProps","helperText","EndIcon","NsInputField_default","autocompleteClasses","StyledTextField","StyledPopper","listbox","boxSizing","VariableSizeList","createElement","LISTBOX_PADDING","noop","OuterElementContext","createContext","NsAutocomplete","OptionsUI","loading","noOptionsText","onInputChange","clear","seeMore","inputValue","isFilterEnabled","onKeypress","scrollTopPosition","OuterElementType","forwardRef","outerProps","useContext","displayName","renderInput","params","renderOption","renderRow","data","dataSet","inlineStyle","top","hasOwn","component","useResetCache","resetAfterIndex","ListboxComponent","other","itemData","forEach","push","smUp","breakpoints","up","noSsr","itemCount","itemSize","getChildSize","child","getHeight","reduce","b","gridRef","onClear","Provider","outerElementType","innerElementType","overscanCount","open","disableListWrap","PopperComponent","groupBy","getOptionLabel","state","renderGroup","filterOptions","freeSolo","onKeyDown","NsAutocomplete_default","getBasicDATWidthHeight","getImageType","url","fileName","files","parts","split","retrieveImageKey","getUrlBasedOnDerivative","imageDerivativeType","suffix","getMediaUrl","selected","isPublic","previewUrls","fileType","BynderMedia","imageDetail","liveTag","fit","altText","bgColor","mediaUrl","transformedMediaUrl","loop","autoPlay","muted","objectFit","objectPosition","src","alt","StyledBanner","section","StyledHeroText","$justify","$alignment","NsBanner","image","alignment","justify","NsBanner_default","NSLogoHorizontal","NSLogoHorizontal_default","NSLogoMark","NSLogoMark_default","NSLogoPoweredBy","NSLogoPoweredBy_default","NSLogoStacked","NSLogoStacked_default","NSLogoWordMark","NSWordMark_default","NsBrandContainer","NsBrandContainer_styled_default","VariantMap","stacked","horizontal","wordmark","logomark","poweredBy","NsBrandComponent","renderBrand","BrandComponent","NsBrandComponent_default","MUILink","linkDefaultStyles","getLinkStyles","$underlineOnHover","getVariantStyles","variants","outlined","showHorizontal","fontColor","secondary","StyledLink","SecondaryLinkWrapper","SecondaryWrapper","NsLink","underlineOnHover","NsLink_default","BreadcrumbContainer","nav","BreadcrumbList","ol","BreadcrumbItem","li","BreadcrumbStyledLink","underlineVisibility","NsBreadcrumb","underline","separator","neutral80","neutral60","getLabel","NsBreadcrumb_default","MUIButton","generateContainedStyle","textColor","hovered","pressed","generateOutlinedStyle","borderColor","activeColor","generateTextStyles","underlineColor","textDecoration","textUnderlineOffset","minWidth","textDecorationColor","generateIconOnlyStyles","buttonColor","getButtonConfig","attribute","config","components","button","StyledButton","iconOnly","focusBorderColor","sizeStyle","btnColor","buttonStyles","textTransform","NsButton","startIconName","endIconName","endIcon","disableRipple","NsButton_default","Wrapper","NsBrandWrapper","Card","shouldNotForwardPropsWithKeys","propArray","propName","shouldForwardProp","Component","backgroundImageUrl","backgroundImage","backgroundSize","backgroundPosition","NsBgCard","NsBgCard_default","CardMedia","NsBrandLogo","maxWidth","maxHeight","justifyContent","NsBrandLogo_default","ButtonTextVariant","CardButton","buttonText","showButton","buttonVariant","showArrowWithText","CardButton_default","CardContainer","imagePosition","backgroundClip","wordWrap","paddingLeft","left","marginBottom","NsHeroCardLevel1","cardTitle","cardDescription","backgroundImageDetail","NsHeroCardLevel2","brandName","NsHeroCardLevel2_default","NsPost","substring","NsPost_default","cardSizes","cardSizes_default","wordBreak","NsBrandCard","brandImageUrl","NsIconText","NsIconText_default","NsCheckoutCard","linkText","dropdownIcon","setDropdownIcon","handleClick","NsSmallFullCard","subtitle","NsXLargeCard","isHorizontal","matches","fontSizeSub","fontSizeTitle","imageWidth","NsLargeCard","intro","textVariantButton","span","g","buttonVariantStyle","fluid","textVariantCssModification","flexGrow","NsMediumCard","titleFontWeight","showArrowWithButtonText","NsAwardCard","awardName","mediaOutlet","Slider","ariaLabel","tabIndex","IconWrapper_default","InnerWrapper","CarousalControl","next","prev","viewAllUrl","viewAllLabel","prevAriaLabel","nextAriaLabel","CarousalControl_default","settings","dots","infinite","speed","slidesToShow","slidesToScroll","swipeToSlide","responsive","breakpoint","initialSlide","slickSetting_default","SlickContainer","NsCarousal","entries","renderEntry","allEntryLink","allEntryLabel","showControlButtons","sliderRef","slickPrev","slickNext","entry","StyledDiv","dotsBottomPixel","zIndex","bottom","NsScrollingCarousal","slides","scrollSeconds","stillSeconds","renderSlide","defaultSettings","autoplay","autoplaySpeed","accessibility","adaptiveHeight","arrows","draggable","NsScrollingCarousal_default","IconButton","Badge","StyledBadge","bgcolor","NsCartIcon","maxItemCount","badgeContent","max","showZero","NsCartIcon_default","MUICheckbox","FormControlLabel","DoneIcon","FLAG_SCALE_VALUE","FlagHeightMap","getFlagHeight","$size","makeFlagSize","makeFlagBorder","$bgColor","StyledFlag","NsFlag","message","NsFlag_default","BpIcon","path","outline","BpCheckedIcon","getLabelColor","isDisabled","StyledFlagLabel","NsCheckbox","checked","flag","renderCheckbox","checkedIcon","renderCheckboxLabel","control","NsCheckbox_default","sizeKeyPrefix","desktop","tablet","mobile","sizeKeyMap","getColumnSizes","inputColumnClass","sizeObject","trim","some","prefix","acc","sizes","replace","test","warn","join","descMaxWidthBreakpoints","mediaQuery","bp","fractions","tabletTemplateColumns","tabletFractions","mobileTemplateColumns","mobileFractions","Array","isArray","NsColumnControl","columnClass","NsColumnControl_default","mobileBreakPoint","commonStyles","flexWrap","flex","getPercentArray","fractionArray","numbers","numberString","num","sum","currentSum","currentNumber","toFixed","StyledFlex","isFullWidth","gridGap","fraction","flexResponsive","flexShrink","paddingInline","f","i","flexBasis","NsFlexColumns","NsFlexColumns_default","StyledGrid","fractionPercent","gridColumn","NsGridColumns","NsGridColumns_default","DropdownContainer","getDropdownHeadBorder","DropdownHead","DropdownButton","DropdownList","getListBgColor","DropdownOptionContainer","ListItem","NsDropdown","selectedLabel","onSelect","dropdownBorderColor","handleSelect","NsDropdown_default","NsDropdownOption","NsDropdownOption_default","emailPattern","NsEmailSimple","maxLength","invalidEmailMessage","dupedEmailMessage","requiredErrorMessage","checkEmail","setFieldState","errorMsg","setErrorMessage","emailInput","fieldStateValue","errorMessageValue","isValid","isAvailable","toLowerCase","NsEmailSimple_default","reducer","useAccordionMap","mapSetter","ids","slice","setItemMap","prevState","NsImage","cHeight","cWidth","NsImage_default","Dialog","DialogContent","Show","when","elseContent","Show_default","DialogActions","NsInfoWrapper","CloseButton","ModalFooter","DialogTitle","NsModalTitle","isCloseIcon","iconName","NsModalTitle_default","NsDefaultModal","footer","dividers","NsModalDefault_default","NsModalContentBox","statusInfo","description","NsModalContentBox_default","NsModalStatusIcon","StatusIconMap","NsModalStatusIcon_default","NsStatusModal","NsModalStatus_default","ModalVariantMap","confirmation","NsModal","fullScreen","scrollType","ariaLabelledby","ariaDescribedby","scroll","onClose","NsModal_default","ProductCardContainer","NsNavProductCard","productImg","productDescription","productName","LayoutGroup","motion","NavTabContainer","NavTabBox","NavTabUnderLine","NavDrawerStyled","NavDrawerContainer","NavTitlesBox","NavDrawer","active","showDrawer","initial","animate","exit","duration","NavTitles","tabs","setActive","tabTitleClassName","NavTitleTypography","tab","textVariant","tabName","handleMouseEnter","onMouseEnter","tabLink","layoutId","NsNavTabComponent","activeTab","find","handleLeave","tabContent","LinearProgress","CheckCircleIcon","StyledCheckCircle","ProgressInfo","StyledLinearProgress","barColor","StyledProgress","NsProgress","NsProgress_default","FormControl","Radio","RadioGroup","StyledHelperText","StyledSpan","StyledRadio","StyledFormControlLabel","StyledRadioGroup","NsRadioGroup","disable","labelFontSize","row","NsRadioGroup_default","factorMap","reverse","right","forward","arrowVisibility","total","direction","currentIndex","themeColor","SelectContainer","errorMessage","SelectMain","ErrorContainer","SelectHead","SelectButton","StyledArrowContainer","SelectList","SelectLabel","StyledSelectOption","showListDivider","dividerColor","colorType","hoveredBg","NsSelectOption","isSelected","NsSelectOption_default","DefaultRenderOption","NsSelect","selectBorderColor","readOnly","hasArrows","rules","reverseArrowControls","RenderOption","optionIndex","findIndex","setValue","selectContainerRef","selectHeadRef","closeMenuOnMouseLeave","val","closeMenu","handleMouseClick","setTimeout","focus","handleArrowClick","currentTarget","adder","nextIndex","visibility","onMouseDown","opt","NsSelect_default","SpinnerIcon","shapeRendering","textRendering","strokeDasharray","Spinner_default","SpinnerContainer","prop","NsSpinner","NsSpinner_default","TableBody","TableCell","TableRow","Grid","descendingComparator","orderBy","getComparator","order","stableSort","array","comparator","stabilizedThis","el","sort","Collapse","Table","TableContainer","TableSortLabel","Pagination","StyledTableContainer","StyledTable","StyledTableSortLabel","StyledTableLabel","StyledPageComponent","StyledEmptyRow","emptyRows","StyledTableRow","StyledTableLastCell","StyledOriginalTableCell","StyledPagination","StyledExpandCell","StyledProgressCell","ExpandableRow","expandableContent","isExpand","itemKeyList","showActions","showExpandedContent","actionClick","tableRowTestId","hover","align","colSpan","in","unmountOnExit","TableHead","visuallyHidden","NsTableHeader","headCells","onRequestSort","createSortHandler","property","headCell","sortable","sortDirection","sx","NsTablePagination","count","rowsPerPage","page","onPageChange","totalPage","Math","ceil","shape","NsTable","headers","rowsPerPageOptions","itemKey","isExpandableAll","setOrder","setOrderBy","expandMap","setExpandMap","setPage","setRowsPerPage","handleRequestSort","handleChangePage","newPage","getEmptyRows","visibleRows","rowCount","container","xs","NsTextStrip","link","NsTextStrip_default","MaterialDesignContent","SnackbarProvider","ScreenSize","ToastNotification","md","NsToastProvider","autoHideDuration","Components","ToastProvider_default","closeSnackbar","enqueueSnackbar","Transition","setRef","useForkRef","refA","refB","refValue","getTransitionProps","timeout","mode","easing","transitionTimingFunction","delay","transitionDelay","reflow","node","defaultEasing","easeInOut","easeOut","easeIn","sharp","formatMs","milliseconds","round","createTransition","animatedProp","formattedDuration","formattedDelay","entering","entered","Fade","Ve","inProp","onEnter","onEntered","onExit","onExited","nodeRef","handleRefIntermediary","handleRef","appear","isAppearing","transitionProps","webkitTransition","status","childProps","cloneElement","Fade_default","useToast","closeToast","toastId","generateActionButtons","showCloseIcon","actions","actionButtons","action","showToast","anchorOrigin","vertical","preventDuplicate","TransitionComponent","useToast_default","NsVideo","allowFullScreen","NsVideo_default"],"mappings":"w0xCAAA,OAASA,kBAAAA,EAAAA,CAA8BC,WAAAA,EAAAA,KAAe,OAEtD,QAASC,UAAAA,EAAAA,KAAc,0BCFvB,QAEIC,cAAAA,EAAAA,KACG,0BCHA,CAAA,IAAMC,GAAmB,CAC5BC,MAAO,QACPC,QAAS,UACTC,KAAM,OACNC,OAAQ,QACZ,EACMC,GAAgBC,OAAOC,MAAA,CAAOP,IAGvBQ,GAA6B,CACtCC,KAAM,OACNC,KAAM,OACNC,UAAW,YACXC,IAAK,KACT,EAEMC,GAAgBP,OAAOC,MAAA,CAAOC,IDLpC,IAAQM,GAAmBf,GAAnBe,eAKD,IAAMC,GAAwD,CACjEC,MAAO,CACHC,UAAW,MACXC,YAAa,MACbC,OAAQ,MACRC,SAAU,KACd,EACAC,QAAS,CACLJ,UAAW,MACXC,YAAa,MACbC,OAAQ,MACRC,SAAU,KACd,EACAE,KAAM,CACFL,UAAW,MACXC,YAAa,MAC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AAA,eAAAA,CAAAA,MAAAA,YAAAA,CAAAA,MAAAA,OAAAA,CAAAA,MAAAA,YAAAA,CAAAA,MAAAA,IAAAA,CAAAA,MAAAA,sBAAAA,CAAAA,MAAAA,QAAAA,CAAAA,MAAAA,eAAAA,CAAAA,MAAAA,QAAAA,CAAAA,MAAAA,aAAAA","sourcesContent":["import { isValidElement, ReactElement, useMemo } from 'react';\n\nimport { styled } from '@nuskin/foundation-theme';\n\nimport {\n AccordionContentTypeObject,\n AccordionItem,\n AccordionVariant,\n AccordionVariantType,\n NsAccordion,\n NsCollapseProps,\n NsTypography,\n} from '../';\nimport { getAccordionColor } from './colorMap';\n\nconst getLevelOffset = (level: number) => {\n return level > 1 ? (level - 1) * 16 : 0;\n};\ntype CollapsePropsType = { variant: AccordionVariantType; level: number; invert: boolean; isChild: boolean };\n\nexport const StyledCollapse = styled('section')<CollapsePropsType>(({ theme, variant, level, invert, isChild }) => {\n const { contentBg, contentText } = getAccordionColor({\n theme,\n invert,\n variant,\n keys: ['contentBg', 'contentText'],\n });\n\n let borderBottom = 'none';\n if (variant === AccordionVariant.Compact) {\n borderBottom = isChild ? 'none' : '1px solid rgb(0,0,0,0.125)';\n }\n return {\n backgroundColor: contentBg,\n color: contentText,\n opacity: 0,\n padding: '0 16px',\n height: 0,\n overflow: 'hidden',\n transition: '0.3s',\n '&.expanded': {\n padding: `9px 0 9px ${getLevelOffset(level)}px`,\n height: 'auto',\n opacity: 1,\n borderBottom,\n },\n '.nsa-content-padded': {\n padding: '0 16px 16px',\n color: contentText,\n backgroundColor: contentBg,\n },\n };\n});\n\n/**\n * NsCollapse component adds css animation while showing children items if prop `isOpen` is true,\n * and while removing children if prop `isOpen` is false\n */\nconst NsCollapse = ({\n isOpen,\n content,\n additionalProps,\n variant,\n level,\n invert,\n isChild,\n type,\n cslp,\n allowMultipleExpanded,\n}: NsCollapseProps): ReactElement => {\n const body = useMemo(() => {\n if (isValidElement(content)) {\n return content as ReactElement;\n }\n if (type === AccordionContentTypeObject.html) {\n return (\n <NsTypography variant=\"body-m\">\n <div\n className=\"nsa-content-padded\"\n dangerouslySetInnerHTML={{ __html: content as string }}\n {...(cslp?.content ?? {})}\n />\n </NsTypography>\n );\n } else if (type === AccordionContentTypeObject.text) {\n return (\n <NsTypography variant=\"body-m\" className=\"p-4\" {...(cslp?.content ?? {})}>\n {content as string}\n </NsTypography>\n );\n } else if (type === AccordionContentTypeObject.accordion) {\n return (\n <NsAccordion\n isChild={true}\n invert={invert}\n level={level}\n variant={AccordionVariant.Gray}\n items={content as AccordionItem[]}\n allowMultipleExpanded={allowMultipleExpanded ?? false}\n />\n );\n }\n return null;\n }, [allowMultipleExpanded, content, cslp?.content, invert, level, type]);\n return (\n <StyledCollapse\n isChild={isChild}\n level={level}\n className={`ns-collapse ${isOpen ? 'expanded' : ''} ${additionalProps?.className ?? ''}`}\n variant={variant}\n invert={invert}\n >\n {body}\n </StyledCollapse>\n );\n};\nexport default NsCollapse;\n","import {\n AllColorKeyType,\n ColorUtils,\n} from '@nuskin/foundation-theme';\n\nimport { Themed } from '../common.types';\nimport {\n AccordionVariant,\n AccordionVariantType,\n} from './enums';\n\nconst { getGenomeColor } = ColorUtils;\nconst compKeys = ['contentBg', 'contentText', 'headBg', 'headText'];\ntype CompKeys = (typeof compKeys)[number];\ntype VariantColors = Record<CompKeys, AllColorKeyType>;\n\nexport const colorMap: Record<AccordionVariantType, VariantColors> = {\n basic: {\n contentBg: 'N20',\n contentText: 'N90',\n headBg: 'N10',\n headText: 'N90',\n },\n compact: {\n contentBg: 'N10',\n contentText: 'N90',\n headBg: 'N10',\n headText: 'N90',\n },\n gray: {\n contentBg: 'N40',\n contentText: 'N80',\n headBg: 'N30',\n headText: 'N70',\n },\n stripe: {\n contentBg: 'N30',\n contentText: 'N70',\n headBg: 'N10',\n headText: 'N80',\n },\n};\n\ntype GetAccordionColor = {\n variant: AccordionVariantType;\n invert: boolean;\n keys: CompKeys[];\n} & Themed;\nexport const getAccordionColor = ({ theme, variant, invert, keys }: GetAccordionColor): Record<CompKeys, string> => {\n const result: Record<string, string> = {};\n if (!Object.values(AccordionVariant).includes(variant)) {\n throw new Error(`Invalid variant ${variant}`);\n }\n for (const colorKey of keys) {\n const appColorKey = colorMap[variant][colorKey];\n const colorValue = getGenomeColor(theme, appColorKey, invert ? 'dark' : 'light');\n result[colorKey] = colorValue;\n }\n return result;\n};\n","export const AccordionVariant = {\n Basic: 'basic',\n Compact: 'compact',\n Gray: 'gray',\n Stripe: 'stripe',\n} as const;\nconst variantValues = Object.values(AccordionVariant);\nexport type AccordionVariantType = (typeof variantValues)[number];\n\nexport const AccordionContentTypeObject = {\n text: 'text',\n html: 'html',\n accordion: 'accordion',\n jsx: 'jsx',\n};\n\nconst contentValues = Object.values(AccordionContentTypeObject);\nexport type AccordionContentType = (typeof contentValues)[number];\n","import { ReactElement } from 'react';\n\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { AccordionVariant, AccordionVariantType, NsAccordionHeaderProps, NsIcon, NsIconProps, NsTypography } from '../';\nimport { isValidIconName } from '../icon/NsIconVariants';\nimport { getAccordionColor } from './colorMap';\n\ntype StyledType = { variant: AccordionVariantType; invert: boolean };\n\nconst StyledHeader = styled('header')<StyledType>(({ theme, variant, invert }) => {\n const { headBg, headText } = getAccordionColor({ theme, variant, invert, keys: ['headBg', 'headText'] });\n let borderBottom = 'none';\n if (variant === AccordionVariant.Compact) {\n borderBottom = '1px solid rgb(0,0,0,0.125)';\n }\n return {\n backgroundColor: headBg,\n color: headText,\n cursor: 'pointer',\n display: 'grid',\n gap: '4px',\n gridTemplateColumns: 'auto 1fr 24px',\n padding: '9px 16px',\n borderBottom,\n '.nsa-item-title': {\n color: headText,\n },\n } as any;\n});\n\n/**\n * NsAccordionHeader is primarily used by NsToggleSection and NsAccordionItem\n * as a header, so it accepts `title` , `isOpen` and `onClick`\n */\nconst NsAccordionHeader = ({\n title,\n onClick,\n isOpen,\n additionalProps,\n openedIconName,\n closedIconName,\n variant,\n headerTypographyVariant,\n startIcon,\n invert,\n cslp,\n showEndIconWhenEmpty,\n content,\n}: NsAccordionHeaderProps): ReactElement => {\n return (\n <StyledHeader\n invert={invert}\n role=\"button\"\n aria-expanded={isOpen ? 'true' : 'false'}\n className={`section-header ${isOpen ? 'expanded' : ''} ${additionalProps?.className ?? ''}`}\n onClick={onClick}\n variant={variant}\n >\n <HeaderIcon {...startIcon} invert={invert} />\n {typeof title === 'string' ? (\n <NsTypography variant={headerTypographyVariant ?? 'h4'} weight=\"bold\" {...(cslp?.header ?? {})}>\n {title}\n </NsTypography>\n ) : (\n title\n )}\n {content || showEndIconWhenEmpty ? (\n <span className=\"header-icon\">\n <NsIcon\n {...(invert ? { color: 'secondary' } : {})}\n name={isOpen ? openedIconName ?? 'arrowUp' : closedIconName ?? 'arrowDown'}\n />\n </span>\n ) : null}\n </StyledHeader>\n );\n};\nexport default NsAccordionHeader;\n\nconst HeaderIcon = (props: Partial<NsIconProps> & { invert: boolean }): ReactElement => {\n const hasIcon = props?.name ? isValidIconName(props?.name) : false;\n if (!hasIcon) return <span />;\n return <NsIcon {...(props as NsIconProps)} {...(props.invert ? { color: 'secondary' } : {})} />;\n};\n","/* eslint-disable max-len */\n\nimport { ReactElement } from 'react';\n\nimport {\n SvgIcon,\n SvgIconProps,\n} from '@mui/material';\n\nconst ArrowDown = (props: SvgIconProps):ReactElement => {\n return (\n <SvgIcon viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" data-testid=\"arrowDown\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M12.7071 16.2071C12.3166 16.5976 11.6834 16.5976 11.2929 16.2071L4.29289 9.20711C3.90237 8.81658 3.90237 8.18342 4.29289 7.79289C4.68342 7.40237 5.31658 7.40237 5.70711 7.79289L12 14.0858L18.2929 7.79289C18.6834 7.40237 19.3166 7.40237 19.7071 7.79289C20.0976 8.18342 20.0976 8.81658 19.7071 9.20711L12.7071 16.2071Z\"\n fill={props.color}\n />\n </SvgIcon>\n );\n};\n\nexport default ArrowDown;\n","/* eslint-disable max-len */\n\nimport { ReactElement } from 'react';\n\nimport { SvgIcon, SvgIconProps } from '@mui/material';\n\nconst ArrowUp = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon viewBox=\"0 0 24 24\" data-testid=\"arrowUp\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M11.2929 7.79289C11.6834 7.40237 12.3166 7.40237 12.7071 7.79289L19.7071 14.7929C20.0976 15.1834 20.0976 15.8166 19.7071 16.2071C19.3166 16.5976 18.6834 16.5976 18.2929 16.2071L12 9.91421L5.70711 16.2071C5.31658 16.5976 4.68342 16.5976 4.29289 16.2071C3.90237 15.8166 3.90237 15.1834 4.29289 14.7929L11.2929 7.79289Z\"\n fill={props.color}\n />\n </SvgIcon>\n );\n};\n\nexport default ArrowUp;\n","import { ReactElement } from 'react';\n\nimport {\n SvgIcon,\n SvgIconProps,\n} from '@mui/material';\n\nconst ArrowLeft = (props: SvgIconProps):ReactElement => {\n return (\n <SvgIcon\n data-testid=\"arrowLeft\"\n viewBox=\"0 0 24 24\"\n preserveAspectRatio=\"xMidYMid meet\"\n focusable=\"false\"\n style={{ pointerEvents: 'none', display: 'block' }}\n {...props}\n >\n <g\n id=\"icon-narrow-angle-left-24\"\n stroke={props.color}\n strokeWidth=\"1\"\n fill=\"none\"\n fillRule=\"evenodd\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n >\n <g transform=\"translate(-196, -226)\" stroke={props.color}>\n <polyline\n // eslint-disable-next-line max-len\n transform=\"translate(209.000000, 237.500000) scale(-1.2, 1.2) rotate(90.000000) translate(-209.000000, -237.500000)\"\n points=\"200 242 209 233 218 242\"\n ></polyline>\n </g>\n </g>\n </SvgIcon>\n );\n};\nexport default ArrowLeft;\n","import { ReactElement } from 'react';\n\nimport {\n SvgIcon,\n SvgIconProps,\n} from '@mui/material';\n\nexport const ArrowRight = (props: SvgIconProps):ReactElement => {\n return (\n <SvgIcon\n {...props}\n data-testid=\"arrowRight\"\n viewBox=\"0 0 24 24\"\n preserveAspectRatio=\"xMidYMid meet\"\n focusable=\"false\"\n style={{ pointerEvents: 'none', display: 'block' }}\n >\n <g\n id=\"icon-narrow-angle-right-24\"\n stroke=\"none\"\n strokeWidth=\"1\"\n fill=\"none\"\n fillRule=\"evenodd\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n >\n <g transform=\"translate(-196, -226)\" stroke={props.color}>\n <polyline\n // eslint-disable-next-line max-len\n transform=\"translate(209.000000, 237.500000) scale(-1.2, 1.2) rotate(-90.000000) translate(-209.000000, -237.500000)\"\n points=\"200 242 209 233 218 242\"\n ></polyline>\n </g>\n </g>\n </SvgIcon>\n );\n};\n\nexport default ArrowRight;\n","/* eslint-disable max-len */\n\nimport { ReactElement } from 'react';\n\nimport {\n SvgIcon,\n SvgIconProps,\n} from '@mui/material';\n\nconst Cart = (props: SvgIconProps):ReactElement => {\n return (\n <SvgIcon viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" data-testid=\"cart\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M0 3.79999C0 3.2477 0.447715 2.79999 1 2.79999H3.19159C4.13466 2.79999 4.94959 3.45879 5.14719 4.38093L5.237 4.80005H21C21.3079 4.80005 21.5987 4.94192 21.7882 5.18464C21.9777 5.42735 22.0448 5.74384 21.9701 6.04258L20.5382 11.7702C20.0931 13.5509 18.4931 14.8 16.6577 14.8H7.3798L7.59407 15.8H19C19.5523 15.8 20 16.2478 20 16.8C20 17.3523 19.5523 17.8 19 17.8H18H7.5H6.78564C6.3141 17.8 5.90664 17.4706 5.80784 17.0096L3.45079 6.00958L3.19159 4.79999H1C0.447715 4.79999 0 4.35227 0 3.79999ZM7.5 17.8C6.39543 17.8 5.5 18.6955 5.5 19.8C5.5 20.9046 6.39543 21.8 7.5 21.8C8.60457 21.8 9.5 20.9046 9.5 19.8C9.5 18.6955 8.60457 17.8 7.5 17.8ZM18 17.8C16.8954 17.8 16 18.6955 16 19.8C16 20.9046 16.8954 21.8 18 21.8C19.1046 21.8 20 20.9046 20 19.8C20 18.6955 19.1046 17.8 18 17.8ZM6.95124 12.8H16.6577C17.5754 12.8 18.3754 12.1755 18.598 11.2851L19.7192 6.80005H5.66557L6.95124 12.8Z\"\n fill={props.color}\n />\n </SvgIcon>\n );\n};\n\nexport default Cart;\n","/* eslint-disable max-len */\n\nimport { ReactElement } from 'react';\n\nimport {\n SvgIcon,\n SvgIconProps,\n} from '@mui/material';\n\nconst CartBadge = (props: SvgIconProps) :ReactElement=> {\n return (\n <SvgIcon\n viewBox=\"0 0 30 30\"\n preserveAspectRatio=\"xMidYMid meet\"\n focusable=\"false\"\n data-testid=\"cartBadge\"\n {...props}\n >\n <g\n id=\"cart-icon-badge\"\n fill=\"none\"\n strokeWidth=\"1\"\n stroke=\"none\"\n fillRule=\"evenodd\"\n width=\"30px\"\n height=\"30px\"\n >\n <g id=\"Group\" transform=\"translate(0.000000, 0.500000)\" stroke={props.color}>\n <circle id=\"Oval\" cx=\"11\" cy=\"21.5\" r=\"1.5\"></circle>\n <circle id=\"Oval\" cx=\"23\" cy=\"21.5\" r=\"1.5\"></circle>\n <polyline\n id=\"Shape\"\n strokeLinecap=\"round\"\n points=\"0 -5.24580379e-15 3.5 -5.41233725e-15 9.5 18 23.5 18\"\n ></polyline>\n <path\n d=\"M8.5,14 L21.6400424,14 C22.9848342,14 24.1653247,13.1050925 24.5285445,11.8102811 L27,3\"\n id=\"Shape\"\n strokeLinecap=\"round\"\n ></path>\n </g>\n </g>\n </SvgIcon>\n );\n};\n\nexport default CartBadge;\n","/* eslint-disable max-len */\n\nimport { ReactElement } from 'react';\n\nimport {\n SvgIcon,\n SvgIconProps,\n} from '@mui/material';\n\nconst InfoFilled = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props} data-testid=\"infoFilled\">\n <path\n d=\"M12 0C9.62663 0 7.30655 0.703788 5.33316 2.02236C3.35977 3.34094 1.8217 5.21508 0.913451 7.4078C0.00519941 9.60051 -0.232441 12.0133 0.230582 14.3411C0.693605 16.6689 1.83649 18.807 3.51472 20.4853C5.19295 22.1635 7.33115 23.3064 9.65892 23.7694C11.9867 24.2324 14.3995 23.9948 16.5922 23.0865C18.7849 22.1783 20.6591 20.6402 21.9776 18.6668C23.2962 16.6934 24 14.3734 24 12C23.9963 8.81853 22.7309 5.76842 20.4812 3.51878C18.2316 1.26914 15.1815 0.00367709 12 0ZM11.9999 5.53846C12.2737 5.53846 12.5414 5.61967 12.7691 5.77181C12.9968 5.92395 13.1743 6.1402 13.2791 6.39321C13.3839 6.64621 13.4113 6.92461 13.3579 7.1932C13.3045 7.46179 13.1726 7.7085 12.979 7.90215C12.7853 8.09579 12.5386 8.22766 12.27 8.28109C12.0014 8.33451 11.723 8.30709 11.47 8.20229C11.217 8.0975 11.0008 7.92002 10.8486 7.69233C10.6965 7.46463 10.6153 7.19693 10.6153 6.92308C10.6153 6.74125 10.6511 6.56119 10.7207 6.39321C10.7903 6.22522 10.8922 6.07258 11.0208 5.944C11.1494 5.81543 11.302 5.71344 11.47 5.64386C11.638 5.57427 11.8181 5.53846 11.9999 5.53846H11.9999ZM12.9231 18.4615H12C11.8788 18.4616 11.7587 18.4378 11.6467 18.3914C11.5347 18.345 11.4329 18.2771 11.3471 18.1913C11.2614 18.1056 11.1934 18.0038 11.147 17.8918C11.1007 17.7798 11.0769 17.6597 11.0769 17.5385V12C10.8321 12 10.5973 11.9027 10.4242 11.7296C10.2511 11.5565 10.1538 11.3217 10.1538 11.0769C10.1538 10.8321 10.2511 10.5973 10.4242 10.4242C10.5973 10.2511 10.8321 10.1538 11.0769 10.1538H12C12.1212 10.1538 12.2413 10.1776 12.3533 10.224C12.4654 10.2703 12.5671 10.3383 12.6529 10.4241C12.7386 10.5098 12.8066 10.6116 12.853 10.7236C12.8993 10.8356 12.9232 10.9557 12.9231 11.0769V16.6154C13.1679 16.6154 13.4027 16.7126 13.5758 16.8857C13.7489 17.0589 13.8462 17.2936 13.8462 17.5385C13.8462 17.7833 13.7489 18.0181 13.5758 18.1912C13.4027 18.3643 13.1679 18.4615 12.9231 18.4615Z\"\n fill={props.color}\n />\n </SvgIcon>\n );\n};\n\nexport default InfoFilled;\n","/* eslint-disable max-len */\n\nimport { ReactElement } from 'react';\n\nimport {\n SvgIcon,\n SvgIconProps,\n} from '@mui/material';\n\nconst InfoOutlined = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n data-testid=\"infoOutlined\"\n >\n <g clipPath=\"url(#clip0_12033_52181)\">\n <path\n d=\"M12 2C14.67 2 17.18 3.04 19.07 4.93C20.96 6.82 22 9.33 22 12C22 13.98 21.42 15.91 20.31 17.56C19.21 19.21 17.66 20.48 15.82 21.24C14.6 21.75 13.31 22 11.99 22C11.34 22 10.68 21.94 10.04 21.81C8.09001 21.42 6.32001 20.48 4.92001 19.07C3.52001 17.67 2.57001 15.9 2.18001 13.95C1.79001 12 1.99001 10.01 2.75001 8.17C3.51001 6.34 4.78001 4.78 6.43001 3.68C8.08001 2.58 10 2 11.98 1.99L12 2ZM11.98 -0.0100002C9.61001 -0.0100002 7.29001 0.69 5.31001 2.01C3.36001 3.34 1.82001 5.22 0.910006 7.41C5.48363e-06 9.6 -0.229994 12.01 0.230006 14.34C0.690006 16.67 1.84001 18.81 3.51001 20.48C5.19001 22.16 7.33001 23.3 9.65001 23.76C10.42 23.91 11.21 23.99 11.99 23.99C13.56 23.99 15.12 23.68 16.58 23.08C18.77 22.17 20.65 20.63 21.97 18.66C23.29 16.69 23.99 14.37 23.99 11.99C23.99 8.81 22.72 5.76 20.47 3.51C18.23 1.27 15.18 -2.29105e-07 12 -2.29105e-07L11.98 -0.0100002Z\"\n fill={props.color}\n />\n <path\n d=\"M12 5.54C12.27 5.54 12.54 5.62 12.77 5.77C13 5.92 13.18 6.14 13.28 6.39C13.38 6.64 13.41 6.92 13.36 7.19C13.31 7.46 13.17 7.71 12.98 7.9C12.79 8.09 12.54 8.23 12.27 8.28C12 8.33 11.72 8.31 11.47 8.2C11.22 8.1 11 7.92 10.85 7.69C10.7 7.46 10.62 7.19 10.62 6.92C10.62 6.74 10.66 6.56 10.73 6.39C10.8 6.22 10.9 6.07 11.03 5.94C11.16 5.81 11.31 5.71 11.48 5.64C11.65 5.57 11.83 5.53 12.01 5.53L12 5.54Z\"\n fill={props.color}\n />\n <path\n d=\"M12.92 18.46H12C11.88 18.46 11.76 18.44 11.65 18.39C11.54 18.34 11.44 18.28 11.35 18.19C11.26 18.1 11.2 18 11.15 17.89C11.1 17.78 11.08 17.66 11.08 17.54V12C10.84 12 10.6 11.9 10.43 11.73C10.26 11.56 10.16 11.32 10.16 11.08C10.16 10.84 10.26 10.6 10.43 10.43C10.6 10.26 10.84 10.16 11.08 10.16H12C12.12 10.16 12.24 10.18 12.35 10.23C12.46 10.28 12.56 10.34 12.65 10.43C12.74 10.52 12.8 10.62 12.85 10.73C12.9 10.84 12.92 10.96 12.92 11.08V16.62C13.16 16.62 13.4 16.72 13.57 16.89C13.74 17.06 13.84 17.3 13.84 17.54C13.84 17.78 13.74 18.02 13.57 18.19C13.4 18.36 13.16 18.46 12.92 18.46Z\"\n fill={props.color}\n />\n </g>\n <defs>\n <clipPath id=\"clip0_12033_52181\">\n <rect width=\"24\" height=\"24\" fill=\"white\" />\n </clipPath>\n </defs>\n </SvgIcon>\n );\n};\n\nexport default InfoOutlined;\n","/* eslint-disable max-len */\n\nimport { ReactElement } from 'react';\n\nimport { SvgIcon, SvgIconProps } from '@mui/material';\n\nconst CheckShield = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n data-testid=\"checkShield\"\n >\n <path\n d=\"M20.3941 1H2.7631C2.29568 1.00061 1.84758 1.18656 1.51707 1.51707C1.18656 1.84759 1.00061 2.29568 1 2.7631V9.22751C1 19.0855 9.35492 22.3543 11.0311 22.9096C11.3861 23.0301 11.7711 23.0301 12.1261 22.9096C13.8014 22.3543 22.1572 19.0864 22.1572 9.22751V2.7631C22.1566 2.29568 21.9706 1.84758 21.6401 1.51707C21.3096 1.18656 20.8615 1.00061 20.3941 1ZM17.0358 8.69031L10.5705 14.8612C10.4064 15.0176 10.1885 15.1048 9.96185 15.1048C9.7352 15.1048 9.51725 15.0176 9.3532 14.8612L6.12142 11.7757C6.03753 11.6958 5.97021 11.6002 5.9233 11.4943C5.87639 11.3883 5.85082 11.2742 5.84805 11.1584C5.84528 11.0425 5.86536 10.9273 5.90715 10.8193C5.94893 10.7112 6.01161 10.6124 6.09158 10.5286C6.17156 10.4448 6.26726 10.3776 6.37324 10.3308C6.47921 10.2839 6.59338 10.2585 6.7092 10.2558C6.82502 10.2531 6.94023 10.2733 7.04825 10.3152C7.15627 10.3571 7.25497 10.4199 7.33872 10.4999L9.96185 13.0042L15.8185 7.41448C15.9022 7.33443 16.0009 7.27167 16.1089 7.22978C16.217 7.1879 16.3322 7.16772 16.448 7.17038C16.5638 7.17305 16.678 7.19852 16.7839 7.24533C16.8899 7.29214 16.9856 7.35938 17.0656 7.4432C17.1456 7.52702 17.2083 7.62578 17.25 7.73384C17.2918 7.84189 17.3119 7.95712 17.3091 8.07294C17.3064 8.18876 17.2808 8.3029 17.2339 8.40883C17.187 8.51477 17.1197 8.61042 17.0358 8.69031H17.0358Z\"\n fill={props.color}\n />\n </SvgIcon>\n );\n};\n\nexport default CheckShield;\n","/* eslint-disable max-len */\n\nimport { ReactElement } from 'react';\n\nimport {\n SvgIcon,\n SvgIconProps,\n} from '@mui/material';\n\nconst CheckVerified = (props: SvgIconProps):ReactElement => {\n return (\n <SvgIcon\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n data-testid=\"checkVerified\"\n >\n <path\n d=\"M22.4852 9.30165C22.0811 8.8802 21.6632 8.44451 21.5053 8.06271C21.3601 7.71198 21.3514 7.13107 21.3429 6.5692C21.3271 5.52361 21.3092 4.33855 20.4853 3.51468C19.6614 2.69081 18.4764 2.67292 17.4308 2.65712C16.8689 2.64865 16.288 2.63986 15.9373 2.49473C15.5556 2.33684 15.1198 1.91895 14.6983 1.51475C13.9581 0.804722 13.1188 0 12 0C10.8812 0 10.042 0.804722 9.30165 1.51475C8.8802 1.91895 8.44451 2.33684 8.06271 2.49473C7.71198 2.63986 7.13107 2.64865 6.5692 2.65712C5.52361 2.67292 4.33855 2.69081 3.51468 3.51468C2.69081 4.33855 2.67292 5.52361 2.65712 6.5692C2.64865 7.13107 2.63986 7.71198 2.49473 8.06271C2.33684 8.44441 1.91895 8.8802 1.51475 9.30165C0.804722 10.0419 0 10.8812 0 12C0 13.1188 0.804722 13.958 1.51475 14.6983C1.91895 15.1198 2.33684 15.5555 2.49473 15.9373C2.63986 16.288 2.64865 16.8689 2.65712 17.4308C2.67292 18.4764 2.69081 19.6614 3.51468 20.4853C4.33855 21.3092 5.52361 21.3271 6.5692 21.3429C7.13107 21.3514 7.71198 21.3601 8.06271 21.5053C8.44441 21.6632 8.8802 22.0811 9.30165 22.4852C10.0419 23.1953 10.8812 24 12 24C13.1188 24 13.958 23.1953 14.6983 22.4852C15.1198 22.0811 15.5555 21.6632 15.9373 21.5053C16.288 21.3601 16.8689 21.3514 17.4308 21.3429C18.4764 21.3271 19.6614 21.3092 20.4853 20.4853C21.3092 19.6614 21.3271 18.4764 21.3429 17.4308C21.3514 16.8689 21.3601 16.288 21.5053 15.9373C21.6632 15.5556 22.0811 15.1198 22.4852 14.6983C23.1953 13.9581 24 13.1188 24 12C24 10.8812 23.1953 10.042 22.4852 9.30165ZM17.3061 10.0486L11.0203 16.0486C10.8609 16.2008 10.6489 16.2857 10.4285 16.2857C10.2081 16.2857 9.99618 16.2008 9.83674 16.0486L6.69392 13.0486C6.61244 12.9709 6.54708 12.8779 6.50155 12.7749C6.45603 12.672 6.43123 12.561 6.42859 12.4485C6.42595 12.3359 6.4455 12.224 6.48614 12.119C6.52678 12.014 6.58771 11.918 6.66544 11.8366C6.74318 11.7551 6.83619 11.6898 6.93918 11.6443C7.04217 11.5988 7.15311 11.5741 7.26567 11.5715C7.37823 11.5688 7.49019 11.5884 7.59517 11.6291C7.70016 11.6698 7.79609 11.7308 7.87751 11.8085L10.4285 14.2436L16.1225 8.80852C16.2039 8.73076 16.2998 8.6698 16.4048 8.62912C16.5098 8.58844 16.6218 8.56885 16.7343 8.57145C16.8469 8.57405 16.9578 8.59881 17.0608 8.64429C17.1638 8.68978 17.2568 8.75511 17.3346 8.83656C17.4123 8.918 17.4732 9.01397 17.5139 9.11896C17.5545 9.22396 17.5741 9.33593 17.5714 9.44849C17.5688 9.56104 17.544 9.67198 17.4984 9.77495C17.4529 9.87792 17.3876 9.97091 17.3061 10.0486Z\"\n fill={props.color}\n />\n </SvgIcon>\n );\n};\n\nexport default CheckVerified;\n","import { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';\n\n/**\n * pass fill = '#fff' and colorOverride ='#5BAC85'\n * @param props\n * @returns\n */\nconst SuccessIcon = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n data-testid=\"success\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <g id=\"Check Circle\">\n <circle id=\"Ellipse 70\" cx=\"10\" cy=\"10\" r=\"10\" fill={props.color} />\n <g id=\"check 12px\">\n <g id=\"checkmark\">\n <path\n id=\"Shape (Stroke)\"\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M15.8051 5.79289C16.1956 6.18342 16.1956 6.81658 15.8051 7.20711L8.80508 14.2071C8.61742 14.3948 8.36287 14.5001 8.09748 14.5C7.8321 14.4999 7.57765 14.3943 7.39018 14.2064L3.79218 10.6014C3.40203 10.2105 3.40265 9.57735 3.79355 9.18721C4.18445 8.79706 4.81762 8.79768 5.20776 9.18858L8.09866 12.0851L14.3909 5.79289C14.7814 5.40237 15.4146 5.40237 15.8051 5.79289Z\"\n fill={props.fill || '#fff'}\n />\n </g>\n </g>\n </g>\n </SvgIcon>\n );\n};\n\nexport default SuccessIcon;\n","import { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';\n\n/**\n * pass colorOverride = '#C81D1D'\n * @param props { color: color to be filled for icon}\n * @returns ErrorIcon, can be used in Input field, when input field is in error state\n */\nconst ErrorIcon = (props: SvgIconProps):ReactElement => {\n return (\n <SvgIcon\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n data-testid=\"error\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path\n d=\"M17.07 2.92999C15.4338 1.29429 13.2811 0.276523 10.9786 0.0501185C8.67611 -0.176286 6.36637 0.402675 4.44291 1.68835C2.51945 2.97403 1.1013 4.88687 0.430089 7.10094C-0.241121 9.31502 -0.123857 11.6933 0.761901 13.8306C1.64766 15.9679 3.24711 17.732 5.28771 18.8222C7.32831 19.9125 9.68381 20.2614 11.9528 19.8096C14.2219 19.3578 16.2641 18.1332 17.7314 16.3445C19.1988 14.5557 20.0005 12.3136 20 9.99999C19.9994 7.34804 18.9455 4.80491 17.07 2.92999ZM9 5.37999C9 5.11477 9.10536 4.86041 9.29289 4.67288C9.48043 4.48534 9.73478 4.37999 10 4.37999C10.2652 4.37999 10.5196 4.48534 10.7071 4.67288C10.8946 4.86041 11 5.11477 11 5.37999V10.6C11 10.8652 10.8946 11.1196 10.7071 11.3071C10.5196 11.4946 10.2652 11.6 10 11.6C9.73478 11.6 9.48043 11.4946 9.29289 11.3071C9.10536 11.1196 9 10.8652 9 10.6V5.37999ZM10 15.51C9.74684 15.51 9.49936 15.4349 9.28887 15.2943C9.07837 15.1536 8.91431 14.9537 8.81743 14.7198C8.72055 14.4859 8.6952 14.2286 8.74459 13.9803C8.79398 13.732 8.91589 13.5039 9.0949 13.3249C9.27391 13.1459 9.50199 13.024 9.75028 12.9746C9.99858 12.9252 10.2559 12.9505 10.4898 13.0474C10.7237 13.1443 10.9236 13.3084 11.0643 13.5189C11.2049 13.7294 11.28 13.9768 11.28 14.23C11.28 14.5695 11.1451 14.895 10.9051 15.1351C10.665 15.3751 10.3395 15.51 10 15.51Z\"\n fill={props.color}\n />\n </SvgIcon>\n );\n};\n\nexport default ErrorIcon;\n","import { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';\n\n/**\n *\n * @param props {fill: color of the trash icon}\n * @returns returns TrashIcon, used for marking delete symbol\n */\nconst TrashIcon = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon\n width=\"20\"\n height=\"21\"\n viewBox=\"0 0 20 21\"\n data-testid=\"trash\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M10 0C10.5523 0 11 0.447715 11 1V2.5H19C19.5523 2.5 20 2.94772 20 3.5C20 4.05228 19.5523 4.5 19 4.5H17.5V18C17.5 19.6569 16.1569 21 14.5 21H5.5C3.84315 21 2.5 19.6569 2.5 18V4.5H1C0.447715 4.5 0 4.05228 0 3.5C0 2.94772 0.447715 2.5 1 2.5H9V1C9 0.447715 9.44771 0 10 0ZM4.5 4.5V18C4.5 18.5523 4.94772 19 5.5 19H14.5C15.0523 19 15.5 18.5523 15.5 18V4.5H4.5ZM6.5 5.5C7.05228 5.5 7.5 5.94772 7.5 6.5V17C7.5 17.5523 7.05228 18 6.5 18C5.94772 18 5.5 17.5523 5.5 17V6.5C5.5 5.94772 5.94772 5.5 6.5 5.5ZM10 5.5C10.5523 5.5 11 5.94772 11 6.5V17C11 17.5523 10.5523 18 10 18C9.44771 18 9 17.5523 9 17V6.5C9 5.94772 9.44771 5.5 10 5.5ZM13.5 5.5C14.0523 5.5 14.5 5.94772 14.5 6.5V17C14.5 17.5523 14.0523 18 13.5 18C12.9477 18 12.5 17.5523 12.5 17V6.5C12.5 5.94772 12.9477 5.5 13.5 5.5Z\"\n fill={props.color}\n />\n </SvgIcon>\n );\n};\n\nexport default TrashIcon;\n","import { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';\n\n/**\n * pass colorOverride = '#5F5F5F'\n * @param props {fill: color to be filled for icon, color: color of the tick icon}\n * @returns SearchIcon, can be used in Input field, when input field is in success state\n */\nconst SearchIcon = (props: SvgIconProps): ReactElement=> {\n return (\n <SvgIcon\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n data-testid=\"search\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M0 9.98777C0 4.47167 4.46598 0 9.97505 0C15.4841 0 19.9501 4.47167 19.9501 9.98777C19.9501 11.7568 19.49 13.4205 18.6829 14.8629L23.2366 19.4844C24.2593 20.5223 24.2537 22.1921 23.2241 23.2231C22.1755 24.273 20.4704 24.2567 19.442 23.1869L15.0315 18.5988C13.5485 19.4736 11.8192 19.9755 9.97505 19.9755C4.46598 19.9755 0 15.5039 0 9.98777ZM16.6388 17.42L20.8646 21.8159C21.1265 22.0884 21.5608 22.0926 21.8279 21.8251C22.0902 21.5625 22.0916 21.1372 21.8311 20.8728L17.5309 16.5087C17.2531 16.8311 16.9551 17.1355 16.6388 17.42ZM9.97505 1.97696C5.55644 1.97696 1.97444 5.56352 1.97444 9.98777C1.97444 14.412 5.55644 17.9986 9.97505 17.9986C11.7025 17.9986 13.2995 17.4515 14.6063 16.5208C15.3948 15.9594 16.0773 15.2583 16.6179 14.454C17.4753 13.1784 17.9757 11.6431 17.9757 9.98777C17.9757 5.56352 14.3937 1.97696 9.97505 1.97696Z\"\n fill={props.color}\n />\n </SvgIcon>\n );\n};\n\nexport default SearchIcon;\n","import { ReactElement } from 'react';\n\nimport {\n SvgIcon,\n SvgIconProps,\n} from '@mui/material';\n\nconst SlashIcon = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon viewBox=\"0 0 2 22\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props} data-testid=\"slash\">\n <path\n d=\"M1 1L1 11L0.999999 21\"\n stroke={props.color}\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </SvgIcon>\n );\n};\n\nexport default SlashIcon;\n","import { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport { SvgIcon, SvgIconProps } from '@mui/material';\n\nconst Home = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" data-testid=\"home\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M23.77 12.4971C23.8226 12.577 23.8694 12.6606 23.91 12.7471C23.9626 12.8911 23.9864 13.044 23.98 13.1971C23.9839 13.3413 23.9566 13.4845 23.9 13.6171C23.8531 13.7514 23.7781 13.8741 23.68 13.9771C23.5815 14.0833 23.4624 14.1683 23.33 14.2271C23.206 14.2775 23.0738 14.3046 22.94 14.3071C22.7944 14.3048 22.651 14.2706 22.52 14.2071C22.3902 14.1445 22.2745 14.056 22.18 13.9471L12.28 3.33713C12.2277 3.27493 12.1581 3.22968 12.08 3.20713C12.0087 3.18275 11.9313 3.18275 11.86 3.20713C11.803 3.22861 11.7517 3.26281 11.71 3.30713L1.8 13.9271C1.70627 14.0302 1.59203 14.1126 1.46459 14.169C1.33716 14.2254 1.19935 14.2545 1.06 14.2545C0.920651 14.2545 0.78284 14.2254 0.655406 14.169C0.527971 14.1126 0.413727 14.0302 0.32 13.9271C0.217842 13.8273 0.136296 13.7084 0.08 13.5771C0.0284697 13.4396 0.00139518 13.294 0 13.1471C0.0013101 13.0035 0.0284068 12.8612 0.08 12.7271C0.136065 12.5928 0.217559 12.4705 0.32 12.3671L10.26 1.77713C10.6011 1.40957 11.0475 1.15652 11.538 1.05268C12.0286 0.94884 12.5393 0.999295 13 1.19713C13.2985 1.33692 13.5643 1.53794 13.78 1.78713L15.33 3.48713V3.10713C15.3302 2.82197 15.4372 2.54724 15.63 2.33713C15.7244 2.23535 15.8389 2.15434 15.9663 2.09925C16.0937 2.04415 16.2312 2.01619 16.37 2.01713H20C20.1486 2.0007 20.2989 2.01779 20.44 2.06713C20.5669 2.12598 20.6821 2.20728 20.78 2.30713C20.8776 2.41428 20.9525 2.54016 21 2.67713C21.0449 2.80898 21.0652 2.94794 21.06 3.08713V9.56713L23.77 12.4971ZM19 7.33713V4.17713H17.42V5.67713L19 7.33713ZM19.28 13.94C19.4773 13.7598 19.7329 13.6569 20 13.65C20.2667 13.6586 20.5217 13.7613 20.72 13.94C20.8169 14.0298 20.8951 14.1378 20.95 14.258C21.0049 14.3781 21.0355 14.508 21.04 14.64V22.02C21.0355 22.152 21.0049 22.2819 20.95 22.402C20.8951 22.5222 20.8169 22.6302 20.72 22.72C20.5232 22.8997 20.2665 22.9996 20 23H14.22C13.9504 23.0001 13.6903 22.9004 13.49 22.72C13.3949 22.6294 13.3185 22.5209 13.2653 22.4008C13.2121 22.2807 13.1831 22.1513 13.18 22.02V16.66C13.18 16.6134 13.1691 16.5675 13.1483 16.5258C13.1275 16.4842 13.0972 16.4479 13.06 16.42C13.0207 16.3807 12.9739 16.3498 12.9223 16.3292C12.8707 16.3086 12.8155 16.2986 12.76 16.3H11.3C11.2443 16.2974 11.1887 16.3068 11.137 16.3275C11.0852 16.3482 11.0385 16.3797 11 16.42C10.9597 16.4426 10.9252 16.4743 10.8992 16.5124C10.8732 16.5506 10.8564 16.5943 10.85 16.64V22.04C10.851 22.173 10.8229 22.3046 10.7676 22.4255C10.7123 22.5464 10.6312 22.6538 10.53 22.74C10.4345 22.8321 10.3217 22.9043 10.1981 22.9523C10.0745 23.0004 9.94256 23.0234 9.80997 23.02H3.99997C3.85815 23.0235 3.71703 22.9988 3.58484 22.9473C3.45265 22.8958 3.33202 22.8186 3.22997 22.72C3.13304 22.6302 3.05485 22.5222 2.99993 22.402C2.945 22.2819 2.91443 22.152 2.90997 22.02V14.64C2.91311 14.5063 2.94305 14.3745 2.99802 14.2526C3.05298 14.1306 3.13186 14.0209 3.22997 13.93C3.43312 13.7554 3.69211 13.6594 3.95997 13.6594C4.22783 13.6594 4.48683 13.7554 4.68997 13.93C4.78627 14.0218 4.86329 14.1318 4.91652 14.2538C4.96975 14.3757 4.99812 14.507 4.99997 14.64V21.09H8.76997V16.68C8.7711 16.3671 8.83749 16.0578 8.9649 15.772C9.09232 15.4861 9.27797 15.23 9.50997 15.02C9.74648 14.8043 10.0212 14.6348 10.32 14.52C10.622 14.4001 10.9451 14.3423 11.27 14.35H12.73C13.3796 14.3465 14.0071 14.5854 14.49 15.02C14.7181 15.2289 14.9014 15.482 15.0286 15.7639C15.1558 16.0459 15.2243 16.3507 15.23 16.66V21.07H18.96V14.64C18.9609 14.5073 18.9899 14.3764 19.045 14.2557C19.1002 14.1351 19.1803 14.0275 19.28 13.94Z\"\n fill={props?.color}\n />\n </SvgIcon>\n );\n};\n\nexport default Home;\n","import { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';\n\n/**\n *\n * @param props { fill: color to be filled for icon, color: color of the tick icon}\n * @returns ErrorIcon, can be used in Input field, when input field is in error state\n */\nconst AlertErrorIcon = (props: SvgIconProps):ReactElement => {\n return (\n <SvgIcon\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n data-testid=\"alertError\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <g id=\"icon/alert/WarningFill-red\" transform=\"translate(1.000000, 1.000000)\">\n <g id=\"Error2\" transform=\"translate(0.000000, 1.200000)\">\n <path\n d=\"M17.9465423,14.8670135 L9.44311247,0.246687943 C9.35049358,0.100809118 9.18936767,0.012383152 9.01617259,0.012383152 C8.84297751,0.012383152 8.68185161,\n 0.100809118 8.58923271,0.246687943 L0.0706452929,14.8670135 C-0.0142965839,15.0216954 -0.0118890438,15.2093943 0.0769925071,15.3618609 C0.165874058,\n 15.5143276 0.328282319,15.6093523 0.505163987,15.6123832 L17.5120236,15.6123832 C17.6889052,15.6093523 17.8513135,15.5143276 17.940195,15.3618609 C18.0290766,\n 15.2093943 18.0314841,15.0216954 17.9465423,14.8670135 Z\"\n id=\"Shape\"\n fill={props.color}\n fillRule=\"nonzero\"\n ></path>\n <path\n d=\"M8.19,12.84 C8.16437588,12.6281014 8.2368299,12.4160897 8.38677958,12.2641927 C8.53672927,12.1122956 8.74778837,12.0371121 8.96,12.06 C9.16715704,\n 12.0467652 9.37034806,12.1211477 9.52,12.265 C9.65709398,12.4241339 9.72701115,12.6303 9.715,12.84 C9.72048715,13.0522748 9.64341383,13.2584012 9.5,\n 13.415 C9.35312473,13.5641498 9.1489517,13.6425377 8.94,13.63 C8.72997224,13.6424095 8.52401376,13.5683367 8.37,13.425 C8.23531653,13.2613056 8.17063593,\n 13.0510936 8.19,12.84 Z M9.415,11.195 L8.5,11.195 L8.25,5.96 L9.675,5.96 L9.415,11.195 Z\"\n id=\"Shape\"\n fill={'#FFFFFF'}\n fillRule=\"nonzero\"\n ></path>\n </g>\n </g>\n </SvgIcon>\n );\n};\n\nexport default AlertErrorIcon;\n","import { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';\n\n/**\n * pass colorOverride = '#FEBD00'\n * @param props { fill: color to be filled for icon, color: color of the tick icon}\n * @returns ErrorIcon, can be used in Input field, when input field is in error state\n */\nconst WarningIcon = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n data-testid=\"warning\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <g id=\"💎-icon/alert/WarningFill-yellow\" transform=\"translate(1.000000, 1.000000)\">\n <g id=\"Warning2\" transform=\"translate(0.000000, 1.200000)\">\n <path\n d=\"M17.9465423,14.8670135 L9.44311247,0.246687943 C9.35049358,0.100809118 9.18936767,0.012383152 9.01617259,0.012383152 C8.84297751,0.012383152 8.68185161,\n 0.100809118 8.58923271,0.246687943 L0.0706452929,14.8670135 C-0.0142965839,15.0216954 -0.0118890438,15.2093943 0.0769925071,15.3618609 C0.165874058,\n 15.5143276 0.328282319,15.6093523 0.505163987,15.6123832 L17.5120236,15.6123832 C17.6889052,15.6093523 17.8513135,15.5143276 17.940195,15.3618609 C18.0290766,\n 15.2093943 18.0314841,15.0216954 17.9465423,14.8670135 Z\"\n id=\"Shape\"\n fill={props.color}\n fillRule=\"nonzero\"\n ></path>\n <path\n d=\"M8.19,12.84 C8.16437588,12.6281014 8.2368299,12.4160897 8.38677958,12.2641927 C8.53672927,12.1122956 8.74778837,12.0371121 8.96,12.06 C9.16715704,\n 12.0467652 9.37034806,12.1211477 9.52,12.265 C9.65709398,12.4241339 9.72701115,12.6303 9.715,12.84 C9.72048715,13.0522748 9.64341383,13.2584012 9.5,\n 13.415 C9.35312473,13.5641498 9.1489517,13.6425377 8.94,13.63 C8.72997224,13.6424095 8.52401376,13.5683367 8.37,13.425 C8.23531653,13.2613056 8.17063593,\n 13.0510936 8.19,12.84 Z M9.415,11.195 L8.5,11.195 L8.25,5.96 L9.675,5.96 L9.415,11.195 Z\"\n id=\"Shape\"\n fill=\"#FFFFFF\"\n fillRule=\"nonzero\"\n ></path>\n </g>\n </g>\n </SvgIcon>\n );\n};\n\nexport default WarningIcon;\n","/* eslint-disable max-len */\n\nimport { ReactElement } from 'react';\n\nimport {\n SvgIcon,\n SvgIconProps,\n} from '@mui/material';\n\nconst CloseIcon = (props: SvgIconProps):ReactElement => {\n return (\n <SvgIcon\n viewBox=\"0 0 12 12\"\n preserveAspectRatio=\"xMidYMid meet\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlnsXlink=\"http://www.w3.org/1999/xlink\"\n {...props}\n data-testid=\"close\"\n >\n <g fill=\"none\" stroke={props.color} strokeWidth=\"1\">\n <path strokeLinecap=\"round\" d=\"M 0 0 L 12 12 M 0 12 L 12 0\" />\n </g>\n </SvgIcon>\n );\n};\n\nexport default CloseIcon;\n","import { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';\n\n/**\n *\n * @param props {fill: color to be filled for icon, color: color of the tick icon}\n */\nconst UserIcon = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon\n viewBox=\"0 0 24 24\"\n data-testid=\"userIcon\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n fill=\"transparent\"\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23Z\"\n stroke={props.color}\n strokeWidth=\"2\"\n />\n <path\n d=\"M19 20C18.9425 19.3229 19 17.5669 17.3793 17.2226C14.7126 16.6144 13.931 16.4078 14.1034 14.2272C15.8046 13.0796 15.7816 11.0252 15.7471 8.74139C15.7471 6.67508 14.0695 5 12 5C9.93052 5 8.25287 6.67508 8.25287 8.74139C8.25287 11.0367 8.25287 13.137 9.89655 14.2272C10.0575 16.4078 9.28736 16.6144 6.62069 17.2226C5 17.5669 5.05747 19.3229 5 20\"\n stroke={props.color}\n fill={props.color}\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n />\n </SvgIcon>\n );\n};\n\nexport default UserIcon;\n","import { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';\n\n/**\n *\n * @param props {stroke}\n */\nconst HamburgerIcon = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon viewBox=\"0 0 24 18\" {...props} data-testid=\"hamburgerIcon\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n stroke={props.color}\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M0 1C0 0.447715 0.447715 0 1 0H19C19.5523 0 20 0.447715 20 1C20 1.55228 19.5523 2 19 2H1C0.447715 2 0 1.55228 0 1Z\"\n />\n <path\n stroke={props.color}\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M0 9C0 8.44772 0.447715 8 1 8H19C19.5523 8 20 8.44772 20 9C20 9.55228 19.5523 10 19 10H1C0.447715 10 0 9.55228 0 9Z\"\n />\n <path\n stroke={props.color}\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M0 17C0 16.4477 0.447715 16 1 16H19C19.5523 16 20 16.4477 20 17C20 17.5523 19.5523 18 19 18H1C0.447715 18 0 17.5523 0 17Z\"\n />\n </SvgIcon>\n );\n};\n\nexport default HamburgerIcon;\n","import { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';\n\n/**\n * * pass colorOverride = '#272525'\n */\nfunction UserOutline(props: SvgIconProps): ReactElement {\n return (\n <SvgIcon\n data-testid=\"userOutline\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M12 1.25C6.06294 1.25 1.25 6.06294 1.25 12C1.25 17.9371 6.06294 22.75 12 22.75C17.9371 22.75 22.75 17.9371 22.75 12C22.75 6.06294 17.9371 1.25 12 1.25ZM2.75 12C2.75 6.89137 6.89137 2.75 12 2.75C17.1086 2.75 21.25 6.89137 21.25 12C21.25 14.5514 20.217 16.8615 18.5465 18.535C18.5373 18.5053 18.5278 18.4757 18.5177 18.4462C18.2909 17.7811 17.7908 17.0816 16.7743 16.861C16.1976 16.7279 15.7597 16.6249 15.4126 16.5154C15.0619 16.4048 14.8722 16.3075 14.7621 16.2197C14.6519 16.1318 14.5229 15.9893 14.534 15.3824C15.2564 14.7722 15.6208 13.9828 15.7989 13.145C15.9917 12.2377 15.9765 11.218 15.9621 10.2575L15.9618 10.2367C15.9587 8.04108 14.1928 6.25 12 6.25C9.80523 6.25 8.03818 8.04427 8.03818 10.2425L8.03818 10.2902C8.03812 11.2492 8.03807 12.2685 8.23093 13.1685C8.40828 13.9961 8.76096 14.7856 9.46415 15.382C9.47219 15.9884 9.34391 16.1319 9.23338 16.2204C9.12398 16.3079 8.93522 16.4051 8.58559 16.5155C8.23946 16.6249 7.80232 16.728 7.22572 16.861C6.20921 17.0816 5.70909 17.7811 5.48226 18.4462C5.47222 18.4757 5.46266 18.5053 5.45354 18.535C3.78298 16.8615 2.75 14.5514 2.75 12ZM6.77658 19.6351C8.26295 20.6539 10.0619 21.25 12 21.25C13.9381 21.25 15.7371 20.6539 17.2234 19.6351C17.206 19.3999 17.1779 19.1646 17.098 18.9304C16.9903 18.6146 16.822 18.4054 16.4533 18.3262L16.4423 18.3239L16.4423 18.3238C15.8787 18.1938 15.3772 18.0771 14.9615 17.946C14.5483 17.8157 14.1512 17.6513 13.8266 17.3922C13.0849 16.8004 12.9768 15.9412 13.0552 14.9385L13.0833 14.58L13.3803 14.3774C13.9081 14.0173 14.1862 13.5172 14.3317 12.8331C14.4843 12.1148 14.477 11.265 14.4619 10.2537L14.4617 10.2425H14.4618C14.4618 8.8592 13.3529 7.75 12 7.75C10.6471 7.75 9.53818 8.8592 9.53818 10.2425C9.53818 11.259 9.54149 12.1256 9.69764 12.8542C9.84777 13.5548 10.1225 14.0439 10.6148 14.3741L10.9184 14.5777L10.9451 14.9423C11.0181 15.9429 10.9092 16.8005 10.1706 17.3915C9.84647 17.6509 9.45024 17.8154 9.03756 17.9458C8.62239 18.077 8.12144 18.1938 7.55771 18.3238L7.54669 18.3263L7.54667 18.3262C7.17801 18.4054 7.00968 18.6146 6.90197 18.9304C6.8221 19.1646 6.79403 19.3999 6.77658 19.6351Z\"\n fill={props.color}\n />\n </SvgIcon>\n );\n}\n\nexport default UserOutline;\n","/* eslint-disable max-len */\n\nimport { ReactElement } from 'react';\n\nimport {\n SvgIcon,\n SvgIconProps,\n} from '@mui/material';\n\nconst Check = (props: SvgIconProps):ReactElement => {\n return (\n <SvgIcon\n viewBox=\"0 0 21 20\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n preserveAspectRatio=\"xMidYMid meet\"\n data-testid=\"check\"\n {...props}\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M20.0625 3.57806C20.3879 3.9035 20.3879 4.43114 20.0625 4.75657L8.39582 16.4232C8.23944 16.5796 8.02731 16.6674 7.80616 16.6673C7.585 16.6672 7.37296 16.5792 7.21673 16.4227L1.22007 10.4143C0.894947 10.0886 0.89546 9.56094 1.22121 9.23582C1.54697 8.9107 2.0746 8.91122 2.39972 9.23697L7.80714 14.6549L18.884 3.57806C19.2094 3.25263 19.737 3.25263 20.0625 3.57806Z\"\n fill={props.color}\n />\n </SvgIcon>\n );\n};\n\nexport default Check;\n","import { ReactElement } from 'react';\n\n/* figma link:\n https://www.figma.com/file/PYBXZQL5mleej9AlspDSuI/Equinox-Designs?type=design&node-id=82-1276&mode=design&t=k8Kqtpp3QmkKcOlT-4\n*/\nimport {\n SvgIcon,\n SvgIconProps,\n} from '@mui/material';\n\nconst RoundedClose = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon\n width=\"25\"\n height=\"25\"\n viewBox=\"0 0 25 25\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n data-testid=\"roundedClose\"\n >\n <rect x=\"0.734863\" y=\"0.730225\" width=\"24\" height=\"24\" rx=\"12\" fill={props.color} />\n <path\n d=\"M13.7942 12.7302L16.9911 9.53333C17.2817 9.2427 17.2817 8.76458 16.9911 8.47395C16.7005 8.18333 16.2224 8.18333 15.9317 8.47395L12.7349 11.6708L9.53799 8.47395C9.24736 8.18333 8.76924 8.18333 8.47861 8.47395C8.3333 8.61926 8.2583 8.81145 8.2583 9.00364C8.2583 9.19583 8.3333 9.38801 8.47861 9.53333L11.6755 12.7302L8.47861 15.9271C8.3333 16.0724 8.2583 16.2646 8.2583 16.4568C8.2583 16.6489 8.3333 16.8411 8.47861 16.9864C8.76924 17.2771 9.24736 17.2771 9.53799 16.9864L12.7349 13.7896L15.9317 16.9864C16.2224 17.2771 16.7005 17.2771 16.9911 16.9864C17.2817 16.6958 17.2817 16.2177 16.9911 15.9271L13.7942 12.7302Z\"\n fill=\"#292929\"\n />\n </SvgIcon>\n );\n};\n\nexport default RoundedClose;\n","import { ReactElement } from 'react';\n\nimport {\n SvgIcon,\n SvgIconProps,\n} from '@mui/material';\n\nexport const ChevronRight = (props: SvgIconProps):ReactElement => {\n return (\n <SvgIcon\n {...props}\n data-testid=\"chevronRight\"\n viewBox=\"0 0 18 18\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g id=\"arrow-right\">\n <path\n id=\"icon\"\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n // eslint-disable-next-line max-len\n d=\"M12.1553 8.46967C12.4482 8.76256 12.4482 9.23744 12.1553 9.53033L6.90533 14.7803C6.61244 15.0732 6.13756 15.0732 5.84467 14.7803C5.55178 14.4874 5.55178 14.0126 5.84467 13.7197L10.5643 9L5.84467 4.28033C5.55178 3.98744 5.55178 3.51256 5.84467 3.21967C6.13756 2.92678 6.61244 2.92678 6.90533 3.21967L12.1553 8.46967Z\"\n fill={props.color}\n />\n </g>\n </SvgIcon>\n );\n};\n\nexport default ChevronRight;\n","import ArrowDown from './icons/ArrowDown';\nimport ArrowUp from './icons/ArrowUp';\nimport ArrowLeft from './icons/ArrowLeft';\nimport ArrowRight from './icons/ArrowRight';\nimport Cart from './icons/Cart';\nimport CartBadge from './icons/CartBadge';\nimport InfoFilled from './icons/InfoFilled';\nimport InfoOutlined from './icons/InfoOutlined';\nimport CheckShield from './icons/CheckShield';\nimport CheckVerified from './icons/CheckVerified';\nimport SuccessIcon from './icons/SuccessIcon';\nimport ErrorIcon from './icons/ErrorIcon';\nimport TrashIcon from './icons/TrashIcon';\nimport SearchIcon from './icons/SearchIcon';\nimport SlashIcon from './icons/SlashIcon';\nimport Home from './icons/home';\nimport AlertErrorIcon from './icons/AlertErrorIcon';\nimport WarningIcon from './icons/WarningIcon';\nimport CloseIcon from './icons/CloseIcon';\nimport UserIcon from './icons/UserIcon';\nimport HamburgerIcon from './icons/HamburgerIcon';\nimport UserOutline from './icons/UserOutline';\nimport Check from './icons/Check';\nimport RoundedClose from './icons/RoundedClose';\nimport ChevronRight from './icons/ChevronRight';\n\nconst IconVariants = {\n arrowDown: ArrowDown,\n arrowUp: ArrowUp,\n arrowLeft: ArrowLeft,\n arrowRight: ArrowRight,\n alertError: AlertErrorIcon,\n cart: Cart,\n cartBadge: CartBadge,\n close: CloseIcon,\n check: Check,\n checkShield: CheckShield,\n checkVerified: CheckVerified,\n error: ErrorIcon,\n hamburgerIcon: HamburgerIcon,\n home: Home,\n infoFilled: InfoFilled,\n infoOutlined: InfoOutlined,\n search: SearchIcon,\n success: SuccessIcon,\n slash: SlashIcon,\n trash: TrashIcon,\n userIcon: UserIcon,\n userOutline: UserOutline,\n warning: WarningIcon,\n roundedClose: RoundedClose,\n chevronRight: ChevronRight,\n};\n\nexport default IconVariants;\nexport const isValidIconName = (name: string) => Object.keys(IconVariants).includes(name);\n","import React, {\n ReactElement,\n useState,\n} from 'react';\n\nimport {\n NsAccordionItem,\n NsToggleSectionProps,\n} from '../';\n\n/**\n * NsToggleSection takes prop `title` and prop `children` and toggles\n * children with animation when clicked on title\n *\n * it also has a `defaultOpen` prop, which when true, children is visible\n * by default, otherwise children is hidden by default and toggles between visible\n * and hidden on clicking title\n */\nconst NsToggleSection = ({\n title,\n content,\n additionalProps,\n defaultOpen,\n variant,\n invert,\n isChild,\n type,\n}: NsToggleSectionProps): ReactElement => {\n const [isExpanded, setIsExpanded] = useState(defaultOpen ?? false);\n\n const toggleAccordion = () => {\n setIsExpanded(!isExpanded);\n };\n return (\n <NsAccordionItem\n type={type}\n level={2}\n variant={variant}\n additionalProps={additionalProps}\n isOpen={isExpanded}\n title={title}\n content={content}\n toggleOpen={toggleAccordion}\n invert={invert}\n isChild={isChild}\n />\n );\n};\n\nexport default NsToggleSection;\n","import { styled } from '@nuskin/foundation-theme';\nimport { AccordionVariant, AccordionVariantType } from '../';\n\nconst border = '1px solid rgb(0,0,0,0.125)';\n\ntype StyledType = { variant: AccordionVariantType };\n\nexport const StyledToggleSection = styled('section')<StyledType>(({ variant }) => {\n if (variant === AccordionVariant.Compact) {\n return { borderRight: border };\n }\n return {\n margin: '5px 0',\n };\n});\n\nexport const StyledAccordionWrapper = styled('div')<StyledType>(({ variant }) => {\n if (variant === AccordionVariant.Compact) {\n return {\n display: 'flex',\n flexDirection: 'column',\n gap: '0',\n borderTop: border,\n borderLeft: border,\n };\n }\n return {\n display: 'flex',\n flexDirection: 'column',\n gap: '10px',\n };\n});\n","import React, { ReactElement } from 'react';\n\nimport { NsAccordionItemProps, NsCollapse } from '../';\nimport NsAccordionHeader from './NsAccordionHeader';\nimport { StyledToggleSection } from './ToggleSection.styled';\n\n/**\n * this component is used by accordion to pass title\n * and content\n * cslp:{header:CslpTag, content:CslpTag}\n */\nconst NsAccordionItem = ({\n isOpen,\n isChild,\n toggleOpen,\n title,\n content,\n variant,\n headerTypographyVariant,\n closedIconName,\n openedIconName,\n startIcon,\n level,\n additionalProps,\n invert,\n type,\n cslp,\n allowMultipleExpanded,\n showEndIconWhenEmpty,\n}: NsAccordionItemProps): ReactElement => {\n return (\n <StyledToggleSection variant={variant}>\n <NsAccordionHeader\n invert={invert}\n additionalProps={{ ...additionalProps, className: 'accordion-section ' + additionalProps?.className }}\n closedIconName={closedIconName}\n headerTypographyVariant={headerTypographyVariant}\n isOpen={isOpen}\n openedIconName={openedIconName}\n onClick={toggleOpen}\n title={title}\n variant={variant}\n startIcon={startIcon}\n cslp={cslp}\n showEndIconWhenEmpty={showEndIconWhenEmpty}\n content={content}\n />\n {content || showEndIconWhenEmpty ? (\n <NsCollapse\n type={type}\n isChild={isChild}\n isOpen={isOpen}\n variant={variant}\n level={level}\n invert={invert}\n content={content}\n cslp={cslp}\n allowMultipleExpanded={allowMultipleExpanded}\n />\n ) : null}\n </StyledToggleSection>\n );\n};\n\nexport default NsAccordionItem;\n","import React, { ReactElement, useMemo } from 'react';\n\nimport { AccordionItem, NsAccordionItem, NsAccordionProps, NsTypography, useAccordionMap } from '../';\nimport { StyledAccordionWrapper } from './ToggleSection.styled';\n\n/**\n * NsAccordion can be used to show a list of items with title and body\n * it accepts a `boolean` prop `allowMultipleExpanded` which when true,\n * multiple sections of accordion can remain open at a time\n *\n * we can define certain section to remain open by default using `isDefaultOpen` in the\n * items\n * if there are multiple items available for default open, but `allowMultipleExpanded`\n * is false then only first item of default open is made open\n */\nconst createKey = (item: AccordionItem, index: number) => item?.id + index;\nconst NsAccordion = ({\n allowMultipleExpanded,\n invert,\n level,\n variant,\n items,\n headerTypographyVariant,\n closedIconName,\n openedIconName,\n additionalProps,\n isChild = false,\n showEndIconWhenEmpty = false,\n}: NsAccordionProps): ReactElement => {\n const defaultOpenIds = useMemo(() => {\n return items\n ?.map?.((content, index) => (content?.isDefaultOpen ? createKey(content, index) : null))\n .filter((e) => e !== null) as string[];\n }, [items]);\n\n const { toggleOpen, itemStateMap } = useAccordionMap({ allowMultipleExpanded, defaultOpenIds });\n\n return (\n <StyledAccordionWrapper\n variant={variant}\n className=\"ns-accordion\"\n data-testid={additionalProps?.testid ?? 'ns-accordion-testid'}\n >\n {items?.map?.((item, index) => {\n const key = createKey(item, index);\n const isOpen = itemStateMap[key] ?? false;\n return (\n <NsAccordionItem\n allowMultipleExpanded={item.allowMultipleExpanded}\n type={item.type}\n closedIconName={closedIconName}\n content={item.content}\n headerTypographyVariant={headerTypographyVariant}\n invert={invert}\n isOpen={isOpen}\n isChild={isChild}\n key={key}\n level={level}\n openedIconName={openedIconName}\n startIcon={item.icon}\n toggleOpen={() => toggleOpen(createKey(item, index))}\n title={\n <NsTypography\n weight=\"bold\"\n variant=\"h6\"\n className=\"nsa-item-title\"\n additionalProps={{ ...item.$?.item_title }}\n >\n {item.title}\n </NsTypography>\n }\n cslp={{ content: item.$?.rte ?? { 'data-cslp': '' } }}\n variant={variant}\n showEndIconWhenEmpty={showEndIconWhenEmpty}\n />\n );\n })}\n </StyledAccordionWrapper>\n );\n};\n\nexport default NsAccordion;\n","import React, {\n ReactElement,\n useEffect,\n useState,\n} from 'react';\n\nimport useWindowSize from '../hooks/useWindowSize';\nimport { NsIcon } from '../icon';\nimport { NsTypography } from '../typography';\nimport Header, {\n colorMap,\n iconMap,\n} from './Header';\nimport {\n Alert,\n AlertBody,\n AlertCloseButton,\n AlertContainer,\n AlertContent,\n AlertFoot,\n AlertHead,\n AlertIcon,\n} from './NsAlert.styled';\nimport type {\n AlertType,\n ContextType,\n NsAlertProps,\n} from './types.d';\n\nexport default function NsAlert({\n context = 'info',\n title = 'Information',\n threshold = 600,\n type = 'banner',\n visible = false,\n head,\n body,\n foot,\n onDismiss = undefined,\n}: NsAlertProps): ReactElement {\n const [alertType, setAlertType] = useState('banner');\n const windowSize = useWindowSize();\n\n const hasDismissListener = typeof onDismiss === 'function';\n\n useEffect(() => {\n if (!context) {\n console.error(`Invalid prop value for 'context': ${context}`);\n }\n if (!type) {\n console.error(`Invalid prop value for 'type': ${type}`);\n }\n if (type === 'auto') {\n setAlertType(windowSize.width < threshold ? 'card' : 'banner');\n } else {\n setAlertType(type);\n }\n }, [threshold, type, windowSize.width, context]);\n\n return (\n <AlertContainer visible={visible} data-testid=\"alert-container\">\n <Alert type={alertType as AlertType} context={context as ContextType}>\n <AlertIcon>\n <NsIcon\n name={iconMap[context] || iconMap.default}\n color={colorMap[context] || colorMap.default}\n size=\"large\"\n />\n </AlertIcon>\n <AlertHead>\n <Header\n head={\n <NsTypography variant=\"body-xl\" className=\"alert-head-title\" weight=\"bold\" noSpacing>\n {title}\n </NsTypography>\n }\n >\n {head}\n </Header>\n </AlertHead>\n {hasDismissListener && (\n <AlertCloseButton data-testid=\"alert-close-button\" onClick={onDismiss}>\n <NsIcon name=\"close\" size=\"small\" cursor=\"pointer\" />\n </AlertCloseButton>\n )}\n <AlertContent type={alertType as AlertType}>\n <AlertBody>{body}</AlertBody>\n {foot ? <AlertFoot type={alertType as AlertType}>{foot}</AlertFoot> : null}\n </AlertContent>\n </Alert>\n </AlertContainer>\n );\n}\n","import { useState, useEffect } from 'react';\n\nconst useWindowSize = () => {\n const [windowSize, setWindowSize] = useState({\n width: window.innerWidth,\n height: window.innerHeight,\n });\n\n useEffect(() => {\n function handleResize() {\n setWindowSize({\n width: window?.innerWidth || 300,\n height: window?.innerHeight || 300,\n });\n }\n if (typeof window !== 'undefined') {\n window.addEventListener('resize', handleResize);\n }\n\n return () => {\n if (typeof window !== 'undefined') {\n window.removeEventListener('resize', handleResize);\n }\n };\n }, []);\n\n return windowSize;\n};\n\nexport default useWindowSize;\n","import { ReactElement } from 'react';\n\nimport { useTheme } from '@mui/material';\nimport { ColorUtils } from '@nuskin/foundation-theme';\n\nimport { IconWrapper } from './NsIcon.styled';\nimport IconVariants from './NsIconVariants';\nimport { NsIconNameType, NsIconProps } from './types.d';\n\nconst { paletteColor } = ColorUtils;\n\nconst NsIcon = ({\n name,\n size,\n color = 'primary',\n testId = 'icon',\n className,\n colorOverride,\n onClick = () => {},\n cursor = 'pointer',\n ...rest\n}: NsIconProps): ReactElement | null => {\n const Icon = IconVariants[name as NsIconNameType];\n const theme = useTheme();\n const iconColor = paletteColor(color)({ theme });\n if (!Icon) {\n return null;\n }\n\n return (\n <IconWrapper\n {...rest}\n data-testid={testId}\n size={size || 'large'}\n className={className}\n onClick={onClick}\n cursor={cursor}\n >\n <Icon color={colorOverride ? colorOverride : (iconColor as any)} />\n </IconWrapper>\n );\n};\n\nexport default NsIcon;\n","import { styled } from '@nuskin/foundation-theme';\n\nimport {\n NsIconProps,\n NsIconSizeType,\n} from './types.d';\n\nexport const iconSize: Record<NsIconSizeType, string> = {\n small: '16px',\n medium: '20px',\n large: '24px',\n xLarge: '30px',\n};\ntype IconWrapperType = { size: NsIconSizeType; cursor: NsIconProps['cursor'] };\n\nexport const IconWrapper = styled('span')<IconWrapperType>(({ size, cursor }) => {\n return {\n display: 'flex',\n placeContent: 'center',\n placeItems: 'center',\n cursor,\n svg: {\n width: iconSize[size],\n height: iconSize[size],\n },\n };\n});\n","import { HtmlTagVariant } from './types';\n\nconst HtmlTagVariantMapping: Record<string, HtmlTagVariant> = {\n h1: 'h1',\n h2: 'h2',\n h3: 'h3',\n h4: 'h4',\n h5: 'h5',\n h6: 'h6',\n CTA: 'span',\n 'title-l': 'h3',\n 'title-m': 'h5',\n 'title-s': 'h6',\n 'label-l': 'label',\n 'label-m': 'label',\n 'label-s': 'label',\n 'body-xl': 'p',\n 'body-l': 'p',\n 'body-m': 'p',\n 'body-s': 'p',\n 'body-xs': 'p',\n};\n\nexport default HtmlTagVariantMapping;\n","import { ColorUtils, FoundationTheme, styled } from '@nuskin/foundation-theme';\n\nimport { NsTypographyProps } from './types.d';\n\nconst { paletteColor } = ColorUtils;\n\ntype TypographyConfig = {\n fontFamily: string;\n fontSize?: number;\n lineHeight?: number;\n letterSpacingPercentage?: number;\n paragraphSpacing?: number;\n fontWeight?: number;\n};\n\nconst defaultFont = 'Inter';\nconst defaultTypographyStyles = {\n h1: {\n fontFamily: defaultFont,\n fontSize: 42,\n lineHeight: 48,\n letterSpacingPercentage: 0,\n paragraphSpacing: 0,\n },\n h2: {\n fontFamily: defaultFont,\n fontSize: 36,\n lineHeight: 42,\n letterSpacingPercentage: 0,\n paragraphSpacing: 0,\n },\n h3: {\n fontFamily: defaultFont,\n fontSize: 32,\n lineHeight: 38,\n letterSpacingPercentage: 0,\n paragraphSpacing: 0,\n },\n h4: {\n fontFamily: defaultFont,\n fontSize: 26,\n lineHeight: 34,\n letterSpacingPercentage: 0,\n paragraphSpacing: 0,\n },\n h5: {\n fontFamily: defaultFont,\n fontSize: 22,\n lineHeight: 28,\n letterSpacingPercentage: 0,\n fontWeight: 700,\n paragraphSpacing: 0,\n },\n h6: {\n fontFamily: defaultFont,\n fontSize: 18,\n lineHeight: 24,\n letterSpacingPercentage: 0,\n fontWeight: 600,\n paragraphSpacing: 0,\n },\n 'title-l': {\n fontFamily: defaultFont,\n fontSize: 22,\n lineHeight: 28,\n letterSpacingPercentage: 2,\n fontWeight: 700,\n paragraphSpacing: 0,\n },\n 'title-m': {\n fontFamily: defaultFont,\n fontSize: 16,\n lineHeight: 20,\n letterSpacingPercentage: 4,\n fontWeight: 700,\n paragraphSpacing: 0,\n },\n 'title-s': {\n fontFamily: defaultFont,\n fontSize: 16,\n lineHeight: 16,\n letterSpacingPercentage: 4,\n fontWeight: 700,\n paragraphSpacing: 0,\n },\n 'label-l': {\n fontFamily: defaultFont,\n fontSize: 20,\n lineHeight: 26,\n letterSpacingPercentage: 0,\n fontWeight: 600,\n paragraphSpacing: 8,\n },\n 'label-m': {\n fontFamily: defaultFont,\n fontSize: 16,\n lineHeight: 22,\n letterSpacingPercentage: 0,\n fontWeight: 600,\n paragraphSpacing: 8,\n },\n 'label-s': {\n fontFamily: defaultFont,\n fontSize: 14,\n lineHeight: 20,\n letterSpacingPercentage: 0,\n fontWeight: 700,\n paragraphSpacing: 6,\n },\n 'body-xl': {\n fontFamily: defaultFont,\n fontSize: 18,\n lineHeight: 22,\n letterSpacingPercentage: 0,\n paragraphSpacing: 22,\n },\n 'body-l': {\n fontFamily: defaultFont,\n fontSize: 16,\n lineHeight: 22,\n letterSpacingPercentage: 0,\n paragraphSpacing: 20,\n },\n 'body-m': {\n fontFamily: defaultFont,\n fontSize: 14,\n lineHeight: 20,\n letterSpacingPercentage: 0,\n paragraphSpacing: 18,\n },\n 'body-s': {\n fontFamily: defaultFont,\n fontSize: 12,\n lineHeight: 16,\n letterSpacingPercentage: 1,\n paragraphSpacing: 16,\n },\n 'body-xs': {\n fontFamily: defaultFont,\n fontSize: 10,\n lineHeight: 14,\n letterSpacingPercentage: 2,\n paragraphSpacing: 14,\n },\n CTA: {\n fontFamily: defaultFont,\n fontSize: 14,\n lineHeight: 20,\n letterSpacingPercentage: 0.14,\n fontWeight: 600,\n paragraphSpacing: 0,\n },\n};\n\nconst fontWeightMap = {\n light: 300,\n normal: 400,\n bold: 600,\n};\n\nconst getVariantStyle = (\n themeTypographyVariants: Record<FoundationTheme.TypographyVariants, TypographyConfig>,\n variant: FoundationTheme.TypographyVariants\n) => {\n const variantStyles = themeTypographyVariants?.[variant as FoundationTheme.TypographyVariants];\n if (variantStyles) {\n return variantStyles;\n }\n return defaultTypographyStyles[variant as FoundationTheme.TypographyVariants];\n};\n\nexport const StyledTypography = styled('div')<NsTypographyProps>(\n ({ theme, weight, variant, noSpacing, decoration, color, colorOverride }) => {\n const fontStyles: TypographyConfig = getVariantStyle(theme?.fonts?.typographyVariants, variant) || {};\n if (noSpacing) {\n fontStyles.paragraphSpacing = 0;\n }\n if (weight) {\n fontStyles.fontWeight = fontWeightMap[weight] || fontWeightMap.normal;\n }\n const updatedFontStyle = {\n fontFamily: fontStyles?.fontFamily || defaultFont,\n fontSize: `${fontStyles?.fontSize || 16}px`,\n lineHeight: `${fontStyles?.lineHeight || 16}px`,\n margin: fontStyles?.paragraphSpacing || 0,\n fontWeight: fontStyles?.fontWeight || 400,\n letterSpacing: fontStyles?.letterSpacingPercentage || 0,\n };\n return {\n ...updatedFontStyle,\n textDecorationLine: decoration,\n color: colorOverride?.startsWith('#') ? colorOverride : paletteColor(color)({ theme }),\n };\n }\n);\n","import React, {\n PropsWithChildren,\n ReactElement,\n} from 'react';\n\nimport HtmlTagVariantMapping from './HtmlTagVariantMap';\nimport {\n HtmlTagVariant,\n NsTypographyProps,\n} from './types.d';\nimport { StyledTypography } from './Typography.styled';\n\nconst NsTypography = ({\n children,\n weight = 'normal',\n className = '',\n variant = 'body-l',\n decoration = 'none',\n color = 'primary',\n additionalProps = {},\n colorOverride = '',\n noSpacing = false,\n renderHTMLNode,\n}: PropsWithChildren<NsTypographyProps>): ReactElement => {\n const htmlTagVariant: HtmlTagVariant | undefined = renderHTMLNode ? HtmlTagVariantMapping[variant] : undefined;\n\n return (\n <StyledTypography\n noSpacing={noSpacing}\n as={htmlTagVariant}\n className={className}\n weight={weight}\n variant={variant}\n decoration={decoration}\n colorOverride={colorOverride}\n color={color}\n {...additionalProps}\n >\n {children}\n </StyledTypography>\n );\n};\n\nexport default NsTypography;\n","import { ReactElement } from 'react';\n\nimport { css, GlobalStyles } from '@nuskin/foundation-theme';\n\nconst GlobalFontInter = (): ReactElement => (\n <GlobalStyles\n styles={css`\n @import url('https://fonts.googleapis.com/css2?family=Inter');\n `}\n />\n);\nexport default GlobalFontInter;\n","import React from 'react';\nimport { FoundationTheme } from '@nuskin/foundation-theme';\n\nimport type { HeaderProps } from './types.d';\nimport { NsIconNameType } from '../icon/types';\n\nexport const colorMap: { [key: string]: FoundationTheme.PaletteColors } = {\n error: 'error',\n notice: 'info',\n success: 'secondary',\n warning: 'warning',\n default: 'info',\n};\n\nexport const iconMap: { [key: string]: NsIconNameType } = {\n error: 'alertError',\n success: 'success',\n warning: 'warning',\n default: 'infoFilled',\n};\n\nconst Header: React.FC<HeaderProps> = ({ children, head }) => (\n <>\n {children}\n {head}\n </>\n);\n\nexport default Header;\n","/* eslint-disable max-len */\nimport { styled, ColorUtils, FoundationTheme } from '@nuskin/foundation-theme';\n\nconst { color } = ColorUtils;\n\nimport type { AlertContainerParams, AlertType, AlertParams, TypeMapCSS } from './types';\nconst gutterWidth = '10px';\nconst closeButtonWidth = '12px';\nconst iconWidth = '24px';\n\nconst TypeMap: TypeMapCSS = {\n banner: {\n minHeight: '114px',\n padding: '15px 45px',\n contentColumnStart: 'row-center',\n contentColumnEnd: 'row-center',\n barPosition: 'top',\n footVisibility: 'block',\n },\n card: {\n minHeight: '72px',\n padding: '24px 24px',\n contentColumnStart: 'row-left',\n contentColumnEnd: 'row-right',\n barPosition: 'left',\n footDisplay: 'none',\n },\n};\n\nconst contextType = {\n error: 'red',\n info: 'info',\n notice: 'info',\n success: 'success',\n warning: 'warning',\n};\n\nexport const AlertContainer = styled.div<AlertContainerParams>`\n display: ${({ visible }) => (visible ? 'block' : 'none')};\n * {\n box-sizing: border-box;\n webkit-font-smoothing: antialiased;\n }\n text-align: left;\n`;\n\nexport const Alert = styled.div<AlertParams>`\n position: relative;\n display: grid;\n grid-template-columns: [row-left] ${iconWidth} [space] ${gutterWidth} [row-center] auto [space] ${gutterWidth} [row-right] ${closeButtonWidth};\n grid-template-rows: [row1] auto;\n grid-auto-row: auto;\n grid-auto-flow: row;\n background-color: ${color('primary', 'white')};\n border: 1px solid ${color('primary', 'black')};\n min-height: ${({ type }) => TypeMap?.[type]?.minHeight};\n padding: ${({ type }) => TypeMap?.[type]?.padding};\n color: ${(props) => color(contextType?.[props?.context] as FoundationTheme.AppColors, '40')(props)} };\n`;\n\nexport const AlertCloseButton = styled.div`\n grid-column-start: row-right;\n grid-column-end: row-right;\n grid-row-start: row1;\n grid-row-end: row1;\n align-self: center;\n cursor: pointer;\n`;\n\nexport const AlertIcon = styled.div`\n grid-column-start: row-left;\n grid-column-end: row-left;\n grid-row-start: row1;\n grid-row-end: row1;\n width: ${iconWidth};\n height: ${iconWidth};\n`;\n\nexport const AlertHead = styled.div`\n grid-column-start: row-center;\n grid-column-end: row-center;\n grid-row-start: row1;\n grid-row-end: row1;\n display: flex;\n flex-direction: column;\n justify-content: center;\n .alert-head-title {\n color: ${color('primary', 'black')};\n }\n`;\n\nexport const AlertContent = styled.div<{ type: AlertType }>`\n margin-top: 8px;\n color: ${color('primary', 'black')};\n grid-column-start: ${({ type }) => TypeMap?.[type]?.contentColumnStart};\n grid-column-end: ${({ type }) => TypeMap?.[type]?.contentColumnEnd};\n`;\n\nexport const AlertFoot = styled.div<{ type: AlertType }>`\n margin-top: 8px;\n color: ${color('primary', 'black')};\n display: ${({ type }) => TypeMap?.[type]?.['footDisplay']};\n font-family: ${({ theme }) => theme?.fonts?.sectionFonts?.body};\n font-weight: 300;\n font-size: 14px;\n line-height: 18px;\n`;\n\nexport const AlertBody = styled.div`\n font-family: ${({ theme }) => theme?.fonts?.sectionFonts?.body};\n font-weight: 300;\n font-size: 16px;\n line-height: 21px;\n`;\n","import { ReactElement, useCallback, useRef, useState } from 'react';\n\nimport { useOnClickOutside } from '../hooks/useOnClickOutside';\nimport { NsIcon } from '../icon';\nimport {\n AuthDropdown,\n AuthDropdownContainer,\n AuthHead,\n Button,\n SignInButton,\n SignUpLink,\n SignUpLinkContainer,\n Triangle,\n} from './NsAuthDropdown.styled';\nimport { NsAuthDropdownProps } from './types.d';\n\nconst NsAuthDropdown = ({\n signInRedirectLink,\n signUpRedirectLink,\n signInBtnText,\n signUpLinkText,\n signUpLinkPrefixText,\n titleText,\n closeOnMouseLeave = false,\n darkModeEnabled = true,\n}: NsAuthDropdownProps): ReactElement => {\n const [isOpen, setIsOpen] = useState(false);\n const dropdownRef = useRef<HTMLDivElement | null>(null);\n\n const handleToggle = useCallback(() => {\n setIsOpen(!isOpen);\n }, [isOpen]);\n\n const handleClose = useCallback(() => {\n setIsOpen(false);\n }, []);\n\n useOnClickOutside(dropdownRef?.current, handleClose);\n\n const handleOnMouseLeave = useCallback(() => {\n if (closeOnMouseLeave) {\n handleClose();\n }\n }, [closeOnMouseLeave, handleClose]);\n\n return (\n <AuthDropdownContainer ref={dropdownRef}>\n <AuthHead data-testid=\"auth-head\" onClick={handleToggle} darkModeEnabled={darkModeEnabled}>\n <Button>{titleText}</Button>\n <NsIcon testId=\"chevron-icon\" name={isOpen ? 'arrowUp' : 'arrowDown'} color=\"primary\" />\n {isOpen ? (\n <div onMouseLeave={handleOnMouseLeave} className=\"auth-wrapper\">\n <Triangle />\n <AuthDropdown>\n <SignInButton href={signInRedirectLink} data-testid=\"sign-in-btn\">\n {signInBtnText}\n </SignInButton>\n <SignUpLinkContainer>\n {signUpLinkPrefixText}{' '}\n <SignUpLink data-testid=\"signup-link\" href={signUpRedirectLink}>\n {signUpLinkText}\n </SignUpLink>\n </SignUpLinkContainer>\n </AuthDropdown>\n </div>\n ) : null}\n </AuthHead>\n </AuthDropdownContainer>\n );\n};\n\nexport default NsAuthDropdown;\n","import { useEffect } from 'react';\n\nexport type Handler = () => void;\n\nexport function useOnClickOutside(\n element: HTMLDivElement | null,\n handler: Handler = () => {},\n mouseEvent: 'click' | 'mousedown' | 'mouseup' = 'click'\n): void {\n useEffect(() => {\n const eventListener = (event: MouseEvent) => {\n // Do nothing if clicking ref's element or descendent elements\n if (!element || element.contains(event.target as Node)) {\n return;\n }\n handler?.();\n };\n if (document) {\n document.addEventListener(mouseEvent, eventListener);\n return () => {\n document.removeEventListener(mouseEvent, eventListener);\n };\n }\n }, [mouseEvent, handler, element]);\n}\n","import {\n ColorUtils,\n styled,\n} from '@nuskin/foundation-theme';\n\nimport { DarkModeEnabledOption } from '../common.types';\n\nconst { getGenomeColor } = ColorUtils;\n\nexport const AuthDropdownContainer = styled.div`\n position: relative;\n display: inline-block;\n`;\n\nexport const AuthDropdown = styled.div`\n min-width: 280px;\n background-color: white;\n color: black;\n text-align: center;\n padding: 5px 0;\n position: absolute;\n z-index: 600;\n top: calc(100% + 18px);\n right: 5%;\n box-shadow: 0 0 5px 0 ${({ theme }) => getGenomeColor(theme, 'N70')};\n transition: all 0.15s ease-in-out;\n padding: 25px;\n`;\n\nexport const Triangle = styled.div`\n position: absolute;\n bottom: -18px;\n left: 50%;\n width: 24px;\n height: 24px;\n overflow: hidden;\n transition: all 0.15s ease-in-out;\n z-index: 700;\n opacity: 1;\n &::after {\n content: '';\n position: absolute;\n width: 14px;\n height: 14px;\n background-color: ${({ theme }) => getGenomeColor(theme, 'N10')};\n transform: rotate(45deg);\n top: 17px;\n left: 5px;\n box-shadow: 0 0 5px 0 ${({ theme }) => getGenomeColor(theme, 'N70')};\n }\n`;\nexport const AuthHead = styled('div')<DarkModeEnabledOption>`\n cursor: pointer;\n padding: 5px 10px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n color: ${({ theme }) => getGenomeColor(theme, 'N100')};\n`;\n\nexport const Button = styled.div`\n padding-right: 10px;\n`;\n\nexport const Link = styled.a`\n text-decoration: none;\n`;\n\nexport const SignInButton = styled(Link)`\n display: block;\n padding: 13px;\n width: 100%;\n background-color: ${({ theme }) => getGenomeColor(theme, 'N100')};\n color: ${({ theme }) => getGenomeColor(theme, 'N10')};\n border: 0;\n font-size: 16px;\n &:hover {\n background-color: ${({ theme }) => getGenomeColor(theme, 'N60')};\n }\n`;\n\nexport const SignUpLinkContainer = styled.div`\n margin-top: 15px;\n color: ${({ theme }) => getGenomeColor(theme, 'N100')};\n font-size: 13px;\n line-height: 16px;\n text-align: left;\n`;\n\nexport const SignUpLink = styled(Link)`\n cursor: pointer;\n font-weight: 300;\n font-size: 13px;\n line-height: 16px;\n text-decoration: none;\n color: ${({ theme }) => getGenomeColor(theme, 'N100')};\n position: relative;\n transition: all 0.15s ease-in-out;\n &:hover {\n color: ${({ theme }) => getGenomeColor(theme, 'N60')};\n font-size: 14px;\n }\n &:hover::after {\n opacity: 1;\n visibility: visible;\n }\n &::after {\n content: '';\n position: absolute;\n bottom: -2px;\n left: 0;\n right: 0;\n width: 100%;\n height: 1px;\n background-color: ${({ theme }) => getGenomeColor(theme, 'N100')};\n transition: all 0.15s ease-in-out;\n opacity: 0;\n visibility: hidden;\n }\n`;\n","import React, { PropsWithChildren, ReactElement, useEffect, useRef, useState } from 'react';\n\nimport {\n Autocomplete,\n AutocompleteRenderInputParams,\n ListSubheader,\n Popper,\n useMediaQuery,\n useTheme,\n} from '@mui/material';\n\nimport { LineLoader } from './helper/LineLoader';\nimport { RecentClearAll } from './helper/RecentClearAll';\nimport { renderGroupBy, renderOptionLabel } from './helper/renderGroupName';\nimport { SeeMoreButton } from './helper/SeeMoreButton';\nimport { StyledPopper, StyledTextField } from './NsAutocomplete.styled';\nimport { ComponentBoxProps, NsAutocompleteProps, OptionsProps } from './types.d';\nimport { VariableSizeList, ListChildComponentProps } from 'react-window';\n\nconst LISTBOX_PADDING = 8;\nconst noop = () => {};\nconst OuterElementContext = React.createContext({});\n\nconst NsAutocomplete = ({\n id = 'custom_autocomplete_dropdown',\n options,\n OptionsUI,\n loading,\n noOptionsText,\n onInputChange,\n onChange,\n onFocus,\n clear,\n seeMore,\n placeholder,\n className,\n iconStart,\n iconEnd,\n inputValue,\n value,\n isFilterEnabled = true,\n fullWidth,\n onKeypress,\n}: PropsWithChildren<NsAutocompleteProps>): ReactElement => {\n const listboxRef = useRef<any | null>(null);\n const [scrollTopPosition, setScrollTopPosition] = useState(0);\n\n useEffect(() => {\n if (listboxRef.current && options.length > 0) {\n listboxRef.current.scrollTop = scrollTopPosition;\n }\n }, [options, scrollTopPosition]);\n\n const OuterElementType = React.forwardRef((props: any, ref) => {\n const outerProps = React.useContext(OuterElementContext);\n return <ul ref={ref} {...props} {...outerProps} />;\n });\n\n OuterElementType.displayName = 'OuterElementType';\n\n const renderInput = (params: AutocompleteRenderInputParams) => (\n <StyledTextField\n {...(params as any)}\n placeholder={placeholder}\n InputProps={{\n ...params.InputProps,\n className: 'styled-text-field',\n startAdornment: iconStart,\n endAdornment: iconEnd,\n }}\n />\n );\n\n const renderOption = (props: ComponentBoxProps, option: OptionsProps) =>\n OptionsUI ? (\n <OptionsUI {...props} option={option} key={props.id} />\n ) : (\n <li {...(props as any)} key={props.id}>\n {option.value}\n </li>\n );\n\n const renderRow = (props: ListChildComponentProps) => {\n const { data, index, style } = props;\n const dataSet = data[index];\n const option = dataSet?.[1];\n const inlineStyle = {\n top: (style.top as number) + LISTBOX_PADDING,\n };\n\n if (Object.hasOwn(dataSet, 'group')) {\n return (\n <ListSubheader key={dataSet.key} component=\"div\" style={inlineStyle}>\n {dataSet.group}\n </ListSubheader>\n );\n }\n\n return (\n <div component=\"div\" {...dataSet[0]} style={inlineStyle}>\n {renderOption(props, option)}\n </div>\n );\n };\n\n const useResetCache = (data: any) => {\n const ref = React.useRef<VariableSizeList>(null);\n React.useEffect(() => {\n if (ref.current != null) {\n ref.current.resetAfterIndex(0, true);\n }\n }, [data]);\n return ref;\n };\n\n const ListboxComponent = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLElement>>(\n function ListboxComponent(props, ref) {\n const { children, ...other } = props;\n const itemData: React.ReactElement[] = [];\n (children as React.ReactElement[]).forEach(\n (item: React.ReactElement & { children?: React.ReactElement[] }) => {\n itemData.push(item);\n itemData.push(...(item.children || []));\n }\n );\n\n const theme = useTheme();\n const smUp = useMediaQuery(theme.breakpoints.up('sm'), {\n noSsr: true,\n });\n const itemCount = itemData.length;\n const itemSize = smUp ? 36 : 48;\n\n const getChildSize = (child: React.ReactElement) => {\n if (Object.hasOwn(child, 'group')) {\n return 48;\n }\n\n return itemSize;\n };\n\n const getHeight = () => {\n if (itemCount > 8) {\n return 8 * itemSize;\n }\n return itemData.map(getChildSize).reduce((a, b) => a + b, 0);\n };\n\n const gridRef = useResetCache(itemCount);\n\n return (\n <>\n <RecentClearAll\n show={clear?.show ?? false}\n text={clear?.text ?? 'Clear All'}\n onClick={clear?.onClear ?? noop}\n testId=\"autocomplete-clear-id\"\n recentSearchText={clear?.recentSearchText ?? 'Your Recent Searches'}\n />\n <div ref={ref}>\n <OuterElementContext.Provider value={other}>\n <VariableSizeList\n itemData={itemData}\n height={getHeight() + 2 * LISTBOX_PADDING}\n width=\"100%\"\n ref={gridRef}\n outerElementType={OuterElementType}\n innerElementType=\"ul\"\n itemSize={(index) => getChildSize(itemData[index])}\n overscanCount={5}\n itemCount={itemCount}\n >\n {renderRow}\n </VariableSizeList>\n </OuterElementContext.Provider>\n </div>\n <SeeMoreButton\n onSeeMore={seeMore?.onSeeMore}\n show={seeMore?.show}\n text={seeMore?.text}\n options={options}\n setScrollTopPosition={setScrollTopPosition}\n listboxRef={listboxRef}\n />\n </>\n );\n }\n );\n\n return (\n <>\n <LineLoader show={loading ?? false} />\n <Autocomplete\n open\n id={id}\n disableListWrap\n className={className}\n loading={loading}\n noOptionsText={noOptionsText}\n PopperComponent={fullWidth ? StyledPopper : Popper}\n ListboxComponent={ListboxComponent}\n options={options}\n groupBy={renderGroupBy}\n getOptionLabel={renderOptionLabel}\n renderOption={(props, option, state) => [props, option, state.index] as React.ReactNode}\n renderGroup={(params) => params as any}\n onChange={onChange}\n renderInput={renderInput}\n onInputChange={onInputChange}\n value={value}\n onFocus={onFocus ?? noop}\n inputValue={inputValue}\n filterOptions={\n isFilterEnabled\n ? undefined // Use default filtering behavior\n : (options) => options\n }\n freeSolo\n onKeyDown={onKeypress}\n />\n </>\n );\n};\n\nexport default NsAutocomplete;\n","import { ReactElement } from 'react';\n\nimport { styled } from '@nuskin/foundation-theme';\n\nconst StyledLine = styled.div`\n position: fixed;\n top: 0px;\n left: 0;\n width: 100%;\n height: 2px;\n background: #fff;\n z-index: 99999;\n overflow: hidden;\n .dot {\n position: absolute;\n height: 100%;\n width: 150px;\n background: #f00;\n animation: dotleft 1s cubic-bezier(0.72, 0.03, 0.75, 0.54) infinite;\n }\n @keyframes dotleft {\n 0% {\n left: 0%;\n width: 150px;\n }\n 100% {\n left: 100%;\n width: 900px;\n }\n }\n`;\nexport const LineLoader = ({ show }: { show: boolean }): ReactElement => {\n return (\n <StyledLine className={`${show ? '' : 'hidden '} line`}>\n <div className=\"dot\">&npsp;</div>\n </StyledLine>\n );\n};\n","import { ReactElement } from 'react';\n\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { NsTypography } from '../../typography';\n\ntype AutoCompleteButtonProps = {\n text: string;\n show: boolean;\n onClick(): void;\n testId?: string;\n recentSearchText: string;\n};\nexport const StyledClear = styled(NsTypography)`\n margin: 4px 8px;\n :hover {\n opacity: 0.5;\n }\n`;\nconst TypoWrapper = styled(NsTypography)`\n margin: 4px 8px;\n`;\nexport const RecentClearAll = (props: AutoCompleteButtonProps): ReactElement | null => {\n const { show, onClick, text, testId, recentSearchText } = props;\n if (!show) {\n return null;\n }\n return (\n <li className=\"justify-between flex p-0 m-0\" onClick={onClick}>\n <TypoWrapper data-testid={testId} variant=\"body-m\" weight=\"bold\">\n {recentSearchText}\n </TypoWrapper>\n <StyledClear\n data-testid={testId}\n variant=\"body-m\"\n weight=\"bold\"\n className=\"cursor-pointer hover:opacity-40\"\n >\n {text}\n </StyledClear>\n </li>\n );\n};\n","import { ReactElement } from 'react';\n\nimport { AutocompleteRenderGroupParams } from '@mui/material';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { OptionsProps } from '../../autocomplete';\nimport { NsTypography } from '../../typography';\n\nconst GroupNameTypography = styled(NsTypography)`\n margin: 4px 8px;\n`;\nexport const renderGroupName = ({ key, group, children }: AutocompleteRenderGroupParams): ReactElement => (\n <li key={key}>\n {group ? (\n <GroupNameTypography variant=\"body-m\" weight=\"bold\" className=\"p-0 m-0 border-solid\">\n {group}\n </GroupNameTypography>\n ) : null}\n <ul className=\"p-0\">{children}</ul>\n </li>\n);\n\nexport const renderOptionLabel = (option: string | OptionsProps): string =>\n typeof option === 'string' ? option : option?.value ?? '';\n\nexport const renderGroupBy = (option: OptionsProps) => (option?.group ?? '') as string;\n","import { Dispatch, MutableRefObject, ReactElement, SetStateAction, useCallback } from 'react';\n\nimport { ColorUtils, styled } from '@nuskin/foundation-theme';\n\nimport { NsTypography, OptionsProps } from '../../';\n\nconst { getGenomeColor } = ColorUtils;\nexport const ListStyled = styled.div`\n display: flex;\n width: 100%;\n flex-direction: row;\n align-items: center;\n gap: 10px;\n padding: 0;\n margin: 4px 8px;\n cursor: pointer;\n &:hover {\n background: ${({ theme }) => getGenomeColor(theme, 'A10')};\n }\n`;\n\ntype SeeMoreButtonProps = {\n text?: string;\n show?: boolean;\n onSeeMore?(): void;\n options: OptionsProps[];\n setScrollTopPosition: Dispatch<SetStateAction<number>>;\n listboxRef: MutableRefObject<HTMLUListElement | null>;\n};\n\nexport const SeeMoreButton = (props: SeeMoreButtonProps): ReactElement | null => {\n const {\n show = false,\n text = 'See More Results',\n onSeeMore,\n options,\n listboxRef,\n setScrollTopPosition,\n } = props || {};\n\n const handleSeeMore = useCallback(() => {\n /* Remember the current scroll position */\n if (options?.length > 0 && listboxRef?.current) {\n const lastScrollPosition = listboxRef.current?.scrollTop;\n if (lastScrollPosition) {\n setScrollTopPosition(lastScrollPosition);\n }\n }\n if (typeof onSeeMore === 'function') {\n onSeeMore();\n }\n }, [listboxRef, onSeeMore, options?.length, setScrollTopPosition]);\n if (!show) {\n return null;\n }\n return (\n <ListStyled className=\"text-left p-0\" onClick={handleSeeMore}>\n <NsTypography\n data-testid=\"autocomplete-loadmore-id\"\n variant=\"body-m\"\n decoration=\"underline\"\n className=\"cursor-pointer\"\n >\n {text}\n </NsTypography>\n </ListStyled>\n );\n};\n","import { styled, ColorUtils } from '@nuskin/foundation-theme';\nimport { NsInputField } from '../input';\nimport { Popper, autocompleteClasses } from '@mui/material';\nconst { getGenomeColor } = ColorUtils;\n\nexport const StyledTextField = styled(NsInputField)`\n .MuiAutocomplete-inputRoot {\n padding-right: 10px !important;\n }\n .styled-text-field.MuiOutlinedInput-root input#custom_autocomplete_dropdown::placeholder {\n opacity: 1;\n color: ${({ theme }) => getGenomeColor(theme, 'N100', 'light')};\n }\n`;\n\nexport const StyledPopper = styled(Popper)({\n [`& .${autocompleteClasses.listbox}`]: {\n boxSizing: 'border-box',\n '& ul': {\n padding: 0,\n margin: 0,\n },\n },\n});","import { ReactElement } from 'react';\n\nimport { FormHelperText, TextField } from '@mui/material';\n\nimport { NsLabel } from '../label';\nimport { AdornmentPropsType, getAdornmentProps } from './getAdornmentProps';\nimport InputFieldWrapper from './InputFieldWrapper';\nimport InputWrapper from './InputWrapper';\nimport { NsInputFieldProps } from './types.d';\n\n/**\n * we are using fieldState in place of error prop\n * @param props { placeholder, fieldState, iconStart, iconEnd, iconSide }\n * @returns Input Field\n */\nconst NsInputField = (props: NsInputFieldProps): ReactElement => {\n const {\n autoComplete,\n autoFocus,\n additionalProps,\n defaultValue,\n disabled,\n fullWidth,\n focused,\n id,\n InputProps,\n inputProps,\n inputRef,\n maxRows,\n minRows,\n multiline,\n name,\n onFocus,\n onBlur,\n onChange,\n placeholder,\n required,\n rows,\n ref,\n type,\n value,\n\n /* custom props */\n fieldState,\n iconStart,\n iconEnd,\n iconSide,\n showOptional,\n\n /* label props */\n label,\n InputLabelProps,\n labelSize,\n\n /* helper text props */\n FormHelperTextProps,\n helperText,\n ...rest\n } = props;\n /** EndIcon is created so that we can automatically add success and error icon based of fieldState,\n * it will override iconEnd. Also to note, InputProps is given to override both iconStart, iconEnd and EndIcon */\n const EndIcon: AdornmentPropsType = getAdornmentProps({ disabled, fieldState, iconEnd, iconStart });\n return (\n <InputFieldWrapper>\n {label ? (\n <NsLabel\n {...InputLabelProps}\n size={labelSize as any}\n showOptional={showOptional}\n required={required}\n disabled={disabled}\n error={fieldState === 'error' && !disabled}\n >\n {label as any}\n </NsLabel>\n ) : null}\n <InputWrapper fieldState={fieldState} data-testid={additionalProps?.testid ?? 'ns-input-field'}>\n <TextField\n {...rest}\n InputProps={{\n ...EndIcon,\n ...InputProps,\n }}\n {...{\n autoComplete,\n autoFocus,\n defaultValue,\n disabled,\n fullWidth,\n focused,\n id,\n inputProps,\n inputRef,\n maxRows,\n minRows,\n multiline,\n name,\n onFocus,\n onBlur,\n onChange,\n placeholder,\n required,\n rows,\n ref,\n type,\n value,\n }}\n />\n {iconSide}\n </InputWrapper>\n {helperText && !disabled ? (\n <FormHelperText {...FormHelperTextProps} className={fieldState}>\n {helperText}\n </FormHelperText>\n ) : null}\n </InputFieldWrapper>\n );\n};\nexport default NsInputField;\n","import { CSSProperties, ReactElement } from 'react';\n\nimport { FormLabel } from '@mui/material';\nimport { ColorUtils, styled } from '@nuskin/foundation-theme';\n\nimport { NsLabelProps } from './types.d';\n\nconst { /* isDarkMode, color, */ getGenomeColor } = ColorUtils;\n\nconst StyledLabel = styled(FormLabel)<{ fontSize?: number; style?: CSSProperties }>(({ theme, fontSize, style }) => {\n // const isLight = !isDarkMode({ theme });\n return {\n fontSize: fontSize ? `${fontSize}px` : '14px',\n textAlign: style?.textAlign ?? 'left',\n color: getGenomeColor(theme, 'N100'),\n '.optional-label': {\n // color: isLight ? color('neutral', '60')({ theme }) : color('neutral', '50')({ theme }),\n color: getGenomeColor(theme, 'N60'),\n },\n '.MuiInputLabel-asterisk': {\n color: getGenomeColor(theme, 'Error-60'),\n // color: isLight ? color('error', '40')({ theme }) : color('error', '20')({ theme }),\n },\n ...(style || {}),\n } as any; // TODO: may be this \"any\" has to be fixed from foundation-theme\n});\n\nconst NsLabel = (props: NsLabelProps): ReactElement => {\n const { required, showOptional, children, size } = props;\n return (\n <StyledLabel fontSize={size} {...props} required={required}>\n {children}\n {!required && showOptional ? <span className=\"optional-label\">{' (Optional)'}</span> : null}\n </StyledLabel>\n );\n};\nexport default NsLabel;\n","import { NsIcon, NsIconNameType } from '../icon';\nimport { InputAdornment } from '@mui/material';\nimport { fieldStateType } from './types.d';\nimport { ReactNode } from 'react';\n\ntype IconMapType = {\n [key: string]: NsIconNameType;\n};\n\nconst iconNameForFieldState: IconMapType = {\n error: 'error',\n success: 'success',\n};\ntype props = {\n disabled?: boolean;\n fieldState: fieldStateType;\n iconStart: ReactNode;\n iconEnd: ReactNode;\n};\n/**\n * Note: we are hiding the Adornment icons in case input is disabled\n * @param param0\n * @returns\n */\nexport type AdornmentPropsType = {\n startAdornment?: ReactNode;\n endAdornment?: ReactNode;\n}\nexport const getAdornmentProps = ({ disabled, fieldState, iconStart, iconEnd }: props) => {\n const icons = {\n startAdornment: iconStart ? <InputAdornment position=\"start\">{iconStart}</InputAdornment> : null,\n endAdornment: iconEnd ? <InputAdornment position=\"end\">{iconEnd}</InputAdornment> : null,\n };\n if (disabled) {\n return {};\n } else {\n if (fieldState === 'error' || fieldState === 'success') {\n return {\n ...icons,\n endAdornment: (\n <InputAdornment position=\"end\">\n <NsIcon name={iconNameForFieldState[fieldState]} />\n </InputAdornment>\n ),\n };\n } else {\n return icons;\n }\n }\n};\n","import { Stack } from '@mui/material';\nimport { styled, ColorUtils } from '@nuskin/foundation-theme';\nconst { color, paletteColor } = ColorUtils;\n\nconst InputFieldWrapper = styled(Stack)(({ theme }: any) => {\n return {\n display: 'flex',\n flexDirection: 'column' as 'column',\n gap: '7px',\n '.MuiFormHelperText-root': {\n fontSize: '11px',\n marginTop: 0,\n color: paletteColor('primary', 'main')({ theme }),\n '&.success': {\n color: color('success', '40')({ theme }),\n },\n '&.error': {\n color: paletteColor('error', 'main')({ theme }),\n },\n },\n };\n});\n\nexport default InputFieldWrapper;\n","import { Box } from '@mui/material';\nimport React from 'react';\nimport { ColorUtils, FoundationTheme, nuskinTheme, styled } from '@nuskin/foundation-theme';\n\nimport { fieldStateType } from './types.d';\n\nconst { isDarkMode } = ColorUtils;\nconst { colors } = nuskinTheme;\n\ntype InputWrapperType = {\n fieldState: fieldStateType;\n children: React.ReactNode;\n};\n\nconst getInputBorderColor = (\n palette: FoundationTheme.Theme['palette'],\n fieldState: fieldStateType,\n isLight = true\n): string => {\n if (fieldState === 'success') {\n return colors.success[40];\n } else if (fieldState === 'error') {\n return isLight ? colors.red[40] : colors.red[20];\n } else {\n return palette?.primary.main ?? '';\n }\n};\n\nconst InputWrapper: React.FC<InputWrapperType> = styled(Box)<InputWrapperType>(({ theme, fieldState }) => {\n /* default value added so that unit tests do not fail */\n const { palette = { primary: { main: '', contrastText: '' } } } = theme;\n const isLight = isDarkMode({ theme });\n const inputFocusedBorder = isLight ? colors.accentColorB[20] : colors.accentColorB[30];\n const inputDisabledBg = isLight ? colors.neutral[30] : colors.neutral[70];\n const inputDisabledBorder = isLight ? colors.neutral[60] : colors.neutral[80];\n const inputDisabledColor = isLight ? colors.neutral[60] : colors.primary.black;\n const defaultBg = palette.primary.contrastText;\n const placeholderColor = isLight ? colors.neutral[50] : colors.neutral[60];\n return {\n display: 'flex',\n alignItems: 'center',\n gap: '22px',\n\n '.MuiTextField-root': {\n background: defaultBg,\n\n '.MuiInputBase-root': {\n borderRadius: 0,\n ':hover': {\n fieldset: {\n border: `1px solid ${inputFocusedBorder}`,\n },\n },\n '&.Mui-focused': {\n fieldset: {\n border: `3px solid ${inputFocusedBorder}`,\n },\n },\n fieldset: {\n border: `1px solid ${getInputBorderColor(palette, fieldState, isLight)}`,\n },\n input: {\n color: palette.primary.main,\n background: defaultBg,\n padding: '11px 10px',\n '::placeholder': {\n color: placeholderColor,\n },\n },\n '&.Mui-disabled': {\n fieldset: {\n border: `1px solid ${inputDisabledBorder}`,\n },\n input: {\n background: inputDisabledBg,\n color: inputDisabledColor,\n },\n },\n },\n },\n };\n});\n\nexport default InputWrapper;\n","/* eslint-disable no-unused-vars */\nimport compose from 'ramda/src/compose';\nimport find from 'ramda/src/find';\nimport pathOr from 'ramda/src/pathOr';\nimport propEq from 'ramda/src/propEq';\nimport { BynderImageDataType, ImageType } from './types';\n\nexport const parseJsonString = (dataString: string) => {\n try {\n return JSON.parse(dataString);\n } catch (error) {\n console.error('error parsing data ', error);\n return {};\n }\n};\n\n/** alt text */\nexport const getBynderAltText = (propKey: string) =>\n compose(pathOr('', ['value']), find(propEq('SEO_Tags', 'name')), pathOr([], [propKey, 0, 'textMetaproperties']));\n\nexport const extractBynderDescription = (key: string) => pathOr('', [key, '0', 'description']);\n\n/** end alt text */\n\n/** DAT specific */\n\nexport const getBasicDATWidthHeight = (width: number = 900, height: number = 800, transform = 'scale') =>\n `io=transform:${transform},width:${width},height:${height}`;\n\n/** determine whether the image is\n * 1. custom transformation ('customTransformation') ==> further transformation cannot be applied\n https://media.nuskin.com/transform/3ea706a3-770e-4b66-b112-427ef840f4b6/mail-40th-240207-1?io=overlay:text,content:abc,font:Open Sans,size:64,color:FFFFFFFF,gravity:center,padding:20,angle:0\n\n * 2. base transform url ('transformBaseUrl') ==> transformation can be applied in the component\n * \"https://media.nuskin.com/transform/3ea706a3-770e-4b66-b112-427ef840f4b6/mail-40th-240207-1\"\n\n* 3. bynder defined preset ('preset') ==> further transformation cannot be applied\n \"https://media.nuskin.com/transform/PDP_Key_Ingredients_Image/3ea706a3-770e-4b66-b112-427ef840f4b6/mail-40th-240207-1\"\n\n * 4. custom preset ('defaultPreset') example: thumbnail, small, mini, original , webImage, ==> further transformation can be applied\n\n * returns either 'customTransformation' | 'transformBaseUrl' | or preset type of the image example webImage, thumbnail\n * */\nexport const getImageType = (url: string, fileName: string, files: Record<string, any>) => {\n if (url.includes(`${fileName}?io=`)) {\n return ImageType.customTransformation;\n } else {\n const parts = url.split('/');\n if (parts[3] === 'transform' && parts[5] === fileName) {\n // url?.toLowerCase().includes(`transform/${databaseId}/${fileName}`.toLowerCase()) this check creates error in sometimes url does not have - which is present in database id\n\n return ImageType.transformBaseUrl;\n } else {\n return retrieveImageKey(files, url);\n }\n }\n};\nexport const retrieveImageKey = (files: Record<string, any>, url: string) => {\n for (const key in files) {\n if (files[key].url === url) {\n return key;\n }\n }\n return ImageType.defaultPreset;\n};\n\nexport const getUrlBasedOnDerivative = (url: string, imageDerivativeType: string, suffix: string) => {\n if (imageDerivativeType === ImageType.customTransformation) {\n return `${url}&${suffix}`;\n } else if (imageDerivativeType === ImageType.transformBaseUrl) {\n return `${url}?${suffix}`;\n }\n return url;\n};\n\n/** end DAT */\n\n/**\n *\n * @param selected : object containing select image url\n * @param isPublic : whether asset is marked public, if it is video and marked public, then mov or gif can be selected otherwise, only webImage can be selected in that case we have to show previewUrl\n * @returns returns selected video or image, if asset is video and is not public, then returns previewUrl\n */\nexport function getMediaUrl(\n selected: BynderImageDataType['selected'],\n isPublic: boolean,\n previewUrls: BynderImageDataType['previewUrls']\n): string {\n const { url = '', type: fileType = '' } = selected ?? {};\n if (fileType === 'VIDEO') {\n if (isPublic) {\n return url;\n } else {\n return previewUrls?.[0] || '';\n }\n }\n return url;\n}\n","import { ReactElement } from 'react';\n\nimport { CslpTag } from '../common.types';\n/* eslint-disable @next/next/no-img-element */\nimport { getImageType, getMediaUrl, getUrlBasedOnDerivative } from './bynder-util';\nimport { BynderImageDataType } from './types';\n\ntype BynderMediaProps = {\n imageDetail: BynderImageDataType;\n suffix?: string;\n className?: string;\n testId?: string;\n liveTag?: CslpTag;\n};\nexport const BynderMedia = ({ imageDetail, suffix, className, testId, liveTag }: BynderMediaProps): ReactElement => {\n const { files, name, selected, previewUrls, isPublic } = imageDetail;\n const { url = '', fit, position, altText = '', bgColor, type } = selected ?? {};\n const imageDerivativeType = getImageType(url, name, files);\n const mediaUrl = getMediaUrl(selected, isPublic, previewUrls);\n let transformedMediaUrl = getUrlBasedOnDerivative(mediaUrl, imageDerivativeType, suffix ?? '');\n if (type === 'VIDEO') {\n return (\n <div {...liveTag}>\n <video\n loop\n autoPlay\n muted\n width=\"100%\"\n style={{ backgroundColor: bgColor, objectFit: fit, objectPosition: position }}\n className={`${className || ''} bynder-image`}\n data-testid={testId || 'test-bynder-video'}\n >\n <source src={transformedMediaUrl} type=\"video/mp4\" />\n <source src={transformedMediaUrl} type=\"video/ogg\" />\n </video>\n </div>\n );\n }\n return (\n <img\n {...liveTag}\n data-testid={testId || 'test-bynder-image'}\n className={`${className || ''} bynder-image`}\n src={transformedMediaUrl}\n alt={altText}\n style={{ backgroundColor: bgColor, objectFit: fit, objectPosition: position }}\n />\n );\n};\n","import { styled } from '@nuskin/foundation-theme';\nimport { AlignmentType } from './types.d';\n\nexport const StyledBanner = styled.section`\n position: relative;\n display: flex;\n justify-content: space-evenly;\n img {\n width: 100%;\n object-fit: cover;\n height: auto;\n }\n`;\n\nexport const StyledHeroText = styled.div<{ $justify: AlignmentType; $alignment: AlignmentType }>`\n height: 100%;\n display: flex;\n width: 100%;\n position: absolute;\n top: 0;\n justify-content: ${({ $justify }) => $justify};\n align-items: ${({ $alignment }) => $alignment};\n text-align: left;\n`;\n","/**\n * @author [Vijayaprathap Kumar] (vpkumar@nuskin.com)\n * NsBanner.tsx\n * @description NsBanner component with a image background\n */\n\nimport React, { PropsWithChildren, ReactElement } from 'react';\n\nimport { getBasicDATWidthHeight } from '../image/bynder-util';\nimport { BynderMedia } from '../image/BynderMedia';\nimport { StyledBanner, StyledHeroText } from './NsBanner.styled';\nimport { NsBannerProps } from './types.d';\n\nconst NsBanner = (props: PropsWithChildren<NsBannerProps>): ReactElement => {\n const { children, image, alignment = 'center', justify = 'start', className = '', additionalProps = {} } = props;\n\n return (\n <StyledBanner className={className}>\n <BynderMedia\n className=\"image\"\n imageDetail={image}\n {...additionalProps}\n suffix={getBasicDATWidthHeight(1100, 600, 'scale')}\n />\n <StyledHeroText $alignment={alignment} $justify={justify}>\n <div className=\"mx-14\">{children}</div>\n </StyledHeroText>\n </StyledBanner>\n );\n};\n\nexport default NsBanner;\n","import React, {\n PropsWithChildren,\n ReactElement,\n useCallback,\n} from 'react';\n\nimport NSLogoHorizontal from './icons/NSLogoHorizontal';\nimport NSLogoMark from './icons/NSLogoMark';\nimport NSLogoPoweredBy from './icons/NSLogoPoweredBy';\nimport NSLogoStacked from './icons/NSLogoStacked';\nimport NSLogoWordMark from './icons/NSWordMark';\nimport LogoContainer from './NsBrandContainer.styled';\nimport { NsBrandComponentProps } from './types.d';\n\nconst VariantMap = {\n stacked: NSLogoStacked,\n horizontal: NSLogoHorizontal,\n wordmark: NSLogoWordMark,\n logomark: NSLogoMark,\n poweredBy: NSLogoPoweredBy,\n};\n\nconst NsBrandComponent = (props: PropsWithChildren<NsBrandComponentProps>):ReactElement => {\n const { variant = 'stacked', size = '108px', color = 'primary' } = props;\n const renderBrand = useCallback(() => {\n const BrandComponent = VariantMap[variant];\n // [Todo - Add neutral as FoundationTheme.PaletteColor]\n return <BrandComponent color={color as any} />;\n }, [color, variant]);\n return <LogoContainer size={size}>{renderBrand()}</LogoContainer>;\n};\n\nexport default NsBrandComponent;\n","/* eslint-disable max-len */\n\nimport { ReactElement } from 'react';\n\nimport { SvgIcon, SvgIconProps } from '@mui/material';\n\nconst NSLogoHorizontal = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon viewBox=\"0 0 135 30\" fill=\"none\" data-testid=\"logo\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M133.439 23C132.607 23 131.905 23.7014 131.905 24.5C131.905 25.3004 132.607 26 133.439 26C134.349 26 135 25.3004 135 24.5C135 23.6516 134.349 23 133.439 23ZM133.439 25.8255C132.686 25.8255 132.06 25.1996 132.06 24.5C132.06 23.7765 132.686 23.1762 133.439 23.1762C134.219 23.1762 134.792 23.7765 134.792 24.5C134.792 25.1996 134.219 25.8255 133.439 25.8255ZM134.061 24.151C134.061 23.9766 133.959 23.6265 133.388 23.6265H132.892V25.3997H133.129V24.6252H133.518L133.854 25.3997H134.061L133.75 24.599C133.934 24.5751 134.061 24.3768 134.061 24.151ZM133.412 24.474H133.129V23.8248H133.464C133.698 23.8248 133.879 23.9014 133.879 24.151C133.879 24.3016 133.801 24.474 133.412 24.474Z\"\n fill={props.color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M51.181 25L38.4365 9.34704V24.7232H37V6.07549L37.3395 6L49.9798 21.4768V6.27702H51.4421V24.9497L51.181 25Z\"\n fill={props.color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M62.7499 25C58.2617 25 55.5685 22.4685 55.5685 17.9423V6H57.0471V17.9165C57.0471 21.7525 59.2912 23.696 62.7499 23.696C66.2087 23.696 68.5056 21.7014 68.5056 17.9165V6H70.0106V17.9423C70.0106 22.3406 67.1326 25 62.7499 25Z\"\n fill={props.color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M83.781 25C81.7507 25 79.9289 24.3475 78.2632 23.2933L78.966 22.0636C80.5016 23.0674 82.1934 23.7201 83.9109 23.7201C86.4353 23.7201 88.1273 22.1637 88.1273 20.1307C88.1273 17.9973 86.644 17.0685 83.9371 15.889C80.9961 14.634 79.2002 13.3287 79.2002 10.794C79.2002 8.13339 81.5165 6 84.9257 6C86.5914 6 88.101 6.52701 89.2202 7.2548L88.5176 8.43455C87.5545 7.78181 86.2274 7.27989 84.7959 7.27989C82.2452 7.27989 80.6578 8.78589 80.6578 10.6934C80.6578 12.6762 82.2714 13.6299 84.5877 14.6593C87.8668 16.0898 89.6106 17.3197 89.6106 19.955C89.6106 22.967 87.008 25 83.781 25Z\"\n fill={props.color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M104.227 25L95.1657 15.6169V25H93.7368V6H95.1657V14.8389L103.921 6H105.758L96.5441 15.2276L106.116 25H104.227Z\"\n fill={props.color}\n />\n <path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M109.211 25H110.552V6H109.211V25Z\" fill={props.color} />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M129.581 25L116.836 9.34704V24.7232H115.4V6.07549L115.74 6L128.379 21.4768V6.27702H129.842V24.9497L129.581 25Z\"\n fill={props.color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M23.3312 7.73077C23.3312 7.73077 26.0255 7.59615 28.0509 9.84615C28.7197 10.5962 29.3694 11.5577 29.7325 12.9038C28.7771 5.63461 22.5669 0 15.0382 0C7.52865 0 1.29935 5.63462 0.324829 12.9231C0.687886 11.5769 1.33757 10.6154 2.00636 9.86538C4.05094 7.61538 6.7261 7.75 6.7261 7.75C13.414 8.09615 13.4522 14.8654 13.4522 14.8654V29.7885C13.758 29.8269 14.0828 29.8462 14.4076 29.8654V13.9038C14.4076 11.7308 13.7388 9.61539 12.2293 8.11539C10.8535 6.73077 9.07642 5.96154 7.20381 5.92308C8.00636 4.51923 9.11464 3.34615 10.4331 2.51923C11.828 1.65385 13.414 1.19231 15.0382 1.19231C16.6624 1.19231 18.2675 1.65385 19.6624 2.51923C20.9809 3.34615 22.0892 4.51923 22.8917 5.92308C21.0191 5.96154 19.2229 6.73077 17.8471 8.11539C16.3376 9.61539 15.6497 11.7308 15.6497 13.9038V29.8269C15.9745 29.8077 16.2802 29.7885 16.6051 29.75V14.8462C16.6051 14.8462 16.6433 8.07692 23.3312 7.73077ZM22.0892 16.3462C21.0764 16.9808 20.0255 18.2692 20.0255 20.9231V28.9808C23.0064 27.9038 25.5478 25.9038 27.3057 23.3077C28.4713 21.4038 28.5095 19.9038 28.2229 18.8077C27.8025 17.4038 26.5223 15.6538 23.9427 15.7885C23.9427 15.7885 22.9299 15.8077 22.0892 16.3462ZM23.4841 11.0385C25.4904 11.0385 26.828 11.5769 27.7261 12.2885C28.4522 12.9231 30.5923 15.1538 29.1783 19.3462C29.1592 16.3269 28.4522 15.25 27.6688 14.3462C25.9872 12.5192 23.7516 12.7308 23.7516 12.7308C21.0955 12.8077 19.8535 14.1346 19.2802 15.3462C18.7452 16.4231 18.7834 17.3846 18.7834 17.3846V29.3654C18.4777 29.4423 18.172 29.5192 17.8471 29.5769V16.0385C17.8471 11.0769 23.4841 11.0385 23.4841 11.0385ZM6.59234 11.0385C4.58598 11.0385 3.2484 11.5769 2.35031 12.2885C1.62419 12.9231 -0.515935 15.1538 0.878969 19.3462C0.898077 16.3269 1.60508 15.25 2.38852 14.3462C4.05094 12.5192 6.30572 12.7308 6.30572 12.7308C8.96177 12.8077 10.2038 14.1346 10.7771 15.3462C11.3121 16.4038 11.2739 17.3846 11.2739 17.3846V29.3654C11.5796 29.4423 11.9044 29.5192 12.2293 29.5769V16.0577C12.2484 11.0769 6.59234 11.0385 6.59234 11.0385ZM6.15285 15.7885C6.15285 15.7885 7.16559 15.8077 8.00636 16.3462C8.99999 16.9808 10.0701 18.2692 10.0701 20.9231V28.9808C7.08916 27.9038 4.54776 25.9038 2.7898 23.3077C1.6433 21.4038 1.58598 19.9038 1.8726 18.8077C2.27387 17.4038 3.55413 15.6346 6.15285 15.7885Z\"\n fill={props.color}\n />\n </SvgIcon>\n );\n};\n\nexport default NSLogoHorizontal;\n","import React, { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';\n\nconst NSLogoMark = (props: SvgIconProps):ReactElement => {\n return (\n <SvgIcon\n viewBox=\"0 0 51 52\"\n fill=\"none\"\n data-testid=\"logo\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path\n d=\"M50.041 20.6435C49.3218 18.9662 48.2764 17.4488 46.9662 16.1793C44.1811 13.5595 40.2549 12.5391 36.5481 13.472C32.8413 14.4047 29.8642 17.1622 28.6486 20.7888C28.0296 22.4814 27.7126 24.2696 27.7116 26.0719C27.7116 33.9438 27.7116 41.8201 27.7116 49.7006C27.7116 51.0214 27.7116 51.0214 26.2599 50.9554C26.2599 50.7044 26.2599 50.4271 26.2599 50.1628C26.2599 41.2608 26.2599 32.3632 26.2599 23.47C26.0387 17.9191 29.4097 12.8556 34.6136 10.9226C35.2421 10.703 35.886 10.5308 36.5405 10.4075C37.1737 10.2754 37.8602 10.2225 38.4934 10.1433C37.6885 6.45834 30.9842 2.21863 25.547 1.96768C19.7457 1.82825 14.3682 4.99786 11.677 10.1433C12.2972 10.2225 12.9044 10.2622 13.4849 10.3678C18.8789 11.2894 23.0428 15.6226 23.7525 21.0529C23.8991 22.0412 23.974 23.0388 23.9766 24.0379C23.9766 32.7288 23.9766 41.4193 23.9766 50.1101C23.9766 50.7968 23.8182 51.0875 23.0793 51.0081C22.3401 50.929 22.4194 50.7044 22.4194 50.2159C22.4194 47.4552 22.4194 44.6948 22.4194 41.9212C22.4194 36.4532 22.4194 30.9852 22.4194 25.5172C22.4658 22.3039 21.2911 19.193 19.1332 16.8132C16.5801 14.0518 12.8165 12.7501 9.10424 13.3445C5.39204 13.939 2.22225 16.3508 0.657194 19.7718C0.485803 20.102 0.340436 20.4454 0.103027 20.9341C2.27367 8.85927 12.7463 0.0553189 25.0052 0.000259583C37.2638 -0.0547998 47.8152 8.65471 50.0937 20.7095\"\n fill={props.color}\n />\n <path\n d=\"M33.7936 49.41C33.7936 49.1591 33.7936 48.9873 33.7936 48.8157C33.7936 44.1663 33.7936 39.5703 33.7936 34.8551C33.7088 32.5992 34.5699 30.4108 36.1692 28.819C38.1948 26.8776 41.2056 26.3842 43.7444 27.5775C46.2721 28.5237 47.9495 30.9388 47.9543 33.6398C48.0301 36.4561 47.0132 39.192 45.1168 41.2738C42.3431 44.7864 38.7052 47.5172 34.5591 49.1985C34.3125 49.2868 34.0614 49.3618 33.8069 49.4231\"\n fill={props.color}\n />\n <path\n d=\"M16.4134 49.5949C14.7636 48.7363 13.2065 48.0496 11.7681 47.1646C8.4545 45.2066 5.68241 42.4507 3.70443 39.1475C2.56468 37.3357 2.09748 35.1804 2.38472 33.0589C2.7694 29.7773 5.45008 27.2445 8.74587 27.0492C12.2156 26.5971 15.4457 28.902 16.1493 32.3324C16.3906 33.327 16.5147 34.3466 16.5188 35.3701C16.5188 39.7552 16.5188 44.1533 16.5188 48.5778C16.5188 48.8288 16.5188 49.0667 16.4397 49.5552\"\n fill={props.color}\n />\n <path\n d=\"M20.1482 50.4005C18.8285 50.4005 18.7095 50.308 18.7095 49.1721V30.3114C18.8828 26.8698 16.8673 23.6935 13.6814 22.3867C10.1653 20.905 6.10269 21.6983 3.40106 24.3943C1.68238 26.3444 0.742587 28.8603 0.76163 31.4604C0.767026 31.7375 0.698784 32.0109 0.563576 32.253C0.418211 31.619 0.24682 30.9321 0.167472 30.351C-0.284175 27.8623 0.184929 25.2941 1.48719 23.1263C2.39143 21.5993 3.78764 20.4255 5.44632 19.798C8.97191 18.413 12.9285 18.6596 16.2551 20.4716C18.706 21.7014 20.2237 24.2401 20.1482 26.983C20.2142 34.6566 20.1482 42.3303 20.1482 49.991C20.1482 50.1495 20.1482 50.2947 20.1482 50.4402\"\n fill={props.color}\n />\n <path\n d=\"M29.9422 50.427V49.476C29.9422 42.3969 30.0213 35.3175 29.9422 28.238C29.8629 22.5058 33.0698 20.036 37.5834 19.1246C39.8521 18.6682 42.2024 18.8418 44.3797 19.6266C48.243 21.0933 50.6295 24.9853 50.1867 29.0965C50.0944 30.1707 49.9134 31.2353 49.6456 32.2796C49.4212 30.9588 49.3288 29.6381 48.9724 28.3173C48.2014 25.4313 46.0698 23.1046 43.2638 22.0861C40.4577 21.0675 37.3314 21.4856 34.891 23.2059C32.5944 24.7671 31.2823 27.4182 31.4333 30.1928C31.4333 36.4798 31.4333 42.7667 31.4333 49.0535C31.4333 50.3743 31.4333 50.3743 29.9159 50.3743\"\n fill={props.color}\n />\n </SvgIcon>\n );\n};\n\nexport default NSLogoMark;\n","import { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';\n\nconst NSLogoPoweredBy = (props: SvgIconProps): ReactElement => {\n const { color } = props;\n return (\n <SvgIcon viewBox=\"0 0 100 38\" data-testid=\"logo\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n d=\"M15 8.8855V0.885498H17.7031C18.3307 0.885498 18.8438 0.998779 19.2422 1.22534C19.6432 1.4493 19.9401 1.75269 20.1328 2.1355C20.3255 2.51831 20.4219 2.94539 20.4219 3.41675C20.4219 3.8881 20.3255 4.31649 20.1328 4.7019C19.9427 5.08732 19.6484 5.39461 19.25 5.62378C18.8516 5.85034 18.3411 5.96362 17.7188 5.96362H15.7812V5.10425H17.6875C18.1172 5.10425 18.4622 5.03003 18.7227 4.88159C18.9831 4.73315 19.1719 4.53263 19.2891 4.28003C19.4089 4.02482 19.4688 3.73706 19.4688 3.41675C19.4688 3.09644 19.4089 2.80998 19.2891 2.55737C19.1719 2.30477 18.9818 2.10685 18.7188 1.96362C18.4557 1.81779 18.1068 1.74487 17.6719 1.74487H15.9688V8.8855H15Z\"\n fill={color}\n />\n <path\n d=\"M28.7324 4.8855C28.7324 5.72925 28.5801 6.45841 28.2754 7.073C27.9707 7.68758 27.5527 8.16154 27.0215 8.49487C26.4902 8.82821 25.8835 8.99487 25.2012 8.99487C24.5189 8.99487 23.9121 8.82821 23.3809 8.49487C22.8496 8.16154 22.4316 7.68758 22.127 7.073C21.8223 6.45841 21.6699 5.72925 21.6699 4.8855C21.6699 4.04175 21.8223 3.31258 22.127 2.698C22.4316 2.08342 22.8496 1.60946 23.3809 1.27612C23.9121 0.94279 24.5189 0.776123 25.2012 0.776123C25.8835 0.776123 26.4902 0.94279 27.0215 1.27612C27.5527 1.60946 27.9707 2.08342 28.2754 2.698C28.5801 3.31258 28.7324 4.04175 28.7324 4.8855ZM27.7949 4.8855C27.7949 4.19279 27.679 3.60815 27.4473 3.13159C27.2181 2.65503 26.9069 2.29435 26.5137 2.04956C26.123 1.80477 25.6855 1.68237 25.2012 1.68237C24.7168 1.68237 24.278 1.80477 23.8848 2.04956C23.4941 2.29435 23.1829 2.65503 22.9512 3.13159C22.722 3.60815 22.6074 4.19279 22.6074 4.8855C22.6074 5.57821 22.722 6.16284 22.9512 6.6394C23.1829 7.11597 23.4941 7.47664 23.8848 7.72144C24.278 7.96623 24.7168 8.08862 25.2012 8.08862C25.6855 8.08862 26.123 7.96623 26.5137 7.72144C26.9069 7.47664 27.2181 7.11597 27.4473 6.6394C27.679 6.16284 27.7949 5.57821 27.7949 4.8855Z\"\n fill={color}\n />\n <path\n d=\"M31.8145 8.8855L29.627 0.885498H30.6113L32.2832 7.40112H32.3613L34.0645 0.885498H35.1582L36.8613 7.40112H36.9395L38.6113 0.885498H39.5957L37.4082 8.8855H36.4082L34.6426 2.5105H34.5801L32.8145 8.8855H31.8145Z\"\n fill={color}\n />\n <path\n d=\"M40.8027 8.8855V0.885498H45.6309V1.74487H41.7715V4.448H45.3809V5.30737H41.7715V8.02612H45.6934V8.8855H40.8027Z\"\n fill={color}\n />\n <path\n d=\"M47.377 8.8855V0.885498H50.0801C50.7051 0.885498 51.2181 0.992269 51.6191 1.20581C52.0202 1.41675 52.3171 1.70711 52.5098 2.0769C52.7025 2.4467 52.7988 2.86727 52.7988 3.33862C52.7988 3.80998 52.7025 4.22795 52.5098 4.59253C52.3171 4.95711 52.0215 5.24357 51.623 5.4519C51.2246 5.65763 50.7155 5.7605 50.0957 5.7605H47.9082V4.8855H50.0645C50.4915 4.8855 50.8353 4.823 51.0957 4.698C51.3587 4.573 51.5488 4.39592 51.666 4.16675C51.7858 3.93498 51.8457 3.65894 51.8457 3.33862C51.8457 3.01831 51.7858 2.73836 51.666 2.49878C51.5462 2.2592 51.3548 2.0743 51.0918 1.94409C50.8288 1.81128 50.4811 1.74487 50.0488 1.74487H48.3457V8.8855H47.377ZM51.1426 5.29175L53.1113 8.8855H51.9863L50.0488 5.29175H51.1426Z\"\n fill={color}\n />\n <path\n d=\"M54.4131 8.8855V0.885498H59.2412V1.74487H55.3818V4.448H58.9912V5.30737H55.3818V8.02612H59.3037V8.8855H54.4131Z\"\n fill={color}\n />\n <path\n d=\"M63.4561 8.8855H60.9873V0.885498H63.5654C64.3415 0.885498 65.0055 1.04565 65.5576 1.36597C66.1097 1.68368 66.5329 2.14071 66.8271 2.73706C67.1214 3.33081 67.2686 4.04175 67.2686 4.86987C67.2686 5.70321 67.1201 6.42065 66.8232 7.02222C66.5264 7.62118 66.0941 8.08211 65.5264 8.40503C64.9587 8.72534 64.2686 8.8855 63.4561 8.8855ZM61.9561 8.02612H63.3936C64.055 8.02612 64.6032 7.89852 65.0381 7.64331C65.473 7.3881 65.7972 7.02482 66.0107 6.55347C66.2243 6.08211 66.3311 5.52092 66.3311 4.86987C66.3311 4.22404 66.2256 3.66805 66.0146 3.2019C65.8037 2.73315 65.4886 2.37378 65.0693 2.12378C64.6501 1.87118 64.1279 1.74487 63.5029 1.74487H61.9561V8.02612Z\"\n fill={color}\n />\n <path\n d=\"M71.9873 8.8855V0.885498H74.7842C75.3415 0.885498 75.8011 0.981852 76.1631 1.17456C76.5251 1.36466 76.7946 1.62118 76.9717 1.94409C77.1488 2.2644 77.2373 2.61987 77.2373 3.0105C77.2373 3.35425 77.1761 3.6381 77.0537 3.86206C76.9339 4.08602 76.7751 4.2631 76.5771 4.39331C76.3818 4.52352 76.1696 4.61987 75.9404 4.68237V4.7605C76.1852 4.77612 76.4313 4.86206 76.6787 5.01831C76.9261 5.17456 77.1331 5.39852 77.2998 5.69019C77.4665 5.98185 77.5498 6.33862 77.5498 6.7605C77.5498 7.16154 77.4587 7.52222 77.2764 7.84253C77.0941 8.16284 76.8063 8.41675 76.4131 8.60425C76.0199 8.79175 75.5081 8.8855 74.8779 8.8855H71.9873ZM72.9561 8.02612H74.8779C75.5107 8.02612 75.96 7.90373 76.2256 7.65894C76.4938 7.41154 76.6279 7.11206 76.6279 6.7605C76.6279 6.48966 76.5589 6.23967 76.4209 6.0105C76.2829 5.77873 76.0863 5.59383 75.8311 5.45581C75.5758 5.31519 75.2738 5.24487 74.9248 5.24487H72.9561V8.02612ZM72.9561 4.40112H74.7529C75.0446 4.40112 75.3076 4.34383 75.542 4.22925C75.779 4.11467 75.9665 3.95321 76.1045 3.74487C76.2451 3.53654 76.3154 3.29175 76.3154 3.0105C76.3154 2.65894 76.193 2.36076 75.9482 2.11597C75.7034 1.86857 75.3154 1.74487 74.7842 1.74487H72.9561V4.40112Z\"\n fill={color}\n />\n <path\n d=\"M78.4541 0.885498H79.5635L81.7822 4.61987H81.876L84.0947 0.885498H85.2041L82.3135 5.58862V8.8855H81.3447V5.58862L78.4541 0.885498Z\"\n fill={color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M98.8441 32.3669C98.2276 32.3669 97.7076 32.8865 97.7076 33.4781C97.7076 34.0709 98.2276 34.5892 98.8441 34.5892C99.518 34.5892 100 34.0709 100 33.4781C100 32.8496 99.518 32.3669 98.8441 32.3669ZM98.844 34.4599C98.286 34.4599 97.8221 33.9962 97.8221 33.478C97.8221 32.9421 98.286 32.4974 98.844 32.4974C99.4217 32.4974 99.8461 32.9421 99.8461 33.478C99.8461 33.9962 99.4217 34.4599 98.844 34.4599ZM99.3046 33.2195C99.3046 33.0903 99.2286 32.831 98.806 32.831H98.4385V34.1445H98.6138V33.5708H98.9019L99.1514 34.1445H99.3046L99.0743 33.5514C99.2102 33.5337 99.3046 33.3868 99.3046 33.2195ZM98.8239 33.4588H98.6138V32.9779H98.862C99.0358 32.9779 99.1699 33.0347 99.1699 33.2196C99.1699 33.3311 99.1119 33.4588 98.8239 33.4588Z\"\n fill={props.color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M37.9119 33.8485L28.4715 22.2537V33.6435H27.4075V19.8303L27.6589 19.7744L37.0221 31.2387V19.9796H38.1053V33.8112L37.9119 33.8485Z\"\n fill={props.color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M46.4815 33.8485C43.1568 33.8485 41.1619 31.9733 41.1619 28.6206V19.7744H42.2571V28.6015C42.2571 31.443 43.9194 32.8826 46.4815 32.8826C49.0435 32.8826 50.7449 31.4051 50.7449 28.6015V19.7744H51.8597V28.6206C51.8597 31.8786 49.7279 33.8485 46.4815 33.8485Z\"\n fill={color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M62.06 33.8485C60.5561 33.8485 59.2066 33.3652 57.9728 32.5842L58.4934 31.6733C59.6309 32.4169 60.884 32.9004 62.1562 32.9004C64.0262 32.9004 65.2795 31.7475 65.2795 30.2416C65.2795 28.6613 64.1808 27.9733 62.1757 27.0996C59.9971 26.1699 58.6669 25.2031 58.6669 23.3256C58.6669 21.3547 60.3827 19.7744 62.908 19.7744C64.1419 19.7744 65.2601 20.1648 66.0891 20.7039L65.5687 21.5778C64.8553 21.0943 63.8722 20.7225 62.8118 20.7225C60.9224 20.7225 59.7465 21.838 59.7465 23.251C59.7465 24.7198 60.9418 25.4262 62.6576 26.1887C65.0866 27.2483 66.3782 28.1594 66.3782 30.1115C66.3782 32.3426 64.4505 33.8485 62.06 33.8485Z\"\n fill={color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M77.2052 33.8485L70.4931 26.898V33.8485H69.4347V19.7744H70.4931V26.3217L76.9783 19.7744H78.3394L71.5141 26.6097L78.6043 33.8485H77.2052Z\"\n fill={color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M80.8967 33.8485H81.8901V19.7744H80.8967V33.8485Z\"\n fill={color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M95.9857 33.8485L86.5454 22.2537V33.6435H85.4814V19.8303L85.7331 19.7744L95.0958 31.2387V19.9796H96.1793V33.8112L95.9857 33.8485Z\"\n fill={color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M17.2824 21.0565C17.2824 21.0565 19.2781 20.9567 20.7785 22.6234C21.2739 23.179 21.7551 23.8912 22.024 24.8884C21.3163 19.5037 16.7162 15.33 11.1394 15.33C5.57676 15.33 0.962469 19.5037 0.240601 24.9026C0.509532 23.9055 0.990778 23.1932 1.48618 22.6376C3.00069 20.971 4.98229 21.0707 4.98229 21.0707C9.93628 21.3271 9.96459 26.3414 9.96459 26.3414V37.3955C10.1911 37.424 10.4317 37.4382 10.6723 37.4525V25.6291C10.6723 24.0194 10.1769 22.4525 9.05872 21.3414C8.03961 20.3157 6.72326 19.7459 5.33614 19.7174C5.93062 18.6775 6.75157 17.8086 7.72822 17.1961C8.76148 16.555 9.93628 16.2131 11.1394 16.2131C12.3425 16.2131 13.5315 16.555 14.5647 17.1961C15.5414 17.8086 16.3623 18.6775 16.9568 19.7174C15.5697 19.7459 14.2392 20.3157 13.2201 21.3414C12.1019 22.4525 11.5923 24.0194 11.5923 25.6291V37.424C11.833 37.4097 12.0594 37.3955 12.3 37.367V26.3271C12.3 26.3271 12.3284 21.3129 17.2824 21.0565ZM17.7353 27.0251C17.7353 27.0251 16.9852 27.0393 16.3624 27.4382C15.6122 27.9083 14.8337 28.8627 14.8337 30.8285V36.7972C17.0418 35.9995 18.9243 34.518 20.2265 32.5949C21.0899 31.1846 21.1182 30.0735 20.9059 29.2616C20.5945 28.2217 19.6462 26.9254 17.7353 27.0251ZM17.3956 23.5066C18.8818 23.5066 19.8726 23.9054 20.5379 24.4325C21.0758 24.9026 22.661 26.555 21.6136 29.6604C21.5995 27.424 21.0758 26.6262 20.4954 25.9567C19.2498 24.6035 17.5938 24.7601 17.5938 24.7601C15.6264 24.8171 14.7063 25.8 14.2817 26.6975C13.8854 27.4952 13.9137 28.2074 13.9137 28.2074V37.0821C13.6872 37.1391 13.4607 37.196 13.2201 37.2388V27.2103C13.2201 23.5351 17.3956 23.5066 17.3956 23.5066ZM4.88322 23.5066C3.39702 23.5066 2.40622 23.9054 1.74097 24.4325C1.20311 24.9026 -0.382169 26.555 0.651093 29.6604C0.665248 27.424 1.18896 26.6262 1.76928 25.9567C3.0007 24.6035 4.67091 24.7601 4.67091 24.7601C6.63835 24.8171 7.55838 25.8 7.98301 26.6975C8.37933 27.4809 8.35102 28.2074 8.35102 28.2074V37.0821C8.57749 37.1391 8.81811 37.196 9.05874 37.2388V27.2245C9.07289 23.5351 4.88322 23.5066 4.88322 23.5066ZM4.55768 27.0251C4.55768 27.0251 5.30786 27.0393 5.93065 27.4382C6.66667 27.9083 7.45931 28.8627 7.45931 30.8285V36.7972C5.25125 35.9995 3.36873 34.518 2.06653 32.5949C1.21727 31.1846 1.17481 30.0735 1.38713 29.2616C1.68437 28.2217 2.6327 26.9111 4.55768 27.0251Z\"\n fill={color}\n />\n </SvgIcon>\n );\n};\n\nexport default NSLogoPoweredBy;\n","import { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';\n\nconst NSLogoStacked = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon viewBox=\"0 0 155 108\" fill=\"none\" data-testid=\"logo\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <g clipPath=\"url(#clip0_11117_50399)\">\n <path\n d=\"M145.803 20.6435C145.084 18.9662 144.039 17.4488 142.728 16.1793C139.943 13.5595 136.017 12.5391 132.31 13.472C128.604 14.4047 125.626 17.1622 124.411 20.7888C123.792 22.4814 123.475 24.2696 123.474 26.0719C123.474 33.9438 123.474 41.8201 123.474 49.7006C123.474 51.0214 123.474 51.0214 122.022 50.9554C122.022 50.7044 122.022 50.4271 122.022 50.1628C122.022 41.2608 122.022 32.3632 122.022 23.47C121.801 17.9191 125.172 12.8556 130.376 10.9226C131.004 10.703 131.648 10.5308 132.303 10.4075C132.936 10.2754 133.622 10.2225 134.256 10.1433C133.451 6.45834 126.746 2.21863 121.309 1.96768C115.508 1.82825 110.13 4.99786 107.439 10.1433C108.059 10.2225 108.667 10.2622 109.247 10.3678C114.641 11.2894 118.805 15.6226 119.515 21.0529C119.661 22.0412 119.736 23.0388 119.739 24.0379C119.739 32.7288 119.739 41.4193 119.739 50.1101C119.739 50.7968 119.58 51.0875 118.842 51.0081C118.102 50.929 118.182 50.7044 118.182 50.2159C118.182 47.4552 118.182 44.6948 118.182 41.9212C118.182 36.4532 118.182 30.9852 118.182 25.5172C118.228 22.3039 117.053 19.193 114.895 16.8132C112.342 14.0518 108.579 12.7501 104.866 13.3445C101.154 13.939 97.9845 16.3508 96.4194 19.7718C96.248 20.102 96.1026 20.4454 95.8652 20.9341C98.0359 8.85927 108.509 0.0553189 120.767 0.000259583C133.026 -0.0547998 143.577 8.65471 145.856 20.7095\"\n fill={props.color}\n />\n <path\n d=\"M129.556 49.41C129.556 49.1591 129.556 48.9873 129.556 48.8157C129.556 44.1663 129.556 39.5703 129.556 34.8551C129.471 32.5992 130.332 30.4108 131.931 28.819C133.957 26.8776 136.968 26.3842 139.507 27.5775C142.034 28.5237 143.712 30.9388 143.716 33.6398C143.792 36.4561 142.775 39.192 140.879 41.2738C138.105 44.7864 134.467 47.5172 130.321 49.1985C130.075 49.2868 129.824 49.3618 129.569 49.4231\"\n fill={props.color}\n />\n <path\n d=\"M112.176 49.5949C110.526 48.7363 108.969 48.0496 107.53 47.1646C104.217 45.2066 101.445 42.4507 99.4666 39.1475C98.3269 37.3357 97.8597 35.1804 98.1469 33.0589C98.5316 29.7773 101.212 27.2445 104.508 27.0492C107.978 26.5971 111.208 28.902 111.912 32.3324C112.153 33.327 112.277 34.3466 112.281 35.3701C112.281 39.7552 112.281 44.1533 112.281 48.5778C112.281 48.8288 112.281 49.0667 112.202 49.5552\"\n fill={props.color}\n />\n <path\n d=\"M115.91 50.4005C114.591 50.4005 114.472 50.308 114.472 49.1721V30.3114C114.645 26.8698 112.63 23.6935 109.444 22.3867C105.928 20.905 101.865 21.6983 99.1633 24.3943C97.4446 26.3444 96.5048 28.8603 96.5238 31.4604C96.5292 31.7375 96.461 32.0109 96.3258 32.253C96.1804 31.619 96.009 30.9321 95.9297 30.351C95.478 27.8623 95.9471 25.2941 97.2494 23.1263C98.1536 21.5993 99.5498 20.4255 101.209 19.798C104.734 18.413 108.691 18.6596 112.017 20.4716C114.468 21.7014 115.986 24.2401 115.91 26.983C115.976 34.6566 115.91 42.3303 115.91 49.991C115.91 50.1495 115.91 50.2947 115.91 50.4402\"\n fill={props.color}\n />\n <path\n d=\"M125.704 50.427V49.476C125.704 42.3969 125.783 35.3175 125.704 28.238C125.625 22.5058 128.832 20.036 133.346 19.1246C135.614 18.6682 137.965 18.8418 140.142 19.6266C144.005 21.0933 146.392 24.9853 145.949 29.0965C145.856 30.1707 145.676 31.2353 145.408 32.2796C145.183 30.9588 145.091 29.6381 144.734 28.3173C143.964 25.4313 141.832 23.1046 139.026 22.0861C136.22 21.0675 133.094 21.4856 130.653 23.2059C128.356 24.7671 127.044 27.4182 127.195 30.1928C127.195 36.4798 127.195 42.7667 127.195 49.0535C127.195 50.3743 127.195 50.3743 125.678 50.3743\"\n fill={props.color}\n />\n <path\n d=\"M27.714 93.128C27.714 86.9072 24.9822 83.6714 15.2691 79.2862C9.55475 76.6447 7.35082 74.0031 7.35082 70.8333C7.35082 66.567 10.3334 63.0141 16.1797 63.0141C19.1984 63.0878 22.1225 64.0833 24.5599 65.8672L26.843 61.5482C23.781 59.4956 20.1818 58.393 16.4964 58.3784C7.91831 58.3784 2.21712 64.3746 2.21712 71.0843C2.21712 76.6711 5.1997 80.3297 13.2631 83.8562C20.8779 87.2242 22.5011 89.6412 22.5011 93.7093C22.5011 97.7771 19.7034 101.845 13.7383 101.845C9.66038 101.629 5.74215 100.188 2.49426 97.711L0 102.162C3.94083 104.954 8.64596 106.462 13.4743 106.481C21.5378 106.481 27.6876 100.696 27.6876 93.128H27.714ZM71.951 105.715L49.3309 81.7563L70.9214 59.0915H64.5076L44.2501 80.8052V59.0915H39.1693V105.715H44.2501V82.8655L65.2731 105.715H71.951ZM89.5955 59.0915H84.462V105.715H89.5428L89.5955 59.0915ZM141.408 106.376V59.0915H136.327V93.8942L106.475 58.2329L105.458 58.4839V105.715H110.539V70.3842L140.774 106.639L141.408 106.376Z\"\n fill={props.color}\n />\n <path\n d=\"M39.4206 50.1894V2.91866H34.3131V37.6684L4.47444 2.00732L3.45825 2.25827V49.4893H8.53915V14.1849L38.7607 50.414L39.4206 50.1894ZM85.0167 32.7814V2.91866H79.9359V32.3983C79.9359 41.6438 74.6571 45.6855 67.425 45.6855C60.1929 45.6855 55.0461 41.7232 55.0461 32.3983V2.91866H49.965V32.7814C49.965 43.9686 56.7616 50.2555 67.425 50.2555C77.8373 50.2555 85.0167 43.5856 85.0167 32.7814Z\"\n fill={props.color}\n />\n <path\n d=\"M150.431 107.7C152.737 107.7 154.569 105.785 154.569 103.5C154.569 101.162 152.737 99.2468 150.431 99.2468C148.124 99.2468 146.318 101.136 146.318 103.5C146.318 105.811 148.15 107.7 150.431 107.7ZM150.431 107.119C148.52 107.119 146.977 105.441 146.977 103.513C146.977 101.492 148.52 99.8808 150.431 99.8808C152.368 99.8808 153.91 101.505 153.91 103.513C153.91 105.455 152.368 107.119 150.431 107.119ZM149.811 102.007C149.93 101.981 150.128 101.981 150.299 101.981C150.866 101.981 151.208 102.258 151.208 102.668C151.208 103.183 150.866 103.473 150.246 103.473C150.128 103.473 149.969 103.473 149.798 103.447V102.007H149.811ZM149.126 105.521H149.811V104.028C149.983 104.055 150.101 104.055 150.18 104.055C150.233 104.055 150.378 104.055 150.497 104.028L151.406 105.521H152.21L151.156 103.87C151.617 103.672 151.907 103.183 151.907 102.641C151.907 101.955 151.367 101.36 150.22 101.36C149.798 101.36 149.455 101.387 149.126 101.439V105.521Z\"\n fill={props.color}\n />\n </g>\n <defs>\n <clipPath id=\"clip0_11117_50399\">\n <rect width=\"155\" height=\"108\" fill=\"white\" />\n </clipPath>\n </defs>\n </SvgIcon>\n );\n};\n\nexport default NSLogoStacked;\n","import { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';\n\nconst NSLogoWordMark = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon viewBox=\"0 0 98 20\" data-testid=\"logo\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M96.4395 17C95.6072 17 94.9053 17.7014 94.9053 18.5C94.9053 19.3004 95.6072 20 96.4395 20C97.3493 20 98 19.3004 98 18.5C98 17.6516 97.3493 17 96.4395 17ZM96.4393 19.8255C95.686 19.8255 95.0598 19.1996 95.0598 18.5C95.0598 17.7765 95.686 17.1762 96.4393 17.1762C97.2193 17.1762 97.7922 17.7765 97.7922 18.5C97.7922 19.1996 97.2193 19.8255 96.4393 19.8255ZM97.0612 18.151C97.0612 17.9766 96.9586 17.6265 96.388 17.6265H95.892V19.3997H96.1287V18.6252H96.5176L96.8544 19.3997H97.0612L96.7503 18.599C96.9337 18.5751 97.0612 18.3768 97.0612 18.151ZM96.4123 18.474H96.1286V17.8248H96.4637C96.6983 17.8248 96.8794 17.9014 96.8794 18.151C96.8794 18.3016 96.8011 18.474 96.4123 18.474Z\"\n fill={props.color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M14.181 19L1.43645 3.34704V18.7232H0V0.0754862L0.339466 0L12.9798 15.4768V0.277025H14.4421V18.9497L14.181 19Z\"\n fill={props.color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M25.7499 19C21.2617 19 18.5685 16.4685 18.5685 11.9423V0H20.0471V11.9165C20.0471 15.7525 22.2912 17.696 25.7499 17.696C29.2087 17.696 31.5056 15.7014 31.5056 11.9165V0H33.0106V11.9423C33.0106 16.3406 30.1326 19 25.7499 19Z\"\n fill={props.color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M46.781 19C44.7507 19 42.9289 18.3475 41.2632 17.2933L41.966 16.0636C43.5016 17.0674 45.1934 17.7201 46.9109 17.7201C49.4353 17.7201 51.1273 16.1637 51.1273 14.1307C51.1273 11.9973 49.644 11.0685 46.9371 9.889C43.9961 8.63396 42.2002 7.32873 42.2002 4.79404C42.2002 2.13339 44.5165 0 47.9257 0C49.5914 0 51.101 0.527014 52.2202 1.2548L51.5176 2.43455C50.5545 1.78181 49.2274 1.27989 47.7959 1.27989C45.2452 1.27989 43.6578 2.78589 43.6578 4.69342C43.6578 6.67624 45.2714 7.62988 47.5877 8.6593C50.8668 10.0898 52.6106 11.3197 52.6106 13.955C52.6106 16.967 50.008 19 46.781 19Z\"\n fill={props.color}\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M67.227 19L58.1657 9.61689V19H56.7368V0H58.1657V8.83886L66.9207 0H68.7582L59.5441 9.22763L69.1158 19H67.227Z\"\n fill={props.color}\n />\n <path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M72.2106 19H73.5516V0H72.2106V19Z\" fill={props.color} />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M92.5808 19L79.8364 3.34704V18.7232H78.4V0.0754862L78.7397 0L91.3794 15.4768V0.277025H92.8421V18.9497L92.5808 19Z\"\n fill={props.color}\n />\n </SvgIcon>\n );\n};\n\nexport default NSLogoWordMark;\n","import { styled } from '@nuskin/foundation-theme';\n\nconst NsBrandContainer = styled.div<{ size: string }>`\n svg {\n font-size: ${({ size }) => size};\n height: auto;\n }\n`;\n\nexport default NsBrandContainer;\n","/**\n * @author [Vijayaprathap Kumar] (vpkumar@nuskin.com)\n * NsBreadcrumb.tsx\n * @description NsBreadcrumb component with a navigation items array props\n */\n\nimport { PropsWithChildren, ReactElement } from 'react';\n\nimport { useTheme } from '@mui/material/styles';\nimport { ColorUtils } from '@nuskin/foundation-theme';\n\nimport { NsIcon, NsTypography } from '../';\nimport { BreadcrumbContainer, BreadcrumbItem, BreadcrumbList, BreadcrumbStyledLink } from './NsBreadcrumb.styled';\nimport { ItemProps, NsBreadcrumbProps } from './types.d';\n\nconst { color } = ColorUtils;\n\nconst NsBreadcrumb = (props: PropsWithChildren<NsBreadcrumbProps>): ReactElement => {\n const { items, underline = true, separator = 'chevronRight' } = props;\n\n const theme = useTheme();\n const neutral80 = color('neutral', '80')({ theme });\n const neutral60 = color('neutral', '60')({ theme });\n\n const getLabel = (item: ItemProps) => {\n if (item?.href) {\n return (\n <NsTypography variant=\"h6\" colorOverride={neutral60}>\n <BreadcrumbStyledLink\n underlineVisibility={underline}\n href={item.href}\n underlineOnHover={!underline}\n >\n {item.icon ? (\n <NsIcon name={item.icon} size=\"medium\" testId=\"nav-icon\" colorOverride={neutral60} />\n ) : null}\n {item.label}\n </BreadcrumbStyledLink>\n </NsTypography>\n );\n } else {\n return (\n <NsTypography variant=\"h6\" weight=\"bold\" colorOverride={neutral80}>\n {item.label}\n </NsTypography>\n );\n }\n };\n\n return (\n <BreadcrumbContainer aria-label=\"breadcrumb\">\n <BreadcrumbList>\n {items?.map((item: ItemProps, index: number) => (\n <BreadcrumbItem key={item.label}>\n {getLabel(item)}\n {index !== items.length - 1 ? (\n <NsIcon\n className={separator === 'slash' && 'slashIcon'}\n name={separator}\n size=\"medium\"\n colorOverride={neutral80}\n />\n ) : null}\n </BreadcrumbItem>\n ))}\n </BreadcrumbList>\n </BreadcrumbContainer>\n );\n};\n\nexport default NsBreadcrumb;\n","import { styled } from '@nuskin/foundation-theme';\nimport { NsLink } from '../link';\n\nexport const BreadcrumbContainer = styled.nav`\n margin-bottom: 10px;\n`;\n\nexport const BreadcrumbList = styled.ol`\n display: flex;\n flex-wrap: wrap;\n padding: 0;\n margin: 0;\n list-style: none;\n`;\n\nexport const BreadcrumbItem = styled.li`\n display: flex;\n align-items: center;\n :not(:first-of-type) {\n margin-left: 12px;\n }\n & a {\n display: flex;\n gap: 8px;\n margin-right: 12px;\n }\n .slashIcon {\n transform: rotate(20deg);\n }\n`;\n\nexport const BreadcrumbStyledLink = styled(NsLink)<{ underlineVisibility?: boolean }>`\n text-decoration: ${({ underlineVisibility }) => (underlineVisibility ? 'underline' : 'none')};\n text-underline-offset: 4px;\n font-weight: 700;\n`;\n","import { styled } from '@nuskin/foundation-theme';\nimport MUILink from '@mui/material/Link';\n\ntype StyledProps = {\n disabled?: boolean;\n $underlineOnHover?: boolean;\n variants?: string;\n outlined?: boolean;\n showHorizontal?: boolean;\n fontColor?: 'primary' | 'secondary';\n};\n\n/**\n * Wrapper StyledMUILink / StyledNextLink for NsLink.tsx\n * @params ( theme: { palette }) / Provide the color's to container from @nuskin/foundation-theme\n * @params ( disabled: boolean) / Element will be disable only when disabled is true\n */\n\nexport const linkDefaultStyles = `\n -webkit-tap-highlight-color: transparent;\n background-color: transparent;\n background-repeat: no-repeat;\n border: none;\n cursor: pointer;\n outline: none;\n padding: 0;\n text-decoration: none;\n transition: transform 120ms linear;\n color: inherit;\n &:focus {\n outline: none;\n text-decoration: underline;\n }\n`;\n\nconst getLinkStyles = ({ disabled, $underlineOnHover = true }: StyledProps) => {\n if (disabled) {\n return `\n cursor: default;\n pointer-events: all;\n opacity: 0.6;\n `;\n } else if ($underlineOnHover) {\n return `&:hover {\n text-decoration: underline;\n text-underline-offset: 4px;\n text-decoration-color: currentcolor;\n }`;\n }\n return '';\n};\n\nconst getVariantStyles = ({ variants, outlined, showHorizontal, fontColor }: StyledProps) => {\n const styles: Record<string, string> = {\n primary: `\n padding: 8px 16px; \n background-color: ${outlined ? '#tansparent' : fontColor=='secondary' ? 'white': 'black'};\n color: ${outlined ?fontColor=='secondary' ? 'white': 'black': fontColor=='secondary' ? 'black': 'white'}; \n border: ${outlined ? `1px solid ${fontColor=='secondary' ? 'white' : 'black'}` : 'none'}; \n text-align: center; \n cursor: pointer; \n text-decoration: none;\n display: inline-block; \n &:hover {\n background-color: '#8C8C8C'; \n }\n @media (max-width: 1024px) {\n margin: auto;\n }\n @media (max-width: 1023px) {\n margin: ${showHorizontal?'0':'0 auto'};\n width: fit-content; \n }\n \n `,\n secondary: `\n text-align: center;\n cursor: pointer;\n text-decoration: none;\n display: inline-block;\n color: ${fontColor=='secondary' ? 'white' : 'black'}; \n\n `,\n };\n\n return variants ? styles[variants] || '' : '';\n}\n\nexport const StyledLink = styled(MUILink)<StyledProps>`\n ${linkDefaultStyles};\n ${getLinkStyles}\n ${getVariantStyles}\n`;\n","/**\n * @name NsLink.tsx\n * @description Exports one components - NsLink\n */\n\nimport React, {\n PropsWithChildren,\n ReactElement,\n} from 'react';\n\nimport {\n StyledLink\n} from './NsLink.styled';\nimport { NsLinkProps } from './types.d';\nimport { NsTypography } from '../typography';\nimport { NsIcon } from '../icon';\nimport { styled } from '@nuskin/foundation-theme';\n\nexport const SecondaryLinkWrapper = styled.a`\n display: flex;\n justify-content: center; /* Centers content horizontally */\n align-items: center; \n text-align: center;\n padding: 8px 16px; /* Padding for the link */\n text-decoration: none; /* Removes default underline */\n svg {\n margin-right: 10px;\n margin-left: 10px;\n g {\n stroke-width: 2;\n }\n }\n .cta-text {\n text-decoration: underline;\n text-underline-offset: 4px;\n text-decoration-color: inherit;\n }\n :hover {\n opacity: 0.7;\n }\n`;\n\nconst SecondaryWrapper: React.FC<{\n href: string;\n variants: string;\n fontColor: 'primary' | 'secondary' | undefined;\n children: React.ReactNode;\n}> = ({ href, variants, fontColor, children }) => {\n return (\n <SecondaryLinkWrapper href={href}>\n <NsTypography variant=\"body-l\" className=\"!m-0 cta-text\" weight=\"bold\" color={fontColor || 'primary'}>\n {children}\n </NsTypography>\n <NsIcon name=\"arrowRight\" size=\"small\" className=\"icon-order\" color={fontColor} />\n </SecondaryLinkWrapper>\n );\n};\n\nconst NsLink = (props: PropsWithChildren<NsLinkProps>): ReactElement => {\n const {\n className,\n href,\n variants,\n outlined,\n underlineOnHover,\n target,\n additionalProps,\n children,\n disabled,\n showHorizontal,\n color,\n } = props;\n\n return (\n <StyledLink\n className={className}\n href={href}\n variants={variants}\n outlined={outlined}\n showHorizontal={showHorizontal}\n fontColor={color}\n disabled={disabled}\n $underlineOnHover={underlineOnHover}\n target={target}\n {...additionalProps}\n >\n {variants === 'secondary' ? ( // secondary condition\n <SecondaryWrapper href={href} variants={variants} fontColor={color}>\n {children}\n </SecondaryWrapper>\n ) : (\n children\n )}\n </StyledLink>\n );\n};\n\nexport default NsLink;\n","import { PropsWithChildren, ReactElement } from 'react';\n\nimport { useTheme } from '@mui/material/styles';\n\nimport { NsIcon } from '../icon';\nimport { StyledButton } from './NsButton.styled';\nimport { NsButtonProps } from './types.d';\n\nconst NsButton = ({ children, darkModeEnabled = true, ...props }: PropsWithChildren<NsButtonProps>): ReactElement => {\n const { color, startIconName, endIconName, variant } = props;\n const { palette } = useTheme();\n // TODO: remove any\n const btnColor = color && (palette as any)?.[color] ? color : 'primary';\n let iconColor = btnColor;\n if (variant === 'contained') {\n if (btnColor === 'secondary') {\n iconColor = 'primary';\n } else {\n iconColor = 'secondary';\n }\n }\n let startIcon = props.startIcon;\n if (!startIcon && startIconName) {\n startIcon = <NsIcon name={startIconName} color={iconColor} size={props.size} />;\n }\n let endIcon = props.endIcon;\n if (!endIcon && endIconName) {\n endIcon = <NsIcon name={endIconName} color={iconColor} size={props.size} />;\n }\n\n return (\n <StyledButton\n {...props}\n startIcon={startIcon}\n endIcon={endIcon}\n color={btnColor}\n disableRipple\n darkModeEnabled={darkModeEnabled}\n >\n {children}\n </StyledButton>\n );\n};\n\nexport default NsButton;\n","import { Button as MUIButton } from '@mui/material';\n\nimport { styled, ColorUtils, FoundationTheme, getGenomeColor } from '@nuskin/foundation-theme';\ntype ButtonSize = {\n padding?: string;\n};\nexport type ButtonConfig = {\n borderRadius?: number;\n focusColor?: string;\n size?: {\n small?: ButtonSize;\n medium?: ButtonSize;\n large?: ButtonSize;\n };\n};\nimport { NsButtonProps } from './types.d';\nimport { generateContainedStyle, generateIconOnlyStyles, generateOutlinedStyle, generateTextStyles } from './helper';\n\nconst { buttonColor, paletteColor } = ColorUtils;\n\nconst getButtonConfig = (theme: FoundationTheme.Theme, attribute: keyof ButtonConfig) => {\n const { config } = theme || {};\n return config?.components?.button?.[attribute] || '';\n};\n\nexport const StyledButton = styled(MUIButton)<NsButtonProps>(\n ({ theme, color, size, darkModeEnabled, variant, iconOnly }) => {\n const borderRadius = getButtonConfig(theme, 'borderRadius') || 0;\n const focusBorderColor = getButtonConfig(theme, 'focusColor');\n // TODO: remove as any from the theme and color\n const sizeStyle = (theme as any)?.components?.button?.['size']?.[size ?? '']?.padding ?? {};\n const btnColor = color as any;\n\n let buttonStyles = {};\n const hovered = buttonColor(btnColor, 'hovered')({ theme });\n const pressed = buttonColor(btnColor, 'pressed')({ theme });\n const focused = buttonColor(btnColor, 'focused')({ theme });\n const textColor = paletteColor(btnColor, 'contrastText')({ theme, darkModeEnabled });\n const backgroundColor = paletteColor(btnColor)({ theme, darkModeEnabled });\n\n if (variant === 'contained') {\n buttonStyles = generateContainedStyle({ backgroundColor, textColor, hovered, pressed, focused });\n } else if (variant === 'outlined') {\n const activeColor = paletteColor(btnColor)({ theme });\n buttonStyles = generateOutlinedStyle({ borderColor: backgroundColor, hovered, pressed, activeColor });\n } else if (variant === 'text') {\n buttonStyles = generateTextStyles({ underlineColor: backgroundColor, hovered, pressed });\n } else if (iconOnly) {\n buttonStyles = generateIconOnlyStyles();\n }\n\n return {\n gap: '10px',\n borderRadius,\n '&:focus': {\n border: `1px solid ${focusBorderColor} !important`,\n },\n '&:disabled': {\n backgroundColor: buttonColor(btnColor, 'disabled'),\n color: buttonColor(btnColor, 'disabledText'),\n },\n ...buttonStyles,\n ...sizeStyle,\n textTransform: 'none',\n '@media (hover: none) and (pointer: coarse)': {\n '&:hover': {\n backgroundColor: getGenomeColor(theme, 'N100'),\n },\n '&:active': {\n backgroundColor: getGenomeColor(theme, 'N60'),\n },\n },\n };\n }\n);\n","type ContainedParams = {\n backgroundColor: string;\n textColor: string;\n hovered: string;\n pressed: string;\n focused: string;\n};\n\nexport function generateContainedStyle({\n backgroundColor,\n textColor,\n hovered,\n pressed,\n focused,\n}: ContainedParams): Record<string, any> {\n return {\n backgroundColor,\n color: `${textColor} !important`,\n '&:hover': {\n backgroundColor: `${hovered}`\n },\n '&:active': {\n backgroundColor: `${pressed}`\n },\n '&:focus': {\n backgroundColor: `${focused}`\n }\n };\n}\ntype OutlinedParams = {\n borderColor: string;\n hovered: string;\n pressed: string;\n activeColor: string;\n};\nexport function generateOutlinedStyle({ borderColor, hovered, pressed, activeColor }: OutlinedParams) {\n return {\n borderColor: `${borderColor}`,\n color: `${borderColor}`,\n '&:hover': {\n borderColor: `${hovered}`,\n color: `${borderColor}`\n },\n '&:active': {\n borderColor: `${pressed}`,\n color: `${activeColor}`\n }\n }\n}\n\ntype TextParams = {\n underlineColor: string;\n hovered: string;\n pressed: string;\n};\n\nexport function generateTextStyles({ underlineColor, hovered, pressed }: TextParams): Record<string, any> {\n return {\n textDecoration: 'underline 1px !important',\n textUnderlineOffset: '4px',\n minWidth: 'auto',\n backgroundColor: 'transparent !important',\n textDecorationColor: `${underlineColor}`,\n color: `${underlineColor}`,\n '&:hover': {\n color: `${hovered}`,\n textDecorationColor: `${hovered}`,\n backgroundColor: 'transparent !important',\n border: 0,\n },\n '&:active, &:focus': {\n color: `${underlineColor}`,\n textDecorationColor: `${pressed}`,\n border: 'none !important',\n }\n };\n}\n\nexport function generateIconOnlyStyles() {\n return {\n padding: '10px',\n minWidth: 'unset',\n };\n}\n","import { PropsWithChildren, ReactElement } from 'react';\n\nimport Box from '@mui/material/Box';\nimport { styled } from '@nuskin/foundation-theme';\n\nconst Wrapper = styled(Box)`\n background-color: rgba(0, 0, 0, 0.5);\n width: 100%;\n height: 100%;\n z-index: 100;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n &:hover {\n background-color: rgba(0, 0, 0, 0);\n & img {\n visibility: hidden;\n }\n }\n`;\n\nexport default function NsBrandWrapper({ children }: PropsWithChildren): ReactElement {\n return <Wrapper className=\"logo-wrapper\">{children}</Wrapper>;\n}\n","import Card from '@mui/material/Card';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { shouldNotForwardPropsWithKeys } from '../util';\n\ntype NsBgCardProps = {\n backgroundImageUrl: string;\n};\nconst options = {\n shouldForwardProp: shouldNotForwardPropsWithKeys<NsBgCardProps>(['backgroundImageUrl']),\n};\nconst Component = ({ backgroundImageUrl }: NsBgCardProps) => {\n const width = 256;\n return {\n backgroundImage: `url(\"${backgroundImageUrl}\")`,\n backgroundSize: 'cover',\n backgroundPosition: 'center',\n height: width * 1.2,\n width,\n };\n};\n/*\nThis styled component shows the background image on a card\n*/\nconst NsBgCard = styled(Card, options)<NsBgCardProps>(Component);\nexport default NsBgCard;\n","export function shouldNotForwardPropsWithKeys<T>(propArray: Array<keyof T>) {\n return (propName: string) => !propArray.includes(propName as keyof T);\n}\n","import CardMedia from '@mui/material/CardMedia';\nimport { styled } from '@nuskin/foundation-theme';\n\nconst NsBrandLogo = styled(CardMedia)<{\n component: 'img';\n}>({\n width: 'auto',\n height: 'auto',\n maxWidth: '80%',\n maxHeight: '80%',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n});\n\nexport default NsBrandLogo;\n","import { ReactElement } from 'react';\n\nimport Box from '@mui/material/Box';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { BynderMedia } from '../image/BynderMedia';\nimport { BynderImageDataType } from '../image/types';\nimport CardButton from './CardButton';\nimport { NsCardButton } from './types';\n\ntype NsHeroCardLevel1Props = {\n cardTitle: string;\n cardDescription: string;\n backgroundImageDetail: BynderImageDataType;\n button?: NsCardButton;\n className?: string;\n imagePosition?: 'top' | 'bottom';\n fontColor?: 'primary' | 'secondary';\n};\n\nconst CardContainer = styled((props: any) => <Box {...props} />)(({ imagePosition }) => {\n const imageDirection = imagePosition === 'top' ? 'column' : 'column-reverse';\n\n return {\n backgroundClip: 'border-box',\n display: 'flex',\n wordWrap: 'break-word' as 'break-word',\n position: 'relative',\n overflow: 'hidden',\n maxWidth: '820px',\n height: '532px',\n flexDirection: 'row',\n '.content': {\n width: '50%',\n minWidth: '300px',\n height: '500px',\n padding: '50px',\n paddingLeft: '100px',\n display: 'flex',\n flexDirection: 'column' as 'column',\n position: 'absolute',\n top: 0,\n left: 0,\n boxSizing: 'border-box',\n },\n '.bg-image': {\n objectFit: 'cover',\n },\n '.body-title': {\n fontSize: '36px',\n lineHeight: '44px',\n marginBottom: '20px',\n },\n '.body-text': {\n fontSize: '18px',\n marginBottom: '20px',\n },\n '.primary': {\n color: '#fff',\n },\n '.secondary': {\n color: '#000',\n },\n '.action-link': {\n marginTop: '10px',\n },\n '@media (max-width: 768px)': {\n '.content': {\n paddingLeft: '20px',\n },\n },\n '@media (max-width: 430px)': {\n height: 'auto',\n backgroundColor: '#edece9',\n flexDirection: imageDirection,\n '.content': {\n height: 'auto',\n position: 'static',\n width: '100%',\n padding: '20px',\n },\n },\n };\n});\n\nexport default function NsHeroCardLevel1({\n cardTitle,\n cardDescription,\n backgroundImageDetail,\n button,\n className,\n imagePosition = 'top',\n fontColor,\n}: NsHeroCardLevel1Props): ReactElement {\n return (\n <CardContainer className={className} data-testid=\"hero-card-level-1\" imagePosition={imagePosition}>\n <BynderMedia className=\"bg-image\" imageDetail={backgroundImageDetail} />\n <div className=\"content\">\n <article className={`body-title ${fontColor}`}>{cardTitle}</article>\n <article className={`body-text ${fontColor}`}>{cardDescription}</article>\n {button ? <CardButton {...button} /> : null}\n </div>\n </CardContainer>\n );\n}\n","import { ReactElement } from 'react';\n\nimport { Button } from '@mui/material';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { NsButton, NsIcon } from '../';\nimport { NsCardButton } from './types';\n\nconst ButtonTextVariant = styled(Button)`\n padding: 0;\n border-bottom: 1px solid black;\n border-radius: 0;\n text-transform: none;\n font-size: 14px;\n font-weight: 600;\n`;\n\nconst CardButton = ({\n url,\n endIcon,\n buttonText,\n showButton = true,\n buttonVariant = 'outlined',\n buttonColor = 'primary',\n fullWidth = false,\n showArrowWithText = false,\n}: NsCardButton): ReactElement | null => {\n if (showButton && url) {\n return (\n <div className=\"cta\">\n {buttonVariant === 'text' ? (\n <ButtonTextVariant href={url}>\n {buttonText}\n {showArrowWithText ? (\n <NsIcon name=\"arrowRight\" size=\"small\" color=\"primary\" />\n ) : endIcon ? (\n <NsIcon name={endIcon} size=\"small\" color=\"primary\" />\n ) : null}\n </ButtonTextVariant>\n ) : (\n <NsButton\n href={url}\n color={buttonColor}\n variant={buttonVariant}\n fullWidth={fullWidth}\n endIcon={endIcon ? <NsIcon name={endIcon} color={buttonColor} /> : null}\n className=\"cta-text\"\n >\n {buttonText}\n </NsButton>\n )}\n </div>\n );\n }\n return null;\n};\n\nexport default CardButton;\n","import { ReactElement } from 'react';\n\nimport Box from '@mui/material/Box';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { BynderMedia } from '../image/BynderMedia';\nimport { BynderImageDataType } from '../image/types';\nimport CardButton from './CardButton';\nimport { NsCardButton } from './types';\n\ntype NsHeroCardLevel2Props = {\n brandName: string;\n cardTitle: string;\n cardDescription: string;\n backgroundImageDetail: BynderImageDataType;\n button?: NsCardButton;\n className?: string;\n fontColor?: 'primary' | 'secondary';\n};\n\nconst CardContainer = styled(Box)`\n background-clip: border-box;\n display: flex;\n flex-direction: row;\n word-wrap: break-word;\n position: relative;\n overflow: hidden;\n height: 236px;\n max-width: 536px;\n .content {\n height: 100%;\n padding: 50px;\n display: flex;\n flex-direction: column;\n position: absolute;\n top: 0;\n left: 0;\n box-sizing: border-box;\n }\n .bg-image {\n object-fit: cover;\n }\n .brand-container {\n background-color: #fff;\n width: fit-content;\n padding-left: 10px;\n padding-right: 10px;\n }\n .body-title {\n font-size: 26px;\n line-height: 44px;\n margin-bottom: 5px;\n }\n .body-text {\n font-size: 12px;\n font-weight: 700;\n margin-bottom: 5px;\n }\n .primary {\n color: #fff;\n }\n .secondary {\n color: #000;\n }\n @media (max-width: 768px) {\n .content {\n padding: 5%;\n }\n }\n`;\n\nconst NsHeroCardLevel2 = ({\n brandName,\n cardTitle,\n cardDescription,\n backgroundImageDetail,\n button,\n className,\n fontColor,\n}: NsHeroCardLevel2Props): ReactElement => {\n return (\n <CardContainer className={className} data-testid=\"hero-card-level-2\">\n <BynderMedia className=\"bg-image\" imageDetail={backgroundImageDetail} />\n <div className=\"content\">\n <div className=\"brand-container\">\n <article className={fontColor}>{brandName}</article>\n </div>\n <article className={`body-title ${fontColor}`}>{cardTitle}</article>\n <article className={`body-text ${fontColor}`}>{cardDescription}</article>\n <div>{button ? <CardButton {...button} /> : null}</div>\n </div>\n </CardContainer>\n );\n};\nexport default NsHeroCardLevel2;\n","import { ReactElement } from 'react';\n\nimport Box from '@mui/material/Box';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { BynderMedia } from '../image/BynderMedia';\nimport { BynderImageDataType } from '../image/types';\n\ntype NsPostProps = {\n text: string;\n body: string;\n backgroundImageDetail: BynderImageDataType;\n className?: string;\n fontColor?: 'primary' | 'secondary';\n};\n\nconst CardContainer = styled(Box)`\n background-clip: border-box;\n display: flex;\n flex-direction: column;\n word-wrap: break-word;\n position: relative;\n overflow: hidden;\n max-width: 165px;\n height: 272px;\n background-color: #fff;\n .image {\n height: 180px;\n overflow: hidden;\n object-fit: contain;\n }\n .content {\n padding: 20px;\n display: flex;\n flex-direction: column;\n min-height: 92px;\n max-height: 92px;\n justify-content: space-around;\n }\n .body-title {\n font-size: 18px;\n font-weight: 600;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n margin: 0;\n }\n .body-text {\n font-size: 12px;\n font-weight: 700;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n color: #8c8c8c;\n margin: 0;\n }\n`;\n\nconst NsPost = ({ text, body, backgroundImageDetail, className, fontColor }: NsPostProps): ReactElement => {\n return (\n <CardContainer className={className} data-testid=\"post-card\">\n <BynderMedia className=\"image\" imageDetail={backgroundImageDetail} />\n <article className=\"content\">\n <h2 className={`body-title ${fontColor}`} title={text}>\n {text}\n </h2>\n <p className={`body-text ${fontColor}`} title={body?.substring(0, 80)}>\n {body}\n </p>\n </article>\n </CardContainer>\n );\n};\nexport default NsPost;\n","import { ReactElement } from 'react';\n\nimport Box from '@mui/material/Box';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { NsTypography } from '../';\nimport CardButton from './CardButton';\nimport cardSizes from './cardSizes';\nimport NsBgCard from './NsBgCard';\nimport NsBrandLogo from './NsBrandLogo';\nimport NsBrandWrapper from './NsBrandWrapper';\nimport { NsCardButton } from './types';\n\ntype NsBrandCardProps = {\n title?: string;\n brandImageUrl: string;\n backgroundImageUrl: string;\n size?: 'small' | 'large';\n button?: NsCardButton;\n className?: string;\n fontColor?: 'primary' | 'secondary';\n};\n\nconst CardContainer = styled((props: any) => <Box {...props} />)(({ size }) => {\n const { small, large } = cardSizes;\n let maxWidth, maxHeight;\n\n if (size === 'small') {\n maxWidth = small.maxWidth;\n maxHeight = small.maxHeight;\n } else {\n maxWidth = large.maxWidth;\n maxHeight = large.maxHeight;\n }\n\n return {\n maxWidth,\n display: 'flex',\n alignItems: 'start',\n justifyContent: 'center',\n position: 'relative',\n flexDirection: 'column',\n '.brand-title': {\n marginTop: '15px',\n fontSize: '18px',\n fontWeight: 600,\n lineHeight: '26px',\n display: 'inline-block',\n wordBreak: 'break-word',\n },\n ':hover': {\n '.brand-title': {\n opacity: '0.7',\n },\n },\n '.image': {\n maxWidth,\n maxHeight,\n backgroundSize: 'cover',\n backgroundPosition: 'center',\n },\n };\n});\nexport default function NsBrandCard({\n title,\n brandImageUrl,\n backgroundImageUrl,\n button,\n size,\n className,\n fontColor,\n}: NsBrandCardProps): ReactElement {\n return (\n <CardContainer className={className} role=\"brand-card\" component=\"div\" data-testid=\"brand-card\" size={size}>\n <NsBgCard backgroundImageUrl={backgroundImageUrl} className=\"image\">\n <NsBrandWrapper>\n <NsBrandLogo component=\"img\" image={brandImageUrl} />\n </NsBrandWrapper>\n </NsBgCard>\n {title ? (\n <NsTypography variant=\"h3\" className=\"brand-title\" color={fontColor}>\n {title}\n </NsTypography>\n ) : null}\n {button ? <CardButton {...button} /> : null}\n </CardContainer>\n );\n}\n","const cardSizes = {\n small: {\n maxWidth: '160px',\n maxHeight: '179px',\n },\n large: {\n maxWidth: '190px',\n maxHeight: '211px',\n },\n};\n\nexport default cardSizes;\n","import { ReactElement } from 'react';\n\nimport Box from '@mui/material/Box';\nimport { styled } from '@nuskin/foundation-theme';\n\ntype NsIconTextProps = {\n text: string;\n body: string;\n className?: string;\n fontColor?: 'primary' | 'secondary';\n};\n\nconst CardContainer = styled(Box)`\n background-clip: border-box;\n display: flex;\n flex-direction: column;\n word-wrap: break-word;\n position: relative;\n overflow: hidden;\n height: auto;\n max-width: 222px;\n background-color: #f5f5f5;\n padding: 20px;\n justify-content: center;\n gap: 30px;\n .icon {\n display: flex;\n width: 100%;\n }\n .divider {\n width: 182px;\n height: 1px;\n background: #b2b2b2;\n }\n .title {\n font-size: 26px;\n font-weight: 400;\n margin-top: -10px;\n }\n .text {\n font-weight: 400;\n font-size: 14px;\n }\n .primary {\n color: #fff;\n }\n .secondary {\n color: #000;\n }\n`;\n\nconst Icon = (): ReactElement => {\n return (\n <div className=\"icon\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"80\" height=\"80\" viewBox=\"0 0 80 80\" fill=\"none\">\n <path\n d=\"M40 80C62.0914 80 80 62.0914 80 40C80 17.9086 62.0914 0 40 0C17.9086 0 0 17.9086 0 40C0 62.0914 17.9086 80 40 80Z\"\n fill=\"white\"\n />\n <path\n opacity=\"0.3\"\n d=\"M43.7138 75.6844C62.5411 73.4233 73.528 54.1872 57.8386 44.0119C46.8517 37.2284 19.7234 38.6174 17.646 51.4899C15.0035 67.8672 29.589 77.9456 43.7138 75.6844Z\"\n fill=\"#F56767\"\n />\n <path\n d=\"M2.66699 40.4277H77.5603\"\n stroke=\"#252525\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M16 60H64\"\n stroke=\"#252525\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n stroke-dasharray=\"5 5\"\n />\n <path\n d=\"M25.333 69.334L54.6663 69.334\"\n stroke=\"#252525\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n stroke-dasharray=\"7 7\"\n />\n <path\n d=\"M8 48.9556C9.73125 51.1044 23.5567 54.3276 41.6428 49.4257C58.2309 44.9938 70.7303 46.8336 73.3333 48.5258\"\n stroke=\"#252525\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M24 22.668V25.3346\"\n stroke=\"#252525\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M24 33.334V36.0007\"\n stroke=\"#252525\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M50.6665 12V14.6667\"\n stroke=\"#252525\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M50.6665 22.666V25.3327\"\n stroke=\"#252525\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M17.3335 29.332H20.0002\"\n stroke=\"#252525\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M28 29.332H30.6667\"\n stroke=\"#252525\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M44 18.668H46.6667\"\n stroke=\"#252525\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M54.6665 18.668H57.3332\"\n stroke=\"#252525\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </svg>\n </div>\n );\n};\nconst NsIconText = ({ text, body, className, fontColor }: NsIconTextProps) => {\n return (\n <CardContainer className={className} data-testid=\"icon-text-card\">\n <Icon />\n <article className={`title ${fontColor}`}>{text}</article>\n <div className=\"divider\"></div>\n <article className={`text ${fontColor}`}>{body}</article>\n </CardContainer>\n );\n};\nexport default NsIconText;\n","import { ReactElement, useState } from 'react';\n\nimport Box from '@mui/material/Box';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { NsIcon, NsIconNameType, NsLink } from '../';\n\ntype NsCheckoutCardProps = {\n icon: NsIconNameType;\n title: string;\n linkText: string;\n url: string;\n className?: string;\n fontColor?: 'primary' | 'secondary';\n};\n\nconst CardContainer = styled(Box)`\n background-color: #fff;\n display: flex;\n max-width: 345px;\n height: auto;\n border: 2px solid #b2b2b2;\n border-radius: 2px;\n .left-bar {\n width: 4px;\n height: auto;\n background-color: #22d55c;\n }\n .content {\n display: flex;\n flex-direction: row;\n gap: 10px;\n margin: 10px;\n width: 100%;\n }\n .text-content {\n width: 100%;\n }\n .title {\n font-size: 14px;\n font-weight: 700;\n }\n .address {\n font-size: 13px;\n font-weight: 400;\n }\n .action-link {\n color: #7123d9;\n font-size: 14px;\n font-weight: 700;\n letter-spacing: 0.7;\n }\n .icon-right {\n margin-left: auto;\n }\n .icon {\n &:hover {\n cursor: pointer;\n }\n }\n .primary {\n color: #fff;\n }\n .secondary {\n color: #000;\n }\n`;\n\nexport default function NsCheckoutCard({\n title,\n icon,\n linkText,\n url,\n className,\n fontColor,\n}: NsCheckoutCardProps): ReactElement {\n const [dropdownIcon, setDropdownIcon] = useState(false);\n const handleClick = () => {\n setDropdownIcon(!dropdownIcon);\n };\n\n return (\n <CardContainer className={className} role=\"checkout-card\" component=\"div\" data-testid=\"checkout-card\">\n <div className=\"left-bar\"></div>\n <div className=\"content\">\n <span>\n <NsIcon name={icon} />\n </span>\n <div className=\"text-content\">\n <article className={`title ${fontColor}`}>{title}</article>\n <article className={`address ${fontColor}`}>Address</article>\n <NsLink className={`action-link ${fontColor}`} href={url}>\n {linkText}\n </NsLink>\n </div>\n <span className=\"icon-right\">\n <NsIcon\n name={dropdownIcon ? 'arrowUp' : 'arrowDown'}\n className=\"icon\"\n onClick={handleClick}\n testId=\"dropdown-icon\"\n />\n </span>\n </div>\n </CardContainer>\n );\n}\n","import { ReactElement } from 'react';\n\nimport Box from '@mui/material/Box';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { BynderMedia } from '../image/BynderMedia';\nimport { BynderImageDataType } from '../image/types';\nimport CardButton from './CardButton';\nimport { NsCardButton } from './types';\n\ntype NsSmallFullCardProps = {\n title: string;\n subtitle: string;\n backgroundImageDetail: BynderImageDataType;\n button?: NsCardButton;\n className?: string;\n fontColor?: 'primary' | 'secondary';\n};\n\nconst CardContainer = styled(Box)`\n background-color: #fff;\n display: flex;\n max-height: 320px;\n max-width: 375px;\n overflow: hidden;\n position: relative;\n .image {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n .gradientOverlay {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);\n }\n .content {\n position: absolute;\n height: 100%;\n width: 100%;\n padding: 40px 40px 25px 30px;\n display: flex;\n flex-direction: column;\n }\n .subtitle {\n color: #fff;\n font-size: 11px;\n font-weight: 400;\n margin-top: auto;\n }\n .title {\n color: #fff;\n font-size: 26px;\n font-weight: 400;\n margin-top: 20px;\n }\n .cta {\n margin-top: 20px;\n max-width: 208px;\n border-radius: 4px;\n overflow: hidden;\n }\n .primary {\n color: #fff;\n }\n .secondary {\n color: #000;\n }\n`;\n\nexport default function NsSmallFullCard({\n title,\n subtitle,\n backgroundImageDetail,\n button,\n className,\n fontColor,\n}: NsSmallFullCardProps): ReactElement {\n return (\n <CardContainer className={className} role=\"small-full-card\" component=\"div\" data-testid=\"small-full-card\">\n <BynderMedia className=\"image\" imageDetail={backgroundImageDetail} />\n <div className=\"gradientOverlay\"></div>\n <div className=\"content\">\n <article className={`subtitle ${fontColor}`}>{subtitle}</article>\n <article className={`title ${fontColor}`}>{title}</article>\n {button ? <CardButton {...button} /> : null}\n </div>\n </CardContainer>\n );\n}\n","import { ReactElement } from 'react';\n\nimport Box from '@mui/material/Box';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { BynderMedia } from '../image/BynderMedia';\nimport { BynderImageDataType } from '../image/types';\nimport CardButton from './CardButton';\nimport { NsCardButton } from './types';\n\ntype NsXLargeCardProps = {\n title: string;\n subtitle: string;\n backgroundImageDetail: BynderImageDataType;\n button?: NsCardButton;\n className?: string;\n fontColor?: 'primary' | 'secondary';\n};\n\nconst CardContainer = styled(Box)`\n background-color: #fff;\n display: flex;\n height: 620px;\n width: 450px;\n position: relative;\n .image {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n .gradientOverlay {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);\n }\n .content {\n position: absolute;\n height: 100%;\n width: 100%;\n padding: 40px 40px 25px 30px;\n display: flex;\n flex-direction: column;\n }\n .subtitle {\n color: #fff;\n font-size: 11px;\n font-weight: 400;\n margin-top: auto;\n }\n .title {\n color: #fff;\n font-size: 26px;\n font-weight: 400;\n margin-top: 20px;\n }\n .primary {\n color: #fff;\n }\n .secondary {\n color: #000;\n }\n .cta {\n margin-top: 20px;\n }\n`;\n\nexport default function NsXLargeCard({\n title,\n subtitle,\n backgroundImageDetail,\n button,\n className,\n fontColor,\n}: NsXLargeCardProps): ReactElement {\n return (\n <CardContainer className={className} role=\"x-large-card\" component=\"div\" data-testid=\"x-large-card\">\n <BynderMedia className=\"image\" imageDetail={backgroundImageDetail} />\n <div className=\"gradientOverlay\"></div>\n <div className=\"content\">\n <article className={`subtitle ${fontColor}`}>{subtitle}</article>\n <article className={`title ${fontColor}`}>{title}</article>\n {button ? <CardButton {...button} /> : null}\n </div>\n </CardContainer>\n );\n}\n","import { ReactElement } from 'react';\n\nimport Box from '@mui/material/Box';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { BynderMedia } from '../image/BynderMedia';\nimport { BynderImageDataType } from '../image/types';\nimport CardButton from './CardButton';\nimport { NsCardButton } from './types';\n\ntype NsLargeCardProps = {\n title: string;\n subtitle?: string;\n intro: string;\n backgroundImageDetail: BynderImageDataType;\n isHorizontal?: boolean;\n button?: NsCardButton;\n className?: string;\n fontColor?: 'primary' | 'secondary';\n};\n\nconst CardContainer = styled((props: any) => <Box {...props} />)(({ isHorizontal, matches }) => {\n let width = '450px',\n paddingLeft = '0px',\n justifyContent,\n fontSizeSub = '16px',\n fontSizeTitle = '26px',\n imageWidth = '100%';\n\n if (isHorizontal) {\n width = '600px';\n paddingLeft = '30px';\n justifyContent = 'center';\n fontSizeSub = '16px';\n fontSizeTitle = '26px';\n imageWidth = '50%';\n }\n let direction = isHorizontal ? ('row' as 'row') : ('column' as 'column');\n\n return {\n display: 'flex',\n flexDirection: direction,\n position: 'relative',\n width,\n '.bg-image': {\n objectFit: 'cover',\n height: '220px',\n width: imageWidth,\n },\n '.content': {\n display: 'flex',\n flexDirection: 'column',\n paddingLeft,\n justifyContent,\n },\n '.subtitle': {\n fontSize: fontSizeSub,\n fontWeight: '400',\n marginTop: '10px',\n },\n '.title': {\n fontSize: fontSizeTitle,\n fontWeight: '400',\n marginTop: '10px',\n },\n '.primary': {\n color: '#fff',\n },\n '.secondary': {\n color: '#000',\n },\n '.cta': {\n marginTop: '10px',\n },\n '@media (max-width: 768px)': {\n width: '100%',\n },\n };\n});\n\nexport default function NsLargeCard({\n title,\n subtitle,\n backgroundImageDetail,\n intro,\n isHorizontal,\n button,\n className,\n fontColor,\n}: NsLargeCardProps): ReactElement {\n return (\n <CardContainer\n className={className}\n role=\"large-card\"\n component=\"div\"\n data-testid=\"large-card\"\n isHorizontal={isHorizontal}\n >\n <BynderMedia className=\"bg-image\" imageDetail={backgroundImageDetail} />\n <div className=\"content\">\n <article className={`subtitle ${fontColor}`}>{subtitle}</article>\n <article className={`title ${fontColor}`}>{title}</article>\n <article className={`subtitle ${fontColor}`}>{intro}</article>\n {button ? <CardButton {...button} /> : null}\n </div>\n </CardContainer>\n );\n}\n","import { ReactElement } from 'react';\n\nimport Box from '@mui/material/Box';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { NsTypography } from '../';\nimport { BynderMedia } from '../image/BynderMedia';\nimport { BynderImageDataType } from '../image/types';\nimport CardButton from './CardButton';\nimport { NsCardButton } from './types';\n\ntype NsMediumCardProps = {\n title: string;\n titleFontWeight?: 'bold' | 'normal' | 'light';\n subtitle: string;\n backgroundImageDetail: BynderImageDataType;\n button?: NsCardButton;\n className?: string;\n fluid?: boolean;\n showArrowWithButtonText?: boolean;\n fontColor?: 'primary' | 'secondary';\n};\nconst textVariantButton = {\n padding: '0 0 4px',\n gap: '7px',\n span: {\n margin: 0,\n },\n '> div': {\n margin: 0,\n },\n '.MuiButton-endIcon': {\n svg: {\n g: {\n strokeWidth: 2,\n },\n },\n },\n};\nconst buttonVariantStyle = (variant: string) => (variant === 'text' ? { a: textVariantButton } : {});\nconst CardContainer = styled(Box)<{ fluid: boolean; variant: string }>(({ fluid, variant }) => {\n const textVariantCssModification = buttonVariantStyle(variant);\n\n return {\n display: 'flex',\n flexDirection: 'column',\n position: 'relative',\n '.image': {\n width: fluid ? '100%' : '300px',\n height: '300px',\n objectFit: 'cover',\n },\n '.content': {\n display: 'flex',\n width: fluid ? '100%' : '300px',\n flexDirection: 'column',\n flexGrow: 1,\n },\n '.subtitle': {\n fontSize: '16px',\n fontWeight: '400',\n },\n '.title': {\n fontSize: '20px',\n marginTop: '10px',\n },\n '.primary': {\n color: '#fff',\n },\n '.secondary': {\n color: '#000',\n },\n '.cta': {\n marginTop: 'auto',\n ...textVariantCssModification,\n },\n };\n});\n\nexport default function NsMediumCard({\n title,\n titleFontWeight,\n subtitle,\n backgroundImageDetail,\n button,\n className,\n fluid,\n showArrowWithButtonText = false,\n fontColor,\n}: NsMediumCardProps): ReactElement {\n return (\n <CardContainer\n className={className}\n role=\"medium-card\"\n component=\"div\"\n data-testid=\"medium-card\"\n fluid={fluid || false}\n variant={button?.buttonVariant ?? ''}\n >\n <BynderMedia className=\"image\" imageDetail={backgroundImageDetail} />\n <div className=\"content\">\n <NsTypography variant=\"h5\" color={fontColor} className=\"title\" weight={titleFontWeight}>\n {title}\n </NsTypography>\n <article className={`subtitle mt-3 mb-5 ${fontColor}`}>{subtitle}</article>\n {button ? <CardButton {...button} showArrowWithText={showArrowWithButtonText} /> : null}\n </div>\n </CardContainer>\n );\n}\n","import { ReactElement } from 'react';\n\nimport Box from '@mui/material/Box';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { NsTypography } from '../';\nimport { BynderMedia } from '../image/BynderMedia';\nimport { BynderImageDataType } from '../image/types';\n\ntype NsAwardCardProps = {\n title: string;\n awardName: string;\n mediaOutlet: string;\n backgroundImageDetail: BynderImageDataType;\n className?: string;\n fontColor?: 'primary' | 'secondary';\n};\n\nconst CardContainer = styled(Box)`\n display: flex;\n flex-direction: column;\n position: relative;\n align-items: center;\n width: 160px;\n height: auto;\n .image {\n width: 160px;\n height: auto;\n object-fit: cover;\n }\n .content {\n display: flex;\n flex-direction: column;\n text-align: center;\n align-items: center;\n margin-top: 25px;\n }\n .content-text: {\n margin-top: 20px;\n }\n .action-link {\n margin-top: 10px;\n align-self: start;\n },\n`;\n\nexport default function NsAwardCard({\n title,\n awardName,\n mediaOutlet,\n backgroundImageDetail,\n className,\n fontColor,\n}: NsAwardCardProps): ReactElement {\n return (\n <CardContainer className={className} role=\"award-card\" component=\"div\" data-testid=\"award-card\">\n <BynderMedia className=\"image\" imageDetail={backgroundImageDetail} />\n <div className=\"content\">\n <NsTypography weight=\"normal\" className=\"title\" variant=\"h5\" color={fontColor}>\n {title}\n </NsTypography>\n <NsTypography className=\"content-text\" variant=\"body-l\" color={fontColor}>\n {awardName}\n </NsTypography>\n <NsTypography className=\"content-text\" variant=\"body-l\" color={fontColor}>\n {mediaOutlet}\n </NsTypography>\n </div>\n </CardContainer>\n );\n}\n","import 'slick-carousel/slick/slick-theme.css';\nimport 'slick-carousel/slick/slick.css';\n\nimport { ReactElement, ReactNode, useCallback, useRef } from 'react';\n\nimport Slider from 'react-slick';\n\nimport Box from '@mui/material/Box';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport CarousalControl from './CarousalControl';\nimport defaultCarousalSettings from './slickSetting';\n\nconst SlickContainer = styled(Box)(() => {\n return {\n padding: '30px 0 60px',\n '.slick-slide': {\n display: 'flex',\n justifyContent: 'center',\n },\n };\n});\ninterface CarousalProps<T = any> {\n entries: T[];\n renderEntry(entry: T, index: number): ReactNode;\n allEntryLink?: string;\n allEntryLabel?: string;\n settings: any;\n showControlButtons?: boolean;\n}\n\nexport default function NsCarousal({\n entries,\n renderEntry,\n allEntryLink = '',\n settings,\n allEntryLabel = 'View All',\n showControlButtons = true,\n}: CarousalProps): ReactElement {\n const sliderRef = useRef();\n const prev = useCallback(() => {\n if (sliderRef.current) {\n const slider = sliderRef.current as any;\n slider.slickPrev();\n }\n }, [sliderRef]);\n const next = useCallback(() => {\n if (sliderRef.current) {\n const slider = sliderRef.current as any;\n slider.slickNext();\n }\n }, [sliderRef]);\n return (\n <SlickContainer className=\"brand-carousal\">\n {showControlButtons ? (\n <CarousalControl prev={prev} next={next} viewAllUrl={allEntryLink} viewAllLabel={allEntryLabel} />\n ) : null}\n <Slider {...{ ...defaultCarousalSettings, ...settings }} ref={sliderRef as any}>\n {entries.map((entry, index) => {\n return renderEntry(entry, index);\n })}\n </Slider>\n </SlickContainer>\n );\n}\n","import { ReactElement } from 'react';\n\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { NsIcon, NsLink, NsTypography } from '../';\nimport IconWrapper from './IconWrapper';\n\ninterface CarousalControlProps {\n next(): void;\n prev(): void;\n viewAllLabel: string;\n viewAllUrl: string;\n prevAriaLabel?: string;\n nextAriaLabel?: string;\n}\n/*\nThis component is visible over the carousal and it has prev and next buttons and view all link\n*/\nconst Wrapper = styled.div`\n display: flex;\n justify-content: flex-end;\n`;\nconst InnerWrapper = styled.div`\n display: flex;\n gap: 20px;\n align-items: center;\n`;\nconst CarousalControl = ({\n next,\n prev,\n viewAllUrl,\n viewAllLabel,\n prevAriaLabel = 'Previous slide',\n nextAriaLabel = 'Next slide',\n}: CarousalControlProps): ReactElement => {\n return (\n <Wrapper>\n <InnerWrapper>\n {viewAllUrl ? (\n <NsLink href={viewAllUrl} underlineOnHover={false}>\n <NsTypography decoration=\"underline\" variant=\"body-l\">\n {viewAllLabel}\n </NsTypography>\n </NsLink>\n ) : null}\n <IconWrapper onClick={prev} className=\"carousal-prev-button\" aria-label={prevAriaLabel}>\n <NsIcon name=\"arrowLeft\" />\n </IconWrapper>\n <IconWrapper onClick={next} className=\"carousal-next-button\" aria-label={nextAriaLabel}>\n <NsIcon name=\"arrowRight\" />\n </IconWrapper>\n </InnerWrapper>\n </Wrapper>\n );\n};\nexport default CarousalControl;\n","import { PropsWithChildren, ReactElement } from 'react';\n\nimport { Box } from '@mui/material';\nimport { styled } from '@nuskin/foundation-theme';\n\ntype IconWrapperProps = PropsWithChildren<{\n onClick(): void;\n className?: string;\n 'aria-label'?: string;\n}>;\nconst options = {};\nconst Wrapper = styled(\n Box,\n options\n)(({ theme }) => {\n const strokeColor = theme.palette?.primary?.main ?? '#252525';\n return {\n display: 'flex',\n width: 'auto',\n border: `2px solid ${strokeColor}`,\n borderRadius: '3px',\n cursor: 'pointer',\n padding: '9px',\n boxSizing: 'content-box',\n };\n});\nconst IconWrapper = ({ children, onClick, className, 'aria-label': ariaLabel }: IconWrapperProps): ReactElement => {\n return (\n <Wrapper component=\"span\" className={className || ''} onClick={onClick} tabIndex={0} aria-label={ariaLabel}>\n {children}\n </Wrapper>\n );\n};\nexport default IconWrapper;\n","const settings = {\n dots: true,\n infinite: false,\n speed: 2000,\n slidesToShow: 6,\n slidesToScroll: 1,\n swipeToSlide: true,\n responsive: [\n {\n breakpoint: 1800,\n settings: {\n slidesToShow: 5,\n slidesToScroll: 1,\n infinite: true,\n dots: true,\n },\n },\n {\n breakpoint: 1480,\n settings: {\n slidesToShow: 4,\n slidesToScroll: 1,\n infinite: true,\n dots: true,\n },\n },\n {\n breakpoint: 1160,\n settings: {\n slidesToShow: 3,\n slidesToScroll: 1,\n infinite: true,\n dots: true,\n },\n },\n {\n breakpoint: 840,\n settings: {\n slidesToShow: 2,\n slidesToScroll: 1,\n initialSlide: 1,\n },\n },\n {\n breakpoint: 580,\n settings: {\n slidesToShow: 1.5,\n slidesToScroll: 1,\n },\n },\n {\n breakpoint: 440,\n settings: {\n slidesToShow: 1,\n slidesToScroll: 1,\n },\n },\n ],\n};\n\nexport default settings;\n","import React, { ReactElement, useMemo } from 'react';\n\nimport Slider from 'react-slick';\n\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { NsScrollingCarousalProps } from '../';\n\ntype StyledType = {\n dotsBottomPixel?: number;\n};\n\nconst StyledDiv = styled('div')<StyledType>(({ dotsBottomPixel }) => {\n return {\n '.slick-dots': {\n zIndex: 9,\n bottom: `${dotsBottomPixel ?? -25}px`,\n opacity: '0.5',\n },\n };\n});\n\nconst NsScrollingCarousal = ({\n slides,\n scrollSeconds,\n stillSeconds,\n renderSlide,\n settings,\n dotsBottomPixel,\n additionalProps,\n}: NsScrollingCarousalProps): ReactElement => {\n const defaultSettings = useMemo(() => {\n return {\n ...settings,\n autoplay: true,\n autoplaySpeed: stillSeconds * 1000 || 2000, // autoplaySpeed = delay between scroll in milliseconds\n accessibility: true,\n adaptiveHeight: true,\n arrows: true,\n draggable: true,\n dots: false,\n infinite: true,\n speed: scrollSeconds * 1000 || 500, // speed = animation speed in milliseconds\n slidesToShow: 1,\n slidesToScroll: 1,\n swipeToSlide: true,\n };\n }, [stillSeconds, scrollSeconds, settings]);\n return (\n <StyledDiv\n className=\"scrolling-carousal-wrapper\"\n dotsBottomPixel={dotsBottomPixel}\n data-testid={additionalProps?.testid ?? 'scrolling-carousal-test-id'}\n >\n <Slider {...defaultSettings}>{slides.map(renderSlide)}</Slider>\n </StyledDiv>\n );\n};\n\nexport default NsScrollingCarousal;\n","import { ReactElement } from 'react';\n\nimport { IconButton } from '@mui/material';\n\nimport { NsIcon } from '../icon';\nimport { StyledBadge } from './NsCartIcon.styled';\nimport { NsCartIconProps } from './types.d';\n\nconst NsCartIcon = ({\n itemCount = 0,\n size = 'large',\n color = 'primary',\n maxItemCount = 999,\n}: NsCartIconProps): ReactElement => {\n return (\n <IconButton aria-label=\"cart\">\n <StyledBadge badgeContent={itemCount} max={maxItemCount} bgcolor={color} showZero>\n <NsIcon testId=\"cart-badge-icon\" name=\"cart\" size={size} color={color} />\n </StyledBadge>\n </IconButton>\n );\n};\n\nexport default NsCartIcon;\n","import { Badge, Theme } from '@mui/material';\nimport { ColorUtils, FoundationTheme, styled } from '@nuskin/foundation-theme';\n\ntype ItemCountParams = {\n theme?: Theme;\n bgcolor: FoundationTheme.PaletteColors;\n};\nconst { paletteColor } = ColorUtils;\nexport const StyledBadge = styled(Badge)<ItemCountParams>`\n & .MuiBadge-badge {\n cursor: pointer;\n background-color: ${({ bgcolor, theme }) => paletteColor(bgcolor)({ theme })};\n color: ${({ bgcolor, theme }) => paletteColor(bgcolor, 'contrastText')({ theme })};\n }\n`;\n","/**\n * @author [Vijayaprathap Kumar] (vpkumar@nuskin.com)\n * checkbox.tsx\n * @description\n */\n\nimport React, { PropsWithChildren, ReactElement, useCallback } from 'react';\n\nimport MUICheckbox from '@mui/material/Checkbox';\nimport FormControlLabel from '@mui/material/FormControlLabel';\n\nimport { NsTypography } from '../';\nimport { BpCheckedIcon, BpIcon, StyledFlagLabel, StyledLabel } from './NsCheckbox.styled';\nimport { NsCheckboxProps } from './types.d';\n\nconst NsCheckbox = (props: PropsWithChildren<NsCheckboxProps>): ReactElement => {\n const {\n name,\n label,\n onChange,\n checked,\n ariaLabel = 'nuskin checkbox',\n flag,\n disabled = false,\n size = 'small',\n testid = 'nuskin-checkbox',\n className = '',\n } = props;\n\n const renderCheckbox = useCallback(\n () => (\n <MUICheckbox\n name={name}\n color=\"default\"\n checked={checked}\n onChange={onChange}\n disabled={disabled}\n disableRipple\n checkedIcon={<BpCheckedIcon />}\n icon={<BpIcon />}\n inputProps={\n {\n 'aria-label': ariaLabel,\n 'data-testid': testid,\n } as React.InputHTMLAttributes<HTMLInputElement>\n }\n size={size}\n />\n ),\n [ariaLabel, checked, disabled, name, onChange, size, testid]\n );\n\n const renderCheckboxLabel = useCallback(\n () => (\n <NsTypography variant=\"body-l\">\n <StyledFlagLabel {...flag} size={size} testId={`${name}-flag-label`} />\n <StyledLabel className=\"checkbox-label-text\" isDisabled={disabled}>\n {label}\n </StyledLabel>\n </NsTypography>\n ),\n [disabled, flag, label, name, size]\n );\n\n return <FormControlLabel className={className} control={renderCheckbox()} label={renderCheckboxLabel()} />;\n};\n\nexport default NsCheckbox;\n","/**\n * @author [vijayaprathap Kumar] (vpkumar@nuskin.com)\n * @description Styled Components for Checkbox\n */\nimport DoneIcon from '@mui/icons-material/Done';\n\nimport { styled, ColorUtils } from '@nuskin/foundation-theme';\nimport { NsFlag } from '../flag';\nconst { paletteColor, buttonColor, getGenomeColor } = ColorUtils;\n/**\n * Wrapper BpIcon for checkbox.tsx\n * @params ( theme: { palette }) / Provide the color's to contaier from @nuskin/foundation-theme\n */\n\nexport const BpIcon = styled(DoneIcon)(({ theme }) => ({\n border: '1px solid #8C8C8C',\n path: {\n display: 'none',\n },\n 'input:hover ~ &': {\n border: '1px solid #94D6E9',\n },\n 'input:focus ~ &': {\n outline: '3px solid #94D6E9',\n },\n 'input:disabled ~ &': {\n background: buttonColor('primary', 'hovered')({ theme }),\n },\n}));\n\n/**\n * Wrapper BpCheckedIcon for checkbox.tsx\n * @params ( theme: { palette }) / Provide the color's to container from @nuskin/foundation-theme\n */\n\nexport const BpCheckedIcon = styled(BpIcon)(({ theme }) => ({\n path: {\n display: 'block',\n },\n background: getGenomeColor(theme, 'N100'),\n // background: paletteColor('primary', 'main')({ theme }),\n color: paletteColor('primary', 'contrastText')({ theme }),\n}));\n\nconst getLabelColor = (isDisabled: boolean, color: string) => (!isDisabled ? '' : `color: ${color}`);\n\nexport const StyledLabel = styled('span')<{ isDisabled: boolean }>`\n ${({ isDisabled, theme }) => {\n const color = buttonColor('primary', 'hovered')({ theme });\n return getLabelColor(isDisabled, color);\n }}\n`;\nexport const StyledFlagLabel = styled(NsFlag)`\n margin-right: 16px;\n`;\n","/**\n * @author [vijayaprathap Kumar] (vpkumar@nuskin.com)\n * Flag.styled.tsx\n @description Styled Components for Flag\n */\n\nimport { Theme } from '@mui/material';\nimport { styled, ColorUtils, FoundationTheme } from '@nuskin/foundation-theme';\n\nimport { NsFlagSize } from './types.d';\n\nconst { paletteColor } = ColorUtils;\n\ntype NsFlagThemeParams = {\n $size: NsFlagSize;\n $bgColor?: FoundationTheme.PaletteColors;\n theme?: Theme;\n};\n\n// Scale value used to divide size from props for create tag tail as per Flag width and height;\nconst FLAG_SCALE_VALUE = 2;\n\nconst FlagHeightMap = {\n small: 20,\n medium: 24,\n large: 28,\n};\n\nconst getFlagHeight = ({ $size }: { $size: NsFlagSize }) => {\n return FlagHeightMap[$size];\n};\n\nconst makeFlagSize = ({ $size }: { $size: NsFlagSize }) => {\n const sizeValue = getFlagHeight({ $size });\n return sizeValue / FLAG_SCALE_VALUE;\n};\n\nconst makeFlagBorder = ({ $size, $bgColor = 'accentColorA', theme }: NsFlagThemeParams) => {\n return `${makeFlagSize({ $size })}px solid ${paletteColor($bgColor)({ theme })}`;\n};\n\nexport const StyledFlag = styled('span')<NsFlagThemeParams>`\n min-width: 29px;\n height: ${getFlagHeight}px;\n color: ${({ $bgColor = 'accentColorA', theme }) => paletteColor($bgColor, 'contrastText')({ theme })};\n background: ${({ $bgColor = 'accentColorA', theme }) => paletteColor($bgColor)({ theme })};\n position: relative;\n padding: 0 15px;\n display: inline-grid;\n align-content: space-around;\n :before {\n position: absolute;\n top: 0;\n right: -${makeFlagSize}px;\n content: '';\n width: 0;\n height: 0;\n display: block;\n border-right: ${makeFlagSize}px solid transparent;\n border-top: ${makeFlagBorder};\n }\n :after {\n position: absolute;\n top: 0;\n right: -${makeFlagSize}px;\n content: '';\n width: 0;\n height: ${makeFlagSize}px;\n display: block;\n border-right: ${makeFlagSize}px solid transparent;\n border-bottom: ${makeFlagBorder};\n }\n`;\n","/**\n * @author [Vijayaprathap Kumar] (vpkumar@nuskin.com)\n * flag.tsx\n * @description NsFlag component with a themed background\n */\n\nimport React, { PropsWithChildren, ReactElement } from 'react';\n\nimport { StyledFlag } from './NsFlag.styled';\nimport { NsFlagProps } from './types.d';\n\nconst NsFlag = (props: PropsWithChildren<NsFlagProps>): ReactElement | null => {\n const { className = '', size = 'small', color = 'accentColorA', message, testId = 'ns-flag-component' } = props;\n if (!message) {\n return null;\n }\n return (\n <StyledFlag $size={size} $bgColor={color} data-testid={testId} className={className}>\n {message}\n </StyledFlag>\n );\n};\n\nexport default NsFlag;\n","import { ReactElement, useMemo } from 'react';\n\nimport { Box } from '@mui/material';\nimport { styled } from '@nuskin/foundation-theme';\n\nimport { shouldNotForwardPropsWithKeys } from '../util';\nimport { NsColumnControlProps, sizeObjectType } from './types.d';\nimport { getColumnSizes } from './utils';\n\ntype StyledDivProps = {\n sizes: sizeObjectType;\n gap?: number;\n};\n\nconst options = {\n shouldForwardProp: shouldNotForwardPropsWithKeys<StyledDivProps>(['sizes']),\n};\n\nconst descMaxWidthBreakpoints = [960, 600];\n\n/* media queries */\nconst mediaQuery = descMaxWidthBreakpoints.map((bp) => `@media (max-width: ${bp}px)`);\n\nconst StyledDiv = styled(\n Box as any,\n options\n)<StyledDivProps>(({ sizes, gap }: StyledDivProps) => {\n const gridTemplateColumns = sizes['fractions']?.map((e) => `${e}fr`).join(' ');\n const tabletTemplateColumns = sizes['tabletFractions']?.map((e) => `${e}fr`).join(' ');\n const mobileTemplateColumns = sizes['mobileFractions']?.map((e) => `${e}fr`).join(' ');\n return {\n display: 'grid',\n maxWidth: Array.isArray(sizes?.fractions) && sizes.fractions?.length <= 2 ? '1200px' : '2400px',\n margin: '32px auto',\n gap: gap ?? '2rem',\n overflow: 'scroll',\n gridTemplateColumns,\n [mediaQuery[0]]: {\n gridTemplateColumns: tabletTemplateColumns,\n },\n [mediaQuery[1]]: {\n gridTemplateColumns: mobileTemplateColumns,\n },\n };\n});\n\nconst NsColumnControl = ({ columnClass, children, gap, additionalProps }: NsColumnControlProps): ReactElement => {\n const sizes = useMemo(() => {\n return getColumnSizes(columnClass);\n }, [columnClass]);\n\n return (\n <StyledDiv\n sizes={sizes}\n gap={gap}\n data-testid={additionalProps?.testid ?? 'ns-column-control'}\n className={columnClass}\n >\n {children}\n </StyledDiv>\n );\n};\n\nexport default NsColumnControl;\n","import { NsColumnControlProps, sizeObjectType } from './types.d';\n\nexport const columnClasses: NsColumnControlProps['columnClass'][] = [\n 'ns-col-lg-2-1',\n 'ns-col-lg-1-2',\n 'ns-col-lg-1-1',\n 'ns-col-lg-1-1-1',\n 'ns-col-lg-2-1-1',\n 'ns-col-lg-1-1-1-1',\n 'ns-col-md-1',\n 'ns-col-md-1-1',\n 'ns-col-md-1-2',\n 'ns-col-md-2-1',\n 'ns-col-md-1-1-1',\n 'ns-col-md-2-1-1',\n 'ns-col-sm-1',\n 'ns-col-sm-1-1',\n 'ns-col-sm-1-2',\n 'ns-col-sm-2-1',\n];\nconst sizeKeyPrefix = {\n desktop: 'ns-col-lg-',\n tablet: 'ns-col-md-',\n mobile: 'ns-col-sm-',\n} as const;\n\ntype ValueOf<T> = T[keyof T];\n\nconst sizeKeyMap: Record<ValueOf<typeof sizeKeyPrefix>, string> = {\n [sizeKeyPrefix.desktop]: 'fractions',\n [sizeKeyPrefix.tablet]: 'tabletFractions',\n [sizeKeyPrefix.mobile]: 'mobileFractions',\n};\n\n/**\n * getColumnSizes function, we parse the input class and\n * return an object containing optionally containing 3 keys namely [fractions, tabletFractions, mobileFractions]\n * value of each of the key is an array of fractions example ['1','1']\n * meaning that the column should be divided into two fractions each of 1fr\n * @param inputColumnClass = a string that is mix of ns-col-lg-1-1-1 ns-col-md-1-1 ns-col-sm-1 etc\n * @returns {fractions:['1','1','1'], tabletFractions:['1','1'], mobileFractions:['1'] }\n */\nexport const getColumnSizes = (inputColumnClass: string): sizeObjectType => {\n const columnClass = inputColumnClass.trim();\n const validClasses = columnClass\n .split(' ')\n .filter((e) => Object.values(sizeKeyPrefix).some((prefix) => e.startsWith(prefix)));\n const sizeObject: sizeObjectType = validClasses.reduce((acc: any, current: string) => {\n for (const key of Object.values(sizeKeyPrefix)) {\n if (current.startsWith(key)) {\n const interClass = current.replace(key, '');\n const sizes = interClass.split('-').filter((e) => /^[1-9]$/.test(e));\n acc[sizeKeyMap[key]] = sizes;\n break;\n }\n }\n return acc;\n }, {});\n if (Object.keys(sizeObject).length < 1) {\n /* based on string passed as className, no valid size array could be extracted */\n console.warn(\n 'Received invalid className, valid column-control className starts with ' +\n Object.values(sizeKeyPrefix).join(', ')\n );\n }\n return sizeObject;\n};\n","import { ReactElement, useMemo } from 'react';\n\nimport { StyledFlex } from './styled/StyledFlex';\nimport { NsFlexColumnsProps } from './types';\nimport { getColumnSizes } from './utils';\n\nconst NsFlexColumns = ({\n columnClass,\n children,\n gap,\n additionalProps,\n isFullWidth,\n}: NsFlexColumnsProps): ReactElement => {\n const sizes = useMemo(() => {\n return getColumnSizes(columnClass ?? 'ns-col-lg-1-1');\n }, [columnClass]);\n return (\n <StyledFlex\n isFullWidth={isFullWidth || false}\n gap={gap}\n sizes={sizes}\n className=\"ns-flex-columns\"\n data-testid={additionalProps?.testid ?? 'ns-flex-columns'}\n >\n {children}\n </StyledFlex>\n );\n};\nexport default NsFlexColumns;\n","import { Box } from '@mui/material';\nimport { styled } from '@nuskin/foundation-theme';\nimport { sizeObjectType } from '../types';\nimport { commonStyles, getPercentArray } from './common';\nimport { shouldNotForwardPropsWithKeys } from '../../../common/util';\n\ntype StyledFlexProps = {\n sizes: sizeObjectType;\n gap?: number;\n isFullWidth: boolean;\n};\n\nconst options = {\n shouldForwardProp: shouldNotForwardPropsWithKeys<StyledFlexProps>(['sizes']),\n};\n\n/* main wrapper for column control using css flex */\nexport const StyledFlex = styled(\n Box as any,\n options\n)<StyledFlexProps>(({ sizes, gap, isFullWidth }: StyledFlexProps) => {\n const gridGap = gap ? `${gap}px` : '2rem';\n const fraction = getPercentArray(sizes.fractions);\n const flexResponsive = { flexGrow: 1, flexShrink: 1 };\n const maxWidth = isFullWidth ? '100%' : '1200px';\n const style: any = {\n gap: gridGap,\n ...commonStyles,\n maxWidth,\n display: 'flex',\n paddingInline: '20px',\n flexWrap: 'wrap',\n justifyContent: 'center',\n '> *': {\n display: 'flex',\n minWidth: '220px',\n },\n };\n fraction.forEach((f, i) => {\n style[`> :nth-of-type(${fraction.length}n+${i + 1})`] = {\n flexBasis: `calc(${fraction[i]} - ${gridGap})`,\n ...flexResponsive,\n };\n });\n return style;\n});\n","const mobileBreakPoint = '600px';\n\nexport const commonStyles = {\n margin: '32px auto',\n\n [`@media (max-width: ${mobileBreakPoint})`]: {\n display: 'flex',\n flexDirection: 'column',\n flexWrap: 'wrap',\n margin: '2rem 1rem',\n '> * ': {\n flex: '1 1 0 !important',\n },\n },\n};\n/*\n we have kept extra margin by taking 80% instead of 100%, because margins and padding,\n and gaps also take up space, so we should be left with appropriate space\n example:\n ['1','1'] => ['40%','40%']\n ['1','2'] => ['27%','53%']\n */\nexport function getPercentArray(fractionArray?: string[] | number[]): string[] {\n const numbers = fractionArray?.map((numberString) => +numberString)?.filter((num) => 0 < num && num < 10) ?? [];\n const sum = numbers.reduce((currentSum, currentNumber) => currentSum + currentNumber, 0);\n return numbers.map((currentNumber) => ((currentNumber / sum) * 80).toFixed(2) + '%');\n}\n","import { ReactElement, useMemo } from 'react';\n\nimport { StyledGrid } from './styled/StyledGrid';\nimport { NsGridColumnsProps } from './types';\nimport { getColumnSizes } from './utils';\n\nconst NsGridColumns = ({\n columnClass,\n children,\n gap,\n isFullWidth,\n additionalProps,\n}: NsGridColumnsProps): ReactElement => {\n const sizes = useMemo(() => {\n return getColumnSizes(columnClass ?? 'ns-col-lg-1-1');\n }, [columnClass]);\n return (\n <StyledGrid\n isFullWidth={isFullWidth || false}\n gap={gap}\n sizes={sizes}\n className=\"ns-grid-columns\"\n data-testid={additionalProps?.testid ?? 'ns-grid-columns'}\n >\n {children}\n </StyledGrid>\n );\n};\nexport default NsGridColumns;\n","import { Box } from '@mui/material';\nimport { styled } from '@nuskin/foundation-theme';\nimport { sizeObjectType } from '../types';\nimport { commonStyles, getPercentArray } from './common';\nimport { shouldNotForwardPropsWithKeys } from '../../../common/util';\n\ntype StyledGridProps = {\n sizes: sizeObjectType;\n gap?: number;\n isFullWidth: boolean;\n};\nconst options = {\n shouldForwardProp: shouldNotForwardPropsWithKeys<StyledGridProps>(['sizes']),\n};\n\n/* main wrapper for column control using css grid */\nexport const StyledGrid = styled(\n Box as any,\n options\n)<StyledGridProps>(({ sizes, gap, isFullWidth }: StyledGridProps) => {\n const gridGap = gap ?? '2rem';\n const maxWidth = isFullWidth ? '100%' : '1200px';\n return {\n gap: gridGap,\n ...commonStyles,\n maxWidth,\n display: 'grid',\n /* here we are creating gridTemplateColumns as calc(40% - 20px) calc(40% - 20px), */\n gridTemplateColumns: getPercentArray(sizes.fractions)\n ?.map((fractionPercent) => `calc(${fractionPercent} - 20px)`)\n .join(''),\n justifyContent: 'center',\n '> *': {\n minWidth: '220px',\n width: 'auto !important',\n },\n '.span-2': {\n gridColumn: 'span 2',\n },\n } as any;\n});\n","import React, { ReactElement, useCallback, useRef, useState } from 'react';\n\nimport { useOnClickOutside } from '../hooks/useOnClickOutside';\nimport { NsIcon } from '../icon';\nimport {\n DropdownButton,\n DropdownContainer,\n DropdownHead,\n DropdownList,\n DropdownOptionContainer,\n} from './NsDropdown.styled';\nimport { DropdownProps } from './types.d';\n\nconst NsDropdown: React.FC<DropdownProps> = ({\n selectedLabel,\n onSelect,\n children,\n disabled = false,\n type = 'outlined',\n dropdownBorderColor = 'accentColorB',\n closeOnMouseLeave = false,\n className,\n placeholder,\n}): ReactElement => {\n const [isOpen, setIsOpen] = useState(false);\n const dropdownRef = useRef<HTMLDivElement | null>(null);\n\n const handleToggle = useCallback(() => {\n if (disabled) return;\n setIsOpen((x) => !x);\n }, [disabled]);\n\n const handleClose = useCallback(() => {\n setIsOpen(false);\n }, []);\n\n useOnClickOutside(dropdownRef?.current, handleClose);\n\n const handleOnMouseLeave = useCallback(() => {\n if (closeOnMouseLeave) {\n handleClose();\n }\n }, [closeOnMouseLeave, handleClose]);\n\n const handleSelect = (input: string) => {\n onSelect(input);\n setIsOpen(false);\n };\n\n return (\n <DropdownContainer disabled={disabled} ref={dropdownRef} className={className}>\n <DropdownHead\n data-testid=\"dropdown-head\"\n id=\"dropdown-head\"\n disabled={disabled}\n type={type}\n onClick={handleToggle}\n >\n <DropdownButton>{selectedLabel || placeholder}</DropdownButton>\n <NsIcon\n testId=\"chevron-icon\"\n id=\"chevron-icon\"\n name=\"arrowDown\"\n color=\"primary\"\n cursor={disabled ? 'not-allowed' : 'pointer'}\n />\n </DropdownHead>\n {isOpen ? (\n <DropdownList\n data-testid=\"dropdown-list\"\n id=\"dropdown-list\"\n onMouseLeave={handleOnMouseLeave}\n borderColor={dropdownBorderColor}\n >\n {children.map((child, key) => {\n const value = React.isValidElement(child) ? child.props.value : child;\n return (\n <DropdownOptionContainer\n data-testid={`dropdown-option-container-${key}`}\n className=\"dropdown-option-container\"\n key={key}\n onClick={() => handleSelect(value)}\n >\n {child}\n </DropdownOptionContainer>\n );\n })}\n </DropdownList>\n ) : null}\n </DropdownContainer>\n );\n};\n\nexport default NsDropdown;\n","import { styled, ColorUtils, FoundationTheme } from '@nuskin/foundation-theme';\nimport { Themed } from '../common.types';\nconst { color, paletteColor, isDarkMode } = ColorUtils;\n\nexport const DropdownContainer = styled.div<{ disabled: boolean }>`\n position: relative;\n display: inline-block;\n opacity: ${({ disabled }) => (disabled ? '0.5' : '1')};\n cursor: ${({ disabled }) => (disabled ? 'not-allowed' : 'pointer')};\n`;\n\n/** this function also used for SelectHead */\nexport const getDropdownHeadBorder = ({ type, theme }: { type: string } & Themed) => {\n if (type === 'outlined') {\n const borderColor = color('primary', 'black')({ theme });\n return `1px solid ${borderColor}`;\n }\n return 'none';\n};\nexport const DropdownHead = styled.div<{ type: string; disabled: boolean }>`\n cursor: ${({ disabled }) => (disabled ? 'inherit' : 'pointer')};\n padding: 5px 10px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n border: ${getDropdownHeadBorder};\n color: ${paletteColor('primary')};\n`;\n\nexport const DropdownButton = styled.div`\n padding-right: 10px;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n`;\n\nexport const DropdownList = styled.div<{ borderColor: FoundationTheme.PaletteColors }>`\n position: absolute;\n z-index: 999;\n border: 1px solid ${({ borderColor, theme }) => paletteColor(borderColor)({ theme })};\n margin-top: 10px;\n width: 100%;\n color: ${paletteColor('primary', 'main')};\n background-color: ${paletteColor('primary', 'contrastText')};\n`;\n\nconst getListBgColor = (theme: FoundationTheme.Theme) => {\n return color('accentColorB', isDarkMode({ theme }) ? '50' : '10')({ theme });\n};\n\nexport const DropdownOptionContainer = styled.div`\n cursor: pointer;\n &:last-child {\n border-bottom: none;\n }\n`;\n\nexport const ListItem = styled.div`\n &:hover {\n background-color: ${({ theme }) => getListBgColor(theme)};\n }\n &:active {\n background-color: #7de3e8;\n }\n padding: 10px;\n`;\n","import React, { ReactElement } from 'react';\n\nimport { ListItem } from './NsDropdown.styled';\nimport { DropdownOptionProps } from './types.d';\n\nexport const NsDropdownOption: React.FC<DropdownOptionProps> = ({ value, children }): ReactElement => {\n return (\n <ListItem data-testid={`option-${value}`} id=\"dropdown-item\">\n {children}\n </ListItem>\n );\n};\nexport default NsDropdownOption;\n","import React, { ReactElement, useState } from 'react';\n\nimport { NsInputField } from '../input';\nimport { fieldStateType } from '../input/types';\nimport { emailPattern } from '../validations/regex';\nimport { NsEmailSimpleProps } from './types';\n\nconst NsEmailSimple = (props: NsEmailSimpleProps): ReactElement => {\n const {\n disabled,\n label,\n required,\n maxLength,\n invalidEmailMessage,\n dupedEmailMessage,\n requiredErrorMessage,\n checkEmail,\n additionalProps,\n } = props;\n const [fieldState, setFieldState] = useState<fieldStateType>();\n const [errorMsg, setErrorMessage] = useState('');\n\n const handleBlur = async (e: React.FocusEvent<HTMLInputElement>) => {\n const emailInput = e.target.value.toLowerCase().trim();\n let fieldStateValue: fieldStateType;\n let errorMessageValue = '';\n if (required && !emailInput) {\n fieldStateValue = 'error';\n errorMessageValue = requiredErrorMessage;\n } else if (!emailPattern.test(emailInput)) {\n fieldStateValue = 'error';\n errorMessageValue = invalidEmailMessage;\n } else if (typeof checkEmail === 'function') {\n try {\n const [isValid, isAvailable] = await checkEmail();\n if (!isValid) {\n fieldStateValue = 'error';\n errorMessageValue = invalidEmailMessage;\n } else if (!isAvailable) {\n fieldStateValue = 'error';\n errorMessageValue = dupedEmailMessage;\n } else {\n fieldStateValue = undefined;\n errorMessageValue = '';\n }\n } catch (error) {\n console.error('API error', error);\n }\n } else {\n //TODO What happens when user does not pass valid checkEmail function\n }\n setFieldState(fieldStateValue);\n setErrorMessage(errorMessageValue);\n };\n return (\n <NsInputField\n required={required}\n disabled={disabled}\n label={label}\n onBlur={handleBlur}\n inputProps={{ maxLength }}\n additionalProps={{ testid: additionalProps?.testid ?? 'email-field-test' }}\n helperText={errorMsg}\n fieldState={fieldState}\n InputProps={{\n endAdornment: null,\n }}\n />\n );\n};\n\nexport default NsEmailSimple;\n","export const emailPattern =\n /^[\\s]*[A-Za-z0-9!#$%&*+/=?^_`{|}~-]+(?:\\.[A-Za-z0-9!#$%&*+/=?^_`{|}~-]+)*@(?:[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?\\.)+[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?[\\s]*$/;\n","import { useCallback, useEffect, useState } from 'react';\n\ntype ItemMap = Record<string, boolean>;\ntype UseAccordionProp = {\n allowMultipleExpanded?: boolean;\n defaultOpenIds?: string[];\n};\nconst reducer = (map: ItemMap, id: string) => {\n map[id] = true;\n return map;\n};\n\nconst useAccordionMap = ({ allowMultipleExpanded, defaultOpenIds }: UseAccordionProp) => {\n const mapSetter = useCallback(() => {\n let ids = defaultOpenIds;\n if (!allowMultipleExpanded) {\n ids = ids?.slice(0, 1) ?? [];\n }\n return ids?.reduce(reducer, {}) ?? {};\n }, [defaultOpenIds, allowMultipleExpanded]);\n\n const [itemStateMap, setItemMap] = useState<ItemMap>(mapSetter);\n\n const toggleOpen = (index: string | number) => {\n const key = index + '';\n if (allowMultipleExpanded) {\n setItemMap((prevState) => ({ ...prevState, [key]: !prevState[key] }));\n } else {\n setItemMap({ [key]: !itemStateMap[index] });\n }\n };\n\n useEffect(() => {\n setItemMap(mapSetter);\n }, [mapSetter]);\n return { itemStateMap, toggleOpen };\n};\n\nexport default useAccordionMap;\n","import { ReactElement } from 'react';\n\nimport { NsImageProps } from './types';\n\n// eslint-disable-next-line no-unused-vars\nconst NsImage = ({ src, width, height, alt, variant, ...rest }: NsImageProps): ReactElement => {\n let cHeight, cWidth;\n switch (variant) {\n case 'product':\n cHeight = 300;\n cWidth = 300;\n break;\n case 'icon':\n cHeight = 60;\n cWidth = 60;\n break;\n case 'award':\n cHeight = 130;\n cWidth = 130;\n break;\n case 'fill':\n cHeight = 'auto';\n cWidth = '100%';\n break;\n default:\n cHeight = height;\n cWidth = width;\n break;\n }\n // eslint-disable-next-line @next/next/no-img-element\n return <img src={src} alt={alt} height={cHeight} width={cWidth} {...rest} />;\n};\nexport default NsImage;\n","import React, { ReactElement } from 'react';\n\nimport Dialog from '@mui/material/Dialog';\n\nimport { ModalVariantMap } from './model/NsModalVariantMap';\nimport { NsModalProps } from './types';\n\nconst NsModal = (props: NsModalProps): ReactElement => {\n const {\n open,\n handleClose,\n header,\n body,\n additionalProps,\n footer,\n statusInfo,\n variant = 'default',\n fullScreen,\n } = props;\n\n const { className, scrollType = 'paper', ariaLabel } = additionalProps || {};\n\n const { ariaLabelledby = 'alert-dialog-title', ariaDescribedby = 'alert-dialog-description' } = ariaLabel || {};\n\n const Component = ModalVariantMap[variant];\n\n return (\n <Dialog\n data-testid=\"nsmodal-dialog\"\n fullScreen={fullScreen}\n open={open}\n scroll={scrollType}\n onClose={handleClose}\n aria-labelledby={ariaLabelledby}\n aria-describedby={ariaDescribedby}\n className={className}\n >\n <Component {...{ header, handleClose, body, footer, additionalProps, statusInfo, variant, open }} />\n </Dialog>\n );\n};\n\nexport default NsModal;\n","import { ReactElement } from 'react';\n\nimport { DialogContent } from '@mui/material';\n\nimport { Show } from '../../utility';\nimport { ModalFooter } from '../NsModal.styled';\nimport { NsModalComponentProps } from '../types';\nimport NsModalTitle from './NsModalTitle';\n\nconst NsDefaultModal = ({\n header,\n handleClose,\n body,\n footer,\n additionalProps,\n}: NsModalComponentProps): ReactElement => {\n const { dividers } = additionalProps || {};\n\n return (\n <div data-testid=\"modal-default\">\n <NsModalTitle header={header} handleClose={handleClose} />\n <DialogContent dividers={dividers}>\n <Show when={body?.show ?? false}>\n <div data-testid=\"modal-body-content\">{body?.children}</div>\n </Show>\n <Show when={footer?.show ?? false}>\n <ModalFooter data-testid=\"modal-footer\">{footer?.children}</ModalFooter>\n </Show>\n </DialogContent>\n </div>\n );\n};\n\nexport default NsDefaultModal;\n","import { PropsWithChildren, ReactElement } from 'react';\n\ntype ShowType = PropsWithChildren & {\n when?: boolean;\n elseContent?: ReactElement;\n};\nconst Show = ({ when, children, elseContent }: ShowType): ReactElement => {\n if (when) {\n return <>{children}</>;\n }\n return <>{elseContent}</>;\n};\nexport default Show;\n","import { styled } from '@nuskin/foundation-theme';\nimport { NsButton } from '../button';\nimport { DialogActions } from '@mui/material';\n\nexport const NsInfoWrapper = styled.div`\n display: flex;\n .status-icon {\n padding: 16px 0px 0px 24px;\n }\n .title-icon {\n padding-right: 10px;\n }\n`;\n\nexport const CloseButton = styled(NsButton)`\n position: absolute;\n right: 8px;\n top: 8px;\n`;\n\nexport const ModalFooter = styled(DialogActions)`\n display: flex;\n justify-content: space-around;\n padding: 20px 0px 10px 0px;\n button {\n width: 100%;\n }\n`;\n","import { ReactElement } from 'react';\n\nimport { DialogTitle } from '@mui/material';\n\nimport { NsIcon } from '../../';\nimport { Show } from '../../utility';\nimport { CloseButton, NsInfoWrapper } from '../NsModal.styled';\nimport { NsModalComponentProps } from '../types';\n\nconst NsModalTitle = ({ header, handleClose }: NsModalComponentProps): ReactElement => {\n const { show, children, isCloseIcon, iconName } = header || {};\n return (\n <Show when={show}>\n <DialogTitle data-testid=\"modal-title\">\n <NsInfoWrapper>\n {iconName ? <NsIcon name={iconName} className=\"title-icon\" /> : null}\n {children}\n </NsInfoWrapper>\n <Show when={isCloseIcon}>\n <CloseButton aria-label=\"close\" onClick={handleClose} data-testid=\"modal-close-button\">\n <NsIcon name=\"close\" size=\"small\" />\n </CloseButton>\n </Show>\n </DialogTitle>\n </Show>\n );\n};\n\nexport default NsModalTitle;\n","import {\n ReactElement,\n useMemo,\n} from 'react';\n\nimport { DialogContent } from '@mui/material';\n\nimport { NsTypography } from '../../';\nimport { NsModalComponentProps } from '../types';\nimport NsModalTitle from './NsModalTitle';\n\nconst NsModalContentBox = ({ handleClose, statusInfo }: NsModalComponentProps): ReactElement => {\n const { title, description } = statusInfo || {};\n\n const header = useMemo(() => {\n return {\n show: true,\n children: (\n <NsTypography variant=\"h5\" weight=\"bold\">\n {title}\n </NsTypography>\n ),\n isCloseIcon: true,\n };\n }, [title]);\n\n return (\n <div>\n <NsModalTitle header={header} handleClose={handleClose} />\n <DialogContent>\n <NsTypography variant=\"body-xs\">{description}</NsTypography>\n </DialogContent>\n </div>\n );\n};\n\nexport default NsModalContentBox;\n","import { ReactElement } from 'react';\n\nimport { NsIcon, NsIconNameType } from '../../';\nimport { StatusIconMap } from '../model/NsModalVariantMap';\nimport { NsModalComponentProps, NsModalVariant } from '../types';\n\nconst NsModalStatusIcon = ({ variant }: NsModalComponentProps): ReactElement => {\n const iconName = variant ? StatusIconMap[variant] : null;\n return (\n <div className=\"status-icon\">\n <NsIcon name={iconName as NsIconNameType} size=\"medium\" color={variant as NsModalVariant} />\n </div>\n );\n};\n\nexport default NsModalStatusIcon;\n","import React, { ReactElement } from 'react';\n\nimport { NsInfoWrapper } from '../NsModal.styled';\nimport { NsModalComponentProps } from '../types';\nimport NsModalContentBox from './NsModalContentBox';\nimport NsModalStatusIcon from './NsModalStatusIcon';\n\nconst NsStatusModal = ({ handleClose, statusInfo, variant }: NsModalComponentProps): ReactElement => {\n return (\n <NsInfoWrapper data-testid=\"modal-status\">\n <NsModalStatusIcon {...{ variant }} />\n <NsModalContentBox {...{ handleClose, statusInfo }} />\n </NsInfoWrapper>\n );\n};\n\nexport default NsStatusModal;\n","import { ElementType } from 'react';\nimport NsDefaultModal from '../helper-component/NsModalDefault';\nimport NsStatusModal from '../helper-component/NsModalStatus';\nimport { StatusIconMapProps } from '../types';\n\ntype ModalMapType = {\n [key: string]: ElementType;\n};\n\nexport const ModalVariantMap: ModalMapType = {\n default: NsDefaultModal,\n confirmation: NsDefaultModal,\n success: NsStatusModal,\n warning: NsStatusModal,\n error: NsStatusModal,\n info: NsStatusModal,\n};\n\nexport const StatusIconMap: StatusIconMapProps = {\n success: 'success',\n warning: 'warning',\n error: 'error',\n info: 'infoFilled',\n};\n","import { styled } from '@nuskin/foundation-theme';\n\nexport const ProductCardContainer = styled.div`\n display: flex;\n\n img {\n flex: 1 0 0;\n display: block;\n margin-right: 15px;\n max-height: 200px;\n min-height: 100px;\n max-width: 200px;\n min-width: 100px;\n position: unset !important;\n object-fit: contain;\n }\n\n .text-container {\n max-width: 200px;\n min-width: 100px;\n flex: 1 0 0;\n text-align: left;\n }\n`;\n","import React, { ReactElement } from 'react';\n\nimport { NsTypography } from '../';\nimport { BynderMedia } from '../image/BynderMedia';\nimport { ProductCardContainer } from './NsNavProductCard.styled';\nimport { NsNavProductCardProps } from './types.d';\n\nexport const NsNavProductCard = ({\n productImg,\n productDescription,\n productName,\n className = '',\n}: NsNavProductCardProps): ReactElement => {\n return (\n <ProductCardContainer className={className}>\n <BynderMedia imageDetail={productImg} />\n <div className=\"text-container\">\n <NsTypography variant=\"h5\" color=\"primary\" className=\"mt-11 mb-3.5 underline-hover\" weight=\"bold\">\n {productName}\n </NsTypography>\n <NsTypography variant=\"body-s\" color=\"primary\" weight=\"light\">\n {productDescription}\n </NsTypography>\n </div>\n </ProductCardContainer>\n );\n};\n","import React, {\n ReactElement,\n useCallback,\n useState,\n} from 'react';\n\nimport { LayoutGroup } from 'framer-motion';\n\nimport { NavDrawer } from './NavDrawer';\nimport { NavTitles } from './NavTitles';\nimport { NavTabContainer } from './NsNavTab.styled';\nimport { NsNavTabComponentProps } from './types.d';\n\nexport const NsNavTabComponent = ({\n tabs,\n className,\n tabTitleClassName,\n showDrawer = true,\n}: NsNavTabComponentProps): ReactElement => {\n const [active, setActive] = useState<string | null>(null);\n\n const activeTab = tabs?.find((tab) => tab.tabName === active);\n\n const handleLeave = useCallback(() => {\n setActive(null);\n }, []);\n\n return (\n <NavTabContainer data-testid=\"nav-container\" className={`${className} ns-nav-tab-component`}>\n <LayoutGroup>\n <div onMouseLeave={handleLeave} data-testid=\"nav-container-draw\" className=\"p-0 m-0\">\n <NavTitles\n tabTitleClassName={tabTitleClassName}\n tabs={tabs}\n active={active}\n setActive={setActive}\n />\n <NavDrawer active={active} content={activeTab?.tabContent} showDrawer={showDrawer} />\n </div>\n </LayoutGroup>\n </NavTabContainer>\n );\n};\n","import { FoundationTheme, styled, ColorUtils } from '@nuskin/foundation-theme';\nimport { motion } from 'framer-motion';\n\nconst { paletteColor } = ColorUtils;\n\nexport const NavTabContainer = styled.div`\n .shadow {\n box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.15);\n }\n`;\n\nexport const NavTabBox = styled(motion.li)`\n margin: 0px 14px;\n align-items: center;\n white-space: normal;\n text-align: center;\n cursor: pointer;\n list-style: none;\n position: relative;\n min-width: 60px;\n padding: 8px 4px;\n`;\n\nexport const NavTabUnderLine = styled(motion.div)<{ color?: FoundationTheme.PaletteColors }>`\n width: 100%;\n position: absolute;\n height: 3px;\n background-color: ${({ theme, color }) => paletteColor(color)({ theme })};\n`;\n\nexport const NavDrawerStyled = styled.div`\n position: absolute;\n left: 0;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: flex-start;\n z-index: 600;\n width: 100%;\n max-height: 590px;\n\n background-color: ${paletteColor('primary', 'contrastText')};\n box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.15);\n transition: all 0.15s ease-in-out;\n overflow: hidden;\n`;\n\nexport const NavDrawerContainer = styled(motion.div)`\n ::before {\n content: '';\n position: absolute;\n top: -5px;\n width: 100%;\n height: 5px;\n box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.15);\n z-index: 1;\n }\n box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.15);\n background-color: ${paletteColor('primary', 'contrastText')};\n width: 100%;\n text-align: left;\n max-height: 590px;\n overflow: auto;\n .drawer-container {\n max-width: 1024px;\n margin: 0 auto;\n overflow: hidden;\n }\n`;\n\nexport const NavTitlesBox = styled.div`\n display: flex;\n height: 39px;\n`;\n","import { ReactElement, ReactNode } from 'react';\n\nimport { Show } from '../utility';\nimport { NavDrawerContainer, NavDrawerStyled } from './NsNavTab.styled';\n\ntype NavDrawerProps = {\n active: string | null;\n showDrawer: boolean;\n content: ReactNode;\n};\nexport const NavDrawer = ({ active, showDrawer, content }: NavDrawerProps): ReactElement => {\n return (\n <NavDrawerStyled data-testid=\"nav-drawer-container\" className=\"nav-drawer\">\n <Show when={Boolean(active) && showDrawer}>\n <NavDrawerContainer\n data-testid=\"nav-drawer\"\n initial={{\n height: 0,\n }}\n animate={{\n height: 'auto',\n }}\n exit={{\n height: 0,\n }}\n transition={{\n duration: 0.3,\n }}\n >\n <div className=\"drawer-container\">{content}</div>\n </NavDrawerContainer>\n </Show>\n </NavDrawerStyled>\n );\n};\n","import { ReactElement } from 'react';\n\nimport { NavTabs, NsLink, NsTypography } from '../';\nimport { Show } from '../utility';\nimport { NavTabBox, NavTabUnderLine, NavTitlesBox } from './NsNavTab.styled';\n\ntype NavTitlesProps = {\n tabs: NavTabs[];\n setActive(_x: string): void;\n active: string | null;\n tabTitleClassName?: string;\n};\n\nexport const NavTitles = ({ tabs, setActive, active, tabTitleClassName }: NavTitlesProps): ReactElement => {\n const NavTitleTypography = (tab: NavTabs) => (\n <NsTypography\n variant={tab.textVariant}\n additionalProps={{ ...tab?.liveTag }}\n className={`${tabTitleClassName} ${!active ? 'opacity-8' : ''}`}\n color={tab.tabName === active ? tab.activeColor : tab.color}\n noSpacing\n >\n {tab.tabName}\n </NsTypography>\n );\n\n return (\n <NavTitlesBox className=\"desktop-nav-titles\">\n {tabs?.map((tab) => {\n const handleMouseEnter = () => {\n setActive(tab.tabName);\n };\n return (\n <div\n key={tab?.tabName}\n data-testid={tab?.tabName}\n className=\"relative cursor-pointer\"\n onMouseEnter={handleMouseEnter}\n >\n <NavTabBox\n className=\"nav-tab-box\"\n data-testid={tab.tabName + '-list'}\n transition={{\n duration: 0.3,\n }}\n animate\n >\n {tab?.tabLink ? (\n <NavTitleTypography {...tab}>\n <NsLink href={tab.tabLink} underlineOnHover={false} />\n </NavTitleTypography>\n ) : (\n <NavTitleTypography {...tab} />\n )}\n </NavTabBox>\n <Show when={active === tab.tabName}>\n <NavTabUnderLine data-testid=\"underline\" layoutId=\"underline\" color={tab.activeColor} />\n </Show>\n </div>\n );\n })}\n </NavTitlesBox>\n );\n};\n","import { styled, ColorUtils } from '@nuskin/foundation-theme';\nimport { LinearProgress } from '@mui/material';\nimport CheckCircleIcon from '@mui/icons-material/CheckCircle';\nimport { NsProgressProps } from './types';\nimport { NsTypography } from '../typography';\n\nconst { color, paletteColor } = ColorUtils;\nexport const StyledCheckCircle = styled(CheckCircleIcon)`\n color: ${color('neutral', '50')};\n padding-top: 0.6em;\n padding-right: 0.5em;\n justify-self: flex-end;\n`;\n\nexport const ProgressInfo = styled(NsTypography)`\n display: flex;\n justify-content: flex-end;\n font-weight: 700;\n text-transform: uppercase;\n`;\n\nexport const StyledLinearProgress = styled(LinearProgress)<Omit<NsProgressProps, 'value'>>(\n ({ height, backgroundColor, barColor, theme }) => ({\n width: '334px',\n height,\n backgroundColor: paletteColor(backgroundColor)({ theme }),\n borderRadius: '8px',\n display: 'inline-block',\n\n '.MuiLinearProgress-bar': {\n backgroundColor: paletteColor(barColor)({ theme }),\n },\n })\n);\nexport const StyledProgress = styled('div')`\n display: grid;\n grid-template-rows: 30px 30px;\n .progress-info {\n justify-content: flex-end;\n display: flex;\n align-items: center;\n }\n .progress-bar {\n display: flex;\n align-items: center;\n .MuiSvgIcon-root {\n padding: 0;\n margin: 0;\n height: 100%;\n position: relative;\n left: -4px;\n scale: 1.3\n }\n }\n`;\n\n","import React, { ReactElement } from 'react';\n\nimport { ProgressInfo, StyledCheckCircle, StyledLinearProgress, StyledProgress } from './NsProgress.styled';\nimport { NsProgressProps } from './types';\n\nconst NsProgress = (props: NsProgressProps): ReactElement => {\n const { barColor, backgroundColor, height, value, body } = props;\n return (\n <StyledProgress className=\"ns-progress\">\n <ProgressInfo variant=\"body-xs\" className=\"progress-info\">\n {value}\n <span>{body ?? ' % Complete'}</span>\n </ProgressInfo>\n <div className=\"progress-bar\">\n <StyledLinearProgress\n variant=\"determinate\"\n role=\"progressbar\"\n value={value}\n height={height}\n barColor={barColor}\n backgroundColor={backgroundColor}\n />\n <StyledCheckCircle />\n </div>\n </StyledProgress>\n );\n};\n\nexport default NsProgress;\n","import { ReactElement } from 'react';\n\nimport { FormControl } from '@mui/material';\n\nimport { NsLabel } from '../label';\nimport {\n StyledFormControlLabel,\n StyledHelperText,\n StyledRadio,\n StyledRadioGroup,\n StyledSpan,\n} from './NsRadioGroup.styled';\nimport { NsRadioGroupProps } from './types';\n\nconst NsRadioGroup = (props: NsRadioGroupProps): ReactElement => {\n const {\n items,\n helperText,\n label,\n onChange,\n color,\n disable,\n size,\n additionalProps,\n labelFontSize,\n darkModeEnabled = true,\n row,\n } = props;\n\n return (\n <>\n <FormControl data-testid={additionalProps?.testid}>\n <NsLabel size={labelFontSize as any}>{label}</NsLabel>\n <StyledRadioGroup\n row={row}\n aria-labelledby=\"radio-buttons-group-label\"\n defaultValue={items?.[0]?.value}\n name=\"radio-buttons-group\"\n onChange={onChange}\n color={color}\n darkModeEnabled={darkModeEnabled}\n >\n {items?.map((item, index) => (\n <StyledFormControlLabel\n id={`${index} `}\n key={item?.id}\n value={item?.value}\n control={<StyledRadio className=\"custom-radio\" />}\n label={item?.label}\n disabled={disable}\n darkModeEnabled={darkModeEnabled}\n />\n ))}\n </StyledRadioGroup>\n </FormControl>\n {helperText ? (\n <StyledHelperText className={`ml-${size}`}>\n <StyledSpan className=\"text-sm\">{helperText}</StyledSpan>\n </StyledHelperText>\n ) : null}\n </>\n );\n};\n\nexport default NsRadioGroup;\n","import { Radio, FormControlLabel, FormLabel, RadioGroup } from '@mui/material';\nimport { ColorUtils, FoundationTheme, styled } from '@nuskin/foundation-theme';\n\nconst { paletteColor, isDarkMode, color } = ColorUtils;\n\nexport const StyledHelperText = styled('div')`\n margin-top :10px;\n padding-left: 0.5em;\n text-align: left;\n justify-self: flex-start;\n)`;\n\nexport const StyledSpan = styled('span')`\n font-size: '16px';\n font-weight: 300;\n color: ${paletteColor('primary')};\n`;\n\nexport const StyledLabel = styled(FormLabel)`\n color: ${paletteColor('primary')},\n marginBottom: '15px',\n backgroundColor: 'transparent',\n`;\n\nexport const StyledRadio = styled(Radio)`\n color: ${(props) => color('primary', !isDarkMode(props) ? 'black' : 'white')(props)};\n`;\n\nexport const StyledFormControlLabel = styled(FormControlLabel)<{ darkModeEnabled?: boolean }>((props) => {\n return {\n color: paletteColor('primary')(props),\n marginBottom: '10px',\n '.MuiFormControlLabel-label.Mui-disabled': {\n color: `${color('neutral', !isDarkMode(props) ? 60 : 20)(props)}`,\n },\n };\n});\n\ntype StyledRadioPropsType = {\n color: FoundationTheme.PaletteColors;\n darkModeEnabled?: boolean;\n};\n\nexport const StyledRadioGroup = styled(RadioGroup)<StyledRadioPropsType>(({ theme, color, darkModeEnabled }) => {\n return {\n marginTop: '10px',\n '.MuiRadio-root.custom-radio.Mui-checked': {\n color: paletteColor(color)({ theme, darkModeEnabled }),\n },\n };\n});\n","import React, {\n MouseEvent,\n ReactElement,\n useCallback,\n useMemo,\n useRef,\n useState,\n} from 'react';\n\nimport { useOnClickOutside } from '../hooks/useOnClickOutside';\nimport { NsIcon } from '../icon';\nimport { Show } from '../utility';\nimport {\n arrowVisibility,\n factorMap,\n} from './constant';\nimport { DefaultRenderOption } from './DefaultRenderOption';\nimport {\n ErrorContainer,\n SelectButton,\n SelectContainer,\n SelectHead,\n SelectLabel,\n SelectList,\n SelectMain,\n StyledArrowContainer,\n} from './NsSelect.styled';\nimport {\n LabelValueType,\n SelectProps,\n} from './types.d';\n\nconst NsSelect: React.FC<SelectProps> = ({\n selected,\n onSelect,\n disabled = false,\n type = 'outlined',\n placeholder = '',\n selectBorderColor = 'accentColorB',\n closeOnMouseLeave = false,\n showListDivider = true,\n label,\n readOnly = false,\n errorMessage,\n hasArrows,\n // eslint-disable-next-line no-unused-vars\n rules,\n reverseArrowControls,\n RenderOption = DefaultRenderOption,\n options,\n}): ReactElement => {\n const [isOpen, setIsOpen] = useState(false);\n const optionIndex = useMemo(() => {\n if (typeof selected?.index === 'number') return selected.index;\n return options.findIndex((option) => option.value === selected.value);\n }, [options, selected]);\n const [value, setValue] = useState<LabelValueType>({ ...selected, index: optionIndex });\n const selectContainerRef = useRef<HTMLDivElement>(null);\n const selectHeadRef = useRef<HTMLDivElement>(null);\n\n const closeMenuOnMouseLeave = useCallback(() => {\n if (closeOnMouseLeave) {\n setIsOpen(false);\n }\n }, [closeOnMouseLeave]);\n\n const handleSelect = (val: LabelValueType) => {\n onSelect(val);\n setIsOpen(false);\n setValue(val);\n };\n const closeMenu = useCallback(() => {\n setIsOpen(false);\n }, []);\n useOnClickOutside(selectContainerRef.current, closeMenu);\n\n const handleMouseClick = () => {\n if (disabled) return;\n setIsOpen(!isOpen);\n if (!isOpen) {\n setTimeout(() => {\n selectHeadRef.current?.focus();\n }, 0);\n }\n };\n const handleArrowClick = (event: MouseEvent) => {\n const direction = event.currentTarget?.className.includes('Right') ? 'right' : 'left';\n const adder = factorMap[reverseArrowControls ? 'reverse' : 'forward'][direction];\n const nextIndex = (selected?.index ?? -1) + adder;\n if (nextIndex > -1 && nextIndex < options.length) {\n handleSelect({ ...options[nextIndex], index: nextIndex });\n }\n };\n return (\n <SelectMain>\n {hasArrows && (\n <StyledArrowContainer\n onClick={handleArrowClick}\n className=\"LeftArrow\"\n style={{\n visibility: arrowVisibility(options.length, 'left', reverseArrowControls, value?.index),\n }}\n >\n <NsIcon name=\"arrowLeft\" color=\"primary\" />\n </StyledArrowContainer>\n )}\n <SelectContainer\n data-testid=\"select-container\"\n disabled={disabled || readOnly}\n ref={selectContainerRef}\n errorMessage={errorMessage}\n >\n {label && <SelectLabel errorMessage={errorMessage}>{label}</SelectLabel>}\n <SelectHead\n data-testid=\"select-head\"\n disabled={disabled || readOnly}\n type={type}\n onMouseDown={handleMouseClick}\n tabIndex={0}\n ref={selectHeadRef}\n >\n <SelectButton>{value?.label || placeholder}</SelectButton>\n {!readOnly && <NsIcon name={isOpen ? 'arrowUp' : 'arrowDown'} color=\"primary\" />}\n </SelectHead>\n <Show when={isOpen}>\n <SelectList\n data-testid=\"select-menu-list\"\n onMouseLeave={closeMenuOnMouseLeave}\n borderColor={selectBorderColor}\n className=\"selectList\"\n >\n {options.map((opt, optionIndex) => {\n return (\n <RenderOption\n key={opt.value}\n value={opt.value}\n label={opt.label}\n index={optionIndex}\n onClick={() =>\n handleSelect({ label: opt.label, value: opt.value, index: optionIndex })\n }\n selected={value}\n showListDivider={showListDivider}\n />\n );\n })}\n </SelectList>\n </Show>\n {errorMessage && <ErrorContainer>{errorMessage}</ErrorContainer>}\n </SelectContainer>\n {hasArrows && (\n <StyledArrowContainer\n onClick={handleArrowClick}\n className=\"RightArrow\"\n style={{\n visibility: arrowVisibility(options.length, 'right', reverseArrowControls, selected?.index),\n }}\n >\n <NsIcon name=\"arrowRight\" color=\"primary\" />\n </StyledArrowContainer>\n )}\n </SelectMain>\n );\n};\n\nexport default NsSelect;\n","export const factorMap: any = {\n reverse: {\n right: -1,\n left: 1,\n },\n forward: {\n right: 1,\n left: -1,\n },\n};\n\nexport const arrowVisibility = (\n total: number,\n direction: 'left' | 'right',\n reverse: boolean = false,\n currentIndex: number | undefined = -1\n) => {\n if (direction === 'left') {\n if (!reverse) {\n return currentIndex < 1 ? 'hidden' : 'visible';\n } else {\n return currentIndex >= total - 1 ? 'hidden' : 'visible';\n }\n }\n if (!reverse) {\n return currentIndex >= total - 1 ? 'hidden' : 'visible';\n } else {\n return currentIndex < 1 ? 'hidden' : 'visible';\n }\n};\n","import { ColorUtils, FoundationTheme, styled } from '@nuskin/foundation-theme';\nimport { HTMLAttributes } from 'react';\n\nimport { getDropdownHeadBorder } from '../dropdown/NsDropdown.styled';\n\nconst { paletteColor, themeColor } = ColorUtils;\n\ninterface SelectLabelProps extends HTMLAttributes<HTMLLabelElement> {\n errorMessage?: string;\n}\n\nexport const SelectContainer = styled.div<{ disabled: boolean; errorMessage?: string }>`\n position: relative;\n display: inline-block;\n opacity: ${({ disabled }) => (disabled ? '0.5' : '1')};\n color: ${({ theme, errorMessage }) =>\n errorMessage ? paletteColor('error')({ theme }) : paletteColor('primary')({ theme })};\n`;\nexport const SelectMain = styled.div`\n position: relative;\n display: flex;\n`;\n\nexport const ErrorContainer = styled.div`\n color: ${paletteColor('error')};\n`;\n\nexport const SelectHead = styled.div<{ type: string; disabled: boolean }>`\n cursor: ${({ disabled }) => (disabled ? 'inherit' : 'pointer')};\n padding: 5px 10px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n border: ${getDropdownHeadBorder};\n background: ${paletteColor('primary', 'contrastText')};\n color: ${paletteColor('primary')};\n width: 207px;\n position: relative;\n z-index: 2;\n`;\n\nexport const SelectButton = styled.div`\n padding-right: 10px;\n`;\n\nexport const StyledArrowContainer = styled.div`\n display: flex;\n align-items: center;\n padding-top: 30px;\n`;\n\nexport const SelectList = styled.div<{ borderColor: FoundationTheme.PaletteColors }>`\n position: absolute;\n z-index: 100;\n border: 1px solid ${({ borderColor, theme }) => paletteColor(borderColor)({ theme })};\n padding: 0;\n margin: 0;\n width: -webkit-fill-available;\n color: ${paletteColor('primary', 'main')};\n background-color: ${paletteColor('primary', 'contrastText')};\n max-height: 200px;\n overflow-y: auto;\n`;\n\nexport const SelectLabel = styled.label<SelectLabelProps>`\n display: block;\n margin-bottom: 5px;\n color: ${({ theme, errorMessage }) =>\n errorMessage ? paletteColor('error')({ theme }) : paletteColor('primary')({ theme })};\n}\n`;\ntype StyledSelectOptionType = { showListDivider: boolean };\nexport const StyledSelectOption = styled('div')<StyledSelectOptionType>(({ showListDivider, theme }) => {\n const dividerColor = themeColor(\n { colorType: 'neutral', variant: '30' },\n { colorType: 'neutral', variant: '20' }\n )({ theme });\n const borderBottom = showListDivider ? dividerColor : 'none';\n const hoveredBg = themeColor(\n { colorType: 'accentColorB', variant: '20' },\n { colorType: 'accentColorB', variant: '40' }\n )({ theme });\n\n return {\n cursor: 'pointer',\n borderBottom: `1px solid ${borderBottom}`,\n backgroundColor: 'white',\n color: 'black',\n padding: '5px 10px',\n '&.selected-option': {\n backgroundColor: paletteColor('accentColorA')({ theme }),\n color: 'white',\n },\n '&:hover': {\n color: 'white',\n backgroundColor: hoveredBg,\n },\n '&:last-child': {\n borderBottom: 'none',\n },\n };\n});\n","import React, { ReactElement } from 'react';\n\nimport { StyledSelectOption } from './NsSelect.styled';\nimport { SelectOptionProps } from './types.d';\n\nexport const NsSelectOption: React.FC<SelectOptionProps> = ({\n value,\n label,\n onClick,\n selected,\n showListDivider = true,\n}): ReactElement => {\n const isSelected = value === selected?.value;\n return (\n <StyledSelectOption\n className={isSelected ? 'selected-option' : ''}\n data-testid={`option-${value}`}\n showListDivider={showListDivider}\n onClick={onClick}\n >\n {label}\n </StyledSelectOption>\n );\n};\nexport default NsSelectOption;\n\n","import { ReactElement } from 'react';\n\nimport NsSelectOption from './NsSelectOption';\nimport { RenderSelectOptionArgType } from './types';\n\nexport const DefaultRenderOption = (props: RenderSelectOptionArgType): ReactElement => {\n return <NsSelectOption {...props} key={props?.value} onClick={props.onClick} index={props.index ?? 0} />;\n};\n","import { ReactElement } from 'react';\n\n/* eslint-disable max-len */\nimport SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon';\n\nconst SpinnerIcon = (props: SvgIconProps): ReactElement => {\n return (\n <SvgIcon\n id=\"ns-spinner-1\"\n viewBox=\"0 0 304 304\"\n shapeRendering=\"geometricPrecision\"\n textRendering=\"geometricPrecision\"\n {...props}\n >\n <g id=\"ns-spinner-2\">\n <g id=\"ns-spinner-3\" transform=\"matrix(1 0 0 1 -34 -34)\">\n <circle\n id=\"ns-spinner-4\"\n r=\"146.500000\"\n transform=\"matrix(0.26045430858251 0.75641493450408 -0.75641493450408 0.26045430858251 185.99999999964032 186.00000000212532)\"\n fill=\"none\"\n fillRule=\"evenodd\"\n stroke=\"rgb(247,247,247)\"\n strokeWidth=\"10\"\n strokeLinecap=\"round\"\n />\n </g>\n </g>\n <g\n id=\"ns-spinner-5\"\n transform=\"matrix(0.56568542494924 0.56568542494924 -0.56568542494924 0.56568542494924 37.61439805970794 61.68043135401598)\"\n >\n <g id=\"ns-spinner-6\" transform=\"matrix(1 0 0 1 -53 -239)\">\n <g id=\"ns-spinner-7_tr\" transform=\"translate(232.873721,220.430229) rotate(71.000016)\">\n <path\n id=\"ns-spinner-7\"\n d=\"M207.214206,353.714206C243.362404,353.714206,276.452762,340.622041,302.002226,318.920768C333.639565,292.048559,353.714206,251.975724,353.714206,207.214206C353.714206,126.304490,288.123922,60.714206,207.214206,60.714206C126.304490,60.714206,60.714206,126.304490,60.714206,207.214206C60.714206,237.178438,69.710103,265.041566,85.148469,288.250162C111.396930,327.709644,156.268722,353.714206,207.214206,353.714206Z\"\n transform=\"scale(1,1) translate(-207.214206,-207.214206)\"\n opacity=\"0\"\n fill=\"none\"\n fillRule=\"evenodd\"\n stroke=\"rgb(249,0,156)\"\n strokeWidth=\"30\"\n strokeLinecap=\"round\"\n strokeDasharray=\"200 1000\"\n />\n </g>\n <g id=\"ns-spinner-8_tr\" transform=\"translate(232.873721,220.430229) rotate(71.000016)\">\n <path\n id=\"ns-spinner-8\"\n d=\"M207.214206,353.714206C243.362404,353.714206,276.452762,340.622041,302.002226,318.920768C333.639565,292.048559,353.714206,251.975724,353.714206,207.214206C353.714206,126.304490,288.123922,60.714206,207.214206,60.714206C126.304490,60.714206,60.714206,126.304490,60.714206,207.214206C60.714206,237.178438,69.710103,265.041566,85.148469,288.250162C111.396930,327.709644,156.268722,353.714206,207.214206,353.714206Z\"\n transform=\"scale(1,1) translate(-207.214206,-207.214206)\"\n opacity=\"0\"\n fill=\"none\"\n fillRule=\"evenodd\"\n stroke=\"rgb(78,0,160)\"\n strokeWidth=\"30\"\n strokeLinecap=\"round\"\n strokeDasharray=\"200 1000\"\n />\n </g>\n <g id=\"ns-spinner-9_tr\" transform=\"translate(232.873721,220.430229) rotate(71.000016)\">\n <path\n id=\"ns-spinner-9\"\n d=\"M207.214206,353.714206C243.362404,353.714206,276.452762,340.622041,302.002226,318.920768C333.639565,292.048559,353.714206,251.975724,353.714206,207.214206C353.714206,126.304490,288.123922,60.714206,207.214206,60.714206C126.304490,60.714206,60.714206,126.304490,60.714206,207.214206C60.714206,237.178438,69.710103,265.041566,85.148469,288.250162C111.396930,327.709644,156.268722,353.714206,207.214206,353.714206Z\"\n transform=\"scale(1,1) translate(-207.214206,-207.214206)\"\n opacity=\"0\"\n fill=\"none\"\n fillRule=\"evenodd\"\n stroke=\"rgb(255,215,0)\"\n strokeWidth=\"30\"\n strokeLinecap=\"round\"\n strokeDasharray=\"200 1000\"\n />\n </g>\n <g id=\"ns-spinner-10_tr\" transform=\"translate(232.873721,220.430229) rotate(71.000016)\">\n <path\n id=\"ns-spinner-10\"\n d=\"M207.214206,353.714206C243.362404,353.714206,276.452762,340.622041,302.002226,318.920768C333.639565,292.048559,353.714206,251.975724,353.714206,207.214206C353.714206,126.304490,288.123922,60.714206,207.214206,60.714206C126.304490,60.714206,60.714206,126.304490,60.714206,207.214206C60.714206,237.178438,69.710103,265.041566,85.148469,288.250162C111.396930,327.709644,156.268722,353.714206,207.214206,353.714206Z\"\n transform=\"scale(1,1) translate(-207.214206,-207.214206)\"\n opacity=\"0\"\n fill=\"none\"\n fillRule=\"evenodd\"\n stroke=\"rgb(190,217,0)\"\n strokeWidth=\"30\"\n strokeLinecap=\"round\"\n strokeDasharray=\"200 1000\"\n />\n </g>\n <g id=\"ns-spinner-11_tr\" transform=\"translate(232.873721,220.430229) rotate(71.000016)\">\n <path\n id=\"ns-spinner-11\"\n d=\"M207.214206,353.714206C243.362404,353.714206,276.452762,340.622041,302.002226,318.920768C333.639565,292.048559,353.714206,251.975724,353.714206,207.214206C353.714206,126.304490,288.123922,60.714206,207.214206,60.714206C126.304490,60.714206,60.714206,126.304490,60.714206,207.214206C60.714206,237.178438,69.710103,265.041566,85.148469,288.250162C111.396930,327.709644,156.268722,353.714206,207.214206,353.714206Z\"\n transform=\"scale(1,1) translate(-207.214206,-207.214206)\"\n opacity=\"0\"\n fill=\"none\"\n fillRule=\"evenodd\"\n stroke=\"rgb(190,217,0)\"\n strokeWidth=\"30\"\n strokeLinecap=\"round\"\n strokeDasharray=\"200 1000\"\n />\n </g>\n <g id=\"ns-spinner-12_tr\" transform=\"translate(232.873721,220.430229) rotate(71.000016)\">\n <path\n id=\"ns-spinner-12\"\n d=\"M207.214206,353.714206C243.362404,353.714206,276.452762,340.622041,302.002226,318.920768C333.639565,292.048559,353.714206,251.975724,353.714206,207.214206C353.714206,126.304490,288.123922,60.714206,207.214206,60.714206C126.304490,60.714206,60.714206,126.304490,60.714206,207.214206C60.714206,237.178438,69.710103,265.041566,85.148469,288.250162C111.396930,327.709644,156.268722,353.714206,207.214206,353.714206Z\"\n transform=\"scale(1,1) translate(-207.214206,-207.214206)\"\n opacity=\"0\"\n fill=\"none\"\n fillRule=\"evenodd\"\n stroke=\"rgb(249,0,156)\"\n strokeWidth=\"30\"\n strokeLinecap=\"round\"\n strokeDasharray=\"200 1000\"\n />\n </g>\n <g id=\"ns-spinner-13_tr\" transform=\"translate(232.873721,220.430229) rotate(71.000016)\">\n <path\n id=\"ns-spinner-13\"\n d=\"M207.214206,353.714206C243.362404,353.714206,276.452762,340.622041,302.002226,318.920768C333.639565,292.048559,353.714206,251.975724,353.714206,207.214206C353.714206,126.304490,288.123922,60.714206,207.214206,60.714206C126.304490,60.714206,60.714206,126.304490,60.714206,207.214206C60.714206,237.178438,69.710103,265.041566,85.148469,288.250162C111.396930,327.709644,156.268722,353.714206,207.214206,353.714206Z\"\n transform=\"scale(1,1) translate(-207.214206,-207.214206)\"\n fill=\"none\"\n fillRule=\"evenodd\"\n stroke=\"rgb(255,215,0)\"\n strokeWidth=\"30\"\n strokeLinecap=\"round\"\n strokeDasharray=\"200 1000\"\n />\n </g>\n <g id=\"ns-spinner-14_tr\" transform=\"translate(232.873721,220.430229) rotate(71.000016)\">\n <path\n id=\"ns-spinner-14\"\n d=\"M207.214206,353.714206C243.362404,353.714206,276.452762,340.622041,302.002226,318.920768C333.639565,292.048559,353.714206,251.975724,353.714206,207.214206C353.714206,126.304490,288.123922,60.714206,207.214206,60.714206C126.304490,60.714206,60.714206,126.304490,60.714206,207.214206C60.714206,237.178438,69.710103,265.041566,85.148469,288.250162C111.396930,327.709644,156.268722,353.714206,207.214206,353.714206Z\"\n transform=\"scale(1,1) translate(-207.214206,-207.214206)\"\n fill=\"none\"\n fillRule=\"evenodd\"\n stroke=\"rgb(255,78,0)\"\n strokeWidth=\"30\"\n strokeLinecap=\"round\"\n strokeDasharray=\"200 1000\"\n />\n </g>\n <g id=\"ns-spinner-15_tr\" transform=\"translate(232.873721,220.430229) rotate(71.000016)\">\n <path\n id=\"ns-spinner-15\"\n d=\"M207.214206,353.714206C243.362404,353.714206,276.452762,340.622041,302.002226,318.920768C333.639565,292.048559,353.714206,251.975724,353.714206,207.214206C353.714206,126.304490,288.123922,60.714206,207.214206,60.714206C126.304490,60.714206,60.714206,126.304490,60.714206,207.214206C60.714206,237.178438,69.710103,265.041566,85.148469,288.250162C111.396930,327.709644,156.268722,353.714206,207.214206,353.714206Z\"\n transform=\"scale(1,1) translate(-207.214206,-207.214206)\"\n fill=\"none\"\n fillRule=\"evenodd\"\n stroke=\"rgb(0,183,231)\"\n strokeWidth=\"30\"\n strokeLinecap=\"round\"\n strokeDasharray=\"200 1000\"\n />\n </g>\n </g>\n </g>\n </SvgIcon>\n );\n};\n\nexport default SpinnerIcon;\n","import { styled } from '@nuskin/foundation-theme';\n\nexport const SpinnerContainer = styled.div<{ size: number }>`\n width: ${(prop) => prop.size}px;\n height: ${(prop) => prop.size}px;\n svg {\n width: ${(prop) => prop.size}px;\n height: ${(prop) => prop.size}px;\n }\n #ns-spinner-7_tr {\n animation: ns-spinner-7_tr__tr 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-7_tr__tr {\n 0% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n }\n 80% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n animation-timing-function: cubic-bezier(0.495, 0.49, 0.82, 0.11);\n }\n 100% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n }\n }\n #ns-spinner-7 {\n animation: ns-spinner-7_c_o 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-7_c_o {\n 0% {\n opacity: 0;\n }\n 77.500000% {\n opacity: 0;\n }\n 80% {\n opacity: 1;\n }\n 97.500000% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n }\n #ns-spinner-8_tr {\n animation: ns-spinner-8_tr__tr 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-8_tr__tr {\n 0% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n }\n 77.500000% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n animation-timing-function: cubic-bezier(0.1, 0.365, 0.82, 0.11);\n }\n 100% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n }\n }\n #ns-spinner-8 {\n animation: ns-spinner-8_c_o 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-8_c_o {\n 0% {\n opacity: 0;\n }\n 75% {\n opacity: 0;\n }\n 77.500000% {\n opacity: 1;\n }\n 97.500000% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n }\n #ns-spinner-9_tr {\n animation: ns-spinner-9_tr__tr 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-9_tr__tr {\n 0% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n }\n 30% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n animation-timing-function: cubic-bezier(0.5, 0.495, 0.82, 0.11);\n }\n 50% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n }\n 100% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n }\n }\n #ns-spinner-9 {\n animation: ns-spinner-9_c_o 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-9_c_o {\n 0% {\n opacity: 0;\n }\n 25% {\n opacity: 0;\n }\n 27.500000% {\n opacity: 1;\n }\n 47.500000% {\n opacity: 1;\n }\n 50% {\n opacity: 0;\n }\n 100% {\n opacity: 0;\n }\n }\n #ns-spinner-10_tr {\n animation: ns-spinner-10_tr__tr 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-10_tr__tr {\n 0% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n }\n 27.500000% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n animation-timing-function: cubic-bezier(0.1, 0.365, 0.82, 0.11);\n }\n 50% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n }\n 100% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n }\n }\n #ns-spinner-10 {\n animation: ns-spinner-10_c_o 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-10_c_o {\n 0% {\n opacity: 0;\n }\n 25% {\n opacity: 0;\n }\n 27.500000% {\n opacity: 1;\n }\n 47.500000% {\n opacity: 1;\n }\n 50% {\n opacity: 0;\n }\n 100% {\n opacity: 0;\n }\n }\n #ns-spinner-11_tr {\n animation: ns-spinner-11_tr__tr 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-11_tr__tr {\n 0% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n }\n 55% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n animation-timing-function: cubic-bezier(0.495, 0.49, 0.82, 0.11);\n }\n 75% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n }\n 100% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n }\n }\n #ns-spinner-11 {\n animation: ns-spinner-11_c_o 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-11_c_o {\n 0% {\n opacity: 0;\n }\n 52.500000% {\n opacity: 0;\n }\n 55% {\n opacity: 1;\n }\n 72.500000% {\n opacity: 1;\n }\n 75% {\n opacity: 0;\n }\n 100% {\n opacity: 0;\n }\n }\n #ns-spinner-12_tr {\n animation: ns-spinner-12_tr__tr 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-12_tr__tr {\n 0% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n }\n 52.500000% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n animation-timing-function: cubic-bezier(0.1, 0.365, 0.82, 0.11);\n }\n 75% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n }\n 100% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n }\n }\n #ns-spinner-12 {\n animation: ns-spinner-12_c_o 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-12_c_o {\n 0% {\n opacity: 0;\n }\n 50% {\n opacity: 0;\n }\n 52.500000% {\n opacity: 1;\n }\n 72.500000% {\n opacity: 1;\n }\n 75% {\n opacity: 0;\n }\n 100% {\n opacity: 0;\n }\n }\n #ns-spinner-13_tr {\n animation: ns-spinner-13_tr__tr 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-13_tr__tr {\n 0% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n }\n 5% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n animation-timing-function: cubic-bezier(0.495, 0.49, 0.82, 0.11);\n }\n 25% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n }\n 100% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n }\n }\n #ns-spinner-13 {\n animation: ns-spinner-13_c_o 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-13_c_o {\n 0% {\n opacity: 1;\n }\n 5% {\n opacity: 1;\n }\n 25% {\n opacity: 1;\n }\n 27.500000% {\n opacity: 0;\n }\n 100% {\n opacity: 0;\n }\n }\n #ns-spinner-14_tr {\n animation: ns-spinner-14_tr__tr 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-14_tr__tr {\n 0% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n }\n 2.500000% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n animation-timing-function: cubic-bezier(0.1, 0.365, 0.82, 0.11);\n }\n 25% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n }\n 100% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n }\n }\n #ns-spinner-14 {\n animation: ns-spinner-14_c_o 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-14_c_o {\n 0% {\n opacity: 1;\n }\n 2.500000% {\n opacity: 1;\n }\n 25% {\n opacity: 1;\n }\n 27.500000% {\n opacity: 0;\n }\n 100% {\n opacity: 0;\n }\n }\n #ns-spinner-15_tr {\n animation: ns-spinner-15_tr__tr 4000ms linear infinite normal forwards;\n }\n @keyframes ns-spinner-15_tr__tr {\n 0% {\n transform: translate(232.873721px, 220.430229px) rotate(71.000016deg);\n animation-timing-function: cubic-bezier(0, 0.25, 0.795, 0.345);\n }\n 25% {\n transform: translate(232.873721px, 220.430229px) rotate(430deg);\n animation-timing-function: cubic-bezier(0, 0.25, 0.795, 0.345);\n }\n 50% {\n transform: translate(232.873721px, 220.430229px) rotate(791deg);\n animation-timing-function: cubic-bezier(0, 0.25, 0.795, 0.345);\n }\n 75% {\n transform: translate(232.873721px, 220.430229px) rotate(1151deg);\n animation-timing-function: cubic-bezier(0, 0.25, 0.795, 0.345);\n }\n 100% {\n transform: translate(232.873721px, 220.430229px) rotate(1511deg);\n }\n }\n`;\n","import React, { ReactElement } from 'react';\n\nimport SpinnerIcon from './icons/Spinner';\nimport { SpinnerContainer } from './NsSpinner.styled';\nimport { NsSpinnerProps } from './types';\n\nconst NsSpinner: React.FC<NsSpinnerProps> = ({ size = 100, additionalProps }): ReactElement => {\n return (\n <SpinnerContainer size={size} className=\"spinner\" {...additionalProps}>\n <SpinnerIcon />\n </SpinnerContainer>\n );\n};\n\nexport default NsSpinner;\n","import React, {\n ReactElement,\n useEffect,\n useState,\n} from 'react';\n\nimport {\n TableBody,\n TableCell,\n TableRow,\n} from '@mui/material';\nimport Grid from '@mui/material/Grid';\n\nimport {\n getComparator,\n stableSort,\n} from './helper';\nimport ExpandableRow from './NsExpandableRow';\nimport {\n StyledEmptyRow,\n StyledLinearProgress,\n StyledProgressCell,\n StyledTable,\n StyledTableContainer,\n} from './NsTable.styled';\nimport NsTableHeader from './NsTableHeader';\nimport NsTablePagination from './NsTablePagination';\nimport type {\n Item,\n NsTableProps,\n OrderType,\n} from './types';\n\nexport default function NsTable({\n headers = [],\n items = [],\n rows,\n rowsPerPageOptions,\n itemKey,\n expandableContent,\n actionClick,\n showActions = true,\n showExpandedContent = true,\n loading = false,\n isExpandableAll = false,\n}: NsTableProps): ReactElement {\n const [order, setOrder] = useState<OrderType>('asc');\n const [orderBy, setOrderBy] = useState<keyof Item>(itemKey);\n const [expandMap, setExpandMap] = useState<{ [key: number]: boolean }>({});\n const [page, setPage] = useState(0);\n const [rowsPerPage, setRowsPerPage] = useState(rows);\n const itemKeyList = React.useMemo(() => {\n return items.length ? Object.keys(items[0]) : [];\n }, [items]);\n\n useEffect(() => {\n setRowsPerPage(rows);\n setPage(0);\n }, [rows]);\n\n const handleRequestSort = (event: React.MouseEvent<unknown>, property: keyof Item) => {\n const isAsc = orderBy === property && order === 'asc';\n setOrder(isAsc ? 'desc' : 'asc');\n setOrderBy(property);\n };\n\n const handleClick = (index: number) => {\n if (isExpandableAll) {\n setExpandMap((prevState) => ({ ...prevState, [index]: !prevState[index] }));\n } else {\n setExpandMap({ [index]: !expandMap[index] });\n }\n };\n\n const handleChangePage = (newPage: number) => {\n setPage(newPage - 1);\n };\n\n const emptyRows = getEmptyRows();\n\n const visibleRows = React.useMemo(\n () =>\n stableSort(items, getComparator(order, orderBy)).slice(\n page * rowsPerPage,\n page * rowsPerPage + rowsPerPage\n ),\n [order, orderBy, page, rowsPerPage, items]\n );\n\n return (\n <div>\n <StyledTableContainer>\n <StyledTable>\n <NsTableHeader\n headCells={headers}\n order={order}\n orderBy={orderBy as string}\n onRequestSort={handleRequestSort}\n rowCount={items.length}\n />\n <TableBody>\n {loading ? (\n <TableRow>\n <StyledProgressCell colSpan={itemKeyList.length}>\n <Grid container>\n <Grid item xs={12}>\n <StyledLinearProgress />\n </Grid>\n </Grid>\n </StyledProgressCell>\n </TableRow>\n ) : null}\n {visibleRows.map((row, index) => {\n return (\n <ExpandableRow\n key={index}\n expandableContent={expandableContent}\n isExpand={expandMap[index]}\n handleClick={handleClick}\n row={row}\n index={index}\n itemKeyList={itemKeyList}\n actionClick={actionClick}\n showActions={showActions}\n showExpandedContent={showExpandedContent}\n />\n );\n })}\n {emptyRows > 0 ? (\n <StyledEmptyRow emptyRows={emptyRows}>\n <TableCell colSpan={itemKeyList.length} />\n </StyledEmptyRow>\n ) : null}\n </TableBody>\n </StyledTable>\n </StyledTableContainer>\n <NsTablePagination\n rowsPerPageOptions={rowsPerPageOptions}\n count={items.length}\n rowsPerPage={rowsPerPage}\n page={page + 1}\n onPageChange={handleChangePage}\n />\n </div>\n );\n\n function getEmptyRows() {\n return page > 0 ? Math.max(0, (1 + page) * rowsPerPage - items.length) : 0;\n }\n}\n","/* eslint-disable no-unused-vars */\nimport type { OrderType } from './types.d';\n\nexport function descendingComparator<T>(a: T, b: T, orderBy: keyof T) {\n if (b[orderBy] < a[orderBy]) {\n return -1;\n }\n if (b[orderBy] > a[orderBy]) {\n return 1;\n }\n return 0;\n}\n\nexport function getComparator<Key extends keyof any>(\n order: OrderType,\n orderBy: Key\n): (a: { [key in Key]: number | string }, b: { [key in Key]: number | string }) => number {\n return order === 'desc'\n ? (a, b) => descendingComparator(a, b, orderBy)\n : (a, b) => -descendingComparator(a, b, orderBy);\n}\n\nexport function stableSort<T>(array: readonly T[], comparator: (a: T, b: T) => number) {\n const stabilizedThis = array.map((el, index) => [el, index] as [T, number]);\n stabilizedThis.sort((a, b) => {\n const order = comparator(a[0], b[0]);\n if (order !== 0) {\n return order;\n }\n return a[1] - b[1];\n });\n return stabilizedThis.map((el) => el[0]);\n}\n","import React, { ReactElement } from 'react';\n\nimport { TableRow } from '@mui/material';\nimport Box from '@mui/material/Box';\nimport Collapse from '@mui/material/Collapse';\n\nimport {\n StyledExpandCell,\n StyledOriginalTableCell,\n StyledTableLastCell,\n StyledTableRow,\n} from './NsTable.styled';\nimport type { NsTableRowProps } from './types';\n\nexport default function ExpandableRow({\n expandableContent,\n isExpand,\n handleClick,\n row,\n itemKeyList,\n index,\n showActions,\n showExpandedContent,\n actionClick,\n}: NsTableRowProps): ReactElement {\n const tableRowTestId = `table-row-${index}`;\n\n return (\n <React.Fragment>\n <StyledTableRow\n hover\n onClick={() => handleClick(index)}\n tabIndex={-1}\n key={index}\n className=\"cursor-pointer\"\n data-testid={tableRowTestId}\n >\n {itemKeyList.map((id, i) => {\n return i === itemKeyList.length - 1 && showActions ? (\n <StyledTableLastCell align=\"justify\" key={id}>\n <span>{row[id]}</span>\n <span className=\"action\">{actionClick(row)}</span>\n </StyledTableLastCell>\n ) : (\n <StyledOriginalTableCell align=\"left\" key={id}>\n {row[id]}\n </StyledOriginalTableCell>\n );\n })}\n </StyledTableRow>\n {showExpandedContent ? (\n <TableRow>\n <StyledExpandCell colSpan={itemKeyList.length} className={!isExpand ? 'remove' : ''}>\n <Collapse in={isExpand} unmountOnExit>\n <Box className=\"m-px\">{expandableContent(row, index)}</Box>\n </Collapse>\n </StyledExpandCell>\n </TableRow>\n ) : null}\n </React.Fragment>\n );\n}\n","// TODO: const ariel = #f8e9f8;\n\nimport { styled, ColorUtils } from '@nuskin/foundation-theme';\n\nimport { \n Table,\n TableContainer,\n TableSortLabel,\n TableRow,\n TableCell\n} from '@mui/material';\nimport Pagination from '@mui/material/Pagination';\nimport LinearProgress from '@mui/material/LinearProgress';\n\nconst { color } = ColorUtils;\n\nexport const StyledTableContainer= styled(TableContainer)`\n background-color: ${color('primary', 'white')};\n`;\n\nexport const StyledTable = styled(Table)`\n size: medium;\n`;\n\nexport const StyledTableSortLabel = styled(TableSortLabel)`\n font-size: 12px;\n text-transform: uppercase;\n font-weight: 600;\n line-height: 16px;\n letter-spacing: 0.05em;\n color: rgba(0, 0, 0, 0.54);\n &:hover {\n color: ${color('primary', 'black')};\n }\n`;\n\nexport const StyledTableLabel = styled.span`\n font-size: 12px;\n text-transform: uppercase;\n font-weight: 700;\n line-height: 16px;\n letter-spacing: 0.05em;\n color: rgba(0, 0, 0, 0.54);\n &:hover {\n cursor: default;\n }\n`;\n\nexport const StyledPageComponent = styled.div`\n background-color: ${color('primary', 'white')};\n`;\n\nexport const StyledEmptyRow = styled(TableRow)<{emptyRows: number}>`\n height: ${({ emptyRows }) => 48 * emptyRows}px;\n`;\n\n// [Todo-Arun] - Move f8e9f8 to custom color palette\nexport const StyledTableRow = styled(TableRow)`\n &:hover {\n background-color: #f8e9f8 !important;\n }\n`;\n\nexport const StyledTableLastCell = styled(TableCell)`\n display: flex;\n height: 49px;\n align-items: center;\n padding: 0 24px;\n margin-bottom: -0.5px;\n\n .action {\n margin-left: auto;\n }\n`;\n\nexport const StyledOriginalTableCell = styled(TableCell)`\n height: 48px;\n padding: 0 24px;\n`;\n\nexport const StyledPagination = styled(Pagination)`\n .MuiPagination-ul {\n display: flex;\n justify-content: flex-end;\n background-color: ${color('primary', 'white')};\n }\n & .MuiPaginationItem-previousNext {\n margin: 0.3rem 10px;\n width: 2rem;\n height: 2rem;\n border-radius: 4px;\n }\n & .MuiPaginationItem-page {\n border-radius: 0px;\n width: auto;\n min-width: 34px;\n padding: 0 5px;\n font-size: 16px;\n line-height: 17px;\n border-color: ${color('primary', 'black')};\n }\n & .MuiPaginationItem-root.Mui-selected {\n background-color: ${color('primary', 'black')};\n color: ${color('primary', 'white')};\n }\n`;\n\nexport const StyledExpandCell= styled(TableCell)`\n padding-bottom: 0;\n padding-top: 0;\n &.remove {\n border: 0;\n }\n`;\n\nexport const StyledProgressCell = styled(TableCell)`\n padding: 0;\n border: 0;\n`;\n\nexport const StyledLinearProgress = styled(LinearProgress)`\n && {\n width: 100%;\n height: 7px;\n border-radius: 4px;\n }\n`;\n","import React, { ReactElement } from 'react';\n\nimport {\n Box,\n TableCell,\n TableHead,\n TableRow,\n} from '@mui/material';\nimport { visuallyHidden } from '@mui/utils';\n\nimport {\n StyledTableLabel,\n StyledTableSortLabel,\n} from './NsTable.styled';\nimport type {\n Item,\n NsTableHeaderProps,\n} from './types';\n\nexport default function NsTableHeader(props: NsTableHeaderProps): ReactElement {\n const { order, orderBy, headCells, onRequestSort } = props;\n const createSortHandler = (property: keyof Item) => (event: React.MouseEvent<unknown>) => {\n onRequestSort(event, property);\n };\n\n return (\n <TableHead>\n <TableRow>\n {headCells.map((headCell) =>\n headCell.sortable ? (\n <TableCell key={headCell.id} sortDirection={orderBy === headCell.id ? order : false}>\n <StyledTableSortLabel\n active={orderBy === headCell.id}\n direction={orderBy === headCell.id ? order : 'asc'}\n onClick={createSortHandler(headCell.id)}\n >\n {headCell.label}\n {orderBy === headCell.id ? (\n <Box component=\"span\" sx={visuallyHidden}>\n {order === 'desc' ? 'sorted descending' : 'sorted ascending'}\n </Box>\n ) : null}\n </StyledTableSortLabel>\n </TableCell>\n ) : (\n <TableCell key={headCell.id} sortDirection={false}>\n <StyledTableLabel>{headCell.label}</StyledTableLabel>\n </TableCell>\n )\n )}\n </TableRow>\n </TableHead>\n );\n}\n","import React, { ReactElement } from 'react';\n\nimport { StyledPagination } from './NsTable.styled';\nimport type { NsTablePaginationProps } from './types';\n\nexport default function NsTablePagination(props: NsTablePaginationProps): ReactElement {\n const { count, rowsPerPage, page, onPageChange } = props;\n\n const totalPage = Math.ceil(count / rowsPerPage);\n const handleChange = (event: React.ChangeEvent<unknown>, value: number) => {\n onPageChange(value);\n };\n\n return (\n <StyledPagination\n count={totalPage}\n page={page}\n variant=\"outlined\"\n onChange={handleChange}\n shape=\"rounded\"\n color=\"primary\"\n />\n );\n}\n","/**\n * NsTextStrip.tsx\n * @description NsTextStrip component for scrolling text CTA\n */\n\nimport React, { ReactElement } from 'react';\n\nimport {\n ColorUtils,\n styled,\n} from '@nuskin/foundation-theme';\n\nimport { NsLink } from '../link';\nimport { NsTypography } from '../typography';\nimport { NsTextStripProps } from './types.d';\n\nconst { getGenomeColor } = ColorUtils;\n\nconst StyledHeader = styled(NsLink)`\n background: ${({ theme }) => getGenomeColor(theme, 'N20')};\n min-height: 60px;\n padding: 4px 12px;\n a {\n text-decoration: underline;\n font-weight: 600;\n }\n .text-strip-title {\n max-width: 90%;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n .text-strip-description {\n max-width: 90%;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n`;\n\nconst NsTextStrip = (props: NsTextStripProps): ReactElement => {\n const { alignment = 'center', description, link, className = '' } = props;\n\n return (\n <StyledHeader\n href={link?.href ?? ''}\n className={`${className} items-${alignment} justify-center min-h-16 flex flex-col gap-1`}\n >\n {link?.title ? (\n <NsTypography weight=\"bold\" variant=\"label-m\" className=\"text-strip-title whitespace-nowrap\" noSpacing>\n {link.title}\n </NsTypography>\n ) : null}\n {description ? (\n <NsTypography className=\"text-strip-description whitespace-nowrap\" variant=\"body-m\" noSpacing>\n {description}\n </NsTypography>\n ) : null}\n </StyledHeader>\n );\n};\n\nexport default NsTextStrip;\n","import type { PropsWithChildren, ReactElement } from 'react';\n\nimport { MaterialDesignContent, SnackbarProvider, SnackbarProviderProps } from 'notistack';\n\nimport { ColorUtils, ScreenSize, styled } from '@nuskin/foundation-theme';\n\nconst { getGenomeColor } = ColorUtils;\n\nconst ToastNotification = styled(MaterialDesignContent)`\n width: 610px;\n height: 46px;\n box-shadow: none;\n padding: 0 20px;\n\n .toast-message-wrapper {\n width: 440px;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n\n @media (max-width: ${ScreenSize.md}px) {\n width: 343px;\n\n .toast-message-wrapper {\n width: 190px;\n }\n }\n\n #notistack-snackbar svg {\n font-size: 24px !important;\n }\n &.notistack-MuiContent-success {\n background-color: ${({ theme }) => getGenomeColor(theme, 'Success-10')};\n border: 1px solid ${({ theme }) => getGenomeColor(theme, 'Success-30')};\n color: ${({ theme }) => getGenomeColor(theme, 'Success-80')};\n\n svg g {\n stroke: ${({ theme }) => getGenomeColor(theme, 'Success-80')};\n }\n }\n &.notistack-MuiContent-error {\n background-color: ${({ theme }) => getGenomeColor(theme, 'Error-10')};\n border: 1px solid ${({ theme }) => getGenomeColor(theme, 'Error-50')};\n color: ${({ theme }) => getGenomeColor(theme, 'Error-60')};\n\n svg g {\n stroke: ${({ theme }) => getGenomeColor(theme, 'Error-60')};\n }\n }\n &.notistack-MuiContent-warning {\n background-color: ${({ theme }) => getGenomeColor(theme, 'Warning-10')};\n border: 1px solid ${({ theme }) => getGenomeColor(theme, 'Warning-40')};\n color: ${({ theme }) => getGenomeColor(theme, 'Warning-80')};\n\n svg g {\n stroke: ${({ theme }) => getGenomeColor(theme, 'Warning-80')};\n }\n }\n &.notistack-MuiContent-info {\n background-color: ${({ theme }) => getGenomeColor(theme, 'Info-10')};\n border: 1px solid ${({ theme }) => getGenomeColor(theme, 'Info-40')};\n color: ${({ theme }) => getGenomeColor(theme, 'Info-60')};\n\n svg g {\n stroke: ${({ theme }) => getGenomeColor(theme, 'Info-60')};\n }\n }\n`;\n\nconst NsToastProvider = (props: PropsWithChildren<SnackbarProviderProps>): ReactElement => {\n const { children, autoHideDuration = 5000 } = props;\n return (\n <SnackbarProvider\n autoHideDuration={autoHideDuration}\n Components={{\n success: ToastNotification,\n error: ToastNotification,\n info: ToastNotification,\n warning: ToastNotification,\n }}\n >\n {children}\n </SnackbarProvider>\n );\n};\n\nexport default NsToastProvider;\n","import { JSX } from 'react';\nimport { closeSnackbar, enqueueSnackbar, VariantType } from 'notistack';\nimport Fade from './Fade';\nimport NsIcon from '../icon/NsIcon';\nimport NsButton from '../button/NsButton';\n\ntype ToastActionLink = {\n label: string;\n onClick?: () => void;\n};\n\nexport type ToastOptions = {\n className?: string;\n autoHideDuration?: number | null;\n persist?: boolean;\n showCloseIcon?: boolean;\n actions?: ToastActionLink[];\n}\n\n\nconst useToast = () => {\n const closeToast = (toastId?: string) => {\n closeSnackbar(toastId);\n };\n const generateActionButtons = (showCloseIcon: boolean = false, variant: VariantType = 'success', actions?: ToastActionLink[]) => {\n let actionButtons: JSX.Element[] = [];\n if (actions?.length) {\n actionButtons = actions.map((action) => (\n <NsButton data-testid=\"action-button\" variant=\"text\" color={variant as any} key={action?.label} onClick={() => action.onClick?.()}>\n {action.label}\n </NsButton>\n ));\n }\n if (showCloseIcon) {\n actionButtons.push (\n <NsButton variant=\"text\" onClick={() => closeToast()}>\n <NsIcon name=\"close\" size=\"small\" cursor=\"pointer\" />\n </NsButton>\n );\n }\n return actionButtons?.length ? actionButtons : null;\n };\n const showToast = (variant: VariantType = 'default', message?: string, options?: ToastOptions) => {\n\n try {\n return enqueueSnackbar(<div className='toast-message-wrapper'>{message}</div>, {\n variant,\n ...options,\n anchorOrigin: { horizontal: 'center', vertical: 'bottom' },\n preventDuplicate: true,\n TransitionComponent: Fade,\n action: generateActionButtons(options?.showCloseIcon, variant, options?.actions),\n });\n } catch (err) {\n console.error('CFT::UI:COMPONENTS showToast should be used inside NsToastProvider');\n } \n };\n \n return {\n showToast,\n closeToast\n };\n};\n\nexport default useToast;","/**\n * Credit to MUI team @ https://mui.com\n */\nimport * as React from 'react';\n\nimport { Transition, TransitionProps, TransitionStatus } from 'notistack';\n\nimport { createTransition, getTransitionProps, reflow, useForkRef } from './shared';\n\nconst styles: Partial<Record<TransitionStatus, React.CSSProperties>> = {\n entering: {\n opacity: 1,\n },\n entered: {\n opacity: 1,\n },\n};\n\nconst Fade = React.forwardRef<HTMLDivElement, TransitionProps>((props, ref): React.ReactElement => {\n const {\n children,\n in: inProp,\n timeout = 0,\n style,\n onEnter,\n onEntered,\n onExit,\n onExited,\n direction, // Take this out since this is a Slide-only prop\n ...other\n } = props;\n\n const nodeRef = React.useRef<HTMLDivElement>(null);\n const handleRefIntermediary = useForkRef((children as any).ref, ref);\n const handleRef = useForkRef(nodeRef, handleRefIntermediary);\n\n const handleEnter: TransitionProps['onEnter'] = (node, isAppearing) => {\n reflow(node);\n\n const transitionProps = getTransitionProps({\n style,\n timeout,\n mode: 'enter',\n });\n node.style.webkitTransition = createTransition('opacity', transitionProps);\n node.style.transition = createTransition('opacity', transitionProps);\n\n if (onEnter) {\n onEnter(node, isAppearing);\n }\n };\n\n const handleExit: TransitionProps['onExit'] = (node) => {\n const transitionProps = getTransitionProps({\n style,\n timeout,\n mode: 'exit',\n });\n node.style.webkitTransition = createTransition('opacity', transitionProps);\n node.style.transition = createTransition('opacity', transitionProps);\n\n if (onExit) {\n onExit(node);\n }\n };\n\n return (\n <Transition\n appear\n in={inProp}\n nodeRef={nodeRef}\n onEnter={handleEnter}\n onEntered={onEntered}\n onExit={handleExit}\n onExited={onExited}\n timeout={timeout}\n {...other}\n >\n {(status, childProps) =>\n React.cloneElement(children as any, {\n style: {\n opacity: 0,\n visibility: status === 'exited' && !inProp ? 'hidden' : undefined,\n ...styles[status],\n ...style,\n ...(children as any).props.style,\n },\n ref: handleRef,\n ...childProps,\n })\n }\n </Transition>\n );\n});\n\nFade.displayName = 'Fade';\n\nexport default Fade;\n","import { TransitionDuration } from 'notistack';\nimport React from 'react';\n\n/**\n * passes {value} to {ref}\n *\n * Useful if you want to expose the ref of an inner component to the public API\n * while still using it inside the component.\n * @param ref A ref callback or ref object. If anything falsy, this is a no-op.\n */\nfunction setRef<T>(\n ref:\n | React.MutableRefObject<T | null>\n | ((instance: T | null) => void)\n | null\n | undefined,\n value: T | null\n): void {\n if (typeof ref === 'function') {\n ref(value);\n } else if (ref) {\n ref.current = value;\n }\n}\n\nexport function useForkRef<Instance>(\n refA: React.Ref<Instance> | null | undefined,\n refB: React.Ref<Instance> | null | undefined\n): React.Ref<Instance> | null {\n /**\n * This will create a new function if the ref props change and are defined.\n * This means react will call the old forkRef with `null` and the new forkRef\n * with the ref. Cleanup naturally emerges from this behavior.\n */\n return React.useMemo(() => {\n if (refA == null && refB == null) {\n return null;\n }\n return (refValue) => {\n setRef(refA, refValue);\n setRef(refB, refValue);\n };\n }, [refA, refB]);\n}\n\ninterface ComponentProps {\n style?: React.CSSProperties | undefined;\n /**\n * number: e.g. 400\n * TransitionDuration: e.g. { enter: 200, exit: 400 }\n */\n timeout: number | TransitionDuration;\n mode: 'enter' | 'exit';\n}\n\ninterface TransitionPropsReturnType {\n duration: number;\n easing: string | undefined;\n delay: string | undefined;\n}\n\nexport function getTransitionProps(\n props: ComponentProps\n): TransitionPropsReturnType {\n const { timeout, style = {}, mode } = props;\n return {\n duration: typeof timeout === 'object' ? timeout[mode] || 0 : timeout,\n easing: style.transitionTimingFunction,\n delay: style.transitionDelay,\n };\n}\n\n/**\n * CSS hack to force a repaint\n */\nexport const reflow = (node: Element): void => {\n // We have to do something with node.scrollTop.\n // Otherwise it's removed from the compiled code by optimisers\n // eslint-disable-next-line no-self-assign\n node.scrollTop = node.scrollTop;\n};\n\ninterface CreateTransitionOptions {\n duration: number;\n easing?: string;\n delay?: string | number;\n}\n\nconst defaultEasing = {\n // This is the most common easing curve.\n easeInOut: 'cubic-bezier(0.4, 0, 0.2, 1)',\n // Objects enter the screen at full velocity from off-screen and\n // slowly decelerate to a resting point.\n easeOut: 'cubic-bezier(0.0, 0, 0.2, 1)',\n // Objects leave the screen at full velocity. They do not decelerate when off-screen.\n easeIn: 'cubic-bezier(0.4, 0, 1, 1)',\n // The sharp curve is used by objects that may return to the screen at any time.\n sharp: 'cubic-bezier(0.4, 0, 0.6, 1)',\n};\n\nconst formatMs = (milliseconds: number) => `${Math.round(milliseconds)}ms`;\n\nexport function createTransition(\n props: string | string[] = ['all'],\n options?: CreateTransitionOptions\n): string {\n const {\n duration = 300,\n easing = defaultEasing.easeInOut,\n delay = 0,\n } = options || {};\n\n const properties = Array.isArray(props) ? props : [props];\n\n return properties\n .map((animatedProp) => {\n const formattedDuration =\n typeof duration === 'string' ? duration : formatMs(duration);\n const formattedDelay =\n typeof delay === 'string' ? delay : formatMs(delay);\n return `${animatedProp} ${formattedDuration} ${easing} ${formattedDelay}`;\n })\n .join(',');\n}\n","/**\n * @author [Vijayaprathap Kumar] (vpkumar@nuskin.com)\n * NsVideo.tsx\n * @description NsVideo component with a Iframe video url props\n */\n\nimport { PropsWithChildren, ReactElement } from 'react';\n\nimport { NsVideoProps } from './types.d';\n\nconst NsVideo = (props: PropsWithChildren<NsVideoProps>): ReactElement => {\n const { src, title, width, height, allowFullScreen } = props;\n return (\n <iframe\n title={title}\n src={src}\n width={width}\n height={height}\n allowFullScreen={allowFullScreen}\n style={{ border: '0' }}\n />\n );\n};\n\nexport default NsVideo;\n"]}
|