{"version":3,"sources":["../node_modules/@material-ui/icons/esm/ArrowLeft.js","../node_modules/@material-ui/icons/esm/ArrowRight.js","../node_modules/@material-ui/icons/esm/ArrowDropUp.js","../node_modules/@material-ui/icons/esm/Menu.js","../node_modules/@material-ui/icons/esm/BlurCircular.js","../node_modules/@material-ui/icons/esm/BlurOn.js","../node_modules/@material-ui/icons/esm/ChevronLeft.js","../node_modules/@material-ui/core/esm/utils/capitalize.js","../node_modules/@material-ui/core/esm/utils/useForkRef.js","../node_modules/@material-ui/core/esm/styles/useTheme.js","../node_modules/@material-ui/core/esm/utils/setRef.js","../node_modules/@material-ui/core/esm/utils/ownerDocument.js","../node_modules/@material-ui/core/esm/utils/createChainedFunction.js","../node_modules/lodash/_root.js","../node_modules/@material-ui/core/esm/utils/useControlled.js","../node_modules/@material-ui/core/esm/utils/unstable_useId.js","../node_modules/@material-ui/core/esm/utils/isMuiElement.js","../node_modules/@material-ui/core/esm/utils/createSvgIcon.js","../node_modules/@material-ui/core/esm/transitions/utils.js","../node_modules/lodash/_nativeCreate.js","../node_modules/lodash/_assocIndexOf.js","../node_modules/lodash/_getMapData.js","../node_modules/@material-ui/core/esm/utils/useIsFocusVisible.js","../node_modules/@material-ui/core/esm/utils/debounce.js","../node_modules/@material-ui/core/esm/utils/ownerWindow.js","../node_modules/lodash/_getNative.js","common/useHelper.js","../node_modules/react-transition-group/esm/utils/reflow.js","../node_modules/lodash/isObject.js","../node_modules/@material-ui/core/esm/List/ListContext.js","../node_modules/lodash/_Symbol.js","views/InfoPage/InfoPageView.js","views/InfoPage/InfoPageRoutes.js","../node_modules/react-transition-group/esm/TransitionGroupContext.js","../node_modules/lodash/_setToArray.js","../node_modules/lodash/_baseGetTag.js","../node_modules/lodash/_baseUniq.js","../node_modules/lodash/_ListCache.js","../node_modules/lodash/eq.js","../node_modules/lodash/_Map.js","../node_modules/lodash/_MapCache.js","../node_modules/lodash/isFunction.js","../node_modules/lodash/_freeGlobal.js","../node_modules/lodash/_toSource.js","../node_modules/lodash/_Set.js","../node_modules/lodash/_SetCache.js","../node_modules/lodash/_cacheHas.js","../node_modules/lodash/uniq.js","../node_modules/lodash/_mapCacheClear.js","../node_modules/lodash/_Hash.js","../node_modules/lodash/_hashClear.js","../node_modules/lodash/_baseIsNative.js","../node_modules/lodash/_getRawTag.js","../node_modules/lodash/_objectToString.js","../node_modules/lodash/_isMasked.js","../node_modules/lodash/_coreJsData.js","../node_modules/lodash/_getValue.js","../node_modules/lodash/_hashDelete.js","../node_modules/lodash/_hashGet.js","../node_modules/lodash/_hashHas.js","../node_modules/lodash/_hashSet.js","../node_modules/lodash/_listCacheClear.js","../node_modules/lodash/_listCacheDelete.js","../node_modules/lodash/_listCacheGet.js","../node_modules/lodash/_listCacheHas.js","../node_modules/lodash/_listCacheSet.js","../node_modules/lodash/_mapCacheDelete.js","../node_modules/lodash/_isKeyable.js","../node_modules/lodash/_mapCacheGet.js","../node_modules/lodash/_mapCacheHas.js","../node_modules/lodash/_mapCacheSet.js","../node_modules/lodash/_setCacheAdd.js","../node_modules/lodash/_setCacheHas.js","../node_modules/lodash/_arrayIncludes.js","../node_modules/lodash/_baseIndexOf.js","../node_modules/lodash/_baseFindIndex.js","../node_modules/lodash/_baseIsNaN.js","../node_modules/lodash/_strictIndexOf.js","../node_modules/lodash/_arrayIncludesWith.js","../node_modules/lodash/_createSet.js","../node_modules/lodash/noop.js","../node_modules/@material-ui/core/esm/Grow/Grow.js","../node_modules/@material-ui/core/esm/Portal/Portal.js","../node_modules/react-transition-group/esm/config.js","../node_modules/react-transition-group/esm/Transition.js","../node_modules/@material-ui/core/esm/Popover/Popover.js","../node_modules/@material-ui/core/esm/Tooltip/Tooltip.js","views/_Common/commonMenu.config.js","../node_modules/@material-ui/core/esm/SvgIcon/SvgIcon.js","../node_modules/@material-ui/core/esm/Typography/Typography.js","../node_modules/@material-ui/core/esm/List/List.js","common/lib/palette.js","../node_modules/@material-ui/core/esm/Grid/Grid.js","../node_modules/@material-ui/core/esm/Paper/Paper.js","../node_modules/@material-ui/core/esm/Container/Container.js","../node_modules/@material-ui/core/esm/IconButton/IconButton.js","../node_modules/@material-ui/core/esm/Divider/Divider.js","../node_modules/@material-ui/core/esm/styles/makeStyles.js","../node_modules/@material-ui/core/esm/ListItem/ListItem.js","../node_modules/@material-ui/core/esm/useMediaQuery/useMediaQuery.js","../node_modules/@material-ui/core/esm/CssBaseline/CssBaseline.js","views/_Common/DropdownMenu/components/Dropdown.js","views/_Common/DropdownMenu/components/MenuItems.js","views/_Common/DropdownMenu/components/DropdownMenu.js","views/_Common/DropdownMenu/index.js","views/_Common/CommonHeader.js","views/_Common/CommonFooter.js","../node_modules/@material-ui/core/esm/AppBar/AppBar.js","../node_modules/sorts-object/dist/index.module.js","../node_modules/@material-ui/core/esm/Toolbar/Toolbar.js","../node_modules/@material-ui/core/esm/withWidth/withWidth.js","../node_modules/@material-ui/core/esm/Hidden/HiddenJs.js","../node_modules/@material-ui/core/esm/Hidden/HiddenCss.js","../node_modules/@material-ui/core/esm/Hidden/Hidden.js","../node_modules/react-cookie-consent/build/index.js","../node_modules/@material-ui/core/esm/Link/Link.js","../node_modules/@material-ui/icons/esm/ChevronRight.js","../node_modules/@material-ui/icons/esm/ArrowDropDown.js"],"names":["createSvgIcon","React","d","capitalize","string","Error","_formatMuiErrorMessage","charAt","toUpperCase","slice","useForkRef","refA","refB","refValue","setRef","useTheme","useThemeWithoutDefault","defaultTheme","ref","value","current","ownerDocument","node","document","createChainedFunction","_len","arguments","length","funcs","Array","_key","reduce","acc","func","_len2","args","_key2","apply","this","freeGlobal","require","freeSelf","self","Object","root","Function","module","exports","useControlled","_ref","controlled","defaultProp","default","isControlled","name","state","undefined","_React$useState","valueState","setValue","newValue","useId","idOverride","defaultId","setDefaultId","id","concat","Math","round","random","isMuiElement","element","muiNames","indexOf","type","muiName","path","displayName","Component","props","createElement","SvgIcon","_extends","memo","forwardRef","reflow","scrollTop","getTransitionProps","options","timeout","_props$style","style","duration","transitionDuration","mode","delay","transitionDelay","nativeCreate","getNative","eq","array","key","isKeyable","map","data","__data__","hadKeyboardEvent","hadFocusVisibleRecently","hadFocusVisibleRecentlyTimeout","inputTypesWhitelist","text","search","url","tel","email","password","number","date","month","week","time","datetime","handleKeyDown","event","metaKey","altKey","ctrlKey","handlePointerDown","handleVisibilityChange","visibilityState","isFocusVisible","target","matches","error","tagName","readOnly","isContentEditable","focusTriggersKeyboardModality","handleBlurVisible","window","clearTimeout","setTimeout","useIsFocusVisible","onBlurVisible","instance","doc","ReactDOM","addEventListener","debounce","wait","debounced","that","clear","ownerWindow","defaultView","baseIsNative","getValue","object","languageSuffixes","pl","en","es","flagsDefinitions","ID","KOD","NAZWA","NAZWA_ANG","METHOD","Atou","b64","Str","decodeURIComponent","escape","atob","e","console","log","location","TranslationFromJson","json","_languageSuffixes$cur","currentLanguage","i18n","language","_localStorage","localStorage","getItem","_suffix","find","suffix","hasOwnProperty","IntlNumberFormat","precision","id_flagi","forceDOT","formattedNumber","Intl","NumberFormat","minimumFractionDigits","maximumFractionDigits","useGrouping","format","GetAllIDs","children","m","useHelper","translationFromJson","intlNumberFormat","atou","utoa","btoa","unescape","encodeURIComponent","Utoa","clearLocalStorage","async","except","itemsToKeep","uniq","forEach","get","then","val","setItem","set","ClearLocalStorage","Promise","resolve","miliseconds","Delay","splitStringToLength","_ref3","newLine","_result2","arr","split","result","subStr","simpleRegexp","RegExp","parseInt","_result","match","asArray","asText","join","i","word","push","SplitStringToLength","splitStringToSize","_ref4","width","_ref2","Date","now","div","setAttribute","display","position","top","left","innerText","body","appendChild","wordBreak","words","beforeBreak","height","offsetHeight","longest","max","w","_removeEl","getElementById","removeChild","SplitStringToSize","isElementVisible","el","rect","getBoundingClientRect","vWidth","innerWidth","documentElement","clientWidth","vHeight","innerHeight","clientHeight","efp","x","y","elementFromPoint","right","bottom","contains","IsElementVisible","paletteGenerator","_ref5","scheme","n","PaletteGenerator","getAllIDs","_ref6","_add","_add2","_add3","_add4","_add5","_add6","_add7","_add8","add","palette","rgbColor","primary","dark","title","varargs","num","colors","scheme_name","listSchemes","prototype","call","generate","color","forceReflow","ListContext","Symbol","InfoPageView","trackEvent","useMatomo","useEffect","currentHREF","origin","pathname","category","action","documentTitle","href","_jsxs","Container","maxWidth","className","_jsx","CommonHeader","menuItems","commonMenuItems","CommonFooter","AboutViewRoutes","component","infopage","Route","render","createContext","index","size","getRawTag","objectToString","symToStringTag","toStringTag","SetCache","arrayIncludes","arrayIncludesWith","cacheHas","createSet","setToArray","iteratee","comparator","includes","isCommon","seen","outer","computed","seenIndex","listCacheClear","listCacheDelete","listCacheGet","listCacheHas","listCacheSet","ListCache","entries","entry","has","other","Map","mapCacheClear","mapCacheDelete","mapCacheGet","mapCacheHas","mapCacheSet","MapCache","baseGetTag","isObject","tag","global","funcToString","toString","Set","setCacheAdd","setCacheHas","values","cache","baseUniq","Hash","hashClear","hashDelete","hashGet","hashHas","hashSet","isFunction","isMasked","toSource","reIsHostCtor","funcProto","objectProto","reIsNative","replace","test","nativeObjectToString","isOwn","unmasked","coreJsData","maskSrcKey","uid","exec","keys","IE_PROTO","assocIndexOf","splice","pop","getMapData","baseIndexOf","baseFindIndex","baseIsNaN","strictIndexOf","fromIndex","predicate","fromRight","noop","getScale","pow","styles","entering","opacity","transform","entered","Grow","_props$disableStrictM","disableStrictModeCompat","inProp","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","_props$timeout","_props$TransitionComp","TransitionComponent","Transition","_objectWithoutProperties","timer","autoTimeout","theme","enableStrictModeCompat","unstable_strictMode","nodeRef","foreignRef","handleRef","normalizedTransitionCallback","callback","nodeOrAppearing","maybeAppearing","_slicedToArray","isAppearing","handleEntering","handleEnter","_getTransitionProps","transitions","getAutoHeightDuration","transition","create","handleEntered","handleExiting","handleExit","_getTransitionProps2","handleExited","appear","addEndListener","nodeOrNext","maybeNext","next","childProps","visibility","muiSupportAuto","useEnhancedEffect","Portal","container","_props$disablePortal","disablePortal","onRendered","mountNode","setMountNode","getContainer","UNMOUNTED","EXITED","ENTERING","ENTERED","EXITING","_React$Component","context","_this","initialStatus","isMounting","enter","appearStatus","unmountOnExit","mountOnEnter","status","nextCallback","_inheritsLoose","getDerivedStateFromProps","prevState","_proto","componentDidMount","updateStatus","componentDidUpdate","prevProps","nextStatus","componentWillUnmount","cancelNextCallback","getTimeouts","exit","mounting","findDOMNode","performEnter","performExit","setState","_this2","appearing","maybeNode","timeouts","enterTimeout","config","safeSetState","onTransitionEnd","_this3","cancel","nextState","setNextCallback","_this4","active","handler","doesNotHaveTimeoutOrListener","maybeNextCallback","_this$props","_objectWithoutPropertiesLoose","TransitionGroupContext","Provider","cloneElement","Children","only","contextType","propTypes","defaultProps","getOffsetTop","vertical","offset","getOffsetLeft","horizontal","getTransformOriginValue","transformOrigin","getAnchorEl","anchorEl","Popover","_props$anchorOrigin","anchorOrigin","anchorPosition","_props$anchorReferenc","anchorReference","classes","containerProp","_props$elevation","elevation","getContentAnchorEl","_props$marginThreshol","marginThreshold","open","_props$PaperProps","PaperProps","_props$transformOrigi","_props$transitionDura","transitionDurationProp","_props$TransitionProp","TransitionProps","paperRef","getAnchorOffset","contentAnchorOffset","resolvedAnchorEl","anchorRect","nodeType","anchorVertical","getContentAnchorOffset","contentAnchorEl","parent","child","parentElement","getScrollParent","offsetTop","process","getTransformOrigin","elemRect","getPositioningStyle","offsetWidth","elemTransformOrigin","anchorOffset","containerWindow","heightThreshold","widthThreshold","diff","_diff","_diff2","_diff3","setPositioningStyles","positioning","handlePaperRef","updatePosition","handleResize","removeEventListener","Modal","BackdropProps","invisible","clsx","Paper","paper","withStyles","overflowY","overflowX","minWidth","minHeight","maxHeight","outline","hystersisOpen","hystersisTimer","Tooltip","_props$arrow","arrow","_props$disableFocusLi","disableFocusListener","_props$disableHoverLi","disableHoverListener","_props$disableTouchLi","disableTouchListener","_props$enterDelay","enterDelay","_props$enterNextDelay","enterNextDelay","_props$enterTouchDela","enterTouchDelay","idProp","_props$interactive","interactive","_props$leaveDelay","leaveDelay","_props$leaveTouchDela","leaveTouchDelay","onClose","onOpen","openProp","_props$placement","placement","_props$PopperComponen","PopperComponent","Popper","PopperProps","childNode","setChildNode","_React$useState2","arrowRef","setArrowRef","ignoreNonTouchEvents","closeTimer","enterTimer","leaveTimer","touchTimer","_useControlled","_useControlled2","openState","setOpenState","handleOpen","forward","childrenProps","onMouseOver","removeAttribute","persist","_useIsFocusVisible","focusVisibleRef","_React$useState3","childIsFocusVisible","setChildIsFocusVisible","handleFocus","currentTarget","onFocus","handleClose","shortest","handleLeave","onBlur","onMouseLeave","detectTouchStart","onTouchStart","handleUseRef","handleFocusRef","handleOwnRef","shouldShowNativeTitle","interactiveWrapperListeners","onTouchEnd","mergedPopperProps","deepmerge","popperOptions","modifiers","enabled","Boolean","popper","popperInteractive","popperArrow","placementInner","TransitionPropsInner","shorter","tooltip","touch","tooltipArrow","zIndex","pointerEvents","marginTop","marginLeft","marginRight","marginBottom","backgroundColor","fade","grey","borderRadius","shape","common","white","fontFamily","typography","padding","fontSize","pxToRem","lineHeight","wordWrap","fontWeight","fontWeightMedium","margin","overflow","boxSizing","content","fontWeightRegular","tooltipPlacementLeft","_defineProperty","breakpoints","up","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","flip","desc","tip","link","hideInMenu","section","external","ariaLabel","_props$color","_props$component","_props$fontSize","htmlColor","titleAccess","_props$viewBox","viewBox","focusable","role","userSelect","fill","flexShrink","colorPrimary","main","colorSecondary","secondary","colorAction","colorError","colorDisabled","disabled","fontSizeInherit","fontSizeSmall","fontSizeLarge","defaultVariantMapping","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","Typography","_props$align","align","_props$display","_props$gutterBottom","gutterBottom","_props$noWrap","noWrap","_props$paragraph","paragraph","_props$variant","variant","_props$variantMapping","variantMapping","caption","button","overline","srOnly","alignLeft","textAlign","alignCenter","alignRight","alignJustify","textOverflow","whiteSpace","colorInherit","colorTextPrimary","colorTextSecondary","displayInline","displayBlock","List","_props$dense","dense","_props$disablePadding","disablePadding","subheader","listStyle","paddingTop","paddingBottom","proto","opt_begin","opt_end","INF","opt_index","Scheme","opt_groups","palettes","palettes_max","palettes_min","makeGenerator","color_func","bind","_number","abs","shrinking_takes_head","reverse","color_func_cyclic","groups","cbf_max","addPalette","opt_is_cbf","len","min","addPalettes","opt_max","opt_cbf_max","shrinkByTakingHead","opt_idx","setColorFunction","opt_cyclic","fromPalettes","withColorFunction","registered_schemes","register","g","opt_number","ret","cbf","substring","schemes","sort","a","b","opt_start","step","clamp","v","r","Number","linearRgbColor","hsvColor","h","opt_s","opt_v","s","floor","rgb","poly","erf","tolSequentialColor","tolDivergingColor","tolRainbowColor","YlGn","YlGnBu","GnBu","BuGn","PuBuGn","PuBu","BuPu","RdPu","PuRd","OrRd","YlOrRd","YlOrBr","Purples","Blues","Greens","Oranges","Reds","Greys","PuOr","BrBG","PRGn","PiYG","RdBu","RdGy","RdYlBu","Spectral","RdYlGn","Accent","Dark2","Paired","Pastel1","Pastel2","Set1","Set2","Set3","SPACINGS","GRID_SIZES","getOffset","parse","parseFloat","String","Grid","_props$alignContent","alignContent","_props$alignItems","alignItems","classNameProp","_props$container","_props$direction","direction","_props$item","item","_props$justify","justify","_props$lg","lg","_props$md","md","_props$sm","sm","_props$spacing","spacing","_props$wrap","wrap","_props$xl","xl","_props$xs","xs","_props$zeroMinWidth","zeroMinWidth","StyledGrid","flexWrap","flexDirection","justifyContent","breakpoint","themeSpacing","generateGutter","accumulator","globalStyles","flexBasis","flexGrow","generateGrid","_props$square","square","outlined","rounded","elevations","shadows","shadow","boxShadow","background","border","divider","_props$disableGutters","disableGutters","_props$fixed","fixed","_props$maxWidth","paddingLeft","paddingRight","maxWidthXs","maxWidthSm","maxWidthMd","maxWidthLg","maxWidthXl","IconButton","_props$edge","edge","_props$disabled","_props$disableFocusRi","disableFocusRipple","_props$size","ButtonBase","edgeStart","edgeEnd","centerRipple","focusRipple","label","flex","hoverOpacity","sizeSmall","Divider","_props$absolute","absolute","_props$flexItem","flexItem","_props$light","light","_props$orientation","orientation","_props$role","inset","middle","alignSelf","makeStyles","stylesOrCreator","makeStylesWithoutDefault","ListItem","_props$autoFocus","autoFocus","_props$button","childrenProp","componentProp","_props$ContainerCompo","ContainerComponent","_props$ContainerProps","ContainerProps","ContainerClassName","_props$divider","focusVisibleClassName","_props$selected","selected","childContext","listItemRef","focus","toArray","hasSecondaryAction","componentProps","gutters","alignItemsFlexStart","secondaryAction","focusVisible","textDecoration","borderBottom","backgroundClip","hover","useMediaQuery","queryInput","getThemeProps","query","supportMatchMedia","matchMedia","_props$options","_props$options$defaul","defaultMatches","_props$options$matchM","_props$options$noSsr","noSsr","_props$options$ssrMat","ssrMatchMedia","setMatch","queryList","updateMatch","addListener","removeListener","html","WebkitFontSmoothing","MozOsxFontSmoothing","fontWeightBold","_props$children","useStyles","dropdown","dropdownShow","dropdownSubmenu","Dropdown","submenus","depthLevel","t","useTranslation","maxNameWidth","submenu","_t","MenuItems","items","letterSpacing","cursor","activeSub","borderLeft","menuChildren","verticalAlign","borderTop","borderRight","_getAllIDs","_items$children","_items$children$filte","onClick","_hasChildActive","filter","p","some","hash","_active","setDropdown","useState","useRef","onMouseEnter","onButtonClick","keyCode","_Fragment","onKeyDown","prev","Link","tabIndex","tabindex","ArrowLeft","ArrowRight","ArrowDropUp","ArrowDropDown","UserMenu","lazy","LoginDialog","LangSwitcher","SocialShare","menus","shareIcon","shareBtnDark","shareBtnLight","DropdownMenu","dispatch","useDispatch","setAnchorEl","shareData","setShareData","authToken","useSelector","selectAuthToken","sharePageData","getSharePageData","_currentMenuItem","_window$location$path","_data","subtitles","menu","handleOnLogin","setShowLoginDialog","handleShareClose","isInTopMenu","UserAccountDialog","drawerWidth","appBar","easing","sharp","leavingScreen","appBarShift","easeOut","enteringScreen","menuButton","hide","drawer","drawerClose","too","tooCurrent","noLink","menuName","menuNameDT","menuNameCurrent","menuNameNolink","menuIcon","tooSub","drawerPaper","drawerPaperClose","drawerHeader","mixins","toolbar","logoHolder","logo","between","contentShift","topMenuWrapper","topMenuHolder","menuMobIcon","menuPopoverPaper","mobileMenuItemList","mobileMenuItemSubList","popover","mobilePopper","black","subpaper","cursorPointer","noDecoration","toolbarRegular","buttonWrap","useLocation","shareAnchorEl","setShareAnchorEl","showAccountDialog","selectShowAccountDialog","handleDrawerClose","CssBaseline","AppBar","Toolbar","regular","Hidden","lgUp","Menu","src","alt","ChevronLeft","ChevronRight","isMobile","onCloseDrawer","Fragment","BlurCircular","BlurOn","kid","ShareLinkMessage","footerWrap","hideLogos","isAdvanced","leftDrawerOpened","leftDrawerWidth","footerWrapWithLeftDrawer","logoUnia","footerText","down","bottomLogoImgSingleWrap","bottomLogoImgSingle","media","footerpath","footerpathDark","footerCopyright","fontWeightLight","outlineColor","outlineWidth","footerCopyrightDark","CookieConsentOverlay","version","cookieConsentBtn","outlineOffset","footerItems","lang","openTooltip","setOpenTooltip","selectLeftDrawerOpened","selectLeftDrawerWidth","defaultFooterItems","preCopyright","copyright","fromYear","toYear","getFullYear","postCopyright","handleKeyboard","preventDefault","stopPropagation","_cookieConsentBtn","handleEsc","keepMounted","footerpath0","packageJson","CookieConsent","buttonText","cookieName","buttonStyle","textTransform","buttonClasses","expires","overlay","overlayClasses","buttonId","onAccept","_document","ariaAcceptLabel","_props$position","backgroundColorDefault","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","getContrastText","contrastText","colorTransparent","o","asc","u","c","order","sortBy","comparer","isArray","f","l","inPlaceSorting","by","head","parentNode","isWidthUp","breakpointKeys","isWidthDown","withWidth","_options$withTheme","withTheme","withThemeOption","_options$noSSR","noSSR","initialWidthOption","initialWidth","WithWidth","contextTheme","_getThemeProps","mountedState","setMountedState","widthComputed","output","more","hoistNonReactStatics","HiddenJs","visible","_i","_breakpoint","breakpointUp","breakpointDown","PropTypes","implementation","oneOf","lgDown","bool","mdDown","mdUp","oneOfType","arrayOf","smDown","smUp","isRequired","xlDown","xlUp","xsDown","xsUp","hidden","_props$implementation","_props$lgDown","_props$lgUp","_props$mdDown","_props$mdUp","_props$smDown","_props$smUp","_props$xlDown","_props$xlUp","_props$xsDown","_props$xsUp","HiddenCss","defaults","toUTCString","JSON","stringify","write","cookie","read","getJSON","remove","withConverter","resetWarningCache","symbol","any","elementType","instanceOf","objectOf","exact","checkPropTypes","__esModule","defineProperty","enumerable","Cookies","OPTIONS","SAME_SITE_OPTIONS","VISIBLE_OPTIONS","S","B","getCookieConsentValue","C","resetCookieConsentValue","k","iterator","constructor","assign","getOwnPropertySymbols","getOwnPropertyDescriptor","getOwnPropertyDescriptors","defineProperties","setPrototypeOf","__proto__","TypeError","ReferenceError","O","getPrototypeOf","configurable","writable","TOP","BOTTOM","NONE","STRICT","LAX","HIDDEN","SHOW","BY_COOKIE_VALUE","j","condition","wrapper","T","Reflect","construct","sham","Proxy","valueOf","acceptOnScrollPercentage","accept","acceptOnScroll","handleScroll","declineButtonStyle","contentStyle","overlayStyle","debug","getCookieValue","passive","removeScrollListener","cookieValue","hideOnAccept","setCookie","declineCookieValue","hideOnDecline","onDecline","setDeclineCookie","extraCookieOptions","sameSite","cookieSecurity","protocol","secure","disableStyles","declineButtonText","containerClasses","contentClasses","buttonWrapperClasses","declineButtonClasses","declineButtonId","disableButtonStyles","enableDeclineButton","flipButtons","ButtonComponent","E","P","D","ariaDeclineLabel","I","_","N","A","L","R","decline","propertyIsEnumerable","TypographyClasses","_props$underline","underline","setFocusVisible","handlerRef","underlineNone","underlineHover","underlineAlways","WebkitTapHighlightColor","borderStyle"],"mappings":";mMAAA,oBAEeA,gBAA4BC,gBAAoB,OAAQ,CACrEC,EAAG,sBACD,Y,oCCJJ,oBAEeF,gBAA4BC,gBAAoB,OAAQ,CACrEC,EAAG,uBACD,a,oCCJJ,oBAEeF,gBAA4BC,gBAAoB,OAAQ,CACrEC,EAAG,mBACD,c,2DCJJ,oBAEeF,gBAA4BC,gBAAoB,OAAQ,CACrEC,EAAG,kDACD,O,oCCJJ,oBA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GACRpb,GACL,IAsDe6P,gBAxKK,CAElBjlB,KAAM,CAAC,EAGP86C,cAAe,CACbza,eAAgB,QAIlB0a,eAAgB,CACd1a,eAAgB,OAChB,UAAW,CACTA,eAAgB,cAKpB2a,gBAAiB,CACf3a,eAAgB,aAKlBzP,OAAQ,CACNrjB,SAAU,WACV0tC,wBAAyB,cACzB1vB,gBAAiB,cAGjBhG,QAAS,EACTuW,OAAQ,EACRvP,OAAQ,EAERb,aAAc,EACdM,QAAS,EAETgX,OAAQ,UACR5U,WAAY,OACZgV,cAAe,SACf,kBAAmB,OAEnB,qBAAsB,OAEtB,sBAAuB,CACrB8X,YAAa,QAGf,iBAAkB,CAChB31B,QAAS,SAKb6a,aAAc,CAAC,GAkHiB,CAChC1/B,KAAM,WADOukB,CAEZyf,E,mCCrLH,oBAEetnC,gBAA4BC,gBAAoB,OAAQ,CACrEC,EAAG,mDACD,e,mCCJJ,oBAEeF,gBAA4BC,gBAAoB,OAAQ,CACrEC,EAAG,mBACD,gB","file":"static/js/100.f04edfb4.chunk.js","sourcesContent":["import * as React from 'react';\nimport createSvgIcon from './utils/createSvgIcon';\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M14 7l-5 5 5 5V7z\"\n}), 'ArrowLeft');","import * as React from 'react';\nimport createSvgIcon from './utils/createSvgIcon';\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M10 17l5-5-5-5v10z\"\n}), 'ArrowRight');","import * as React from 'react';\nimport createSvgIcon from './utils/createSvgIcon';\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7 14l5-5 5 5z\"\n}), 'ArrowDropUp');","import * as React from 'react';\nimport createSvgIcon from './utils/createSvgIcon';\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z\"\n}), 'Menu');","import * as React from 'react';\nimport createSvgIcon from './utils/createSvgIcon';\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M10 9c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zM7 9.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm3 7c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm-3-3c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm3-6c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zM14 9c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-1.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zm3 6c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm0-4c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm2-3.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm0-3.5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1z\"\n}), 'BlurCircular');","import * as React from 'react';\nimport createSvgIcon from './utils/createSvgIcon';\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M6 13c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-8c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-3 .5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zM6 5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm15 5.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zM14 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0-3.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zm-11 10c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm7 7c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm0-17c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zM10 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0 5.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm8 .5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-8c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm3 8.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zM14 17c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 3.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm-4-12c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0 8.5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm4-4.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0-4c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5z\"\n}), 'BlurOn');","import * as React from 'react';\nimport createSvgIcon from './utils/createSvgIcon';\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z\"\n}), 'ChevronLeft');","import { formatMuiErrorMessage as _formatMuiErrorMessage } from \"@material-ui/utils\";\n// It should to be noted that this function isn't equivalent to `text-transform: capitalize`.\n//\n// A strict capitalization should uppercase the first letter of each word a the sentence.\n// We only handle the first word.\nexport default function capitalize(string) {\n if (typeof string !== 'string') {\n throw new Error(process.env.NODE_ENV !== \"production\" ? \"Material-UI: capitalize(string) expects a string argument.\" : _formatMuiErrorMessage(7));\n }\n\n return string.charAt(0).toUpperCase() + string.slice(1);\n}","import * as React from 'react';\nimport setRef from './setRef';\nexport default function useForkRef(refA, refB) {\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(function () {\n if (refA == null && refB == null) {\n return null;\n }\n\n return function (refValue) {\n setRef(refA, refValue);\n setRef(refB, refValue);\n };\n }, [refA, refB]);\n}","import { useTheme as useThemeWithoutDefault } from '@material-ui/styles';\nimport React from 'react';\nimport defaultTheme from './defaultTheme';\nexport default function useTheme() {\n var theme = useThemeWithoutDefault() || defaultTheme;\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue(theme);\n }\n\n return theme;\n}","// TODO v5: consider to make it private\nexport default function setRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n } else if (ref) {\n ref.current = value;\n }\n}","export default function ownerDocument(node) {\n return node && node.ownerDocument || document;\n}","/**\n * Safe chained function\n *\n * Will only create a new function if needed,\n * otherwise will pass back existing functions or null.\n *\n * @param {function} functions to chain\n * @returns {function|null}\n */\nexport default function createChainedFunction() {\n for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) {\n funcs[_key] = arguments[_key];\n }\n\n return funcs.reduce(function (acc, func) {\n if (func == null) {\n return acc;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof func !== 'function') {\n console.error('Material-UI: Invalid Argument Type, must only provide functions, undefined, or null.');\n }\n }\n\n return function chainedFunction() {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n acc.apply(this, args);\n func.apply(this, args);\n };\n }, function () {});\n}","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","/* eslint-disable react-hooks/rules-of-hooks, react-hooks/exhaustive-deps */\nimport * as React from 'react';\nexport default function useControlled(_ref) {\n var controlled = _ref.controlled,\n defaultProp = _ref.default,\n name = _ref.name,\n _ref$state = _ref.state,\n state = _ref$state === void 0 ? 'value' : _ref$state;\n\n var _React$useRef = React.useRef(controlled !== undefined),\n isControlled = _React$useRef.current;\n\n var _React$useState = React.useState(defaultProp),\n valueState = _React$useState[0],\n setValue = _React$useState[1];\n\n var value = isControlled ? controlled : valueState;\n\n if (process.env.NODE_ENV !== 'production') {\n React.useEffect(function () {\n if (isControlled !== (controlled !== undefined)) {\n console.error([\"Material-UI: A component is changing the \".concat(isControlled ? '' : 'un', \"controlled \").concat(state, \" state of \").concat(name, \" to be \").concat(isControlled ? 'un' : '', \"controlled.\"), 'Elements should not switch from uncontrolled to controlled (or vice versa).', \"Decide between using a controlled or uncontrolled \".concat(name, \" \") + 'element for the lifetime of the component.', \"The nature of the state is determined during the first render, it's considered controlled if the value is not `undefined`.\", 'More info: https://fb.me/react-controlled-components'].join('\\n'));\n }\n }, [controlled]);\n\n var _React$useRef2 = React.useRef(defaultProp),\n defaultValue = _React$useRef2.current;\n\n React.useEffect(function () {\n if (!isControlled && defaultValue !== defaultProp) {\n console.error([\"Material-UI: A component is changing the default \".concat(state, \" state of an uncontrolled \").concat(name, \" after being initialized. \") + \"To suppress this warning opt to use a controlled \".concat(name, \".\")].join('\\n'));\n }\n }, [JSON.stringify(defaultProp)]);\n }\n\n var setValueIfUncontrolled = React.useCallback(function (newValue) {\n if (!isControlled) {\n setValue(newValue);\n }\n }, []);\n return [value, setValueIfUncontrolled];\n}","import * as React from 'react';\n/**\n * Private module reserved for @material-ui/x packages.\n */\n\nexport default function useId(idOverride) {\n var _React$useState = React.useState(idOverride),\n defaultId = _React$useState[0],\n setDefaultId = _React$useState[1];\n\n var id = idOverride || defaultId;\n React.useEffect(function () {\n if (defaultId == null) {\n // Fallback to this default id when possible.\n // Use the random value for client-side rendering only.\n // We can't use it server-side.\n setDefaultId(\"mui-\".concat(Math.round(Math.random() * 1e5)));\n }\n }, [defaultId]);\n return id;\n}","import * as React from 'react';\nexport default function isMuiElement(element, muiNames) {\n return /*#__PURE__*/React.isValidElement(element) && muiNames.indexOf(element.type.muiName) !== -1;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport React from 'react';\nimport SvgIcon from '../SvgIcon';\n/**\n * Private module reserved for @material-ui/x packages.\n */\n\nexport default function createSvgIcon(path, displayName) {\n var Component = function Component(props, ref) {\n return /*#__PURE__*/React.createElement(SvgIcon, _extends({\n ref: ref\n }, props), path);\n };\n\n if (process.env.NODE_ENV !== 'production') {\n // Need to set `displayName` on the inner component for React.memo.\n // React prior to 16.14 ignores `displayName` on the wrapper.\n Component.displayName = \"\".concat(displayName, \"Icon\");\n }\n\n Component.muiName = SvgIcon.muiName;\n return /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(Component));\n}","export var reflow = function reflow(node) {\n return node.scrollTop;\n};\nexport function getTransitionProps(props, options) {\n var timeout = props.timeout,\n _props$style = props.style,\n style = _props$style === void 0 ? {} : _props$style;\n return {\n duration: style.transitionDuration || typeof timeout === 'number' ? timeout : timeout[options.mode] || 0,\n delay: style.transitionDelay\n };\n}","var getNative = require('./_getNative');\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n","var eq = require('./eq');\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\n","var isKeyable = require('./_isKeyable');\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n","// based on https://github.com/WICG/focus-visible/blob/v4.1.5/src/focus-visible.js\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nvar hadKeyboardEvent = true;\nvar hadFocusVisibleRecently = false;\nvar hadFocusVisibleRecentlyTimeout = null;\nvar inputTypesWhitelist = {\n text: true,\n search: true,\n url: true,\n tel: true,\n email: true,\n password: true,\n number: true,\n date: true,\n month: true,\n week: true,\n time: true,\n datetime: true,\n 'datetime-local': true\n};\n/**\n * Computes whether the given element should automatically trigger the\n * `focus-visible` class being added, i.e. whether it should always match\n * `:focus-visible` when focused.\n * @param {Element} node\n * @return {boolean}\n */\n\nfunction focusTriggersKeyboardModality(node) {\n var type = node.type,\n tagName = node.tagName;\n\n if (tagName === 'INPUT' && inputTypesWhitelist[type] && !node.readOnly) {\n return true;\n }\n\n if (tagName === 'TEXTAREA' && !node.readOnly) {\n return true;\n }\n\n if (node.isContentEditable) {\n return true;\n }\n\n return false;\n}\n/**\n * Keep track of our keyboard modality state with `hadKeyboardEvent`.\n * If the most recent user interaction was via the keyboard;\n * and the key press did not include a meta, alt/option, or control key;\n * then the modality is keyboard. Otherwise, the modality is not keyboard.\n * @param {KeyboardEvent} event\n */\n\n\nfunction handleKeyDown(event) {\n if (event.metaKey || event.altKey || event.ctrlKey) {\n return;\n }\n\n hadKeyboardEvent = true;\n}\n/**\n * If at any point a user clicks with a pointing device, ensure that we change\n * the modality away from keyboard.\n * This avoids the situation where a user presses a key on an already focused\n * element, and then clicks on a different element, focusing it with a\n * pointing device, while we still think we're in keyboard modality.\n */\n\n\nfunction handlePointerDown() {\n hadKeyboardEvent = false;\n}\n\nfunction handleVisibilityChange() {\n if (this.visibilityState === 'hidden') {\n // If the tab becomes active again, the browser will handle calling focus\n // on the element (Safari actually calls it twice).\n // If this tab change caused a blur on an element with focus-visible,\n // re-apply the class when the user switches back to the tab.\n if (hadFocusVisibleRecently) {\n hadKeyboardEvent = true;\n }\n }\n}\n\nfunction prepare(doc) {\n doc.addEventListener('keydown', handleKeyDown, true);\n doc.addEventListener('mousedown', handlePointerDown, true);\n doc.addEventListener('pointerdown', handlePointerDown, true);\n doc.addEventListener('touchstart', handlePointerDown, true);\n doc.addEventListener('visibilitychange', handleVisibilityChange, true);\n}\n\nexport function teardown(doc) {\n doc.removeEventListener('keydown', handleKeyDown, true);\n doc.removeEventListener('mousedown', handlePointerDown, true);\n doc.removeEventListener('pointerdown', handlePointerDown, true);\n doc.removeEventListener('touchstart', handlePointerDown, true);\n doc.removeEventListener('visibilitychange', handleVisibilityChange, true);\n}\n\nfunction isFocusVisible(event) {\n var target = event.target;\n\n try {\n return target.matches(':focus-visible');\n } catch (error) {} // browsers not implementing :focus-visible will throw a SyntaxError\n // we use our own heuristic for those browsers\n // rethrow might be better if it's not the expected error but do we really\n // want to crash if focus-visible malfunctioned?\n // no need for validFocusTarget check. the user does that by attaching it to\n // focusable events only\n\n\n return hadKeyboardEvent || focusTriggersKeyboardModality(target);\n}\n/**\n * Should be called if a blur event is fired on a focus-visible element\n */\n\n\nfunction handleBlurVisible() {\n // To detect a tab/window switch, we look for a blur event followed\n // rapidly by a visibility change.\n // If we don't see a visibility change within 100ms, it's probably a\n // regular focus change.\n hadFocusVisibleRecently = true;\n window.clearTimeout(hadFocusVisibleRecentlyTimeout);\n hadFocusVisibleRecentlyTimeout = window.setTimeout(function () {\n hadFocusVisibleRecently = false;\n }, 100);\n}\n\nexport default function useIsFocusVisible() {\n var ref = React.useCallback(function (instance) {\n var node = ReactDOM.findDOMNode(instance);\n\n if (node != null) {\n prepare(node.ownerDocument);\n }\n }, []);\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue(isFocusVisible);\n }\n\n return {\n isFocusVisible: isFocusVisible,\n onBlurVisible: handleBlurVisible,\n ref: ref\n };\n}","// Corresponds to 10 frames at 60 Hz.\n// A few bytes payload overhead when lodash/debounce is ~3 kB and debounce ~300 B.\nexport default function debounce(func) {\n var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 166;\n var timeout;\n\n function debounced() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n // eslint-disable-next-line consistent-this\n var that = this;\n\n var later = function later() {\n func.apply(that, args);\n };\n\n clearTimeout(timeout);\n timeout = setTimeout(later, wait);\n }\n\n debounced.clear = function () {\n clearTimeout(timeout);\n };\n\n return debounced;\n}","import ownerDocument from './ownerDocument';\nexport default function ownerWindow(node) {\n var doc = ownerDocument(node);\n return doc.defaultView || window;\n}","var baseIsNative = require('./_baseIsNative'),\n getValue = require('./_getValue');\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n","import i18n from \"../common/i18n\";\r\nimport uniq from \"lodash/uniq\";\r\nimport { get, set, clear } from \"../appStore/_idb\";\r\nimport palette from \"./lib/palette\";\r\n\r\nconst languageSuffixes = {\r\n pl: [\"_pl\", \"\"],\r\n en: [\"_en\", \"_ang\", \"_EN\", \"_ANG\"],\r\n es: [\"_es\", \"_spa\"],\r\n};\r\n\r\nexport const flagsDefinitions = [\r\n {\r\n ID: 1,\r\n KOD: \"\",\r\n NAZWA: \"Zjawisko wystąpiło\",\r\n NAZWA_ANG: \"Zjawisko wystąpiło\",\r\n METHOD: 'wyświetlamy \"wartosc\"',\r\n },\r\n {\r\n ID: 2,\r\n KOD: \"-\",\r\n NAZWA: \"Zjawisko nie wystąpiło\",\r\n NAZWA_ANG: \"Magnitude zero\",\r\n METHOD: 'zamiast \"wartosc\" wyświetlamy KOD czyli \"-\"',\r\n },\r\n {\r\n ID: 3,\r\n KOD: \"0\",\r\n NAZWA: \"Wartość mniejsza niż przyjęty format prezentacji\",\r\n NAZWA_ANG: \"Magnitude not zero, but less than 0,5 of a unit\",\r\n METHOD: \"\",\r\n },\r\n {\r\n ID: 4,\r\n KOD: \"0\",\r\n NAZWA: \"Zjawisko istniało w wielkości mniejszej od 0,05\",\r\n NAZWA_ANG: \"Magnitude not zero, but less than 0,05 of a unit\",\r\n METHOD: \"\",\r\n },\r\n {\r\n ID: 5,\r\n KOD: \".\",\r\n NAZWA: \"Brak informacji, konieczność zachowania tajemnicy statystycznej lub że wypełnienie pozycji jest niemożliwe albo niecelowe\",\r\n NAZWA_ANG:\r\n \"Data not available, classified data (statistical confidentiality) or providing data impossible or purposeless\",\r\n METHOD: 'zamiast \"wartosc\" wyświetlamy KOD czyli \".\"',\r\n },\r\n {\r\n ID: 6,\r\n KOD: \"*\",\r\n NAZWA: \"Dane zostały zmienione w stosunku do wcześniej opublikowanych\",\r\n NAZWA_ANG: \"Revised data\",\r\n METHOD: 'wyświetlamy \"wartosc\" i * czyli np. 99,00*',\r\n },\r\n];\r\n\r\nexport const Atou = (b64) => {\r\n let Str = \"\";\r\n\r\n try {\r\n Str = decodeURIComponent(escape(atob(b64)));\r\n return Str;\r\n } catch (e) {\r\n console.log(e);\r\n window.location = \"/404?e=wrongUrl\";\r\n }\r\n};\r\n\r\nexport const Utoa = (data) => btoa(unescape(encodeURIComponent(data)));\r\n\r\nexport const TranslationFromJson = (json, key) => {\r\n let currentLanguage = i18n.language;\r\n if (currentLanguage === \"cimode\") {\r\n currentLanguage = localStorage?.getItem(\"i18nextLng\", \"APP\");\r\n }\r\n\r\n if (typeof json === \"string\") return json;\r\n\r\n if (currentLanguage === \"pl\") return json?.[key] || \"\";\r\n const _suffix = languageSuffixes?.[currentLanguage]?.find((suffix) => json?.hasOwnProperty(key + suffix));\r\n\r\n if (_suffix) {\r\n return json?.[key + _suffix];\r\n } else {\r\n return \"The API has no fields for translation\";\r\n }\r\n};\r\n\r\nexport const IntlNumberFormat = (number, precision, id_flagi = 1, forceDOT) => {\r\n precision = precision === 0 ? 0 : precision > 0 && precision < 6 ? precision : 2;\r\n\r\n const currentLanguage = forceDOT ? \"en\" : i18n.language === \"pl\" ? \"uk\" : i18n.language;\r\n\r\n let formattedNumber = new Intl.NumberFormat(currentLanguage, {\r\n minimumFractionDigits: precision,\r\n maximumFractionDigits: precision,\r\n useGrouping: !forceDOT,\r\n }).format(number);\r\n\r\n switch (id_flagi) {\r\n case 1:\r\n return formattedNumber;\r\n case 2:\r\n return \"-\";\r\n case 3:\r\n return new Intl.NumberFormat(currentLanguage, {\r\n minimumFractionDigits: precision,\r\n maximumFractionDigits: precision,\r\n }).format(0);\r\n case 4:\r\n return new Intl.NumberFormat(currentLanguage, {\r\n minimumFractionDigits: precision,\r\n maximumFractionDigits: precision,\r\n }).format(0);\r\n case 5:\r\n return \".\";\r\n case 6:\r\n return formattedNumber + \"*\";\r\n case 666:\r\n break;\r\n default:\r\n return formattedNumber + \"*\";\r\n }\r\n\r\n return formattedNumber;\r\n};\r\n\r\nexport const ClearLocalStorage = (except) => {\r\n let itemsToKeep = [];\r\n except = uniq([...(except || []), \"x-a-t\", \"sver.\"]);\r\n if (except && except.length) {\r\n except.forEach((key) => {\r\n itemsToKeep[key] = localStorage.getItem(key) ? localStorage.getItem(key) : undefined;\r\n get(key).then((val) => {\r\n itemsToKeep[key] = itemsToKeep[key] ? itemsToKeep[key] : val;\r\n });\r\n });\r\n }\r\n console.log(\"%c CLEAR \", \"background:#F00;color:#FFF\", { itemsToKeep, except });\r\n localStorage.clear();\r\n clear().then(() => {\r\n if (except && except.length) {\r\n except.forEach((key) => {\r\n itemsToKeep[key] && localStorage.setItem(key, itemsToKeep[key]);\r\n itemsToKeep[key] && set(key, itemsToKeep[key]);\r\n });\r\n }\r\n });\r\n\r\n return itemsToKeep;\r\n};\r\n\r\nexport const Delay = async (miliseconds) => {\r\n await new Promise((resolve) => setTimeout(resolve, miliseconds));\r\n return true;\r\n};\r\n\r\nexport const StorageVersion = async () => {};\r\n\r\nexport const SplitStringToLength = ({ length, string, newLine = \"\\n\" }) => {\r\n let arr = string?.split(\" \");\r\n let result = [];\r\n let subStr = arr[0];\r\n\r\n const simpleRegexp = new RegExp(`.{1,${parseInt(length * 0.88)}}`, \"g\");\r\n\r\n /** no whitespaces */\r\n if (!string.match(/\\s/g)) {\r\n result = string.match(simpleRegexp);\r\n\r\n return { asArray: result, asText: result?.join(newLine) };\r\n }\r\n\r\n for (let i = 1; i < arr.length; i++) {\r\n let word = arr[i];\r\n if (subStr.length + word.length + 1 <= length) {\r\n subStr = subStr + \" \" + word;\r\n } else {\r\n result.push(subStr);\r\n subStr = word;\r\n }\r\n }\r\n if (subStr.length) {\r\n result.push(subStr);\r\n }\r\n\r\n return { asArray: result, asText: result?.join(newLine) };\r\n};\r\n\r\nexport const SplitStringToSize = ({ width, string }) => {\r\n const id = \"_SplitStringToSize\" + Date.now();\r\n\r\n let div = document.createElement(\"div\");\r\n div.setAttribute(\"id\", id);\r\n div.style.display = \"block\";\r\n div.style.position = \"absolute\";\r\n div.style.width = width + \"px\";\r\n div.style.top = -9999 + \"px\";\r\n div.style.left = -9999 + \"px\";\r\n div.innerText = string;\r\n document.body.appendChild(div);\r\n\r\n let wordBreak = [];\r\n let words = div.innerText.split(\" \");\r\n div.innerText = words[0];\r\n let beforeBreak = words[0];\r\n let height = div.offsetHeight;\r\n\r\n for (let i = 1; i < words.length; i++) {\r\n div.innerText += \" \" + words[i];\r\n if (div.offsetHeight > height) {\r\n height = div.offsetHeight;\r\n wordBreak.push(beforeBreak);\r\n beforeBreak = words[i];\r\n } else {\r\n beforeBreak += \" \" + words[i];\r\n }\r\n }\r\n\r\n wordBreak.push(beforeBreak);\r\n\r\n var longest = Math.max(...wordBreak?.map((w) => w.length));\r\n\r\n let _removeEl = document.getElementById(id);\r\n\r\n if (_removeEl) {\r\n document.body.removeChild(_removeEl);\r\n }\r\n\r\n return { asArray: wordBreak, longest };\r\n};\r\n\r\nexport const IsElementVisible = (el) => {\r\n var rect = el.getBoundingClientRect(),\r\n vWidth = window.innerWidth || document.documentElement.clientWidth,\r\n vHeight = window.innerHeight || document.documentElement.clientHeight,\r\n efp = function (x, y) {\r\n return document.elementFromPoint(x, y);\r\n };\r\n\r\n // Return false if it's not in the viewport\r\n if (rect.right < 0 || rect.bottom < 0 || rect.left > vWidth || rect.top > vHeight) return false;\r\n\r\n // Return true if any of its four corners are visible\r\n return (\r\n el.contains(efp(rect.left, rect.top)) ||\r\n el.contains(efp(rect.right, rect.top)) ||\r\n el.contains(efp(rect.right, rect.bottom)) ||\r\n el.contains(efp(rect.left, rect.bottom))\r\n );\r\n};\r\n\r\nexport const GetAllIDs = (data) => {\r\n let children = [];\r\n\r\n return data\r\n .map((m) => {\r\n if (m.children && m.children.length) {\r\n children = [...children, ...m.children];\r\n }\r\n return m;\r\n })\r\n .concat(children.length ? GetAllIDs(children) : children);\r\n};\r\n\r\nexport const useHelper = () => {\r\n const translationFromJson = (json, key) => TranslationFromJson(json, key);\r\n\r\n const intlNumberFormat = (number, precision, id_flagi, forceDOT) =>\r\n IntlNumberFormat(number, precision, id_flagi, forceDOT);\r\n\r\n const atou = (b64) => Atou(b64);\r\n\r\n const utoa = (data) => Utoa(data);\r\n\r\n const clearLocalStorage = async (except) => ClearLocalStorage(except);\r\n\r\n const delay = async (miliseconds) => Delay(miliseconds);\r\n\r\n const splitStringToLength = ({ length, string, newLine }) => SplitStringToLength({ length, string, newLine });\r\n\r\n const splitStringToSize = ({ width, string }) => SplitStringToSize({ width, string });\r\n\r\n const isElementVisible = (el) => IsElementVisible(el);\r\n\r\n const paletteGenerator = ({ scheme, n }) => PaletteGenerator({ scheme, n });\r\n\r\n const getAllIDs = (data) => GetAllIDs(data);\r\n\r\n return {\r\n translationFromJson,\r\n intlNumberFormat,\r\n atou,\r\n utoa,\r\n clearLocalStorage,\r\n delay,\r\n flagsDefinitions,\r\n splitStringToLength,\r\n splitStringToSize,\r\n isElementVisible,\r\n paletteGenerator,\r\n getAllIDs,\r\n };\r\n};\r\n\r\nexport default useHelper;\r\n\r\n/** Palette generator */\r\nexport const PaletteGenerator = ({ scheme, n = 7 }) => {\r\n // n = n ;\r\n let result = [];\r\n\r\n switch (scheme) {\r\n case \"mpn65\":\r\n result = add(\"Random\", \"mpn65\", null, n);\r\n break;\r\n case \"rainbow\":\r\n result = add(\"Rainbow\", \"rainbow\", 1, n);\r\n break;\r\n\r\n case \"gradient\":\r\n result = add(\"Red\", (x) => palette.rgbColor(x, 0, 0), null, n * 2)?.slice(-n);\r\n break;\r\n case \"gradient-red\":\r\n result = add(\"Red\", (x) => palette.rgbColor(x, 0, 0), null, n * 2)?.slice(-n);\r\n break;\r\n case \"gradient-green\":\r\n result = add(\"Green\", (x) => palette.rgbColor(0, x, 0), null, n * 2)?.slice(-n);\r\n break;\r\n case \"gradient-blue\":\r\n result = add(\"Blue\", (x) => palette.rgbColor(0, 0, x), null, n * 2)?.slice(-n);\r\n break;\r\n case \"gradient-yellow\":\r\n result = add(\"Yellow\", (x) => palette.rgbColor(x, x, 0), null, n * 2)?.slice(-n);\r\n break;\r\n case \"gradient-magenta\":\r\n result = add(\"Magenta\", (x) => palette.rgbColor(x, 0, x), null, n * 2)?.slice(-n);\r\n break;\r\n case \"gradient-cyan\":\r\n result = add(\"cyan\", (x) => palette.rgbColor(0, x, x), null, n * 2)?.slice(-n);\r\n break;\r\n case \"gradient-grayscale\":\r\n result = add(\"grayscale\", (x) => palette.rgbColor(x, x, x), null, n * 2)?.slice(-n);\r\n break;\r\n\r\n default:\r\n break;\r\n }\r\n\r\n result = [\"#6677a1\", \"#bbd631\", ...result].slice(0, -2);\r\n\r\n return { primary: result, dark: result };\r\n};\r\n\r\nconst add = function (title, name, varargs, num) {\r\n var colors;\r\n if (typeof name === typeof add && !name.scheme_name) {\r\n colors = palette.generate(name, num);\r\n } else {\r\n var scheme = name;\r\n if (typeof name === \"string\") {\r\n title = name + \": \" + title;\r\n scheme = palette.listSchemes(name)[0];\r\n }\r\n var args = Array.prototype.slice.call(arguments, 1);\r\n args[0] = num;\r\n colors = scheme.apply(scheme, args);\r\n }\r\n if (colors) {\r\n // colors = transformColors(colors, transform);\r\n colors = colors.map((color) => `#${color}`);\r\n }\r\n\r\n return colors;\r\n};\r\n","export var forceReflow = function forceReflow(node) {\n return node.scrollTop;\n};","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","import * as React from 'react';\n/**\n * @ignore - internal component.\n */\n\nvar ListContext = React.createContext({});\n\nif (process.env.NODE_ENV !== 'production') {\n ListContext.displayName = 'ListContext';\n}\n\nexport default ListContext;","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","import React, { useEffect } from \"react\";\r\nimport CommonHeader from \"../_Common/CommonHeader\";\r\nimport CommonFooter from \"../_Common/CommonFooter\";\r\nimport { commonMenuItems } from \"../_Common/commonMenu.config\";\r\nimport { Container } from \"@material-ui/core\";\r\nimport \"./Components/about.css\";\r\nimport \"./Components/material3.css\";\r\nimport { useMatomo } from \"@datapunt/matomo-tracker-react\";\r\n\r\nexport const InfoPageView = (props) => {\r\n const { trackEvent } = useMatomo();\r\n useEffect(() => {\r\n const currentHREF = window.location.origin + window.location.pathname;\r\n trackEvent({\r\n category: \"Informacje o SMUP\",\r\n action: \"Wejście na stronę\",\r\n // name: `[${value.id_up}]: ${value.nazwa_up}`, // optional\r\n // value: value.id_up,\r\n documentTitle: \"SMUP: Informacje o SMUP\",\r\n href: currentHREF,\r\n // customDimensions: [\r\n // {\r\n // id: value.id_ou,\r\n // value: value.nazwa_ou,\r\n // },\r\n // ],\r\n });\r\n }, [window.location]);\r\n return (\r\n \r\n \r\n {props.children}\r\n \r\n \r\n );\r\n};\r\n\r\nexport default InfoPageView;\r\n","import React from 'react'\r\nimport { Route } from 'react-router-dom'\r\nimport InfoPageView from \"./InfoPageView\";\r\n\r\n/** Routes for the homepage wrapper\r\n *\r\n * @version 2.1.0\r\n * @component\r\n * @category ./ page\r\n * @subcategory Views\r\n */\r\n\r\nconst AboutViewRoutes = ({ component: Component, infopage}) => {\r\n return (\r\n (\r\n \r\n \r\n \r\n )} />\r\n )\r\n}\r\n\r\nexport default AboutViewRoutes","import React from 'react';\nexport default React.createContext(null);","/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\nmodule.exports = setToArray;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","var SetCache = require('./_SetCache'),\n arrayIncludes = require('./_arrayIncludes'),\n arrayIncludesWith = require('./_arrayIncludesWith'),\n cacheHas = require('./_cacheHas'),\n createSet = require('./_createSet'),\n setToArray = require('./_setToArray');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * The base implementation of `_.uniqBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\nfunction baseUniq(array, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n length = array.length,\n isCommon = true,\n result = [],\n seen = result;\n\n if (comparator) {\n isCommon = false;\n includes = arrayIncludesWith;\n }\n else if (length >= LARGE_ARRAY_SIZE) {\n var set = iteratee ? null : createSet(array);\n if (set) {\n return setToArray(set);\n }\n isCommon = false;\n includes = cacheHas;\n seen = new SetCache;\n }\n else {\n seen = iteratee ? [] : result;\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var seenIndex = seen.length;\n while (seenIndex--) {\n if (seen[seenIndex] === computed) {\n continue outer;\n }\n }\n if (iteratee) {\n seen.push(computed);\n }\n result.push(value);\n }\n else if (!includes(seen, computed, comparator)) {\n if (seen !== result) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n}\n\nmodule.exports = baseUniq;\n","var listCacheClear = require('./_listCacheClear'),\n listCacheDelete = require('./_listCacheDelete'),\n listCacheGet = require('./_listCacheGet'),\n listCacheHas = require('./_listCacheHas'),\n listCacheSet = require('./_listCacheSet');\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n","/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n","var mapCacheClear = require('./_mapCacheClear'),\n mapCacheDelete = require('./_mapCacheDelete'),\n mapCacheGet = require('./_mapCacheGet'),\n mapCacheHas = require('./_mapCacheHas'),\n mapCacheSet = require('./_mapCacheSet');\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n","var baseGetTag = require('./_baseGetTag'),\n isObject = require('./isObject');\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nmodule.exports = isFunction;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nmodule.exports = toSource;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nmodule.exports = Set;\n","var MapCache = require('./_MapCache'),\n setCacheAdd = require('./_setCacheAdd'),\n setCacheHas = require('./_setCacheHas');\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nmodule.exports = SetCache;\n","/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\nmodule.exports = cacheHas;\n","var baseUniq = require('./_baseUniq');\n\n/**\n * Creates a duplicate-free version of an array, using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons, in which only the first occurrence of each element\n * is kept. The order of result values is determined by the order they occur\n * in the array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniq([2, 1, 2]);\n * // => [2, 1]\n */\nfunction uniq(array) {\n return (array && array.length) ? baseUniq(array) : [];\n}\n\nmodule.exports = uniq;\n","var Hash = require('./_Hash'),\n ListCache = require('./_ListCache'),\n Map = require('./_Map');\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n","var hashClear = require('./_hashClear'),\n hashDelete = require('./_hashDelete'),\n hashGet = require('./_hashGet'),\n hashHas = require('./_hashHas'),\n hashSet = require('./_hashSet');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n","var nativeCreate = require('./_nativeCreate');\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n","var isFunction = require('./isFunction'),\n isMasked = require('./_isMasked'),\n isObject = require('./isObject'),\n toSource = require('./_toSource');\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nmodule.exports = baseIsNative;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","var coreJsData = require('./_coreJsData');\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n","var root = require('./_root');\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n","/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n","/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;\n","/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nmodule.exports = listCacheDelete;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n","var getMapData = require('./_getMapData');\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n","/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nmodule.exports = isKeyable;\n","var getMapData = require('./_getMapData');\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n","var getMapData = require('./_getMapData');\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n","var getMapData = require('./_getMapData');\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;\n","/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\nmodule.exports = setCacheAdd;\n","/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nmodule.exports = setCacheHas;\n","var baseIndexOf = require('./_baseIndexOf');\n\n/**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n}\n\nmodule.exports = arrayIncludes;\n","var baseFindIndex = require('./_baseFindIndex'),\n baseIsNaN = require('./_baseIsNaN'),\n strictIndexOf = require('./_strictIndexOf');\n\n/**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n}\n\nmodule.exports = baseIndexOf;\n","/**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = baseFindIndex;\n","/**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\nfunction baseIsNaN(value) {\n return value !== value;\n}\n\nmodule.exports = baseIsNaN;\n","/**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = strictIndexOf;\n","/**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludesWith(array, value, comparator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (comparator(value, array[index])) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arrayIncludesWith;\n","var Set = require('./_Set'),\n noop = require('./noop'),\n setToArray = require('./_setToArray');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Creates a set object of `values`.\n *\n * @private\n * @param {Array} values The values to add to the set.\n * @returns {Object} Returns the new set.\n */\nvar createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {\n return new Set(values);\n};\n\nmodule.exports = createSet;\n","/**\n * This method returns `undefined`.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Util\n * @example\n *\n * _.times(2, _.noop);\n * // => [undefined, undefined]\n */\nfunction noop() {\n // No operation performed.\n}\n\nmodule.exports = noop;\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { Transition } from 'react-transition-group';\nimport useTheme from '../styles/useTheme';\nimport { reflow, getTransitionProps } from '../transitions/utils';\nimport useForkRef from '../utils/useForkRef';\n\nfunction getScale(value) {\n return \"scale(\".concat(value, \", \").concat(Math.pow(value, 2), \")\");\n}\n\nvar styles = {\n entering: {\n opacity: 1,\n transform: getScale(1)\n },\n entered: {\n opacity: 1,\n transform: 'none'\n }\n};\n/**\n * The Grow transition is used by the [Tooltip](/components/tooltips/) and\n * [Popover](/components/popover/) components.\n * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.\n */\n\nvar Grow = /*#__PURE__*/React.forwardRef(function Grow(props, ref) {\n var children = props.children,\n _props$disableStrictM = props.disableStrictModeCompat,\n disableStrictModeCompat = _props$disableStrictM === void 0 ? false : _props$disableStrictM,\n inProp = props.in,\n onEnter = props.onEnter,\n onEntered = props.onEntered,\n onEntering = props.onEntering,\n onExit = props.onExit,\n onExited = props.onExited,\n onExiting = props.onExiting,\n style = props.style,\n _props$timeout = props.timeout,\n timeout = _props$timeout === void 0 ? 'auto' : _props$timeout,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Transition : _props$TransitionComp,\n other = _objectWithoutProperties(props, [\"children\", \"disableStrictModeCompat\", \"in\", \"onEnter\", \"onEntered\", \"onEntering\", \"onExit\", \"onExited\", \"onExiting\", \"style\", \"timeout\", \"TransitionComponent\"]);\n\n var timer = React.useRef();\n var autoTimeout = React.useRef();\n var theme = useTheme();\n var enableStrictModeCompat = theme.unstable_strictMode && !disableStrictModeCompat;\n var nodeRef = React.useRef(null);\n var foreignRef = useForkRef(children.ref, ref);\n var handleRef = useForkRef(enableStrictModeCompat ? nodeRef : undefined, foreignRef);\n\n var normalizedTransitionCallback = function normalizedTransitionCallback(callback) {\n return function (nodeOrAppearing, maybeAppearing) {\n if (callback) {\n var _ref = enableStrictModeCompat ? [nodeRef.current, nodeOrAppearing] : [nodeOrAppearing, maybeAppearing],\n _ref2 = _slicedToArray(_ref, 2),\n node = _ref2[0],\n isAppearing = _ref2[1]; // onEnterXxx and onExitXxx callbacks have a different arguments.length value.\n\n\n if (isAppearing === undefined) {\n callback(node);\n } else {\n callback(node, isAppearing);\n }\n }\n };\n };\n\n var handleEntering = normalizedTransitionCallback(onEntering);\n var handleEnter = normalizedTransitionCallback(function (node, isAppearing) {\n reflow(node); // So the animation always start from the start.\n\n var _getTransitionProps = getTransitionProps({\n style: style,\n timeout: timeout\n }, {\n mode: 'enter'\n }),\n transitionDuration = _getTransitionProps.duration,\n delay = _getTransitionProps.delay;\n\n var duration;\n\n if (timeout === 'auto') {\n duration = theme.transitions.getAutoHeightDuration(node.clientHeight);\n autoTimeout.current = duration;\n } else {\n duration = transitionDuration;\n }\n\n node.style.transition = [theme.transitions.create('opacity', {\n duration: duration,\n delay: delay\n }), theme.transitions.create('transform', {\n duration: duration * 0.666,\n delay: delay\n })].join(',');\n\n if (onEnter) {\n onEnter(node, isAppearing);\n }\n });\n var handleEntered = normalizedTransitionCallback(onEntered);\n var handleExiting = normalizedTransitionCallback(onExiting);\n var handleExit = normalizedTransitionCallback(function (node) {\n var _getTransitionProps2 = getTransitionProps({\n style: style,\n timeout: timeout\n }, {\n mode: 'exit'\n }),\n transitionDuration = _getTransitionProps2.duration,\n delay = _getTransitionProps2.delay;\n\n var duration;\n\n if (timeout === 'auto') {\n duration = theme.transitions.getAutoHeightDuration(node.clientHeight);\n autoTimeout.current = duration;\n } else {\n duration = transitionDuration;\n }\n\n node.style.transition = [theme.transitions.create('opacity', {\n duration: duration,\n delay: delay\n }), theme.transitions.create('transform', {\n duration: duration * 0.666,\n delay: delay || duration * 0.333\n })].join(',');\n node.style.opacity = '0';\n node.style.transform = getScale(0.75);\n\n if (onExit) {\n onExit(node);\n }\n });\n var handleExited = normalizedTransitionCallback(onExited);\n\n var addEndListener = function addEndListener(nodeOrNext, maybeNext) {\n var next = enableStrictModeCompat ? nodeOrNext : maybeNext;\n\n if (timeout === 'auto') {\n timer.current = setTimeout(next, autoTimeout.current || 0);\n }\n };\n\n React.useEffect(function () {\n return function () {\n clearTimeout(timer.current);\n };\n }, []);\n return /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n appear: true,\n in: inProp,\n nodeRef: enableStrictModeCompat ? nodeRef : undefined,\n onEnter: handleEnter,\n onEntered: handleEntered,\n onEntering: handleEntering,\n onExit: handleExit,\n onExited: handleExited,\n onExiting: handleExiting,\n addEndListener: addEndListener,\n timeout: timeout === 'auto' ? null : timeout\n }, other), function (state, childProps) {\n return /*#__PURE__*/React.cloneElement(children, _extends({\n style: _extends({\n opacity: 0,\n transform: getScale(0.75),\n visibility: state === 'exited' && !inProp ? 'hidden' : undefined\n }, styles[state], style, children.props.style),\n ref: handleRef\n }, childProps));\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Grow.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * A single child content element.\n */\n children: PropTypes.element,\n\n /**\n * Enable this prop if you encounter 'Function components cannot be given refs',\n * use `unstable_createStrictModeTheme`,\n * and can't forward the ref in the child component.\n */\n disableStrictModeCompat: PropTypes.bool,\n\n /**\n * If `true`, show the component; triggers the enter or exit animation.\n */\n in: PropTypes.bool,\n\n /**\n * @ignore\n */\n onEnter: PropTypes.func,\n\n /**\n * @ignore\n */\n onEntered: PropTypes.func,\n\n /**\n * @ignore\n */\n onEntering: PropTypes.func,\n\n /**\n * @ignore\n */\n onExit: PropTypes.func,\n\n /**\n * @ignore\n */\n onExited: PropTypes.func,\n\n /**\n * @ignore\n */\n onExiting: PropTypes.func,\n\n /**\n * @ignore\n */\n style: PropTypes.object,\n\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n *\n * Set to 'auto' to automatically calculate transition time based on height.\n */\n timeout: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nGrow.muiSupportAuto = true;\nexport default Grow;","import * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport PropTypes from 'prop-types';\nimport { exactProp, HTMLElementType } from '@material-ui/utils';\nimport setRef from '../utils/setRef';\nimport useForkRef from '../utils/useForkRef';\n\nfunction getContainer(container) {\n container = typeof container === 'function' ? container() : container; // #StrictMode ready\n\n return ReactDOM.findDOMNode(container);\n}\n\nvar useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\n/**\n * Portals provide a first-class way to render children into a DOM node\n * that exists outside the DOM hierarchy of the parent component.\n */\n\nvar Portal = /*#__PURE__*/React.forwardRef(function Portal(props, ref) {\n var children = props.children,\n container = props.container,\n _props$disablePortal = props.disablePortal,\n disablePortal = _props$disablePortal === void 0 ? false : _props$disablePortal,\n onRendered = props.onRendered;\n\n var _React$useState = React.useState(null),\n mountNode = _React$useState[0],\n setMountNode = _React$useState[1];\n\n var handleRef = useForkRef( /*#__PURE__*/React.isValidElement(children) ? children.ref : null, ref);\n useEnhancedEffect(function () {\n if (!disablePortal) {\n setMountNode(getContainer(container) || document.body);\n }\n }, [container, disablePortal]);\n useEnhancedEffect(function () {\n if (mountNode && !disablePortal) {\n setRef(ref, mountNode);\n return function () {\n setRef(ref, null);\n };\n }\n\n return undefined;\n }, [ref, mountNode, disablePortal]);\n useEnhancedEffect(function () {\n if (onRendered && (mountNode || disablePortal)) {\n onRendered();\n }\n }, [onRendered, mountNode, disablePortal]);\n\n if (disablePortal) {\n if ( /*#__PURE__*/React.isValidElement(children)) {\n return /*#__PURE__*/React.cloneElement(children, {\n ref: handleRef\n });\n }\n\n return children;\n }\n\n return mountNode ? /*#__PURE__*/ReactDOM.createPortal(children, mountNode) : mountNode;\n});\nprocess.env.NODE_ENV !== \"production\" ? Portal.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The children to render into the `container`.\n */\n children: PropTypes.node,\n\n /**\n * A HTML element, component instance, or function that returns either.\n * The `container` will have the portal children appended to it.\n *\n * By default, it uses the body of the top-level document object,\n * so it's simply `document.body` most of the time.\n */\n container: PropTypes\n /* @typescript-to-proptypes-ignore */\n .oneOfType([HTMLElementType, PropTypes.instanceOf(React.Component), PropTypes.func]),\n\n /**\n * Disable the portal behavior.\n * The children stay within it's parent DOM hierarchy.\n */\n disablePortal: PropTypes.bool,\n\n /**\n * Callback fired once the children has been mounted into the `container`.\n *\n * This prop will be deprecated and removed in v5, the ref can be used instead.\n */\n onRendered: PropTypes.func\n} : void 0;\n\nif (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line\n Portal['propTypes' + ''] = exactProp(Portal.propTypes);\n}\n\nexport default Portal;","export default {\n disabled: false\n};","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport config from './config';\nimport { timeoutsShape } from './utils/PropTypes';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { forceReflow } from './utils/reflow';\nexport var UNMOUNTED = 'unmounted';\nexport var EXITED = 'exited';\nexport var ENTERING = 'entering';\nexport var ENTERED = 'entered';\nexport var EXITING = 'exiting';\n/**\n * The Transition component lets you describe a transition from one component\n * state to another _over time_ with a simple declarative API. Most commonly\n * it's used to animate the mounting and unmounting of a component, but can also\n * be used to describe in-place transition states as well.\n *\n * ---\n *\n * **Note**: `Transition` is a platform-agnostic base component. If you're using\n * transitions in CSS, you'll probably want to use\n * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition)\n * instead. It inherits all the features of `Transition`, but contains\n * additional features necessary to play nice with CSS transitions (hence the\n * name of the component).\n *\n * ---\n *\n * By default the `Transition` component does not alter the behavior of the\n * component it renders, it only tracks \"enter\" and \"exit\" states for the\n * components. It's up to you to give meaning and effect to those states. For\n * example we can add styles to a component when it enters or exits:\n *\n * ```jsx\n * import { Transition } from 'react-transition-group';\n *\n * const duration = 300;\n *\n * const defaultStyle = {\n * transition: `opacity ${duration}ms ease-in-out`,\n * opacity: 0,\n * }\n *\n * const transitionStyles = {\n * entering: { opacity: 1 },\n * entered: { opacity: 1 },\n * exiting: { opacity: 0 },\n * exited: { opacity: 0 },\n * };\n *\n * const Fade = ({ in: inProp }) => (\n * \n * {state => (\n *
\n * I'm a fade Transition!\n *
\n * )}\n *
\n * );\n * ```\n *\n * There are 4 main states a Transition can be in:\n * - `'entering'`\n * - `'entered'`\n * - `'exiting'`\n * - `'exited'`\n *\n * Transition state is toggled via the `in` prop. When `true` the component\n * begins the \"Enter\" stage. During this stage, the component will shift from\n * its current transition state, to `'entering'` for the duration of the\n * transition and then to the `'entered'` stage once it's complete. Let's take\n * the following example (we'll use the\n * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n *
\n * \n * {state => (\n * // ...\n * )}\n * \n * \n *
\n * );\n * }\n * ```\n *\n * When the button is clicked the component will shift to the `'entering'` state\n * and stay there for 500ms (the value of `timeout`) before it finally switches\n * to `'entered'`.\n *\n * When `in` is `false` the same thing happens except the state moves from\n * `'exiting'` to `'exited'`.\n */\n\nvar Transition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(Transition, _React$Component);\n\n function Transition(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n var parentGroup = context; // In the context of a TransitionGroup all enters are really appears\n\n var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;\n var initialStatus;\n _this.appearStatus = null;\n\n if (props.in) {\n if (appear) {\n initialStatus = EXITED;\n _this.appearStatus = ENTERING;\n } else {\n initialStatus = ENTERED;\n }\n } else {\n if (props.unmountOnExit || props.mountOnEnter) {\n initialStatus = UNMOUNTED;\n } else {\n initialStatus = EXITED;\n }\n }\n\n _this.state = {\n status: initialStatus\n };\n _this.nextCallback = null;\n return _this;\n }\n\n Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {\n var nextIn = _ref.in;\n\n if (nextIn && prevState.status === UNMOUNTED) {\n return {\n status: EXITED\n };\n }\n\n return null;\n } // getSnapshotBeforeUpdate(prevProps) {\n // let nextStatus = null\n // if (prevProps !== this.props) {\n // const { status } = this.state\n // if (this.props.in) {\n // if (status !== ENTERING && status !== ENTERED) {\n // nextStatus = ENTERING\n // }\n // } else {\n // if (status === ENTERING || status === ENTERED) {\n // nextStatus = EXITING\n // }\n // }\n // }\n // return { nextStatus }\n // }\n ;\n\n var _proto = Transition.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.updateStatus(true, this.appearStatus);\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n var nextStatus = null;\n\n if (prevProps !== this.props) {\n var status = this.state.status;\n\n if (this.props.in) {\n if (status !== ENTERING && status !== ENTERED) {\n nextStatus = ENTERING;\n }\n } else {\n if (status === ENTERING || status === ENTERED) {\n nextStatus = EXITING;\n }\n }\n }\n\n this.updateStatus(false, nextStatus);\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.cancelNextCallback();\n };\n\n _proto.getTimeouts = function getTimeouts() {\n var timeout = this.props.timeout;\n var exit, enter, appear;\n exit = enter = appear = timeout;\n\n if (timeout != null && typeof timeout !== 'number') {\n exit = timeout.exit;\n enter = timeout.enter; // TODO: remove fallback for next major\n\n appear = timeout.appear !== undefined ? timeout.appear : enter;\n }\n\n return {\n exit: exit,\n enter: enter,\n appear: appear\n };\n };\n\n _proto.updateStatus = function updateStatus(mounting, nextStatus) {\n if (mounting === void 0) {\n mounting = false;\n }\n\n if (nextStatus !== null) {\n // nextStatus will always be ENTERING or EXITING.\n this.cancelNextCallback();\n\n if (nextStatus === ENTERING) {\n if (this.props.unmountOnExit || this.props.mountOnEnter) {\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this); // https://github.com/reactjs/react-transition-group/pull/749\n // With unmountOnExit or mountOnEnter, the enter animation should happen at the transition between `exited` and `entering`.\n // To make the animation happen, we have to separate each rendering and avoid being processed as batched.\n\n if (node) forceReflow(node);\n }\n\n this.performEnter(mounting);\n } else {\n this.performExit();\n }\n } else if (this.props.unmountOnExit && this.state.status === EXITED) {\n this.setState({\n status: UNMOUNTED\n });\n }\n };\n\n _proto.performEnter = function performEnter(mounting) {\n var _this2 = this;\n\n var enter = this.props.enter;\n var appearing = this.context ? this.context.isMounting : mounting;\n\n var _ref2 = this.props.nodeRef ? [appearing] : [ReactDOM.findDOMNode(this), appearing],\n maybeNode = _ref2[0],\n maybeAppearing = _ref2[1];\n\n var timeouts = this.getTimeouts();\n var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED\n // if we are mounting and running this it means appear _must_ be set\n\n if (!mounting && !enter || config.disabled) {\n this.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode);\n });\n return;\n }\n\n this.props.onEnter(maybeNode, maybeAppearing);\n this.safeSetState({\n status: ENTERING\n }, function () {\n _this2.props.onEntering(maybeNode, maybeAppearing);\n\n _this2.onTransitionEnd(enterTimeout, function () {\n _this2.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode, maybeAppearing);\n });\n });\n });\n };\n\n _proto.performExit = function performExit() {\n var _this3 = this;\n\n var exit = this.props.exit;\n var timeouts = this.getTimeouts();\n var maybeNode = this.props.nodeRef ? undefined : ReactDOM.findDOMNode(this); // no exit animation skip right to EXITED\n\n if (!exit || config.disabled) {\n this.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n return;\n }\n\n this.props.onExit(maybeNode);\n this.safeSetState({\n status: EXITING\n }, function () {\n _this3.props.onExiting(maybeNode);\n\n _this3.onTransitionEnd(timeouts.exit, function () {\n _this3.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n });\n });\n };\n\n _proto.cancelNextCallback = function cancelNextCallback() {\n if (this.nextCallback !== null) {\n this.nextCallback.cancel();\n this.nextCallback = null;\n }\n };\n\n _proto.safeSetState = function safeSetState(nextState, callback) {\n // This shouldn't be necessary, but there are weird race conditions with\n // setState callbacks and unmounting in testing, so always make sure that\n // we can cancel any pending setState callbacks after we unmount.\n callback = this.setNextCallback(callback);\n this.setState(nextState, callback);\n };\n\n _proto.setNextCallback = function setNextCallback(callback) {\n var _this4 = this;\n\n var active = true;\n\n this.nextCallback = function (event) {\n if (active) {\n active = false;\n _this4.nextCallback = null;\n callback(event);\n }\n };\n\n this.nextCallback.cancel = function () {\n active = false;\n };\n\n return this.nextCallback;\n };\n\n _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {\n this.setNextCallback(handler);\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);\n var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;\n\n if (!node || doesNotHaveTimeoutOrListener) {\n setTimeout(this.nextCallback, 0);\n return;\n }\n\n if (this.props.addEndListener) {\n var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback],\n maybeNode = _ref3[0],\n maybeNextCallback = _ref3[1];\n\n this.props.addEndListener(maybeNode, maybeNextCallback);\n }\n\n if (timeout != null) {\n setTimeout(this.nextCallback, timeout);\n }\n };\n\n _proto.render = function render() {\n var status = this.state.status;\n\n if (status === UNMOUNTED) {\n return null;\n }\n\n var _this$props = this.props,\n children = _this$props.children,\n _in = _this$props.in,\n _mountOnEnter = _this$props.mountOnEnter,\n _unmountOnExit = _this$props.unmountOnExit,\n _appear = _this$props.appear,\n _enter = _this$props.enter,\n _exit = _this$props.exit,\n _timeout = _this$props.timeout,\n _addEndListener = _this$props.addEndListener,\n _onEnter = _this$props.onEnter,\n _onEntering = _this$props.onEntering,\n _onEntered = _this$props.onEntered,\n _onExit = _this$props.onExit,\n _onExiting = _this$props.onExiting,\n _onExited = _this$props.onExited,\n _nodeRef = _this$props.nodeRef,\n childProps = _objectWithoutPropertiesLoose(_this$props, [\"children\", \"in\", \"mountOnEnter\", \"unmountOnExit\", \"appear\", \"enter\", \"exit\", \"timeout\", \"addEndListener\", \"onEnter\", \"onEntering\", \"onEntered\", \"onExit\", \"onExiting\", \"onExited\", \"nodeRef\"]);\n\n return (\n /*#__PURE__*/\n // allows for nested Transitions\n React.createElement(TransitionGroupContext.Provider, {\n value: null\n }, typeof children === 'function' ? children(status, childProps) : React.cloneElement(React.Children.only(children), childProps))\n );\n };\n\n return Transition;\n}(React.Component);\n\nTransition.contextType = TransitionGroupContext;\nTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * A React reference to DOM element that need to transition:\n * https://stackoverflow.com/a/51127130/4671932\n *\n * - When `nodeRef` prop is used, `node` is not passed to callback functions\n * (e.g. `onEnter`) because user already has direct access to the node.\n * - When changing `key` prop of `Transition` in a `TransitionGroup` a new\n * `nodeRef` need to be provided to `Transition` with changed `key` prop\n * (see\n * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).\n */\n nodeRef: PropTypes.shape({\n current: typeof Element === 'undefined' ? PropTypes.any : function (propValue, key, componentName, location, propFullName, secret) {\n var value = propValue[key];\n return PropTypes.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);\n }\n }),\n\n /**\n * A `function` child can be used instead of a React element. This function is\n * called with the current transition status (`'entering'`, `'entered'`,\n * `'exiting'`, `'exited'`), which can be used to apply context\n * specific props to a component.\n *\n * ```jsx\n * \n * {state => (\n * \n * )}\n * \n * ```\n */\n children: PropTypes.oneOfType([PropTypes.func.isRequired, PropTypes.element.isRequired]).isRequired,\n\n /**\n * Show the component; triggers the enter or exit states\n */\n in: PropTypes.bool,\n\n /**\n * By default the child component is mounted immediately along with\n * the parent `Transition` component. If you want to \"lazy mount\" the component on the\n * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay\n * mounted, even on \"exited\", unless you also specify `unmountOnExit`.\n */\n mountOnEnter: PropTypes.bool,\n\n /**\n * By default the child component stays mounted after it reaches the `'exited'` state.\n * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.\n */\n unmountOnExit: PropTypes.bool,\n\n /**\n * By default the child component does not perform the enter transition when\n * it first mounts, regardless of the value of `in`. If you want this\n * behavior, set both `appear` and `in` to `true`.\n *\n * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop\n * > only adds an additional enter transition. However, in the\n * > `` component that first enter transition does result in\n * > additional `.appear-*` classes, that way you can choose to style it\n * > differently.\n */\n appear: PropTypes.bool,\n\n /**\n * Enable or disable enter transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * Enable or disable exit transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * The duration of the transition, in milliseconds.\n * Required unless `addEndListener` is provided.\n *\n * You may specify a single timeout for all transitions:\n *\n * ```jsx\n * timeout={500}\n * ```\n *\n * or individually:\n *\n * ```jsx\n * timeout={{\n * appear: 500,\n * enter: 300,\n * exit: 500,\n * }}\n * ```\n *\n * - `appear` defaults to the value of `enter`\n * - `enter` defaults to `0`\n * - `exit` defaults to `0`\n *\n * @type {number | { enter?: number, exit?: number, appear?: number }}\n */\n timeout: function timeout(props) {\n var pt = timeoutsShape;\n if (!props.addEndListener) pt = pt.isRequired;\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return pt.apply(void 0, [props].concat(args));\n },\n\n /**\n * Add a custom transition end trigger. Called with the transitioning\n * DOM node and a `done` callback. Allows for more fine grained transition end\n * logic. Timeouts are still used as a fallback if provided.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * ```jsx\n * addEndListener={(node, done) => {\n * // use the css transitionend event to mark the finish of a transition\n * node.addEventListener('transitionend', done, false);\n * }}\n * ```\n */\n addEndListener: PropTypes.func,\n\n /**\n * Callback fired before the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEnter: PropTypes.func,\n\n /**\n * Callback fired after the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntering: PropTypes.func,\n\n /**\n * Callback fired after the \"entered\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEntered: PropTypes.func,\n\n /**\n * Callback fired before the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExit: PropTypes.func,\n\n /**\n * Callback fired after the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExiting: PropTypes.func,\n\n /**\n * Callback fired after the \"exited\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExited: PropTypes.func\n} : {}; // Name the function so it is clearer in the documentation\n\nfunction noop() {}\n\nTransition.defaultProps = {\n in: false,\n mountOnEnter: false,\n unmountOnExit: false,\n appear: false,\n enter: true,\n exit: true,\n onEnter: noop,\n onEntering: noop,\n onEntered: noop,\n onExit: noop,\n onExiting: noop,\n onExited: noop\n};\nTransition.UNMOUNTED = UNMOUNTED;\nTransition.EXITED = EXITED;\nTransition.ENTERING = ENTERING;\nTransition.ENTERED = ENTERED;\nTransition.EXITING = EXITING;\nexport default Transition;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport * as ReactDOM from 'react-dom';\nimport { chainPropTypes, elementTypeAcceptingRef, refType, HTMLElementType } from '@material-ui/utils';\nimport debounce from '../utils/debounce';\nimport clsx from 'clsx';\nimport ownerDocument from '../utils/ownerDocument';\nimport ownerWindow from '../utils/ownerWindow';\nimport createChainedFunction from '../utils/createChainedFunction';\nimport withStyles from '../styles/withStyles';\nimport Modal from '../Modal';\nimport Grow from '../Grow';\nimport Paper from '../Paper';\nexport function getOffsetTop(rect, vertical) {\n var offset = 0;\n\n if (typeof vertical === 'number') {\n offset = vertical;\n } else if (vertical === 'center') {\n offset = rect.height / 2;\n } else if (vertical === 'bottom') {\n offset = rect.height;\n }\n\n return offset;\n}\nexport function getOffsetLeft(rect, horizontal) {\n var offset = 0;\n\n if (typeof horizontal === 'number') {\n offset = horizontal;\n } else if (horizontal === 'center') {\n offset = rect.width / 2;\n } else if (horizontal === 'right') {\n offset = rect.width;\n }\n\n return offset;\n}\n\nfunction getTransformOriginValue(transformOrigin) {\n return [transformOrigin.horizontal, transformOrigin.vertical].map(function (n) {\n return typeof n === 'number' ? \"\".concat(n, \"px\") : n;\n }).join(' ');\n} // Sum the scrollTop between two elements.\n\n\nfunction getScrollParent(parent, child) {\n var element = child;\n var scrollTop = 0;\n\n while (element && element !== parent) {\n element = element.parentElement;\n scrollTop += element.scrollTop;\n }\n\n return scrollTop;\n}\n\nfunction getAnchorEl(anchorEl) {\n return typeof anchorEl === 'function' ? anchorEl() : anchorEl;\n}\n\nexport var styles = {\n /* Styles applied to the root element. */\n root: {},\n\n /* Styles applied to the `Paper` component. */\n paper: {\n position: 'absolute',\n overflowY: 'auto',\n overflowX: 'hidden',\n // So we see the popover when it's empty.\n // It's most likely on issue on userland.\n minWidth: 16,\n minHeight: 16,\n maxWidth: 'calc(100% - 32px)',\n maxHeight: 'calc(100% - 32px)',\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0\n }\n};\nvar Popover = /*#__PURE__*/React.forwardRef(function Popover(props, ref) {\n var action = props.action,\n anchorEl = props.anchorEl,\n _props$anchorOrigin = props.anchorOrigin,\n anchorOrigin = _props$anchorOrigin === void 0 ? {\n vertical: 'top',\n horizontal: 'left'\n } : _props$anchorOrigin,\n anchorPosition = props.anchorPosition,\n _props$anchorReferenc = props.anchorReference,\n anchorReference = _props$anchorReferenc === void 0 ? 'anchorEl' : _props$anchorReferenc,\n children = props.children,\n classes = props.classes,\n className = props.className,\n containerProp = props.container,\n _props$elevation = props.elevation,\n elevation = _props$elevation === void 0 ? 8 : _props$elevation,\n getContentAnchorEl = props.getContentAnchorEl,\n _props$marginThreshol = props.marginThreshold,\n marginThreshold = _props$marginThreshol === void 0 ? 16 : _props$marginThreshol,\n onEnter = props.onEnter,\n onEntered = props.onEntered,\n onEntering = props.onEntering,\n onExit = props.onExit,\n onExited = props.onExited,\n onExiting = props.onExiting,\n open = props.open,\n _props$PaperProps = props.PaperProps,\n PaperProps = _props$PaperProps === void 0 ? {} : _props$PaperProps,\n _props$transformOrigi = props.transformOrigin,\n transformOrigin = _props$transformOrigi === void 0 ? {\n vertical: 'top',\n horizontal: 'left'\n } : _props$transformOrigi,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Grow : _props$TransitionComp,\n _props$transitionDura = props.transitionDuration,\n transitionDurationProp = _props$transitionDura === void 0 ? 'auto' : _props$transitionDura,\n _props$TransitionProp = props.TransitionProps,\n TransitionProps = _props$TransitionProp === void 0 ? {} : _props$TransitionProp,\n other = _objectWithoutProperties(props, [\"action\", \"anchorEl\", \"anchorOrigin\", \"anchorPosition\", \"anchorReference\", \"children\", \"classes\", \"className\", \"container\", \"elevation\", \"getContentAnchorEl\", \"marginThreshold\", \"onEnter\", \"onEntered\", \"onEntering\", \"onExit\", \"onExited\", \"onExiting\", \"open\", \"PaperProps\", \"transformOrigin\", \"TransitionComponent\", \"transitionDuration\", \"TransitionProps\"]);\n\n var paperRef = React.useRef(); // Returns the top/left offset of the position\n // to attach to on the anchor element (or body if none is provided)\n\n var getAnchorOffset = React.useCallback(function (contentAnchorOffset) {\n if (anchorReference === 'anchorPosition') {\n if (process.env.NODE_ENV !== 'production') {\n if (!anchorPosition) {\n console.error('Material-UI: You need to provide a `anchorPosition` prop when using ' + '.');\n }\n }\n\n return anchorPosition;\n }\n\n var resolvedAnchorEl = getAnchorEl(anchorEl); // If an anchor element wasn't provided, just use the parent body element of this Popover\n\n var anchorElement = resolvedAnchorEl && resolvedAnchorEl.nodeType === 1 ? resolvedAnchorEl : ownerDocument(paperRef.current).body;\n var anchorRect = anchorElement.getBoundingClientRect();\n\n if (process.env.NODE_ENV !== 'production') {\n var box = anchorElement.getBoundingClientRect();\n\n if (process.env.NODE_ENV !== 'test' && box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {\n console.warn(['Material-UI: The `anchorEl` prop provided to the component is invalid.', 'The anchor element should be part of the document layout.', \"Make sure the element is present in the document or that it's not display none.\"].join('\\n'));\n }\n }\n\n var anchorVertical = contentAnchorOffset === 0 ? anchorOrigin.vertical : 'center';\n return {\n top: anchorRect.top + getOffsetTop(anchorRect, anchorVertical),\n left: anchorRect.left + getOffsetLeft(anchorRect, anchorOrigin.horizontal)\n };\n }, [anchorEl, anchorOrigin.horizontal, anchorOrigin.vertical, anchorPosition, anchorReference]); // Returns the vertical offset of inner content to anchor the transform on if provided\n\n var getContentAnchorOffset = React.useCallback(function (element) {\n var contentAnchorOffset = 0;\n\n if (getContentAnchorEl && anchorReference === 'anchorEl') {\n var contentAnchorEl = getContentAnchorEl(element);\n\n if (contentAnchorEl && element.contains(contentAnchorEl)) {\n var scrollTop = getScrollParent(element, contentAnchorEl);\n contentAnchorOffset = contentAnchorEl.offsetTop + contentAnchorEl.clientHeight / 2 - scrollTop || 0;\n } // != the default value\n\n\n if (process.env.NODE_ENV !== 'production') {\n if (anchorOrigin.vertical !== 'top') {\n console.error(['Material-UI: You can not change the default `anchorOrigin.vertical` value ', 'when also providing the `getContentAnchorEl` prop to the popover component.', 'Only use one of the two props.', 'Set `getContentAnchorEl` to `null | undefined`' + ' or leave `anchorOrigin.vertical` unchanged.'].join('\\n'));\n }\n }\n }\n\n return contentAnchorOffset;\n }, [anchorOrigin.vertical, anchorReference, getContentAnchorEl]); // Return the base transform origin using the element\n // and taking the content anchor offset into account if in use\n\n var getTransformOrigin = React.useCallback(function (elemRect) {\n var contentAnchorOffset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n return {\n vertical: getOffsetTop(elemRect, transformOrigin.vertical) + contentAnchorOffset,\n horizontal: getOffsetLeft(elemRect, transformOrigin.horizontal)\n };\n }, [transformOrigin.horizontal, transformOrigin.vertical]);\n var getPositioningStyle = React.useCallback(function (element) {\n // Check if the parent has requested anchoring on an inner content node\n var contentAnchorOffset = getContentAnchorOffset(element);\n var elemRect = {\n width: element.offsetWidth,\n height: element.offsetHeight\n }; // Get the transform origin point on the element itself\n\n var elemTransformOrigin = getTransformOrigin(elemRect, contentAnchorOffset);\n\n if (anchorReference === 'none') {\n return {\n top: null,\n left: null,\n transformOrigin: getTransformOriginValue(elemTransformOrigin)\n };\n } // Get the offset of of the anchoring element\n\n\n var anchorOffset = getAnchorOffset(contentAnchorOffset); // Calculate element positioning\n\n var top = anchorOffset.top - elemTransformOrigin.vertical;\n var left = anchorOffset.left - elemTransformOrigin.horizontal;\n var bottom = top + elemRect.height;\n var right = left + elemRect.width; // Use the parent window of the anchorEl if provided\n\n var containerWindow = ownerWindow(getAnchorEl(anchorEl)); // Window thresholds taking required margin into account\n\n var heightThreshold = containerWindow.innerHeight - marginThreshold;\n var widthThreshold = containerWindow.innerWidth - marginThreshold; // Check if the vertical axis needs shifting\n\n if (top < marginThreshold) {\n var diff = top - marginThreshold;\n top -= diff;\n elemTransformOrigin.vertical += diff;\n } else if (bottom > heightThreshold) {\n var _diff = bottom - heightThreshold;\n\n top -= _diff;\n elemTransformOrigin.vertical += _diff;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (elemRect.height > heightThreshold && elemRect.height && heightThreshold) {\n console.error(['Material-UI: The popover component is too tall.', \"Some part of it can not be seen on the screen (\".concat(elemRect.height - heightThreshold, \"px).\"), 'Please consider adding a `max-height` to improve the user-experience.'].join('\\n'));\n }\n } // Check if the horizontal axis needs shifting\n\n\n if (left < marginThreshold) {\n var _diff2 = left - marginThreshold;\n\n left -= _diff2;\n elemTransformOrigin.horizontal += _diff2;\n } else if (right > widthThreshold) {\n var _diff3 = right - widthThreshold;\n\n left -= _diff3;\n elemTransformOrigin.horizontal += _diff3;\n }\n\n return {\n top: \"\".concat(Math.round(top), \"px\"),\n left: \"\".concat(Math.round(left), \"px\"),\n transformOrigin: getTransformOriginValue(elemTransformOrigin)\n };\n }, [anchorEl, anchorReference, getAnchorOffset, getContentAnchorOffset, getTransformOrigin, marginThreshold]);\n var setPositioningStyles = React.useCallback(function () {\n var element = paperRef.current;\n\n if (!element) {\n return;\n }\n\n var positioning = getPositioningStyle(element);\n\n if (positioning.top !== null) {\n element.style.top = positioning.top;\n }\n\n if (positioning.left !== null) {\n element.style.left = positioning.left;\n }\n\n element.style.transformOrigin = positioning.transformOrigin;\n }, [getPositioningStyle]);\n\n var handleEntering = function handleEntering(element, isAppearing) {\n if (onEntering) {\n onEntering(element, isAppearing);\n }\n\n setPositioningStyles();\n };\n\n var handlePaperRef = React.useCallback(function (instance) {\n // #StrictMode ready\n paperRef.current = ReactDOM.findDOMNode(instance);\n }, []);\n React.useEffect(function () {\n if (open) {\n setPositioningStyles();\n }\n });\n React.useImperativeHandle(action, function () {\n return open ? {\n updatePosition: function updatePosition() {\n setPositioningStyles();\n }\n } : null;\n }, [open, setPositioningStyles]);\n React.useEffect(function () {\n if (!open) {\n return undefined;\n }\n\n var handleResize = debounce(function () {\n setPositioningStyles();\n });\n window.addEventListener('resize', handleResize);\n return function () {\n handleResize.clear();\n window.removeEventListener('resize', handleResize);\n };\n }, [open, setPositioningStyles]);\n var transitionDuration = transitionDurationProp;\n\n if (transitionDurationProp === 'auto' && !TransitionComponent.muiSupportAuto) {\n transitionDuration = undefined;\n } // If the container prop is provided, use that\n // If the anchorEl prop is provided, use its parent body element as the container\n // If neither are provided let the Modal take care of choosing the container\n\n\n var container = containerProp || (anchorEl ? ownerDocument(getAnchorEl(anchorEl)).body : undefined);\n return /*#__PURE__*/React.createElement(Modal, _extends({\n container: container,\n open: open,\n ref: ref,\n BackdropProps: {\n invisible: true\n },\n className: clsx(classes.root, className)\n }, other), /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n appear: true,\n in: open,\n onEnter: onEnter,\n onEntered: onEntered,\n onExit: onExit,\n onExited: onExited,\n onExiting: onExiting,\n timeout: transitionDuration\n }, TransitionProps, {\n onEntering: createChainedFunction(handleEntering, TransitionProps.onEntering)\n }), /*#__PURE__*/React.createElement(Paper, _extends({\n elevation: elevation,\n ref: handlePaperRef\n }, PaperProps, {\n className: clsx(classes.paper, PaperProps.className)\n }), children)));\n});\nprocess.env.NODE_ENV !== \"production\" ? Popover.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * A ref for imperative actions.\n * It currently only supports updatePosition() action.\n */\n action: refType,\n\n /**\n * A HTML element, or a function that returns it.\n * It's used to set the position of the popover.\n */\n anchorEl: chainPropTypes(PropTypes.oneOfType([HTMLElementType, PropTypes.func]), function (props) {\n if (props.open && (!props.anchorReference || props.anchorReference === 'anchorEl')) {\n var resolvedAnchorEl = getAnchorEl(props.anchorEl);\n\n if (resolvedAnchorEl && resolvedAnchorEl.nodeType === 1) {\n var box = resolvedAnchorEl.getBoundingClientRect();\n\n if (process.env.NODE_ENV !== 'test' && box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {\n return new Error(['Material-UI: The `anchorEl` prop provided to the component is invalid.', 'The anchor element should be part of the document layout.', \"Make sure the element is present in the document or that it's not display none.\"].join('\\n'));\n }\n } else {\n return new Error(['Material-UI: The `anchorEl` prop provided to the component is invalid.', \"It should be an Element instance but it's `\".concat(resolvedAnchorEl, \"` instead.\")].join('\\n'));\n }\n }\n\n return null;\n }),\n\n /**\n * This is the point on the anchor where the popover's\n * `anchorEl` will attach to. This is not used when the\n * anchorReference is 'anchorPosition'.\n *\n * Options:\n * vertical: [top, center, bottom];\n * horizontal: [left, center, right].\n */\n anchorOrigin: PropTypes.shape({\n horizontal: PropTypes.oneOfType([PropTypes.oneOf(['center', 'left', 'right']), PropTypes.number]).isRequired,\n vertical: PropTypes.oneOfType([PropTypes.oneOf(['bottom', 'center', 'top']), PropTypes.number]).isRequired\n }),\n\n /**\n * This is the position that may be used\n * to set the position of the popover.\n * The coordinates are relative to\n * the application's client area.\n */\n anchorPosition: PropTypes.shape({\n left: PropTypes.number.isRequired,\n top: PropTypes.number.isRequired\n }),\n\n /**\n * This determines which anchor prop to refer to to set\n * the position of the popover.\n */\n anchorReference: PropTypes.oneOf(['anchorEl', 'anchorPosition', 'none']),\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * A HTML element, component instance, or function that returns either.\n * The `container` will passed to the Modal component.\n *\n * By default, it uses the body of the anchorEl's top-level document object,\n * so it's simply `document.body` most of the time.\n */\n container: PropTypes\n /* @typescript-to-proptypes-ignore */\n .oneOfType([HTMLElementType, PropTypes.instanceOf(React.Component), PropTypes.func]),\n\n /**\n * The elevation of the popover.\n */\n elevation: PropTypes.number,\n\n /**\n * This function is called in order to retrieve the content anchor element.\n * It's the opposite of the `anchorEl` prop.\n * The content anchor element should be an element inside the popover.\n * It's used to correctly scroll and set the position of the popover.\n * The positioning strategy tries to make the content anchor element just above the\n * anchor element.\n */\n getContentAnchorEl: PropTypes.func,\n\n /**\n * Specifies how close to the edge of the window the popover can appear.\n */\n marginThreshold: PropTypes.number,\n\n /**\n * Callback fired when the component requests to be closed.\n */\n onClose: PropTypes.func,\n\n /**\n * Callback fired before the component is entering.\n */\n onEnter: PropTypes.func,\n\n /**\n * Callback fired when the component has entered.\n */\n onEntered: PropTypes.func,\n\n /**\n * Callback fired when the component is entering.\n */\n onEntering: PropTypes.func,\n\n /**\n * Callback fired before the component is exiting.\n */\n onExit: PropTypes.func,\n\n /**\n * Callback fired when the component has exited.\n */\n onExited: PropTypes.func,\n\n /**\n * Callback fired when the component is exiting.\n */\n onExiting: PropTypes.func,\n\n /**\n * If `true`, the popover is visible.\n */\n open: PropTypes.bool.isRequired,\n\n /**\n * Props applied to the [`Paper`](/api/paper/) element.\n */\n PaperProps: PropTypes\n /* @typescript-to-proptypes-ignore */\n .shape({\n component: elementTypeAcceptingRef\n }),\n\n /**\n * This is the point on the popover which\n * will attach to the anchor's origin.\n *\n * Options:\n * vertical: [top, center, bottom, x(px)];\n * horizontal: [left, center, right, x(px)].\n */\n transformOrigin: PropTypes.shape({\n horizontal: PropTypes.oneOfType([PropTypes.oneOf(['center', 'left', 'right']), PropTypes.number]).isRequired,\n vertical: PropTypes.oneOfType([PropTypes.oneOf(['bottom', 'center', 'top']), PropTypes.number]).isRequired\n }),\n\n /**\n * The component used for the transition.\n * [Follow this guide](/components/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.\n */\n TransitionComponent: PropTypes.elementType,\n\n /**\n * Set to 'auto' to automatically calculate transition time based on height.\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })]),\n\n /**\n * Props applied to the [`Transition`](http://reactcommunity.org/react-transition-group/transition#Transition-props) element.\n */\n TransitionProps: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiPopover'\n})(Popover);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { deepmerge, elementAcceptingRef } from '@material-ui/utils';\nimport { fade } from '../styles/colorManipulator';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nimport Grow from '../Grow';\nimport Popper from '../Popper';\nimport useForkRef from '../utils/useForkRef';\nimport useId from '../utils/unstable_useId';\nimport setRef from '../utils/setRef';\nimport useIsFocusVisible from '../utils/useIsFocusVisible';\nimport useControlled from '../utils/useControlled';\nimport useTheme from '../styles/useTheme';\n\nfunction round(value) {\n return Math.round(value * 1e5) / 1e5;\n}\n\nfunction arrowGenerator() {\n return {\n '&[x-placement*=\"bottom\"] $arrow': {\n top: 0,\n left: 0,\n marginTop: '-0.71em',\n marginLeft: 4,\n marginRight: 4,\n '&::before': {\n transformOrigin: '0 100%'\n }\n },\n '&[x-placement*=\"top\"] $arrow': {\n bottom: 0,\n left: 0,\n marginBottom: '-0.71em',\n marginLeft: 4,\n marginRight: 4,\n '&::before': {\n transformOrigin: '100% 0'\n }\n },\n '&[x-placement*=\"right\"] $arrow': {\n left: 0,\n marginLeft: '-0.71em',\n height: '1em',\n width: '0.71em',\n marginTop: 4,\n marginBottom: 4,\n '&::before': {\n transformOrigin: '100% 100%'\n }\n },\n '&[x-placement*=\"left\"] $arrow': {\n right: 0,\n marginRight: '-0.71em',\n height: '1em',\n width: '0.71em',\n marginTop: 4,\n marginBottom: 4,\n '&::before': {\n transformOrigin: '0 0'\n }\n }\n };\n}\n\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the Popper component. */\n popper: {\n zIndex: theme.zIndex.tooltip,\n pointerEvents: 'none' // disable jss-rtl plugin\n\n },\n\n /* Styles applied to the Popper component if `interactive={true}`. */\n popperInteractive: {\n pointerEvents: 'auto'\n },\n\n /* Styles applied to the Popper component if `arrow={true}`. */\n popperArrow: arrowGenerator(),\n\n /* Styles applied to the tooltip (label wrapper) element. */\n tooltip: {\n backgroundColor: fade(theme.palette.grey[700], 0.9),\n borderRadius: theme.shape.borderRadius,\n color: theme.palette.common.white,\n fontFamily: theme.typography.fontFamily,\n padding: '4px 8px',\n fontSize: theme.typography.pxToRem(10),\n lineHeight: \"\".concat(round(14 / 10), \"em\"),\n maxWidth: 300,\n wordWrap: 'break-word',\n fontWeight: theme.typography.fontWeightMedium\n },\n\n /* Styles applied to the tooltip (label wrapper) element if `arrow={true}`. */\n tooltipArrow: {\n position: 'relative',\n margin: '0'\n },\n\n /* Styles applied to the arrow element. */\n arrow: {\n overflow: 'hidden',\n position: 'absolute',\n width: '1em',\n height: '0.71em'\n /* = width / sqrt(2) = (length of the hypotenuse) */\n ,\n boxSizing: 'border-box',\n color: fade(theme.palette.grey[700], 0.9),\n '&::before': {\n content: '\"\"',\n margin: 'auto',\n display: 'block',\n width: '100%',\n height: '100%',\n backgroundColor: 'currentColor',\n transform: 'rotate(45deg)'\n }\n },\n\n /* Styles applied to the tooltip (label wrapper) element if the tooltip is opened by touch. */\n touch: {\n padding: '8px 16px',\n fontSize: theme.typography.pxToRem(14),\n lineHeight: \"\".concat(round(16 / 14), \"em\"),\n fontWeight: theme.typography.fontWeightRegular\n },\n\n /* Styles applied to the tooltip (label wrapper) element if `placement` contains \"left\". */\n tooltipPlacementLeft: _defineProperty({\n transformOrigin: 'right center',\n margin: '0 24px '\n }, theme.breakpoints.up('sm'), {\n margin: '0 14px'\n }),\n\n /* Styles applied to the tooltip (label wrapper) element if `placement` contains \"right\". */\n tooltipPlacementRight: _defineProperty({\n transformOrigin: 'left center',\n margin: '0 24px'\n }, theme.breakpoints.up('sm'), {\n margin: '0 14px'\n }),\n\n /* Styles applied to the tooltip (label wrapper) element if `placement` contains \"top\". */\n tooltipPlacementTop: _defineProperty({\n transformOrigin: 'center bottom',\n margin: '24px 0'\n }, theme.breakpoints.up('sm'), {\n margin: '14px 0'\n }),\n\n /* Styles applied to the tooltip (label wrapper) element if `placement` contains \"bottom\". */\n tooltipPlacementBottom: _defineProperty({\n transformOrigin: 'center top',\n margin: '24px 0'\n }, theme.breakpoints.up('sm'), {\n margin: '14px 0'\n })\n };\n};\nvar hystersisOpen = false;\nvar hystersisTimer = null;\nexport function testReset() {\n hystersisOpen = false;\n clearTimeout(hystersisTimer);\n}\nvar Tooltip = /*#__PURE__*/React.forwardRef(function Tooltip(props, ref) {\n var _props$arrow = props.arrow,\n arrow = _props$arrow === void 0 ? false : _props$arrow,\n children = props.children,\n classes = props.classes,\n _props$disableFocusLi = props.disableFocusListener,\n disableFocusListener = _props$disableFocusLi === void 0 ? false : _props$disableFocusLi,\n _props$disableHoverLi = props.disableHoverListener,\n disableHoverListener = _props$disableHoverLi === void 0 ? false : _props$disableHoverLi,\n _props$disableTouchLi = props.disableTouchListener,\n disableTouchListener = _props$disableTouchLi === void 0 ? false : _props$disableTouchLi,\n _props$enterDelay = props.enterDelay,\n enterDelay = _props$enterDelay === void 0 ? 100 : _props$enterDelay,\n _props$enterNextDelay = props.enterNextDelay,\n enterNextDelay = _props$enterNextDelay === void 0 ? 0 : _props$enterNextDelay,\n _props$enterTouchDela = props.enterTouchDelay,\n enterTouchDelay = _props$enterTouchDela === void 0 ? 700 : _props$enterTouchDela,\n idProp = props.id,\n _props$interactive = props.interactive,\n interactive = _props$interactive === void 0 ? false : _props$interactive,\n _props$leaveDelay = props.leaveDelay,\n leaveDelay = _props$leaveDelay === void 0 ? 0 : _props$leaveDelay,\n _props$leaveTouchDela = props.leaveTouchDelay,\n leaveTouchDelay = _props$leaveTouchDela === void 0 ? 1500 : _props$leaveTouchDela,\n onClose = props.onClose,\n onOpen = props.onOpen,\n openProp = props.open,\n _props$placement = props.placement,\n placement = _props$placement === void 0 ? 'bottom' : _props$placement,\n _props$PopperComponen = props.PopperComponent,\n PopperComponent = _props$PopperComponen === void 0 ? Popper : _props$PopperComponen,\n PopperProps = props.PopperProps,\n title = props.title,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Grow : _props$TransitionComp,\n TransitionProps = props.TransitionProps,\n other = _objectWithoutProperties(props, [\"arrow\", \"children\", \"classes\", \"disableFocusListener\", \"disableHoverListener\", \"disableTouchListener\", \"enterDelay\", \"enterNextDelay\", \"enterTouchDelay\", \"id\", \"interactive\", \"leaveDelay\", \"leaveTouchDelay\", \"onClose\", \"onOpen\", \"open\", \"placement\", \"PopperComponent\", \"PopperProps\", \"title\", \"TransitionComponent\", \"TransitionProps\"]);\n\n var theme = useTheme();\n\n var _React$useState = React.useState(),\n childNode = _React$useState[0],\n setChildNode = _React$useState[1];\n\n var _React$useState2 = React.useState(null),\n arrowRef = _React$useState2[0],\n setArrowRef = _React$useState2[1];\n\n var ignoreNonTouchEvents = React.useRef(false);\n var closeTimer = React.useRef();\n var enterTimer = React.useRef();\n var leaveTimer = React.useRef();\n var touchTimer = React.useRef();\n\n var _useControlled = useControlled({\n controlled: openProp,\n default: false,\n name: 'Tooltip',\n state: 'open'\n }),\n _useControlled2 = _slicedToArray(_useControlled, 2),\n openState = _useControlled2[0],\n setOpenState = _useControlled2[1];\n\n var open = openState;\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n var _React$useRef = React.useRef(openProp !== undefined),\n isControlled = _React$useRef.current; // eslint-disable-next-line react-hooks/rules-of-hooks\n\n\n React.useEffect(function () {\n if (childNode && childNode.disabled && !isControlled && title !== '' && childNode.tagName.toLowerCase() === 'button') {\n console.error(['Material-UI: You are providing a disabled `button` child to the Tooltip component.', 'A disabled element does not fire events.', \"Tooltip needs to listen to the child element's events to display the title.\", '', 'Add a simple wrapper element, such as a `span`.'].join('\\n'));\n }\n }, [title, childNode, isControlled]);\n }\n\n var id = useId(idProp);\n React.useEffect(function () {\n return function () {\n clearTimeout(closeTimer.current);\n clearTimeout(enterTimer.current);\n clearTimeout(leaveTimer.current);\n clearTimeout(touchTimer.current);\n };\n }, []);\n\n var handleOpen = function handleOpen(event) {\n clearTimeout(hystersisTimer);\n hystersisOpen = true; // The mouseover event will trigger for every nested element in the tooltip.\n // We can skip rerendering when the tooltip is already open.\n // We are using the mouseover event instead of the mouseenter event to fix a hide/show issue.\n\n setOpenState(true);\n\n if (onOpen) {\n onOpen(event);\n }\n };\n\n var handleEnter = function handleEnter() {\n var forward = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n return function (event) {\n var childrenProps = children.props;\n\n if (event.type === 'mouseover' && childrenProps.onMouseOver && forward) {\n childrenProps.onMouseOver(event);\n }\n\n if (ignoreNonTouchEvents.current && event.type !== 'touchstart') {\n return;\n } // Remove the title ahead of time.\n // We don't want to wait for the next render commit.\n // We would risk displaying two tooltips at the same time (native + this one).\n\n\n if (childNode) {\n childNode.removeAttribute('title');\n }\n\n clearTimeout(enterTimer.current);\n clearTimeout(leaveTimer.current);\n\n if (enterDelay || hystersisOpen && enterNextDelay) {\n event.persist();\n enterTimer.current = setTimeout(function () {\n handleOpen(event);\n }, hystersisOpen ? enterNextDelay : enterDelay);\n } else {\n handleOpen(event);\n }\n };\n };\n\n var _useIsFocusVisible = useIsFocusVisible(),\n isFocusVisible = _useIsFocusVisible.isFocusVisible,\n onBlurVisible = _useIsFocusVisible.onBlurVisible,\n focusVisibleRef = _useIsFocusVisible.ref;\n\n var _React$useState3 = React.useState(false),\n childIsFocusVisible = _React$useState3[0],\n setChildIsFocusVisible = _React$useState3[1];\n\n var handleBlur = function handleBlur() {\n if (childIsFocusVisible) {\n setChildIsFocusVisible(false);\n onBlurVisible();\n }\n };\n\n var handleFocus = function handleFocus() {\n var forward = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n return function (event) {\n // Workaround for https://github.com/facebook/react/issues/7769\n // The autoFocus of React might trigger the event before the componentDidMount.\n // We need to account for this eventuality.\n if (!childNode) {\n setChildNode(event.currentTarget);\n }\n\n if (isFocusVisible(event)) {\n setChildIsFocusVisible(true);\n handleEnter()(event);\n }\n\n var childrenProps = children.props;\n\n if (childrenProps.onFocus && forward) {\n childrenProps.onFocus(event);\n }\n };\n };\n\n var handleClose = function handleClose(event) {\n clearTimeout(hystersisTimer);\n hystersisTimer = setTimeout(function () {\n hystersisOpen = false;\n }, 800 + leaveDelay);\n setOpenState(false);\n\n if (onClose) {\n onClose(event);\n }\n\n clearTimeout(closeTimer.current);\n closeTimer.current = setTimeout(function () {\n ignoreNonTouchEvents.current = false;\n }, theme.transitions.duration.shortest);\n };\n\n var handleLeave = function handleLeave() {\n var forward = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n return function (event) {\n var childrenProps = children.props;\n\n if (event.type === 'blur') {\n if (childrenProps.onBlur && forward) {\n childrenProps.onBlur(event);\n }\n\n handleBlur();\n }\n\n if (event.type === 'mouseleave' && childrenProps.onMouseLeave && event.currentTarget === childNode) {\n childrenProps.onMouseLeave(event);\n }\n\n clearTimeout(enterTimer.current);\n clearTimeout(leaveTimer.current);\n event.persist();\n leaveTimer.current = setTimeout(function () {\n handleClose(event);\n }, leaveDelay);\n };\n };\n\n var detectTouchStart = function detectTouchStart(event) {\n ignoreNonTouchEvents.current = true;\n var childrenProps = children.props;\n\n if (childrenProps.onTouchStart) {\n childrenProps.onTouchStart(event);\n }\n };\n\n var handleTouchStart = function handleTouchStart(event) {\n detectTouchStart(event);\n clearTimeout(leaveTimer.current);\n clearTimeout(closeTimer.current);\n clearTimeout(touchTimer.current);\n event.persist();\n touchTimer.current = setTimeout(function () {\n handleEnter()(event);\n }, enterTouchDelay);\n };\n\n var handleTouchEnd = function handleTouchEnd(event) {\n if (children.props.onTouchEnd) {\n children.props.onTouchEnd(event);\n }\n\n clearTimeout(touchTimer.current);\n clearTimeout(leaveTimer.current);\n event.persist();\n leaveTimer.current = setTimeout(function () {\n handleClose(event);\n }, leaveTouchDelay);\n };\n\n var handleUseRef = useForkRef(setChildNode, ref);\n var handleFocusRef = useForkRef(focusVisibleRef, handleUseRef); // can be removed once we drop support for non ref forwarding class components\n\n var handleOwnRef = React.useCallback(function (instance) {\n // #StrictMode ready\n setRef(handleFocusRef, ReactDOM.findDOMNode(instance));\n }, [handleFocusRef]);\n var handleRef = useForkRef(children.ref, handleOwnRef); // There is no point in displaying an empty tooltip.\n\n if (title === '') {\n open = false;\n } // For accessibility and SEO concerns, we render the title to the DOM node when\n // the tooltip is hidden. However, we have made a tradeoff when\n // `disableHoverListener` is set. This title logic is disabled.\n // It's allowing us to keep the implementation size minimal.\n // We are open to change the tradeoff.\n\n\n var shouldShowNativeTitle = !open && !disableHoverListener;\n\n var childrenProps = _extends({\n 'aria-describedby': open ? id : null,\n title: shouldShowNativeTitle && typeof title === 'string' ? title : null\n }, other, children.props, {\n className: clsx(other.className, children.props.className),\n onTouchStart: detectTouchStart,\n ref: handleRef\n });\n\n var interactiveWrapperListeners = {};\n\n if (!disableTouchListener) {\n childrenProps.onTouchStart = handleTouchStart;\n childrenProps.onTouchEnd = handleTouchEnd;\n }\n\n if (!disableHoverListener) {\n childrenProps.onMouseOver = handleEnter();\n childrenProps.onMouseLeave = handleLeave();\n\n if (interactive) {\n interactiveWrapperListeners.onMouseOver = handleEnter(false);\n interactiveWrapperListeners.onMouseLeave = handleLeave(false);\n }\n }\n\n if (!disableFocusListener) {\n childrenProps.onFocus = handleFocus();\n childrenProps.onBlur = handleLeave();\n\n if (interactive) {\n interactiveWrapperListeners.onFocus = handleFocus(false);\n interactiveWrapperListeners.onBlur = handleLeave(false);\n }\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (children.props.title) {\n console.error(['Material-UI: You have provided a `title` prop to the child of .', \"Remove this title prop `\".concat(children.props.title, \"` or the Tooltip component.\")].join('\\n'));\n }\n }\n\n var mergedPopperProps = React.useMemo(function () {\n return deepmerge({\n popperOptions: {\n modifiers: {\n arrow: {\n enabled: Boolean(arrowRef),\n element: arrowRef\n }\n }\n }\n }, PopperProps);\n }, [arrowRef, PopperProps]);\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.cloneElement(children, childrenProps), /*#__PURE__*/React.createElement(PopperComponent, _extends({\n className: clsx(classes.popper, interactive && classes.popperInteractive, arrow && classes.popperArrow),\n placement: placement,\n anchorEl: childNode,\n open: childNode ? open : false,\n id: childrenProps['aria-describedby'],\n transition: true\n }, interactiveWrapperListeners, mergedPopperProps), function (_ref) {\n var placementInner = _ref.placement,\n TransitionPropsInner = _ref.TransitionProps;\n return /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n timeout: theme.transitions.duration.shorter\n }, TransitionPropsInner, TransitionProps), /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(classes.tooltip, classes[\"tooltipPlacement\".concat(capitalize(placementInner.split('-')[0]))], ignoreNonTouchEvents.current && classes.touch, arrow && classes.tooltipArrow)\n }, title, arrow ? /*#__PURE__*/React.createElement(\"span\", {\n className: classes.arrow,\n ref: setArrowRef\n }) : null));\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? Tooltip.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * If `true`, adds an arrow to the tooltip.\n */\n arrow: PropTypes.bool,\n\n /**\n * Tooltip reference element.\n */\n children: elementAcceptingRef.isRequired,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * Do not respond to focus events.\n */\n disableFocusListener: PropTypes.bool,\n\n /**\n * Do not respond to hover events.\n */\n disableHoverListener: PropTypes.bool,\n\n /**\n * Do not respond to long press touch events.\n */\n disableTouchListener: PropTypes.bool,\n\n /**\n * The number of milliseconds to wait before showing the tooltip.\n * This prop won't impact the enter touch delay (`enterTouchDelay`).\n */\n enterDelay: PropTypes.number,\n\n /**\n * The number of milliseconds to wait before showing the tooltip when one was already recently opened.\n */\n enterNextDelay: PropTypes.number,\n\n /**\n * The number of milliseconds a user must touch the element before showing the tooltip.\n */\n enterTouchDelay: PropTypes.number,\n\n /**\n * This prop is used to help implement the accessibility logic.\n * If you don't provide this prop. It falls back to a randomly generated id.\n */\n id: PropTypes.string,\n\n /**\n * Makes a tooltip interactive, i.e. will not close when the user\n * hovers over the tooltip before the `leaveDelay` is expired.\n */\n interactive: PropTypes.bool,\n\n /**\n * The number of milliseconds to wait before hiding the tooltip.\n * This prop won't impact the leave touch delay (`leaveTouchDelay`).\n */\n leaveDelay: PropTypes.number,\n\n /**\n * The number of milliseconds after the user stops touching an element before hiding the tooltip.\n */\n leaveTouchDelay: PropTypes.number,\n\n /**\n * Callback fired when the component requests to be closed.\n *\n * @param {object} event The event source of the callback.\n */\n onClose: PropTypes.func,\n\n /**\n * Callback fired when the component requests to be open.\n *\n * @param {object} event The event source of the callback.\n */\n onOpen: PropTypes.func,\n\n /**\n * If `true`, the tooltip is shown.\n */\n open: PropTypes.bool,\n\n /**\n * Tooltip placement.\n */\n placement: PropTypes.oneOf(['bottom-end', 'bottom-start', 'bottom', 'left-end', 'left-start', 'left', 'right-end', 'right-start', 'right', 'top-end', 'top-start', 'top']),\n\n /**\n * The component used for the popper.\n */\n PopperComponent: PropTypes.elementType,\n\n /**\n * Props applied to the [`Popper`](/api/popper/) element.\n */\n PopperProps: PropTypes.object,\n\n /**\n * Tooltip title. Zero-length titles string are never displayed.\n */\n title: PropTypes\n /* @typescript-to-proptypes-ignore */\n .node.isRequired,\n\n /**\n * The component used for the transition.\n * [Follow this guide](/components/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.\n */\n TransitionComponent: PropTypes.elementType,\n\n /**\n * Props applied to the [`Transition`](http://reactcommunity.org/react-transition-group/transition#Transition-props) element.\n */\n TransitionProps: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTooltip',\n flip: false\n})(Tooltip);","export const commonMenuItems = [\r\n {\r\n id: 1,\r\n name: \"Basic\",\r\n desc: \"BasicOpis\",\r\n tip: \"BasicTip\",\r\n link: \"/basic\",\r\n },\r\n {\r\n id: 2,\r\n name: \"Advanced\",\r\n link: \"/Advanced\",\r\n desc: \"AdvancedOpis\",\r\n tip: \"AdvancedTip\",\r\n },\r\n {\r\n id: 3,\r\n name: \"KnowledgeBase\",\r\n link: \"/KnowledgeBase\",\r\n desc: \"KnowledgeBaseOpis\",\r\n tip: \"KnowledgeBaseTip\",\r\n children: [\r\n {\r\n id: 30,\r\n name: \"FAQ\",\r\n link: \"/KnowledgeBase/Pytania\",\r\n desc: \"FAQOpis\",\r\n tip: \"FAQTip\",\r\n hideInMenu: true\r\n },\r\n ]\r\n },\r\n {\r\n id: 4,\r\n name: \"MetaInfo\",\r\n link: \"/MetaInfo\",\r\n desc: \"MetaInfoOpis\",\r\n tip: \"MetaInfoTip\",\r\n },\r\n {\r\n id: 5,\r\n name: \"Informacje\",\r\n link: \"\",\r\n desc: \"InformacjeOpis\",\r\n tip: \"InformacjeTip\",\r\n children: [\r\n {\r\n id: 50,\r\n name: \"Informacje_o_SMUP\",\r\n link: \"/ProjektSmup\",\r\n desc: \"Informacje_o_SMUPOpis\",\r\n tip: \"Informacje_o_SMUPTip\",\r\n },\r\n {\r\n id: 51,\r\n name: \"O_systemie\",\r\n link: \"\",\r\n desc: \"O_systemieOpis\",\r\n tip: \"O_systemieTip\",\r\n children: [\r\n {\r\n id: 511,\r\n name: \"Informacje_ogólne_o_SMUP\",\r\n link: \"/ProjektSmup/Smup#O_Systemie\",\r\n desc: \"Informacje_ogólne_o_SMUPOpis\",\r\n tip: \"Informacje_ogólne_o_SMUPTip\",\r\n section: true\r\n },\r\n {\r\n id: 512,\r\n name: \"Dla_kogo_budujemy_SMUP\",\r\n link: \"/ProjektSmup/Smup#Dla_kogo_budujemy_SMUP\",\r\n desc: \"Dla_kogo_budujemy_SMUPOpis\",\r\n tip: \"Dla_kogo_budujemy_SMUPTip\",\r\n section: true\r\n },\r\n {\r\n id: 513,\r\n name: \"Jak_będziemy_monitorować_usługi\",\r\n link: \"/ProjektSmup/Smup#Jak_bedziemy_monitorowac_uslugi\",\r\n desc: \"Jak_będziemy_monitorować_usługiOpis\",\r\n tip: \"Jak_będziemy_monitorować_usługiTip\",\r\n section: true\r\n },\r\n {\r\n id: 514,\r\n name: \"Co_monitorujemy\",\r\n link: \"/ProjektSmup/Smup#Co_monitorujemy\",\r\n desc: \"Co_monitorujemyOpis\",\r\n tip: \"Co_monitorujemyTip\",\r\n section: true\r\n },\r\n ],\r\n },\r\n {\r\n id: 52,\r\n name: \"O_projekcie\",\r\n link: \"\",\r\n desc: \"O_projekcieOpis\",\r\n tip: \"O_projekcieTip\",\r\n children: [\r\n {\r\n id: 521,\r\n name: \"Cel_projektu\",\r\n link: \"/ProjektSmup/O_projekcie#Cel_projektu\",\r\n desc: \"Cel_projektuOpis\",\r\n tip: \"Cel_projektuTip\",\r\n section: true\r\n },\r\n {\r\n id: 522,\r\n name: \"Kto_realizuje_projekt\",\r\n link: \"/ProjektSmup/O_projekcie#Kto_realizuje_projekt\",\r\n desc: \"Kto_realizuje_projektOpis\",\r\n tip: \"Kto_realizuje_projektTip\",\r\n section: true\r\n },\r\n {\r\n id: 523,\r\n name: \"Etapy_projektu\",\r\n link: \"/ProjektSmup/O_projekcie#Etapy_projektu\",\r\n desc: \"Etapy_projektuOpis\",\r\n tip: \"Etapy_projektuTip\",\r\n section: true\r\n },\r\n {\r\n id: 524,\r\n name: \"Metryczka_projektu\",\r\n link: \"/ProjektSmup/O_projekcie#Metryczka_projektu\",\r\n desc: \"Metryczka_projektuOpis\",\r\n tip: \"Metryczka_projektuTip\",\r\n section: true\r\n },\r\n ],\r\n },\r\n {\r\n id: 53,\r\n name: \"Aktualności\",\r\n link: \"/ProjektSmup/Aktualnosci\",\r\n desc: \"AktualnościOpis\",\r\n tip: \"AktualnościTip\",\r\n },\r\n {\r\n id: 54,\r\n name: \"Konferencje\",\r\n link: \"/ProjektSmup/Konferencje\",\r\n desc: \"KonferencjeOpis\",\r\n tip: \"KonferencjeTip\",\r\n },\r\n {\r\n id: 55,\r\n name: \"Webinaria\",\r\n link: \"/ProjektSmup/Webinaria\",\r\n desc: \"WebinariaOpis\",\r\n tip: \"WebinariaTip\",\r\n },\r\n ],\r\n },\r\n {\r\n id: 7,\r\n name: \"API\",\r\n link: \"https://api.smup.gov.pl/apidocs/index.html\",\r\n target: \"_blank\",\r\n desc: \"APIOpis\",\r\n tip: \"APITip\",\r\n external: true,\r\n ariaLabel: \"API. Strona otworzy się w nowej zakładce. Uwaga - opuścisz Portal SMUP\",\r\n },\r\n {\r\n id: 6,\r\n name: \"Kontakt\",\r\n link: \"/Kontakt\",\r\n desc: \"KontaktOpis\",\r\n tip: \"KontaktTip\",\r\n },\r\n // {\r\n // id: 7,\r\n // name: 'Zaloguj_sie',\r\n // link: '#',\r\n // onClick: 'login'\r\n // }\r\n];\r\n\r\n// t('mainmenu.StronaGłówna')\r\n// t('mainmenu.InfoPage')\r\n// t('mainmenu.Basic')\r\n// t('mainmenu.Advanced')\r\n// t('mainmenu.KnowledgeBase')\r\n// t('mainmenu.FAQ')\r\n// t('mainmenu.MetaInfo')\r\n// t('mainmenu.Kontakt')\r\n// t('mainmenu.Deklaracja_dostepnosci')\r\n// t('mainmenu.Strona_Przykładowa_1')\r\n// t('mainmenu.Strona_Przykładowa_2')\r\n// t('mainmenu.Informacje_ogólne')\r\n// t('mainmenu.SMUP')\r\n// t('mainmenu.O_SMUP')\r\n// t('mainmenu.Informacje')\r\n// t('mainmenu.Informacje_o_SMUP')\r\n// t('mainmenu.O_systemie')\r\n// t('mainmenu.Informacje_ogólne_o_SMUP')\r\n// t('mainmenu.Dla_kogo_budujemy_SMUP')\r\n// t('mainmenu.Jak_będziemy_monitorować_usługi')\r\n// t('mainmenu.Co_monitorujemy')\r\n// t('mainmenu.O_projekcie')\r\n// t('mainmenu.Cel_projektu')\r\n// t('mainmenu.Kto_realizuje_projekt')\r\n// t('mainmenu.Etapy_projektu')\r\n// t('mainmenu.Metryczka_projektu')\r\n// t('mainmenu.Aktualności')\r\n// t('mainmenu.Konferencje')\r\n// t('mainmenu.Webinaria')\r\n// t('mainmenu.Zaloguj_sie')\r\n// t('mainmenu.API')\r\n\r\n// t('mainmenu.StronaGłównaOpis')\r\n// t('mainmenu.InfoPageOpis')\r\n// t('mainmenu.BasicOpis')\r\n// t('mainmenu.AdvancedOpis')\r\n// t('mainmenu.KnowledgeBaseOpis')\r\n// t('mainmenu.FAQOpis')\r\n// t('mainmenu.MetaInfoOpis')\r\n// t('mainmenu.KontaktOpis')\r\n// t('mainmenu.Deklaracja_dostepnosciOpis')\r\n// t('mainmenu.Strona_Przykładowa_1Opis')\r\n// t('mainmenu.Strona_Przykładowa_2Opis')\r\n// t('mainmenu.Informacje_ogólneOpis')\r\n// t('mainmenu.SMUPOpis',\"\")\r\n// t('mainmenu.O_SMUPOpis',\"\")\r\n// t('mainmenu.InformacjeOpis',\"\")\r\n// t('mainmenu.Informacje_o_SMUPOpis')\r\n// t('mainmenu.O_systemieOpis')\r\n// t('mainmenu.Informacje_ogólne_o_SMUPOpis')\r\n// t('mainmenu.Dla_kogo_budujemy_SMUPOpis')\r\n// t('mainmenu.Jak_będziemy_monitorować_usługiOpis')\r\n// t('mainmenu.Co_monitorujemyOpis')\r\n// t('mainmenu.O_projekcieOpis')\r\n// t('mainmenu.Cel_projektuOpis')\r\n// t('mainmenu.Kto_realizuje_projektOpis')\r\n// t('mainmenu.Etapy_projektuOpis')\r\n// t('mainmenu.Metryczka_projektuOpis')\r\n// t('mainmenu.AktualnościOpis')\r\n// t('mainmenu.KonferencjeOpis')\r\n// t('mainmenu.WebinariaOpis')\r\n// t('mainmenu.Zaloguj_sieOpis')\r\n// t('mainmenu.APIOpis')\r\n\r\n// t('mainmenu.StronaGłównaTip')\r\n// t('mainmenu.InfoPageTip')\r\n// t('mainmenu.BasicTip')\r\n// t('mainmenu.AdvancedTip')\r\n// t('mainmenu.KnowledgeBaseTip')\r\n// t('mainmenu.FAQTip')\r\n// t('mainmenu.MetaInfoTip')\r\n// t('mainmenu.KontaktTip')\r\n// t('mainmenu.Deklaracja_dostepnosciTip')\r\n// t('mainmenu.Strona_Przykładowa_1Tip')\r\n// t('mainmenu.Strona_Przykładowa_2Tip')\r\n// t('mainmenu.Informacje_ogólneTip')\r\n// t('mainmenu.SMUPTip',\"\")\r\n// t('mainmenu.O_SMUPTip',\"\")\r\n// t('mainmenu.InformacjeTip',\"\")\r\n// t('mainmenu.Informacje_o_SMUPTip')\r\n// t('mainmenu.O_systemieTip')\r\n// t('mainmenu.Informacje_ogólne_o_SMUPTip')\r\n// t('mainmenu.Dla_kogo_budujemy_SMUPTip')\r\n// t('mainmenu.Jak_będziemy_monitorować_usługiTip')\r\n// t('mainmenu.Co_monitorujemyTip')\r\n// t('mainmenu.O_projekcieTip')\r\n// t('mainmenu.Cel_projektuTip')\r\n// t('mainmenu.Kto_realizuje_projektTip')\r\n// t('mainmenu.Etapy_projektuTip')\r\n// t('mainmenu.Metryczka_projektuTip')\r\n// t('mainmenu.AktualnościTip')\r\n// t('mainmenu.KonferencjeTip')\r\n// t('mainmenu.WebinariaTip')\r\n// t('mainmenu.Zaloguj_sieTip')\r\n// t('mainmenu.APITip')\r\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n userSelect: 'none',\n width: '1em',\n height: '1em',\n display: 'inline-block',\n fill: 'currentColor',\n flexShrink: 0,\n fontSize: theme.typography.pxToRem(24),\n transition: theme.transitions.create('fill', {\n duration: theme.transitions.duration.shorter\n })\n },\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n color: theme.palette.primary.main\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n color: theme.palette.secondary.main\n },\n\n /* Styles applied to the root element if `color=\"action\"`. */\n colorAction: {\n color: theme.palette.action.active\n },\n\n /* Styles applied to the root element if `color=\"error\"`. */\n colorError: {\n color: theme.palette.error.main\n },\n\n /* Styles applied to the root element if `color=\"disabled\"`. */\n colorDisabled: {\n color: theme.palette.action.disabled\n },\n\n /* Styles applied to the root element if `fontSize=\"inherit\"`. */\n fontSizeInherit: {\n fontSize: 'inherit'\n },\n\n /* Styles applied to the root element if `fontSize=\"small\"`. */\n fontSizeSmall: {\n fontSize: theme.typography.pxToRem(20)\n },\n\n /* Styles applied to the root element if `fontSize=\"large\"`. */\n fontSizeLarge: {\n fontSize: theme.typography.pxToRem(35)\n }\n };\n};\nvar SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'inherit' : _props$color,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'svg' : _props$component,\n _props$fontSize = props.fontSize,\n fontSize = _props$fontSize === void 0 ? 'default' : _props$fontSize,\n htmlColor = props.htmlColor,\n titleAccess = props.titleAccess,\n _props$viewBox = props.viewBox,\n viewBox = _props$viewBox === void 0 ? '0 0 24 24' : _props$viewBox,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"color\", \"component\", \"fontSize\", \"htmlColor\", \"titleAccess\", \"viewBox\"]);\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, color !== 'inherit' && classes[\"color\".concat(capitalize(color))], fontSize !== 'default' && classes[\"fontSize\".concat(capitalize(fontSize))]),\n focusable: \"false\",\n viewBox: viewBox,\n color: htmlColor,\n \"aria-hidden\": titleAccess ? undefined : true,\n role: titleAccess ? 'img' : undefined,\n ref: ref\n }, other), children, titleAccess ? /*#__PURE__*/React.createElement(\"title\", null, titleAccess) : null);\n});\nprocess.env.NODE_ENV !== \"production\" ? SvgIcon.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Node passed into the SVG element.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n * You can use the `htmlColor` prop to apply a color attribute to the SVG element.\n */\n color: PropTypes.oneOf(['action', 'disabled', 'error', 'inherit', 'primary', 'secondary']),\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes\n /* @typescript-to-proptypes-ignore */\n .elementType,\n\n /**\n * The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.\n */\n fontSize: PropTypes.oneOf(['default', 'inherit', 'large', 'small']),\n\n /**\n * Applies a color attribute to the SVG element.\n */\n htmlColor: PropTypes.string,\n\n /**\n * The shape-rendering attribute. The behavior of the different options is described on the\n * [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering).\n * If you are having issues with blurry icons you should investigate this property.\n */\n shapeRendering: PropTypes.string,\n\n /**\n * Provides a human-readable title for the element that contains it.\n * https://www.w3.org/TR/SVG-access/#Equivalent\n */\n titleAccess: PropTypes.string,\n\n /**\n * Allows you to redefine what the coordinates without units mean inside an SVG element.\n * For example, if the SVG element is 500 (width) by 200 (height),\n * and you pass viewBox=\"0 0 50 20\",\n * this means that the coordinates inside the SVG will go from the top left corner (0,0)\n * to bottom right (50,20) and each unit will be worth 10px.\n */\n viewBox: PropTypes.string\n} : void 0;\nSvgIcon.muiName = 'SvgIcon';\nexport default withStyles(styles, {\n name: 'MuiSvgIcon'\n})(SvgIcon);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n margin: 0\n },\n\n /* Styles applied to the root element if `variant=\"body2\"`. */\n body2: theme.typography.body2,\n\n /* Styles applied to the root element if `variant=\"body1\"`. */\n body1: theme.typography.body1,\n\n /* Styles applied to the root element if `variant=\"caption\"`. */\n caption: theme.typography.caption,\n\n /* Styles applied to the root element if `variant=\"button\"`. */\n button: theme.typography.button,\n\n /* Styles applied to the root element if `variant=\"h1\"`. */\n h1: theme.typography.h1,\n\n /* Styles applied to the root element if `variant=\"h2\"`. */\n h2: theme.typography.h2,\n\n /* Styles applied to the root element if `variant=\"h3\"`. */\n h3: theme.typography.h3,\n\n /* Styles applied to the root element if `variant=\"h4\"`. */\n h4: theme.typography.h4,\n\n /* Styles applied to the root element if `variant=\"h5\"`. */\n h5: theme.typography.h5,\n\n /* Styles applied to the root element if `variant=\"h6\"`. */\n h6: theme.typography.h6,\n\n /* Styles applied to the root element if `variant=\"subtitle1\"`. */\n subtitle1: theme.typography.subtitle1,\n\n /* Styles applied to the root element if `variant=\"subtitle2\"`. */\n subtitle2: theme.typography.subtitle2,\n\n /* Styles applied to the root element if `variant=\"overline\"`. */\n overline: theme.typography.overline,\n\n /* Styles applied to the root element if `variant=\"srOnly\"`. Only accessible to screen readers. */\n srOnly: {\n position: 'absolute',\n height: 1,\n width: 1,\n overflow: 'hidden'\n },\n\n /* Styles applied to the root element if `align=\"left\"`. */\n alignLeft: {\n textAlign: 'left'\n },\n\n /* Styles applied to the root element if `align=\"center\"`. */\n alignCenter: {\n textAlign: 'center'\n },\n\n /* Styles applied to the root element if `align=\"right\"`. */\n alignRight: {\n textAlign: 'right'\n },\n\n /* Styles applied to the root element if `align=\"justify\"`. */\n alignJustify: {\n textAlign: 'justify'\n },\n\n /* Styles applied to the root element if `nowrap={true}`. */\n noWrap: {\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap'\n },\n\n /* Styles applied to the root element if `gutterBottom={true}`. */\n gutterBottom: {\n marginBottom: '0.35em'\n },\n\n /* Styles applied to the root element if `paragraph={true}`. */\n paragraph: {\n marginBottom: 16\n },\n\n /* Styles applied to the root element if `color=\"inherit\"`. */\n colorInherit: {\n color: 'inherit'\n },\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n color: theme.palette.primary.main\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n color: theme.palette.secondary.main\n },\n\n /* Styles applied to the root element if `color=\"textPrimary\"`. */\n colorTextPrimary: {\n color: theme.palette.text.primary\n },\n\n /* Styles applied to the root element if `color=\"textSecondary\"`. */\n colorTextSecondary: {\n color: theme.palette.text.secondary\n },\n\n /* Styles applied to the root element if `color=\"error\"`. */\n colorError: {\n color: theme.palette.error.main\n },\n\n /* Styles applied to the root element if `display=\"inline\"`. */\n displayInline: {\n display: 'inline'\n },\n\n /* Styles applied to the root element if `display=\"block\"`. */\n displayBlock: {\n display: 'block'\n }\n };\n};\nvar defaultVariantMapping = {\n h1: 'h1',\n h2: 'h2',\n h3: 'h3',\n h4: 'h4',\n h5: 'h5',\n h6: 'h6',\n subtitle1: 'h6',\n subtitle2: 'h6',\n body1: 'p',\n body2: 'p'\n};\nvar Typography = /*#__PURE__*/React.forwardRef(function Typography(props, ref) {\n var _props$align = props.align,\n align = _props$align === void 0 ? 'inherit' : _props$align,\n classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'initial' : _props$color,\n component = props.component,\n _props$display = props.display,\n display = _props$display === void 0 ? 'initial' : _props$display,\n _props$gutterBottom = props.gutterBottom,\n gutterBottom = _props$gutterBottom === void 0 ? false : _props$gutterBottom,\n _props$noWrap = props.noWrap,\n noWrap = _props$noWrap === void 0 ? false : _props$noWrap,\n _props$paragraph = props.paragraph,\n paragraph = _props$paragraph === void 0 ? false : _props$paragraph,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'body1' : _props$variant,\n _props$variantMapping = props.variantMapping,\n variantMapping = _props$variantMapping === void 0 ? defaultVariantMapping : _props$variantMapping,\n other = _objectWithoutProperties(props, [\"align\", \"classes\", \"className\", \"color\", \"component\", \"display\", \"gutterBottom\", \"noWrap\", \"paragraph\", \"variant\", \"variantMapping\"]);\n\n var Component = component || (paragraph ? 'p' : variantMapping[variant] || defaultVariantMapping[variant]) || 'span';\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, variant !== 'inherit' && classes[variant], color !== 'initial' && classes[\"color\".concat(capitalize(color))], noWrap && classes.noWrap, gutterBottom && classes.gutterBottom, paragraph && classes.paragraph, align !== 'inherit' && classes[\"align\".concat(capitalize(align))], display !== 'initial' && classes[\"display\".concat(capitalize(display))]),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Typography.propTypes = {\n /**\n * Set the text-align on the component.\n */\n align: PropTypes.oneOf(['inherit', 'left', 'center', 'right', 'justify']),\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['initial', 'inherit', 'primary', 'secondary', 'textPrimary', 'textSecondary', 'error']),\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n * Overrides the behavior of the `variantMapping` prop.\n */\n component: PropTypes\n /* @typescript-to-proptypes-ignore */\n .elementType,\n\n /**\n * Controls the display type\n */\n display: PropTypes.oneOf(['initial', 'block', 'inline']),\n\n /**\n * If `true`, the text will have a bottom margin.\n */\n gutterBottom: PropTypes.bool,\n\n /**\n * If `true`, the text will not wrap, but instead will truncate with a text overflow ellipsis.\n *\n * Note that text overflow can only happen with block or inline-block level elements\n * (the element needs to have a width in order to overflow).\n */\n noWrap: PropTypes.bool,\n\n /**\n * If `true`, the text will have a bottom margin.\n */\n paragraph: PropTypes.bool,\n\n /**\n * Applies the theme typography styles.\n */\n variant: PropTypes.oneOf(['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'subtitle1', 'subtitle2', 'body1', 'body2', 'caption', 'button', 'overline', 'srOnly', 'inherit']),\n\n /**\n * The component maps the variant prop to a range of different HTML element types.\n * For instance, subtitle1 to `
`.\n * If you wish to change that mapping, you can provide your own.\n * Alternatively, you can use the `component` prop.\n */\n variantMapping: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTypography'\n})(Typography);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport ListContext from './ListContext';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n listStyle: 'none',\n margin: 0,\n padding: 0,\n position: 'relative'\n },\n\n /* Styles applied to the root element if `disablePadding={false}`. */\n padding: {\n paddingTop: 8,\n paddingBottom: 8\n },\n\n /* Styles applied to the root element if dense. */\n dense: {},\n\n /* Styles applied to the root element if a `subheader` is provided. */\n subheader: {\n paddingTop: 0\n }\n};\nvar List = /*#__PURE__*/React.forwardRef(function List(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'ul' : _props$component,\n _props$dense = props.dense,\n dense = _props$dense === void 0 ? false : _props$dense,\n _props$disablePadding = props.disablePadding,\n disablePadding = _props$disablePadding === void 0 ? false : _props$disablePadding,\n subheader = props.subheader,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"component\", \"dense\", \"disablePadding\", \"subheader\"]);\n\n var context = React.useMemo(function () {\n return {\n dense: dense\n };\n }, [dense]);\n return /*#__PURE__*/React.createElement(ListContext.Provider, {\n value: context\n }, /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, dense && classes.dense, !disablePadding && classes.padding, subheader && classes.subheader),\n ref: ref\n }, other), subheader, children));\n});\nprocess.env.NODE_ENV !== \"production\" ? List.propTypes = {\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes\n /* @typescript-to-proptypes-ignore */\n .elementType,\n\n /**\n * If `true`, compact vertical padding designed for keyboard and mouse input will be used for\n * the list and list items.\n * The prop is available to descendant components as the `dense` context.\n */\n dense: PropTypes.bool,\n\n /**\n * If `true`, vertical padding will be removed from the list.\n */\n disablePadding: PropTypes.bool,\n\n /**\n * The content of the subheader, normally `ListSubheader`.\n */\n subheader: PropTypes.node\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiList'\n})(List);","/** @license\r\n *\r\n * Colour Palette Generator script.\r\n * Copyright (c) 2014 Google Inc.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may\r\n * not use this file except in compliance with the License. You may\r\n * obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\r\n * implied. See the License for the specific language governing\r\n * permissions and limitations under the License.\r\n *\r\n * Furthermore, ColorBrewer colour schemes are covered by the following:\r\n *\r\n * Copyright (c) 2002 Cynthia Brewer, Mark Harrower, and\r\n * The Pennsylvania State University.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may\r\n * not use this file except in compliance with the License. You may obtain\r\n * a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\r\n * implied. See the License for the specific language governing\r\n * permissions and limitations under the License.\r\n *\r\n * Redistribution and use in source and binary forms, with or without\r\n * modification, are permitted provided that the following conditions are\r\n * met:\r\n *\r\n * 1. Redistributions as source code must retain the above copyright\r\n * notice, this list of conditions and the following disclaimer.\r\n *\r\n * 2. The end-user documentation included with the redistribution, if any,\r\n * must include the following acknowledgment: \"This product includes color\r\n * specifications and designs developed by Cynthia Brewer\r\n * (http://colorbrewer.org/).\" Alternately, this acknowledgment may appear\r\n * in the software itself, if and wherever such third-party\r\n * acknowledgments normally appear.\r\n *\r\n * 4. The name \"ColorBrewer\" must not be used to endorse or promote products\r\n * derived from this software without prior written permission. For written\r\n * permission, please contact Cynthia Brewer at cbrewer@psu.edu.\r\n *\r\n * 5. Products derived from this software may not be called \"ColorBrewer\",\r\n * nor may \"ColorBrewer\" appear in their name, without prior written\r\n * permission of Cynthia Brewer.\r\n *\r\n * Furthermore, Solarized colour schemes are covered by the following:\r\n *\r\n * Copyright (c) 2011 Ethan Schoonover\r\n *\r\n * Permission is hereby granted, free of charge, to any person obtaining\r\n * a copy of this software and associated documentation files (the\r\n * \"Software\"), to deal in the Software without restriction, including\r\n * without limitation the rights to use, copy, modify, merge, publish,\r\n * distribute, sublicense, and/or sell copies of the Software, and to\r\n * permit persons to whom the Software is furnished to do so, subject to\r\n * the following conditions:\r\n *\r\n * The above copyright notice and this permission notice shall be included\r\n * in all copies or substantial portions of the Software.\r\n *\r\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\r\n * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r\n * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r\n * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\r\n * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\r\n * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\r\n * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n */\r\n// eslint-disable-next-line\r\n'use strict';\r\n\r\nvar palette = (function() {\r\n\r\n var proto = Array.prototype;\r\n var slice = function(arr, opt_begin, opt_end) {\r\n return proto.slice.apply(arr, proto.slice.call(arguments, 1));\r\n };\r\n\r\n var extend = function(arr, arr2) {\r\n return proto.push.apply(arr, arr2);\r\n };\r\n\r\n var function_type = typeof function() {};\r\n\r\n var INF = 1000000000; // As far as we're concerned, that's infinity. ;)\r\n\r\n\r\n /**\r\n * Generate a colour palette from given scheme.\r\n *\r\n * If scheme argument is not a function it is passed to palettes.listSchemes\r\n * function (along with the number argument). This may result in an array\r\n * of more than one available scheme. If that is the case, scheme at\r\n * opt_index position is taken.\r\n *\r\n * This allows using different palettes for different data without having to\r\n * name the schemes specifically, for example:\r\n *\r\n * palette_for_foo = palette('sequential', 10, 0);\r\n * palette_for_bar = palette('sequential', 10, 1);\r\n * palette_for_baz = palette('sequential', 10, 2);\r\n *\r\n * @param {!palette.SchemeType|string|palette.Palette} scheme Scheme to\r\n * generate palette for. Either a function constructed with\r\n * palette.Scheme object, or anything that palette.listSchemes accepts\r\n * as name argument.\r\n * @param {number} number Number of colours to return. If negative, absolute\r\n * value is taken and colours will be returned in reverse order.\r\n * @param {number=} opt_index If scheme is a name of a group or an array and\r\n * results in more than one scheme, index of the scheme to use. The\r\n * index wraps around.\r\n * @param {...*} varargs Additional arguments to pass to palette or colour\r\n * generator (if the chosen scheme uses those).\r\n * @return {Array} Array of abs(number) 'RRGGBB' strings or null if\r\n * no matching scheme was found.\r\n */\r\n var palette = function(scheme, number, opt_index, varargs) {\r\n number |= 0;\r\n // eslint-disable-next-line\r\n if (number == 0) {\r\n return [];\r\n }\r\n\r\n if (typeof scheme !== function_type) {\r\n var arr = palette.listSchemes(\r\n /** @type {string|palette.Palette} */ (scheme), number);\r\n if (!arr.length) {\r\n return null;\r\n }\r\n scheme = arr[(opt_index || 0) % arr.length];\r\n }\r\n\r\n var args = slice(arguments, 2);\r\n args[0] = number;\r\n return scheme.apply(scheme, args);\r\n };\r\n\r\n\r\n /**\r\n * Returns a callable colour scheme object.\r\n *\r\n * Just after being created, the scheme has no colour palettes and no way of\r\n * generating any, thus generate method will return null. To turn scheme\r\n * into a useful object, addPalette, addPalettes or setColorFunction methods\r\n * need to be used.\r\n *\r\n * To generate a colour palette with given number colours using function\r\n * returned by this method, just call it with desired number of colours.\r\n *\r\n * Since this function *returns* a callable object, it must *not* be used\r\n * with the new operator.\r\n *\r\n * @param {string} name Name of the scheme.\r\n * @param {string|!Array=} opt_groups A group name or list of\r\n * groups the scheme should be categorised under. Three typical groups\r\n * to use are 'qualitative', 'sequential' and 'diverging', but any\r\n * groups may be created.\r\n * @return {!palette.SchemeType} A colour palette generator function, which\r\n * in addition has methods and properties like a regular object. Think\r\n * of it as a callable object.\r\n */\r\n palette.Scheme = function(name, opt_groups) {\r\n /**\r\n * A map from a number to a colour palettes with given number of colours.\r\n * @type {!Object}\r\n */\r\n var palettes = {};\r\n\r\n /**\r\n * The biggest palette in palettes map.\r\n * @type {number}\r\n */\r\n var palettes_max = 0;\r\n\r\n /**\r\n * The smallest palette in palettes map.\r\n * @type {number}\r\n */\r\n var palettes_min = INF;\r\n\r\n var makeGenerator = function() {\r\n if (arguments.length <= 1) {\r\n return self.color_func.bind(self);\r\n } else {\r\n var args = slice(arguments);\r\n return function(x) {\r\n args[0] = x;\r\n return self.color_func.apply(self, args);\r\n };\r\n }\r\n };\r\n\r\n /**\r\n * Generate a colour palette from the scheme.\r\n *\r\n * If there was a palette added with addPalette (or addPalettes) with\r\n * enough colours, that palette will be used. Otherwise, if colour\r\n * function has been set using setColorFunction method, that function will\r\n * be used to generate the palette. Otherwise null is returned.\r\n *\r\n * @param {number} number Number of colours to return. If negative,\r\n * absolute value is taken and colours will be returned in reverse\r\n * order.\r\n * @param {...*} varargs Additional arguments to pass to palette or colour\r\n * generator (if the chosen scheme uses those).\r\n */\r\n var self = function(number, varargs) {\r\n number |= 0;\r\n if (!number) {\r\n return [];\r\n }\r\n\r\n var _number = number;\r\n number = Math.abs(number);\r\n\r\n if (number <= palettes_max) {\r\n for (var i = Math.max(number, palettes_min); !(i in palettes); ++i) {\r\n /* nop */\r\n }\r\n var colors = palettes[i];\r\n if (i > number) {\r\n var take_head =\r\n 'shrinking_takes_head' in colors ?\r\n colors.shrinking_takes_head : self.shrinking_takes_head;\r\n if (take_head) {\r\n colors = colors.slice(0, number);\r\n i = number;\r\n } else {\r\n return palette.generate(\r\n function(x) { return colors[Math.round(x)]; },\r\n _number, 0, colors.length - 1);\r\n }\r\n }\r\n colors = colors.slice();\r\n if (_number < 0) {\r\n colors.reverse();\r\n }\r\n return colors;\r\n\r\n } else if (self.color_func) {\r\n return palette.generate(makeGenerator.apply(self, arguments),\r\n _number, 0, 1, self.color_func_cyclic);\r\n\r\n } else {\r\n return null;\r\n }\r\n };\r\n\r\n /**\r\n * The name of the palette.\r\n * @type {string}\r\n */\r\n self.scheme_name = name;\r\n\r\n /**\r\n * A list of groups the palette belongs to.\r\n * @type {!Array}\r\n */\r\n self.groups = opt_groups ?\r\n typeof opt_groups === 'string' ? [opt_groups] : opt_groups : [];\r\n\r\n /**\r\n * The biggest palette this scheme can generate.\r\n * @type {number}\r\n */\r\n self.max = 0;\r\n\r\n /**\r\n * The biggest palette this scheme can generate that is colour-blind\r\n * friendly.\r\n * @type {number}\r\n */\r\n self.cbf_max = INF;\r\n\r\n\r\n /**\r\n * Adds a colour palette to the colour scheme.\r\n *\r\n * @param {palette.Palette} palette An array of 'RRGGBB' strings\r\n * representing the palette to add.\r\n * @param {boolean=} opt_is_cbf Whether the palette is colourblind friendly.\r\n */\r\n self.addPalette = function(palette, opt_is_cbf) {\r\n var len = palette.length;\r\n if (len) {\r\n palettes[len] = palette;\r\n palettes_min = Math.min(palettes_min, len);\r\n palettes_max = Math.max(palettes_max, len);\r\n self.max = Math.max(self.max, len);\r\n // eslint-disable-next-line\r\n if (!opt_is_cbf && len != 1) {\r\n self.cbf_max = Math.min(self.cbf_max, len - 1);\r\n }\r\n }\r\n };\r\n\r\n /**\r\n * Adds number of colour palettes to the colour scheme.\r\n *\r\n * @param {palette.PalettesList} palettes A map or an array of colour\r\n * palettes to add. If map, i.e. object, is used, properties should\r\n * use integer property names.\r\n * @param {number=} opt_max Size of the biggest palette in palettes set.\r\n * If not set, palettes must have a length property which will be used.\r\n * @param {number=} opt_cbf_max Size of the biggest palette which is still\r\n * colourblind friendly. 1 by default.\r\n */\r\n self.addPalettes = function(palettes, opt_max, opt_cbf_max) {\r\n opt_max = opt_max || palettes.length;\r\n for (var i = 0; i < opt_max; ++i) {\r\n if (i in palettes) {\r\n self.addPalette(palettes[i], true);\r\n }\r\n }\r\n self.cbf_max = Math.min(self.cbf_max, opt_cbf_max || 1);\r\n };\r\n\r\n /**\r\n * Enable shrinking palettes taking head of the list of colours.\r\n *\r\n * When user requests n-colour palette but the smallest palette added with\r\n * addPalette (or addPalettes) is m-colour one (where n < m), n colours\r\n * across the palette will be returned. For example:\r\n * var ex = palette.Scheme('ex');\r\n * ex.addPalette(['000000', 'bcbcbc', 'ffffff']);\r\n * var pal = ex(2);\r\n * // pal == ['000000', 'ffffff']\r\n *\r\n * This works for palettes where the distance between colours is\r\n * correlated to distance in the palette array, which is true in gradients\r\n * such as the one above.\r\n *\r\n * To turn this feature off shrinkByTakingHead can be set to true either\r\n * for all palettes in the scheme (if opt_idx is not given) or for palette\r\n * with given number of colours only. In general, setting the option for\r\n * given palette overwrites whatever has been set for the scheme. The\r\n * default, as described above, is false.\r\n *\r\n * Alternatively, the feature can be enabled by setting shrinking_takes_head\r\n * property for the palette Array or the scheme object.\r\n *\r\n * For example, all of the below give equivalent results:\r\n * var pal = ['ff0000', '00ff00', '0000ff'];\r\n *\r\n * var ex = palette.Scheme('ex');\r\n * ex.addPalette(pal); // ex(2) == ['ff0000', '0000ff']\r\n * ex.shrinkByTakingHead(true); // ex(2) == ['ff0000', '00ff00']\r\n *\r\n * ex = palette.Scheme('ex');\r\n * ex.addPalette(pal); // ex(2) == ['ff0000', '0000ff']\r\n * ex.shrinkByTakingHead(true, 3); // ex(2) == ['ff0000', '00ff00']\r\n *\r\n * ex = palette.Scheme('ex');\r\n * ex.addPalette(pal);\r\n * ex.addPalette(pal); // ex(2) == ['ff0000', '0000ff']\r\n * pal.shrinking_takes_head = true; // ex(2) == ['ff0000', '00ff00']\r\n *\r\n * @param {boolean} enabled Whether to enable or disable the “shrinking\r\n * takes head” feature. It is disabled by default.\r\n * @param {number=} opt_idx If given, the “shrinking takes head” option\r\n * for palette with given number of colours is set. If such palette\r\n * does not exist, nothing happens.\r\n */\r\n self.shrinkByTakingHead = function(enabled, opt_idx) {\r\n if (opt_idx !== void(0)) {\r\n if (opt_idx in palettes) {\r\n palettes[opt_idx].shrinking_takes_head = !!enabled;\r\n }\r\n } else {\r\n self.shrinking_takes_head = !!enabled;\r\n }\r\n };\r\n\r\n /**\r\n * Sets a colour generation function of the colour scheme.\r\n *\r\n * The function must accept a singe number argument whose value can be from\r\n * 0.0 to 1.0, and return a colour as an 'RRGGBB' string. This function\r\n * will be used when generating palettes, i.e. if 11-colour palette is\r\n * requested, this function will be called with arguments 0.0, 0.1, …, 1.0.\r\n *\r\n * If the palette generated by the function is colourblind friendly,\r\n * opt_is_cbf should be set to true.\r\n *\r\n * In some cases, it is not desirable to reach 1.0 when generating\r\n * a palette. This happens for hue-rainbows where the 0–1 range corresponds\r\n * to a 0°–360° range in hues, and since hue at 0° is the same as at 360°,\r\n * it's desired to stop short the end of the range when generating\r\n * a palette. To accomplish this, opt_cyclic should be set to true.\r\n *\r\n * @param {palette.ColorFunction} func A colour generator function.\r\n * @param {boolean=} opt_is_cbf Whether palette generate with the function\r\n * is colour-blind friendly.\r\n * @param {boolean=} opt_cyclic Whether colour at 0.0 is the same as the\r\n * one at 1.0.\r\n */\r\n self.setColorFunction = function(func, opt_is_cbf, opt_cyclic) {\r\n self.color_func = func;\r\n self.color_func_cyclic = !!opt_cyclic;\r\n self.max = INF;\r\n if (!opt_is_cbf && self.cbf_max === INF) {\r\n self.cbf_max = 1;\r\n }\r\n };\r\n\r\n self.color = function(x, varargs) {\r\n if (self.color_func) {\r\n return self.color_func.apply(this, arguments);\r\n } else {\r\n return null;\r\n }\r\n };\r\n\r\n return self;\r\n };\r\n\r\n\r\n /**\r\n * Creates a new palette.Scheme and initialises it by calling addPalettes\r\n * method with the rest of the arguments.\r\n *\r\n * @param {string} name Name of the scheme.\r\n * @param {string|!Array} groups A group name or list of group\r\n * names the scheme belongs to.\r\n * @param {!Object|!Array}\r\n * palettes A map or an array of colour palettes to add. If map, i.e.\r\n * object, is used, properties should use integer property names.\r\n * @param {number=} opt_max Size of the biggest palette in palettes set.\r\n * If not set, palettes must have a length property which will be used.\r\n * @param {number=} opt_cbf_max Size of the biggest palette which is still\r\n * colourblind friendly. 1 by default.\r\n * @return {!palette.SchemeType} A colour palette generator function, which\r\n * in addition has methods and properties like a regular object. Think\r\n * of it as a callable object.\r\n */\r\n palette.Scheme.fromPalettes = function(name, groups,\r\n palettes, opt_max, opt_cbf_max) {\r\n var scheme = palette.Scheme(name, groups);\r\n scheme.addPalettes.apply(scheme, slice(arguments, 2));\r\n return scheme;\r\n };\r\n\r\n\r\n /**\r\n * Creates a new palette.Scheme and initialises it by calling\r\n * setColorFunction method with the rest of the arguments.\r\n *\r\n * @param {string} name Name of the scheme.\r\n * @param {string|!Array} groups A group name or list of group\r\n * names the scheme belongs to.\r\n * @param {palette.ColorFunction} func A colour generator function.\r\n * @param {boolean=} opt_is_cbf Whether palette generate with the function\r\n * is colour-blind friendly.\r\n * @param {boolean=} opt_cyclic Whether colour at 0.0 is the same as the\r\n * one at 1.0.\r\n * @return {!palette.SchemeType} A colour palette generator function, which\r\n * in addition has methods and properties like a regular object. Think\r\n * of it as a callable object.\r\n */\r\n palette.Scheme.withColorFunction = function(name, groups,\r\n func, opt_is_cbf, opt_cyclic) {\r\n var scheme = palette.Scheme(name, groups);\r\n scheme.setColorFunction.apply(scheme, slice(arguments, 2));\r\n return scheme;\r\n };\r\n\r\n\r\n /**\r\n * A map of registered schemes. Maps a scheme or group name to a list of\r\n * scheme objects. Property name is either 'n-' for single scheme\r\n * names or 'g-' for scheme group names.\r\n *\r\n * @type {!Object>}\r\n */\r\n var registered_schemes = {};\r\n\r\n\r\n /**\r\n * Registers a new colour scheme.\r\n *\r\n * @param {!palette.SchemeType} scheme The scheme to add.\r\n */\r\n palette.register = function(scheme) {\r\n registered_schemes['n-' + scheme.scheme_name] = [scheme];\r\n scheme.groups.forEach(function(g) {\r\n (registered_schemes['g-' + g] =\r\n registered_schemes['g-' + g] || []).push(scheme);\r\n });\r\n (registered_schemes['g-all'] =\r\n registered_schemes['g-all'] || []).push(scheme);\r\n };\r\n\r\n\r\n /**\r\n * List all schemes that match given name and number of colours.\r\n *\r\n * name argument can be either a string or an array of strings. In the\r\n * former case, the function acts as if the argument was an array with name\r\n * as a single argument (i.e. “palette.listSchemes('foo')” is exactly the same\r\n * as “palette.listSchemes(['foo'])”).\r\n *\r\n * Each name can be either name of a palette (e.g. 'tol-sq' for Paul Tol's\r\n * sequential palette), or a name of a group (e.g. 'sequential' for all\r\n * sequential palettes). Name can therefore map to a single scheme or\r\n * several schemes.\r\n *\r\n * Furthermore, name can be suffixed with '-cbf' to indicate that only\r\n * schemes that are colourblind friendly should be returned. For example,\r\n * 'rainbow' returns a HSV rainbow scheme, but because it is not colourblind\r\n * friendly, 'rainbow-cbf' returns no schemes.\r\n *\r\n * Some schemes may produce colourblind friendly palettes for some number of\r\n * colours. For example ColorBrewer's Dark2 scheme is colourblind friendly\r\n * if no more than 3 colours are generated. If opt_number is not specified,\r\n * 'qualitative-cbf' will include 'cb-Dark2' but if opt_number is given as,\r\n * say, 5 it won't.\r\n *\r\n * Name can also be 'all' which will return all registered schemes.\r\n * Naturally, 'all-cbf' will return all colourblind friendly schemes.\r\n *\r\n * Schemes are added to the library using palette.register. Schemes are\r\n * created using palette.Scheme function. By default, the following schemes\r\n * are available:\r\n *\r\n * Name Description\r\n * -------------- -----------------------------------------------------\r\n * tol Paul Tol's qualitative scheme, cbf, max 12 colours.\r\n * tol-dv Paul Tol's diverging scheme, cbf.\r\n * tol-sq Paul Tol's sequential scheme, cbf.\r\n * tol-rainbow Paul Tol's qualitative scheme, cbf.\r\n *\r\n * rainbow A rainbow palette.\r\n *\r\n * cb-YlGn ColorBrewer sequential schemes.\r\n * cb-YlGnBu\r\n * cb-GnBu\r\n * cb-BuGn\r\n * cb-PuBuGn\r\n * cb-PuBu\r\n * cb-BuPu\r\n * cb-RdPu\r\n * cb-PuRd\r\n * cb-OrRd\r\n * cb-YlOrRd\r\n * cb-YlOrBr\r\n * cb-Purples\r\n * cb-Blues\r\n * cb-Greens\r\n * cb-Oranges\r\n * cb-Reds\r\n * cb-Greys\r\n *\r\n * cb-PuOr ColorBrewer diverging schemes.\r\n * cb-BrBG\r\n * cb-PRGn\r\n * cb-PiYG\r\n * cb-RdBu\r\n * cb-RdGy\r\n * cb-RdYlBu\r\n * cb-Spectral\r\n * cb-RdYlGn\r\n *\r\n * cb-Accent ColorBrewer qualitative schemes.\r\n * cb-Dark2\r\n * cb-Paired\r\n * cb-Pastel1\r\n * cb-Pastel2\r\n * cb-Set1\r\n * cb-Set2\r\n * cb-Set3\r\n *\r\n * sol-base Solarized base colours.\r\n * sol-accent Solarized accent colours.\r\n *\r\n * The following groups are also available by default:\r\n *\r\n * Name Description\r\n * -------------- -----------------------------------------------------\r\n * all All registered schemes.\r\n * sequential All sequential schemes.\r\n * diverging All diverging schemes.\r\n * qualitative All qualitative schemes.\r\n * cb-sequential All ColorBrewer sequential schemes.\r\n * cb-diverging All ColorBrewer diverging schemes.\r\n * cb-qualitative All ColorBrewer qualitative schemes.\r\n *\r\n * You can read more about Paul Tol's palettes at http://www.sron.nl/~pault/.\r\n * You can read more about ColorBrewer at http://colorbrewer2.org.\r\n *\r\n * @param {string|!Array} name A name of a colour scheme, of\r\n * a group of colour schemes, or an array of any of those.\r\n * @param {number=} opt_number When requesting only colourblind friendly\r\n * schemes, number of colours the scheme must provide generating such\r\n * that the palette is still colourblind friendly. 2 by default.\r\n * @return {!Array} An array of colour scheme objects\r\n * matching the criteria. Sorted by scheme name.\r\n */\r\n palette.listSchemes = function(name, opt_number) {\r\n if (!opt_number) {\r\n opt_number = 2;\r\n } else if (opt_number < 0) {\r\n opt_number = -opt_number;\r\n }\r\n\r\n var ret = [];\r\n (typeof name === 'string' ? [name] : name).forEach(function(n) {\r\n var cbf = n.substring(n.length - 4) === '-cbf';\r\n if (cbf) {\r\n n = n.substring(0, n.length - 4);\r\n }\r\n var schemes =\r\n registered_schemes['g-' + n] ||\r\n registered_schemes['n-' + n] ||\r\n [];\r\n for (var i = 0, scheme; (scheme = schemes[i]); ++i) {\r\n if ((cbf ? scheme.cbf : scheme.max) >= opt_number) {\r\n ret.push(scheme);\r\n }\r\n }\r\n });\r\n\r\n ret.sort(function(a, b) {\r\n return a.scheme_name >= b.scheme_name ?\r\n a.scheme_name > b.scheme_name ? 1 : 0 : -1;\r\n });\r\n return ret;\r\n };\r\n\r\n\r\n /**\r\n * Generates a palette using given colour generating function.\r\n *\r\n * The color_func callback must accept a singe number argument whose value\r\n * can vary from 0.0 to 1.0 (or in general from opt_start to opt_end), and\r\n * return a colour as an 'RRGGBB' string. This function will be used when\r\n * generating palettes, i.e. if 11-colour palette is requested, this\r\n * function will be called with arguments 0.0, 0.1, …, 1.0.\r\n *\r\n * In some cases, it is not desirable to reach 1.0 when generating\r\n * a palette. This happens for hue-rainbows where the 0–1 range corresponds\r\n * to a 0°–360° range in hues, and since hue at 0° is the same as at 360°,\r\n * it's desired to stop short the end of the range when generating\r\n * a palette. To accomplish this, opt_cyclic should be set to true.\r\n *\r\n * opt_start and opt_end may be used to change the range the colour\r\n * generation function is called with. opt_end may be less than opt_start\r\n * which will case to traverse the range in reverse. Another way to reverse\r\n * the palette is requesting negative number of colours. The two methods do\r\n * not always lead to the same results (especially if opt_cyclic is set).\r\n *\r\n * @param {palette.ColorFunction} color_func A colours generating callback\r\n * function.\r\n * @param {number} number Number of colours to generate in the palette. If\r\n * number is negative, colours in the palette will be reversed. If only\r\n * one colour is requested, colour at opt_start will be returned.\r\n * @param {number=} opt_start Optional starting point for the palette\r\n * generation function. Zero by default.\r\n * @param {number=} opt_end Optional ending point for the palette generation\r\n * function. One by default.\r\n * @param {boolean=} opt_cyclic If true, function will assume colour at\r\n * point opt_start is the same as one at opt_end.\r\n * @return {palette.Palette} An array of 'RRGGBB' colours.\r\n */\r\n palette.generate = function(color_func, number, opt_start, opt_end,\r\n opt_cyclic) {\r\n if (Math.abs(number) < 1) {\r\n return [];\r\n }\r\n\r\n opt_start = opt_start === void(0) ? 0 : opt_start;\r\n opt_end = opt_end === void(0) ? 1 : opt_end;\r\n\r\n if (Math.abs(number) < 2) {\r\n return [color_func(opt_start)];\r\n }\r\n\r\n var i = Math.abs(number);\r\n var x = opt_start;\r\n var ret = [];\r\n var step = (opt_end - opt_start) / (opt_cyclic ? i : (i - 1));\r\n\r\n for (; --i >= 0; x += step) {\r\n ret.push(color_func(x));\r\n }\r\n if (number < 0) {\r\n ret.reverse();\r\n }\r\n return ret;\r\n };\r\n\r\n\r\n /**\r\n * Clamps value to [0, 1] range.\r\n * @param {number} v Number to limit value of.\r\n * @return {number} If v is inside of [0, 1] range returns v, otherwise\r\n * returns 0 or 1 depending which side of the range v is closer to.\r\n */\r\n var clamp = function(v) {\r\n return v > 0 ? (v < 1 ? v : 1) : 0;\r\n };\r\n\r\n /**\r\n * Converts r, g, b triple into RRGGBB hex representation.\r\n * @param {number} r Red value of the colour in the range [0, 1].\r\n * @param {number} g Green value of the colour in the range [0, 1].\r\n * @param {number} b Blue value of the colour in the range [0, 1].\r\n * @return {string} A lower-case RRGGBB representation of the colour.\r\n */\r\n palette.rgbColor = function(r, g, b) {\r\n return [r, g, b].map(function(v) {\r\n v = Number(Math.round(clamp(v) * 255)).toString(16);\r\n // eslint-disable-next-line\r\n return v.length == 1 ? '0' + v : v;\r\n }).join('');\r\n };\r\n\r\n /**\r\n * Converts a linear r, g, b triple into RRGGBB hex representation.\r\n * @param {number} r Linear red value of the colour in the range [0, 1].\r\n * @param {number} g Linear green value of the colour in the range [0, 1].\r\n * @param {number} b Linear blue value of the colour in the range [0, 1].\r\n * @return {string} A lower-case RRGGBB representation of the colour.\r\n */\r\n palette.linearRgbColor = function(r, g, b) {\r\n // http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_RGB.html\r\n return [r, g, b].map(function(v) {\r\n v = clamp(v);\r\n if (v <= 0.0031308) {\r\n v = 12.92 * v;\r\n } else {\r\n v = 1.055 * Math.pow(v, 1 / 2.4) - 0.055;\r\n }\r\n v = Number(Math.round(v * 255)).toString(16);\r\n // eslint-disable-next-line\r\n return v.length == 1 ? '0' + v : v;\r\n }).join('');\r\n };\r\n\r\n /**\r\n * Converts an HSV colours to RRGGBB hex representation.\r\n * @param {number} h Hue in the range [0, 1].\r\n * @param {number=} opt_s Saturation in the range [0, 1]. One by default.\r\n * @param {number=} opt_v Value in the range [0, 1]. One by default.\r\n * @return {string} An RRGGBB representation of the colour.\r\n */\r\n palette.hsvColor = function(h, opt_s, opt_v) {\r\n h *= 6;\r\n var s = opt_s === void(0) ? 1 : clamp(opt_s);\r\n var v = opt_v === void(0) ? 1 : clamp(opt_v);\r\n var x = v * (1 - s * Math.abs(h % 2 - 1));\r\n var m = v * (1 - s);\r\n switch (Math.floor(h) % 6) {\r\n case 0: return palette.rgbColor(v, x, m);\r\n case 1: return palette.rgbColor(x, v, m);\r\n case 2: return palette.rgbColor(m, v, x);\r\n case 3: return palette.rgbColor(m, x, v);\r\n case 4: return palette.rgbColor(x, m, v);\r\n default: return palette.rgbColor(v, m, x);\r\n }\r\n };\r\n\r\n palette.register(palette.Scheme.withColorFunction(\r\n 'rainbow', 'qualitative', palette.hsvColor, false, true));\r\n\r\n return palette;\r\n})();\r\n\r\n\r\n/** @typedef {function(number): string} */\r\n// palette.ColorFunction;\r\n\r\n/** @typedef {!Array} */\r\n// palette.Palette;\r\n\r\n/** @typedef {!Object|!Array} */\r\n// palette.PalettesList;\r\n\r\n/**\r\n * @typedef {\r\n * function(number, ...?): Array|\r\n * {\r\n * scheme_name: string,\r\n * groups: !Array,\r\n * max: number,\r\n * cbf_max: number,\r\n * addPalette: function(!Array, boolean=),\r\n * addPalettes: function(palette.PalettesList, number=, number=),\r\n * shrinkByTakingHead: function(boolean, number=),\r\n * setColorFunction: function(palette.ColorFunction, boolean=, boolean=),\r\n * color: function(number, ...?): ?string}}\r\n */\r\n// palette.SchemeType;\r\n\r\n\r\n/* mpn65 palette start here. ************************************************/\r\n\r\n/* The ‘mpn65’ palette is designed for systems which show many graphs which\r\n don’t have custom colour palettes chosen by humans or if number of necessary\r\n colours isn’t know a priori. */\r\n\r\n(function() {\r\n var scheme = palette.Scheme.fromPalettes('mpn65', 'qualitative', [[\r\n 'ff0029', '377eb8', '66a61e', '984ea3', '00d2d5', 'ff7f00', 'af8d00',\r\n '7f80cd', 'b3e900', 'c42e60', 'a65628', 'f781bf', '8dd3c7', 'bebada',\r\n 'fb8072', '80b1d3', 'fdb462', 'fccde5', 'bc80bd', 'ffed6f', 'c4eaff',\r\n 'cf8c00', '1b9e77', 'd95f02', 'e7298a', 'e6ab02', 'a6761d', '0097ff',\r\n '00d067', '000000', '252525', '525252', '737373', '969696', 'bdbdbd',\r\n 'f43600', '4ba93b', '5779bb', '927acc', '97ee3f', 'bf3947', '9f5b00',\r\n 'f48758', '8caed6', 'f2b94f', 'eff26e', 'e43872', 'd9b100', '9d7a00',\r\n '698cff', 'd9d9d9', '00d27e', 'd06800', '009f82', 'c49200', 'cbe8ff',\r\n 'fecddf', 'c27eb6', '8cd2ce', 'c4b8d9', 'f883b0', 'a49100', 'f48800',\r\n '27d0df', 'a04a9b'\r\n ]]);\r\n scheme.shrinkByTakingHead(true);\r\n palette.register(scheme);\r\n})();\r\n\r\n/* Paul Tol's schemes start here. *******************************************/\r\n/* See http://www.sron.nl/~pault/ */\r\n\r\n(function() {\r\n var rgb = palette.rgbColor;\r\n\r\n /**\r\n * Calculates value of a polynomial at given point.\r\n * For example, poly(x, 1, 2, 3) calculates value of “1 + 2*x + 3*X²”.\r\n * @param {number} x Value to calculate polynomial for.\r\n * @param {...number} varargs Coefficients of the polynomial specified in\r\n * the order of rising powers of x including constant as the first\r\n * variable argument.\r\n */\r\n var poly = function(x, varargs) {\r\n var i = arguments.length - 1, n = arguments[i];\r\n while (i > 1) {\r\n n = n * x + arguments[--i];\r\n }\r\n return n;\r\n };\r\n\r\n /**\r\n * Calculate approximate value of error function with maximum error of 0.0005.\r\n * See .\r\n * @param {number} x Argument of the error function.\r\n * @return {number} Value of error function for x.\r\n */\r\n var erf = function(x) {\r\n // https://en.wikipedia.org/wiki/Error_function#Approximation_with_elementary_functions\r\n // This produces a maximum error of 0.0005 which is more then we need. In\r\n // the worst case, that error is multiplied by four and then divided by two\r\n // before being multiplied by 255, so in the end, the error is multiplied by\r\n // 510 which produces 0.255 which is less than a single colour step.\r\n var y = poly(Math.abs(x), 1, 0.278393, 0.230389, 0.000972, 0.078108);\r\n y *= y; // y^2\r\n y *= y; // y^4\r\n y = 1 - 1 / y;\r\n return x < 0 ? -y : y;\r\n };\r\n\r\n palette.register(palette.Scheme.fromPalettes('tol', 'qualitative', [\r\n ['4477aa'],\r\n ['4477aa', 'cc6677'],\r\n ['4477aa', 'ddcc77', 'cc6677'],\r\n ['4477aa', '117733', 'ddcc77', 'cc6677'],\r\n ['332288', '88ccee', '117733', 'ddcc77', 'cc6677'],\r\n ['332288', '88ccee', '117733', 'ddcc77', 'cc6677', 'aa4499'],\r\n ['332288', '88ccee', '44aa99', '117733', 'ddcc77', 'cc6677', 'aa4499'],\r\n ['332288', '88ccee', '44aa99', '117733', '999933', 'ddcc77', 'cc6677',\r\n 'aa4499'],\r\n ['332288', '88ccee', '44aa99', '117733', '999933', 'ddcc77', 'cc6677',\r\n '882255', 'aa4499'],\r\n ['332288', '88ccee', '44aa99', '117733', '999933', 'ddcc77', '661100',\r\n 'cc6677', '882255', 'aa4499'],\r\n ['332288', '6699cc', '88ccee', '44aa99', '117733', '999933', 'ddcc77',\r\n '661100', 'cc6677', '882255', 'aa4499'],\r\n ['332288', '6699cc', '88ccee', '44aa99', '117733', '999933', 'ddcc77',\r\n '661100', 'cc6677', 'aa4466', '882255', 'aa4499']\r\n ], 12, 12));\r\n\r\n /**\r\n * Calculates a colour along Paul Tol's sequential colours axis.\r\n * See figure 7 and equation 1.\r\n * @param {number} x Position of the colour on the axis in the [0, 1] range.\r\n * @return {string} An RRGGBB representation of the colour.\r\n */\r\n palette.tolSequentialColor = function(x) {\r\n return rgb(1 - 0.392 * (1 + erf((x - 0.869) / 0.255)),\r\n 1.021 - 0.456 * (1 + erf((x - 0.527) / 0.376)),\r\n 1 - 0.493 * (1 + erf((x - 0.272) / 0.309)));\r\n };\r\n\r\n palette.register(palette.Scheme.withColorFunction(\r\n 'tol-sq', 'sequential', palette.tolSequentialColor, true));\r\n\r\n /**\r\n * Calculates a colour along Paul Tol's diverging colours axis.\r\n * See figure 8 and equation 2.\r\n * @param {number} x Position of the colour on the axis in the [0, 1] range.\r\n * @return {string} An RRGGBB representation of the colour.\r\n */\r\n palette.tolDivergingColor = function(x) {\r\n var g = poly(x, 0.572, 1.524, -1.811) / poly(x, 1, -0.291, 0.1574);\r\n return rgb(poly(x, 0.235, -2.13, 26.92, -65.5, 63.5, -22.36),\r\n g * g,\r\n 1 / poly(x, 1.579, -4.03, 12.92, -31.4, 48.6, -23.36));\r\n };\r\n\r\n palette.register(palette.Scheme.withColorFunction(\r\n 'tol-dv', 'diverging', palette.tolDivergingColor, true));\r\n\r\n /**\r\n * Calculates a colour along Paul Tol's rainbow colours axis.\r\n * See figure 13 and equation 3.\r\n * @param {number} x Position of the colour on the axis in the [0, 1] range.\r\n * @return {string} An RRGGBB representation of the colour.\r\n */\r\n palette.tolRainbowColor = function(x) {\r\n return rgb(poly(x, 0.472, -0.567, 4.05) / poly(x, 1, 8.72, -19.17, 14.1),\r\n poly(x, 0.108932, -1.22635, 27.284, -98.577, 163.3, -131.395,\r\n 40.634),\r\n 1 / poly(x, 1.97, 3.54, -68.5, 243, -297, 125));\r\n };\r\n\r\n palette.register(palette.Scheme.withColorFunction(\r\n 'tol-rainbow', 'qualitative', palette.tolRainbowColor, true));\r\n})();\r\n\r\n\r\n/* Solarized colour schemes start here. *************************************/\r\n/* See http://ethanschoonover.com/solarized */\r\n\r\n(function() {\r\n /*\r\n * Those are not really designed to be used in graphs, but we're keeping\r\n * them here in case someone cares.\r\n */\r\n palette.register(palette.Scheme.fromPalettes('sol-base', 'sequential', [\r\n ['002b36', '073642', '586e75', '657b83', '839496', '93a1a1', 'eee8d5',\r\n 'fdf6e3']\r\n ], 1, 8));\r\n palette.register(palette.Scheme.fromPalettes('sol-accent', 'qualitative', [\r\n ['b58900', 'cb4b16', 'dc322f', 'd33682', '6c71c4', '268bd2', '2aa198',\r\n '859900']\r\n ]));\r\n})();\r\n\r\n\r\n/* ColorBrewer colour schemes start here. ***********************************/\r\n/* See http://colorbrewer2.org/ */\r\n\r\n(function() {\r\n var schemes = {\r\n YlGn: {\r\n type: 'sequential',\r\n cbf: 42,\r\n 3: ['f7fcb9', 'addd8e', '31a354'],\r\n 4: ['ffffcc', 'c2e699', '78c679', '238443'],\r\n 5: ['ffffcc', 'c2e699', '78c679', '31a354', '006837'],\r\n 6: ['ffffcc', 'd9f0a3', 'addd8e', '78c679', '31a354', '006837'],\r\n 7: ['ffffcc', 'd9f0a3', 'addd8e', '78c679', '41ab5d', '238443',\r\n '005a32'],\r\n 8: ['ffffe5', 'f7fcb9', 'd9f0a3', 'addd8e', '78c679', '41ab5d',\r\n '238443', '005a32'],\r\n 9: ['ffffe5', 'f7fcb9', 'd9f0a3', 'addd8e', '78c679', '41ab5d',\r\n '238443', '006837', '004529']\r\n },\r\n YlGnBu: {\r\n type: 'sequential',\r\n cbf: 42,\r\n 3: ['edf8b1', '7fcdbb', '2c7fb8'],\r\n 4: ['ffffcc', 'a1dab4', '41b6c4', '225ea8'],\r\n 5: ['ffffcc', 'a1dab4', '41b6c4', '2c7fb8', '253494'],\r\n 6: ['ffffcc', 'c7e9b4', '7fcdbb', '41b6c4', '2c7fb8', '253494'],\r\n 7: ['ffffcc', 'c7e9b4', '7fcdbb', '41b6c4', '1d91c0', '225ea8',\r\n '0c2c84'],\r\n 8: ['ffffd9', 'edf8b1', 'c7e9b4', '7fcdbb', '41b6c4', '1d91c0',\r\n '225ea8', '0c2c84'],\r\n 9: ['ffffd9', 'edf8b1', 'c7e9b4', '7fcdbb', '41b6c4', '1d91c0',\r\n '225ea8', '253494', '081d58']\r\n },\r\n GnBu: {\r\n type: 'sequential',\r\n cbf: 42,\r\n 3: ['e0f3db', 'a8ddb5', '43a2ca'],\r\n 4: ['f0f9e8', 'bae4bc', '7bccc4', '2b8cbe'],\r\n 5: ['f0f9e8', 'bae4bc', '7bccc4', '43a2ca', '0868ac'],\r\n 6: ['f0f9e8', 'ccebc5', 'a8ddb5', '7bccc4', '43a2ca', '0868ac'],\r\n 7: ['f0f9e8', 'ccebc5', 'a8ddb5', '7bccc4', '4eb3d3', '2b8cbe',\r\n '08589e'],\r\n 8: ['f7fcf0', 'e0f3db', 'ccebc5', 'a8ddb5', '7bccc4', '4eb3d3',\r\n '2b8cbe', '08589e'],\r\n 9: ['f7fcf0', 'e0f3db', 'ccebc5', 'a8ddb5', '7bccc4', '4eb3d3',\r\n '2b8cbe', '0868ac', '084081']\r\n },\r\n BuGn: {\r\n type: 'sequential',\r\n cbf: 42,\r\n 3: ['e5f5f9', '99d8c9', '2ca25f'],\r\n 4: ['edf8fb', 'b2e2e2', '66c2a4', '238b45'],\r\n 5: ['edf8fb', 'b2e2e2', '66c2a4', '2ca25f', '006d2c'],\r\n 6: ['edf8fb', 'ccece6', '99d8c9', '66c2a4', '2ca25f', '006d2c'],\r\n 7: ['edf8fb', 'ccece6', '99d8c9', '66c2a4', '41ae76', '238b45',\r\n '005824'],\r\n 8: ['f7fcfd', 'e5f5f9', 'ccece6', '99d8c9', '66c2a4', '41ae76',\r\n '238b45', '005824'],\r\n 9: ['f7fcfd', 'e5f5f9', 'ccece6', '99d8c9', '66c2a4', '41ae76',\r\n '238b45', '006d2c', '00441b']\r\n },\r\n PuBuGn: {\r\n type: 'sequential',\r\n cbf: 42,\r\n 3: ['ece2f0', 'a6bddb', '1c9099'],\r\n 4: ['f6eff7', 'bdc9e1', '67a9cf', '02818a'],\r\n 5: ['f6eff7', 'bdc9e1', '67a9cf', '1c9099', '016c59'],\r\n 6: ['f6eff7', 'd0d1e6', 'a6bddb', '67a9cf', '1c9099', '016c59'],\r\n 7: ['f6eff7', 'd0d1e6', 'a6bddb', '67a9cf', '3690c0', '02818a',\r\n '016450'],\r\n 8: ['fff7fb', 'ece2f0', 'd0d1e6', 'a6bddb', '67a9cf', '3690c0',\r\n '02818a', '016450'],\r\n 9: ['fff7fb', 'ece2f0', 'd0d1e6', 'a6bddb', '67a9cf', '3690c0',\r\n '02818a', '016c59', '014636']\r\n },\r\n PuBu: {\r\n type: 'sequential',\r\n cbf: 42,\r\n 3: ['ece7f2', 'a6bddb', '2b8cbe'],\r\n 4: ['f1eef6', 'bdc9e1', '74a9cf', '0570b0'],\r\n 5: ['f1eef6', 'bdc9e1', '74a9cf', '2b8cbe', '045a8d'],\r\n 6: ['f1eef6', 'd0d1e6', 'a6bddb', '74a9cf', '2b8cbe', '045a8d'],\r\n 7: ['f1eef6', 'd0d1e6', 'a6bddb', '74a9cf', '3690c0', '0570b0',\r\n '034e7b'],\r\n 8: ['fff7fb', 'ece7f2', 'd0d1e6', 'a6bddb', '74a9cf', '3690c0',\r\n '0570b0', '034e7b'],\r\n 9: ['fff7fb', 'ece7f2', 'd0d1e6', 'a6bddb', '74a9cf', '3690c0',\r\n '0570b0', '045a8d', '023858']\r\n },\r\n BuPu: {\r\n type: 'sequential',\r\n cbf: 42,\r\n 3: ['e0ecf4', '9ebcda', '8856a7'],\r\n 4: ['edf8fb', 'b3cde3', '8c96c6', '88419d'],\r\n 5: ['edf8fb', 'b3cde3', '8c96c6', '8856a7', '810f7c'],\r\n 6: ['edf8fb', 'bfd3e6', '9ebcda', '8c96c6', '8856a7', '810f7c'],\r\n 7: ['edf8fb', 'bfd3e6', '9ebcda', '8c96c6', '8c6bb1', '88419d',\r\n '6e016b'],\r\n 8: ['f7fcfd', 'e0ecf4', 'bfd3e6', '9ebcda', '8c96c6', '8c6bb1',\r\n '88419d', '6e016b'],\r\n 9: ['f7fcfd', 'e0ecf4', 'bfd3e6', '9ebcda', '8c96c6', '8c6bb1',\r\n '88419d', '810f7c', '4d004b']\r\n },\r\n RdPu: {\r\n type: 'sequential',\r\n cbf: 42,\r\n 3: ['fde0dd', 'fa9fb5', 'c51b8a'],\r\n 4: ['feebe2', 'fbb4b9', 'f768a1', 'ae017e'],\r\n 5: ['feebe2', 'fbb4b9', 'f768a1', 'c51b8a', '7a0177'],\r\n 6: ['feebe2', 'fcc5c0', 'fa9fb5', 'f768a1', 'c51b8a', '7a0177'],\r\n 7: ['feebe2', 'fcc5c0', 'fa9fb5', 'f768a1', 'dd3497', 'ae017e',\r\n '7a0177'],\r\n 8: ['fff7f3', 'fde0dd', 'fcc5c0', 'fa9fb5', 'f768a1', 'dd3497',\r\n 'ae017e', '7a0177'],\r\n 9: ['fff7f3', 'fde0dd', 'fcc5c0', 'fa9fb5', 'f768a1', 'dd3497',\r\n 'ae017e', '7a0177', '49006a']\r\n },\r\n PuRd: {\r\n type: 'sequential',\r\n cbf: 42,\r\n 3: ['e7e1ef', 'c994c7', 'dd1c77'],\r\n 4: ['f1eef6', 'd7b5d8', 'df65b0', 'ce1256'],\r\n 5: ['f1eef6', 'd7b5d8', 'df65b0', 'dd1c77', '980043'],\r\n 6: ['f1eef6', 'd4b9da', 'c994c7', 'df65b0', 'dd1c77', '980043'],\r\n 7: ['f1eef6', 'd4b9da', 'c994c7', 'df65b0', 'e7298a', 'ce1256',\r\n '91003f'],\r\n 8: ['f7f4f9', 'e7e1ef', 'd4b9da', 'c994c7', 'df65b0', 'e7298a',\r\n 'ce1256', '91003f'],\r\n 9: ['f7f4f9', 'e7e1ef', 'd4b9da', 'c994c7', 'df65b0', 'e7298a',\r\n 'ce1256', '980043', '67001f']\r\n },\r\n OrRd: {\r\n type: 'sequential',\r\n cbf: 42,\r\n 3: ['fee8c8', 'fdbb84', 'e34a33'],\r\n 4: ['fef0d9', 'fdcc8a', 'fc8d59', 'd7301f'],\r\n 5: ['fef0d9', 'fdcc8a', 'fc8d59', 'e34a33', 'b30000'],\r\n 6: ['fef0d9', 'fdd49e', 'fdbb84', 'fc8d59', 'e34a33', 'b30000'],\r\n 7: ['fef0d9', 'fdd49e', 'fdbb84', 'fc8d59', 'ef6548', 'd7301f',\r\n '990000'],\r\n 8: ['fff7ec', 'fee8c8', 'fdd49e', 'fdbb84', 'fc8d59', 'ef6548',\r\n 'd7301f', '990000'],\r\n 9: ['fff7ec', 'fee8c8', 'fdd49e', 'fdbb84', 'fc8d59', 'ef6548',\r\n 'd7301f', 'b30000', '7f0000']\r\n },\r\n YlOrRd: {\r\n type: 'sequential',\r\n cbf: 42,\r\n 3: ['ffeda0', 'feb24c', 'f03b20'],\r\n 4: ['ffffb2', 'fecc5c', 'fd8d3c', 'e31a1c'],\r\n 5: ['ffffb2', 'fecc5c', 'fd8d3c', 'f03b20', 'bd0026'],\r\n 6: ['ffffb2', 'fed976', 'feb24c', 'fd8d3c', 'f03b20', 'bd0026'],\r\n 7: ['ffffb2', 'fed976', 'feb24c', 'fd8d3c', 'fc4e2a', 'e31a1c',\r\n 'b10026'],\r\n 8: ['ffffcc', 'ffeda0', 'fed976', 'feb24c', 'fd8d3c', 'fc4e2a',\r\n 'e31a1c', 'b10026'],\r\n 9: ['ffffcc', 'ffeda0', 'fed976', 'feb24c', 'fd8d3c', 'fc4e2a',\r\n 'e31a1c', 'bd0026', '800026']\r\n },\r\n YlOrBr: {\r\n type: 'sequential',\r\n cbf: 42,\r\n 3: ['fff7bc', 'fec44f', 'd95f0e'],\r\n 4: ['ffffd4', 'fed98e', 'fe9929', 'cc4c02'],\r\n 5: ['ffffd4', 'fed98e', 'fe9929', 'd95f0e', '993404'],\r\n 6: ['ffffd4', 'fee391', 'fec44f', 'fe9929', 'd95f0e', '993404'],\r\n 7: ['ffffd4', 'fee391', 'fec44f', 'fe9929', 'ec7014', 'cc4c02',\r\n '8c2d04'],\r\n 8: ['ffffe5', 'fff7bc', 'fee391', 'fec44f', 'fe9929', 'ec7014',\r\n 'cc4c02', '8c2d04'],\r\n 9: ['ffffe5', 'fff7bc', 'fee391', 'fec44f', 'fe9929', 'ec7014',\r\n 'cc4c02', '993404', '662506']\r\n },\r\n Purples: {\r\n type: 'sequential',\r\n cbf: 42,\r\n 3: ['efedf5', 'bcbddc', '756bb1'],\r\n 4: ['f2f0f7', 'cbc9e2', '9e9ac8', '6a51a3'],\r\n 5: ['f2f0f7', 'cbc9e2', '9e9ac8', '756bb1', '54278f'],\r\n 6: ['f2f0f7', 'dadaeb', 'bcbddc', '9e9ac8', '756bb1', '54278f'],\r\n 7: ['f2f0f7', 'dadaeb', 'bcbddc', '9e9ac8', '807dba', '6a51a3',\r\n '4a1486'],\r\n 8: ['fcfbfd', 'efedf5', 'dadaeb', 'bcbddc', '9e9ac8', '807dba',\r\n '6a51a3', '4a1486'],\r\n 9: ['fcfbfd', 'efedf5', 'dadaeb', 'bcbddc', '9e9ac8', '807dba',\r\n '6a51a3', '54278f', '3f007d']\r\n },\r\n Blues: {\r\n type: 'sequential',\r\n cbf: 42,\r\n 3: ['deebf7', '9ecae1', '3182bd'],\r\n 4: ['eff3ff', 'bdd7e7', '6baed6', '2171b5'],\r\n 5: ['eff3ff', 'bdd7e7', '6baed6', '3182bd', '08519c'],\r\n 6: ['eff3ff', 'c6dbef', '9ecae1', '6baed6', '3182bd', '08519c'],\r\n 7: ['eff3ff', 'c6dbef', '9ecae1', '6baed6', '4292c6', '2171b5',\r\n '084594'],\r\n 8: ['f7fbff', 'deebf7', 'c6dbef', '9ecae1', '6baed6', '4292c6',\r\n '2171b5', '084594'],\r\n 9: ['f7fbff', 'deebf7', 'c6dbef', '9ecae1', '6baed6', '4292c6',\r\n '2171b5', '08519c', '08306b']\r\n },\r\n Greens: {\r\n type: 'sequential',\r\n cbf: 42,\r\n 3: ['e5f5e0', 'a1d99b', '31a354'],\r\n 4: ['edf8e9', 'bae4b3', '74c476', '238b45'],\r\n 5: ['edf8e9', 'bae4b3', '74c476', '31a354', '006d2c'],\r\n 6: ['edf8e9', 'c7e9c0', 'a1d99b', '74c476', '31a354', '006d2c'],\r\n 7: ['edf8e9', 'c7e9c0', 'a1d99b', '74c476', '41ab5d', '238b45',\r\n '005a32'],\r\n 8: ['f7fcf5', 'e5f5e0', 'c7e9c0', 'a1d99b', '74c476', '41ab5d',\r\n '238b45', '005a32'],\r\n 9: ['f7fcf5', 'e5f5e0', 'c7e9c0', 'a1d99b', '74c476', '41ab5d',\r\n '238b45', '006d2c', '00441b']\r\n },\r\n Oranges: {\r\n type: 'sequential',\r\n cbf: 42,\r\n 3: ['fee6ce', 'fdae6b', 'e6550d'],\r\n 4: ['feedde', 'fdbe85', 'fd8d3c', 'd94701'],\r\n 5: ['feedde', 'fdbe85', 'fd8d3c', 'e6550d', 'a63603'],\r\n 6: ['feedde', 'fdd0a2', 'fdae6b', 'fd8d3c', 'e6550d', 'a63603'],\r\n 7: ['feedde', 'fdd0a2', 'fdae6b', 'fd8d3c', 'f16913', 'd94801',\r\n '8c2d04'],\r\n 8: ['fff5eb', 'fee6ce', 'fdd0a2', 'fdae6b', 'fd8d3c', 'f16913',\r\n 'd94801', '8c2d04'],\r\n 9: ['fff5eb', 'fee6ce', 'fdd0a2', 'fdae6b', 'fd8d3c', 'f16913',\r\n 'd94801', 'a63603', '7f2704']\r\n },\r\n Reds: {\r\n type: 'sequential',\r\n cbf: 42,\r\n 3: ['fee0d2', 'fc9272', 'de2d26'],\r\n 4: ['fee5d9', 'fcae91', 'fb6a4a', 'cb181d'],\r\n 5: ['fee5d9', 'fcae91', 'fb6a4a', 'de2d26', 'a50f15'],\r\n 6: ['fee5d9', 'fcbba1', 'fc9272', 'fb6a4a', 'de2d26', 'a50f15'],\r\n 7: ['fee5d9', 'fcbba1', 'fc9272', 'fb6a4a', 'ef3b2c', 'cb181d',\r\n '99000d'],\r\n 8: ['fff5f0', 'fee0d2', 'fcbba1', 'fc9272', 'fb6a4a', 'ef3b2c',\r\n 'cb181d', '99000d'],\r\n 9: ['fff5f0', 'fee0d2', 'fcbba1', 'fc9272', 'fb6a4a', 'ef3b2c',\r\n 'cb181d', 'a50f15', '67000d']\r\n },\r\n Greys: {\r\n type: 'sequential',\r\n cbf: 42,\r\n 3: ['f0f0f0', 'bdbdbd', '636363'],\r\n 4: ['f7f7f7', 'cccccc', '969696', '525252'],\r\n 5: ['f7f7f7', 'cccccc', '969696', '636363', '252525'],\r\n 6: ['f7f7f7', 'd9d9d9', 'bdbdbd', '969696', '636363', '252525'],\r\n 7: ['f7f7f7', 'd9d9d9', 'bdbdbd', '969696', '737373', '525252',\r\n '252525'],\r\n 8: ['ffffff', 'f0f0f0', 'd9d9d9', 'bdbdbd', '969696', '737373',\r\n '525252', '252525'],\r\n 9: ['ffffff', 'f0f0f0', 'd9d9d9', 'bdbdbd', '969696', '737373',\r\n '525252', '252525', '000000']\r\n },\r\n PuOr: {\r\n type: 'diverging',\r\n cbf: 42,\r\n 3: ['f1a340', 'f7f7f7', '998ec3'],\r\n 4: ['e66101', 'fdb863', 'b2abd2', '5e3c99'],\r\n 5: ['e66101', 'fdb863', 'f7f7f7', 'b2abd2', '5e3c99'],\r\n 6: ['b35806', 'f1a340', 'fee0b6', 'd8daeb', '998ec3', '542788'],\r\n 7: ['b35806', 'f1a340', 'fee0b6', 'f7f7f7', 'd8daeb', '998ec3',\r\n '542788'],\r\n 8: ['b35806', 'e08214', 'fdb863', 'fee0b6', 'd8daeb', 'b2abd2',\r\n '8073ac', '542788'],\r\n 9: ['b35806', 'e08214', 'fdb863', 'fee0b6', 'f7f7f7', 'd8daeb',\r\n 'b2abd2', '8073ac', '542788'],\r\n 10: ['7f3b08', 'b35806', 'e08214', 'fdb863', 'fee0b6', 'd8daeb',\r\n 'b2abd2', '8073ac', '542788', '2d004b'],\r\n 11: ['7f3b08', 'b35806', 'e08214', 'fdb863', 'fee0b6', 'f7f7f7',\r\n 'd8daeb', 'b2abd2', '8073ac', '542788', '2d004b']\r\n },\r\n BrBG: {\r\n type: 'diverging',\r\n cbf: 42,\r\n 3: ['d8b365', 'f5f5f5', '5ab4ac'],\r\n 4: ['a6611a', 'dfc27d', '80cdc1', '018571'],\r\n 5: ['a6611a', 'dfc27d', 'f5f5f5', '80cdc1', '018571'],\r\n 6: ['8c510a', 'd8b365', 'f6e8c3', 'c7eae5', '5ab4ac', '01665e'],\r\n 7: ['8c510a', 'd8b365', 'f6e8c3', 'f5f5f5', 'c7eae5', '5ab4ac',\r\n '01665e'],\r\n 8: ['8c510a', 'bf812d', 'dfc27d', 'f6e8c3', 'c7eae5', '80cdc1',\r\n '35978f', '01665e'],\r\n 9: ['8c510a', 'bf812d', 'dfc27d', 'f6e8c3', 'f5f5f5', 'c7eae5',\r\n '80cdc1', '35978f', '01665e'],\r\n 10: ['543005', '8c510a', 'bf812d', 'dfc27d', 'f6e8c3', 'c7eae5',\r\n '80cdc1', '35978f', '01665e', '003c30'],\r\n 11: ['543005', '8c510a', 'bf812d', 'dfc27d', 'f6e8c3', 'f5f5f5',\r\n 'c7eae5', '80cdc1', '35978f', '01665e', '003c30']\r\n },\r\n PRGn: {\r\n type: 'diverging',\r\n cbf: 42,\r\n 3: ['af8dc3', 'f7f7f7', '7fbf7b'],\r\n 4: ['7b3294', 'c2a5cf', 'a6dba0', '008837'],\r\n 5: ['7b3294', 'c2a5cf', 'f7f7f7', 'a6dba0', '008837'],\r\n 6: ['762a83', 'af8dc3', 'e7d4e8', 'd9f0d3', '7fbf7b', '1b7837'],\r\n 7: ['762a83', 'af8dc3', 'e7d4e8', 'f7f7f7', 'd9f0d3', '7fbf7b',\r\n '1b7837'],\r\n 8: ['762a83', '9970ab', 'c2a5cf', 'e7d4e8', 'd9f0d3', 'a6dba0',\r\n '5aae61', '1b7837'],\r\n 9: ['762a83', '9970ab', 'c2a5cf', 'e7d4e8', 'f7f7f7', 'd9f0d3',\r\n 'a6dba0', '5aae61', '1b7837'],\r\n 10: ['40004b', '762a83', '9970ab', 'c2a5cf', 'e7d4e8', 'd9f0d3',\r\n 'a6dba0', '5aae61', '1b7837', '00441b'],\r\n 11: ['40004b', '762a83', '9970ab', 'c2a5cf', 'e7d4e8', 'f7f7f7',\r\n 'd9f0d3', 'a6dba0', '5aae61', '1b7837', '00441b']\r\n },\r\n PiYG: {\r\n type: 'diverging',\r\n cbf: 42,\r\n 3: ['e9a3c9', 'f7f7f7', 'a1d76a'],\r\n 4: ['d01c8b', 'f1b6da', 'b8e186', '4dac26'],\r\n 5: ['d01c8b', 'f1b6da', 'f7f7f7', 'b8e186', '4dac26'],\r\n 6: ['c51b7d', 'e9a3c9', 'fde0ef', 'e6f5d0', 'a1d76a', '4d9221'],\r\n 7: ['c51b7d', 'e9a3c9', 'fde0ef', 'f7f7f7', 'e6f5d0', 'a1d76a',\r\n '4d9221'],\r\n 8: ['c51b7d', 'de77ae', 'f1b6da', 'fde0ef', 'e6f5d0', 'b8e186',\r\n '7fbc41', '4d9221'],\r\n 9: ['c51b7d', 'de77ae', 'f1b6da', 'fde0ef', 'f7f7f7', 'e6f5d0',\r\n 'b8e186', '7fbc41', '4d9221'],\r\n 10: ['8e0152', 'c51b7d', 'de77ae', 'f1b6da', 'fde0ef', 'e6f5d0',\r\n 'b8e186', '7fbc41', '4d9221', '276419'],\r\n 11: ['8e0152', 'c51b7d', 'de77ae', 'f1b6da', 'fde0ef', 'f7f7f7',\r\n 'e6f5d0', 'b8e186', '7fbc41', '4d9221', '276419']\r\n },\r\n RdBu: {\r\n type: 'diverging',\r\n cbf: 42,\r\n 3: ['ef8a62', 'f7f7f7', '67a9cf'],\r\n 4: ['ca0020', 'f4a582', '92c5de', '0571b0'],\r\n 5: ['ca0020', 'f4a582', 'f7f7f7', '92c5de', '0571b0'],\r\n 6: ['b2182b', 'ef8a62', 'fddbc7', 'd1e5f0', '67a9cf', '2166ac'],\r\n 7: ['b2182b', 'ef8a62', 'fddbc7', 'f7f7f7', 'd1e5f0', '67a9cf',\r\n '2166ac'],\r\n 8: ['b2182b', 'd6604d', 'f4a582', 'fddbc7', 'd1e5f0', '92c5de',\r\n '4393c3', '2166ac'],\r\n 9: ['b2182b', 'd6604d', 'f4a582', 'fddbc7', 'f7f7f7', 'd1e5f0',\r\n '92c5de', '4393c3', '2166ac'],\r\n 10: ['67001f', 'b2182b', 'd6604d', 'f4a582', 'fddbc7', 'd1e5f0',\r\n '92c5de', '4393c3', '2166ac', '053061'],\r\n 11: ['67001f', 'b2182b', 'd6604d', 'f4a582', 'fddbc7', 'f7f7f7',\r\n 'd1e5f0', '92c5de', '4393c3', '2166ac', '053061']\r\n },\r\n RdGy: {\r\n type: 'diverging',\r\n cbf: 42,\r\n 3: ['ef8a62', 'ffffff', '999999'],\r\n 4: ['ca0020', 'f4a582', 'bababa', '404040'],\r\n 5: ['ca0020', 'f4a582', 'ffffff', 'bababa', '404040'],\r\n 6: ['b2182b', 'ef8a62', 'fddbc7', 'e0e0e0', '999999', '4d4d4d'],\r\n 7: ['b2182b', 'ef8a62', 'fddbc7', 'ffffff', 'e0e0e0', '999999',\r\n '4d4d4d'],\r\n 8: ['b2182b', 'd6604d', 'f4a582', 'fddbc7', 'e0e0e0', 'bababa',\r\n '878787', '4d4d4d'],\r\n 9: ['b2182b', 'd6604d', 'f4a582', 'fddbc7', 'ffffff', 'e0e0e0',\r\n 'bababa', '878787', '4d4d4d'],\r\n 10: ['67001f', 'b2182b', 'd6604d', 'f4a582', 'fddbc7', 'e0e0e0',\r\n 'bababa', '878787', '4d4d4d', '1a1a1a'],\r\n 11: ['67001f', 'b2182b', 'd6604d', 'f4a582', 'fddbc7', 'ffffff',\r\n 'e0e0e0', 'bababa', '878787', '4d4d4d', '1a1a1a']\r\n },\r\n RdYlBu: {\r\n type: 'diverging',\r\n cbf: 42,\r\n 3: ['fc8d59', 'ffffbf', '91bfdb'],\r\n 4: ['d7191c', 'fdae61', 'abd9e9', '2c7bb6'],\r\n 5: ['d7191c', 'fdae61', 'ffffbf', 'abd9e9', '2c7bb6'],\r\n 6: ['d73027', 'fc8d59', 'fee090', 'e0f3f8', '91bfdb', '4575b4'],\r\n 7: ['d73027', 'fc8d59', 'fee090', 'ffffbf', 'e0f3f8', '91bfdb',\r\n '4575b4'],\r\n 8: ['d73027', 'f46d43', 'fdae61', 'fee090', 'e0f3f8', 'abd9e9',\r\n '74add1', '4575b4'],\r\n 9: ['d73027', 'f46d43', 'fdae61', 'fee090', 'ffffbf', 'e0f3f8',\r\n 'abd9e9', '74add1', '4575b4'],\r\n 10: ['a50026', 'd73027', 'f46d43', 'fdae61', 'fee090', 'e0f3f8',\r\n 'abd9e9', '74add1', '4575b4', '313695'],\r\n 11: ['a50026', 'd73027', 'f46d43', 'fdae61', 'fee090', 'ffffbf',\r\n 'e0f3f8', 'abd9e9', '74add1', '4575b4', '313695']\r\n },\r\n Spectral: {\r\n type: 'diverging',\r\n cbf: 0,\r\n 3: ['fc8d59', 'ffffbf', '99d594'],\r\n 4: ['d7191c', 'fdae61', 'abdda4', '2b83ba'],\r\n 5: ['d7191c', 'fdae61', 'ffffbf', 'abdda4', '2b83ba'],\r\n 6: ['d53e4f', 'fc8d59', 'fee08b', 'e6f598', '99d594', '3288bd'],\r\n 7: ['d53e4f', 'fc8d59', 'fee08b', 'ffffbf', 'e6f598', '99d594',\r\n '3288bd'],\r\n 8: ['d53e4f', 'f46d43', 'fdae61', 'fee08b', 'e6f598', 'abdda4',\r\n '66c2a5', '3288bd'],\r\n 9: ['d53e4f', 'f46d43', 'fdae61', 'fee08b', 'ffffbf', 'e6f598',\r\n 'abdda4', '66c2a5', '3288bd'],\r\n 10: ['9e0142', 'd53e4f', 'f46d43', 'fdae61', 'fee08b', 'e6f598',\r\n 'abdda4', '66c2a5', '3288bd', '5e4fa2'],\r\n 11: ['9e0142', 'd53e4f', 'f46d43', 'fdae61', 'fee08b', 'ffffbf',\r\n 'e6f598', 'abdda4', '66c2a5', '3288bd', '5e4fa2']\r\n },\r\n RdYlGn: {\r\n type: 'diverging',\r\n cbf: 0,\r\n 3: ['fc8d59', 'ffffbf', '91cf60'],\r\n 4: ['d7191c', 'fdae61', 'a6d96a', '1a9641'],\r\n 5: ['d7191c', 'fdae61', 'ffffbf', 'a6d96a', '1a9641'],\r\n 6: ['d73027', 'fc8d59', 'fee08b', 'd9ef8b', '91cf60', '1a9850'],\r\n 7: ['d73027', 'fc8d59', 'fee08b', 'ffffbf', 'd9ef8b', '91cf60',\r\n '1a9850'],\r\n 8: ['d73027', 'f46d43', 'fdae61', 'fee08b', 'd9ef8b', 'a6d96a',\r\n '66bd63', '1a9850'],\r\n 9: ['d73027', 'f46d43', 'fdae61', 'fee08b', 'ffffbf', 'd9ef8b',\r\n 'a6d96a', '66bd63', '1a9850'],\r\n 10: ['a50026', 'd73027', 'f46d43', 'fdae61', 'fee08b', 'd9ef8b',\r\n 'a6d96a', '66bd63', '1a9850', '006837'],\r\n 11: ['a50026', 'd73027', 'f46d43', 'fdae61', 'fee08b', 'ffffbf',\r\n 'd9ef8b', 'a6d96a', '66bd63', '1a9850', '006837']\r\n },\r\n Accent: {\r\n type: 'qualitative',\r\n cbf: 0,\r\n 3: ['7fc97f', 'beaed4', 'fdc086'],\r\n 4: ['7fc97f', 'beaed4', 'fdc086', 'ffff99'],\r\n 5: ['7fc97f', 'beaed4', 'fdc086', 'ffff99', '386cb0'],\r\n 6: ['7fc97f', 'beaed4', 'fdc086', 'ffff99', '386cb0', 'f0027f'],\r\n 7: ['7fc97f', 'beaed4', 'fdc086', 'ffff99', '386cb0', 'f0027f',\r\n 'bf5b17'],\r\n 8: ['7fc97f', 'beaed4', 'fdc086', 'ffff99', '386cb0', 'f0027f',\r\n 'bf5b17', '666666']\r\n },\r\n Dark2: {\r\n type: 'qualitative',\r\n cbf: 3,\r\n 3: ['1b9e77', 'd95f02', '7570b3'],\r\n 4: ['1b9e77', 'd95f02', '7570b3', 'e7298a'],\r\n 5: ['1b9e77', 'd95f02', '7570b3', 'e7298a', '66a61e'],\r\n 6: ['1b9e77', 'd95f02', '7570b3', 'e7298a', '66a61e', 'e6ab02'],\r\n 7: ['1b9e77', 'd95f02', '7570b3', 'e7298a', '66a61e', 'e6ab02',\r\n 'a6761d'],\r\n 8: ['1b9e77', 'd95f02', '7570b3', 'e7298a', '66a61e', 'e6ab02',\r\n 'a6761d', '666666']\r\n },\r\n Paired: {\r\n type: 'qualitative',\r\n cbf: 4,\r\n 3: ['a6cee3', '1f78b4', 'b2df8a'],\r\n 4: ['a6cee3', '1f78b4', 'b2df8a', '33a02c'],\r\n 5: ['a6cee3', '1f78b4', 'b2df8a', '33a02c', 'fb9a99'],\r\n 6: ['a6cee3', '1f78b4', 'b2df8a', '33a02c', 'fb9a99', 'e31a1c'],\r\n 7: ['a6cee3', '1f78b4', 'b2df8a', '33a02c', 'fb9a99', 'e31a1c',\r\n 'fdbf6f'],\r\n 8: ['a6cee3', '1f78b4', 'b2df8a', '33a02c', 'fb9a99', 'e31a1c',\r\n 'fdbf6f', 'ff7f00'],\r\n 9: ['a6cee3', '1f78b4', 'b2df8a', '33a02c', 'fb9a99', 'e31a1c',\r\n 'fdbf6f', 'ff7f00', 'cab2d6'],\r\n 10: ['a6cee3', '1f78b4', 'b2df8a', '33a02c', 'fb9a99', 'e31a1c',\r\n 'fdbf6f', 'ff7f00', 'cab2d6', '6a3d9a'],\r\n 11: ['a6cee3', '1f78b4', 'b2df8a', '33a02c', 'fb9a99', 'e31a1c',\r\n 'fdbf6f', 'ff7f00', 'cab2d6', '6a3d9a', 'ffff99'],\r\n 12: ['a6cee3', '1f78b4', 'b2df8a', '33a02c', 'fb9a99', 'e31a1c',\r\n 'fdbf6f', 'ff7f00', 'cab2d6', '6a3d9a', 'ffff99', 'b15928']\r\n },\r\n Pastel1: {\r\n type: 'qualitative',\r\n cbf: 0,\r\n 3: ['fbb4ae', 'b3cde3', 'ccebc5'],\r\n 4: ['fbb4ae', 'b3cde3', 'ccebc5', 'decbe4'],\r\n 5: ['fbb4ae', 'b3cde3', 'ccebc5', 'decbe4', 'fed9a6'],\r\n 6: ['fbb4ae', 'b3cde3', 'ccebc5', 'decbe4', 'fed9a6', 'ffffcc'],\r\n 7: ['fbb4ae', 'b3cde3', 'ccebc5', 'decbe4', 'fed9a6', 'ffffcc',\r\n 'e5d8bd'],\r\n 8: ['fbb4ae', 'b3cde3', 'ccebc5', 'decbe4', 'fed9a6', 'ffffcc',\r\n 'e5d8bd', 'fddaec'],\r\n 9: ['fbb4ae', 'b3cde3', 'ccebc5', 'decbe4', 'fed9a6', 'ffffcc',\r\n 'e5d8bd', 'fddaec', 'f2f2f2']\r\n },\r\n Pastel2: {\r\n type: 'qualitative',\r\n cbf: 0,\r\n 3: ['b3e2cd', 'fdcdac', 'cbd5e8'],\r\n 4: ['b3e2cd', 'fdcdac', 'cbd5e8', 'f4cae4'],\r\n 5: ['b3e2cd', 'fdcdac', 'cbd5e8', 'f4cae4', 'e6f5c9'],\r\n 6: ['b3e2cd', 'fdcdac', 'cbd5e8', 'f4cae4', 'e6f5c9', 'fff2ae'],\r\n 7: ['b3e2cd', 'fdcdac', 'cbd5e8', 'f4cae4', 'e6f5c9', 'fff2ae',\r\n 'f1e2cc'],\r\n 8: ['b3e2cd', 'fdcdac', 'cbd5e8', 'f4cae4', 'e6f5c9', 'fff2ae',\r\n 'f1e2cc', 'cccccc']\r\n },\r\n Set1: {\r\n type: 'qualitative',\r\n cbf: 0,\r\n 3: ['e41a1c', '377eb8', '4daf4a'],\r\n 4: ['e41a1c', '377eb8', '4daf4a', '984ea3'],\r\n 5: ['e41a1c', '377eb8', '4daf4a', '984ea3', 'ff7f00'],\r\n 6: ['e41a1c', '377eb8', '4daf4a', '984ea3', 'ff7f00', 'ffff33'],\r\n 7: ['e41a1c', '377eb8', '4daf4a', '984ea3', 'ff7f00', 'ffff33',\r\n 'a65628'],\r\n 8: ['e41a1c', '377eb8', '4daf4a', '984ea3', 'ff7f00', 'ffff33',\r\n 'a65628', 'f781bf'],\r\n 9: ['e41a1c', '377eb8', '4daf4a', '984ea3', 'ff7f00', 'ffff33',\r\n 'a65628', 'f781bf', '999999']\r\n },\r\n Set2: {\r\n type: 'qualitative',\r\n cbf: 3,\r\n 3: ['66c2a5', 'fc8d62', '8da0cb'],\r\n 4: ['66c2a5', 'fc8d62', '8da0cb', 'e78ac3'],\r\n 5: ['66c2a5', 'fc8d62', '8da0cb', 'e78ac3', 'a6d854'],\r\n 6: ['66c2a5', 'fc8d62', '8da0cb', 'e78ac3', 'a6d854', 'ffd92f'],\r\n 7: ['66c2a5', 'fc8d62', '8da0cb', 'e78ac3', 'a6d854', 'ffd92f',\r\n 'e5c494'],\r\n 8: ['66c2a5', 'fc8d62', '8da0cb', 'e78ac3', 'a6d854', 'ffd92f',\r\n 'e5c494', 'b3b3b3']\r\n },\r\n Set3: {\r\n type: 'qualitative',\r\n cbf: 0,\r\n 3: ['8dd3c7', 'ffffb3', 'bebada'],\r\n 4: ['8dd3c7', 'ffffb3', 'bebada', 'fb8072'],\r\n 5: ['8dd3c7', 'ffffb3', 'bebada', 'fb8072', '80b1d3'],\r\n 6: ['8dd3c7', 'ffffb3', 'bebada', 'fb8072', '80b1d3', 'fdb462'],\r\n 7: ['8dd3c7', 'ffffb3', 'bebada', 'fb8072', '80b1d3', 'fdb462',\r\n 'b3de69'],\r\n 8: ['8dd3c7', 'ffffb3', 'bebada', 'fb8072', '80b1d3', 'fdb462',\r\n 'b3de69', 'fccde5'],\r\n 9: ['8dd3c7', 'ffffb3', 'bebada', 'fb8072', '80b1d3', 'fdb462',\r\n 'b3de69', 'fccde5', 'd9d9d9'],\r\n 10: ['8dd3c7', 'ffffb3', 'bebada', 'fb8072', '80b1d3', 'fdb462',\r\n 'b3de69', 'fccde5', 'd9d9d9', 'bc80bd'],\r\n 11: ['8dd3c7', 'ffffb3', 'bebada', 'fb8072', '80b1d3', 'fdb462',\r\n 'b3de69', 'fccde5', 'd9d9d9', 'bc80bd', 'ccebc5'],\r\n 12: ['8dd3c7', 'ffffb3', 'bebada', 'fb8072', '80b1d3', 'fdb462',\r\n 'b3de69', 'fccde5', 'd9d9d9', 'bc80bd', 'ccebc5', 'ffed6f']\r\n }\r\n };\r\n\r\n for (var name in schemes) {\r\n var scheme = schemes[name];\r\n scheme = palette.Scheme.fromPalettes(\r\n 'cb-' + name, [scheme.type, 'cb-' + scheme.type], scheme, 12, scheme.cbf);\r\n palette.register(scheme);\r\n }\r\n})();\r\n\r\nif(typeof module === \"object\" && module.exports) {\r\n module.exports = palette\r\n}\r\n","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\n// A grid component using the following libs as inspiration.\n//\n// For the implementation:\n// - https://getbootstrap.com/docs/4.3/layout/grid/\n// - https://github.com/kristoferjoseph/flexboxgrid/blob/master/src/css/flexboxgrid.css\n// - https://github.com/roylee0704/react-flexbox-grid\n// - https://material.angularjs.org/latest/layout/introduction\n//\n// Follow this flexbox Guide to better understand the underlying model:\n// - https://css-tricks.com/snippets/css/a-guide-to-flexbox/\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport requirePropFactory from '../utils/requirePropFactory';\nvar SPACINGS = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];\nvar GRID_SIZES = ['auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];\n\nfunction generateGrid(globalStyles, theme, breakpoint) {\n var styles = {};\n GRID_SIZES.forEach(function (size) {\n var key = \"grid-\".concat(breakpoint, \"-\").concat(size);\n\n if (size === true) {\n // For the auto layouting\n styles[key] = {\n flexBasis: 0,\n flexGrow: 1,\n maxWidth: '100%'\n };\n return;\n }\n\n if (size === 'auto') {\n styles[key] = {\n flexBasis: 'auto',\n flexGrow: 0,\n maxWidth: 'none'\n };\n return;\n } // Keep 7 significant numbers.\n\n\n var width = \"\".concat(Math.round(size / 12 * 10e7) / 10e5, \"%\"); // Close to the bootstrap implementation:\n // https://github.com/twbs/bootstrap/blob/8fccaa2439e97ec72a4b7dc42ccc1f649790adb0/scss/mixins/_grid.scss#L41\n\n styles[key] = {\n flexBasis: width,\n flexGrow: 0,\n maxWidth: width\n };\n }); // No need for a media query for the first size.\n\n if (breakpoint === 'xs') {\n _extends(globalStyles, styles);\n } else {\n globalStyles[theme.breakpoints.up(breakpoint)] = styles;\n }\n}\n\nfunction getOffset(val) {\n var div = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n var parse = parseFloat(val);\n return \"\".concat(parse / div).concat(String(val).replace(String(parse), '') || 'px');\n}\n\nfunction generateGutter(theme, breakpoint) {\n var styles = {};\n SPACINGS.forEach(function (spacing) {\n var themeSpacing = theme.spacing(spacing);\n\n if (themeSpacing === 0) {\n return;\n }\n\n styles[\"spacing-\".concat(breakpoint, \"-\").concat(spacing)] = {\n margin: \"-\".concat(getOffset(themeSpacing, 2)),\n width: \"calc(100% + \".concat(getOffset(themeSpacing), \")\"),\n '& > $item': {\n padding: getOffset(themeSpacing, 2)\n }\n };\n });\n return styles;\n} // Default CSS values\n// flex: '0 1 auto',\n// flexDirection: 'row',\n// alignItems: 'flex-start',\n// flexWrap: 'nowrap',\n// justifyContent: 'flex-start',\n\n\nexport var styles = function styles(theme) {\n return _extends({\n /* Styles applied to the root element. */\n root: {},\n\n /* Styles applied to the root element if `container={true}`. */\n container: {\n boxSizing: 'border-box',\n display: 'flex',\n flexWrap: 'wrap',\n width: '100%'\n },\n\n /* Styles applied to the root element if `item={true}`. */\n item: {\n boxSizing: 'border-box',\n margin: '0' // For instance, it's useful when used with a `figure` element.\n\n },\n\n /* Styles applied to the root element if `zeroMinWidth={true}`. */\n zeroMinWidth: {\n minWidth: 0\n },\n\n /* Styles applied to the root element if `direction=\"column\"`. */\n 'direction-xs-column': {\n flexDirection: 'column'\n },\n\n /* Styles applied to the root element if `direction=\"column-reverse\"`. */\n 'direction-xs-column-reverse': {\n flexDirection: 'column-reverse'\n },\n\n /* Styles applied to the root element if `direction=\"row-reverse\"`. */\n 'direction-xs-row-reverse': {\n flexDirection: 'row-reverse'\n },\n\n /* Styles applied to the root element if `wrap=\"nowrap\"`. */\n 'wrap-xs-nowrap': {\n flexWrap: 'nowrap'\n },\n\n /* Styles applied to the root element if `wrap=\"reverse\"`. */\n 'wrap-xs-wrap-reverse': {\n flexWrap: 'wrap-reverse'\n },\n\n /* Styles applied to the root element if `alignItems=\"center\"`. */\n 'align-items-xs-center': {\n alignItems: 'center'\n },\n\n /* Styles applied to the root element if `alignItems=\"flex-start\"`. */\n 'align-items-xs-flex-start': {\n alignItems: 'flex-start'\n },\n\n /* Styles applied to the root element if `alignItems=\"flex-end\"`. */\n 'align-items-xs-flex-end': {\n alignItems: 'flex-end'\n },\n\n /* Styles applied to the root element if `alignItems=\"baseline\"`. */\n 'align-items-xs-baseline': {\n alignItems: 'baseline'\n },\n\n /* Styles applied to the root element if `alignContent=\"center\"`. */\n 'align-content-xs-center': {\n alignContent: 'center'\n },\n\n /* Styles applied to the root element if `alignContent=\"flex-start\"`. */\n 'align-content-xs-flex-start': {\n alignContent: 'flex-start'\n },\n\n /* Styles applied to the root element if `alignContent=\"flex-end\"`. */\n 'align-content-xs-flex-end': {\n alignContent: 'flex-end'\n },\n\n /* Styles applied to the root element if `alignContent=\"space-between\"`. */\n 'align-content-xs-space-between': {\n alignContent: 'space-between'\n },\n\n /* Styles applied to the root element if `alignContent=\"space-around\"`. */\n 'align-content-xs-space-around': {\n alignContent: 'space-around'\n },\n\n /* Styles applied to the root element if `justify=\"center\"`. */\n 'justify-xs-center': {\n justifyContent: 'center'\n },\n\n /* Styles applied to the root element if `justify=\"flex-end\"`. */\n 'justify-xs-flex-end': {\n justifyContent: 'flex-end'\n },\n\n /* Styles applied to the root element if `justify=\"space-between\"`. */\n 'justify-xs-space-between': {\n justifyContent: 'space-between'\n },\n\n /* Styles applied to the root element if `justify=\"space-around\"`. */\n 'justify-xs-space-around': {\n justifyContent: 'space-around'\n },\n\n /* Styles applied to the root element if `justify=\"space-evenly\"`. */\n 'justify-xs-space-evenly': {\n justifyContent: 'space-evenly'\n }\n }, generateGutter(theme, 'xs'), theme.breakpoints.keys.reduce(function (accumulator, key) {\n // Use side effect over immutability for better performance.\n generateGrid(accumulator, theme, key);\n return accumulator;\n }, {}));\n};\nvar Grid = /*#__PURE__*/React.forwardRef(function Grid(props, ref) {\n var _props$alignContent = props.alignContent,\n alignContent = _props$alignContent === void 0 ? 'stretch' : _props$alignContent,\n _props$alignItems = props.alignItems,\n alignItems = _props$alignItems === void 0 ? 'stretch' : _props$alignItems,\n classes = props.classes,\n classNameProp = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n _props$container = props.container,\n container = _props$container === void 0 ? false : _props$container,\n _props$direction = props.direction,\n direction = _props$direction === void 0 ? 'row' : _props$direction,\n _props$item = props.item,\n item = _props$item === void 0 ? false : _props$item,\n _props$justify = props.justify,\n justify = _props$justify === void 0 ? 'flex-start' : _props$justify,\n _props$lg = props.lg,\n lg = _props$lg === void 0 ? false : _props$lg,\n _props$md = props.md,\n md = _props$md === void 0 ? false : _props$md,\n _props$sm = props.sm,\n sm = _props$sm === void 0 ? false : _props$sm,\n _props$spacing = props.spacing,\n spacing = _props$spacing === void 0 ? 0 : _props$spacing,\n _props$wrap = props.wrap,\n wrap = _props$wrap === void 0 ? 'wrap' : _props$wrap,\n _props$xl = props.xl,\n xl = _props$xl === void 0 ? false : _props$xl,\n _props$xs = props.xs,\n xs = _props$xs === void 0 ? false : _props$xs,\n _props$zeroMinWidth = props.zeroMinWidth,\n zeroMinWidth = _props$zeroMinWidth === void 0 ? false : _props$zeroMinWidth,\n other = _objectWithoutProperties(props, [\"alignContent\", \"alignItems\", \"classes\", \"className\", \"component\", \"container\", \"direction\", \"item\", \"justify\", \"lg\", \"md\", \"sm\", \"spacing\", \"wrap\", \"xl\", \"xs\", \"zeroMinWidth\"]);\n\n var className = clsx(classes.root, classNameProp, container && [classes.container, spacing !== 0 && classes[\"spacing-xs-\".concat(String(spacing))]], item && classes.item, zeroMinWidth && classes.zeroMinWidth, direction !== 'row' && classes[\"direction-xs-\".concat(String(direction))], wrap !== 'wrap' && classes[\"wrap-xs-\".concat(String(wrap))], alignItems !== 'stretch' && classes[\"align-items-xs-\".concat(String(alignItems))], alignContent !== 'stretch' && classes[\"align-content-xs-\".concat(String(alignContent))], justify !== 'flex-start' && classes[\"justify-xs-\".concat(String(justify))], xs !== false && classes[\"grid-xs-\".concat(String(xs))], sm !== false && classes[\"grid-sm-\".concat(String(sm))], md !== false && classes[\"grid-md-\".concat(String(md))], lg !== false && classes[\"grid-lg-\".concat(String(lg))], xl !== false && classes[\"grid-xl-\".concat(String(xl))]);\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: className,\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Grid.propTypes = {\n /**\n * Defines the `align-content` style property.\n * It's applied for all screen sizes.\n */\n alignContent: PropTypes.oneOf(['stretch', 'center', 'flex-start', 'flex-end', 'space-between', 'space-around']),\n\n /**\n * Defines the `align-items` style property.\n * It's applied for all screen sizes.\n */\n alignItems: PropTypes.oneOf(['flex-start', 'center', 'flex-end', 'stretch', 'baseline']),\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes\n /* @typescript-to-proptypes-ignore */\n .elementType,\n\n /**\n * If `true`, the component will have the flex *container* behavior.\n * You should be wrapping *items* with a *container*.\n */\n container: PropTypes.bool,\n\n /**\n * Defines the `flex-direction` style property.\n * It is applied for all screen sizes.\n */\n direction: PropTypes.oneOf(['row', 'row-reverse', 'column', 'column-reverse']),\n\n /**\n * If `true`, the component will have the flex *item* behavior.\n * You should be wrapping *items* with a *container*.\n */\n item: PropTypes.bool,\n\n /**\n * Defines the `justify-content` style property.\n * It is applied for all screen sizes.\n */\n justify: PropTypes.oneOf(['flex-start', 'center', 'flex-end', 'space-between', 'space-around', 'space-evenly']),\n\n /**\n * Defines the number of grids the component is going to use.\n * It's applied for the `lg` breakpoint and wider screens if not overridden.\n */\n lg: PropTypes.oneOf([false, 'auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),\n\n /**\n * Defines the number of grids the component is going to use.\n * It's applied for the `md` breakpoint and wider screens if not overridden.\n */\n md: PropTypes.oneOf([false, 'auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),\n\n /**\n * Defines the number of grids the component is going to use.\n * It's applied for the `sm` breakpoint and wider screens if not overridden.\n */\n sm: PropTypes.oneOf([false, 'auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),\n\n /**\n * Defines the space between the type `item` component.\n * It can only be used on a type `container` component.\n */\n spacing: PropTypes.oneOf(SPACINGS),\n\n /**\n * Defines the `flex-wrap` style property.\n * It's applied for all screen sizes.\n */\n wrap: PropTypes.oneOf(['nowrap', 'wrap', 'wrap-reverse']),\n\n /**\n * Defines the number of grids the component is going to use.\n * It's applied for the `xl` breakpoint and wider screens.\n */\n xl: PropTypes.oneOf([false, 'auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),\n\n /**\n * Defines the number of grids the component is going to use.\n * It's applied for all the screen sizes with the lowest priority.\n */\n xs: PropTypes.oneOf([false, 'auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),\n\n /**\n * If `true`, it sets `min-width: 0` on the item.\n * Refer to the limitations section of the documentation to better understand the use case.\n */\n zeroMinWidth: PropTypes.bool\n} : void 0;\nvar StyledGrid = withStyles(styles, {\n name: 'MuiGrid'\n})(Grid);\n\nif (process.env.NODE_ENV !== 'production') {\n var requireProp = requirePropFactory('Grid');\n StyledGrid.propTypes = _extends({}, StyledGrid.propTypes, {\n alignContent: requireProp('container'),\n alignItems: requireProp('container'),\n direction: requireProp('container'),\n justify: requireProp('container'),\n lg: requireProp('item'),\n md: requireProp('item'),\n sm: requireProp('item'),\n spacing: requireProp('container'),\n wrap: requireProp('container'),\n xs: requireProp('item'),\n zeroMinWidth: requireProp('item')\n });\n}\n\nexport default StyledGrid;","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n var elevations = {};\n theme.shadows.forEach(function (shadow, index) {\n elevations[\"elevation\".concat(index)] = {\n boxShadow: shadow\n };\n });\n return _extends({\n /* Styles applied to the root element. */\n root: {\n backgroundColor: theme.palette.background.paper,\n color: theme.palette.text.primary,\n transition: theme.transitions.create('box-shadow')\n },\n\n /* Styles applied to the root element if `square={false}`. */\n rounded: {\n borderRadius: theme.shape.borderRadius\n },\n\n /* Styles applied to the root element if `variant=\"outlined\"`. */\n outlined: {\n border: \"1px solid \".concat(theme.palette.divider)\n }\n }, elevations);\n};\nvar Paper = /*#__PURE__*/React.forwardRef(function Paper(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n _props$square = props.square,\n square = _props$square === void 0 ? false : _props$square,\n _props$elevation = props.elevation,\n elevation = _props$elevation === void 0 ? 1 : _props$elevation,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'elevation' : _props$variant,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\", \"square\", \"elevation\", \"variant\"]);\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, variant === 'outlined' ? classes.outlined : classes[\"elevation\".concat(elevation)], !square && classes.rounded),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Paper.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes\n /* @typescript-to-proptypes-ignore */\n .elementType,\n\n /**\n * Shadow depth, corresponds to `dp` in the spec.\n * It accepts values between 0 and 24 inclusive.\n */\n elevation: chainPropTypes(PropTypes.number, function (props) {\n var classes = props.classes,\n elevation = props.elevation; // in case `withStyles` fails to inject we don't need this warning\n\n if (classes === undefined) {\n return null;\n }\n\n if (elevation != null && classes[\"elevation\".concat(elevation)] === undefined) {\n return new Error(\"Material-UI: This elevation `\".concat(elevation, \"` is not implemented.\"));\n }\n\n return null;\n }),\n\n /**\n * If `true`, rounded corners are disabled.\n */\n square: PropTypes.bool,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['elevation', 'outlined'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiPaper'\n})(Paper);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: _defineProperty({\n width: '100%',\n marginLeft: 'auto',\n boxSizing: 'border-box',\n marginRight: 'auto',\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n display: 'block'\n }, theme.breakpoints.up('sm'), {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3)\n }),\n\n /* Styles applied to the root element if `disableGutters={true}`. */\n disableGutters: {\n paddingLeft: 0,\n paddingRight: 0\n },\n\n /* Styles applied to the root element if `fixed={true}`. */\n fixed: Object.keys(theme.breakpoints.values).reduce(function (acc, breakpoint) {\n var value = theme.breakpoints.values[breakpoint];\n\n if (value !== 0) {\n acc[theme.breakpoints.up(breakpoint)] = {\n maxWidth: value\n };\n }\n\n return acc;\n }, {}),\n\n /* Styles applied to the root element if `maxWidth=\"xs\"`. */\n maxWidthXs: _defineProperty({}, theme.breakpoints.up('xs'), {\n maxWidth: Math.max(theme.breakpoints.values.xs, 444)\n }),\n\n /* Styles applied to the root element if `maxWidth=\"sm\"`. */\n maxWidthSm: _defineProperty({}, theme.breakpoints.up('sm'), {\n maxWidth: theme.breakpoints.values.sm\n }),\n\n /* Styles applied to the root element if `maxWidth=\"md\"`. */\n maxWidthMd: _defineProperty({}, theme.breakpoints.up('md'), {\n maxWidth: theme.breakpoints.values.md\n }),\n\n /* Styles applied to the root element if `maxWidth=\"lg\"`. */\n maxWidthLg: _defineProperty({}, theme.breakpoints.up('lg'), {\n maxWidth: theme.breakpoints.values.lg\n }),\n\n /* Styles applied to the root element if `maxWidth=\"xl\"`. */\n maxWidthXl: _defineProperty({}, theme.breakpoints.up('xl'), {\n maxWidth: theme.breakpoints.values.xl\n })\n };\n};\nvar Container = /*#__PURE__*/React.forwardRef(function Container(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n _props$disableGutters = props.disableGutters,\n disableGutters = _props$disableGutters === void 0 ? false : _props$disableGutters,\n _props$fixed = props.fixed,\n fixed = _props$fixed === void 0 ? false : _props$fixed,\n _props$maxWidth = props.maxWidth,\n maxWidth = _props$maxWidth === void 0 ? 'lg' : _props$maxWidth,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\", \"disableGutters\", \"fixed\", \"maxWidth\"]);\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, fixed && classes.fixed, disableGutters && classes.disableGutters, maxWidth !== false && classes[\"maxWidth\".concat(capitalize(String(maxWidth)))]),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Container.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * @ignore\n */\n children: PropTypes\n /* @typescript-to-proptypes-ignore */\n .node.isRequired,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes\n /* @typescript-to-proptypes-ignore */\n .elementType,\n\n /**\n * If `true`, the left and right padding is removed.\n */\n disableGutters: PropTypes.bool,\n\n /**\n * Set the max-width to match the min-width of the current breakpoint.\n * This is useful if you'd prefer to design for a fixed set of sizes\n * instead of trying to accommodate a fully fluid viewport.\n * It's fluid by default.\n */\n fixed: PropTypes.bool,\n\n /**\n * Determine the max-width of the container.\n * The container width grows with the size of the screen.\n * Set to `false` to disable `maxWidth`.\n */\n maxWidth: PropTypes.oneOf(['lg', 'md', 'sm', 'xl', 'xs', false])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiContainer'\n})(Container);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nimport { fade } from '../styles/colorManipulator';\nimport ButtonBase from '../ButtonBase';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n textAlign: 'center',\n flex: '0 0 auto',\n fontSize: theme.typography.pxToRem(24),\n padding: 12,\n borderRadius: '50%',\n overflow: 'visible',\n // Explicitly set the default value to solve a bug on IE 11.\n color: theme.palette.action.active,\n transition: theme.transitions.create('background-color', {\n duration: theme.transitions.duration.shortest\n }),\n '&:hover': {\n backgroundColor: fade(theme.palette.action.active, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n },\n '&$disabled': {\n backgroundColor: 'transparent',\n color: theme.palette.action.disabled\n }\n },\n\n /* Styles applied to the root element if `edge=\"start\"`. */\n edgeStart: {\n marginLeft: -12,\n '$sizeSmall&': {\n marginLeft: -3\n }\n },\n\n /* Styles applied to the root element if `edge=\"end\"`. */\n edgeEnd: {\n marginRight: -12,\n '$sizeSmall&': {\n marginRight: -3\n }\n },\n\n /* Styles applied to the root element if `color=\"inherit\"`. */\n colorInherit: {\n color: 'inherit'\n },\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n color: theme.palette.primary.main,\n '&:hover': {\n backgroundColor: fade(theme.palette.primary.main, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n color: theme.palette.secondary.main,\n '&:hover': {\n backgroundColor: fade(theme.palette.secondary.main, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the root element if `size=\"small\"`. */\n sizeSmall: {\n padding: 3,\n fontSize: theme.typography.pxToRem(18)\n },\n\n /* Styles applied to the children container element. */\n label: {\n width: '100%',\n display: 'flex',\n alignItems: 'inherit',\n justifyContent: 'inherit'\n }\n };\n};\n/**\n * Refer to the [Icons](/components/icons/) section of the documentation\n * regarding the available icon options.\n */\n\nvar IconButton = /*#__PURE__*/React.forwardRef(function IconButton(props, ref) {\n var _props$edge = props.edge,\n edge = _props$edge === void 0 ? false : _props$edge,\n children = props.children,\n classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'default' : _props$color,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n _props$disableFocusRi = props.disableFocusRipple,\n disableFocusRipple = _props$disableFocusRi === void 0 ? false : _props$disableFocusRi,\n _props$size = props.size,\n size = _props$size === void 0 ? 'medium' : _props$size,\n other = _objectWithoutProperties(props, [\"edge\", \"children\", \"classes\", \"className\", \"color\", \"disabled\", \"disableFocusRipple\", \"size\"]);\n\n return /*#__PURE__*/React.createElement(ButtonBase, _extends({\n className: clsx(classes.root, className, color !== 'default' && classes[\"color\".concat(capitalize(color))], disabled && classes.disabled, size === \"small\" && classes[\"size\".concat(capitalize(size))], {\n 'start': classes.edgeStart,\n 'end': classes.edgeEnd\n }[edge]),\n centerRipple: true,\n focusRipple: !disableFocusRipple,\n disabled: disabled,\n ref: ref\n }, other), /*#__PURE__*/React.createElement(\"span\", {\n className: classes.label\n }, children));\n});\nprocess.env.NODE_ENV !== \"production\" ? IconButton.propTypes = {\n /**\n * The icon element.\n */\n children: chainPropTypes(PropTypes.node, function (props) {\n var found = React.Children.toArray(props.children).some(function (child) {\n return /*#__PURE__*/React.isValidElement(child) && child.props.onClick;\n });\n\n if (found) {\n return new Error(['Material-UI: You are providing an onClick event listener ' + 'to a child of a button element.', 'Firefox will never trigger the event.', 'You should move the onClick listener to the parent button element.', 'https://github.com/mui-org/material-ui/issues/13957'].join('\\n'));\n }\n\n return null;\n }),\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['default', 'inherit', 'primary', 'secondary']),\n\n /**\n * If `true`, the button will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the keyboard focus ripple will be disabled.\n */\n disableFocusRipple: PropTypes.bool,\n\n /**\n * If `true`, the ripple effect will be disabled.\n */\n disableRipple: PropTypes.bool,\n\n /**\n * If given, uses a negative margin to counteract the padding on one\n * side (this is often helpful for aligning the left or right\n * side of the icon with content above or below, without ruining the border\n * size and shape).\n */\n edge: PropTypes.oneOf(['start', 'end', false]),\n\n /**\n * The size of the button.\n * `small` is equivalent to the dense button styling.\n */\n size: PropTypes.oneOf(['small', 'medium'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiIconButton'\n})(IconButton);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport { fade } from '../styles/colorManipulator';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n height: 1,\n margin: 0,\n // Reset browser default style.\n border: 'none',\n flexShrink: 0,\n backgroundColor: theme.palette.divider\n },\n\n /* Styles applied to the root element if `absolute={true}`. */\n absolute: {\n position: 'absolute',\n bottom: 0,\n left: 0,\n width: '100%'\n },\n\n /* Styles applied to the root element if `variant=\"inset\"`. */\n inset: {\n marginLeft: 72\n },\n\n /* Styles applied to the root element if `light={true}`. */\n light: {\n backgroundColor: fade(theme.palette.divider, 0.08)\n },\n\n /* Styles applied to the root element if `variant=\"middle\"`. */\n middle: {\n marginLeft: theme.spacing(2),\n marginRight: theme.spacing(2)\n },\n\n /* Styles applied to the root element if `orientation=\"vertical\"`. */\n vertical: {\n height: '100%',\n width: 1\n },\n\n /* Styles applied to the root element if `flexItem={true}`. */\n flexItem: {\n alignSelf: 'stretch',\n height: 'auto'\n }\n };\n};\nvar Divider = /*#__PURE__*/React.forwardRef(function Divider(props, ref) {\n var _props$absolute = props.absolute,\n absolute = _props$absolute === void 0 ? false : _props$absolute,\n classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'hr' : _props$component,\n _props$flexItem = props.flexItem,\n flexItem = _props$flexItem === void 0 ? false : _props$flexItem,\n _props$light = props.light,\n light = _props$light === void 0 ? false : _props$light,\n _props$orientation = props.orientation,\n orientation = _props$orientation === void 0 ? 'horizontal' : _props$orientation,\n _props$role = props.role,\n role = _props$role === void 0 ? Component !== 'hr' ? 'separator' : undefined : _props$role,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'fullWidth' : _props$variant,\n other = _objectWithoutProperties(props, [\"absolute\", \"classes\", \"className\", \"component\", \"flexItem\", \"light\", \"orientation\", \"role\", \"variant\"]);\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, variant !== 'fullWidth' && classes[variant], absolute && classes.absolute, flexItem && classes.flexItem, light && classes.light, orientation === 'vertical' && classes.vertical),\n role: role,\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Divider.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Absolutely position the element.\n */\n absolute: PropTypes.bool,\n\n /**\n * @ignore\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes\n /* @typescript-to-proptypes-ignore */\n .elementType,\n\n /**\n * If `true`, a vertical divider will have the correct height when used in flex container.\n * (By default, a vertical divider will have a calculated height of `0px` if it is the child of a flex container.)\n */\n flexItem: PropTypes.bool,\n\n /**\n * If `true`, the divider will have a lighter color.\n */\n light: PropTypes.bool,\n\n /**\n * The divider orientation.\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical']),\n\n /**\n * @ignore\n */\n role: PropTypes.string,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['fullWidth', 'inset', 'middle'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiDivider'\n})(Divider);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { makeStyles as makeStylesWithoutDefault } from '@material-ui/styles';\nimport defaultTheme from './defaultTheme';\n\nfunction makeStyles(stylesOrCreator) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return makeStylesWithoutDefault(stylesOrCreator, _extends({\n defaultTheme: defaultTheme\n }, options));\n}\n\nexport default makeStyles;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nimport ButtonBase from '../ButtonBase';\nimport isMuiElement from '../utils/isMuiElement';\nimport useForkRef from '../utils/useForkRef';\nimport ListContext from '../List/ListContext';\nimport * as ReactDOM from 'react-dom';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the (normally root) `component` element. May be wrapped by a `container`. */\n root: {\n display: 'flex',\n justifyContent: 'flex-start',\n alignItems: 'center',\n position: 'relative',\n textDecoration: 'none',\n width: '100%',\n boxSizing: 'border-box',\n textAlign: 'left',\n paddingTop: 8,\n paddingBottom: 8,\n '&$focusVisible': {\n backgroundColor: theme.palette.action.selected\n },\n '&$selected, &$selected:hover': {\n backgroundColor: theme.palette.action.selected\n },\n '&$disabled': {\n opacity: 0.5\n }\n },\n\n /* Styles applied to the `container` element if `children` includes `ListItemSecondaryAction`. */\n container: {\n position: 'relative'\n },\n\n /* Pseudo-class applied to the `component`'s `focusVisibleClassName` prop if `button={true}`. */\n focusVisible: {},\n\n /* Styles applied to the `component` element if dense. */\n dense: {\n paddingTop: 4,\n paddingBottom: 4\n },\n\n /* Styles applied to the `component` element if `alignItems=\"flex-start\"`. */\n alignItemsFlexStart: {\n alignItems: 'flex-start'\n },\n\n /* Pseudo-class applied to the inner `component` element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the inner `component` element if `divider={true}`. */\n divider: {\n borderBottom: \"1px solid \".concat(theme.palette.divider),\n backgroundClip: 'padding-box'\n },\n\n /* Styles applied to the inner `component` element if `disableGutters={false}`. */\n gutters: {\n paddingLeft: 16,\n paddingRight: 16\n },\n\n /* Styles applied to the inner `component` element if `button={true}`. */\n button: {\n transition: theme.transitions.create('background-color', {\n duration: theme.transitions.duration.shortest\n }),\n '&:hover': {\n textDecoration: 'none',\n backgroundColor: theme.palette.action.hover,\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n\n /* Styles applied to the `component` element if `children` includes `ListItemSecondaryAction`. */\n secondaryAction: {\n // Add some space to avoid collision as `ListItemSecondaryAction`\n // is absolutely positioned.\n paddingRight: 48\n },\n\n /* Pseudo-class applied to the root element if `selected={true}`. */\n selected: {}\n };\n};\nvar useEnhancedEffect = typeof window === 'undefined' ? React.useEffect : React.useLayoutEffect;\n/**\n * Uses an additional container component if `ListItemSecondaryAction` is the last child.\n */\n\nvar ListItem = /*#__PURE__*/React.forwardRef(function ListItem(props, ref) {\n var _props$alignItems = props.alignItems,\n alignItems = _props$alignItems === void 0 ? 'center' : _props$alignItems,\n _props$autoFocus = props.autoFocus,\n autoFocus = _props$autoFocus === void 0 ? false : _props$autoFocus,\n _props$button = props.button,\n button = _props$button === void 0 ? false : _props$button,\n childrenProp = props.children,\n classes = props.classes,\n className = props.className,\n componentProp = props.component,\n _props$ContainerCompo = props.ContainerComponent,\n ContainerComponent = _props$ContainerCompo === void 0 ? 'li' : _props$ContainerCompo,\n _props$ContainerProps = props.ContainerProps;\n _props$ContainerProps = _props$ContainerProps === void 0 ? {} : _props$ContainerProps;\n\n var ContainerClassName = _props$ContainerProps.className,\n ContainerProps = _objectWithoutProperties(_props$ContainerProps, [\"className\"]),\n _props$dense = props.dense,\n dense = _props$dense === void 0 ? false : _props$dense,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n _props$disableGutters = props.disableGutters,\n disableGutters = _props$disableGutters === void 0 ? false : _props$disableGutters,\n _props$divider = props.divider,\n divider = _props$divider === void 0 ? false : _props$divider,\n focusVisibleClassName = props.focusVisibleClassName,\n _props$selected = props.selected,\n selected = _props$selected === void 0 ? false : _props$selected,\n other = _objectWithoutProperties(props, [\"alignItems\", \"autoFocus\", \"button\", \"children\", \"classes\", \"className\", \"component\", \"ContainerComponent\", \"ContainerProps\", \"dense\", \"disabled\", \"disableGutters\", \"divider\", \"focusVisibleClassName\", \"selected\"]);\n\n var context = React.useContext(ListContext);\n var childContext = {\n dense: dense || context.dense || false,\n alignItems: alignItems\n };\n var listItemRef = React.useRef(null);\n useEnhancedEffect(function () {\n if (autoFocus) {\n if (listItemRef.current) {\n listItemRef.current.focus();\n } else if (process.env.NODE_ENV !== 'production') {\n console.error('Material-UI: Unable to set focus to a ListItem whose component has not been rendered.');\n }\n }\n }, [autoFocus]);\n var children = React.Children.toArray(childrenProp);\n var hasSecondaryAction = children.length && isMuiElement(children[children.length - 1], ['ListItemSecondaryAction']);\n var handleOwnRef = React.useCallback(function (instance) {\n // #StrictMode ready\n listItemRef.current = ReactDOM.findDOMNode(instance);\n }, []);\n var handleRef = useForkRef(handleOwnRef, ref);\n\n var componentProps = _extends({\n className: clsx(classes.root, className, childContext.dense && classes.dense, !disableGutters && classes.gutters, divider && classes.divider, disabled && classes.disabled, button && classes.button, alignItems !== \"center\" && classes.alignItemsFlexStart, hasSecondaryAction && classes.secondaryAction, selected && classes.selected),\n disabled: disabled\n }, other);\n\n var Component = componentProp || 'li';\n\n if (button) {\n componentProps.component = componentProp || 'div';\n componentProps.focusVisibleClassName = clsx(classes.focusVisible, focusVisibleClassName);\n Component = ButtonBase;\n }\n\n if (hasSecondaryAction) {\n // Use div by default.\n Component = !componentProps.component && !componentProp ? 'div' : Component; // Avoid nesting of li > li.\n\n if (ContainerComponent === 'li') {\n if (Component === 'li') {\n Component = 'div';\n } else if (componentProps.component === 'li') {\n componentProps.component = 'div';\n }\n }\n\n return /*#__PURE__*/React.createElement(ListContext.Provider, {\n value: childContext\n }, /*#__PURE__*/React.createElement(ContainerComponent, _extends({\n className: clsx(classes.container, ContainerClassName),\n ref: handleRef\n }, ContainerProps), /*#__PURE__*/React.createElement(Component, componentProps, children), children.pop()));\n }\n\n return /*#__PURE__*/React.createElement(ListContext.Provider, {\n value: childContext\n }, /*#__PURE__*/React.createElement(Component, _extends({\n ref: handleRef\n }, componentProps), children));\n});\nprocess.env.NODE_ENV !== \"production\" ? ListItem.propTypes = {\n /**\n * Defines the `align-items` style property.\n */\n alignItems: PropTypes.oneOf(['flex-start', 'center']),\n\n /**\n * If `true`, the list item will be focused during the first mount.\n * Focus will also be triggered if the value changes from false to true.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * If `true`, the list item will be a button (using `ButtonBase`). Props intended\n * for `ButtonBase` can then be applied to `ListItem`.\n */\n button: PropTypes.bool,\n\n /**\n * The content of the component. If a `ListItemSecondaryAction` is used it must\n * be the last child.\n */\n children: chainPropTypes(PropTypes.node, function (props) {\n var children = React.Children.toArray(props.children); // React.Children.toArray(props.children).findLastIndex(isListItemSecondaryAction)\n\n var secondaryActionIndex = -1;\n\n for (var i = children.length - 1; i >= 0; i -= 1) {\n var child = children[i];\n\n if (isMuiElement(child, ['ListItemSecondaryAction'])) {\n secondaryActionIndex = i;\n break;\n }\n } // is ListItemSecondaryAction the last child of ListItem\n\n\n if (secondaryActionIndex !== -1 && secondaryActionIndex !== children.length - 1) {\n return new Error('Material-UI: You used an element after ListItemSecondaryAction. ' + 'For ListItem to detect that it has a secondary action ' + 'you must pass it as the last child to ListItem.');\n }\n\n return null;\n }),\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n * By default, it's a `li` when `button` is `false` and a `div` when `button` is `true`.\n */\n component: PropTypes\n /* @typescript-to-proptypes-ignore */\n .elementType,\n\n /**\n * The container component used when a `ListItemSecondaryAction` is the last child.\n */\n ContainerComponent: PropTypes.elementType,\n\n /**\n * Props applied to the container component if used.\n */\n ContainerProps: PropTypes.object,\n\n /**\n * If `true`, compact vertical padding designed for keyboard and mouse input will be used.\n */\n dense: PropTypes.bool,\n\n /**\n * If `true`, the list item will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the left and right padding is removed.\n */\n disableGutters: PropTypes.bool,\n\n /**\n * If `true`, a 1px light border is added to the bottom of the list item.\n */\n divider: PropTypes.bool,\n\n /**\n * @ignore\n */\n focusVisibleClassName: PropTypes.string,\n\n /**\n * Use to apply selected styling.\n */\n selected: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiListItem'\n})(ListItem);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { getThemeProps, useTheme } from '@material-ui/styles';\nexport default function useMediaQuery(queryInput) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var theme = useTheme();\n var props = getThemeProps({\n theme: theme,\n name: 'MuiUseMediaQuery',\n props: {}\n });\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof queryInput === 'function' && theme === null) {\n console.error(['Material-UI: The `query` argument provided is invalid.', 'You are providing a function without a theme in the context.', 'One of the parent elements needs to use a ThemeProvider.'].join('\\n'));\n }\n }\n\n var query = typeof queryInput === 'function' ? queryInput(theme) : queryInput;\n query = query.replace(/^@media( ?)/m, ''); // Wait for jsdom to support the match media feature.\n // All the browsers Material-UI support have this built-in.\n // This defensive check is here for simplicity.\n // Most of the time, the match media logic isn't central to people tests.\n\n var supportMatchMedia = typeof window !== 'undefined' && typeof window.matchMedia !== 'undefined';\n\n var _props$options = _extends({}, props, options),\n _props$options$defaul = _props$options.defaultMatches,\n defaultMatches = _props$options$defaul === void 0 ? false : _props$options$defaul,\n _props$options$matchM = _props$options.matchMedia,\n matchMedia = _props$options$matchM === void 0 ? supportMatchMedia ? window.matchMedia : null : _props$options$matchM,\n _props$options$noSsr = _props$options.noSsr,\n noSsr = _props$options$noSsr === void 0 ? false : _props$options$noSsr,\n _props$options$ssrMat = _props$options.ssrMatchMedia,\n ssrMatchMedia = _props$options$ssrMat === void 0 ? null : _props$options$ssrMat;\n\n var _React$useState = React.useState(function () {\n if (noSsr && supportMatchMedia) {\n return matchMedia(query).matches;\n }\n\n if (ssrMatchMedia) {\n return ssrMatchMedia(query).matches;\n } // Once the component is mounted, we rely on the\n // event listeners to return the correct matches value.\n\n\n return defaultMatches;\n }),\n match = _React$useState[0],\n setMatch = _React$useState[1];\n\n React.useEffect(function () {\n var active = true;\n\n if (!supportMatchMedia) {\n return undefined;\n }\n\n var queryList = matchMedia(query);\n\n var updateMatch = function updateMatch() {\n // Workaround Safari wrong implementation of matchMedia\n // TODO can we remove it?\n // https://github.com/mui-org/material-ui/pull/17315#issuecomment-528286677\n if (active) {\n setMatch(queryList.matches);\n }\n };\n\n updateMatch();\n queryList.addListener(updateMatch);\n return function () {\n active = false;\n queryList.removeListener(updateMatch);\n };\n }, [query, matchMedia, supportMatchMedia]);\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue({\n query: query,\n match: match\n });\n }\n\n return match;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport withStyles from '../styles/withStyles';\nimport { exactProp } from '@material-ui/utils';\nexport var html = {\n WebkitFontSmoothing: 'antialiased',\n // Antialiasing.\n MozOsxFontSmoothing: 'grayscale',\n // Antialiasing.\n // Change from `box-sizing: content-box` so that `width`\n // is not affected by `padding` or `border`.\n boxSizing: 'border-box'\n};\nexport var body = function body(theme) {\n return _extends({\n color: theme.palette.text.primary\n }, theme.typography.body2, {\n backgroundColor: theme.palette.background.default,\n '@media print': {\n // Save printer ink.\n backgroundColor: theme.palette.common.white\n }\n });\n};\nexport var styles = function styles(theme) {\n return {\n '@global': {\n html: html,\n '*, *::before, *::after': {\n boxSizing: 'inherit'\n },\n 'strong, b': {\n fontWeight: theme.typography.fontWeightBold\n },\n body: _extends({\n margin: 0\n }, body(theme), {\n // Add support for document.body.requestFullScreen().\n // Other elements, if background transparent, are not supported.\n '&::backdrop': {\n backgroundColor: theme.palette.background.default\n }\n })\n }\n };\n};\n/**\n * Kickstart an elegant, consistent, and simple baseline to build upon.\n */\n\nfunction CssBaseline(props) {\n /* eslint-disable no-unused-vars */\n var _props$children = props.children,\n children = _props$children === void 0 ? null : _props$children,\n classes = props.classes;\n /* eslint-enable no-unused-vars */\n\n return /*#__PURE__*/React.createElement(React.Fragment, null, children);\n}\n\nprocess.env.NODE_ENV !== \"production\" ? CssBaseline.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * You can wrap a node.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object\n} : void 0;\n\nif (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line\n CssBaseline['propTypes' + ''] = exactProp(CssBaseline.propTypes);\n}\n\nexport default withStyles(styles, {\n name: 'MuiCssBaseline'\n})(CssBaseline);","import clsx from \"clsx\";\r\nimport { useTranslation } from \"react-i18next\";\r\n\r\n/** mui */\r\nimport { makeStyles } from \"@material-ui/core/styles\";\r\n\r\nimport MenuItems from \"./MenuItems\";\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n dropdown: {\r\n position: \"absolute\",\r\n left: \"auto\",\r\n right: -16,\r\n fontSize: \"0.875rem\",\r\n zIndex: 9999,\r\n minWidth: \"10rem\",\r\n padding: theme.spacing(1, 2),\r\n listStyle: \"none\",\r\n borderRadius: \"0.5rem\",\r\n backgroundColor: \"#F8F9FA\",\r\n boxShadow: `0px 4px 8px rgba(0, 0, 0, 0.2)`,\r\n display: \"none\",\r\n },\r\n dropdownShow: {\r\n display: \"block\",\r\n },\r\n dropdownSubmenu: {\r\n position: \"absolute\",\r\n left: \"100%\",\r\n top: -7,\r\n },\r\n}));\r\n\r\nconst Dropdown = ({ submenus, dropdown, depthLevel }) => {\r\n const { t } = useTranslation();\r\n const classes = useStyles();\r\n\r\n depthLevel = depthLevel + 1;\r\n\r\n const maxNameWidth = Math.max(...submenus?.map((submenu) => t(submenu?.name)?.length));\r\n\r\n return (\r\n 1 && classes.dropdownSubmenu,\r\n dropdown && classes.dropdownShow\r\n )}\r\n style={{ minWidth: maxNameWidth * 11, marginTop: depthLevel > 1 ? 8 : \"unset\" }}\r\n >\r\n {submenus.map((submenu, index) => (\r\n \r\n ))}\r\n \r\n );\r\n};\r\n\r\nexport default Dropdown;\r\n","import { useState, useEffect, useRef } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport clsx from \"clsx\";\r\nimport useHelper from \"../../../../common/useHelper\";\r\n\r\nimport Dropdown from \"./Dropdown\";\r\n\r\n/** Material-UI */\r\nimport { Link } from \"@material-ui/core\";\r\nimport { makeStyles } from \"@material-ui/core/styles\";\r\nimport { ArrowDropDown, ArrowDropUp, ArrowRight, ArrowLeft } from \"@material-ui/icons\";\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n menuItems: {\r\n position: \"relative\",\r\n fontSize: \"0.88888889vw\",\r\n color: \"rgba(0,0,0,0.87)\",\r\n \"& a, & .a\": {\r\n display: \"block\",\r\n fontSize: \"inherit\",\r\n color: \"inherit\",\r\n textDecoration: \"none\",\r\n padding: \"0.77777778vw 0.66666667vw\",\r\n letterSpacing: \"normal\",\r\n fontWeight: 400,\r\n whiteSpace: \"nowrap\",\r\n },\r\n \"& button\": {\r\n display: \"flex\",\r\n alignItems: \"center\",\r\n justifyContent: \"space-between\",\r\n minWidth: 110,\r\n color: \"inherit\",\r\n fontSize: \"inherit\",\r\n border: \"none\",\r\n backgroundColor: \"transparent\",\r\n cursor: \"pointer\",\r\n width: \"100%\",\r\n padding: 0,\r\n \"& span:not(.a)\": {\r\n marginLeft: theme.spacing(-1.5),\r\n marginRight: theme.spacing(0),\r\n },\r\n },\r\n \"& > a, & button\": {\r\n textAlign: \"left\",\r\n },\r\n \"& a:hover, & button:hover\": {\r\n backgroundColor: \"#f2f2f2\",\r\n },\r\n },\r\n\r\n active: {\r\n \"&, & > a, & > button > a\": {\r\n color: theme.palette.primary.main,\r\n fontWeight: 500,\r\n },\r\n \"&:after\": {\r\n content: '\" \"',\r\n position: \"absolute\",\r\n width: \"100%\",\r\n height: 2,\r\n backgroundColor: theme.palette.primary.main,\r\n bottom: -0,\r\n },\r\n },\r\n\r\n activeSub: {\r\n \"&:after\": {\r\n content: '\" \"',\r\n position: \"absolute\",\r\n width: \"100%\",\r\n height: \"100%\",\r\n backgroundColor: \"transparent\", // theme.palette.primary.main,\r\n borderLeft: `2px solid ${theme.palette.primary.main}`,\r\n bottom: -0,\r\n },\r\n },\r\n\r\n menuChildren: {\r\n position: \"relative\",\r\n fontSize: \"0.88888889vw\",\r\n color: \"rgba(0,0,0,0.87)\",\r\n \"& button\": {\r\n padding: \"0.77777778vw 0.66666667vw\",\r\n display: \"flex\",\r\n alignItems: \"center\",\r\n color: \"inherit\",\r\n fontSize: \"inherit\",\r\n border: \"none\",\r\n backgroundColor: \"transparent\",\r\n cursor: \"pointer\",\r\n width: \"100%\",\r\n \"& span\": {\r\n marginLeft: theme.spacing(-2),\r\n },\r\n },\r\n },\r\n arrow: {\r\n \"&::after\": {\r\n content: \"\",\r\n display: \"inline-block\",\r\n marginLeft: \"0.28em\",\r\n verticalAlign: \"0.09em\",\r\n borderTop: \"0.42em solid\",\r\n borderRight: \"0.32em solid transparent\",\r\n borderLeft: \"0.32em solid transparent\",\r\n },\r\n },\r\n}));\r\n\r\nconst MenuItems = ({ items, depthLevel, children, onClick }) => {\r\n const classes = useStyles();\r\n const {\r\n t,\r\n i18n: { language },\r\n } = useTranslation();\r\n const { getAllIDs } = useHelper();\r\n\r\n // const _plane = getAllIDs([items]);\r\n const _plane = getAllIDs([items])?.filter((p) => p.id !== items.id);\r\n const _hasChildActive = _plane.some((child) => {\r\n return (\r\n // depthLevel > 0 &&\r\n window.location.pathname === `/${language}${child.link}` ||\r\n window.location.pathname + window.location.hash === `/${language}${child.link}`\r\n );\r\n });\r\n\r\n // const _active = window.location.pathname === items.link;\r\n const _active =\r\n (window.location.pathname === `/${language}${items.link}` ||\r\n window.location.pathname + window.location.hash === `/${language}${items.link}` ||\r\n _hasChildActive)&& !items.section;\r\n\r\n const _activeChild =\r\n window.location.pathname + window.location.hash === `/${language}${items.link}` && !items.section;\r\n\r\n const [dropdown, setDropdown] = useState(false);\r\n\r\n let ref = useRef();\r\n\r\n useEffect(() => {\r\n const handler = (event) => {\r\n if (dropdown && ref.current && !ref.current.contains(event.target)) {\r\n setDropdown(false);\r\n }\r\n };\r\n document.addEventListener(\"mousedown\", handler);\r\n document.addEventListener(\"touchstart\", handler);\r\n return () => {\r\n // Cleanup the event listener\r\n document.removeEventListener(\"mousedown\", handler);\r\n document.removeEventListener(\"touchstart\", handler);\r\n };\r\n }, [dropdown]);\r\n\r\n const onMouseEnter = () => {\r\n window.innerWidth > 960 && setDropdown(true);\r\n };\r\n\r\n const onMouseLeave = () => {\r\n window.innerWidth > 960 && setDropdown(false);\r\n };\r\n\r\n const onButtonClick = (event) => {\r\n if (event.keyCode === 27) {\r\n setDropdown(false);\r\n }\r\n };\r\n\r\n const handleOnClick = (event) => {\r\n if (onClick && event.target === event.currentTarget) onClick();\r\n };\r\n\r\n return children ? (\r\n
  • \r\n \r\n
  • \r\n ) : (\r\n 0 && items.children && classes.activeSub\r\n )}\r\n ref={ref}\r\n onMouseEnter={onMouseEnter}\r\n onMouseLeave={onMouseLeave}\r\n // aria-current={_active ? (_hasChildActive ? (_activeChild ? \"page\" : undefined) : \"page\") : undefined}\r\n aria-current={_active ? (_hasChildActive && depthLevel === 0 ? undefined : \"page\") : undefined}\r\n // aria-description={JSON.stringify({ _active,_activeChild, _hasChildActive })}\r\n >\r\n {items.link && items.children?.filter(child=>!child.hideInMenu)?.length ? (\r\n <>\r\n onButtonClick(event)}\r\n onClick={() => setDropdown((prev) => !prev)}\r\n >\r\n {window.innerWidth < 960 && depthLevel === 0 ? (\r\n t(`mainmenu.${items.name}`)\r\n ) : (\r\n \r\n {t(`mainmenu.${items.name}`)}\r\n \r\n )}\r\n\r\n {depthLevel > 0 && window.innerWidth < 960 ? null : depthLevel > 0 &&\r\n window.innerWidth > 960 ? (\r\n {dropdown ? : }\r\n ) : (\r\n {dropdown ? : }\r\n )}\r\n \r\n \r\n \r\n ) : !items.link && items.children ? (\r\n <>\r\n setDropdown((prev) => !prev)}\r\n onKeyDown={(event) => onButtonClick(event)}\r\n >\r\n {t(`mainmenu.${items.name}`)} \r\n {depthLevel > 0 ? (\r\n \r\n {/* */}\r\n {dropdown ? : }\r\n \r\n ) : (\r\n \r\n {/* */}\r\n {dropdown ? : }\r\n \r\n )}\r\n \r\n \r\n \r\n ) : (\r\n \r\n {t(`mainmenu.${items.name}`)}\r\n \r\n )}\r\n \r\n );\r\n};\r\n\r\nexport default MenuItems;\r\n","import { lazy, useEffect, useState, useRef } from \"react\";\r\nimport { commonMenuItems as menuItems } from \"../../commonMenu.config\";\r\nimport MenuItems from \"./MenuItems\";\r\nimport { useTranslation } from \"react-i18next\";\r\n\r\n/** mui */\r\nimport { makeStyles } from \"@material-ui/core/styles\";\r\nimport { IconButton } from \"@material-ui/core\";\r\n/** - icons */\r\nimport ShareOutlinedIcon from \"@material-ui/icons/ShareOutlined\";\r\n\r\n/** Redux */\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { setShowLoginDialog, selectAuthToken } from \"../../../../appStore/AdvancedCommon\";\r\nimport { getSharePageData } from \"../../../../appStore/APP\";\r\n\r\nconst UserMenu = lazy(() => import(\"../../../../pages/Login/UserMenu\"));\r\nconst LoginDialog = lazy(() => import(\"../../../../pages/Login/Login_Dialog\"));\r\nconst LangSwitcher = lazy(() => import(\"../../../../common/LangSwitcher\"));\r\nconst AccessibilityTooltip = lazy(() => import(\"../../../../common/AccessibilityTooltip\"));\r\nconst SocialShare = lazy(() => import(\"../../../../common/SocialShare\"));\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n menus: {\r\n display: \"flex\",\r\n alignItems: \"center\",\r\n flexWrap: \"wrap\",\r\n listStyle: \"none\",\r\n },\r\n\r\n menuChildren: {\r\n position: \"relative\",\r\n fontSize: \"0.875rem\",\r\n color: \"rgba(0,0,0,0.87)\",\r\n \"& button\": {\r\n padding: \"0.7rem 1rem\",\r\n display: \"flex\",\r\n alignItems: \"center\",\r\n color: \"inherit\",\r\n fontSize: \"inherit\",\r\n border: \"none\",\r\n backgroundColor: \"transparent\",\r\n cursor: \"pointer\",\r\n width: \"100%\",\r\n // padding: 0,\r\n \"& span\": {\r\n marginLeft: theme.spacing(-2),\r\n },\r\n },\r\n },\r\n shareIcon: {\r\n // color: \"rgba(0, 0, 0, 0.87)\",\r\n // color: \"#fff\",\r\n // fontSize: \"1.1rem\",\r\n },\r\n shareBtnDark: {\r\n \"&, &:hover\": {\r\n // backgroundColor:'#202020',\r\n // backgroundColor:'rgba(255, 255, 255, 0.5)',\r\n backgroundColor: \"rgba(0, 0, 0, 0.87)\",\r\n // boxShadow: theme.shadows[1],\r\n // backgroundColor: \"rgba(0, 0, 0, 0.87)\",\r\n // borderRadius:4,\r\n width: 32,\r\n height: 32,\r\n border: \"2px solid rgba(255, 255, 255, 1)\",\r\n // border: \"2px solid rgba(0, 0, 0, 1)\",\r\n margin: theme.spacing(0, 1, 0, 1),\r\n },\r\n \"& svg\": {\r\n color: \"#fff\",\r\n fontSize: \"1.1rem\",\r\n },\r\n },\r\n\r\n shareBtnLight: {\r\n \"&, &:hover\": {\r\n backgroundColor: \"rgba(255, 255, 255, 0.05)\",\r\n width: 32,\r\n height: 32,\r\n // border: \"2px solid rgba(255, 255, 255, 1)\",\r\n border: \"1px solid rgba(0, 0, 0, 0.1)\",\r\n margin: theme.spacing(0, 1, 0, 1.5),\r\n },\r\n \"& svg\": {\r\n color: \"rgba(0, 0, 0, 0.75)\",\r\n fontSize: \"1.1rem\",\r\n },\r\n },\r\n}));\r\n\r\nconst DropdownMenu = () => {\r\n const classes = useStyles();\r\n const dispatch = useDispatch();\r\n const {\r\n t,\r\n i18n: { language },\r\n } = useTranslation();\r\n const shareRef = useRef();\r\n\r\n /** states */\r\n const [anchorEl, setAnchorEl] = useState(null);\r\n const [shareData, setShareData] = useState({});\r\n /** - redux */\r\n const authToken = useSelector(selectAuthToken);\r\n const sharePageData = useSelector(getSharePageData);\r\n\r\n /** effects */\r\n useEffect(() => {\r\n const _currentMenuItem = menuItems?.find((item) =>\r\n window.location.pathname?.includes(`/${language}${item.link}`)\r\n );\r\n\r\n const title = `${t(`mainmenu.${_currentMenuItem?.name}`)} - ${t(\"System Monitorowania Usług Publicznych\")}`;\r\n const subtitles = [];\r\n\r\n const _data = {\r\n url: window.location.href,\r\n title,\r\n subtitles,\r\n body: `${t(\"Myślę, że może zainteresować Cię ten artykuł w witrynie SMUP\")}:\\n\\n \"${title}\" \\n\\n`,\r\n };\r\n\r\n setShareData(_data);\r\n return () => {\r\n setAnchorEl(null);\r\n };\r\n }, []);\r\n\r\n /** handlers */\r\n const handleOnLogin = () => {\r\n dispatch(setShowLoginDialog(true));\r\n };\r\n\r\n const handleShareClick = (event) => {\r\n setAnchorEl(event.currentTarget);\r\n // setAnchorEl(shareRef?.current);\r\n };\r\n\r\n const handleShareClose = () => {\r\n setAnchorEl(null);\r\n };\r\n\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport default DropdownMenu;\r\n","import DropdownMenu from \"./components/DropdownMenu\";\r\n\r\nconst CommonHeader = () => {\r\n return ;\r\n};\r\n\r\nexport default CommonHeader;\r\n","import React, { useEffect, useState } from \"react\";\r\n\r\n/** Helpers */\r\nimport jwt_decode from \"jwt-decode\";\r\nimport clsx from \"clsx\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport \"sorts-object\";\r\nimport { useLocation } from \"react-router-dom\";\r\nimport { commonMenuItems } from \"./commonMenu.config\";\r\n\r\n/** Material-UI */\r\nimport {\r\n AppBar,\r\n CssBaseline,\r\n Divider,\r\n fade,\r\n Hidden,\r\n IconButton,\r\n List,\r\n ListItem,\r\n Popover,\r\n Toolbar,\r\n} from \"@material-ui/core\";\r\nimport { makeStyles, useTheme } from \"@material-ui/core/styles\";\r\n/** - icons */\r\nimport { BlurCircular, BlurOn, ChevronLeft, ChevronRight, Menu, ShareOutlined } from \"@material-ui/icons\";\r\n\r\n/** Redux */\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { selectAuthToken, selectShowAccountDialog, setShowLoginDialog } from \"../../appStore/AdvancedCommon\";\r\nimport { getSharePageData } from \"../../appStore/APP\";\r\n\r\n/** UI */\r\nimport DropdownMenu from \"./DropdownMenu\";\r\nconst LangSwitcher = React.lazy(() => import(\"../../common/LangSwitcher\"));\r\nconst LoginDialog = React.lazy(() => import(\"../../pages/Login/Login_Dialog\"));\r\nconst UserMenu = React.lazy(() => import(\"../../pages/Login/UserMenu\"));\r\nconst UserAccountDialog = React.lazy(() => import(\"../../pages/Login/UserAccount\"));\r\nconst SocialShare = React.lazy(() => import(\"../../common/SocialShare\"));\r\n\r\nconst drawerWidth = 240;\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n appBar: {\r\n transition: theme.transitions.create([\"margin\", \"width\"], {\r\n easing: theme.transitions.easing.sharp,\r\n duration: theme.transitions.duration.leavingScreen,\r\n }),\r\n backgroundColor: \"#f6f7f9\",\r\n borderBottom: `1px solid ${fade(theme.palette.primary.main, 0.125)}`,\r\n padding: \"0!important\",\r\n // zIndex:1501\r\n },\r\n appBarShift: {\r\n width: `calc(100% - ${drawerWidth}px)`,\r\n marginLeft: drawerWidth,\r\n transition: theme.transitions.create([\"margin\", \"width\"], {\r\n easing: theme.transitions.easing.easeOut,\r\n duration: theme.transitions.duration.enteringScreen,\r\n }),\r\n },\r\n menuButton: {\r\n marginRight: theme.spacing(2),\r\n },\r\n hide: {\r\n display: \"none\",\r\n },\r\n drawer: {\r\n width: drawerWidth,\r\n flexShrink: 0,\r\n },\r\n drawerClose: {\r\n width: 0,\r\n flexShrink: 0,\r\n },\r\n too: {\r\n color: \"rgba(0,0,0,0.87)\",\r\n padding: \"0 10px\",\r\n display: \"flex\",\r\n alignItems: \"center\",\r\n textAlign: \"center\",\r\n justifyContent: \"center\",\r\n },\r\n tooCurrent: {\r\n textDecoration: \"none\",\r\n position: \"relative\",\r\n overflow: \"unset\",\r\n \"&:hover\": {\r\n textDecoration: \"none\",\r\n },\r\n color: theme.palette.primary.main,\r\n fontWeight: 500,\r\n \"&:after\": {\r\n content: '\" \"',\r\n position: \"absolute\",\r\n width: \"100%\",\r\n height: 2,\r\n backgroundColor: theme.palette.primary.main,\r\n bottom: -7,\r\n },\r\n },\r\n noLink: {\r\n textDecoration: \"none\",\r\n \"&:hover\": {\r\n textDecoration: \"none\",\r\n cursor: \"default\",\r\n },\r\n },\r\n menuName: {\r\n display: \"inline-flex\",\r\n },\r\n menuNameDT: {\r\n display: \"inline-block\",\r\n whiteSpace: \"normal\",\r\n \"@media (max-width: 1440px)\": {\r\n fontSize: \"0.875rem\",\r\n },\r\n \"@media (max-width: 1399px)\": {\r\n fontSize: \"0.75rem\",\r\n },\r\n \"@media (max-width: 1299px)\": {\r\n fontSize: \"0.7rem\",\r\n },\r\n \"@media (max-width: 1249px)\": {\r\n fontSize: \"0.675rem\",\r\n },\r\n },\r\n menuNameCurrent: {\r\n textDecoration: \"none\",\r\n fontWeight: 500,\r\n color: theme.palette.primary.main,\r\n },\r\n menuNameNolink: {\r\n textDecoration: \"none\",\r\n cursor: \"default\",\r\n },\r\n menuIcon: {\r\n display: \"inline-flex\",\r\n alignItems: \"center\",\r\n marginTop: -4,\r\n },\r\n tooSub: {\r\n color: \"#000000\",\r\n padding: \"0 24px\",\r\n lineHeight: \"48px\",\r\n display: \"block\",\r\n alignItems: \"center\",\r\n },\r\n drawerPaper: {\r\n width: drawerWidth,\r\n },\r\n drawerPaperClose: {\r\n overflowX: \"hidden\",\r\n transition: theme.transitions.create(\"width\", {\r\n easing: theme.transitions.easing.sharp,\r\n duration: theme.transitions.duration.leavingScreen,\r\n }),\r\n width: theme.spacing(7),\r\n [theme.breakpoints.up(\"sm\")]: {\r\n width: theme.spacing(9),\r\n },\r\n },\r\n drawerHeader: {\r\n display: \"flex\",\r\n alignItems: \"center\",\r\n padding: theme.spacing(0, 1),\r\n // necessary for content to be below app bar\r\n ...theme.mixins.toolbar,\r\n minHeight: 64,\r\n // justifyContent: \"flex-end\",\r\n justifyContent: \"space-between\",\r\n },\r\n content: {\r\n flexGrow: 1,\r\n padding: theme.spacing(3),\r\n transition: theme.transitions.create(\"margin\", {\r\n easing: theme.transitions.easing.sharp,\r\n duration: theme.transitions.duration.leavingScreen,\r\n }),\r\n marginLeft: -drawerWidth,\r\n },\r\n logoHolder: {\r\n display: \"flex\",\r\n flex: 1,\r\n maxWidth: \"25%\",\r\n },\r\n logo: {\r\n width: 270,\r\n height: 64,\r\n verticalAlign: \"middle\",\r\n [theme.breakpoints.between(\"xs\", \"sm\")]: {\r\n marginLeft: 0,\r\n marginRight: 0,\r\n },\r\n\r\n \"@media (min-width: 300px) and (max-width: 320px)\": {\r\n width: 200,\r\n },\r\n \"@media (min-width: 0px) and (max-width: 299.95px)\": {\r\n width: 200,\r\n },\r\n },\r\n contentShift: {\r\n transition: theme.transitions.create(\"margin\", {\r\n easing: theme.transitions.easing.easeOut,\r\n duration: theme.transitions.duration.enteringScreen,\r\n }),\r\n marginLeft: 0,\r\n },\r\n topMenuWrapper: {\r\n display: \"flex\",\r\n flex: 1,\r\n alignItems: \"center\",\r\n justifyContent: \"space-between\",\r\n maxWidth: \"calc(100vw - 48px)\",\r\n },\r\n topMenuHolder: {\r\n display: \"flex\",\r\n flex: 1,\r\n justifyContent: \"flex-end\",\r\n listStyle: \"none\",\r\n \"& li\": {\r\n display: \"flex\",\r\n },\r\n },\r\n menuMobIcon: {},\r\n menuPopoverPaper: {\r\n width: \"calc(100% - 16px)\",\r\n maxWidth: 400,\r\n minHeight: \"calc(100% - 16px)\",\r\n left: \"0!important\",\r\n top: \"0!important\",\r\n },\r\n mobileMenuItemList: {\r\n display: \"flex\",\r\n flexWrap: \"wrap\",\r\n width: \"100%\",\r\n minHeight: \"calc(100% - 66px)\",\r\n position: \"absolute\",\r\n flexDirection: \"column\",\r\n justifyContent: \"space-between\",\r\n fontSize: \"1.25rem\",\r\n },\r\n mobileMenuItemSubList: {\r\n display: \"flex\",\r\n flexWrap: \"wrap\",\r\n width: \"100%\",\r\n flexDirection: \"column\",\r\n justifyContent: \"space-between\",\r\n marginLeft: 24,\r\n \"& a\": {\r\n fontSize: \"0.8em\",\r\n },\r\n },\r\n popover: {\r\n pointerEvents: \"none\",\r\n zIndex: \"1667!important\",\r\n },\r\n mobilePopper: { maxHeight: \"100vh\" },\r\n paper: {\r\n backgroundColor: \"#F8F9FA!important\",\r\n boxShadow: `0px 4px 4px ${fade(theme.palette.common.black, 0.2)}!important`,\r\n borderRadius: 0,\r\n padding: theme.spacing(0, 1),\r\n top: \"52px!important\",\r\n },\r\n subpaper: {\r\n backgroundColor: \"#F8F9FA!important\",\r\n boxShadow: `0px 4px 4px ${fade(theme.palette.common.black, 0.2)}!important`,\r\n borderRadius: 0,\r\n padding: theme.spacing(0, 1),\r\n },\r\n cursorPointer: {\r\n cursor: \"pointer\",\r\n },\r\n noDecoration: {\r\n \"&:hover\": {\r\n textDecoration: \"none\",\r\n },\r\n },\r\n toolbarRegular: {\r\n [theme.breakpoints.up(\"sm\")]: {\r\n minHeight: 96,\r\n },\r\n },\r\n buttonWrap: {\r\n paddingLeft: theme.spacing(1),\r\n display: \"flex\",\r\n alignItems: \"center\",\r\n justifyContent: \"space-between\",\r\n minWidth: 72,\r\n },\r\n shareBtnLight: {\r\n \"&, &:hover\": {\r\n backgroundColor: \"rgba(255, 255, 255, 0.05)\",\r\n width: 32,\r\n height: 32,\r\n // border: \"2px solid rgba(255, 255, 255, 1)\",\r\n border: \"1px solid rgba(0, 0, 0, 0.1)\",\r\n margin: theme.spacing(0, 1, 0, 1.5),\r\n },\r\n \"& svg\": {\r\n color: \"rgba(0, 0, 0, 0.75)\",\r\n fontSize: \"1.1rem\",\r\n },\r\n },\r\n}));\r\n\r\nconst CommonHeader = ({ menuItems }) => {\r\n // menuItems = menuItems.length ? menuItems : commonMenuItems;\r\n menuItems = commonMenuItems;\r\n const classes = useStyles();\r\n const theme = useTheme();\r\n const {\r\n t,\r\n i18n: { language },\r\n } = useTranslation();\r\n const location = useLocation();\r\n const dispatch = useDispatch();\r\n\r\n /** States */\r\n const [anchorEl, setAnchorEl] = useState(null);\r\n const [shareAnchorEl, setShareAnchorEl] = useState(null);\r\n const [shareData, setShareData] = useState({});\r\n /** - redux */\r\n const authToken = useSelector(selectAuthToken);\r\n const showAccountDialog = useSelector(selectShowAccountDialog);\r\n const sharePageData = useSelector(getSharePageData);\r\n\r\n /** Effects */\r\n // useEffect(() => {\r\n // if (!authToken) return;\r\n // var decoded = jwt_decode(authToken);\r\n // setAuthInfo(decoded);\r\n // }, [authToken]);\r\n useEffect(() => {\r\n const _currentMenuItem = commonMenuItems?.find((item) =>\r\n window.location.pathname?.includes(`/${language}${item.link}`)\r\n );\r\n\r\n const title = `${t(`mainmenu.${_currentMenuItem?.name}`)} - ${t(\"System Monitorowania Usług Publicznych\")}`;\r\n const subtitles = [];\r\n\r\n const _data = {\r\n url: window.location.href,\r\n title,\r\n subtitles,\r\n body: `${t(\"Myślę, że może zainteresować Cię ten artykuł w witrynie SMUP\")}:\\n\\n \"${title}\" \\n\\n`,\r\n };\r\n\r\n setShareData(_data);\r\n return () => {};\r\n }, []);\r\n\r\n /** Handlers */\r\n const open = Boolean(anchorEl);\r\n const id = open ? \"mobile-menu-popover\" : undefined;\r\n\r\n const handleDrawerOpen = (event) => setAnchorEl(event.currentTarget);\r\n\r\n const handleDrawerClose = () => setAnchorEl(null);\r\n\r\n const handleShareClick = (event) => setShareAnchorEl(event.currentTarget);\r\n\r\n const handleShareClose = (event) => setShareAnchorEl(null);\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n \r\n
    \r\n \r\n {theme.direction === \"ltr\" ? : }\r\n \r\n
    \r\n {/* \r\n \r\n */}\r\n {authToken ? : }\r\n \r\n
    \r\n
    \r\n \r\n\r\n \r\n
    \r\n {[\r\n {\r\n id: 0,\r\n name: \"StronaGłówna\",\r\n desc: \"StronaGłównaOpis\",\r\n tip: \"StronaGłównaTip\",\r\n link: \"/\",\r\n },\r\n ...menuItems,\r\n ].map((m) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n {t(`mainmenu.${m.name}`)}\r\n \r\n \r\n {m.children && m.children.length && (\r\n <>\r\n \r\n {m.children.map((child) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {t(`mainmenu.${child.name}`)}\r\n \r\n \r\n \r\n {!!child.children && !!child.children.length && (\r\n <>\r\n {/* */}\r\n \r\n {child.children.map((kid) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {t(`mainmenu.${kid.name}`)}\r\n \r\n \r\n \r\n \r\n ))}\r\n \r\n \r\n )}\r\n \r\n ))}\r\n \r\n \r\n )}\r\n \r\n \r\n ))}\r\n
    \r\n\r\n {/*
    \r\n \r\n {authToken ? : }\r\n \r\n \r\n
    */}\r\n\r\n {/*
    \r\n \r\n \r\n \r\n \r\n \r\n
    */}\r\n
    \r\n \r\n\r\n {authToken && showAccountDialog && }\r\n\r\n {/* {!!shareAnchorEl && (\r\n \r\n )} */}\r\n \r\n );\r\n};\r\n\r\nexport default CommonHeader;\r\n","import React, { useEffect, useState } from \"react\";\r\n\r\n/** Helpers */\r\nimport clsx from \"clsx\";\r\nimport CookieConsent from \"react-cookie-consent\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport packageJson from \"../../../package.json\";\r\n\r\n/** Redux */\r\nimport { useSelector } from \"react-redux\";\r\nimport { selectLeftDrawerOpened, selectLeftDrawerWidth } from \"../../appStore/AdvancedCommon\";\r\n/** Material-UI */\r\nimport { Button, Container, Grid, Tooltip, Typography } from \"@material-ui/core\";\r\nimport { makeStyles } from \"@material-ui/core/styles\";\r\n\r\nconst ShareLinkMessage = React.lazy(() => import(\"../../common/ShareLinkMessage\"));\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n footerWrap: (props) => ({\r\n position: \"relative\",\r\n bottom: 0,\r\n minHeight: props.hideLogos ? 50 : 80,\r\n // width: \"100%\",\r\n width: `calc(100% - ${props.isAdvanced && props.leftDrawerOpened ? props.leftDrawerWidth - 48 : 0}px)`,\r\n left: `${props.isAdvanced && props.leftDrawerOpened ? props.leftDrawerWidth - 48 : 0}px`,\r\n alignSelf: \"flex-end\",\r\n }),\r\n footerWrapWithLeftDrawer: {\r\n width: \"calc(100% - 533px)\",\r\n },\r\n logoUnia: {\r\n width: \"99%\",\r\n height: \"auto\",\r\n },\r\n footerText: {\r\n padding: theme.spacing(0, 3),\r\n lineHeight: 1.4,\r\n color: \"rgba(0,0,0,0.54)\",\r\n fontWeight: 700,\r\n [theme.breakpoints.down(\"sm\")]: {\r\n fontSize: 12,\r\n lineHeight: 1.2,\r\n padding: theme.spacing(0, 0, 1, 0),\r\n textAlign: \"center\",\r\n },\r\n },\r\n bottomLogoImgSingleWrap: {\r\n display: \"flex\",\r\n justifyContent: \"center\",\r\n alignItems: \"center\",\r\n marginTop: 24,\r\n },\r\n bottomLogoImgSingle: {\r\n width: \"100%\",\r\n maxWidth: 120,\r\n height: \"fit-content\",\r\n },\r\n media: {\r\n width: 512,\r\n height: 66,\r\n padding: \" 20px 50px 0 50px\",\r\n [theme.breakpoints.down(\"sm\")]: {\r\n width: \"100%\",\r\n },\r\n [theme.breakpoints.between(\"sm\", \"md\")]: {\r\n width: \"100%\",\r\n },\r\n [theme.breakpoints.between(\"md\", \"lg\")]: {},\r\n },\r\n footerpath: {\r\n backgroundColor: \"#f6f7f9\",\r\n minHeight: \"40px\",\r\n display: \"flex\",\r\n alignItems: \"center\",\r\n justifyContent: \"space-around\",\r\n flexWrap: \"wrap\",\r\n position: \"relative\",\r\n [theme.breakpoints.down(\"xs\")]: {\r\n paddingTop: theme.spacing(1),\r\n marginTop: theme.spacing(2),\r\n },\r\n },\r\n footerpathDark: {\r\n background: theme.palette.primary.main,\r\n },\r\n footerCopyright: {\r\n color: \"#707070\",\r\n margin: \" 0 auto\",\r\n textAlign: \"center\",\r\n padding: \"8px 16px\",\r\n display: \"flex\",\r\n justifyContent: \"center\",\r\n fontWeight: theme.typography.fontWeightLight,\r\n \"& a\": {\r\n textDecoration: \"none\",\r\n borderRadius: 2,\r\n \"&:focus-visible\": {\r\n outlineColor: \"#FFFFFF\",\r\n outlineWidth: 1,\r\n },\r\n },\r\n [theme.breakpoints.down(\"xs\")]: {\r\n // minWidth: \"50%\",\r\n minWidth: \"33%\",\r\n width: \"100%\",\r\n fontSize: \"0.875rem\",\r\n padding: theme.spacing(1, 2, 0.25, 2),\r\n fontWeight: 400,\r\n },\r\n \"&:focus a, & a:focus, &:hover a, & a:hover\": {\r\n textDecoration: \"underline\",\r\n },\r\n },\r\n footerCopyrightDark: {\r\n color: \"#FFF\",\r\n },\r\n CookieConsentOverlay: {\r\n zIndex: \"9999!important\",\r\n },\r\n version: {\r\n // position: \"absolute\",\r\n position: \"relative\",\r\n width: \"100%\",\r\n textAlign: \"right\",\r\n bottom: 4,\r\n right: 16,\r\n color: \"#CCC\",\r\n fontSize: 10,\r\n opacity: 0.5,\r\n [theme.breakpoints.down(\"xs\")]: {\r\n textAlign: \"center\",\r\n fontSize: \"0.75rem\",\r\n right: 0,\r\n borderTop: \"1px solid #001D7780\",\r\n marginTop: theme.spacing(1.5),\r\n paddingTop: theme.spacing(0.5),\r\n },\r\n },\r\n h6: {\r\n color: \"rgba(0, 0, 0, 0.54)\",\r\n textAlign: \"left\",\r\n fontSize: \"0.67em\",\r\n lineHeight: 1.75,\r\n letterSpacing: \"0.00938em\",\r\n fontWeight: \"bold\",\r\n },\r\n cookieConsentBtn: {\r\n \"&:focus, &:active\": {\r\n // border: \"1px solid #F00!important\",\r\n outlineOffset: 4,\r\n },\r\n },\r\n tooltip: {\r\n maxWidth: 500,\r\n },\r\n}));\r\n\r\nconst CommonFooter = ({ footerItems, hideLogos, dark = false, isAdvanced }) => {\r\n const { t, i18n } = useTranslation();\r\n const lang = i18n.language;\r\n\r\n const [openTooltip, setOpenTooltip] = useState(false);\r\n const leftDrawerOpened = useSelector(selectLeftDrawerOpened);\r\n const leftDrawerWidth = useSelector(selectLeftDrawerWidth);\r\n\r\n const classes = useStyles({ hideLogos, leftDrawerOpened, leftDrawerWidth, isAdvanced });\r\n\r\n const defaultFooterItems = {\r\n preCopyright: [\r\n {\r\n title: t(\"mainmenu.Deklaracja_dostepnosci\"),\r\n link: \"/deklaracja\",\r\n tip: t(\"Przejdź do strony z deklaracją dostępności\"),\r\n },\r\n {\r\n title: t(\"Polityka prywatności\"),\r\n link: \"/polityka\",\r\n tip: t(\"Przejdź do strony z polityką prywatności\"),\r\n },\r\n {\r\n title: t(\"Mapa strony\"),\r\n link: \"/sitemap\",\r\n tip: t(\"Przejdź do strony z mapą Portalu SMUP\"),\r\n },\r\n ],\r\n copyright: {\r\n title: t(\"Licencja międzynarodowa Creative Commons BY 4.0 – Uznanie autorstwa\"),\r\n fromYear: \"1995\",\r\n toYear: new Date().getFullYear(),\r\n text: t(\"GUS\"),\r\n link: \"https://creativecommons.org/licenses/by/4.0/legalcode.pl\",\r\n tip: t(\"Przejdź do strony z informacjami o licencji\"),\r\n },\r\n\r\n postCopyright: [],\r\n };\r\n\r\n footerItems = footerItems || defaultFooterItems;\r\n\r\n const handleKeyboard = (event) => {\r\n if (event.keyCode === 9) {\r\n event.preventDefault();\r\n event.stopPropagation();\r\n const _cookieConsentBtn = document.getElementById(\"CookieConsent\");\r\n _cookieConsentBtn?.focus();\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n setTimeout(() => {\r\n const _cookieConsentBtn = document.getElementById(\"CookieConsent\");\r\n\r\n if (_cookieConsentBtn) {\r\n setTimeout(() => {\r\n _cookieConsentBtn.removeAttribute(\"aria-label\");\r\n _cookieConsentBtn.focus();\r\n }, 500);\r\n document.addEventListener(\"keydown\", handleKeyboard);\r\n } else {\r\n document.removeEventListener(\"keydown\", handleKeyboard);\r\n }\r\n }, 500);\r\n\r\n return () => document.removeEventListener(\"keydown\", handleKeyboard);\r\n }, []);\r\n\r\n useEffect(() => {\r\n const handleEsc = (event) => {\r\n if (event.key === \"Escape\") {\r\n setOpenTooltip(false);\r\n }\r\n };\r\n window.addEventListener(\"keydown\", handleEsc);\r\n\r\n return () => {\r\n window.removeEventListener(\"keydown\", handleEsc);\r\n };\r\n }, []);\r\n\r\n return (\r\n
    \r\n {!!hideLogos || (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n

    \r\n {t(\"Basicpage.footerTexts.2\")}\r\n

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n )}\r\n\r\n \r\n \r\n \r\n {footerItems.preCopyright.length ? (\r\n footerItems.preCopyright.map((item, i) => (\r\n \r\n setOpenTooltip(item.title)}\r\n onClose={() => setOpenTooltip(false)}\r\n classes={{ tooltip: classes.tooltip }}\r\n >\r\n \r\n {item.title}\r\n \r\n \r\n \r\n ))\r\n ) : (\r\n \r\n )}\r\n\r\n \r\n setOpenTooltip(footerItems.copyright.title)}\r\n onClose={() => setOpenTooltip(false)}\r\n classes={{ tooltip: classes.tooltip }}\r\n >\r\n \r\n {footerItems.copyright.title}\r\n \r\n \r\n \r\n\r\n {footerItems.postCopyright.length\r\n ? footerItems.postCopyright.map((item, i) => (\r\n \r\n \r\n {item.title}\r\n \r\n \r\n ))\r\n : // \r\n null}\r\n \r\n \r\n
    {packageJson.version}
    \r\n \r\n \r\n
    \r\n\r\n document?.removeEventListener(\"keydown\", handleKeyboard)}\r\n ariaAcceptLabel=\"\"\r\n >\r\n {\r\n \"W celu świadczenia usług na najwyższym poziomie stosujemy pliki cookies. Korzystanie z naszej witryny oznacza, że będą one zamieszczane w Państwa urządzeniu. W każdym momencie można dokonać zmiany ustawień Państwa przeglądarki.\"\r\n }\r\n \r\n\r\n \r\n
    \r\n );\r\n};\r\n\r\nexport default CommonFooter;\r\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nimport Paper from '../Paper';\nexport var styles = function styles(theme) {\n var backgroundColorDefault = theme.palette.type === 'light' ? theme.palette.grey[100] : theme.palette.grey[900];\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n flexDirection: 'column',\n width: '100%',\n boxSizing: 'border-box',\n // Prevent padding issue with the Modal and fixed positioned AppBar.\n zIndex: theme.zIndex.appBar,\n flexShrink: 0\n },\n\n /* Styles applied to the root element if `position=\"fixed\"`. */\n positionFixed: {\n position: 'fixed',\n top: 0,\n left: 'auto',\n right: 0,\n '@media print': {\n // Prevent the app bar to be visible on each printed page.\n position: 'absolute'\n }\n },\n\n /* Styles applied to the root element if `position=\"absolute\"`. */\n positionAbsolute: {\n position: 'absolute',\n top: 0,\n left: 'auto',\n right: 0\n },\n\n /* Styles applied to the root element if `position=\"sticky\"`. */\n positionSticky: {\n // ⚠️ sticky is not supported by IE 11.\n position: 'sticky',\n top: 0,\n left: 'auto',\n right: 0\n },\n\n /* Styles applied to the root element if `position=\"static\"`. */\n positionStatic: {\n position: 'static'\n },\n\n /* Styles applied to the root element if `position=\"relative\"`. */\n positionRelative: {\n position: 'relative'\n },\n\n /* Styles applied to the root element if `color=\"default\"`. */\n colorDefault: {\n backgroundColor: backgroundColorDefault,\n color: theme.palette.getContrastText(backgroundColorDefault)\n },\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n backgroundColor: theme.palette.primary.main,\n color: theme.palette.primary.contrastText\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n backgroundColor: theme.palette.secondary.main,\n color: theme.palette.secondary.contrastText\n },\n\n /* Styles applied to the root element if `color=\"inherit\"`. */\n colorInherit: {\n color: 'inherit'\n },\n\n /* Styles applied to the root element if `color=\"transparent\"`. */\n colorTransparent: {\n backgroundColor: 'transparent',\n color: 'inherit'\n }\n };\n};\nvar AppBar = /*#__PURE__*/React.forwardRef(function AppBar(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'primary' : _props$color,\n _props$position = props.position,\n position = _props$position === void 0 ? 'fixed' : _props$position,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"color\", \"position\"]);\n\n return /*#__PURE__*/React.createElement(Paper, _extends({\n square: true,\n component: \"header\",\n elevation: 4,\n className: clsx(classes.root, classes[\"position\".concat(capitalize(position))], classes[\"color\".concat(capitalize(color))], className, position === 'fixed' && 'mui-fixed'),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? AppBar.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['default', 'inherit', 'primary', 'secondary', 'transparent']),\n\n /**\n * The positioning type. The behavior of the different options is described\n * [in the MDN web docs](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Positioning).\n * Note: `sticky` is not universally supported and will fall back to `static` when unavailable.\n */\n position: PropTypes.oneOf(['absolute', 'fixed', 'relative', 'static', 'sticky'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiAppBar'\n})(AppBar);","var r=function(){var r=function(r){return function(n,t,e){return r(n,t,e)*e}},n=function(r,n){if(r)throw Error(\"Invalid sort config: \"+n)},t=function(t){var e=t||{},o=e.asc,u=e.desc,c=o?1:-1,i=o||u;return n(!i,\"Expected `asc` or `desc` property\"),n(o&&u,\"Ambiguous object with `asc` and `desc` config properties\"),{order:c,sortBy:i,comparer:t.comparer&&r(t.comparer)}};function e(r,o,u){if(void 0===r||!0===r)return function(r,n){return o(r,n,u)};if(\"string\"==typeof r)return n(r.includes(\".\"),\"String syntax not allowed for nested properties.\"),function(n,t){return o(n[r],t[r],u)};if(\"function\"==typeof r)return function(n,t){return o(r(n),r(t),u)};if(Array.isArray(r)){var c=function(r){return function n(e,o,u,c,i,a,f){var s,p;if(\"string\"==typeof e)s=a[e],p=f[e];else{if(\"function\"!=typeof e){var l=t(e);return n(l.sortBy,o,u,l.order,l.comparer||r,a,f)}s=e(a),p=e(f)}var d=i(s,p,c);return(0===d||null==s&&null==p)&&o.length>u?n(o[u],o,u+1,c,i,a,f):d}}(o);return function(n,t){return c(r[0],r,1,u,o,n,t)}}var i=t(r);return e(i.sortBy,i.comparer||o,i.order)}var o=function(r,n,t,o){return Array.isArray(n)?(Array.isArray(t)&&t.length<2&&(t=t[0]),n.sort(e(t,o,r))):n},u=document.createElement(\"script\");function c(n){var t=r(n.comparer);return function(r){var e=Array.isArray(r)&&!n.inPlaceSorting?r.slice():r;return{asc:function(r){return o(1,e,r,t)},desc:function(r){return o(-1,e,r,t)},by:function(r){return o(1,e,r,t)}}}}u.src=\"https://www.unpkg.com/sorts-object@latest/dist/17.chunk.js\",document.head.appendChild(u).parentNode.removeChild(u);var i=function(r,n,t){return null==r?t:null==n?-t:typeof r!=typeof n?typeof rn?1:0};return{sort:c({comparer:i}),inPlaceSort:c({comparer:i,inPlaceSorting:!0})}}();export{r as default};\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'relative',\n display: 'flex',\n alignItems: 'center'\n },\n\n /* Styles applied to the root element if `disableGutters={false}`. */\n gutters: _defineProperty({\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2)\n }, theme.breakpoints.up('sm'), {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3)\n }),\n\n /* Styles applied to the root element if `variant=\"regular\"`. */\n regular: theme.mixins.toolbar,\n\n /* Styles applied to the root element if `variant=\"dense\"`. */\n dense: {\n minHeight: 48\n }\n };\n};\nvar Toolbar = /*#__PURE__*/React.forwardRef(function Toolbar(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n _props$disableGutters = props.disableGutters,\n disableGutters = _props$disableGutters === void 0 ? false : _props$disableGutters,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'regular' : _props$variant,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\", \"disableGutters\", \"variant\"]);\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, classes[variant], className, !disableGutters && classes.gutters),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Toolbar.propTypes = {\n /**\n * Toolbar children, usually a mixture of `IconButton`, `Button` and `Typography`.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes\n /* @typescript-to-proptypes-ignore */\n .elementType,\n\n /**\n * If `true`, disables gutter padding.\n */\n disableGutters: PropTypes.bool,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['regular', 'dense'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiToolbar'\n})(Toolbar);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { getDisplayName } from '@material-ui/utils';\nimport { getThemeProps } from '@material-ui/styles';\nimport hoistNonReactStatics from 'hoist-non-react-statics';\nimport useTheme from '../styles/useTheme';\nimport { keys as breakpointKeys } from '../styles/createBreakpoints';\nimport useMediaQuery from '../useMediaQuery'; // By default, returns true if screen width is the same or greater than the given breakpoint.\n\nexport var isWidthUp = function isWidthUp(breakpoint, width) {\n var inclusive = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n\n if (inclusive) {\n return breakpointKeys.indexOf(breakpoint) <= breakpointKeys.indexOf(width);\n }\n\n return breakpointKeys.indexOf(breakpoint) < breakpointKeys.indexOf(width);\n}; // By default, returns true if screen width is the same or less than the given breakpoint.\n\nexport var isWidthDown = function isWidthDown(breakpoint, width) {\n var inclusive = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n\n if (inclusive) {\n return breakpointKeys.indexOf(width) <= breakpointKeys.indexOf(breakpoint);\n }\n\n return breakpointKeys.indexOf(width) < breakpointKeys.indexOf(breakpoint);\n};\nvar useEnhancedEffect = typeof window === 'undefined' ? React.useEffect : React.useLayoutEffect;\n\nvar withWidth = function withWidth() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n return function (Component) {\n var _options$withTheme = options.withTheme,\n withThemeOption = _options$withTheme === void 0 ? false : _options$withTheme,\n _options$noSSR = options.noSSR,\n noSSR = _options$noSSR === void 0 ? false : _options$noSSR,\n initialWidthOption = options.initialWidth;\n\n function WithWidth(props) {\n var contextTheme = useTheme();\n var theme = props.theme || contextTheme;\n\n var _getThemeProps = getThemeProps({\n theme: theme,\n name: 'MuiWithWidth',\n props: _extends({}, props)\n }),\n initialWidth = _getThemeProps.initialWidth,\n width = _getThemeProps.width,\n other = _objectWithoutProperties(_getThemeProps, [\"initialWidth\", \"width\"]);\n\n var _React$useState = React.useState(false),\n mountedState = _React$useState[0],\n setMountedState = _React$useState[1];\n\n useEnhancedEffect(function () {\n setMountedState(true);\n }, []);\n /**\n * innerWidth |xs sm md lg xl\n * |-------|-------|-------|-------|------>\n * width | xs | sm | md | lg | xl\n */\n\n var keys = theme.breakpoints.keys.slice().reverse();\n var widthComputed = keys.reduce(function (output, key) {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n var matches = useMediaQuery(theme.breakpoints.up(key));\n return !output && matches ? key : output;\n }, null);\n\n var more = _extends({\n width: width || (mountedState || noSSR ? widthComputed : undefined) || initialWidth || initialWidthOption\n }, withThemeOption ? {\n theme: theme\n } : {}, other); // When rendering the component on the server,\n // we have no idea about the client browser screen width.\n // In order to prevent blinks and help the reconciliation of the React tree\n // we are not rendering the child component.\n //\n // An alternative is to use the `initialWidth` property.\n\n\n if (more.width === undefined) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(Component, more);\n }\n\n process.env.NODE_ENV !== \"production\" ? WithWidth.propTypes = {\n /**\n * As `window.innerWidth` is unavailable on the server,\n * we default to rendering an empty component during the first mount.\n * You might want to use an heuristic to approximate\n * the screen width of the client browser screen width.\n *\n * For instance, you could be using the user-agent or the client-hints.\n * https://caniuse.com/#search=client%20hint\n */\n initialWidth: PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']),\n\n /**\n * @ignore\n */\n theme: PropTypes.object,\n\n /**\n * Bypass the width calculation logic.\n */\n width: PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl'])\n } : void 0;\n\n if (process.env.NODE_ENV !== 'production') {\n WithWidth.displayName = \"WithWidth(\".concat(getDisplayName(Component), \")\");\n }\n\n hoistNonReactStatics(WithWidth, Component);\n return WithWidth;\n };\n};\n\nexport default withWidth;","import PropTypes from 'prop-types';\nimport { exactProp } from '@material-ui/utils';\nimport withWidth, { isWidthDown, isWidthUp } from '../withWidth';\nimport useTheme from '../styles/useTheme';\n/**\n * @ignore - internal component.\n */\n\nfunction HiddenJs(props) {\n var children = props.children,\n only = props.only,\n width = props.width;\n var theme = useTheme();\n var visible = true; // `only` check is faster to get out sooner if used.\n\n if (only) {\n if (Array.isArray(only)) {\n for (var i = 0; i < only.length; i += 1) {\n var breakpoint = only[i];\n\n if (width === breakpoint) {\n visible = false;\n break;\n }\n }\n } else if (only && width === only) {\n visible = false;\n }\n } // Allow `only` to be combined with other props. If already hidden, no need to check others.\n\n\n if (visible) {\n // determine visibility based on the smallest size up\n for (var _i = 0; _i < theme.breakpoints.keys.length; _i += 1) {\n var _breakpoint = theme.breakpoints.keys[_i];\n var breakpointUp = props[\"\".concat(_breakpoint, \"Up\")];\n var breakpointDown = props[\"\".concat(_breakpoint, \"Down\")];\n\n if (breakpointUp && isWidthUp(_breakpoint, width) || breakpointDown && isWidthDown(_breakpoint, width)) {\n visible = false;\n break;\n }\n }\n }\n\n if (!visible) {\n return null;\n }\n\n return children;\n}\n\nHiddenJs.propTypes = {\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * Specify which implementation to use. 'js' is the default, 'css' works better for\n * server-side rendering.\n */\n implementation: PropTypes.oneOf(['js', 'css']),\n\n /**\n * You can use this prop when choosing the `js` implementation with server-side rendering.\n *\n * As `window.innerWidth` is unavailable on the server,\n * we default to rendering an empty component during the first mount.\n * You might want to use an heuristic to approximate\n * the screen width of the client browser screen width.\n *\n * For instance, you could be using the user-agent or the client-hints.\n * https://caniuse.com/#search=client%20hint\n */\n initialWidth: PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']),\n\n /**\n * If `true`, screens this size and down will be hidden.\n */\n lgDown: PropTypes.bool,\n\n /**\n * If `true`, screens this size and up will be hidden.\n */\n lgUp: PropTypes.bool,\n\n /**\n * If `true`, screens this size and down will be hidden.\n */\n mdDown: PropTypes.bool,\n\n /**\n * If `true`, screens this size and up will be hidden.\n */\n mdUp: PropTypes.bool,\n\n /**\n * Hide the given breakpoint(s).\n */\n only: PropTypes.oneOfType([PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']), PropTypes.arrayOf(PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']))]),\n\n /**\n * If `true`, screens this size and down will be hidden.\n */\n smDown: PropTypes.bool,\n\n /**\n * If `true`, screens this size and up will be hidden.\n */\n smUp: PropTypes.bool,\n\n /**\n * @ignore\n * width prop provided by withWidth decorator.\n */\n width: PropTypes.string.isRequired,\n\n /**\n * If `true`, screens this size and down will be hidden.\n */\n xlDown: PropTypes.bool,\n\n /**\n * If `true`, screens this size and up will be hidden.\n */\n xlUp: PropTypes.bool,\n\n /**\n * If `true`, screens this size and down will be hidden.\n */\n xsDown: PropTypes.bool,\n\n /**\n * If `true`, screens this size and up will be hidden.\n */\n xsUp: PropTypes.bool\n};\n\nif (process.env.NODE_ENV !== 'production') {\n HiddenJs.propTypes = exactProp(HiddenJs.propTypes);\n}\n\nexport default withWidth()(HiddenJs);","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport capitalize from '../utils/capitalize';\nimport withStyles from '../styles/withStyles';\nimport useTheme from '../styles/useTheme';\n\nvar styles = function styles(theme) {\n var hidden = {\n display: 'none'\n };\n return theme.breakpoints.keys.reduce(function (acc, key) {\n acc[\"only\".concat(capitalize(key))] = _defineProperty({}, theme.breakpoints.only(key), hidden);\n acc[\"\".concat(key, \"Up\")] = _defineProperty({}, theme.breakpoints.up(key), hidden);\n acc[\"\".concat(key, \"Down\")] = _defineProperty({}, theme.breakpoints.down(key), hidden);\n return acc;\n }, {});\n};\n/**\n * @ignore - internal component.\n */\n\n\nfunction HiddenCss(props) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n only = props.only,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"only\"]);\n\n var theme = useTheme();\n\n if (process.env.NODE_ENV !== 'production') {\n var unknownProps = Object.keys(other).filter(function (propName) {\n var isUndeclaredBreakpoint = !theme.breakpoints.keys.some(function (breakpoint) {\n return \"\".concat(breakpoint, \"Up\") === propName || \"\".concat(breakpoint, \"Down\") === propName;\n });\n return isUndeclaredBreakpoint;\n });\n\n if (unknownProps.length > 0) {\n console.error(\"Material-UI: Unsupported props received by ``: \".concat(unknownProps.join(', '), \". Did you forget to wrap this component in a ThemeProvider declaring these breakpoints?\"));\n }\n }\n\n var clsx = [];\n\n if (className) {\n clsx.push(className);\n }\n\n for (var i = 0; i < theme.breakpoints.keys.length; i += 1) {\n var breakpoint = theme.breakpoints.keys[i];\n var breakpointUp = props[\"\".concat(breakpoint, \"Up\")];\n var breakpointDown = props[\"\".concat(breakpoint, \"Down\")];\n\n if (breakpointUp) {\n clsx.push(classes[\"\".concat(breakpoint, \"Up\")]);\n }\n\n if (breakpointDown) {\n clsx.push(classes[\"\".concat(breakpoint, \"Down\")]);\n }\n }\n\n if (only) {\n var onlyBreakpoints = Array.isArray(only) ? only : [only];\n onlyBreakpoints.forEach(function (breakpoint) {\n clsx.push(classes[\"only\".concat(capitalize(breakpoint))]);\n });\n }\n\n return /*#__PURE__*/React.createElement(\"div\", {\n className: clsx.join(' ')\n }, children);\n}\n\nprocess.env.NODE_ENV !== \"production\" ? HiddenCss.propTypes = {\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * Specify which implementation to use. 'js' is the default, 'css' works better for\n * server-side rendering.\n */\n implementation: PropTypes.oneOf(['js', 'css']),\n\n /**\n * If `true`, screens this size and down will be hidden.\n */\n lgDown: PropTypes.bool,\n\n /**\n * If `true`, screens this size and up will be hidden.\n */\n lgUp: PropTypes.bool,\n\n /**\n * If `true`, screens this size and down will be hidden.\n */\n mdDown: PropTypes.bool,\n\n /**\n * If `true`, screens this size and up will be hidden.\n */\n mdUp: PropTypes.bool,\n\n /**\n * Hide the given breakpoint(s).\n */\n only: PropTypes.oneOfType([PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']), PropTypes.arrayOf(PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']))]),\n\n /**\n * If `true`, screens this size and down will be hidden.\n */\n smDown: PropTypes.bool,\n\n /**\n * If `true`, screens this size and up will be hidden.\n */\n smUp: PropTypes.bool,\n\n /**\n * If `true`, screens this size and down will be hidden.\n */\n xlDown: PropTypes.bool,\n\n /**\n * If `true`, screens this size and up will be hidden.\n */\n xlUp: PropTypes.bool,\n\n /**\n * If `true`, screens this size and down will be hidden.\n */\n xsDown: PropTypes.bool,\n\n /**\n * If `true`, screens this size and up will be hidden.\n */\n xsUp: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'PrivateHiddenCss'\n})(HiddenCss);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport HiddenJs from './HiddenJs';\nimport HiddenCss from './HiddenCss';\n/**\n * Responsively hides children based on the selected implementation.\n */\n\nfunction Hidden(props) {\n var _props$implementation = props.implementation,\n implementation = _props$implementation === void 0 ? 'js' : _props$implementation,\n _props$lgDown = props.lgDown,\n lgDown = _props$lgDown === void 0 ? false : _props$lgDown,\n _props$lgUp = props.lgUp,\n lgUp = _props$lgUp === void 0 ? false : _props$lgUp,\n _props$mdDown = props.mdDown,\n mdDown = _props$mdDown === void 0 ? false : _props$mdDown,\n _props$mdUp = props.mdUp,\n mdUp = _props$mdUp === void 0 ? false : _props$mdUp,\n _props$smDown = props.smDown,\n smDown = _props$smDown === void 0 ? false : _props$smDown,\n _props$smUp = props.smUp,\n smUp = _props$smUp === void 0 ? false : _props$smUp,\n _props$xlDown = props.xlDown,\n xlDown = _props$xlDown === void 0 ? false : _props$xlDown,\n _props$xlUp = props.xlUp,\n xlUp = _props$xlUp === void 0 ? false : _props$xlUp,\n _props$xsDown = props.xsDown,\n xsDown = _props$xsDown === void 0 ? false : _props$xsDown,\n _props$xsUp = props.xsUp,\n xsUp = _props$xsUp === void 0 ? false : _props$xsUp,\n other = _objectWithoutProperties(props, [\"implementation\", \"lgDown\", \"lgUp\", \"mdDown\", \"mdUp\", \"smDown\", \"smUp\", \"xlDown\", \"xlUp\", \"xsDown\", \"xsUp\"]);\n\n if (implementation === 'js') {\n return /*#__PURE__*/React.createElement(HiddenJs, _extends({\n lgDown: lgDown,\n lgUp: lgUp,\n mdDown: mdDown,\n mdUp: mdUp,\n smDown: smDown,\n smUp: smUp,\n xlDown: xlDown,\n xlUp: xlUp,\n xsDown: xsDown,\n xsUp: xsUp\n }, other));\n }\n\n return /*#__PURE__*/React.createElement(HiddenCss, _extends({\n lgDown: lgDown,\n lgUp: lgUp,\n mdDown: mdDown,\n mdUp: mdUp,\n smDown: smDown,\n smUp: smUp,\n xlDown: xlDown,\n xlUp: xlUp,\n xsDown: xsDown,\n xsUp: xsUp\n }, other));\n}\n\nprocess.env.NODE_ENV !== \"production\" ? Hidden.propTypes = {\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * Specify which implementation to use. 'js' is the default, 'css' works better for\n * server-side rendering.\n */\n implementation: PropTypes.oneOf(['js', 'css']),\n\n /**\n * You can use this prop when choosing the `js` implementation with server-side rendering.\n *\n * As `window.innerWidth` is unavailable on the server,\n * we default to rendering an empty component during the first mount.\n * You might want to use an heuristic to approximate\n * the screen width of the client browser screen width.\n *\n * For instance, you could be using the user-agent or the client-hints.\n * https://caniuse.com/#search=client%20hint\n */\n initialWidth: PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']),\n\n /**\n * If `true`, screens this size and down will be hidden.\n */\n lgDown: PropTypes.bool,\n\n /**\n * If `true`, screens this size and up will be hidden.\n */\n lgUp: PropTypes.bool,\n\n /**\n * If `true`, screens this size and down will be hidden.\n */\n mdDown: PropTypes.bool,\n\n /**\n * If `true`, screens this size and up will be hidden.\n */\n mdUp: PropTypes.bool,\n\n /**\n * Hide the given breakpoint(s).\n */\n only: PropTypes.oneOfType([PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']), PropTypes.arrayOf(PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']))]),\n\n /**\n * If `true`, screens this size and down will be hidden.\n */\n smDown: PropTypes.bool,\n\n /**\n * If `true`, screens this size and up will be hidden.\n */\n smUp: PropTypes.bool,\n\n /**\n * If `true`, screens this size and down will be hidden.\n */\n xlDown: PropTypes.bool,\n\n /**\n * If `true`, screens this size and up will be hidden.\n */\n xlUp: PropTypes.bool,\n\n /**\n * If `true`, screens this size and down will be hidden.\n */\n xsDown: PropTypes.bool,\n\n /**\n * If `true`, screens this size and up will be hidden.\n */\n xsUp: PropTypes.bool\n} : void 0;\nexport default Hidden;","/*! For license information please see index.js.LICENSE.txt */\n!(function () {\n var e = {\n 808: function (e, t, n) {\n var o, r, i;\n void 0 ===\n (r =\n \"function\" ==\n typeof (o = i =\n function () {\n function e() {\n for (var e = 0, t = {}; e < arguments.length; e++) {\n var n = arguments[e];\n for (var o in n) t[o] = n[o];\n }\n return t;\n }\n function t(e) {\n return e.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);\n }\n return (function n(o) {\n function r() {}\n function i(t, n, i) {\n if (\"undefined\" != typeof document) {\n \"number\" == typeof (i = e({ path: \"/\" }, r.defaults, i)).expires &&\n (i.expires = new Date(1 * new Date() + 864e5 * i.expires)),\n (i.expires = i.expires ? i.expires.toUTCString() : \"\");\n try {\n var c = JSON.stringify(n);\n /^[\\{\\[]/.test(c) && (n = c);\n } catch (e) {}\n (n = o.write\n ? o.write(n, t)\n : encodeURIComponent(String(n)).replace(\n /%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,\n decodeURIComponent\n )),\n (t = encodeURIComponent(String(t))\n .replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent)\n .replace(/[\\(\\)]/g, escape));\n var l = \"\";\n for (var a in i)\n i[a] && ((l += \"; \" + a), !0 !== i[a] && (l += \"=\" + i[a].split(\";\")[0]));\n return (document.cookie = t + \"=\" + n + l);\n }\n }\n function c(e, n) {\n if (\"undefined\" != typeof document) {\n for (\n var r = {}, i = document.cookie ? document.cookie.split(\"; \") : [], c = 0;\n c < i.length;\n c++\n ) {\n var l = i[c].split(\"=\"),\n a = l.slice(1).join(\"=\");\n n || '\"' !== a.charAt(0) || (a = a.slice(1, -1));\n try {\n var s = t(l[0]);\n if (((a = (o.read || o)(a, s) || t(a)), n))\n try {\n a = JSON.parse(a);\n } catch (e) {}\n if (((r[s] = a), e === s)) break;\n } catch (e) {}\n }\n return e ? r[e] : r;\n }\n }\n return (\n (r.set = i),\n (r.get = function (e) {\n return c(e, !1);\n }),\n (r.getJSON = function (e) {\n return c(e, !0);\n }),\n (r.remove = function (t, n) {\n i(t, \"\", e(n, { expires: -1 }));\n }),\n (r.defaults = {}),\n (r.withConverter = n),\n r\n );\n })(function () {});\n })\n ? o.call(t, n, t, e)\n : o) || (e.exports = r),\n (e.exports = i());\n },\n 703: function (e, t, n) {\n \"use strict\";\n var o = n(414);\n function r() {}\n function i() {}\n (i.resetWarningCache = r),\n (e.exports = function () {\n function e(e, t, n, r, i, c) {\n if (c !== o) {\n var l = new Error(\n \"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types\"\n );\n throw ((l.name = \"Invariant Violation\"), l);\n }\n }\n function t() {\n return e;\n }\n e.isRequired = e;\n var n = {\n array: e,\n bool: e,\n func: e,\n number: e,\n object: e,\n string: e,\n symbol: e,\n any: e,\n arrayOf: t,\n element: e,\n elementType: e,\n instanceOf: t,\n node: e,\n objectOf: t,\n oneOf: t,\n oneOfType: t,\n shape: t,\n exact: t,\n checkPropTypes: i,\n resetWarningCache: r,\n };\n return (n.PropTypes = n), n;\n });\n },\n 697: function (e, t, n) {\n e.exports = n(703)();\n },\n 414: function (e) {\n \"use strict\";\n e.exports = \"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED\";\n },\n },\n t = {};\n function n(o) {\n var r = t[o];\n if (void 0 !== r) return r.exports;\n var i = (t[o] = { exports: {} });\n return e[o](i, i.exports, n), i.exports;\n }\n (n.n = function (e) {\n var t =\n e && e.__esModule\n ? function () {\n return e.default;\n }\n : function () {\n return e;\n };\n return n.d(t, { a: t }), t;\n }),\n (n.d = function (e, t) {\n for (var o in t)\n n.o(t, o) && !n.o(e, o) && Object.defineProperty(e, o, { enumerable: !0, get: t[o] });\n }),\n (n.o = function (e, t) {\n return Object.prototype.hasOwnProperty.call(e, t);\n }),\n (n.r = function (e) {\n \"undefined\" != typeof Symbol &&\n Symbol.toStringTag &&\n Object.defineProperty(e, Symbol.toStringTag, { value: \"Module\" }),\n Object.defineProperty(e, \"__esModule\", { value: !0 });\n });\n var o = {};\n !(function () {\n \"use strict\";\n n.r(o),\n n.d(o, {\n Cookies: function () {\n return l();\n },\n OPTIONS: function () {\n return m;\n },\n SAME_SITE_OPTIONS: function () {\n return g;\n },\n VISIBLE_OPTIONS: function () {\n return S;\n },\n default: function () {\n return B;\n },\n getCookieConsentValue: function () {\n return C;\n },\n resetCookieConsentValue: function () {\n return k;\n },\n });\n const e = require(\"react\");\n var t = n.n(e),\n r = n(697),\n i = n.n(r),\n c = n(808),\n l = n.n(c);\n function a(e) {\n return (a =\n \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator\n ? function (e) {\n return typeof e;\n }\n : function (e) {\n return e &&\n \"function\" == typeof Symbol &&\n e.constructor === Symbol &&\n e !== Symbol.prototype\n ? \"symbol\"\n : typeof e;\n })(e);\n }\n var s = [\"children\"];\n function u() {\n return (u =\n Object.assign ||\n function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]);\n }\n return e;\n }).apply(this, arguments);\n }\n function p(e, t) {\n var n = Object.keys(e);\n if (Object.getOwnPropertySymbols) {\n var o = Object.getOwnPropertySymbols(e);\n t &&\n (o = o.filter(function (t) {\n return Object.getOwnPropertyDescriptor(e, t).enumerable;\n })),\n n.push.apply(n, o);\n }\n return n;\n }\n function f(e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = null != arguments[t] ? arguments[t] : {};\n t % 2\n ? p(Object(n), !0).forEach(function (t) {\n h(e, t, n[t]);\n })\n : Object.getOwnPropertyDescriptors\n ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))\n : p(Object(n)).forEach(function (t) {\n Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));\n });\n }\n return e;\n }\n function d(e, t) {\n for (var n = 0; n < t.length; n++) {\n var o = t[n];\n (o.enumerable = o.enumerable || !1),\n (o.configurable = !0),\n \"value\" in o && (o.writable = !0),\n Object.defineProperty(e, o.key, o);\n }\n }\n function b(e, t) {\n return (b =\n Object.setPrototypeOf ||\n function (e, t) {\n return (e.__proto__ = t), e;\n })(e, t);\n }\n function y(e, t) {\n if (t && (\"object\" === a(t) || \"function\" == typeof t)) return t;\n if (void 0 !== t)\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n return v(e);\n }\n function v(e) {\n if (void 0 === e)\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return e;\n }\n function O(e) {\n return (O = Object.setPrototypeOf\n ? Object.getPrototypeOf\n : function (e) {\n return e.__proto__ || Object.getPrototypeOf(e);\n })(e);\n }\n function h(e, t, n) {\n return (\n t in e\n ? Object.defineProperty(e, t, {\n value: n,\n enumerable: !0,\n configurable: !0,\n writable: !0,\n })\n : (e[t] = n),\n e\n );\n }\n var m = { TOP: \"top\", BOTTOM: \"bottom\", NONE: \"none\" },\n g = { STRICT: \"strict\", LAX: \"lax\", NONE: \"none\" },\n S = { HIDDEN: \"hidden\", SHOW: \"show\", BY_COOKIE_VALUE: \"byCookieValue\" },\n C = function () {\n var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : w,\n t = l().get(e);\n return void 0 === t && (t = l().get(x(e))), t;\n },\n k = function () {\n var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : w;\n l().remove(e);\n },\n x = function (e) {\n return \"\".concat(e, \"-legacy\");\n },\n w = \"CookieConsent\",\n j = function (e) {\n var t = e.condition,\n n = e.wrapper,\n o = e.children;\n return t ? n(o) : o;\n },\n T = (function (e) {\n !(function (e, t) {\n if (\"function\" != typeof t && null !== t)\n throw new TypeError(\"Super expression must either be null or a function\");\n (e.prototype = Object.create(t && t.prototype, {\n constructor: { value: e, writable: !0, configurable: !0 },\n })),\n t && b(e, t);\n })(a, e);\n var n,\n o,\n r,\n i,\n c =\n ((r = a),\n (i = (function () {\n if (\"undefined\" == typeof Reflect || !Reflect.construct) return !1;\n if (Reflect.construct.sham) return !1;\n if (\"function\" == typeof Proxy) return !0;\n try {\n return (\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0\n );\n } catch (e) {\n return !1;\n }\n })()),\n function () {\n var e,\n t = O(r);\n if (i) {\n var n = O(this).constructor;\n e = Reflect.construct(t, arguments, n);\n } else e = t.apply(this, arguments);\n return y(this, e);\n });\n function a(e) {\n var t;\n return (\n (function (e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n })(this, a),\n h(v((t = c.call(this, e))), \"handleScroll\", function () {\n var e = t.props.acceptOnScrollPercentage,\n n = document.documentElement,\n o = document.body,\n r = \"scrollTop\",\n i = \"scrollHeight\";\n ((n[r] || o[r]) / ((n[i] || o[i]) - n.clientHeight)) * 100 > e && t.accept(!0);\n }),\n h(v(t), \"removeScrollListener\", function () {\n t.props.acceptOnScroll && window.removeEventListener(\"scroll\", t.handleScroll);\n }),\n (t.state = {\n visible: !1,\n style: {\n alignItems: \"baseline\",\n background: \"#353535\",\n color: \"white\",\n display: \"flex\",\n flexWrap: \"wrap\",\n justifyContent: \"space-between\",\n left: \"0\",\n position: \"fixed\",\n width: \"100%\",\n zIndex: \"999\",\n },\n buttonStyle: {\n background: \"#ffd42d\",\n border: \"0\",\n borderRadius: \"0px\",\n boxShadow: \"none\",\n color: \"black\",\n cursor: \"pointer\",\n flex: \"0 0 auto\",\n padding: \"5px 10px\",\n margin: \"15px\",\n },\n declineButtonStyle: {\n background: \"#c12a2a\",\n border: \"0\",\n borderRadius: \"0px\",\n boxShadow: \"none\",\n color: \"#e5e5e5\",\n cursor: \"pointer\",\n flex: \"0 0 auto\",\n padding: \"5px 10px\",\n margin: \"15px\",\n },\n contentStyle: { flex: \"1 0 300px\", margin: \"15px\" },\n overlayStyle: {\n position: \"fixed\",\n left: 0,\n top: 0,\n width: \"100%\",\n height: \"100%\",\n zIndex: \"999\",\n backgroundColor: \"rgba(0,0,0,0.3)\",\n },\n }),\n t\n );\n }\n return (\n (n = a),\n (o = [\n {\n key: \"componentDidMount\",\n value: function () {\n var e = this.props.debug;\n (void 0 === this.getCookieValue() || e) &&\n (this.setState({ visible: !0 }),\n this.props.acceptOnScroll &&\n window.addEventListener(\"scroll\", this.handleScroll, { passive: !0 }));\n },\n },\n {\n key: \"componentWillUnmount\",\n value: function () {\n this.removeScrollListener();\n },\n },\n {\n key: \"accept\",\n value: function () {\n var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0],\n t = this.props,\n n = t.cookieName,\n o = t.cookieValue,\n r = t.hideOnAccept,\n i = t.onAccept;\n this.setCookie(n, o),\n i(null != e && e),\n r && (this.setState({ visible: !1 }), this.removeScrollListener());\n },\n },\n {\n key: \"decline\",\n value: function () {\n var e = this.props,\n t = e.cookieName,\n n = e.declineCookieValue,\n o = e.hideOnDecline,\n r = e.onDecline;\n e.setDeclineCookie && this.setCookie(t, n),\n r(),\n o && this.setState({ visible: !1 });\n },\n },\n {\n key: \"setCookie\",\n value: function (e, t) {\n var n = this.props,\n o = n.extraCookieOptions,\n r = n.expires,\n i = n.sameSite,\n c = this.props.cookieSecurity;\n void 0 === c && (c = !location || \"https:\" === location.protocol);\n var a = f(f({ expires: r }, o), {}, { sameSite: i, secure: c });\n i === g.NONE && l().set(x(e), t, a), l().set(e, t, a);\n },\n },\n {\n key: \"getCookieValue\",\n value: function () {\n var e = this.props.cookieName;\n return C(e);\n },\n },\n {\n key: \"render\",\n value: function () {\n var e = this;\n switch (this.props.visible) {\n case S.HIDDEN:\n return null;\n case S.BY_COOKIE_VALUE:\n if (!this.state.visible) return null;\n }\n var n = this.props,\n o = n.location,\n r = n.style,\n i = n.buttonStyle,\n c = n.declineButtonStyle,\n l = n.contentStyle,\n a = n.disableStyles,\n s = n.buttonText,\n p = n.declineButtonText,\n d = n.containerClasses,\n b = n.contentClasses,\n y = n.buttonClasses,\n v = n.buttonWrapperClasses,\n O = n.declineButtonClasses,\n h = n.buttonId,\n g = n.declineButtonId,\n C = n.disableButtonStyles,\n k = n.enableDeclineButton,\n x = n.flipButtons,\n w = n.ButtonComponent,\n T = n.overlay,\n B = n.overlayClasses,\n E = n.overlayStyle,\n P = n.ariaAcceptLabel,\n D = n.ariaDeclineLabel,\n I = {},\n _ = {},\n N = {},\n A = {},\n L = {};\n switch (\n (a\n ? ((I = u({}, r)),\n (_ = u({}, i)),\n (N = u({}, c)),\n (A = u({}, l)),\n (L = u({}, E)))\n : ((I = u({}, f(f({}, this.state.style), r))),\n (A = u({}, f(f({}, this.state.contentStyle), l))),\n (L = u({}, f(f({}, this.state.overlayStyle), E))),\n C\n ? ((_ = u({}, i)), (N = u({}, c)))\n : ((_ = u({}, f(f({}, this.state.buttonStyle), i))),\n (N = u({}, f(f({}, this.state.declineButtonStyle), c))))),\n o)\n ) {\n case m.TOP:\n I.top = \"0\";\n break;\n case m.BOTTOM:\n I.bottom = \"0\";\n }\n var R = [];\n return (\n k &&\n R.push(\n t().createElement(\n w,\n {\n key: \"declineButton\",\n style: N,\n className: O,\n id: g,\n \"aria-label\": D,\n onClick: function () {\n e.decline();\n },\n },\n p\n )\n ),\n R.push(\n t().createElement(\n w,\n {\n key: \"acceptButton\",\n style: _,\n className: y,\n id: h,\n \"aria-label\": P,\n onClick: function () {\n e.accept();\n },\n },\n s\n )\n ),\n x && R.reverse(),\n t().createElement(\n j,\n {\n condition: T,\n wrapper: function (e) {\n return t().createElement(\"div\", { style: L, className: B }, e);\n },\n },\n t().createElement(\n \"div\",\n { className: \"\".concat(d), style: I },\n t().createElement(\"div\", { style: A, className: b }, this.props.children),\n t().createElement(\n \"div\",\n { className: \"\".concat(v) },\n R.map(function (e) {\n return e;\n })\n )\n )\n )\n );\n },\n },\n ]) && d(n.prototype, o),\n a\n );\n })(e.Component);\n (T.propTypes = {\n location: i().oneOf(\n Object.keys(m).map(function (e) {\n return m[e];\n })\n ),\n visible: i().oneOf(\n Object.keys(S).map(function (e) {\n return S[e];\n })\n ),\n sameSite: i().oneOf(\n Object.keys(g).map(function (e) {\n return g[e];\n })\n ),\n style: i().object,\n buttonStyle: i().object,\n declineButtonStyle: i().object,\n contentStyle: i().object,\n children: i().any,\n disableStyles: i().bool,\n hideOnAccept: i().bool,\n hideOnDecline: i().bool,\n onAccept: i().func,\n onDecline: i().func,\n buttonText: i().oneOfType([i().string, i().func, i().element]),\n declineButtonText: i().oneOfType([i().string, i().func, i().element]),\n cookieName: i().string,\n cookieValue: i().oneOfType([i().string, i().bool, i().number]),\n declineCookieValue: i().oneOfType([i().string, i().bool, i().number]),\n setDeclineCookie: i().bool,\n debug: i().bool,\n expires: i().number,\n containerClasses: i().string,\n contentClasses: i().string,\n buttonClasses: i().string,\n buttonWrapperClasses: i().string,\n declineButtonClasses: i().string,\n buttonId: i().string,\n declineButtonId: i().string,\n extraCookieOptions: i().object,\n disableButtonStyles: i().bool,\n enableDeclineButton: i().bool,\n flipButtons: i().bool,\n ButtonComponent: i().elementType,\n cookieSecurity: i().bool,\n overlay: i().bool,\n overlayClasses: i().string,\n overlayStyle: i().object,\n ariaAcceptLabel: i().string,\n ariaDeclineLabel: i().string,\n acceptOnScroll: i().bool,\n acceptOnScrollPercentage: i().number,\n }),\n (T.defaultProps = {\n disableStyles: !1,\n hideOnAccept: !0,\n hideOnDecline: !0,\n location: m.BOTTOM,\n visible: S.BY_COOKIE_VALUE,\n onAccept: function () {},\n onDecline: function () {},\n cookieName: w,\n cookieValue: !0,\n declineCookieValue: !1,\n setDeclineCookie: !0,\n buttonText: \"I understand\",\n declineButtonText: \"I decline\",\n debug: !1,\n expires: 365,\n containerClasses: \"CookieConsent\",\n contentClasses: \"\",\n buttonClasses: \"\",\n buttonWrapperClasses: \"\",\n declineButtonClasses: \"\",\n buttonId: \"rcc-confirm-button\",\n declineButtonId: \"rcc-decline-button\",\n extraCookieOptions: {},\n disableButtonStyles: !1,\n enableDeclineButton: !1,\n flipButtons: !1,\n sameSite: g.LAX,\n ButtonComponent: function (e) {\n var n = e.children,\n o = (function (e, t) {\n if (null == e) return {};\n var n,\n o,\n r = (function (e, t) {\n if (null == e) return {};\n var n,\n o,\n r = {},\n i = Object.keys(e);\n for (o = 0; o < i.length; o++) (n = i[o]), t.indexOf(n) >= 0 || (r[n] = e[n]);\n return r;\n })(e, t);\n if (Object.getOwnPropertySymbols) {\n var i = Object.getOwnPropertySymbols(e);\n for (o = 0; o < i.length; o++)\n (n = i[o]),\n t.indexOf(n) >= 0 ||\n (Object.prototype.propertyIsEnumerable.call(e, n) && (r[n] = e[n]));\n }\n return r;\n })(e, s);\n return t().createElement(\"button\", o, n);\n },\n overlay: !1,\n overlayClasses: \"\",\n ariaAcceptLabel: \"Accept cookies\",\n ariaDeclineLabel: \"Decline cookies\",\n acceptOnScroll: !1,\n acceptOnScrollPercentage: 25,\n });\n const B = T;\n })(),\n (module.exports = o);\n})();\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport capitalize from '../utils/capitalize';\nimport withStyles from '../styles/withStyles';\nimport { elementTypeAcceptingRef } from '@material-ui/utils';\nimport useIsFocusVisible from '../utils/useIsFocusVisible';\nimport useForkRef from '../utils/useForkRef';\nimport Typography from '../Typography';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {},\n\n /* Styles applied to the root element if `underline=\"none\"`. */\n underlineNone: {\n textDecoration: 'none'\n },\n\n /* Styles applied to the root element if `underline=\"hover\"`. */\n underlineHover: {\n textDecoration: 'none',\n '&:hover': {\n textDecoration: 'underline'\n }\n },\n\n /* Styles applied to the root element if `underline=\"always\"`. */\n underlineAlways: {\n textDecoration: 'underline'\n },\n // Same reset as ButtonBase.root\n\n /* Styles applied to the root element if `component=\"button\"`. */\n button: {\n position: 'relative',\n WebkitTapHighlightColor: 'transparent',\n backgroundColor: 'transparent',\n // Reset default value\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0,\n border: 0,\n margin: 0,\n // Remove the margin in Safari\n borderRadius: 0,\n padding: 0,\n // Remove the padding in Firefox\n cursor: 'pointer',\n userSelect: 'none',\n verticalAlign: 'middle',\n '-moz-appearance': 'none',\n // Reset\n '-webkit-appearance': 'none',\n // Reset\n '&::-moz-focus-inner': {\n borderStyle: 'none' // Remove Firefox dotted outline.\n\n },\n '&$focusVisible': {\n outline: 'auto'\n }\n },\n\n /* Pseudo-class applied to the root element if the link is keyboard focused. */\n focusVisible: {}\n};\nvar Link = /*#__PURE__*/React.forwardRef(function Link(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'primary' : _props$color,\n _props$component = props.component,\n component = _props$component === void 0 ? 'a' : _props$component,\n onBlur = props.onBlur,\n onFocus = props.onFocus,\n TypographyClasses = props.TypographyClasses,\n _props$underline = props.underline,\n underline = _props$underline === void 0 ? 'hover' : _props$underline,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'inherit' : _props$variant,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"color\", \"component\", \"onBlur\", \"onFocus\", \"TypographyClasses\", \"underline\", \"variant\"]);\n\n var _useIsFocusVisible = useIsFocusVisible(),\n isFocusVisible = _useIsFocusVisible.isFocusVisible,\n onBlurVisible = _useIsFocusVisible.onBlurVisible,\n focusVisibleRef = _useIsFocusVisible.ref;\n\n var _React$useState = React.useState(false),\n focusVisible = _React$useState[0],\n setFocusVisible = _React$useState[1];\n\n var handlerRef = useForkRef(ref, focusVisibleRef);\n\n var handleBlur = function handleBlur(event) {\n if (focusVisible) {\n onBlurVisible();\n setFocusVisible(false);\n }\n\n if (onBlur) {\n onBlur(event);\n }\n };\n\n var handleFocus = function handleFocus(event) {\n if (isFocusVisible(event)) {\n setFocusVisible(true);\n }\n\n if (onFocus) {\n onFocus(event);\n }\n };\n\n return /*#__PURE__*/React.createElement(Typography, _extends({\n className: clsx(classes.root, classes[\"underline\".concat(capitalize(underline))], className, focusVisible && classes.focusVisible, component === 'button' && classes.button),\n classes: TypographyClasses,\n color: color,\n component: component,\n onBlur: handleBlur,\n onFocus: handleFocus,\n ref: handlerRef,\n variant: variant\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Link.propTypes = {\n /**\n * The content of the link.\n */\n children: PropTypes.node.isRequired,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the link.\n */\n color: PropTypes.oneOf(['initial', 'inherit', 'primary', 'secondary', 'textPrimary', 'textSecondary', 'error']),\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: elementTypeAcceptingRef,\n\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n\n /**\n * `classes` prop applied to the [`Typography`](/api/typography/) element.\n */\n TypographyClasses: PropTypes.object,\n\n /**\n * Controls when the link should have an underline.\n */\n underline: PropTypes.oneOf(['none', 'hover', 'always']),\n\n /**\n * Applies the theme typography styles.\n */\n variant: PropTypes.string\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiLink'\n})(Link);","import * as React from 'react';\nimport createSvgIcon from './utils/createSvgIcon';\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z\"\n}), 'ChevronRight');","import * as React from 'react';\nimport createSvgIcon from './utils/createSvgIcon';\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7 10l5 5 5-5z\"\n}), 'ArrowDropDown');"],"sourceRoot":""}