-
Notifications
You must be signed in to change notification settings - Fork 0
/
546641dfde76ed00139ea2c3eae09499c5f2164a-4324fee803245d4dd024.js.map
1 lines (1 loc) · 733 KB
/
546641dfde76ed00139ea2c3eae09499c5f2164a-4324fee803245d4dd024.js.map
1
{"version":3,"sources":["webpack:///./node_modules/react-transition-group/esm/TransitionGroupContext.js","webpack:///./src/fonts/SFMono/SFMono-SemiboldItalic.woff","webpack:///./src/config.js","webpack:///./src/fonts/Calibre/Calibre-Medium.woff2","webpack:///./src/fonts/Calibre/Calibre-RegularItalic.woff","webpack:///./src/utils/index.js","webpack:///./node_modules/react-side-effect/lib/index.js","webpack:///./node_modules/react-typist/dist/Typist.js","webpack:///./node_modules/process/browser.js","webpack:///./node_modules/gatsby-image/index.js","webpack:///./src/fonts/SFMono/SFMono-RegularItalic.woff","webpack:///./node_modules/@emotion/memoize/dist/memoize.browser.esm.js","webpack:///./node_modules/@emotion/is-prop-valid/dist/is-prop-valid.browser.esm.js","webpack:///./node_modules/is-what/dist/index.esm.js","webpack:///./node_modules/merge-anything/dist/index.esm.js","webpack:///./src/fonts/Calibre/Calibre-RegularItalic.woff2","webpack:///./src/fonts/Calibre/Calibre-Semibold.woff","webpack:///./src/components/head.js","webpack:///./src/styles/mixins.js","webpack:///./src/styles/theme.js","webpack:///./src/styles/fonts.js","webpack:///./src/styles/TransitionStyles.js","webpack:///./src/styles/PrismStyles.js","webpack:///./node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js","webpack:///./src/styles/GlobalStyle.js","webpack:///./src/components/layout.js","webpack:///./node_modules/animejs/lib/anime.es.js","webpack:///./src/components/loader.js","webpack:///./src/hooks/useOnClickOutside.js","webpack:///./src/hooks/useScrollDirection.js","webpack:///./src/components/nav.js","webpack:///./src/components/menu.js","webpack:///./src/components/side.js","webpack:///./src/components/social.js","webpack:///./src/components/email.js","webpack:///./src/components/footer.js","webpack:///./src/components/sections/hero.js","webpack:///./src/components/sections/about.js","webpack:///./src/components/sections/jobs.js","webpack:///./src/components/sections/featured.js","webpack:///./src/components/sections/projects.js","webpack:///./src/components/sections/contact.js","webpack:///./src/fonts/Calibre/Calibre-Regular.woff2","webpack:///./node_modules/@emotion/unitless/dist/unitless.browser.esm.js","webpack:///./src/fonts/Calibre/Calibre-Semibold.woff2","webpack:///./src/fonts/SFMono/SFMono-Semibold.woff2","webpack:///./node_modules/smooth-scroll/dist/smooth-scroll.polyfills.min.js","webpack:///./node_modules/stylis-rule-sheet/index.js","webpack:///./node_modules/react-is/index.js","webpack:///./src/fonts/Calibre/Calibre-SemiboldItalic.woff","webpack:///./node_modules/react-transition-group/esm/utils/ChildMapping.js","webpack:///./node_modules/react-transition-group/esm/TransitionGroup.js","webpack:///./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","webpack:///./node_modules/memoize-one/dist/memoize-one.esm.js","webpack:///./node_modules/stylis/stylis.min.js","webpack:///./node_modules/react-fast-compare/index.js","webpack:///./src/fonts/SFMono/SFMono-Semibold.woff","webpack:///./src/components/icons/appstore.js","webpack:///./src/components/icons/codepen.js","webpack:///./src/components/icons/external.js","webpack:///./src/components/icons/folder.js","webpack:///./src/components/icons/fork.js","webpack:///./src/components/icons/icon.js","webpack:///./src/components/icons/github.js","webpack:///./src/components/icons/instagram.js","webpack:///./src/components/icons/linkedin.js","webpack:///./src/components/icons/loader.js","webpack:///./src/components/icons/location.js","webpack:///./src/components/icons/logo.js","webpack:///./src/components/icons/playstore.js","webpack:///./src/components/icons/star.js","webpack:///./src/components/icons/twitter.js","webpack:///./src/components/icons/zap.js","webpack:///./src/fonts/SFMono/SFMono-SemiboldItalic.woff2","webpack:///./src/fonts/Calibre/Calibre-SemiboldItalic.woff2","webpack:///./src/fonts/Calibre/Calibre-Medium.woff","webpack:///./src/fonts/Calibre/Calibre-MediumItalic.woff","webpack:///./node_modules/is-dom-node/dist/is-dom-node.es.js","webpack:///./node_modules/is-dom-node-list/dist/is-dom-node-list.es.js","webpack:///./node_modules/tealight/dist/tealight.es.js","webpack:///./node_modules/rematrix/dist/rematrix.es.js","webpack:///./node_modules/miniraf/dist/miniraf.es.js","webpack:///./node_modules/scrollreveal/dist/scrollreveal.es.js","webpack:///./src/utils/sr.js","webpack:///./src/fonts/Calibre/Calibre-Regular.woff","webpack:///./node_modules/dom-helpers/esm/removeClass.js","webpack:///./node_modules/react-transition-group/esm/config.js","webpack:///./node_modules/react-transition-group/esm/Transition.js","webpack:///./node_modules/react-transition-group/esm/CSSTransition.js","webpack:///./node_modules/dom-helpers/esm/addClass.js","webpack:///./node_modules/dom-helpers/esm/hasClass.js","webpack:///./node_modules/react-is/cjs/react-is.production.min.js","webpack:///./node_modules/react-helmet/es/Helmet.js","webpack:///./src/fonts/SFMono/SFMono-Regular.woff","webpack:///./src/fonts/SFMono/SFMono-Regular.woff2","webpack:///./src/fonts/SFMono/SFMono-RegularItalic.woff2","webpack:///./src/fonts/Calibre/Calibre-MediumItalic.woff2","webpack:///./node_modules/styled-components/dist/styled-components.browser.esm.js","webpack:///./node_modules/@babel/runtime/helpers/esm/extends.js","webpack:///(webpack)/buildin/global.js","webpack:///./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"],"names":["createContext","module","exports","email","socialMedia","name","url","navLinks","colors","green","navy","darkNavy","srConfig","delay","viewFactor","origin","distance","duration","rotate","x","y","z","opacity","scale","easing","mobile","reset","useDelay","viewOffset","top","right","bottom","left","navDelay","loaderDelay","KEY_CODES","ARROW_LEFT","ARROW_LEFT_IE11","ARROW_RIGHT","ARROW_RIGHT_IE11","ESCAPE","ESCAPE_IE11","TAB","SPACE","SPACE_IE11","ENTER","ex","React","React__default","_defineProperty","obj","key","value","Object","defineProperty","enumerable","configurable","writable","canUseDOM","window","document","createElement","reducePropsToState","handleStateChangeOnClient","mapStateOnServer","Error","WrappedComponent","state","mountedInstances","emitChange","map","instance","props","SideEffect","_PureComponent","subClass","superClass","apply","this","arguments","prototype","create","constructor","__proto__","peek","rewind","recordedState","undefined","_proto","UNSAFE_componentWillMount","push","componentDidUpdate","componentWillUnmount","index","indexOf","splice","render","PureComponent","displayName","getDisplayName","modules","installedModules","__webpack_require__","moduleId","id","loaded","call","m","c","p","_extends","assign","target","i","length","source","hasOwnProperty","_createClass","defineProperties","descriptor","Constructor","protoProps","staticProps","_react","_react2","_interopRequireDefault","_propTypes2","_Cursor2","_Backspace2","_Delay2","utils","__esModule","newObj","default","_interopRequireWildcard","ACTION_CHARS","Typist","_Component","TypeError","_classCallCheck","_this","self","ReferenceError","_possibleConstructorReturn","getPrototypeOf","textLines","isDone","onTypingDone","mounted","setState","delayGenerator","line","lineIdx","character","charIdx","mean","avgTypingDelay","std","stdTypingDelay","defDelayGenerator","mn","st","gaussianRnd","typeLine","Promise","resolve","decoratedLine","onLineTyped","isBackspaceElement","introducedDelay","String","repeat","count","isDelayElement","ms","reject","concat","eachPromise","typeCharacter","then","catch","onCharacterTyped","slice","sleep","isBackspace","prevLineIdx","prevLine","idx","includes","substr","setTimeout","linesToType","children","extractTextFromElement","setPrototypeOf","_inherits","_props","startDelay","typeAllLines","bind","nextProps","nextState","_this2","lines","_props2","className","cursor","innerTree","cloneElementWithSpecifiedText","element","Component","propTypes","node","string","number","object","func","defaultProps","Backspace","Delay","emptyFunction","invariant","warning","ReactPropTypesSecret","checkPropTypes","isValidElement","throwOnDirectAccess","ITERATOR_SYMBOL","Symbol","iterator","ReactPropTypes","array","createPrimitiveTypeChecker","bool","symbol","any","createChainableTypeChecker","thatReturnsNull","arrayOf","typeChecker","propName","componentName","location","propFullName","PropTypeError","propValue","Array","isArray","getPropType","error","instanceOf","expectedClass","expectedClassName","getClassName","isNode","objectOf","propType","oneOf","expectedValues","is","JSON","stringify","oneOfType","arrayOfTypeCheckers","checker","getPostfixForTypeWarning","shape","shapeTypes","message","stack","validate","checkType","isRequired","secret","chainedCheckType","expectedType","getPreciseType","every","iteratorFn","maybeIterable","getIteratorFn","step","entries","next","done","entry","RegExp","isSymbol","Date","type","PropTypes","makeEmptyFunction","arg","thatReturns","thatReturnsFalse","thatReturnsTrue","thatReturnsThis","thatReturnsArgument","condition","format","a","b","d","e","f","args","argIndex","replace","framesToPop","typeSpecs","values","getStack","shim","getShim","Cursor","_isReRenderingCursor","shouldRender","show","hideWhenDone","hideWhenDoneDelay","_reRenderCursor","_this3","blink","_slicedToArray","arr","_arr","_n","_d","_e","_s","_i","err","sliceIterator","sum","Math","random","times","round","_len","extraArgs","_key","promiseReducer","prev","current","from","reduce","exclude","pop","unshift","Children","forEach","child","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_step","_iterator","el","return","cloneElement","_ref","cloneElementWithSpecifiedTextAtIndex","textIdx","recurse","_cloneElementWithSpec","_cloneElementWithSpec2","advIdx","clonedChildren","val","keys","res","tag","randomStamp","getUTCMilliseconds","arr2","_toConsumableArray","cachedSetTimeout","cachedClearTimeout","process","defaultSetTimout","defaultClearTimeout","runTimeout","fun","clearTimeout","currentQueue","queue","draining","queueIndex","cleanUpNextTick","drainQueue","timeout","len","run","marker","runClearTimeout","Item","noop","nextTick","title","browser","env","argv","version","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","prependListener","prependOnceListener","listeners","binding","cwd","chdir","dir","umask","require","io","_assertThisInitialized2","_inheritsLoose2","_objectWithoutPropertiesLoose2","_extends2","_propTypes","convertProps","convertedProps","resolutions","sizes","critical","fixed","fluid","loading","groupByMedia","matchesMedia","media","isBrowser","matchMedia","matches","getImageCacheKey","_ref2","srcData","getCurrentSrcData","src","currentData","some","image","hasArtDirectionSupport","foundMedia","findIndex","noMedia","imageCache","inImageCache","cacheKey","hasNativeLazyLoadSupport","HTMLImageElement","hasIOSupport","IntersectionObserver","WeakMap","generateImageSources","imageVariants","_ref3","srcSet","srcSetWebp","Fragment","withMedia","without","variant","generateTracedSVGSources","_ref4","tracedSVG","generateBase64Sources","_ref5","base64","generateNoscriptSource","_ref6","isWebp","listenToIntersections","cb","observer","has","get","isIntersecting","intersectionRatio","unobserve","delete","rootMargin","observe","set","noscriptImg","alt","width","height","crossOrigin","draggable","join","Placeholder","forwardRef","ref","generateSources","spreadProps","ariaHidden","baseImage","Img","style","onLoad","onError","otherProps","position","objectFit","objectPosition","Image","_React$Component","seenBefore","isCritical","addNoScript","fadeIn","useIOSupport","isVisible","imgLoaded","imgCached","isHydrated","imageRef","createRef","placeholderRef","handleImageLoaded","handleRef","componentDidMount","onStartLoad","wasCached","img","complete","cleanUpListeners","imageInCache","currentSrc","_convertProps","_convertProps$style","_convertProps$imgStyl","imgStyle","_convertProps$placeho","placeholderStyle","placeholderClassName","backgroundColor","durationFadeIn","Tag","itemProp","shouldReveal","shouldFadeIn","imageStyle","transition","bgColor","delayHideStyle","transitionDelay","imagePlaceholderStyle","placeholderImageProps","overflow","maxWidth","maxHeight","paddingBottom","aspectRatio","dangerouslySetInnerHTML","__html","divStyle","display","fixedObject","srcWebp","fluidObject","requireFixedOrFluid","originalPropTypes","_PropTypes$checkPropT","_default","reactPropsRegex","fn","cache","prop","test","charCodeAt","getType","payload","toString","isPlainObject","__spreadArrays","s","il","r","k","j","jl","assignProp","carry","newVal","originalObject","propertyIsEnumerable","mergeRecursively","newComer","extensions","extend","newObject","getOwnPropertyNames","getOwnPropertySymbols","targetVal","newComers","base","result","Head","description","pathname","useLocation","useStaticQuery","site","siteMetadata","defaultTitle","defaultDescription","siteUrl","defaultImage","twitterUsername","seo","Helmet","titleTemplate","lang","content","property","button","css","theme","bp","mobileS","mobileM","mobileL","tabletS","tabletL","desktopXS","desktopS","desktopM","desktopL","mixins","flexCenter","flexBetween","link","inlineLink","smallButton","bigButton","boxShadow","fancyList","calibre","normal","400","CalibreRegularWoff","CalibreRegularWoff2","500","CalibreMediumWoff","CalibreMediumWoff2","600","CalibreSemiboldWoff","CalibreSemiboldWoff2","italic","CalibreRegularItalicWoff","CalibreRegularItalicWoff2","CalibreMediumItalicWoff","CalibreMediumItalicWoff2","CalibreSemiboldItalicWoff","CalibreSemiboldItalicWoff2","sfMono","SFMonoRegularWoff","SFMonoRegularWoff2","SFMonoSemiboldWoff","SFMonoSemiboldWoff2","SFMonoRegularItalicWoff","SFMonoRegularItalicWoff2","SFMonoSemiboldItalicWoff","SFMonoSemiboldItalicWoff2","createFontFaces","family","styles","weight","formats","woff","woff2","calibreNormal","calibreItalic","sfMonoNormal","sfMonoItalic","Fonts","TransitionStyles","prismColors","bg","lineHighlight","blue","purple","yellow","orange","red","grey","comment","PrismStyles","variable","strings","raw","GlobalStyle","createGlobalStyle","SkipToContentLink","styled","StyledContent","div","Layout","isHome","useState","isLoading","setIsLoading","useEffect","hash","substring","getElementById","scrollIntoView","focus","allLinks","querySelectorAll","host","setAttribute","href","finishLoading","defaultInstanceSettings","update","begin","loopBegin","changeBegin","change","changeComplete","loopComplete","loop","direction","autoplay","timelineOffset","defaultTweenSettings","endDelay","validTransforms","CSS","springs","minMax","min","max","stringContains","str","text","applyArguments","pth","svg","SVGElement","inp","HTMLInputElement","dom","nodeType","fnc","und","nil","hex","rgb","hsl","col","parseEasingParameters","match","exec","split","parseFloat","spring","params","mass","stiffness","damping","velocity","w0","sqrt","zeta","wd","solver","t","progress","exp","cos","sin","cached","elapsed","rest","steps","ceil","eases","functionEasings","bezier","A","aA1","aA2","B","C","calcBezier","aT","getSlope","mX1","mY1","mX2","mY2","sampleValues","Float32Array","getTForX","aX","intervalStart","currentSample","kSplineTableSize","guessForT","initialSlope","aGuessT","currentSlope","newtonRaphsonIterate","aA","aB","currentX","currentT","abs","binarySubdivide","penner","linear","Sine","PI","Circ","Back","Bounce","pow2","pow","Elastic","amplitude","period","asin","easeIn","parseEasings","ease","selectString","filterArray","callback","thisArg","flattenArray","toArray","o","NodeList","HTMLCollection","arrayContains","cloneObject","clone","replaceObjectProps","o1","o2","mergeObjects","colorToRgb","rgbValue","hexValue","g","parseInt","hexToRgba","hslValue","h","l","hue2rgb","q","hslToRgba","getUnit","getFunctionValue","animatable","total","getAttribute","convertPxToUnit","unit","tempEl","tagName","parentEl","parentNode","body","appendChild","factor","offsetWidth","removeChild","convertedUnit","getCSSValue","uppercasePropName","toLowerCase","getComputedStyle","getPropertyValue","getAnimationType","getElementTransforms","transform","reg","transforms","Map","getTransformValue","defaultVal","getTransformUnit","list","getOriginalTargetValue","getRelativeValue","to","operator","u","validateValue","originalUnit","unitLess","getDistance","p1","p2","getPolylineLength","previousPos","points","totalLength","numberOfItems","currentPos","getItem","getTotalLength","getCircleLength","getRectLength","getLineLength","getPolygonLength","getParentSvg","pathEl","svgData","parentSvgEl","getParentSvgEl","rect","getBoundingClientRect","viewBoxAttr","viewBox","w","vW","vH","getPathProgress","path","isPathTargetInsideSVG","point","offset","getPointAtLength","p0","scaleX","scaleY","atan2","decomposeValue","rgx","original","numbers","Number","parseTargets","targets","item","pos","getAnimatables","parsed","normalizePropertyTweens","tweenSettings","settings","propArray","v","getProperties","properties","keyframes","propertyNames","newKey","flattenKeyframes","tweens","normalizeTweens","previousTween","tween","normalizeTweenValues","tweenValue","toUnit","originalValue","previousValue","fromUnit","start","end","isPath","isColor","setProgressValue","attribute","manual","last","setTargetsValue","valueUnit","animType","getAnimations","animatables","lastTween","createAnimation","getInstanceTimings","animations","animLength","getTlOffset","anim","timings","instanceID","activeInstances","engine","raf","activeInstancesLength","activeInstance","paused","tick","requestAnimationFrame","addEventListener","anime","suspendWhenDocumentHidden","isDocumentHidden","cancelAnimationFrame","_onDocumentVisibility","hidden","startTime","lastTime","now","childrenLength","makePromise","promise","_resolve","finished","instanceSettings","createNewInstance","toggleInstanceDirection","reversed","adjustTime","time","resetTime","currentTime","speed","seekChild","seek","setAnimationsProgress","insTime","animationsLength","tweenLength","eased","isNaN","toNumbersLength","n","toNumber","fromNumber","stringsLength","n$1","currentValue","setCallback","passThrough","setInstanceProgress","engineTime","insDuration","insDelay","insEndDelay","reversePlayback","i$1","syncInstanceChildren","began","loopBegan","changeBegan","changeCompleted","remaining","completed","pause","play","reverse","restart","remove","removeTargetsFromInstance","removeTargetsFromAnimations","targetsArray","childAnimations","running","convertPx","percent","setDashoffset","pathLength","stagger","grid","axis","fromIndex","fromFirst","fromCenter","fromLast","isRange","val1","val2","maxValue","fromX","fromY","floor","distanceX","distanceY","timeline","tl","add","instanceParams","tlIndex","ins","insParams","tlDuration","StyledLoader","isMounted","Loader","setIsMounted","strokeDashoffset","zIndex","bodyAttributes","class","useOnClickOutside","handler","listener","event","contains","removeEventListener","useScrollDirection","initialDirection","thresholdPixels","scrollDir","setScrollDir","threshold","lastScrollY","pageYOffset","ticking","updateScrollDir","scrollY","onScroll","StyledHeader","header","scrollDirection","scrolledToTop","StyledNav","nav","StyledLinks","Nav","setScrolledToTop","handleScroll","fadeClass","fadeDownClass","TransitionGroup","component","CSSTransition","classNames","tabIndex","aria-label","StyledMenu","StyledHamburgerButton","menuOpen","StyledSidebar","aside","Menu","menuFocusables","firstFocusableEl","lastFocusableEl","setMenuOpen","buttonRef","useRef","navRef","onKeyDown","preventDefault","shiftKey","activeElement","handleBackwardTab","handleForwardTab","onResize","currentTarget","innerWidth","wrapperRef","onClick","aria-hidden","StyledSideElement","orientation","Side","StyledSocialList","ul","Social","StyledLinkWrapper","Email","StyledFooter","footer","StyledSocialLinks","StyledCredit","Footer","stars","forks","githubInfo","setGitHubInfo","fetch","response","json","stargazers_count","forks_count","console","tabindex","toLocaleString","StyledHeroSection","section","Hero","items","align","StyledAboutSection","StyledText","StyledPic","About","data","revealContainer","sr","reveal","skills","skill","avatar","childImageSharp","StyledJobsSection","StyledTabList","StyledTabButton","isActive","StyledHighlight","activeTabId","StyledTabContent","Jobs","jobsData","jobs","edges","setActiveTabId","tabFocus","setTabFocus","tabs","role","ARROW_UP","ARROW_DOWN","company","frontmatter","aria-selected","aria-controls","html","range","in","aria-labelledby","StyledProject","Featured","featuredProjects","featured","filter","revealTitle","revealProjects","external","tech","github","cover","StyledProjectsSection","Projects","showMore","revealArchiveLink","projects","firstSix","projectsToShow","exit","StyledContactSection","Contact","animationIterationCount","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","columns","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridRow","gridRowEnd","gridRowSpan","gridRowStart","gridColumn","gridColumnEnd","gridColumnSpan","gridColumnStart","msGridRow","msGridRowSpan","msGridColumn","msGridColumnSpan","fontWeight","lineHeight","order","orphans","tabSize","widows","zoom","WebkitLineClamp","fillOpacity","floodOpacity","stopOpacity","strokeDasharray","strokeMiterlimit","strokeOpacity","strokeWidth","Element","closest","ownerDocument","parentElement","bubbles","cancelable","detail","createEvent","initCustomEvent","CustomEvent","Event","getTime","global","M","ignore","topOnEmptyHash","speedAsDuration","durationMax","durationMin","clip","customEasing","updateURL","popstate","emitEvents","I","charAt","InvalidCharacterError","F","scrollHeight","documentElement","offsetHeight","clientHeight","outline","scrollTo","H","anchor","toggle","dispatchEvent","O","cancelScroll","querySelector","offsetTop","L","offsetParent","innerHeight","S","history","pushState","smoothScroll","E","defaultPrevented","metaKey","ctrlKey","hostname","decodeURIComponent","replaceState","animateScroll","destroy","insertRule","toSheet","block","context","selectors","parents","column","ns","depth","at","delimiter","factory","getChildMapping","mapFn","mapper","getProp","getNextChildMapping","prevChildMapping","onExited","nextChildMapping","getValueForKey","nextKeysPending","pendingKeys","prevKey","childMapping","nextKey","pendingNextKey","mergeChildMappings","hasPrev","hasNext","prevChild","isLeaving","enter","handleExited","_assertThisInitialized","contextValue","isMounting","firstRender","getDerivedStateFromProps","appear","currentChildMapping","_this$props","childFactory","TransitionGroupContext","Provider","areInputsEqual","newInputs","lastInputs","resultFn","isEqual","lastThis","lastResult","lastArgs","calledOnce","newArgs","$","N","W","D","J","Q","T","U","V","Z","be","pe","ke","ge","Ae","Ce","we","ve","me","xe","$e","ye","Oe","qe","Be","De","Ee","Ge","He","R","je","ze","Je","Re","Te","Ue","Ve","Xe","Ye","trim","Qe","Pe","Ie","Me","Le","Ke","use","hasElementType","hasMap","hasSet","Set","hasArrayBuffer","ArrayBuffer","isView","equal","it","size","flags","valueOf","$$typeof","warn","IconAppStore","xmlns","xmlSpace","IconCodepen","IconExternal","IconFolder","IconFork","fillRule","Icon","IconGitHub","IconInstagram","cx","cy","IconLinkedin","IconLoader","stroke","text-anchor","font-family","font-size","stroke-width","fill","strokeLinecap","strokeLinejoin","IconLocation","IconLogo","IconPlayStore","IconStar","IconTwitter","IconZap","enableBackground","Node","nodeName","prototypeToString","query","matrix","identity","RangeError","multiply","fm","fx","product","row","parse","rotateZ","angle","theta","scalar","scalarY","clock","polyfill","webkitRequestAnimationFrame","mozRequestAnimationFrame","defaults","interval","cleanup","container","desktop","afterReset","afterReveal","beforeReset","beforeReveal","mount","success","classList","failure","clean","sync","isObject","each","collection","logger","details","debug","report","log","rinse","this$1","elementIds","active","stale","sequenceIds","containerIds","store","elements","staleId","containerId","sequence","containers","delegate","sequences","dirty","callbackTimer","inline","generated","removeAttribute","getPrefixedCssProp","getPrefixedCssProperty","clearCache","computed","config","inlineMatch","computedOpacity","configOpacity","transformations","fontSize","translateY","translateX","rotateY","initial","final","fragments","delayed","instant","composed","composition","fragment","animate","force","pristine","seen","visible","revealed","shouldReset","triggerReveal","triggerReset","registerCallbacks","isDelayed","beforeCallback","afterCallback","uid","nextUniqueId","seq","SequenceModel","models","nextId","members","nextElement","cue","blocked","head","shift","foot","Sequence","initialize","initTimeout","isMobile","agent","navigator","userAgent","deepAssign","sources","options","syncing","sequence$$1","containerBuffer","nodes","elementBuffer","elementNode","existingId","containerNode","collections","getContainerId","record","mathSign","sign","getGeometry","isContainer","clientWidth","offsetLeft","bounds","getScrolled","pageXOffset","scrollTop","scrollLeft","isElementVisible","elementBounds","geometry","containerBounds","scroll","boundDelegate","boundDestroy","boundReveal","boundClean","boundSync","ScrollReveal","buffer","isSupported","isTransformSupported","isTransitionSupported","replaceClassName","origClass","classToRemove","Transition","initialStatus","appearStatus","unmountOnExit","mountOnEnter","status","nextCallback","prevState","updateStatus","prevProps","nextStatus","cancelNextCallback","getTimeouts","mounting","performEnter","performExit","appearing","nodeRef","findDOMNode","maybeNode","maybeAppearing","timeouts","enterTimeout","safeSetState","onEntered","onEnter","onEntering","onTransitionEnd","onExit","onExiting","cancel","setNextCallback","_this4","doesNotHaveTimeoutOrListener","addEndListener","maybeNextCallback","childProps","only","contextType","UNMOUNTED","EXITED","ENTERING","ENTERED","EXITING","classes","baseVal","appliedClasses","_this$resolveArgument","resolveArguments","removeClasses","addClass","_this$resolveArgument2","_this$resolveArgument3","getClassNames","isStringClassNames","baseClassName","activeClassName","doneClassName","phase","hasClass","_addClass","_this$appliedClasses$","for","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","ForwardRef","Lazy","Memo","Portal","Profiler","StrictMode","Suspense","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isValidElementType","typeOf","_class","_temp","ATTRIBUTE_NAMES","TAG_NAMES","BASE","BODY","HEAD","HTML","LINK","META","NOSCRIPT","SCRIPT","STYLE","TITLE","TAG_PROPERTIES","REACT_TAG_MAP","accesskey","charset","contenteditable","contextmenu","itemprop","HELMET_PROPS","HTML_TAG_MAP","SELF_CLOSING_TAGS","_typeof","classCallCheck","createClass","objectWithoutProperties","possibleConstructorReturn","encodeSpecialCharacters","encode","getTitleFromPropsList","propsList","innermostTitle","getInnermostProperty","innermostTemplate","innermostDefaultTitle","getOnChangeClientState","getAttributesFromPropsList","tagType","tagAttrs","getBaseTagFromPropsList","primaryAttributes","innermostBaseTag","lowerCaseAttributeKey","getTagsFromPropsList","approvedSeenTags","approvedTags","instanceTags","instanceSeenTags","primaryAttributeKey","attributeKey","tagUnion","rafPolyfill","cafPolyfill","webkitCancelAnimationFrame","mozCancelAnimationFrame","msg","_helmetCallback","commitTagChanges","newState","baseTag","htmlAttributes","linkTags","metaTags","noscriptTags","onChangeClientState","scriptTags","styleTags","titleAttributes","updateAttributes","updateTitle","tagUpdates","updateTags","addedTags","removedTags","_tagUpdates$tagType","newTags","oldTags","possibleArray","attributes","elementTag","getElementsByTagName","helmetAttributeString","helmetAttributes","attributesToRemove","attributeKeys","indexToSave","tags","headElement","tagNodes","indexToDelete","newElement","innerHTML","styleSheet","cssText","createTextNode","existingTag","isEqualNode","generateElementAttributesAsString","attr","convertElementAttributestoReactProps","initProps","getMethodsForTag","toComponent","_initProps","attributeString","flattenedTitle","generateTitleAsString","_mappedTag","mappedTag","mappedAttribute","generateTagsAsReactComponent","attributeHtml","tagContent","isSelfClosing","generateTagsAsString","_ref$title","meta","noscript","script","HelmetSideEffects","defer","HelmetExport","HelmetWrapper","inherits","shouldComponentUpdate","mapNestedChildrenToProps","nestedChildren","flattenArrayTypeChildren","_babelHelpers$extends","arrayTypeChildren","newChildProps","mapObjectTypeChildren","_babelHelpers$extends2","_babelHelpers$extends3","newProps","mapArrayTypeChildrenToProps","newFlattenedProps","arrayChildName","_babelHelpers$extends4","warnOnInvalidChildren","mapChildrenToProps","_child$props","initAttributes","convertReactPropstoHtmlAttributes","mappedState","renderStatic","interleave","interpolations","EMPTY_ARRAY","freeze","EMPTY_OBJECT","isFunction","getComponentName","isStyledComponent","styledComponentId","SC_ATTR","REACT_APP_SC_ATTR","IS_BROWSER","DISABLE_SPEEDY","SC_DISABLE_SPEEDY","REACT_APP_SC_DISABLE_SPEEDY","STATIC_EXECUTION_CONTEXT","StyledComponentsError","_Error","code","SC_COMPONENT_ID","extractComps","maybeCSS","existingComponents","componentId","matchIndex","nextComp","cssFromDOM","COMMENT_REGEX","stylisSplitter","cascade","keyframe","prefix","compress","semicolon","stylis","parsingRules","returnRulesPlugin","parsedRules","parseRulesPlugin","rule","_componentId","_selector","_selectorRegexp","selfReferenceReplacer","_","lastIndexOf","splitByRules","stringifyRules","rules","selector","flatCSS","cssStr","getNonce","addNameForId","names","resetIdNames","hasNameForId","stringifyNames","sheetForTag","sheet","styleSheets","ownerNode","safeInsertRule","cssRule","maxIndex","cssRules","makeTextMarker","addUpUntilIndex","totalUpToIndex","wrapAsHtmlTag","additionalAttrs","nonce","SC_VERSION_ATTR","Boolean","wrapAsElement","getIdsFromMarkersFactory","markers","makeTextNode","targetDocument","makeServerTag","namesArg","markersArg","insertMarker","cssForId","namesClone","cloneNames","markersClone","getIds","insertRules","removeRules","sealed","styleTag","toElement","toHTML","makeTag","tagEl","forceServer","insertBefore","getImportRuleTag","nextSibling","makeStyleTag","extractImport","usedImportRuleTag","importRules","cssRulesSize","mayHaveImport","separator","appendData","newMarker","replaceChild","makeBrowserTag","insertIndex","injectedRules","isConnected","removalIndex","lowerBound","deleteRule","deleteRules","makeSpeedyTag","SPLIT_REGEX","MAX_SIZE","sheetRunningId","master","StyleSheet","importRuleTag","firstTag","tagMap","deferred","rehydratedNames","ignoreRehydratedNames","capacity","clones","rehydrate","els","extracted","isStreamed","nodesSize","elNames","elNamesSize","textContent","extractedSize","_extracted$i","_j","ids","newTag","sealAllTags","lastEl","getTagForId","hasId","deferredInject","inject","toReactElements","Keyframes","getName","uppercasePattern","msPattern","hyphenateStyleName","isFalsish","chunk","objToCssArray","flatten","executionContext","ruleSet","isReactComponent","murmurhash","getAlphabeticChar","fromCharCode","generateAlphabeticName","isStaticRules","attrs","hasFunctionObjectKey","_TYPE_STATICS","hasher","ComponentStyle","isStatic","generateAndInjectStyles","lastClassName","generateName","determineTheme","fallbackTheme","isDefaultTheme","escapeRegex","dashesAtEnds","escape","isTag","REACT_STATICS","childContextTypes","contextTypes","KNOWN_STATICS","caller","callee","arity","TYPE_STATICS","defineProperty$1","_Object$getOwnPropert","getOwnPropertyDescriptor","objectPrototype","arrayPrototype","hoistNonReactStatics","targetComponent","sourceComponent","blacklist","inheritedComponent","targetStatics","sourceStatics","ThemeContext","ThemeConsumer","Consumer","ThemeProvider","getContext","renderInner","outerTheme","getTheme","StyleSheetContext","ServerStyleSheet","masterSheet","seal","collectStyles","StyleSheetManager","getStyleTags","getStyleElement","interleaveWithNodeStream","readableStream","StyleSheetConsumer","identifiers","StyledComponent","renderOuter","forwardedComponent","componentStyle","_props$forwardedCompo","foldedComponentIds","generatedClassName","elementToBeCreated","as","isTargetTag","propsForElement","computedProps","buildExecutionContext","attrDef","resolvedAttrDef","attrDefWasFn","_props$forwardedCompo2","warnTooManyClasses","createStyledComponent","isTargetStyledComp","isClass","_options$displayName","generateDisplayName","_options$componentId","_ComponentStyle","_displayName","parentComponentId","nr","generateId","_options$ParentCompon","ParentComponent","_options$attrs","finalAttrs","WrappedStyledComponent","forwardedRef","withComponent","previousComponentId","optionsToCopy","newComponentId","_foldedDefaultProps","constructWithOptions","componentConstructor","templateFunction","withConfig","domElement","createStyles","removeStyles","renderStyles","GlobalStyleComponent","_this$constructor","globalStyle","scCGSHMRCache","Function","_objectWithoutPropertiesLoose","excluded","sourceKeys"],"mappings":";6FAAA,yBACe,QAAMA,cAAc,O,uBCDnCC,EAAOC,QAAU,IAA0B,sE,qBCA3CD,EAAOC,QAAU,CACfC,MAAO,2BAEPC,YAAa,CACX,CACEC,KAAM,SACNC,IAAK,iCAEP,CACED,KAAM,WACNC,IAAK,6CAEP,CACED,KAAM,WACNC,IAAK,0CAEP,CACED,KAAM,YACNC,IAAK,6CAKTC,SAAU,CACR,CACEF,KAAM,QACNC,IAAK,WAEP,CACED,KAAM,aACNC,IAAK,UAEP,CACED,KAAM,OACNC,IAAK,cAEP,CACED,KAAM,UACNC,IAAK,cAITE,OAAQ,CACNC,MAAO,UACPC,KAAM,UACNC,SAAU,WAGZC,SAAU,SAACC,EAAaC,GAAd,gBAACD,MAAQ,UAAT,IAAcC,MAAa,KAAU,CAC7CC,OAAQ,SACRC,SAAU,OACVC,SAAU,IACVJ,QACAK,OAAQ,CAAEC,EAAG,EAAGC,EAAG,EAAGC,EAAG,GACzBC,QAAS,EACTC,MAAO,EACPC,OAAQ,uCACRC,QAAQ,EACRC,OAAO,EACPC,SAAU,SACVb,aACAc,WAAY,CAAEC,IAAK,EAAGC,MAAO,EAAGC,OAAQ,EAAGC,KAAM,O,uBC7DrD/B,EAAOC,QAAU,IAA0B,gE,uBC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AUkC,GAEvB,IAAK,IAAI9D,KAAOgE,EACV9D,OAAO2B,UAAUoC,eAAeV,KAAKS,EAAQhE,KAC/C6D,EAAO7D,GAAOgE,EAAOhE,IAK3B,OAAO6D,IAGOnC,MAAMC,KAAMC,WAf9B,mC,mBCAA,IAAIuwB,EAGJA,EAAI,WACH,OAAOxwB,KADJ,GAIJ,IAECwwB,EAAIA,GAAK,IAAIyyC,SAAS,cAAb,GACR,MAAOh1D,GAEc,iBAAXpP,SAAqB2xB,EAAI3xB,QAOrC1D,EAAOC,QAAUo1B,G,kCCnBF,SAAS0yC,EAA8B7gE,EAAQ8gE,GAC5D,GAAc,MAAV9gE,EAAgB,MAAO,GAC3B,IAEIhE,EAAK8D,EAFLD,EAAS,GACTkhE,EAAa7kE,OAAO4T,KAAK9P,GAG7B,IAAKF,EAAI,EAAGA,EAAIihE,EAAWhhE,OAAQD,IACjC9D,EAAM+kE,EAAWjhE,GACbghE,EAASniE,QAAQ3C,IAAQ,IAC7B6D,EAAO7D,GAAOgE,EAAOhE,IAGvB,OAAO6D,EAZT","file":"546641dfde76ed00139ea2c3eae09499c5f2164a-4324fee803245d4dd024.js","sourcesContent":["import React from 'react';\nexport default React.createContext(null);","module.exports = __webpack_public_path__ + \"static/SFMono-SemiboldItalic-41da0311eaa7077546785a822a6ba21a.woff\";","module.exports = {\r\n email: '[email protected]',\r\n\r\n socialMedia: [\r\n {\r\n name: 'GitHub',\r\n url: 'https://github.com/pradyot-09',\r\n },\r\n {\r\n name: 'Linkedin',\r\n url: 'https://www.linkedin.com/in/pradyotpatil/',\r\n },\r\n {\r\n name: 'Facebook',\r\n url: 'https://www.facebook.com/pradyotpatil/',\r\n },\r\n {\r\n name: 'Instagram',\r\n url: 'https://www.instagram.com/itzpradyot_09/',\r\n },\r\n \r\n ],\r\n\r\n navLinks: [\r\n {\r\n name: 'About',\r\n url: '/#about',\r\n },\r\n {\r\n name: 'Experience',\r\n url: '/#jobs',\r\n },\r\n {\r\n name: 'Work',\r\n url: '/#projects',\r\n },\r\n {\r\n name: 'Contact',\r\n url: '/#contact',\r\n },\r\n ],\r\n\r\n colors: {\r\n green: '#64ffda',\r\n navy: '#0a192f',\r\n darkNavy: '#020c1b',\r\n },\r\n\r\n srConfig: (delay = 200, viewFactor = 0.25) => ({\r\n origin: 'bottom',\r\n distance: '20px',\r\n duration: 500,\r\n delay,\r\n rotate: { x: 0, y: 0, z: 0 },\r\n opacity: 0,\r\n scale: 1,\r\n easing: 'cubic-bezier(0.645, 0.045, 0.355, 1)',\r\n mobile: true,\r\n reset: false,\r\n useDelay: 'always',\r\n viewFactor,\r\n viewOffset: { top: 0, right: 0, bottom: 0, left: 0 },\r\n }),\r\n};\r\n","module.exports = __webpack_public_path__ + \"static/Calibre-Medium-46b36969c7bb1d7ed4c8253e8f274788.woff2\";","module.exports = __webpack_public_path__ + \"static/Calibre-RegularItalic-3a445970c7bcd6b102ac6bd60178b0bc.woff\";","export const hex2rgba = (hex, alpha = 1) => {\r\n const [r, g, b] = hex.match(/\\w\\w/g).map(x => parseInt(x, 16));\r\n return `rgba(${r},${g},${b},${alpha})`;\r\n};\r\n\r\nexport const navDelay = 1000;\r\nexport const loaderDelay = 2000;\r\n\r\nexport const KEY_CODES = {\r\n ARROW_LEFT: 'ArrowLeft',\r\n ARROW_LEFT_IE11: 'Left',\r\n ARROW_RIGHT: 'ArrowRight',\r\n ARROW_RIGHT_IE11: 'Right',\r\n ESCAPE: 'Escape',\r\n ESCAPE_IE11: 'Esc',\r\n TAB: 'Tab',\r\n SPACE: ' ',\r\n SPACE_IE11: 'Spacebar',\r\n ENTER: 'Enter',\r\n};\r\n","'use strict';\n\nfunction _interopDefault(ex) {\n return ex && typeof ex === 'object' && 'default' in ex ? ex['default'] : ex;\n}\n\nvar React = require('react');\n\nvar React__default = _interopDefault(React);\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n}\n\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\nfunction withSideEffect(reducePropsToState, handleStateChangeOnClient, mapStateOnServer) {\n if (typeof reducePropsToState !== 'function') {\n throw new Error('Expected reducePropsToState to be a function.');\n }\n\n if (typeof handleStateChangeOnClient !== 'function') {\n throw new Error('Expected handleStateChangeOnClient to be a function.');\n }\n\n if (typeof mapStateOnServer !== 'undefined' && typeof mapStateOnServer !== 'function') {\n throw new Error('Expected mapStateOnServer to either be undefined or a function.');\n }\n\n function getDisplayName(WrappedComponent) {\n return WrappedComponent.displayName || WrappedComponent.name || 'Component';\n }\n\n return function wrap(WrappedComponent) {\n if (typeof WrappedComponent !== 'function') {\n throw new Error('Expected WrappedComponent to be a React component.');\n }\n\n var mountedInstances = [];\n var state;\n\n function emitChange() {\n state = reducePropsToState(mountedInstances.map(function (instance) {\n return instance.props;\n }));\n\n if (SideEffect.canUseDOM) {\n handleStateChangeOnClient(state);\n } else if (mapStateOnServer) {\n state = mapStateOnServer(state);\n }\n }\n\n var SideEffect = /*#__PURE__*/function (_PureComponent) {\n _inheritsLoose(SideEffect, _PureComponent);\n\n function SideEffect() {\n return _PureComponent.apply(this, arguments) || this;\n } // Try to use displayName of wrapped component\n // Expose canUseDOM so tests can monkeypatch it\n\n\n SideEffect.peek = function peek() {\n return state;\n };\n\n SideEffect.rewind = function rewind() {\n if (SideEffect.canUseDOM) {\n throw new Error('You may only call rewind() on the server. Call peek() to read the current state.');\n }\n\n var recordedState = state;\n state = undefined;\n mountedInstances = [];\n return recordedState;\n };\n\n var _proto = SideEffect.prototype;\n\n _proto.UNSAFE_componentWillMount = function UNSAFE_componentWillMount() {\n mountedInstances.push(this);\n emitChange();\n };\n\n _proto.componentDidUpdate = function componentDidUpdate() {\n emitChange();\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n var index = mountedInstances.indexOf(this);\n mountedInstances.splice(index, 1);\n emitChange();\n };\n\n _proto.render = function render() {\n return React__default.createElement(WrappedComponent, this.props);\n };\n\n return SideEffect;\n }(React.PureComponent);\n\n _defineProperty(SideEffect, \"displayName\", \"SideEffect(\" + getDisplayName(WrappedComponent) + \")\");\n\n _defineProperty(SideEffect, \"canUseDOM\", canUseDOM);\n\n return SideEffect;\n };\n}\n\nmodule.exports = withSideEffect;","module.exports =\n/******/\nfunction (modules) {\n // webpackBootstrap\n\n /******/\n // The module cache\n\n /******/\n var installedModules = {};\n /******/\n // The require function\n\n /******/\n\n function __webpack_require__(moduleId) {\n /******/\n // Check if module is in cache\n\n /******/\n if (installedModules[moduleId])\n /******/\n return installedModules[moduleId].exports;\n /******/\n // Create a new module (and put it into the cache)\n\n /******/\n\n var module = installedModules[moduleId] = {\n /******/\n exports: {},\n\n /******/\n id: moduleId,\n\n /******/\n loaded: false\n /******/\n\n };\n /******/\n // Execute the module function\n\n /******/\n\n modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n /******/\n // Flag the module as loaded\n\n /******/\n\n module.loaded = true;\n /******/\n // Return the exports of the module\n\n /******/\n\n return module.exports;\n /******/\n }\n /******/\n // expose the modules object (__webpack_modules__)\n\n /******/\n\n\n __webpack_require__.m = modules;\n /******/\n // expose the module cache\n\n /******/\n\n __webpack_require__.c = installedModules;\n /******/\n // __webpack_public_path__\n\n /******/\n\n __webpack_require__.p = \"\";\n /******/\n // Load entry module and return exports\n\n /******/\n\n return __webpack_require__(0);\n /******/\n}(\n/************************************************************************/\n\n/******/\n[\n/* 0 */\n\n/***/\nfunction (module, exports, __webpack_require__) {\n 'use strict';\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n\n var _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n var _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n }();\n\n var _react = __webpack_require__(1);\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes = __webpack_require__(2);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n var _Cursor = __webpack_require__(10);\n\n var _Cursor2 = _interopRequireDefault(_Cursor);\n\n var _Backspace = __webpack_require__(12);\n\n var _Backspace2 = _interopRequireDefault(_Backspace);\n\n var _Delay = __webpack_require__(13);\n\n var _Delay2 = _interopRequireDefault(_Delay);\n\n var _utils = __webpack_require__(14);\n\n var utils = _interopRequireWildcard(_utils);\n\n function _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n\n newObj.default = obj;\n return newObj;\n }\n }\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n\n function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n }\n\n function _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n }\n\n function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n }\n\n var ACTION_CHARS = ['🔙', '⏰'];\n\n var Typist = function (_Component) {\n _inherits(Typist, _Component);\n\n function Typist(props) {\n _classCallCheck(this, Typist);\n\n var _this = _possibleConstructorReturn(this, (Typist.__proto__ || Object.getPrototypeOf(Typist)).call(this, props));\n\n _this.state = {\n textLines: [],\n isDone: false\n };\n\n _this.onTypingDone = function () {\n if (!_this.mounted) {\n return;\n }\n\n _this.setState({\n isDone: true\n });\n\n _this.props.onTypingDone();\n };\n\n _this.delayGenerator = function (line, lineIdx, character, charIdx) {\n var mean = _this.props.avgTypingDelay;\n var std = _this.props.stdTypingDelay;\n return _this.props.delayGenerator(mean, std, {\n line: line,\n lineIdx: lineIdx,\n character: character,\n charIdx: charIdx,\n defDelayGenerator: function defDelayGenerator() {\n var mn = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : mean;\n var st = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : std;\n return utils.gaussianRnd(mn, st);\n }\n });\n };\n\n _this.typeLine = function (line, lineIdx) {\n if (!_this.mounted) {\n return Promise.resolve();\n }\n\n var decoratedLine = line;\n var onLineTyped = _this.props.onLineTyped;\n\n if (utils.isBackspaceElement(line)) {\n if (line.props.delay > 0) {\n _this.introducedDelay = line.props.delay;\n }\n\n decoratedLine = String('🔙').repeat(line.props.count);\n } else if (utils.isDelayElement(line)) {\n _this.introducedDelay = line.props.ms;\n decoratedLine = '⏰';\n }\n\n return new Promise(function (resolve, reject) {\n _this.setState({\n textLines: _this.state.textLines.concat([''])\n }, function () {\n utils.eachPromise(decoratedLine, _this.typeCharacter, decoratedLine, lineIdx).then(function () {\n return onLineTyped(decoratedLine, lineIdx);\n }).then(resolve).catch(reject);\n });\n });\n };\n\n _this.typeCharacter = function (character, charIdx, line, lineIdx) {\n if (!_this.mounted) {\n return Promise.resolve();\n }\n\n var onCharacterTyped = _this.props.onCharacterTyped;\n return new Promise(function (resolve) {\n var textLines = _this.state.textLines.slice();\n\n utils.sleep(_this.introducedDelay).then(function () {\n _this.introducedDelay = null;\n var isBackspace = character === '🔙';\n var isDelay = character === '⏰';\n\n if (isDelay) {\n resolve();\n return;\n }\n\n if (isBackspace && lineIdx > 0) {\n var prevLineIdx = lineIdx - 1;\n var prevLine = textLines[prevLineIdx];\n\n for (var idx = prevLineIdx; idx >= 0; idx--) {\n if (prevLine.length > 0 && !ACTION_CHARS.includes(prevLine[0])) {\n break;\n }\n\n prevLineIdx = idx;\n prevLine = textLines[prevLineIdx];\n }\n\n textLines[prevLineIdx] = prevLine.substr(0, prevLine.length - 1);\n } else {\n textLines[lineIdx] += character;\n }\n\n _this.setState({\n textLines: textLines\n }, function () {\n var delay = _this.delayGenerator(line, lineIdx, character, charIdx);\n\n onCharacterTyped(character, charIdx);\n setTimeout(resolve, delay);\n });\n });\n });\n };\n\n _this.mounted = false;\n _this.linesToType = [];\n _this.introducedDelay = null;\n\n if (props.children) {\n _this.linesToType = utils.extractTextFromElement(props.children);\n }\n\n return _this;\n }\n\n _createClass(Typist, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n this.mounted = true;\n var _props = this.props,\n children = _props.children,\n startDelay = _props.startDelay;\n\n if (children) {\n if (startDelay > 0 && typeof window !== 'undefined') {\n setTimeout(this.typeAllLines.bind(this), startDelay);\n } else {\n this.typeAllLines();\n }\n } else {\n this.onTypingDone();\n }\n }\n }, {\n key: 'shouldComponentUpdate',\n value: function shouldComponentUpdate(nextProps, nextState) {\n if (nextState.textLines.length !== this.state.textLines.length) {\n return true;\n }\n\n for (var idx = 0; idx < nextState.textLines.length; idx++) {\n var line = this.state.textLines[idx];\n var nextLine = nextState.textLines[idx];\n\n if (line !== nextLine) {\n return true;\n }\n }\n\n return this.state.isDone !== nextState.isDone;\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n this.mounted = false;\n }\n }, {\n key: 'typeAllLines',\n value: function typeAllLines() {\n var _this2 = this;\n\n var lines = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.linesToType;\n return utils.eachPromise(lines, this.typeLine).then(function () {\n return _this2.onTypingDone();\n });\n }\n }, {\n key: 'render',\n value: function render() {\n var _props2 = this.props,\n className = _props2.className,\n cursor = _props2.cursor;\n var isDone = this.state.isDone;\n var innerTree = utils.cloneElementWithSpecifiedText({\n element: this.props.children,\n textLines: this.state.textLines\n });\n return _react2.default.createElement('div', {\n className: 'Typist ' + className\n }, innerTree, _react2.default.createElement(_Cursor2.default, _extends({\n isDone: isDone\n }, cursor)));\n }\n }]);\n\n return Typist;\n }(_react.Component);\n\n Typist.propTypes = {\n children: _propTypes2.default.node,\n className: _propTypes2.default.string,\n avgTypingDelay: _propTypes2.default.number,\n stdTypingDelay: _propTypes2.default.number,\n startDelay: _propTypes2.default.number,\n cursor: _propTypes2.default.object,\n onCharacterTyped: _propTypes2.default.func,\n onLineTyped: _propTypes2.default.func,\n onTypingDone: _propTypes2.default.func,\n delayGenerator: _propTypes2.default.func\n };\n Typist.defaultProps = {\n className: '',\n avgTypingDelay: 70,\n stdTypingDelay: 25,\n startDelay: 0,\n cursor: {},\n onCharacterTyped: function onCharacterTyped() {},\n onLineTyped: function onLineTyped() {},\n onTypingDone: function onTypingDone() {},\n delayGenerator: utils.gaussianRnd\n };\n exports.default = Typist;\n Typist.Backspace = _Backspace2.default;\n Typist.Delay = _Delay2.default;\n /***/\n},\n/* 1 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"react\");\n /***/\n},\n/* 2 */\n\n/***/\nfunction (module, exports, __webpack_require__) {\n /**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n if (process.env.NODE_ENV !== 'production') {\n var REACT_ELEMENT_TYPE = typeof Symbol === 'function' && Symbol.for && Symbol.for('react.element') || 0xeac7;\n\n var isValidElement = function isValidElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n }; // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n\n\n var throwOnDirectAccess = true;\n module.exports = __webpack_require__(3)(isValidElement, throwOnDirectAccess);\n } else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = __webpack_require__(9)();\n }\n /***/\n\n},\n/* 3 */\n\n/***/\nfunction (module, exports, __webpack_require__) {\n /**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n 'use strict';\n\n var emptyFunction = __webpack_require__(4);\n\n var invariant = __webpack_require__(5);\n\n var warning = __webpack_require__(6);\n\n var ReactPropTypesSecret = __webpack_require__(7);\n\n var checkPropTypes = __webpack_require__(8);\n\n module.exports = function (isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n\n var ANONYMOUS = '<<anonymous>>'; // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker\n };\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n\n /*eslint-disable no-self-compare*/\n\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n\n\n function PropTypeError(message) {\n this.message = message;\n this.stack = '';\n } // Make `instanceof Error` still work for returned errors.\n\n\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (process.env.NODE_ENV !== 'production') {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\n invariant(false, '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 } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n\n if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3) {\n warning(false, 'You are manually calling a React.PropTypes validation ' + 'function for the `%s` prop on `%s`. This is deprecated ' + 'and will throw in the standalone `prop-types` package. ' + 'You may be seeing this warning due to a third-party PropTypes ' + 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.', propFullName, componentName);\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));\n }\n\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunction.thatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n\n var propValue = props[propName];\n\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n\n if (error instanceof Error) {\n return error;\n }\n }\n\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid argument supplied to oneOf, expected an instance of array.') : void 0;\n return emptyFunction.thatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + propValue + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n\n var propValue = props[propName];\n var propType = getPropType(propValue);\n\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n\n for (var key in propValue) {\n if (propValue.hasOwnProperty(key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n\n if (error instanceof Error) {\n return error;\n }\n }\n }\n\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunction.thatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n\n if (typeof checker !== 'function') {\n warning(false, 'Invalid argument supplid to oneOfType. Expected an array of check functions, but ' + 'received %s at index %s.', getPostfixForTypeWarning(checker), i);\n return emptyFunction.thatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n\n if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {\n return null;\n }\n }\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n\n if (!checker) {\n continue;\n }\n\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n\n if (error) {\n return error;\n }\n }\n\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n\n case 'boolean':\n return !propValue;\n\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n } // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n\n\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n } // Fallback for non-spec compliant Symbols which are polyfilled.\n\n\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n } // Equivalent of `typeof` but with special handling for array and regexp.\n\n\n function getPropType(propValue) {\n var propType = typeof propValue;\n\n if (Array.isArray(propValue)) {\n return 'array';\n }\n\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n\n return propType;\n } // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n\n\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n\n var propType = getPropType(propValue);\n\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n\n return propType;\n } // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n\n\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n\n default:\n return type;\n }\n } // Returns class name of the object, if any.\n\n\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.PropTypes = ReactPropTypes;\n return ReactPropTypes;\n };\n /***/\n\n},\n/* 4 */\n\n/***/\nfunction (module, exports) {\n \"use strict\";\n /**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n function makeEmptyFunction(arg) {\n return function () {\n return arg;\n };\n }\n /**\n * This function accepts and discards inputs; it has no side effects. This is\n * primarily useful idiomatically for overridable function endpoints which\n * always need to be callable, since JS lacks a null-call idiom ala Cocoa.\n */\n\n\n var emptyFunction = function emptyFunction() {};\n\n emptyFunction.thatReturns = makeEmptyFunction;\n emptyFunction.thatReturnsFalse = makeEmptyFunction(false);\n emptyFunction.thatReturnsTrue = makeEmptyFunction(true);\n emptyFunction.thatReturnsNull = makeEmptyFunction(null);\n\n emptyFunction.thatReturnsThis = function () {\n return this;\n };\n\n emptyFunction.thatReturnsArgument = function (arg) {\n return arg;\n };\n\n module.exports = emptyFunction;\n /***/\n},\n/* 5 */\n\n/***/\nfunction (module, exports) {\n /**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n 'use strict';\n /**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\n var validateFormat = function validateFormat(format) {};\n\n if (process.env.NODE_ENV !== 'production') {\n validateFormat = function validateFormat(format) {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n };\n }\n\n function invariant(condition, format, a, b, c, d, e, f) {\n validateFormat(format);\n\n if (!condition) {\n var error;\n\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(format.replace(/%s/g, function () {\n return args[argIndex++];\n }));\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n\n throw error;\n }\n }\n\n module.exports = invariant;\n /***/\n},\n/* 6 */\n\n/***/\nfunction (module, exports, __webpack_require__) {\n /**\n * Copyright 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n 'use strict';\n\n var emptyFunction = __webpack_require__(4);\n /**\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\n\n\n var warning = emptyFunction;\n\n if (process.env.NODE_ENV !== 'production') {\n (function () {\n var printWarning = function printWarning(format) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var argIndex = 0;\n var message = 'Warning: ' + format.replace(/%s/g, function () {\n return args[argIndex++];\n });\n\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n\n warning = function warning(condition, format) {\n if (format === undefined) {\n throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');\n }\n\n if (format.indexOf('Failed Composite propType: ') === 0) {\n return; // Ignore CompositeComponent proptype check.\n }\n\n if (!condition) {\n for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n args[_key2 - 2] = arguments[_key2];\n }\n\n printWarning.apply(undefined, [format].concat(args));\n }\n };\n })();\n }\n\n module.exports = warning;\n /***/\n},\n/* 7 */\n\n/***/\nfunction (module, exports) {\n /**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n 'use strict';\n\n var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n module.exports = ReactPropTypesSecret;\n /***/\n},\n/* 8 */\n\n/***/\nfunction (module, exports, __webpack_require__) {\n /**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n 'use strict';\n\n if (process.env.NODE_ENV !== 'production') {\n var invariant = __webpack_require__(5);\n\n var warning = __webpack_require__(6);\n\n var ReactPropTypesSecret = __webpack_require__(7);\n\n var loggedTypeFailures = {};\n }\n /**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\n\n\n function checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (typeSpecs.hasOwnProperty(typeSpecName)) {\n var error; // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n invariant(typeof typeSpecs[typeSpecName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'React.PropTypes.', componentName || 'React class', location, typeSpecName);\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n\n warning(!error || error instanceof Error, '%s: type specification of %s `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error);\n\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n var stack = getStack ? getStack() : '';\n warning(false, 'Failed %s type: %s%s', location, error.message, stack != null ? stack : '');\n }\n }\n }\n }\n }\n\n module.exports = checkPropTypes;\n /***/\n},\n/* 9 */\n\n/***/\nfunction (module, exports, __webpack_require__) {\n /**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n 'use strict';\n\n var emptyFunction = __webpack_require__(4);\n\n var invariant = __webpack_require__(5);\n\n var ReactPropTypesSecret = __webpack_require__(7);\n\n module.exports = function () {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n\n invariant(false, '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\n ;\n shim.isRequired = shim;\n\n function getShim() {\n return shim;\n }\n\n ; // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n\n var ReactPropTypes = {\n array: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n any: shim,\n arrayOf: getShim,\n element: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim\n };\n ReactPropTypes.checkPropTypes = emptyFunction;\n ReactPropTypes.PropTypes = ReactPropTypes;\n return ReactPropTypes;\n };\n /***/\n\n},\n/* 10 */\n\n/***/\nfunction (module, exports, __webpack_require__) {\n 'use strict';\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n\n var _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n }();\n\n var _react = __webpack_require__(1);\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes = __webpack_require__(2);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n __webpack_require__(11);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n\n function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n }\n\n function _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n }\n\n function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n }\n\n var Cursor = function (_Component) {\n _inherits(Cursor, _Component);\n\n function Cursor(props) {\n _classCallCheck(this, Cursor);\n\n var _this = _possibleConstructorReturn(this, (Cursor.__proto__ || Object.getPrototypeOf(Cursor)).call(this, props));\n\n _this._isReRenderingCursor = false;\n _this.state = {\n shouldRender: _this.props.show\n };\n return _this;\n }\n\n _createClass(Cursor, [{\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps(nextProps) {\n var _this2 = this;\n\n var shouldHide = !this.props.isDone && nextProps.isDone && this.props.hideWhenDone;\n\n if (shouldHide) {\n setTimeout(function () {\n return _this2.setState({\n shouldRender: false\n });\n }, this.props.hideWhenDoneDelay);\n }\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate() {\n var _props = this.props,\n show = _props.show,\n isDone = _props.isDone;\n\n if (!show) {\n return;\n }\n\n if (isDone) {\n return;\n }\n\n if (this._isReRenderingCursor) {\n return;\n } // In webkit and blink, rendering the cursor alongside the text as it\n // animates sometimes causes the text to stop rendering when it reaches\n // a new line break, even though the underlying DOM /does/ contain\n // the text. This seems to happen when the space available for the text is\n // at a specific width that makes it so the line break happens within a\n // word.\n // Using dev tools, when in this state, if you modify the dom or any style,\n // it immediately renders all of the text in its correct position.\n // Given that observation, this is a hackish solutions that re-renders the\n // cursor every time a character is rendered, just to ensure that the text\n // is rendered correctly.\n // See #13 and #15 for more details\n\n\n this._reRenderCursor();\n }\n }, {\n key: '_reRenderCursor',\n value: function _reRenderCursor() {\n var _this3 = this;\n\n this._isReRenderingCursor = true;\n this.setState({\n shouldRender: false\n }, function () {\n _this3.setState({\n shouldRender: true\n }, function () {\n _this3._isReRenderingCursor = false;\n });\n });\n }\n }, {\n key: 'render',\n value: function render() {\n if (this.state.shouldRender) {\n var className = this.props.blink ? ' Cursor--blinking' : '';\n return _react2.default.createElement('span', {\n className: 'Cursor' + className\n }, this.props.element);\n }\n\n return null;\n }\n }]);\n\n return Cursor;\n }(_react.Component);\n\n Cursor.propTypes = {\n blink: _propTypes2.default.bool,\n show: _propTypes2.default.bool,\n element: _propTypes2.default.node,\n hideWhenDone: _propTypes2.default.bool,\n hideWhenDoneDelay: _propTypes2.default.number,\n isDone: _propTypes2.default.bool\n };\n Cursor.defaultProps = {\n blink: true,\n show: true,\n element: '|',\n hideWhenDone: false,\n hideWhenDoneDelay: 1000,\n isDone: false\n };\n exports.default = Cursor;\n /***/\n},\n/* 11 */\n\n/***/\nfunction (module, exports) {// removed by extract-text-webpack-plugin\n\n /***/\n},\n/* 12 */\n\n/***/\nfunction (module, exports, __webpack_require__) {\n 'use strict';\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n\n var _react = __webpack_require__(1);\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes = __webpack_require__(2);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n\n var Backspace = function Backspace() {\n return _react2.default.createElement('noscript', null);\n };\n\n Backspace.componentName = 'Backspace';\n Backspace.propTypes = {\n count: _propTypes2.default.number,\n delay: _propTypes2.default.number\n };\n Backspace.defaultProps = {\n count: 1,\n delay: 0\n };\n exports.default = Backspace;\n /***/\n},\n/* 13 */\n\n/***/\nfunction (module, exports, __webpack_require__) {\n 'use strict';\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n\n var _react = __webpack_require__(1);\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes = __webpack_require__(2);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n\n var Delay = function Delay() {\n return _react2.default.createElement('noscript', null);\n };\n\n Delay.componentName = 'Delay';\n Delay.propTypes = {\n ms: _propTypes2.default.number.isRequired\n };\n exports.default = Delay;\n /***/\n},\n/* 14 */\n\n/***/\nfunction (module, exports, __webpack_require__) {\n 'use strict';\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.sleep = undefined;\n\n var _slicedToArray = function () {\n function sliceIterator(arr, i) {\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"]) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n }\n\n return function (arr, i) {\n if (Array.isArray(arr)) {\n return arr;\n } else if (Symbol.iterator in Object(arr)) {\n return sliceIterator(arr, i);\n } else {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n }\n };\n }();\n\n exports.gaussianRnd = gaussianRnd;\n exports.eachPromise = eachPromise;\n exports.exclude = exclude;\n exports.isBackspaceElement = isBackspaceElement;\n exports.isDelayElement = isDelayElement;\n exports.extractTextFromElement = extractTextFromElement;\n exports.cloneElement = cloneElement;\n exports.cloneElementWithSpecifiedText = cloneElementWithSpecifiedText;\n\n var _react = __webpack_require__(1);\n\n var _react2 = _interopRequireDefault(_react);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n\n function _toConsumableArray(arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n } else {\n return Array.from(arr);\n }\n }\n\n var sleep = exports.sleep = function sleep(val) {\n return new Promise(function (resolve) {\n return val != null ? setTimeout(resolve, val) : resolve();\n });\n };\n\n function gaussianRnd(mean, std) {\n var times = 12;\n var sum = 0;\n\n for (var idx = 0; idx < times; idx++) {\n sum += Math.random();\n }\n\n sum -= times / 2;\n return Math.round(sum * std) + mean;\n }\n\n function eachPromise(arr, iterator) {\n for (var _len = arguments.length, extraArgs = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n extraArgs[_key - 2] = arguments[_key];\n }\n\n var promiseReducer = function promiseReducer(prev, current, idx) {\n return prev.then(function () {\n return iterator.apply(undefined, [current, idx].concat(extraArgs));\n });\n };\n\n return Array.from(arr).reduce(promiseReducer, Promise.resolve());\n }\n\n function exclude(obj, keys) {\n var res = {};\n\n for (var key in obj) {\n if (keys.indexOf(key) === -1) {\n res[key] = obj[key];\n }\n }\n\n return res;\n }\n\n function isBackspaceElement(element) {\n return element && element.type && element.type.componentName === 'Backspace';\n }\n\n function isDelayElement(element) {\n return element && element.type && element.type.componentName === 'Delay';\n }\n\n function extractTextFromElement(element) {\n var stack = element ? [element] : [];\n var lines = [];\n\n while (stack.length > 0) {\n var current = stack.pop();\n\n if (_react2.default.isValidElement(current)) {\n if (isBackspaceElement(current) || isDelayElement(current)) {\n // If it is a `Backspace` or `Delay` element, we want to keep it in our\n // `textLines` state. These will serve as markers when updating the\n // state of the text\n lines.unshift(current);\n } else {\n _react2.default.Children.forEach(current.props.children, function (child) {\n stack.push(child);\n });\n }\n } else if (Array.isArray(current)) {\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = current[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var el = _step.value;\n stack.push(el);\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n } else {\n lines.unshift(current);\n }\n }\n\n return lines;\n }\n\n function cloneElement(element, children) {\n var tag = element.type;\n var props = exclude(element.props, ['children']);\n var getMilliseconds = new Date().getUTCMilliseconds();\n var randomStamp = getMilliseconds + Math.random() + Math.random(); // eslint-disable-next-line\n\n props.key = 'Typist-element-' + tag + '-' + randomStamp;\n return _react2.default.createElement.apply(_react2.default, [tag, props].concat(_toConsumableArray(children)));\n }\n\n function cloneElementWithSpecifiedTextAtIndex(element, textLines, textIdx) {\n if (textIdx >= textLines.length) {\n return [null, textIdx];\n }\n\n var idx = textIdx;\n\n var recurse = function recurse(el) {\n var _cloneElementWithSpec = cloneElementWithSpecifiedTextAtIndex(el, textLines, idx),\n _cloneElementWithSpec2 = _slicedToArray(_cloneElementWithSpec, 2),\n child = _cloneElementWithSpec2[0],\n advIdx = _cloneElementWithSpec2[1];\n\n idx = advIdx;\n return child;\n };\n\n var isNonTypistElement = _react2.default.isValidElement(element) && !(isBackspaceElement(element) || isDelayElement(element));\n\n if (isNonTypistElement) {\n var clonedChildren = _react2.default.Children.map(element.props.children, recurse) || [];\n return [cloneElement(element, clonedChildren), idx];\n }\n\n if (Array.isArray(element)) {\n var children = element.map(recurse);\n return [children, idx];\n } // Anything that isn't a React element or an Array is interpreted as text\n\n\n return [textLines[idx], idx + 1];\n }\n\n function cloneElementWithSpecifiedText(_ref) {\n var element = _ref.element,\n textLines = _ref.textLines;\n\n if (!element) {\n return undefined;\n }\n\n return cloneElementWithSpecifiedTextAtIndex(element, textLines, 0)[0];\n }\n /***/\n\n}\n/******/\n]);","// shim for using process in browser\nvar process = module.exports = {}; // cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\n\nfunction defaultClearTimeout() {\n throw new Error('clearTimeout has not been defined');\n}\n\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n})();\n\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n } // if setTimeout wasn't available but was latter defined\n\n\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch (e) {\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch (e) {\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n}\n\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n } // if clearTimeout wasn't available but was latter defined\n\n\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e) {\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e) {\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n}\n\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n\n draining = false;\n\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n var len = queue.length;\n\n while (len) {\n currentQueue = queue;\n queue = [];\n\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n\n queueIndex = -1;\n len = queue.length;\n }\n\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n\n queue.push(new Item(fun, args));\n\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n}; // v8 likes predictible objects\n\n\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\n\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\n\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\n\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) {\n return [];\n};\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () {\n return '/';\n};\n\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\n\nprocess.umask = function () {\n return 0;\n};","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.default = void 0;\n\nvar _assertThisInitialized2 = _interopRequireDefault(require(\"@babel/runtime/helpers/assertThisInitialized\"));\n\nvar _inheritsLoose2 = _interopRequireDefault(require(\"@babel/runtime/helpers/inheritsLoose\"));\n\nvar _objectWithoutPropertiesLoose2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutPropertiesLoose\"));\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\n\nvar logDeprecationNotice = function logDeprecationNotice(prop, replacement) {\n if (process.env.NODE_ENV === \"production\") {\n return;\n }\n\n console.log(\"\\n The \\\"\" + prop + \"\\\" prop is now deprecated and will be removed in the next major version\\n of \\\"gatsby-image\\\".\\n \");\n\n if (replacement) {\n console.log(\"Please use \" + replacement + \" instead of \\\"\" + prop + \"\\\".\");\n }\n}; // Handle legacy props during their deprecation phase\n\n\nvar convertProps = function convertProps(props) {\n var convertedProps = (0, _extends2.default)({}, props);\n var resolutions = convertedProps.resolutions,\n sizes = convertedProps.sizes,\n critical = convertedProps.critical;\n\n if (resolutions) {\n convertedProps.fixed = resolutions;\n logDeprecationNotice(\"resolutions\", \"the gatsby-image v2 prop \\\"fixed\\\"\");\n delete convertedProps.resolutions;\n }\n\n if (sizes) {\n convertedProps.fluid = sizes;\n logDeprecationNotice(\"sizes\", \"the gatsby-image v2 prop \\\"fluid\\\"\");\n delete convertedProps.sizes;\n }\n\n if (critical) {\n logDeprecationNotice(\"critical\", \"the native \\\"loading\\\" attribute\");\n convertedProps.loading = \"eager\";\n } // convert fluid & fixed to arrays so we only have to work with arrays\n\n\n if (convertedProps.fluid) {\n convertedProps.fluid = groupByMedia([].concat(convertedProps.fluid));\n }\n\n if (convertedProps.fixed) {\n convertedProps.fixed = groupByMedia([].concat(convertedProps.fixed));\n }\n\n return convertedProps;\n};\n/**\n * Checks if fluid or fixed are art-direction arrays.\n *\n * @param currentData {{media?: string}[]} The props to check for images.\n * @return {boolean}\n */\n\n\nvar hasArtDirectionSupport = function hasArtDirectionSupport(currentData) {\n return !!currentData && Array.isArray(currentData) && currentData.some(function (image) {\n return typeof image.media !== \"undefined\";\n });\n};\n/**\n * Tries to detect if a media query matches the current viewport.\n * @property media {{media?: string}} A media query string.\n * @return {boolean}\n */\n\n\nvar matchesMedia = function matchesMedia(_ref) {\n var media = _ref.media;\n return media ? isBrowser && !!window.matchMedia(media).matches : false;\n};\n/**\n * Find the source of an image to use as a key in the image cache.\n * Use `the first image in either `fixed` or `fluid`\n * @param {{fluid: {src: string, media?: string}[], fixed: {src: string, media?: string}[]}} args\n * @return {string?} Returns image src or undefined it not given.\n */\n\n\nvar getImageCacheKey = function getImageCacheKey(_ref2) {\n var fluid = _ref2.fluid,\n fixed = _ref2.fixed;\n var srcData = getCurrentSrcData(fluid || fixed || []);\n return srcData && srcData.src;\n};\n/**\n * Returns the current src - Preferably with art-direction support.\n * @param currentData {{media?: string}[], maxWidth?: Number, maxHeight?: Number} The fluid or fixed image array.\n * @return {{src: string, media?: string, maxWidth?: Number, maxHeight?: Number}}\n */\n\n\nvar getCurrentSrcData = function getCurrentSrcData(currentData) {\n if (isBrowser && hasArtDirectionSupport(currentData)) {\n // Do we have an image for the current Viewport?\n var foundMedia = currentData.findIndex(matchesMedia);\n\n if (foundMedia !== -1) {\n return currentData[foundMedia];\n } // No media matches, select first element without a media condition\n\n\n var noMedia = currentData.findIndex(function (image) {\n return typeof image.media === \"undefined\";\n });\n\n if (noMedia !== -1) {\n return currentData[noMedia];\n }\n } // Else return the first image.\n\n\n return currentData[0];\n}; // Cache if we've seen an image before so we don't bother with\n// lazy-loading & fading in on subsequent mounts.\n\n\nvar imageCache = Object.create({});\n\nvar inImageCache = function inImageCache(props) {\n var convertedProps = convertProps(props);\n var cacheKey = getImageCacheKey(convertedProps);\n return imageCache[cacheKey] || false;\n};\n\nvar activateCacheForImage = function activateCacheForImage(props) {\n var convertedProps = convertProps(props);\n var cacheKey = getImageCacheKey(convertedProps);\n\n if (cacheKey) {\n imageCache[cacheKey] = true;\n }\n}; // Native lazy-loading support: https://addyosmani.com/blog/lazy-loading/\n\n\nvar hasNativeLazyLoadSupport = typeof HTMLImageElement !== \"undefined\" && \"loading\" in HTMLImageElement.prototype;\nvar isBrowser = typeof window !== \"undefined\";\nvar hasIOSupport = isBrowser && window.IntersectionObserver;\nvar io;\nvar listeners = new WeakMap();\n\nfunction getIO() {\n if (typeof io === \"undefined\" && typeof window !== \"undefined\" && window.IntersectionObserver) {\n io = new window.IntersectionObserver(function (entries) {\n entries.forEach(function (entry) {\n if (listeners.has(entry.target)) {\n var cb = listeners.get(entry.target); // Edge doesn't currently support isIntersecting, so also test for an intersectionRatio > 0\n\n if (entry.isIntersecting || entry.intersectionRatio > 0) {\n io.unobserve(entry.target);\n listeners.delete(entry.target);\n cb();\n }\n }\n });\n }, {\n rootMargin: \"200px\"\n });\n }\n\n return io;\n}\n\nfunction generateImageSources(imageVariants) {\n return imageVariants.map(function (_ref3) {\n var src = _ref3.src,\n srcSet = _ref3.srcSet,\n srcSetWebp = _ref3.srcSetWebp,\n media = _ref3.media,\n sizes = _ref3.sizes;\n return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {\n key: src\n }, srcSetWebp && /*#__PURE__*/_react.default.createElement(\"source\", {\n type: \"image/webp\",\n media: media,\n srcSet: srcSetWebp,\n sizes: sizes\n }), srcSet && /*#__PURE__*/_react.default.createElement(\"source\", {\n media: media,\n srcSet: srcSet,\n sizes: sizes\n }));\n });\n} // Return an array ordered by elements having a media prop, does not use\n// native sort, as a stable sort is not guaranteed by all browsers/versions\n\n\nfunction groupByMedia(imageVariants) {\n var withMedia = [];\n var without = [];\n imageVariants.forEach(function (variant) {\n return (variant.media ? withMedia : without).push(variant);\n });\n\n if (without.length > 1 && process.env.NODE_ENV !== \"production\") {\n console.warn(\"We've found \" + without.length + \" sources without a media property. They might be ignored by the browser, see: https://www.gatsbyjs.org/packages/gatsby-image/#art-directing-multiple-images\");\n }\n\n return [].concat(withMedia, without);\n}\n\nfunction generateTracedSVGSources(imageVariants) {\n return imageVariants.map(function (_ref4) {\n var src = _ref4.src,\n media = _ref4.media,\n tracedSVG = _ref4.tracedSVG;\n return /*#__PURE__*/_react.default.createElement(\"source\", {\n key: src,\n media: media,\n srcSet: tracedSVG\n });\n });\n}\n\nfunction generateBase64Sources(imageVariants) {\n return imageVariants.map(function (_ref5) {\n var src = _ref5.src,\n media = _ref5.media,\n base64 = _ref5.base64;\n return /*#__PURE__*/_react.default.createElement(\"source\", {\n key: src,\n media: media,\n srcSet: base64\n });\n });\n}\n\nfunction generateNoscriptSource(_ref6, isWebp) {\n var srcSet = _ref6.srcSet,\n srcSetWebp = _ref6.srcSetWebp,\n media = _ref6.media,\n sizes = _ref6.sizes;\n var src = isWebp ? srcSetWebp : srcSet;\n var mediaAttr = media ? \"media=\\\"\" + media + \"\\\" \" : \"\";\n var typeAttr = isWebp ? \"type='image/webp' \" : \"\";\n var sizesAttr = sizes ? \"sizes=\\\"\" + sizes + \"\\\" \" : \"\";\n return \"<source \" + typeAttr + mediaAttr + \"srcset=\\\"\" + src + \"\\\" \" + sizesAttr + \"/>\";\n}\n\nfunction generateNoscriptSources(imageVariants) {\n return imageVariants.map(function (variant) {\n return (variant.srcSetWebp ? generateNoscriptSource(variant, true) : \"\") + generateNoscriptSource(variant);\n }).join(\"\");\n}\n\nvar listenToIntersections = function listenToIntersections(el, cb) {\n var observer = getIO();\n\n if (observer) {\n observer.observe(el);\n listeners.set(el, cb);\n }\n\n return function () {\n observer.unobserve(el);\n listeners.delete(el);\n };\n};\n\nvar noscriptImg = function noscriptImg(props) {\n // Check if prop exists before adding each attribute to the string output below to prevent\n // HTML validation issues caused by empty values like width=\"\" and height=\"\"\n var src = props.src ? \"src=\\\"\" + props.src + \"\\\" \" : \"src=\\\"\\\" \"; // required attribute\n\n var sizes = props.sizes ? \"sizes=\\\"\" + props.sizes + \"\\\" \" : \"\";\n var srcSet = props.srcSet ? \"srcset=\\\"\" + props.srcSet + \"\\\" \" : \"\";\n var title = props.title ? \"title=\\\"\" + props.title + \"\\\" \" : \"\";\n var alt = props.alt ? \"alt=\\\"\" + props.alt + \"\\\" \" : \"alt=\\\"\\\" \"; // required attribute\n\n var width = props.width ? \"width=\\\"\" + props.width + \"\\\" \" : \"\";\n var height = props.height ? \"height=\\\"\" + props.height + \"\\\" \" : \"\";\n var crossOrigin = props.crossOrigin ? \"crossorigin=\\\"\" + props.crossOrigin + \"\\\" \" : \"\";\n var loading = props.loading ? \"loading=\\\"\" + props.loading + \"\\\" \" : \"\";\n var draggable = props.draggable ? \"draggable=\\\"\" + props.draggable + \"\\\" \" : \"\";\n var sources = generateNoscriptSources(props.imageVariants);\n return \"<picture>\" + sources + \"<img \" + loading + width + height + sizes + srcSet + src + alt + title + crossOrigin + draggable + \"style=\\\"position:absolute;top:0;left:0;opacity:1;width:100%;height:100%;object-fit:cover;object-position:center\\\"/></picture>\";\n}; // Earlier versions of gatsby-image during the 2.x cycle did not wrap\n// the `Img` component in a `picture` element. This maintains compatibility\n// until a breaking change can be introduced in the next major release\n\n\nvar Placeholder = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {\n var src = props.src,\n imageVariants = props.imageVariants,\n generateSources = props.generateSources,\n spreadProps = props.spreadProps,\n ariaHidden = props.ariaHidden;\n\n var baseImage = /*#__PURE__*/_react.default.createElement(Img, (0, _extends2.default)({\n ref: ref,\n src: src\n }, spreadProps, {\n ariaHidden: ariaHidden\n }));\n\n return imageVariants.length > 1 ? /*#__PURE__*/_react.default.createElement(\"picture\", null, generateSources(imageVariants), baseImage) : baseImage;\n});\n\nvar Img = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {\n var sizes = props.sizes,\n srcSet = props.srcSet,\n src = props.src,\n style = props.style,\n onLoad = props.onLoad,\n onError = props.onError,\n loading = props.loading,\n draggable = props.draggable,\n ariaHidden = props.ariaHidden,\n otherProps = (0, _objectWithoutPropertiesLoose2.default)(props, [\"sizes\", \"srcSet\", \"src\", \"style\", \"onLoad\", \"onError\", \"loading\", \"draggable\", \"ariaHidden\"]);\n return /*#__PURE__*/_react.default.createElement(\"img\", (0, _extends2.default)({\n \"aria-hidden\": ariaHidden,\n sizes: sizes,\n srcSet: srcSet,\n src: src\n }, otherProps, {\n onLoad: onLoad,\n onError: onError,\n ref: ref,\n loading: loading,\n draggable: draggable,\n style: (0, _extends2.default)({\n position: \"absolute\",\n top: 0,\n left: 0,\n width: \"100%\",\n height: \"100%\",\n objectFit: \"cover\",\n objectPosition: \"center\"\n }, style)\n }));\n});\n\nImg.propTypes = {\n style: _propTypes.default.object,\n onError: _propTypes.default.func,\n onLoad: _propTypes.default.func\n};\n\nvar Image = /*#__PURE__*/function (_React$Component) {\n (0, _inheritsLoose2.default)(Image, _React$Component);\n\n function Image(props) {\n var _this;\n\n _this = _React$Component.call(this, props) || this; // If this image has already been loaded before then we can assume it's\n // already in the browser cache so it's cheap to just show directly.\n\n _this.seenBefore = isBrowser && inImageCache(props);\n _this.isCritical = props.loading === \"eager\" || props.critical;\n _this.addNoScript = !(_this.isCritical && !props.fadeIn);\n _this.useIOSupport = !hasNativeLazyLoadSupport && hasIOSupport && !_this.isCritical && !_this.seenBefore;\n var isVisible = _this.isCritical || isBrowser && (hasNativeLazyLoadSupport || !_this.useIOSupport);\n _this.state = {\n isVisible: isVisible,\n imgLoaded: false,\n imgCached: false,\n fadeIn: !_this.seenBefore && props.fadeIn,\n isHydrated: false\n };\n _this.imageRef = /*#__PURE__*/_react.default.createRef();\n _this.placeholderRef = props.placeholderRef || /*#__PURE__*/_react.default.createRef();\n _this.handleImageLoaded = _this.handleImageLoaded.bind((0, _assertThisInitialized2.default)(_this));\n _this.handleRef = _this.handleRef.bind((0, _assertThisInitialized2.default)(_this));\n return _this;\n }\n\n var _proto = Image.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.setState({\n isHydrated: isBrowser\n });\n\n if (this.state.isVisible && typeof this.props.onStartLoad === \"function\") {\n this.props.onStartLoad({\n wasCached: inImageCache(this.props)\n });\n }\n\n if (this.isCritical) {\n var img = this.imageRef.current;\n\n if (img && img.complete) {\n this.handleImageLoaded();\n }\n }\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n if (this.cleanUpListeners) {\n this.cleanUpListeners();\n }\n } // Specific to IntersectionObserver based lazy-load support\n ;\n\n _proto.handleRef = function handleRef(ref) {\n var _this2 = this;\n\n if (this.useIOSupport && ref) {\n this.cleanUpListeners = listenToIntersections(ref, function () {\n var imageInCache = inImageCache(_this2.props);\n\n if (!_this2.state.isVisible && typeof _this2.props.onStartLoad === \"function\") {\n _this2.props.onStartLoad({\n wasCached: imageInCache\n });\n } // imgCached and imgLoaded must update after isVisible,\n // Once isVisible is true, imageRef becomes accessible, which imgCached needs access to.\n // imgLoaded and imgCached are in a 2nd setState call to be changed together,\n // avoiding initiating unnecessary animation frames from style changes.\n\n\n _this2.setState({\n isVisible: true\n }, function () {\n _this2.setState({\n imgLoaded: imageInCache,\n // `currentSrc` should be a string, but can be `undefined` in IE,\n // !! operator validates the value is not undefined/null/\"\"\n // for lazyloaded components this might be null\n // TODO fix imgCached behaviour as it's now false when it's lazyloaded\n imgCached: !!(_this2.imageRef.current && _this2.imageRef.current.currentSrc)\n });\n });\n });\n }\n };\n\n _proto.handleImageLoaded = function handleImageLoaded() {\n activateCacheForImage(this.props);\n this.setState({\n imgLoaded: true\n });\n\n if (this.props.onLoad) {\n this.props.onLoad();\n }\n };\n\n _proto.render = function render() {\n var _convertProps = convertProps(this.props),\n title = _convertProps.title,\n alt = _convertProps.alt,\n className = _convertProps.className,\n _convertProps$style = _convertProps.style,\n style = _convertProps$style === void 0 ? {} : _convertProps$style,\n _convertProps$imgStyl = _convertProps.imgStyle,\n imgStyle = _convertProps$imgStyl === void 0 ? {} : _convertProps$imgStyl,\n _convertProps$placeho = _convertProps.placeholderStyle,\n placeholderStyle = _convertProps$placeho === void 0 ? {} : _convertProps$placeho,\n placeholderClassName = _convertProps.placeholderClassName,\n fluid = _convertProps.fluid,\n fixed = _convertProps.fixed,\n backgroundColor = _convertProps.backgroundColor,\n durationFadeIn = _convertProps.durationFadeIn,\n Tag = _convertProps.Tag,\n itemProp = _convertProps.itemProp,\n loading = _convertProps.loading,\n draggable = _convertProps.draggable;\n\n var imageVariants = fluid || fixed; // Abort early if missing image data (#25371)\n\n if (!imageVariants) {\n return null;\n }\n\n var shouldReveal = this.state.fadeIn === false || this.state.imgLoaded;\n var shouldFadeIn = this.state.fadeIn === true && !this.state.imgCached;\n var imageStyle = (0, _extends2.default)({\n opacity: shouldReveal ? 1 : 0,\n transition: shouldFadeIn ? \"opacity \" + durationFadeIn + \"ms\" : \"none\"\n }, imgStyle);\n var bgColor = typeof backgroundColor === \"boolean\" ? \"lightgray\" : backgroundColor;\n var delayHideStyle = {\n transitionDelay: durationFadeIn + \"ms\"\n };\n var imagePlaceholderStyle = (0, _extends2.default)({\n opacity: this.state.imgLoaded ? 0 : 1\n }, shouldFadeIn && delayHideStyle, imgStyle, placeholderStyle);\n var placeholderImageProps = {\n title: title,\n alt: !this.state.isVisible ? alt : \"\",\n style: imagePlaceholderStyle,\n className: placeholderClassName,\n itemProp: itemProp\n }; // Initial client render state needs to match SSR until hydration finishes.\n // Once hydration completes, render again to update to the correct image.\n // `imageVariants` is always an Array type at this point due to `convertProps()`\n\n var image = !this.state.isHydrated ? imageVariants[0] : getCurrentSrcData(imageVariants);\n\n if (fluid) {\n return /*#__PURE__*/_react.default.createElement(Tag, {\n className: (className ? className : \"\") + \" gatsby-image-wrapper\",\n style: (0, _extends2.default)({\n position: \"relative\",\n overflow: \"hidden\",\n maxWidth: image.maxWidth ? image.maxWidth + \"px\" : null,\n maxHeight: image.maxHeight ? image.maxHeight + \"px\" : null\n }, style),\n ref: this.handleRef,\n key: \"fluid-\" + JSON.stringify(image.srcSet)\n }, /*#__PURE__*/_react.default.createElement(Tag, {\n \"aria-hidden\": true,\n style: {\n width: \"100%\",\n paddingBottom: 100 / image.aspectRatio + \"%\"\n }\n }), bgColor && /*#__PURE__*/_react.default.createElement(Tag, {\n \"aria-hidden\": true,\n title: title,\n style: (0, _extends2.default)({\n backgroundColor: bgColor,\n position: \"absolute\",\n top: 0,\n bottom: 0,\n opacity: !this.state.imgLoaded ? 1 : 0,\n right: 0,\n left: 0\n }, shouldFadeIn && delayHideStyle)\n }), image.base64 && /*#__PURE__*/_react.default.createElement(Placeholder, {\n ariaHidden: true,\n ref: this.placeholderRef,\n src: image.base64,\n spreadProps: placeholderImageProps,\n imageVariants: imageVariants,\n generateSources: generateBase64Sources\n }), image.tracedSVG && /*#__PURE__*/_react.default.createElement(Placeholder, {\n ariaHidden: true,\n ref: this.placeholderRef,\n src: image.tracedSVG,\n spreadProps: placeholderImageProps,\n imageVariants: imageVariants,\n generateSources: generateTracedSVGSources\n }), this.state.isVisible && /*#__PURE__*/_react.default.createElement(\"picture\", null, generateImageSources(imageVariants), /*#__PURE__*/_react.default.createElement(Img, {\n alt: alt,\n title: title,\n sizes: image.sizes,\n src: image.src,\n crossOrigin: this.props.crossOrigin,\n srcSet: image.srcSet,\n style: imageStyle,\n ref: this.imageRef,\n onLoad: this.handleImageLoaded,\n onError: this.props.onError,\n itemProp: itemProp,\n loading: loading,\n draggable: draggable\n })), this.addNoScript && /*#__PURE__*/_react.default.createElement(\"noscript\", {\n dangerouslySetInnerHTML: {\n __html: noscriptImg((0, _extends2.default)({\n alt: alt,\n title: title,\n loading: loading\n }, image, {\n imageVariants: imageVariants\n }))\n }\n }));\n }\n\n if (fixed) {\n var divStyle = (0, _extends2.default)({\n position: \"relative\",\n overflow: \"hidden\",\n display: \"inline-block\",\n width: image.width,\n height: image.height\n }, style);\n\n if (style.display === \"inherit\") {\n delete divStyle.display;\n }\n\n return /*#__PURE__*/_react.default.createElement(Tag, {\n className: (className ? className : \"\") + \" gatsby-image-wrapper\",\n style: divStyle,\n ref: this.handleRef,\n key: \"fixed-\" + JSON.stringify(image.srcSet)\n }, bgColor && /*#__PURE__*/_react.default.createElement(Tag, {\n \"aria-hidden\": true,\n title: title,\n style: (0, _extends2.default)({\n backgroundColor: bgColor,\n width: image.width,\n opacity: !this.state.imgLoaded ? 1 : 0,\n height: image.height\n }, shouldFadeIn && delayHideStyle)\n }), image.base64 && /*#__PURE__*/_react.default.createElement(Placeholder, {\n ariaHidden: true,\n ref: this.placeholderRef,\n src: image.base64,\n spreadProps: placeholderImageProps,\n imageVariants: imageVariants,\n generateSources: generateBase64Sources\n }), image.tracedSVG && /*#__PURE__*/_react.default.createElement(Placeholder, {\n ariaHidden: true,\n ref: this.placeholderRef,\n src: image.tracedSVG,\n spreadProps: placeholderImageProps,\n imageVariants: imageVariants,\n generateSources: generateTracedSVGSources\n }), this.state.isVisible && /*#__PURE__*/_react.default.createElement(\"picture\", null, generateImageSources(imageVariants), /*#__PURE__*/_react.default.createElement(Img, {\n alt: alt,\n title: title,\n width: image.width,\n height: image.height,\n sizes: image.sizes,\n src: image.src,\n crossOrigin: this.props.crossOrigin,\n srcSet: image.srcSet,\n style: imageStyle,\n ref: this.imageRef,\n onLoad: this.handleImageLoaded,\n onError: this.props.onError,\n itemProp: itemProp,\n loading: loading,\n draggable: draggable\n })), this.addNoScript && /*#__PURE__*/_react.default.createElement(\"noscript\", {\n dangerouslySetInnerHTML: {\n __html: noscriptImg((0, _extends2.default)({\n alt: alt,\n title: title,\n loading: loading\n }, image, {\n imageVariants: imageVariants\n }))\n }\n }));\n }\n\n return null;\n };\n\n return Image;\n}(_react.default.Component);\n\nImage.defaultProps = {\n fadeIn: true,\n durationFadeIn: 500,\n alt: \"\",\n Tag: \"div\",\n // We set it to `lazy` by default because it's best to default to a performant\n // setting and let the user \"opt out\" to `eager`\n loading: \"lazy\"\n};\n\nvar fixedObject = _propTypes.default.shape({\n width: _propTypes.default.number.isRequired,\n height: _propTypes.default.number.isRequired,\n src: _propTypes.default.string.isRequired,\n srcSet: _propTypes.default.string.isRequired,\n base64: _propTypes.default.string,\n tracedSVG: _propTypes.default.string,\n srcWebp: _propTypes.default.string,\n srcSetWebp: _propTypes.default.string,\n media: _propTypes.default.string\n});\n\nvar fluidObject = _propTypes.default.shape({\n aspectRatio: _propTypes.default.number.isRequired,\n src: _propTypes.default.string.isRequired,\n srcSet: _propTypes.default.string.isRequired,\n sizes: _propTypes.default.string.isRequired,\n base64: _propTypes.default.string,\n tracedSVG: _propTypes.default.string,\n srcWebp: _propTypes.default.string,\n srcSetWebp: _propTypes.default.string,\n media: _propTypes.default.string,\n maxWidth: _propTypes.default.number,\n maxHeight: _propTypes.default.number\n});\n\nfunction requireFixedOrFluid(originalPropTypes) {\n return function (props, propName, componentName) {\n var _PropTypes$checkPropT;\n\n if (!props.fixed && !props.fluid) {\n throw new Error(\"The prop `fluid` or `fixed` is marked as required in `\" + componentName + \"`, but their values are both `undefined`.\");\n }\n\n _propTypes.default.checkPropTypes((_PropTypes$checkPropT = {}, _PropTypes$checkPropT[propName] = originalPropTypes, _PropTypes$checkPropT), props, \"prop\", componentName);\n };\n} // If you modify these propTypes, please don't forget to update following files as well:\n// https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-image/index.d.ts\n// https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-image/README.md#gatsby-image-props\n// https://github.com/gatsbyjs/gatsby/blob/master/docs/docs/gatsby-image.md#gatsby-image-props\n\n\nImage.propTypes = {\n resolutions: fixedObject,\n sizes: fluidObject,\n fixed: requireFixedOrFluid(_propTypes.default.oneOfType([fixedObject, _propTypes.default.arrayOf(fixedObject)])),\n fluid: requireFixedOrFluid(_propTypes.default.oneOfType([fluidObject, _propTypes.default.arrayOf(fluidObject)])),\n fadeIn: _propTypes.default.bool,\n durationFadeIn: _propTypes.default.number,\n title: _propTypes.default.string,\n alt: _propTypes.default.string,\n className: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object]),\n // Support Glamor's css prop.\n critical: _propTypes.default.bool,\n crossOrigin: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.bool]),\n style: _propTypes.default.object,\n imgStyle: _propTypes.default.object,\n placeholderStyle: _propTypes.default.object,\n placeholderClassName: _propTypes.default.string,\n backgroundColor: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.bool]),\n onLoad: _propTypes.default.func,\n onError: _propTypes.default.func,\n onStartLoad: _propTypes.default.func,\n Tag: _propTypes.default.string,\n itemProp: _propTypes.default.string,\n loading: _propTypes.default.oneOf([\"auto\", \"lazy\", \"eager\"]),\n draggable: _propTypes.default.bool\n};\nvar _default = Image;\nexports.default = _default;","module.exports = __webpack_public_path__ + \"static/SFMono-RegularItalic-502441ff6ee56a1df1558e8461050a46.woff\";","function memoize(fn) {\n var cache = {};\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\nexport default memoize;","import memoize from '@emotion/memoize';\nvar reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23\n\nvar index = memoize(function (prop) {\n return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111\n /* o */\n && prop.charCodeAt(1) === 110\n /* n */\n && prop.charCodeAt(2) < 91;\n}\n/* Z+1 */\n);\nexport default index;","/**\r\n * Returns the object type of the given payload\r\n *\r\n * @param {*} payload\r\n * @returns {string}\r\n */\nfunction getType(payload) {\n return Object.prototype.toString.call(payload).slice(8, -1);\n}\n/**\r\n * Returns whether the payload is undefined\r\n *\r\n * @param {*} payload\r\n * @returns {payload is undefined}\r\n */\n\n\nfunction isUndefined(payload) {\n return getType(payload) === 'Undefined';\n}\n/**\r\n * Returns whether the payload is null\r\n *\r\n * @param {*} payload\r\n * @returns {payload is null}\r\n */\n\n\nfunction isNull(payload) {\n return getType(payload) === 'Null';\n}\n/**\r\n * Returns whether the payload is a plain JavaScript object (excluding special classes or objects with other prototypes)\r\n *\r\n * @param {*} payload\r\n * @returns {payload is Record<string, any>}\r\n */\n\n\nfunction isPlainObject(payload) {\n if (getType(payload) !== 'Object') return false;\n return payload.constructor === Object && Object.getPrototypeOf(payload) === Object.prototype;\n}\n/**\r\n * Returns whether the payload is a plain JavaScript object (excluding special classes or objects with other prototypes)\r\n *\r\n * @param {*} payload\r\n * @returns {payload is Record<string, any>}\r\n */\n\n\nfunction isObject(payload) {\n return isPlainObject(payload);\n}\n/**\r\n * Returns whether the payload is a an empty object (excluding special classes or objects with other prototypes)\r\n *\r\n * @param {*} payload\r\n * @returns {payload is { [K in any]: never }}\r\n */\n\n\nfunction isEmptyObject(payload) {\n return isPlainObject(payload) && Object.keys(payload).length === 0;\n}\n/**\r\n * Returns whether the payload is an any kind of object (including special classes or objects with different prototypes)\r\n *\r\n * @param {*} payload\r\n * @returns {payload is Record<string, any>}\r\n */\n\n\nfunction isAnyObject(payload) {\n return getType(payload) === 'Object';\n}\n/**\r\n * Returns whether the payload is an object like a type passed in < >\r\n *\r\n * Usage: isObjectLike<{id: any}>(payload) // will make sure it's an object and has an `id` prop.\r\n *\r\n * @template T this must be passed in < >\r\n * @param {*} payload\r\n * @returns {payload is T}\r\n */\n\n\nfunction isObjectLike(payload) {\n return isAnyObject(payload);\n}\n/**\r\n * Returns whether the payload is a function\r\n *\r\n * @param {*} payload\r\n * @returns {payload is AnyFunction}\r\n */\n\n\nfunction isFunction(payload) {\n return getType(payload) === 'Function';\n}\n/**\r\n * Returns whether the payload is an array\r\n *\r\n * @param {any} payload\r\n * @returns {payload is any[]}\r\n */\n\n\nfunction isArray(payload) {\n return getType(payload) === 'Array';\n}\n/**\r\n * Returns whether the payload is a an empty array\r\n *\r\n * @param {*} payload\r\n * @returns {payload is []}\r\n */\n\n\nfunction isEmptyArray(payload) {\n return isArray(payload) && payload.length === 0;\n}\n/**\r\n * Returns whether the payload is a string\r\n *\r\n * @param {*} payload\r\n * @returns {payload is string}\r\n */\n\n\nfunction isString(payload) {\n return getType(payload) === 'String';\n}\n/**\r\n * Returns whether the payload is a string, BUT returns false for ''\r\n *\r\n * @param {*} payload\r\n * @returns {payload is string}\r\n */\n\n\nfunction isFullString(payload) {\n return isString(payload) && payload !== '';\n}\n/**\r\n * Returns whether the payload is ''\r\n *\r\n * @param {*} payload\r\n * @returns {payload is string}\r\n */\n\n\nfunction isEmptyString(payload) {\n return payload === '';\n}\n/**\r\n * Returns whether the payload is a number (but not NaN)\r\n *\r\n * This will return `false` for `NaN`!!\r\n *\r\n * @param {*} payload\r\n * @returns {payload is number}\r\n */\n\n\nfunction isNumber(payload) {\n return getType(payload) === 'Number' && !isNaN(payload);\n}\n/**\r\n * Returns whether the payload is a boolean\r\n *\r\n * @param {*} payload\r\n * @returns {payload is boolean}\r\n */\n\n\nfunction isBoolean(payload) {\n return getType(payload) === 'Boolean';\n}\n/**\r\n * Returns whether the payload is a regular expression (RegExp)\r\n *\r\n * @param {*} payload\r\n * @returns {payload is RegExp}\r\n */\n\n\nfunction isRegExp(payload) {\n return getType(payload) === 'RegExp';\n}\n/**\r\n * Returns whether the payload is a Map\r\n *\r\n * @param {*} payload\r\n * @returns {payload is Map<any, any>}\r\n */\n\n\nfunction isMap(payload) {\n return getType(payload) === 'Map';\n}\n/**\r\n * Returns whether the payload is a WeakMap\r\n *\r\n * @param {*} payload\r\n * @returns {payload is WeakMap<any, any>}\r\n */\n\n\nfunction isWeakMap(payload) {\n return getType(payload) === 'WeakMap';\n}\n/**\r\n * Returns whether the payload is a Set\r\n *\r\n * @param {*} payload\r\n * @returns {payload is Set<any>}\r\n */\n\n\nfunction isSet(payload) {\n return getType(payload) === 'Set';\n}\n/**\r\n * Returns whether the payload is a WeakSet\r\n *\r\n * @param {*} payload\r\n * @returns {payload is WeakSet<any>}\r\n */\n\n\nfunction isWeakSet(payload) {\n return getType(payload) === 'WeakSet';\n}\n/**\r\n * Returns whether the payload is a Symbol\r\n *\r\n * @param {*} payload\r\n * @returns {payload is symbol}\r\n */\n\n\nfunction isSymbol(payload) {\n return getType(payload) === 'Symbol';\n}\n/**\r\n * Returns whether the payload is a Date, and that the date is valid\r\n *\r\n * @param {*} payload\r\n * @returns {payload is Date}\r\n */\n\n\nfunction isDate(payload) {\n return getType(payload) === 'Date' && !isNaN(payload);\n}\n/**\r\n * Returns whether the payload is a Blob\r\n *\r\n * @param {*} payload\r\n * @returns {payload is Blob}\r\n */\n\n\nfunction isBlob(payload) {\n return getType(payload) === 'Blob';\n}\n/**\r\n * Returns whether the payload is a File\r\n *\r\n * @param {*} payload\r\n * @returns {payload is File}\r\n */\n\n\nfunction isFile(payload) {\n return getType(payload) === 'File';\n}\n/**\r\n * Returns whether the payload is a Promise\r\n *\r\n * @param {*} payload\r\n * @returns {payload is Promise<any>}\r\n */\n\n\nfunction isPromise(payload) {\n return getType(payload) === 'Promise';\n}\n/**\r\n * Returns whether the payload is an Error\r\n *\r\n * @param {*} payload\r\n * @returns {payload is Error}\r\n */\n\n\nfunction isError(payload) {\n return getType(payload) === 'Error';\n}\n/**\r\n * Returns whether the payload is literally the value `NaN` (it's `NaN` and also a `number`)\r\n *\r\n * @param {*} payload\r\n * @returns {payload is typeof NaN}\r\n */\n\n\nfunction isNaNValue(payload) {\n return getType(payload) === 'Number' && isNaN(payload);\n}\n/**\r\n * Returns whether the payload is a primitive type (eg. Boolean | Null | Undefined | Number | String | Symbol)\r\n *\r\n * @param {*} payload\r\n * @returns {(payload is boolean | null | undefined | number | string | symbol)}\r\n */\n\n\nfunction isPrimitive(payload) {\n return isBoolean(payload) || isNull(payload) || isUndefined(payload) || isNumber(payload) || isString(payload) || isSymbol(payload);\n}\n/**\r\n * Returns true whether the payload is null or undefined\r\n *\r\n * @param {*} payload\r\n * @returns {(payload is null | undefined)}\r\n */\n\n\nfunction isNullOrUndefined(payload) {\n return isNull(payload) || isUndefined(payload);\n}\n/**\r\n * Does a generic check to check that the given payload is of a given type.\r\n * In cases like Number, it will return true for NaN as NaN is a Number (thanks javascript!);\r\n * It will, however, differentiate between object and null\r\n *\r\n * @template T\r\n * @param {*} payload\r\n * @param {T} type\r\n * @throws {TypeError} Will throw type error if type is an invalid type\r\n * @returns {payload is T}\r\n */\n\n\nfunction isType(payload, type) {\n if (!(type instanceof Function)) {\n throw new TypeError('Type must be a function');\n }\n\n if (!Object.prototype.hasOwnProperty.call(type, 'prototype')) {\n throw new TypeError('Type is not a class');\n } // Classes usually have names (as functions usually have names)\n\n\n var name = type.name;\n return getType(payload) === name || Boolean(payload && payload.constructor === type);\n}\n\nexport { getType, isAnyObject, isArray, isBlob, isBoolean, isDate, isEmptyArray, isEmptyObject, isEmptyString, isError, isFile, isFullString, isFunction, isMap, isNaNValue, isNull, isNullOrUndefined, isNumber, isObject, isObjectLike, isPlainObject, isPrimitive, isPromise, isRegExp, isSet, isString, isSymbol, isType, isUndefined, isWeakMap, isWeakSet };","import { isPlainObject, isArray, isSymbol } from 'is-what';\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\n\nfunction __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) {\n s += arguments[i].length;\n }\n\n for (var r = Array(s), k = 0, i = 0; i < il; i++) {\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {\n r[k] = a[j];\n }\n }\n\n return r;\n}\n\nfunction assignProp(carry, key, newVal, originalObject) {\n var propType = originalObject.propertyIsEnumerable(key) ? 'enumerable' : 'nonenumerable';\n if (propType === 'enumerable') carry[key] = newVal;\n\n if (propType === 'nonenumerable') {\n Object.defineProperty(carry, key, {\n value: newVal,\n enumerable: false,\n writable: true,\n configurable: true\n });\n }\n}\n\nfunction mergeRecursively(origin, newComer, extensions) {\n // work directly on newComer if its not an object\n if (!isPlainObject(newComer)) {\n // extend merge rules\n if (extensions && isArray(extensions)) {\n extensions.forEach(function (extend) {\n newComer = extend(origin, newComer);\n });\n }\n\n return newComer;\n } // define newObject to merge all values upon\n\n\n var newObject = {};\n\n if (isPlainObject(origin)) {\n var props_1 = Object.getOwnPropertyNames(origin);\n var symbols_1 = Object.getOwnPropertySymbols(origin);\n newObject = __spreadArrays(props_1, symbols_1).reduce(function (carry, key) {\n // @ts-ignore\n var targetVal = origin[key];\n\n if (!isSymbol(key) && !Object.getOwnPropertyNames(newComer).includes(key) || isSymbol(key) && !Object.getOwnPropertySymbols(newComer).includes(key)) {\n assignProp(carry, key, targetVal, origin);\n }\n\n return carry;\n }, {});\n }\n\n var props = Object.getOwnPropertyNames(newComer);\n var symbols = Object.getOwnPropertySymbols(newComer);\n\n var result = __spreadArrays(props, symbols).reduce(function (carry, key) {\n // re-define the origin and newComer as targetVal and newVal\n var newVal = newComer[key];\n var targetVal = isPlainObject(origin) ? // @ts-ignore\n origin[key] : undefined; // extend merge rules\n\n if (extensions && isArray(extensions)) {\n extensions.forEach(function (extend) {\n newVal = extend(targetVal, newVal);\n });\n } // When newVal is an object do the merge recursively\n\n\n if (targetVal !== undefined && isPlainObject(newVal)) {\n newVal = mergeRecursively(targetVal, newVal, extensions);\n }\n\n assignProp(carry, key, newVal, newComer);\n return carry;\n }, newObject);\n\n return result;\n}\n/**\r\n * Merge anything recursively.\r\n * Objects get merged, special objects (classes etc.) are re-assigned \"as is\".\r\n * Basic types overwrite objects or other basic types.\r\n *\r\n * @param {(IConfig | any)} origin\r\n * @param {...any[]} newComers\r\n * @returns the result\r\n */\n\n\nfunction merge(origin) {\n var newComers = [];\n\n for (var _i = 1; _i < arguments.length; _i++) {\n newComers[_i - 1] = arguments[_i];\n }\n\n var extensions = null;\n var base = origin;\n\n if (isPlainObject(origin) && origin.extensions && Object.keys(origin).length === 1) {\n base = {};\n extensions = origin.extensions;\n }\n\n return newComers.reduce(function (result, newComer) {\n return mergeRecursively(result, newComer, extensions);\n }, base);\n}\n\nfunction concatArrays(originVal, newVal) {\n if (isArray(originVal) && isArray(newVal)) {\n // concat logic\n return originVal.concat(newVal);\n }\n\n return newVal; // always return newVal as fallback!!\n}\n\nexport default merge;\nexport { concatArrays, merge };","module.exports = __webpack_public_path__ + \"static/Calibre-RegularItalic-35657aa2d12ff78e3d8a8a5ba28c2c35.woff2\";","module.exports = __webpack_public_path__ + \"static/Calibre-Semibold-347808401d7a6607ff9a86897aec0a39.woff\";","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Helmet } from 'react-helmet';\r\nimport { useLocation } from '@reach/router';\r\nimport { useStaticQuery, graphql } from 'gatsby';\r\n\r\n// https://www.gatsbyjs.com/docs/add-seo-component/\r\n\r\nconst Head = ({ title, description, image }) => {\r\n const { pathname } = useLocation();\r\n\r\n const { site } = useStaticQuery(\r\n graphql`\r\n query {\r\n site {\r\n siteMetadata {\r\n defaultTitle: title\r\n defaultDescription: description\r\n siteUrl\r\n defaultImage: image\r\n twitterUsername\r\n }\r\n }\r\n }\r\n `,\r\n );\r\n\r\n const {\r\n defaultTitle,\r\n defaultDescription,\r\n siteUrl,\r\n defaultImage,\r\n twitterUsername,\r\n } = site.siteMetadata;\r\n\r\n const seo = {\r\n title: title || defaultTitle,\r\n description: description || defaultDescription,\r\n image: `${siteUrl}${image || defaultImage}`,\r\n url: `${siteUrl}${pathname}`,\r\n };\r\n\r\n return (\r\n <Helmet title={title} defaultTitle={seo.title} titleTemplate={`%s | ${defaultTitle}`}>\r\n <html lang=\"en\" />\r\n\r\n <meta name=\"description\" content={seo.description} />\r\n <meta name=\"image\" content={seo.image} />\r\n\r\n <meta property=\"og:title\" content={seo.title} />\r\n <meta property=\"og:description\" content={seo.description} />\r\n <meta property=\"og:image\" content={seo.image} />\r\n <meta property=\"og:url\" content={seo.url} />\r\n <meta property=\"og:type\" content=\"website\" />\r\n\r\n <meta name=\"twitter:card\" content=\"summary_large_image\" />\r\n <meta name=\"twitter:creator\" content={twitterUsername} />\r\n <meta name=\"twitter:title\" content={seo.title} />\r\n <meta name=\"twitter:description\" content={seo.description} />\r\n <meta name=\"twitter:image\" content={seo.image} />\r\n\r\n <meta name=\"google-site-verification\" content=\"DCl7VAf9tcz6eD9gb67NfkNnJ1PKRNcg8qQiwpbx9Lk\" />\r\n </Helmet>\r\n );\r\n};\r\n\r\nexport default Head;\r\n\r\nHead.propTypes = {\r\n title: PropTypes.string,\r\n description: PropTypes.string,\r\n image: PropTypes.string,\r\n};\r\n\r\nHead.defaultProps = {\r\n title: null,\r\n description: null,\r\n image: null,\r\n};\r\n","import { css } from 'styled-components';\r\n\r\nconst button = css`\r\n color: var(--green);\r\n background-color: transparent;\r\n border: 1px solid var(--green);\r\n border-radius: var(--border-radius);\r\n font-size: var(--fz-xs);\r\n font-family: var(--font-mono);\r\n line-height: 1;\r\n text-decoration: none;\r\n cursor: pointer;\r\n transition: var(--transition);\r\n padding: 1.25rem 1.75rem;\r\n\r\n &:hover,\r\n &:focus,\r\n &:active {\r\n background-color: var(--green-tint);\r\n outline: none;\r\n }\r\n &:after {\r\n display: none !important;\r\n }\r\n`;\r\n\r\nconst mixins = {\r\n flexCenter: css`\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n `,\r\n\r\n flexBetween: css`\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n `,\r\n\r\n link: css`\r\n display: inline-block;\r\n text-decoration: none;\r\n text-decoration-skip-ink: auto;\r\n color: inherit;\r\n position: relative;\r\n transition: var(--transition);\r\n cursor: pointer;\r\n &:hover,\r\n &:active,\r\n &:focus {\r\n color: var(--green);\r\n outline: 0;\r\n }\r\n `,\r\n\r\n inlineLink: css`\r\n display: inline-block;\r\n text-decoration: none;\r\n text-decoration-skip-ink: auto;\r\n position: relative;\r\n transition: var(--transition);\r\n cursor: pointer;\r\n color: var(--green);\r\n &:hover,\r\n &:focus,\r\n &:active {\r\n color: var(--green);\r\n outline: 0;\r\n &:after {\r\n width: 100%;\r\n }\r\n & > * {\r\n color: var(--green) !important;\r\n transition: var(--transition);\r\n }\r\n }\r\n &:after {\r\n content: '';\r\n display: block;\r\n width: 0;\r\n height: 1px;\r\n position: relative;\r\n bottom: 0.37em;\r\n background-color: var(--green);\r\n transition: var(--transition);\r\n opacity: 0.5;\r\n }\r\n `,\r\n\r\n button,\r\n\r\n smallButton: css`\r\n color: var(--green);\r\n background-color: transparent;\r\n border: 1px solid var(--green);\r\n border-radius: var(--border-radius);\r\n padding: 0.75rem 1rem;\r\n font-size: var(--fz-xs);\r\n font-family: var(--font-mono);\r\n line-height: 1;\r\n text-decoration: none;\r\n cursor: pointer;\r\n transition: var(--transition);\r\n &:hover,\r\n &:focus,\r\n &:active {\r\n background-color: var(--green-tint);\r\n }\r\n &:after {\r\n display: none !important;\r\n }\r\n `,\r\n\r\n bigButton: css`\r\n color: var(--green);\r\n background-color: transparent;\r\n border: 1px solid var(--green);\r\n border-radius: var(--border-radius);\r\n padding: 1.25rem 1.75rem;\r\n font-size: var(--fz-sm);\r\n font-family: var(--font-mono);\r\n line-height: 1;\r\n text-decoration: none;\r\n cursor: pointer;\r\n transition: var(--transition);\r\n &:hover,\r\n &:focus,\r\n &:active {\r\n background-color: var(--green-tint);\r\n }\r\n &:after {\r\n display: none !important;\r\n }\r\n `,\r\n\r\n boxShadow: css`\r\n box-shadow: 0 10px 30px -15px var(--navy-shadow);\r\n transition: var(--transition);\r\n\r\n &:hover,\r\n &:focus {\r\n box-shadow: 0 20px 30px -15px var(--navy-shadow);\r\n }\r\n `,\r\n\r\n fancyList: css`\r\n padding: 0;\r\n margin: 0;\r\n list-style: none;\r\n font-size: var(--fz-lg);\r\n li {\r\n position: relative;\r\n padding-left: 30px;\r\n margin-bottom: 10px;\r\n &:before {\r\n content: '▹';\r\n position: absolute;\r\n left: 0;\r\n color: var(--green);\r\n }\r\n }\r\n `,\r\n};\r\n\r\nexport default mixins;\r\n","import mixins from './mixins';\r\n\r\nconst theme = {\r\n bp: {\r\n mobileS: `max-width: 330px`,\r\n mobileM: `max-width: 400px`,\r\n mobileL: `max-width: 480px`,\r\n tabletS: `max-width: 600px`,\r\n tabletL: `max-width: 768px`,\r\n desktopXS: `max-width: 900px`,\r\n desktopS: `max-width: 1080px`,\r\n desktopM: `max-width: 1200px`,\r\n desktopL: `max-width: 1400px`,\r\n },\r\n\r\n mixins,\r\n};\r\n\r\nexport default theme;\r\n","import { css } from 'styled-components';\r\n\r\nimport CalibreRegularWoff from '@fonts/Calibre/Calibre-Regular.woff';\r\nimport CalibreRegularWoff2 from '@fonts/Calibre/Calibre-Regular.woff2';\r\nimport CalibreMediumWoff from '@fonts/Calibre/Calibre-Medium.woff';\r\nimport CalibreMediumWoff2 from '@fonts/Calibre/Calibre-Medium.woff2';\r\nimport CalibreSemiboldWoff from '@fonts/Calibre/Calibre-Semibold.woff';\r\nimport CalibreSemiboldWoff2 from '@fonts/Calibre/Calibre-Semibold.woff2';\r\n\r\nimport CalibreRegularItalicWoff from '@fonts/Calibre/Calibre-RegularItalic.woff';\r\nimport CalibreRegularItalicWoff2 from '@fonts/Calibre/Calibre-RegularItalic.woff2';\r\nimport CalibreMediumItalicWoff from '@fonts/Calibre/Calibre-MediumItalic.woff';\r\nimport CalibreMediumItalicWoff2 from '@fonts/Calibre/Calibre-MediumItalic.woff2';\r\nimport CalibreSemiboldItalicWoff from '@fonts/Calibre/Calibre-SemiboldItalic.woff';\r\nimport CalibreSemiboldItalicWoff2 from '@fonts/Calibre/Calibre-SemiboldItalic.woff2';\r\n\r\nimport SFMonoRegularWoff from '@fonts/SFMono/SFMono-Regular.woff';\r\nimport SFMonoRegularWoff2 from '@fonts/SFMono/SFMono-Regular.woff2';\r\nimport SFMonoSemiboldWoff from '@fonts/SFMono/SFMono-Semibold.woff';\r\nimport SFMonoSemiboldWoff2 from '@fonts/SFMono/SFMono-Semibold.woff2';\r\n\r\nimport SFMonoRegularItalicWoff from '@fonts/SFMono/SFMono-RegularItalic.woff';\r\nimport SFMonoRegularItalicWoff2 from '@fonts/SFMono/SFMono-RegularItalic.woff2';\r\nimport SFMonoSemiboldItalicWoff from '@fonts/SFMono/SFMono-SemiboldItalic.woff';\r\nimport SFMonoSemiboldItalicWoff2 from '@fonts/SFMono/SFMono-SemiboldItalic.woff2';\r\n\r\nconst calibreNormalWeights = {\r\n 400: [CalibreRegularWoff, CalibreRegularWoff2],\r\n 500: [CalibreMediumWoff, CalibreMediumWoff2],\r\n 600: [CalibreSemiboldWoff, CalibreSemiboldWoff2],\r\n};\r\n\r\nconst calibreItalicWeights = {\r\n 400: [CalibreRegularItalicWoff, CalibreRegularItalicWoff2],\r\n 500: [CalibreMediumItalicWoff, CalibreMediumItalicWoff2],\r\n 600: [CalibreSemiboldItalicWoff, CalibreSemiboldItalicWoff2],\r\n};\r\n\r\nconst sfMonoNormalWeights = {\r\n 400: [SFMonoRegularWoff, SFMonoRegularWoff2],\r\n 600: [SFMonoSemiboldWoff, SFMonoSemiboldWoff2],\r\n};\r\n\r\nconst sfMonoItalicWeights = {\r\n 400: [SFMonoRegularItalicWoff, SFMonoRegularItalicWoff2],\r\n 600: [SFMonoSemiboldItalicWoff, SFMonoSemiboldItalicWoff2],\r\n};\r\n\r\nconst calibre = {\r\n name: 'Calibre',\r\n normal: calibreNormalWeights,\r\n italic: calibreItalicWeights,\r\n};\r\n\r\nconst sfMono = {\r\n name: 'SF Mono',\r\n normal: sfMonoNormalWeights,\r\n italic: sfMonoItalicWeights,\r\n};\r\n\r\nconst createFontFaces = (family, style = 'normal') => {\r\n let styles = '';\r\n\r\n for (const [weight, formats] of Object.entries(family[style])) {\r\n const woff = formats[0];\r\n const woff2 = formats[1];\r\n\r\n styles += `\r\n @font-face {\r\n font-family: '${family.name}';\r\n src: url(${woff2}) format('woff2'),\r\n url(${woff}) format('woff');\r\n font-weight: ${weight};\r\n font-style: ${style};\r\n font-display: auto;\r\n }\r\n `;\r\n }\r\n\r\n return styles;\r\n};\r\n\r\nconst calibreNormal = createFontFaces(calibre);\r\nconst calibreItalic = createFontFaces(calibre, 'italic');\r\n\r\nconst sfMonoNormal = createFontFaces(sfMono);\r\nconst sfMonoItalic = createFontFaces(sfMono, 'italic');\r\n\r\nconst Fonts = css`\r\n ${calibreNormal + calibreItalic + sfMonoNormal + sfMonoItalic}\r\n`;\r\n\r\nexport default Fonts;\r\n","import { css } from 'styled-components';\r\n\r\n// https://reactcommunity.org/react-transition-group/css-transition\r\n\r\nconst TransitionStyles = css`\r\n /* Fade up */\r\n .fadeup-enter {\r\n opacity: 0.01;\r\n transform: translateY(20px);\r\n transition: opacity 300ms var(--easing), transform 300ms var(--easing);\r\n }\r\n\r\n .fadeup-enter-active {\r\n opacity: 1;\r\n transform: translateY(0px);\r\n transition: opacity 300ms var(--easing), transform 300ms var(--easing);\r\n }\r\n\r\n /* Fade down */\r\n .fadedown-enter {\r\n opacity: 0.01;\r\n transform: translateY(-20px);\r\n transition: opacity 300ms var(--easing), transform 300ms var(--easing);\r\n }\r\n\r\n .fadedown-enter-active {\r\n opacity: 1;\r\n transform: translateY(0px);\r\n transition: opacity 300ms var(--easing), transform 300ms var(--easing);\r\n }\r\n\r\n /* Fade */\r\n .fade-enter {\r\n opacity: 0;\r\n }\r\n .fade-enter-active {\r\n opacity: 1;\r\n transition: opacity 300ms var(--easing);\r\n }\r\n .fade-exit {\r\n opacity: 1;\r\n }\r\n .fade-exit-active {\r\n opacity: 0;\r\n transition: opacity 300ms var(--easing);\r\n }\r\n`;\r\n\r\nexport default TransitionStyles;\r\n","import { css } from 'styled-components';\r\n\r\nconst prismColors = {\r\n bg: `#112340`,\r\n lineHighlight: `#1d2d50`,\r\n blue: `#5ccfe6`,\r\n purple: `#c3a6ff`,\r\n green: `#bae67e`,\r\n yellow: `#ffd580`,\r\n orange: `#ffae57`,\r\n red: `#ef6b73`,\r\n grey: `#a2aabc`,\r\n comment: `#8695b799`,\r\n};\r\n\r\n// https://www.gatsbyjs.org/packages/gatsby-remark-prismjs\r\n\r\nconst PrismStyles = css`\r\n /**\r\n * Add back the container background-color, border-radius, padding, margin\r\n * and overflow that we removed from <pre>.\r\n */\r\n .gatsby-highlight {\r\n background-color: ${prismColors.bg};\r\n color: ${prismColors.variable};\r\n border-radius: var(--border-radius);\r\n margin: 2em 0;\r\n padding: 1.25em;\r\n overflow: auto;\r\n position: relative;\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-md);\r\n }\r\n\r\n .gatsby-highlight code[class*='language-'],\r\n .gatsby-highlight pre[class*='language-'] {\r\n height: auto !important;\r\n font-size: var(--fz-sm);\r\n line-height: 1.5;\r\n white-space: pre;\r\n word-spacing: normal;\r\n word-break: normal;\r\n word-wrap: normal;\r\n tab-size: 2;\r\n hyphens: none;\r\n }\r\n\r\n /**\r\n * Remove the default PrismJS theme background-color, border-radius, margin,\r\n * padding and overflow.\r\n * 1. Make the element just wide enough to fit its content.\r\n * 2. Always fill the visible space in .gatsby-highlight.\r\n * 3. Adjust the position of the line numbers\r\n */\r\n .gatsby-highlight pre[class*='language-'] {\r\n background-color: transparent;\r\n margin: 0;\r\n padding: 0;\r\n overflow: initial;\r\n float: left; /* 1 */\r\n min-width: 100%; /* 2 */\r\n padding-top: 2em;\r\n }\r\n\r\n /* File names */\r\n .gatsby-code-title {\r\n padding: 1em 1.5em;\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-xs);\r\n background-color: ${prismColors.bg};\r\n color: ${prismColors.grey};\r\n border-top-left-radius: var(--border-radius);\r\n border-top-right-radius: var(--border-radius);\r\n border-bottom: 1px solid ${prismColors.lineHighlight};\r\n\r\n & + .gatsby-highlight {\r\n margin-top: 0;\r\n border-top-left-radius: 0;\r\n border-top-right-radius: 0;\r\n }\r\n }\r\n\r\n /* Line highlighting */\r\n .gatsby-highlight-code-line {\r\n display: block;\r\n background-color: ${prismColors.lineHighlight};\r\n border-left: 2px solid var(--green);\r\n padding-left: calc(1em + 2px);\r\n padding-right: 1em;\r\n margin-right: -1.35em;\r\n margin-left: -1.35em;\r\n }\r\n\r\n /* Language badges */\r\n .gatsby-highlight pre[class*='language-']::before {\r\n background: var(--lightest-navy);\r\n color: var(--white);\r\n font-size: var(--fz-xxs);\r\n font-family: var(--font-mono);\r\n line-height: 1.5;\r\n letter-spacing: 0.1em;\r\n text-transform: uppercase;\r\n border-radius: 0 0 3px 3px;\r\n position: absolute;\r\n top: 0;\r\n left: 1.25rem;\r\n padding: 0.25rem 0.5rem;\r\n }\r\n .gatsby-highlight pre[class='language-javascript']::before {\r\n content: 'js';\r\n }\r\n .gatsby-highlight pre[class='language-js']::before {\r\n content: 'js';\r\n }\r\n .gatsby-highlight pre[class='language-jsx']::before {\r\n content: 'jsx';\r\n }\r\n .gatsby-highlight pre[class='language-graphql']::before {\r\n content: 'GraphQL';\r\n }\r\n .gatsby-highlight pre[class='language-html']::before {\r\n content: 'html';\r\n }\r\n .gatsby-highlight pre[class='language-css']::before {\r\n content: 'css';\r\n }\r\n .gatsby-highlight pre[class='language-mdx']::before {\r\n content: 'mdx';\r\n }\r\n .gatsby-highlight pre[class='language-shell']::before {\r\n content: 'shell';\r\n }\r\n .gatsby-highlight pre[class='language-sh']::before {\r\n content: 'sh';\r\n }\r\n .gatsby-highlight pre[class='language-bash']::before {\r\n content: 'bash';\r\n }\r\n .gatsby-highlight pre[class='language-yaml']::before {\r\n content: 'yaml';\r\n }\r\n .gatsby-highlight pre[class='language-markdown']::before {\r\n content: 'md';\r\n }\r\n .gatsby-highlight pre[class='language-json']::before,\r\n .gatsby-highlight pre[class='language-json5']::before {\r\n content: 'json';\r\n }\r\n .gatsby-highlight pre[class='language-diff']::before {\r\n content: 'diff';\r\n }\r\n .gatsby-highlight pre[class='language-text']::before {\r\n content: 'text';\r\n }\r\n .gatsby-highlight pre[class='language-flow']::before {\r\n content: 'flow';\r\n }\r\n\r\n /* Prism Styles */\r\n .token {\r\n display: inline;\r\n }\r\n .token.comment,\r\n .token.block-comment,\r\n .token.prolog,\r\n .token.doctype,\r\n .token.cdata {\r\n color: ${prismColors.comment};\r\n }\r\n .token.punctuation {\r\n color: ${prismColors.grey};\r\n }\r\n .token.namespace,\r\n .token.deleted {\r\n color: ${prismColors.red};\r\n }\r\n .token.function-name,\r\n .token.function,\r\n .token.class-name,\r\n .token.constant,\r\n .token.symbol {\r\n color: ${prismColors.yellow};\r\n }\r\n .token.attr-name,\r\n .token.operator,\r\n .token.rule {\r\n color: ${prismColors.orange};\r\n }\r\n .token.keyword,\r\n .token.boolean,\r\n .token.number,\r\n .token.property {\r\n color: ${prismColors.purple};\r\n }\r\n .token.tag,\r\n .token.selector,\r\n .token.important,\r\n .token.atrule,\r\n .token.builtin,\r\n .token.entity,\r\n .token.url {\r\n color: ${prismColors.blue};\r\n }\r\n .token.string,\r\n .token.char,\r\n .token.attr-value,\r\n .token.regex,\r\n .token.variable,\r\n .token.inserted {\r\n color: ${prismColors.green};\r\n }\r\n .token.important,\r\n .token.bold {\r\n font-weight: 600;\r\n }\r\n .token.italic {\r\n font-style: italic;\r\n }\r\n .token.entity {\r\n cursor: help;\r\n }\r\n .namespace {\r\n opacity: 0.7;\r\n }\r\n`;\r\n\r\nexport default PrismStyles;\r\n","export default function _taggedTemplateLiteralLoose(strings, raw) {\n if (!raw) {\n raw = strings.slice(0);\n }\n\n strings.raw = raw;\n return strings;\n}","import { createGlobalStyle } from 'styled-components';\r\nimport Fonts from './fonts';\r\nimport TransitionStyles from './TransitionStyles';\r\nimport PrismStyles from './PrismStyles';\r\n\r\nconst GlobalStyle = createGlobalStyle`\r\n ${Fonts};\r\n\r\n :root {\r\n --dark-navy: #020c1b;\r\n --navy: #0a192f;\r\n --light-navy: #172a45;\r\n --lightest-navy: #303C55;\r\n --navy-shadow: rgba(2, 12, 27, 0.7);\r\n --slate: #8892b0;\r\n --light-slate: #a8b2d1;\r\n --lightest-slate: #ccd6f6;\r\n --white: #e6f1ff;\r\n --green: #64ffda;\r\n --green-tint: rgba(100, 255, 218, 0.1);\r\n\r\n --font-sans: 'Calibre', 'San Francisco', 'SF Pro Text', -apple-system, system-ui, sans-serif;\r\n --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;\r\n\r\n --fz-xxs: 12px;\r\n --fz-xs: 13px;\r\n --fz-sm: 14px;\r\n --fz-md: 16px;\r\n --fz-lg: 18px;\r\n --fz-xl: 20px;\r\n --fz-xxl: 22px;\r\n --fz-heading: 32px;\r\n\r\n --border-radius: 4px;\r\n --nav-height: 100px;\r\n --nav-scroll-height: 70px;\r\n\r\n --tab-height: 42px;\r\n --tab-width: 120px;\r\n\r\n --easing: cubic-bezier(0.645, 0.045, 0.355, 1);\r\n --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);\r\n\r\n --hamburger-width: 30px;\r\n\r\n --ham-before: top 0.1s ease-in 0.25s, opacity 0.1s ease-in;\r\n --ham-before-active: top 0.1s ease-out, opacity 0.1s ease-out 0.12s;\r\n --ham-after: bottom 0.1s ease-in 0.25s, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);\r\n --ham-after-active: bottom 0.1s ease-out, transform 0.22s cubic-bezier(0.215, 0.61, 0.355, 1) 0.12s;\r\n }\r\n\r\n html {\r\n box-sizing: border-box;\r\n width: 100%;\r\n }\r\n\r\n *,\r\n *:before,\r\n *:after {\r\n box-sizing: inherit;\r\n }\r\n\r\n ::selection {\r\n background-color: var(--slate);\r\n color: var(--lightest-slate);\r\n }\r\n\r\n body {\r\n margin: 0;\r\n width: 100%;\r\n min-height: 100%;\r\n overflow-x: hidden;\r\n -moz-osx-font-smoothing: grayscale;\r\n -webkit-font-smoothing: antialiased;\r\n background-color: var(--navy);\r\n color: var(--slate);\r\n font-family: var(--font-sans);\r\n font-size: var(--fz-xl);\r\n line-height: 1.3;\r\n\r\n @media (max-width: 480px) {\r\n font-size: var(--fz-lg);\r\n }\r\n\r\n &.hidden {\r\n overflow: hidden;\r\n }\r\n\r\n &.blur {\r\n overflow: hidden;\r\n\r\n header {\r\n background-color: transparent;\r\n }\r\n\r\n #content > * {\r\n filter: blur(5px) brightness(0.7);\r\n transition: var(--transition);\r\n pointer-events: none;\r\n user-select: none;\r\n }\r\n }\r\n }\r\n\r\n #root {\r\n min-height: 100vh;\r\n display: grid;\r\n grid-template-rows: 1fr auto;\r\n grid-template-columns: 100%;\r\n }\r\n\r\n main {\r\n margin: 0 auto;\r\n width: 100%;\r\n max-width: 1600px;\r\n min-height: 100vh;\r\n padding: 200px 150px;\r\n\r\n @media (max-width: 1080px) {\r\n padding: 200px 100px;\r\n }\r\n @media (max-width: 768px) {\r\n padding: 150px 50px;\r\n }\r\n @media (max-width: 480px) {\r\n padding: 125px 25px;\r\n }\r\n\r\n &.fillHeight {\r\n padding: 0 150px;\r\n\r\n @media (max-width: 1080px) {\r\n padding: 0 100px;\r\n }\r\n @media (max-width: 768px) {\r\n padding: 0 50px;\r\n }\r\n @media (max-width: 480px) {\r\n padding: 0 25px;\r\n }\r\n }\r\n }\r\n\r\n section {\r\n margin: 0 auto;\r\n padding: 100px 0;\r\n max-width: 1000px;\r\n\r\n @media (max-width: 768px) {\r\n padding: 80px 0;\r\n }\r\n\r\n @media (max-width: 480px) {\r\n padding: 60px 0;\r\n }\r\n }\r\n\r\n h1,\r\n h2,\r\n h3,\r\n h4,\r\n h5,\r\n h6 {\r\n margin: 0 0 10px 0;\r\n font-weight: 600;\r\n color: var(--lightest-slate);\r\n line-height: 1.1;\r\n }\r\n\r\n .big-heading {\r\n margin: 0;\r\n font-size: clamp(40px, 8vw, 80px);\r\n }\r\n\r\n .medium-heading {\r\n margin: 0;\r\n font-size: clamp(40px, 8vw, 60px);\r\n }\r\n\r\n .numbered-heading {\r\n display: flex;\r\n align-items: center;\r\n position: relative;\r\n margin: 10px 0 40px;\r\n width: 100%;\r\n font-size: clamp(26px, 5vw, var(--fz-heading));\r\n white-space: nowrap;\r\n\r\n &:before {\r\n position: relative;\r\n bottom: 4px;\r\n counter-increment: section;\r\n content: '0' counter(section) '.';\r\n margin-right: 10px;\r\n color: var(--green);\r\n font-family: var(--font-mono);\r\n font-size: clamp(var(--fz-md), 3vw, var(--fz-xl));\r\n font-weight: 400;\r\n\r\n @media (max-width: 480px) {\r\n margin-bottom: -3px;\r\n margin-right: 5px;\r\n }\r\n }\r\n\r\n &:after {\r\n content: '';\r\n display: block;\r\n position: relative;\r\n top: -5px;\r\n width: 300px;\r\n height: 1px;\r\n margin-left: 20px;\r\n background-color: var(--lightest-navy);\r\n\r\n @media (max-width: 1080px) {\r\n width: 200px;\r\n }\r\n @media (max-width: 768px) {\r\n width: 100%;\r\n }\r\n @media (max-width: 600px) {\r\n margin-left: 10px;\r\n }\r\n }\r\n }\r\n\r\n img,\r\n svg,\r\n .gatsby-image-wrapper {\r\n width: 100%;\r\n max-width: 100%;\r\n vertical-align: middle;\r\n }\r\n\r\n img[alt=\"\"],\r\n img:not([alt]) {\r\n filter: blur(5px);\r\n }\r\n\r\n svg {\r\n width: 100%;\r\n height: 100%;\r\n fill: currentColor;\r\n vertical-align: middle;\r\n }\r\n\r\n a {\r\n display: inline-block;\r\n text-decoration: none;\r\n text-decoration-skip-ink: auto;\r\n color: inherit;\r\n position: relative;\r\n transition: var(--transition);\r\n cursor: pointer;\r\n\r\n &:hover,\r\n &:focus {\r\n color: var(--green);\r\n }\r\n\r\n &.inline-link {\r\n ${({ theme }) => theme.mixins.inlineLink};\r\n }\r\n }\r\n\r\n button {\r\n cursor: pointer;\r\n border: 0;\r\n border-radius: 0;\r\n }\r\n\r\n input, textarea {\r\n border-radius: 0;\r\n outline: 0;\r\n\r\n &:focus {\r\n outline: 0;\r\n }\r\n &:focus,\r\n &:active {\r\n &::placeholder {\r\n opacity: 0.5;\r\n }\r\n }\r\n }\r\n\r\n p {\r\n margin: 0 0 15px 0;\r\n\r\n &:last-child,\r\n &:last-of-type {\r\n margin: 0;\r\n }\r\n\r\n & > a {\r\n ${({ theme }) => theme.mixins.inlineLink};\r\n }\r\n\r\n & > code {\r\n background-color: var(--light-navy);\r\n color: var(--white);\r\n font-size: var(--fz-sm);\r\n border-radius: var(--border-radius);\r\n padding: 0.3em 0.5em;\r\n }\r\n }\r\n\r\n ul {\r\n &.fancy-list {\r\n padding: 0;\r\n margin: 0;\r\n list-style: none;\r\n font-size: var(--fz-lg);\r\n li {\r\n position: relative;\r\n padding-left: 30px;\r\n margin-bottom: 10px;\r\n &:before {\r\n content: '▹';\r\n position: absolute;\r\n left: 0;\r\n color: var(--green);\r\n }\r\n }\r\n }\r\n }\r\n\r\n blockquote {\r\n border-left-color: var(--green);\r\n border-left-style: solid;\r\n border-left-width: 1px;\r\n margin-left: 0px;\r\n margin-right: 0px;\r\n padding-left: 1.5rem;\r\n\r\n p {\r\n font-style: italic;\r\n font-size: 24px;\r\n }\r\n }\r\n\r\n hr {\r\n background-color: var(--lightest-navy);\r\n height: 1px;\r\n border-width: 0px;\r\n border-style: initial;\r\n border-color: initial;\r\n border-image: initial;\r\n margin: 1rem;\r\n }\r\n\r\n code {\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-md);\r\n }\r\n\r\n #logo {\r\n color: var(--green);\r\n }\r\n\r\n .overline {\r\n color: var(--green);\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-md);\r\n font-weight: 400;\r\n }\r\n\r\n .subtitle {\r\n color: var(--green);\r\n margin: 0 0 20px 0;\r\n font-size: var(--fz-md);\r\n font-family: var(--font-mono);\r\n font-weight: 400;\r\n line-height: 1.5;\r\n @media (max-width: 1080px) {\r\n font-size: var(--fz-sm);\r\n }\r\n @media (max-width: 768px) {\r\n font-size: var(--fz-xs);\r\n }\r\n\r\n a {\r\n ${({ theme }) => theme.mixins.inlineLink};\r\n line-height: 1.5;\r\n }\r\n }\r\n\r\n .breadcrumb {\r\n display: flex;\r\n align-items: center;\r\n margin-bottom: 50px;\r\n color: var(--green);\r\n\r\n .arrow {\r\n display: block;\r\n margin-right: 10px;\r\n padding-top: 4px;\r\n }\r\n\r\n a {\r\n ${({ theme }) => theme.mixins.inlineLink};\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-sm);\r\n font-weight: 600;\r\n line-height: 1.5;\r\n text-transform: uppercase;\r\n letter-spacing: 0.1em;\r\n }\r\n }\r\n\r\n .gatsby-image-outer-wrapper {\r\n height: 100%;\r\n }\r\n\r\n ${TransitionStyles};\r\n\r\n ${PrismStyles};\r\n`;\r\n\r\nexport default GlobalStyle;\r\n","import React, { useState, useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styled, { ThemeProvider } from 'styled-components';\r\nimport { Head, Loader, Nav, Social, Email, Footer } from '@components';\r\nimport { GlobalStyle, theme } from '@styles';\r\n\r\n// https://medium.com/@chrisfitkin/how-to-smooth-scroll-links-in-gatsby-3dc445299558\r\nif (typeof window !== 'undefined') {\r\n // eslint-disable-next-line global-require\r\n require('smooth-scroll')('a[href*=\"#\"]');\r\n}\r\n\r\nconst SkipToContentLink = styled.a`\r\n position: absolute;\r\n top: auto;\r\n left: -999px;\r\n width: 1px;\r\n height: 1px;\r\n overflow: hidden;\r\n z-index: -99;\r\n &:focus,\r\n &:active {\r\n top: 0;\r\n left: 0;\r\n width: auto;\r\n height: auto;\r\n padding: 18px 23px;\r\n outline: 0;\r\n border-radius: var(--border-radius);\r\n background-color: var(--light-navy);\r\n color: var(--green);\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-sm);\r\n line-height: 1;\r\n text-decoration: none;\r\n cursor: pointer;\r\n overflow: auto;\r\n transition: var(--transition);\r\n z-index: 99;\r\n }\r\n`;\r\nconst StyledContent = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n min-height: 100vh;\r\n`;\r\n\r\nconst Layout = ({ children, location }) => {\r\n const isHome = location.pathname === '/';\r\n const [isLoading, setIsLoading] = useState(isHome);\r\n\r\n useEffect(() => {\r\n if (isLoading) {\r\n return;\r\n }\r\n if (location.hash) {\r\n const id = location.hash.substring(1); // location.hash without the '#'\r\n setTimeout(() => {\r\n const el = document.getElementById(id);\r\n if (el) {\r\n el.scrollIntoView();\r\n el.focus();\r\n }\r\n }, 0);\r\n }\r\n }, [isLoading]);\r\n\r\n // Sets target=\"_blank\" rel=\"noopener noreferrer\" on external links\r\n const handleExternalLinks = () => {\r\n const allLinks = Array.from(document.querySelectorAll('a'));\r\n if (allLinks.length > 0) {\r\n allLinks.forEach(link => {\r\n if (link.host !== window.location.host) {\r\n link.setAttribute('rel', 'noopener noreferrer');\r\n link.setAttribute('target', '_blank');\r\n }\r\n });\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n handleExternalLinks();\r\n }, []);\r\n\r\n return (\r\n <>\r\n <Head />\r\n\r\n <div id=\"root\">\r\n <ThemeProvider theme={theme}>\r\n <GlobalStyle />\r\n\r\n <SkipToContentLink href=\"#content\">Skip to Content</SkipToContentLink>\r\n\r\n {isLoading && isHome ? (\r\n <Loader finishLoading={() => setIsLoading(false)} />\r\n ) : (\r\n <StyledContent>\r\n <Nav isHome={isHome} />\r\n <Social isHome={isHome} />\r\n <Email isHome={isHome} />\r\n\r\n <div id=\"content\">\r\n {children}\r\n <Footer />\r\n </div>\r\n </StyledContent>\r\n )}\r\n </ThemeProvider>\r\n </div>\r\n </>\r\n );\r\n};\r\n\r\nLayout.propTypes = {\r\n children: PropTypes.node.isRequired,\r\n location: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default Layout;\r\n","/*\n * anime.js v3.2.1\n * (c) 2020 Julian Garnier\n * Released under the MIT license\n * animejs.com\n */\n// Defaults\nvar defaultInstanceSettings = {\n update: null,\n begin: null,\n loopBegin: null,\n changeBegin: null,\n change: null,\n changeComplete: null,\n loopComplete: null,\n complete: null,\n loop: 1,\n direction: 'normal',\n autoplay: true,\n timelineOffset: 0\n};\nvar defaultTweenSettings = {\n duration: 1000,\n delay: 0,\n endDelay: 0,\n easing: 'easeOutElastic(1, .5)',\n round: 0\n};\nvar validTransforms = ['translateX', 'translateY', 'translateZ', 'rotate', 'rotateX', 'rotateY', 'rotateZ', 'scale', 'scaleX', 'scaleY', 'scaleZ', 'skew', 'skewX', 'skewY', 'perspective', 'matrix', 'matrix3d']; // Caching\n\nvar cache = {\n CSS: {},\n springs: {}\n}; // Utils\n\nfunction minMax(val, min, max) {\n return Math.min(Math.max(val, min), max);\n}\n\nfunction stringContains(str, text) {\n return str.indexOf(text) > -1;\n}\n\nfunction applyArguments(func, args) {\n return func.apply(null, args);\n}\n\nvar is = {\n arr: function arr(a) {\n return Array.isArray(a);\n },\n obj: function obj(a) {\n return stringContains(Object.prototype.toString.call(a), 'Object');\n },\n pth: function pth(a) {\n return is.obj(a) && a.hasOwnProperty('totalLength');\n },\n svg: function svg(a) {\n return a instanceof SVGElement;\n },\n inp: function inp(a) {\n return a instanceof HTMLInputElement;\n },\n dom: function dom(a) {\n return a.nodeType || is.svg(a);\n },\n str: function str(a) {\n return typeof a === 'string';\n },\n fnc: function fnc(a) {\n return typeof a === 'function';\n },\n und: function und(a) {\n return typeof a === 'undefined';\n },\n nil: function nil(a) {\n return is.und(a) || a === null;\n },\n hex: function hex(a) {\n return /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(a);\n },\n rgb: function rgb(a) {\n return /^rgb/.test(a);\n },\n hsl: function hsl(a) {\n return /^hsl/.test(a);\n },\n col: function col(a) {\n return is.hex(a) || is.rgb(a) || is.hsl(a);\n },\n key: function key(a) {\n return !defaultInstanceSettings.hasOwnProperty(a) && !defaultTweenSettings.hasOwnProperty(a) && a !== 'targets' && a !== 'keyframes';\n }\n}; // Easings\n\nfunction parseEasingParameters(string) {\n var match = /\\(([^)]+)\\)/.exec(string);\n return match ? match[1].split(',').map(function (p) {\n return parseFloat(p);\n }) : [];\n} // Spring solver inspired by Webkit Copyright © 2016 Apple Inc. All rights reserved. https://webkit.org/demos/spring/spring.js\n\n\nfunction spring(string, duration) {\n var params = parseEasingParameters(string);\n var mass = minMax(is.und(params[0]) ? 1 : params[0], .1, 100);\n var stiffness = minMax(is.und(params[1]) ? 100 : params[1], .1, 100);\n var damping = minMax(is.und(params[2]) ? 10 : params[2], .1, 100);\n var velocity = minMax(is.und(params[3]) ? 0 : params[3], .1, 100);\n var w0 = Math.sqrt(stiffness / mass);\n var zeta = damping / (2 * Math.sqrt(stiffness * mass));\n var wd = zeta < 1 ? w0 * Math.sqrt(1 - zeta * zeta) : 0;\n var a = 1;\n var b = zeta < 1 ? (zeta * w0 + -velocity) / wd : -velocity + w0;\n\n function solver(t) {\n var progress = duration ? duration * t / 1000 : t;\n\n if (zeta < 1) {\n progress = Math.exp(-progress * zeta * w0) * (a * Math.cos(wd * progress) + b * Math.sin(wd * progress));\n } else {\n progress = (a + b * progress) * Math.exp(-progress * w0);\n }\n\n if (t === 0 || t === 1) {\n return t;\n }\n\n return 1 - progress;\n }\n\n function getDuration() {\n var cached = cache.springs[string];\n\n if (cached) {\n return cached;\n }\n\n var frame = 1 / 6;\n var elapsed = 0;\n var rest = 0;\n\n while (true) {\n elapsed += frame;\n\n if (solver(elapsed) === 1) {\n rest++;\n\n if (rest >= 16) {\n break;\n }\n } else {\n rest = 0;\n }\n }\n\n var duration = elapsed * frame * 1000;\n cache.springs[string] = duration;\n return duration;\n }\n\n return duration ? solver : getDuration;\n} // Basic steps easing implementation https://developer.mozilla.org/fr/docs/Web/CSS/transition-timing-function\n\n\nfunction steps(steps) {\n if (steps === void 0) steps = 10;\n return function (t) {\n return Math.ceil(minMax(t, 0.000001, 1) * steps) * (1 / steps);\n };\n} // BezierEasing https://github.com/gre/bezier-easing\n\n\nvar bezier = function () {\n var kSplineTableSize = 11;\n var kSampleStepSize = 1.0 / (kSplineTableSize - 1.0);\n\n function A(aA1, aA2) {\n return 1.0 - 3.0 * aA2 + 3.0 * aA1;\n }\n\n function B(aA1, aA2) {\n return 3.0 * aA2 - 6.0 * aA1;\n }\n\n function C(aA1) {\n return 3.0 * aA1;\n }\n\n function calcBezier(aT, aA1, aA2) {\n return ((A(aA1, aA2) * aT + B(aA1, aA2)) * aT + C(aA1)) * aT;\n }\n\n function getSlope(aT, aA1, aA2) {\n return 3.0 * A(aA1, aA2) * aT * aT + 2.0 * B(aA1, aA2) * aT + C(aA1);\n }\n\n function binarySubdivide(aX, aA, aB, mX1, mX2) {\n var currentX,\n currentT,\n i = 0;\n\n do {\n currentT = aA + (aB - aA) / 2.0;\n currentX = calcBezier(currentT, mX1, mX2) - aX;\n\n if (currentX > 0.0) {\n aB = currentT;\n } else {\n aA = currentT;\n }\n } while (Math.abs(currentX) > 0.0000001 && ++i < 10);\n\n return currentT;\n }\n\n function newtonRaphsonIterate(aX, aGuessT, mX1, mX2) {\n for (var i = 0; i < 4; ++i) {\n var currentSlope = getSlope(aGuessT, mX1, mX2);\n\n if (currentSlope === 0.0) {\n return aGuessT;\n }\n\n var currentX = calcBezier(aGuessT, mX1, mX2) - aX;\n aGuessT -= currentX / currentSlope;\n }\n\n return aGuessT;\n }\n\n function bezier(mX1, mY1, mX2, mY2) {\n if (!(0 <= mX1 && mX1 <= 1 && 0 <= mX2 && mX2 <= 1)) {\n return;\n }\n\n var sampleValues = new Float32Array(kSplineTableSize);\n\n if (mX1 !== mY1 || mX2 !== mY2) {\n for (var i = 0; i < kSplineTableSize; ++i) {\n sampleValues[i] = calcBezier(i * kSampleStepSize, mX1, mX2);\n }\n }\n\n function getTForX(aX) {\n var intervalStart = 0;\n var currentSample = 1;\n var lastSample = kSplineTableSize - 1;\n\n for (; currentSample !== lastSample && sampleValues[currentSample] <= aX; ++currentSample) {\n intervalStart += kSampleStepSize;\n }\n\n --currentSample;\n var dist = (aX - sampleValues[currentSample]) / (sampleValues[currentSample + 1] - sampleValues[currentSample]);\n var guessForT = intervalStart + dist * kSampleStepSize;\n var initialSlope = getSlope(guessForT, mX1, mX2);\n\n if (initialSlope >= 0.001) {\n return newtonRaphsonIterate(aX, guessForT, mX1, mX2);\n } else if (initialSlope === 0.0) {\n return guessForT;\n } else {\n return binarySubdivide(aX, intervalStart, intervalStart + kSampleStepSize, mX1, mX2);\n }\n }\n\n return function (x) {\n if (mX1 === mY1 && mX2 === mY2) {\n return x;\n }\n\n if (x === 0 || x === 1) {\n return x;\n }\n\n return calcBezier(getTForX(x), mY1, mY2);\n };\n }\n\n return bezier;\n}();\n\nvar penner = function () {\n // Based on jQuery UI's implemenation of easing equations from Robert Penner (http://www.robertpenner.com/easing)\n var eases = {\n linear: function linear() {\n return function (t) {\n return t;\n };\n }\n };\n var functionEasings = {\n Sine: function Sine() {\n return function (t) {\n return 1 - Math.cos(t * Math.PI / 2);\n };\n },\n Circ: function Circ() {\n return function (t) {\n return 1 - Math.sqrt(1 - t * t);\n };\n },\n Back: function Back() {\n return function (t) {\n return t * t * (3 * t - 2);\n };\n },\n Bounce: function Bounce() {\n return function (t) {\n var pow2,\n b = 4;\n\n while (t < ((pow2 = Math.pow(2, --b)) - 1) / 11) {}\n\n return 1 / Math.pow(4, 3 - b) - 7.5625 * Math.pow((pow2 * 3 - 2) / 22 - t, 2);\n };\n },\n Elastic: function Elastic(amplitude, period) {\n if (amplitude === void 0) amplitude = 1;\n if (period === void 0) period = .5;\n var a = minMax(amplitude, 1, 10);\n var p = minMax(period, .1, 2);\n return function (t) {\n return t === 0 || t === 1 ? t : -a * Math.pow(2, 10 * (t - 1)) * Math.sin((t - 1 - p / (Math.PI * 2) * Math.asin(1 / a)) * (Math.PI * 2) / p);\n };\n }\n };\n var baseEasings = ['Quad', 'Cubic', 'Quart', 'Quint', 'Expo'];\n baseEasings.forEach(function (name, i) {\n functionEasings[name] = function () {\n return function (t) {\n return Math.pow(t, i + 2);\n };\n };\n });\n Object.keys(functionEasings).forEach(function (name) {\n var easeIn = functionEasings[name];\n eases['easeIn' + name] = easeIn;\n\n eases['easeOut' + name] = function (a, b) {\n return function (t) {\n return 1 - easeIn(a, b)(1 - t);\n };\n };\n\n eases['easeInOut' + name] = function (a, b) {\n return function (t) {\n return t < 0.5 ? easeIn(a, b)(t * 2) / 2 : 1 - easeIn(a, b)(t * -2 + 2) / 2;\n };\n };\n\n eases['easeOutIn' + name] = function (a, b) {\n return function (t) {\n return t < 0.5 ? (1 - easeIn(a, b)(1 - t * 2)) / 2 : (easeIn(a, b)(t * 2 - 1) + 1) / 2;\n };\n };\n });\n return eases;\n}();\n\nfunction parseEasings(easing, duration) {\n if (is.fnc(easing)) {\n return easing;\n }\n\n var name = easing.split('(')[0];\n var ease = penner[name];\n var args = parseEasingParameters(easing);\n\n switch (name) {\n case 'spring':\n return spring(easing, duration);\n\n case 'cubicBezier':\n return applyArguments(bezier, args);\n\n case 'steps':\n return applyArguments(steps, args);\n\n default:\n return applyArguments(ease, args);\n }\n} // Strings\n\n\nfunction selectString(str) {\n try {\n var nodes = document.querySelectorAll(str);\n return nodes;\n } catch (e) {\n return;\n }\n} // Arrays\n\n\nfunction filterArray(arr, callback) {\n var len = arr.length;\n var thisArg = arguments.length >= 2 ? arguments[1] : void 0;\n var result = [];\n\n for (var i = 0; i < len; i++) {\n if (i in arr) {\n var val = arr[i];\n\n if (callback.call(thisArg, val, i, arr)) {\n result.push(val);\n }\n }\n }\n\n return result;\n}\n\nfunction flattenArray(arr) {\n return arr.reduce(function (a, b) {\n return a.concat(is.arr(b) ? flattenArray(b) : b);\n }, []);\n}\n\nfunction toArray(o) {\n if (is.arr(o)) {\n return o;\n }\n\n if (is.str(o)) {\n o = selectString(o) || o;\n }\n\n if (o instanceof NodeList || o instanceof HTMLCollection) {\n return [].slice.call(o);\n }\n\n return [o];\n}\n\nfunction arrayContains(arr, val) {\n return arr.some(function (a) {\n return a === val;\n });\n} // Objects\n\n\nfunction cloneObject(o) {\n var clone = {};\n\n for (var p in o) {\n clone[p] = o[p];\n }\n\n return clone;\n}\n\nfunction replaceObjectProps(o1, o2) {\n var o = cloneObject(o1);\n\n for (var p in o1) {\n o[p] = o2.hasOwnProperty(p) ? o2[p] : o1[p];\n }\n\n return o;\n}\n\nfunction mergeObjects(o1, o2) {\n var o = cloneObject(o1);\n\n for (var p in o2) {\n o[p] = is.und(o1[p]) ? o2[p] : o1[p];\n }\n\n return o;\n} // Colors\n\n\nfunction rgbToRgba(rgbValue) {\n var rgb = /rgb\\((\\d+,\\s*[\\d]+,\\s*[\\d]+)\\)/g.exec(rgbValue);\n return rgb ? \"rgba(\" + rgb[1] + \",1)\" : rgbValue;\n}\n\nfunction hexToRgba(hexValue) {\n var rgx = /^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i;\n var hex = hexValue.replace(rgx, function (m, r, g, b) {\n return r + r + g + g + b + b;\n });\n var rgb = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(hex);\n var r = parseInt(rgb[1], 16);\n var g = parseInt(rgb[2], 16);\n var b = parseInt(rgb[3], 16);\n return \"rgba(\" + r + \",\" + g + \",\" + b + \",1)\";\n}\n\nfunction hslToRgba(hslValue) {\n var hsl = /hsl\\((\\d+),\\s*([\\d.]+)%,\\s*([\\d.]+)%\\)/g.exec(hslValue) || /hsla\\((\\d+),\\s*([\\d.]+)%,\\s*([\\d.]+)%,\\s*([\\d.]+)\\)/g.exec(hslValue);\n var h = parseInt(hsl[1], 10) / 360;\n var s = parseInt(hsl[2], 10) / 100;\n var l = parseInt(hsl[3], 10) / 100;\n var a = hsl[4] || 1;\n\n function hue2rgb(p, q, t) {\n if (t < 0) {\n t += 1;\n }\n\n if (t > 1) {\n t -= 1;\n }\n\n if (t < 1 / 6) {\n return p + (q - p) * 6 * t;\n }\n\n if (t < 1 / 2) {\n return q;\n }\n\n if (t < 2 / 3) {\n return p + (q - p) * (2 / 3 - t) * 6;\n }\n\n return p;\n }\n\n var r, g, b;\n\n if (s == 0) {\n r = g = b = l;\n } else {\n var q = l < 0.5 ? l * (1 + s) : l + s - l * s;\n var p = 2 * l - q;\n r = hue2rgb(p, q, h + 1 / 3);\n g = hue2rgb(p, q, h);\n b = hue2rgb(p, q, h - 1 / 3);\n }\n\n return \"rgba(\" + r * 255 + \",\" + g * 255 + \",\" + b * 255 + \",\" + a + \")\";\n}\n\nfunction colorToRgb(val) {\n if (is.rgb(val)) {\n return rgbToRgba(val);\n }\n\n if (is.hex(val)) {\n return hexToRgba(val);\n }\n\n if (is.hsl(val)) {\n return hslToRgba(val);\n }\n} // Units\n\n\nfunction getUnit(val) {\n var split = /[+-]?\\d*\\.?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(val);\n\n if (split) {\n return split[1];\n }\n}\n\nfunction getTransformUnit(propName) {\n if (stringContains(propName, 'translate') || propName === 'perspective') {\n return 'px';\n }\n\n if (stringContains(propName, 'rotate') || stringContains(propName, 'skew')) {\n return 'deg';\n }\n} // Values\n\n\nfunction getFunctionValue(val, animatable) {\n if (!is.fnc(val)) {\n return val;\n }\n\n return val(animatable.target, animatable.id, animatable.total);\n}\n\nfunction getAttribute(el, prop) {\n return el.getAttribute(prop);\n}\n\nfunction convertPxToUnit(el, value, unit) {\n var valueUnit = getUnit(value);\n\n if (arrayContains([unit, 'deg', 'rad', 'turn'], valueUnit)) {\n return value;\n }\n\n var cached = cache.CSS[value + unit];\n\n if (!is.und(cached)) {\n return cached;\n }\n\n var baseline = 100;\n var tempEl = document.createElement(el.tagName);\n var parentEl = el.parentNode && el.parentNode !== document ? el.parentNode : document.body;\n parentEl.appendChild(tempEl);\n tempEl.style.position = 'absolute';\n tempEl.style.width = baseline + unit;\n var factor = baseline / tempEl.offsetWidth;\n parentEl.removeChild(tempEl);\n var convertedUnit = factor * parseFloat(value);\n cache.CSS[value + unit] = convertedUnit;\n return convertedUnit;\n}\n\nfunction getCSSValue(el, prop, unit) {\n if (prop in el.style) {\n var uppercasePropName = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();\n var value = el.style[prop] || getComputedStyle(el).getPropertyValue(uppercasePropName) || '0';\n return unit ? convertPxToUnit(el, value, unit) : value;\n }\n}\n\nfunction getAnimationType(el, prop) {\n if (is.dom(el) && !is.inp(el) && (!is.nil(getAttribute(el, prop)) || is.svg(el) && el[prop])) {\n return 'attribute';\n }\n\n if (is.dom(el) && arrayContains(validTransforms, prop)) {\n return 'transform';\n }\n\n if (is.dom(el) && prop !== 'transform' && getCSSValue(el, prop)) {\n return 'css';\n }\n\n if (el[prop] != null) {\n return 'object';\n }\n}\n\nfunction getElementTransforms(el) {\n if (!is.dom(el)) {\n return;\n }\n\n var str = el.style.transform || '';\n var reg = /(\\w+)\\(([^)]*)\\)/g;\n var transforms = new Map();\n var m;\n\n while (m = reg.exec(str)) {\n transforms.set(m[1], m[2]);\n }\n\n return transforms;\n}\n\nfunction getTransformValue(el, propName, animatable, unit) {\n var defaultVal = stringContains(propName, 'scale') ? 1 : 0 + getTransformUnit(propName);\n var value = getElementTransforms(el).get(propName) || defaultVal;\n\n if (animatable) {\n animatable.transforms.list.set(propName, value);\n animatable.transforms['last'] = propName;\n }\n\n return unit ? convertPxToUnit(el, value, unit) : value;\n}\n\nfunction getOriginalTargetValue(target, propName, unit, animatable) {\n switch (getAnimationType(target, propName)) {\n case 'transform':\n return getTransformValue(target, propName, animatable, unit);\n\n case 'css':\n return getCSSValue(target, propName, unit);\n\n case 'attribute':\n return getAttribute(target, propName);\n\n default:\n return target[propName] || 0;\n }\n}\n\nfunction getRelativeValue(to, from) {\n var operator = /^(\\*=|\\+=|-=)/.exec(to);\n\n if (!operator) {\n return to;\n }\n\n var u = getUnit(to) || 0;\n var x = parseFloat(from);\n var y = parseFloat(to.replace(operator[0], ''));\n\n switch (operator[0][0]) {\n case '+':\n return x + y + u;\n\n case '-':\n return x - y + u;\n\n case '*':\n return x * y + u;\n }\n}\n\nfunction validateValue(val, unit) {\n if (is.col(val)) {\n return colorToRgb(val);\n }\n\n if (/\\s/g.test(val)) {\n return val;\n }\n\n var originalUnit = getUnit(val);\n var unitLess = originalUnit ? val.substr(0, val.length - originalUnit.length) : val;\n\n if (unit) {\n return unitLess + unit;\n }\n\n return unitLess;\n} // getTotalLength() equivalent for circle, rect, polyline, polygon and line shapes\n// adapted from https://gist.github.com/SebLambla/3e0550c496c236709744\n\n\nfunction getDistance(p1, p2) {\n return Math.sqrt(Math.pow(p2.x - p1.x, 2) + Math.pow(p2.y - p1.y, 2));\n}\n\nfunction getCircleLength(el) {\n return Math.PI * 2 * getAttribute(el, 'r');\n}\n\nfunction getRectLength(el) {\n return getAttribute(el, 'width') * 2 + getAttribute(el, 'height') * 2;\n}\n\nfunction getLineLength(el) {\n return getDistance({\n x: getAttribute(el, 'x1'),\n y: getAttribute(el, 'y1')\n }, {\n x: getAttribute(el, 'x2'),\n y: getAttribute(el, 'y2')\n });\n}\n\nfunction getPolylineLength(el) {\n var points = el.points;\n var totalLength = 0;\n var previousPos;\n\n for (var i = 0; i < points.numberOfItems; i++) {\n var currentPos = points.getItem(i);\n\n if (i > 0) {\n totalLength += getDistance(previousPos, currentPos);\n }\n\n previousPos = currentPos;\n }\n\n return totalLength;\n}\n\nfunction getPolygonLength(el) {\n var points = el.points;\n return getPolylineLength(el) + getDistance(points.getItem(points.numberOfItems - 1), points.getItem(0));\n} // Path animation\n\n\nfunction getTotalLength(el) {\n if (el.getTotalLength) {\n return el.getTotalLength();\n }\n\n switch (el.tagName.toLowerCase()) {\n case 'circle':\n return getCircleLength(el);\n\n case 'rect':\n return getRectLength(el);\n\n case 'line':\n return getLineLength(el);\n\n case 'polyline':\n return getPolylineLength(el);\n\n case 'polygon':\n return getPolygonLength(el);\n }\n}\n\nfunction setDashoffset(el) {\n var pathLength = getTotalLength(el);\n el.setAttribute('stroke-dasharray', pathLength);\n return pathLength;\n} // Motion path\n\n\nfunction getParentSvgEl(el) {\n var parentEl = el.parentNode;\n\n while (is.svg(parentEl)) {\n if (!is.svg(parentEl.parentNode)) {\n break;\n }\n\n parentEl = parentEl.parentNode;\n }\n\n return parentEl;\n}\n\nfunction getParentSvg(pathEl, svgData) {\n var svg = svgData || {};\n var parentSvgEl = svg.el || getParentSvgEl(pathEl);\n var rect = parentSvgEl.getBoundingClientRect();\n var viewBoxAttr = getAttribute(parentSvgEl, 'viewBox');\n var width = rect.width;\n var height = rect.height;\n var viewBox = svg.viewBox || (viewBoxAttr ? viewBoxAttr.split(' ') : [0, 0, width, height]);\n return {\n el: parentSvgEl,\n viewBox: viewBox,\n x: viewBox[0] / 1,\n y: viewBox[1] / 1,\n w: width,\n h: height,\n vW: viewBox[2],\n vH: viewBox[3]\n };\n}\n\nfunction getPath(path, percent) {\n var pathEl = is.str(path) ? selectString(path)[0] : path;\n var p = percent || 100;\n return function (property) {\n return {\n property: property,\n el: pathEl,\n svg: getParentSvg(pathEl),\n totalLength: getTotalLength(pathEl) * (p / 100)\n };\n };\n}\n\nfunction getPathProgress(path, progress, isPathTargetInsideSVG) {\n function point(offset) {\n if (offset === void 0) offset = 0;\n var l = progress + offset >= 1 ? progress + offset : 0;\n return path.el.getPointAtLength(l);\n }\n\n var svg = getParentSvg(path.el, path.svg);\n var p = point();\n var p0 = point(-1);\n var p1 = point(+1);\n var scaleX = isPathTargetInsideSVG ? 1 : svg.w / svg.vW;\n var scaleY = isPathTargetInsideSVG ? 1 : svg.h / svg.vH;\n\n switch (path.property) {\n case 'x':\n return (p.x - svg.x) * scaleX;\n\n case 'y':\n return (p.y - svg.y) * scaleY;\n\n case 'angle':\n return Math.atan2(p1.y - p0.y, p1.x - p0.x) * 180 / Math.PI;\n }\n} // Decompose value\n\n\nfunction decomposeValue(val, unit) {\n // const rgx = /-?\\d*\\.?\\d+/g; // handles basic numbers\n // const rgx = /[+-]?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?/g; // handles exponents notation\n var rgx = /[+-]?\\d*\\.?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?/g; // handles exponents notation\n\n var value = validateValue(is.pth(val) ? val.totalLength : val, unit) + '';\n return {\n original: value,\n numbers: value.match(rgx) ? value.match(rgx).map(Number) : [0],\n strings: is.str(val) || unit ? value.split(rgx) : []\n };\n} // Animatables\n\n\nfunction parseTargets(targets) {\n var targetsArray = targets ? flattenArray(is.arr(targets) ? targets.map(toArray) : toArray(targets)) : [];\n return filterArray(targetsArray, function (item, pos, self) {\n return self.indexOf(item) === pos;\n });\n}\n\nfunction getAnimatables(targets) {\n var parsed = parseTargets(targets);\n return parsed.map(function (t, i) {\n return {\n target: t,\n id: i,\n total: parsed.length,\n transforms: {\n list: getElementTransforms(t)\n }\n };\n });\n} // Properties\n\n\nfunction normalizePropertyTweens(prop, tweenSettings) {\n var settings = cloneObject(tweenSettings); // Override duration if easing is a spring\n\n if (/^spring/.test(settings.easing)) {\n settings.duration = spring(settings.easing);\n }\n\n if (is.arr(prop)) {\n var l = prop.length;\n var isFromTo = l === 2 && !is.obj(prop[0]);\n\n if (!isFromTo) {\n // Duration divided by the number of tweens\n if (!is.fnc(tweenSettings.duration)) {\n settings.duration = tweenSettings.duration / l;\n }\n } else {\n // Transform [from, to] values shorthand to a valid tween value\n prop = {\n value: prop\n };\n }\n }\n\n var propArray = is.arr(prop) ? prop : [prop];\n return propArray.map(function (v, i) {\n var obj = is.obj(v) && !is.pth(v) ? v : {\n value: v\n }; // Default delay value should only be applied to the first tween\n\n if (is.und(obj.delay)) {\n obj.delay = !i ? tweenSettings.delay : 0;\n } // Default endDelay value should only be applied to the last tween\n\n\n if (is.und(obj.endDelay)) {\n obj.endDelay = i === propArray.length - 1 ? tweenSettings.endDelay : 0;\n }\n\n return obj;\n }).map(function (k) {\n return mergeObjects(k, settings);\n });\n}\n\nfunction flattenKeyframes(keyframes) {\n var propertyNames = filterArray(flattenArray(keyframes.map(function (key) {\n return Object.keys(key);\n })), function (p) {\n return is.key(p);\n }).reduce(function (a, b) {\n if (a.indexOf(b) < 0) {\n a.push(b);\n }\n\n return a;\n }, []);\n var properties = {};\n\n var loop = function loop(i) {\n var propName = propertyNames[i];\n properties[propName] = keyframes.map(function (key) {\n var newKey = {};\n\n for (var p in key) {\n if (is.key(p)) {\n if (p == propName) {\n newKey.value = key[p];\n }\n } else {\n newKey[p] = key[p];\n }\n }\n\n return newKey;\n });\n };\n\n for (var i = 0; i < propertyNames.length; i++) {\n loop(i);\n }\n\n return properties;\n}\n\nfunction getProperties(tweenSettings, params) {\n var properties = [];\n var keyframes = params.keyframes;\n\n if (keyframes) {\n params = mergeObjects(flattenKeyframes(keyframes), params);\n }\n\n for (var p in params) {\n if (is.key(p)) {\n properties.push({\n name: p,\n tweens: normalizePropertyTweens(params[p], tweenSettings)\n });\n }\n }\n\n return properties;\n} // Tweens\n\n\nfunction normalizeTweenValues(tween, animatable) {\n var t = {};\n\n for (var p in tween) {\n var value = getFunctionValue(tween[p], animatable);\n\n if (is.arr(value)) {\n value = value.map(function (v) {\n return getFunctionValue(v, animatable);\n });\n\n if (value.length === 1) {\n value = value[0];\n }\n }\n\n t[p] = value;\n }\n\n t.duration = parseFloat(t.duration);\n t.delay = parseFloat(t.delay);\n return t;\n}\n\nfunction normalizeTweens(prop, animatable) {\n var previousTween;\n return prop.tweens.map(function (t) {\n var tween = normalizeTweenValues(t, animatable);\n var tweenValue = tween.value;\n var to = is.arr(tweenValue) ? tweenValue[1] : tweenValue;\n var toUnit = getUnit(to);\n var originalValue = getOriginalTargetValue(animatable.target, prop.name, toUnit, animatable);\n var previousValue = previousTween ? previousTween.to.original : originalValue;\n var from = is.arr(tweenValue) ? tweenValue[0] : previousValue;\n var fromUnit = getUnit(from) || getUnit(originalValue);\n var unit = toUnit || fromUnit;\n\n if (is.und(to)) {\n to = previousValue;\n }\n\n tween.from = decomposeValue(from, unit);\n tween.to = decomposeValue(getRelativeValue(to, from), unit);\n tween.start = previousTween ? previousTween.end : 0;\n tween.end = tween.start + tween.delay + tween.duration + tween.endDelay;\n tween.easing = parseEasings(tween.easing, tween.duration);\n tween.isPath = is.pth(tweenValue);\n tween.isPathTargetInsideSVG = tween.isPath && is.svg(animatable.target);\n tween.isColor = is.col(tween.from.original);\n\n if (tween.isColor) {\n tween.round = 1;\n }\n\n previousTween = tween;\n return tween;\n });\n} // Tween progress\n\n\nvar setProgressValue = {\n css: function css(t, p, v) {\n return t.style[p] = v;\n },\n attribute: function attribute(t, p, v) {\n return t.setAttribute(p, v);\n },\n object: function object(t, p, v) {\n return t[p] = v;\n },\n transform: function transform(t, p, v, transforms, manual) {\n transforms.list.set(p, v);\n\n if (p === transforms.last || manual) {\n var str = '';\n transforms.list.forEach(function (value, prop) {\n str += prop + \"(\" + value + \") \";\n });\n t.style.transform = str;\n }\n }\n}; // Set Value helper\n\nfunction setTargetsValue(targets, properties) {\n var animatables = getAnimatables(targets);\n animatables.forEach(function (animatable) {\n for (var property in properties) {\n var value = getFunctionValue(properties[property], animatable);\n var target = animatable.target;\n var valueUnit = getUnit(value);\n var originalValue = getOriginalTargetValue(target, property, valueUnit, animatable);\n var unit = valueUnit || getUnit(originalValue);\n var to = getRelativeValue(validateValue(value, unit), originalValue);\n var animType = getAnimationType(target, property);\n setProgressValue[animType](target, property, to, animatable.transforms, true);\n }\n });\n} // Animations\n\n\nfunction createAnimation(animatable, prop) {\n var animType = getAnimationType(animatable.target, prop.name);\n\n if (animType) {\n var tweens = normalizeTweens(prop, animatable);\n var lastTween = tweens[tweens.length - 1];\n return {\n type: animType,\n property: prop.name,\n animatable: animatable,\n tweens: tweens,\n duration: lastTween.end,\n delay: tweens[0].delay,\n endDelay: lastTween.endDelay\n };\n }\n}\n\nfunction getAnimations(animatables, properties) {\n return filterArray(flattenArray(animatables.map(function (animatable) {\n return properties.map(function (prop) {\n return createAnimation(animatable, prop);\n });\n })), function (a) {\n return !is.und(a);\n });\n} // Create Instance\n\n\nfunction getInstanceTimings(animations, tweenSettings) {\n var animLength = animations.length;\n\n var getTlOffset = function getTlOffset(anim) {\n return anim.timelineOffset ? anim.timelineOffset : 0;\n };\n\n var timings = {};\n timings.duration = animLength ? Math.max.apply(Math, animations.map(function (anim) {\n return getTlOffset(anim) + anim.duration;\n })) : tweenSettings.duration;\n timings.delay = animLength ? Math.min.apply(Math, animations.map(function (anim) {\n return getTlOffset(anim) + anim.delay;\n })) : tweenSettings.delay;\n timings.endDelay = animLength ? timings.duration - Math.max.apply(Math, animations.map(function (anim) {\n return getTlOffset(anim) + anim.duration - anim.endDelay;\n })) : tweenSettings.endDelay;\n return timings;\n}\n\nvar instanceID = 0;\n\nfunction createNewInstance(params) {\n var instanceSettings = replaceObjectProps(defaultInstanceSettings, params);\n var tweenSettings = replaceObjectProps(defaultTweenSettings, params);\n var properties = getProperties(tweenSettings, params);\n var animatables = getAnimatables(params.targets);\n var animations = getAnimations(animatables, properties);\n var timings = getInstanceTimings(animations, tweenSettings);\n var id = instanceID;\n instanceID++;\n return mergeObjects(instanceSettings, {\n id: id,\n children: [],\n animatables: animatables,\n animations: animations,\n duration: timings.duration,\n delay: timings.delay,\n endDelay: timings.endDelay\n });\n} // Core\n\n\nvar activeInstances = [];\n\nvar engine = function () {\n var raf;\n\n function play() {\n if (!raf && (!isDocumentHidden() || !anime.suspendWhenDocumentHidden) && activeInstances.length > 0) {\n raf = requestAnimationFrame(step);\n }\n }\n\n function step(t) {\n // memo on algorithm issue:\n // dangerous iteration over mutable `activeInstances`\n // (that collection may be updated from within callbacks of `tick`-ed animation instances)\n var activeInstancesLength = activeInstances.length;\n var i = 0;\n\n while (i < activeInstancesLength) {\n var activeInstance = activeInstances[i];\n\n if (!activeInstance.paused) {\n activeInstance.tick(t);\n i++;\n } else {\n activeInstances.splice(i, 1);\n activeInstancesLength--;\n }\n }\n\n raf = i > 0 ? requestAnimationFrame(step) : undefined;\n }\n\n function handleVisibilityChange() {\n if (!anime.suspendWhenDocumentHidden) {\n return;\n }\n\n if (isDocumentHidden()) {\n // suspend ticks\n raf = cancelAnimationFrame(raf);\n } else {\n // is back to active tab\n // first adjust animations to consider the time that ticks were suspended\n activeInstances.forEach(function (instance) {\n return instance._onDocumentVisibility();\n });\n engine();\n }\n }\n\n if (typeof document !== 'undefined') {\n document.addEventListener('visibilitychange', handleVisibilityChange);\n }\n\n return play;\n}();\n\nfunction isDocumentHidden() {\n return !!document && document.hidden;\n} // Public Instance\n\n\nfunction anime(params) {\n if (params === void 0) params = {};\n var startTime = 0,\n lastTime = 0,\n now = 0;\n var children,\n childrenLength = 0;\n var resolve = null;\n\n function makePromise(instance) {\n var promise = window.Promise && new Promise(function (_resolve) {\n return resolve = _resolve;\n });\n instance.finished = promise;\n return promise;\n }\n\n var instance = createNewInstance(params);\n var promise = makePromise(instance);\n\n function toggleInstanceDirection() {\n var direction = instance.direction;\n\n if (direction !== 'alternate') {\n instance.direction = direction !== 'normal' ? 'normal' : 'reverse';\n }\n\n instance.reversed = !instance.reversed;\n children.forEach(function (child) {\n return child.reversed = instance.reversed;\n });\n }\n\n function adjustTime(time) {\n return instance.reversed ? instance.duration - time : time;\n }\n\n function resetTime() {\n startTime = 0;\n lastTime = adjustTime(instance.currentTime) * (1 / anime.speed);\n }\n\n function seekChild(time, child) {\n if (child) {\n child.seek(time - child.timelineOffset);\n }\n }\n\n function syncInstanceChildren(time) {\n if (!instance.reversePlayback) {\n for (var i = 0; i < childrenLength; i++) {\n seekChild(time, children[i]);\n }\n } else {\n for (var i$1 = childrenLength; i$1--;) {\n seekChild(time, children[i$1]);\n }\n }\n }\n\n function setAnimationsProgress(insTime) {\n var i = 0;\n var animations = instance.animations;\n var animationsLength = animations.length;\n\n while (i < animationsLength) {\n var anim = animations[i];\n var animatable = anim.animatable;\n var tweens = anim.tweens;\n var tweenLength = tweens.length - 1;\n var tween = tweens[tweenLength]; // Only check for keyframes if there is more than one tween\n\n if (tweenLength) {\n tween = filterArray(tweens, function (t) {\n return insTime < t.end;\n })[0] || tween;\n }\n\n var elapsed = minMax(insTime - tween.start - tween.delay, 0, tween.duration) / tween.duration;\n var eased = isNaN(elapsed) ? 1 : tween.easing(elapsed);\n var strings = tween.to.strings;\n var round = tween.round;\n var numbers = [];\n var toNumbersLength = tween.to.numbers.length;\n var progress = void 0;\n\n for (var n = 0; n < toNumbersLength; n++) {\n var value = void 0;\n var toNumber = tween.to.numbers[n];\n var fromNumber = tween.from.numbers[n] || 0;\n\n if (!tween.isPath) {\n value = fromNumber + eased * (toNumber - fromNumber);\n } else {\n value = getPathProgress(tween.value, eased * toNumber, tween.isPathTargetInsideSVG);\n }\n\n if (round) {\n if (!(tween.isColor && n > 2)) {\n value = Math.round(value * round) / round;\n }\n }\n\n numbers.push(value);\n } // Manual Array.reduce for better performances\n\n\n var stringsLength = strings.length;\n\n if (!stringsLength) {\n progress = numbers[0];\n } else {\n progress = strings[0];\n\n for (var s = 0; s < stringsLength; s++) {\n var a = strings[s];\n var b = strings[s + 1];\n var n$1 = numbers[s];\n\n if (!isNaN(n$1)) {\n if (!b) {\n progress += n$1 + ' ';\n } else {\n progress += n$1 + b;\n }\n }\n }\n }\n\n setProgressValue[anim.type](animatable.target, anim.property, progress, animatable.transforms);\n anim.currentValue = progress;\n i++;\n }\n }\n\n function setCallback(cb) {\n if (instance[cb] && !instance.passThrough) {\n instance[cb](instance);\n }\n }\n\n function countIteration() {\n if (instance.remaining && instance.remaining !== true) {\n instance.remaining--;\n }\n }\n\n function setInstanceProgress(engineTime) {\n var insDuration = instance.duration;\n var insDelay = instance.delay;\n var insEndDelay = insDuration - instance.endDelay;\n var insTime = adjustTime(engineTime);\n instance.progress = minMax(insTime / insDuration * 100, 0, 100);\n instance.reversePlayback = insTime < instance.currentTime;\n\n if (children) {\n syncInstanceChildren(insTime);\n }\n\n if (!instance.began && instance.currentTime > 0) {\n instance.began = true;\n setCallback('begin');\n }\n\n if (!instance.loopBegan && instance.currentTime > 0) {\n instance.loopBegan = true;\n setCallback('loopBegin');\n }\n\n if (insTime <= insDelay && instance.currentTime !== 0) {\n setAnimationsProgress(0);\n }\n\n if (insTime >= insEndDelay && instance.currentTime !== insDuration || !insDuration) {\n setAnimationsProgress(insDuration);\n }\n\n if (insTime > insDelay && insTime < insEndDelay) {\n if (!instance.changeBegan) {\n instance.changeBegan = true;\n instance.changeCompleted = false;\n setCallback('changeBegin');\n }\n\n setCallback('change');\n setAnimationsProgress(insTime);\n } else {\n if (instance.changeBegan) {\n instance.changeCompleted = true;\n instance.changeBegan = false;\n setCallback('changeComplete');\n }\n }\n\n instance.currentTime = minMax(insTime, 0, insDuration);\n\n if (instance.began) {\n setCallback('update');\n }\n\n if (engineTime >= insDuration) {\n lastTime = 0;\n countIteration();\n\n if (!instance.remaining) {\n instance.paused = true;\n\n if (!instance.completed) {\n instance.completed = true;\n setCallback('loopComplete');\n setCallback('complete');\n\n if (!instance.passThrough && 'Promise' in window) {\n resolve();\n promise = makePromise(instance);\n }\n }\n } else {\n startTime = now;\n setCallback('loopComplete');\n instance.loopBegan = false;\n\n if (instance.direction === 'alternate') {\n toggleInstanceDirection();\n }\n }\n }\n }\n\n instance.reset = function () {\n var direction = instance.direction;\n instance.passThrough = false;\n instance.currentTime = 0;\n instance.progress = 0;\n instance.paused = true;\n instance.began = false;\n instance.loopBegan = false;\n instance.changeBegan = false;\n instance.completed = false;\n instance.changeCompleted = false;\n instance.reversePlayback = false;\n instance.reversed = direction === 'reverse';\n instance.remaining = instance.loop;\n children = instance.children;\n childrenLength = children.length;\n\n for (var i = childrenLength; i--;) {\n instance.children[i].reset();\n }\n\n if (instance.reversed && instance.loop !== true || direction === 'alternate' && instance.loop === 1) {\n instance.remaining++;\n }\n\n setAnimationsProgress(instance.reversed ? instance.duration : 0);\n }; // internal method (for engine) to adjust animation timings before restoring engine ticks (rAF)\n\n\n instance._onDocumentVisibility = resetTime; // Set Value helper\n\n instance.set = function (targets, properties) {\n setTargetsValue(targets, properties);\n return instance;\n };\n\n instance.tick = function (t) {\n now = t;\n\n if (!startTime) {\n startTime = now;\n }\n\n setInstanceProgress((now + (lastTime - startTime)) * anime.speed);\n };\n\n instance.seek = function (time) {\n setInstanceProgress(adjustTime(time));\n };\n\n instance.pause = function () {\n instance.paused = true;\n resetTime();\n };\n\n instance.play = function () {\n if (!instance.paused) {\n return;\n }\n\n if (instance.completed) {\n instance.reset();\n }\n\n instance.paused = false;\n activeInstances.push(instance);\n resetTime();\n engine();\n };\n\n instance.reverse = function () {\n toggleInstanceDirection();\n instance.completed = instance.reversed ? false : true;\n resetTime();\n };\n\n instance.restart = function () {\n instance.reset();\n instance.play();\n };\n\n instance.remove = function (targets) {\n var targetsArray = parseTargets(targets);\n removeTargetsFromInstance(targetsArray, instance);\n };\n\n instance.reset();\n\n if (instance.autoplay) {\n instance.play();\n }\n\n return instance;\n} // Remove targets from animation\n\n\nfunction removeTargetsFromAnimations(targetsArray, animations) {\n for (var a = animations.length; a--;) {\n if (arrayContains(targetsArray, animations[a].animatable.target)) {\n animations.splice(a, 1);\n }\n }\n}\n\nfunction removeTargetsFromInstance(targetsArray, instance) {\n var animations = instance.animations;\n var children = instance.children;\n removeTargetsFromAnimations(targetsArray, animations);\n\n for (var c = children.length; c--;) {\n var child = children[c];\n var childAnimations = child.animations;\n removeTargetsFromAnimations(targetsArray, childAnimations);\n\n if (!childAnimations.length && !child.children.length) {\n children.splice(c, 1);\n }\n }\n\n if (!animations.length && !children.length) {\n instance.pause();\n }\n}\n\nfunction removeTargetsFromActiveInstances(targets) {\n var targetsArray = parseTargets(targets);\n\n for (var i = activeInstances.length; i--;) {\n var instance = activeInstances[i];\n removeTargetsFromInstance(targetsArray, instance);\n }\n} // Stagger helpers\n\n\nfunction stagger(val, params) {\n if (params === void 0) params = {};\n var direction = params.direction || 'normal';\n var easing = params.easing ? parseEasings(params.easing) : null;\n var grid = params.grid;\n var axis = params.axis;\n var fromIndex = params.from || 0;\n var fromFirst = fromIndex === 'first';\n var fromCenter = fromIndex === 'center';\n var fromLast = fromIndex === 'last';\n var isRange = is.arr(val);\n var val1 = isRange ? parseFloat(val[0]) : parseFloat(val);\n var val2 = isRange ? parseFloat(val[1]) : 0;\n var unit = getUnit(isRange ? val[1] : val) || 0;\n var start = params.start || 0 + (isRange ? val1 : 0);\n var values = [];\n var maxValue = 0;\n return function (el, i, t) {\n if (fromFirst) {\n fromIndex = 0;\n }\n\n if (fromCenter) {\n fromIndex = (t - 1) / 2;\n }\n\n if (fromLast) {\n fromIndex = t - 1;\n }\n\n if (!values.length) {\n for (var index = 0; index < t; index++) {\n if (!grid) {\n values.push(Math.abs(fromIndex - index));\n } else {\n var fromX = !fromCenter ? fromIndex % grid[0] : (grid[0] - 1) / 2;\n var fromY = !fromCenter ? Math.floor(fromIndex / grid[0]) : (grid[1] - 1) / 2;\n var toX = index % grid[0];\n var toY = Math.floor(index / grid[0]);\n var distanceX = fromX - toX;\n var distanceY = fromY - toY;\n var value = Math.sqrt(distanceX * distanceX + distanceY * distanceY);\n\n if (axis === 'x') {\n value = -distanceX;\n }\n\n if (axis === 'y') {\n value = -distanceY;\n }\n\n values.push(value);\n }\n\n maxValue = Math.max.apply(Math, values);\n }\n\n if (easing) {\n values = values.map(function (val) {\n return easing(val / maxValue) * maxValue;\n });\n }\n\n if (direction === 'reverse') {\n values = values.map(function (val) {\n return axis ? val < 0 ? val * -1 : -val : Math.abs(maxValue - val);\n });\n }\n }\n\n var spacing = isRange ? (val2 - val1) / maxValue : val1;\n return start + spacing * (Math.round(values[i] * 100) / 100) + unit;\n };\n} // Timeline\n\n\nfunction timeline(params) {\n if (params === void 0) params = {};\n var tl = anime(params);\n tl.duration = 0;\n\n tl.add = function (instanceParams, timelineOffset) {\n var tlIndex = activeInstances.indexOf(tl);\n var children = tl.children;\n\n if (tlIndex > -1) {\n activeInstances.splice(tlIndex, 1);\n }\n\n function passThrough(ins) {\n ins.passThrough = true;\n }\n\n for (var i = 0; i < children.length; i++) {\n passThrough(children[i]);\n }\n\n var insParams = mergeObjects(instanceParams, replaceObjectProps(defaultTweenSettings, params));\n insParams.targets = insParams.targets || params.targets;\n var tlDuration = tl.duration;\n insParams.autoplay = false;\n insParams.direction = tl.direction;\n insParams.timelineOffset = is.und(timelineOffset) ? tlDuration : getRelativeValue(timelineOffset, tlDuration);\n passThrough(tl);\n tl.seek(insParams.timelineOffset);\n var ins = anime(insParams);\n passThrough(ins);\n children.push(ins);\n var timings = getInstanceTimings(children, params);\n tl.delay = timings.delay;\n tl.endDelay = timings.endDelay;\n tl.duration = timings.duration;\n tl.seek(0);\n tl.reset();\n\n if (tl.autoplay) {\n tl.play();\n }\n\n return tl;\n };\n\n return tl;\n}\n\nanime.version = '3.2.1';\nanime.speed = 1; // TODO:#review: naming, documentation\n\nanime.suspendWhenDocumentHidden = true;\nanime.running = activeInstances;\nanime.remove = removeTargetsFromActiveInstances;\nanime.get = getOriginalTargetValue;\nanime.set = setTargetsValue;\nanime.convertPx = convertPxToUnit;\nanime.path = getPath;\nanime.setDashoffset = setDashoffset;\nanime.stagger = stagger;\nanime.timeline = timeline;\nanime.easing = parseEasings;\nanime.penner = penner;\n\nanime.random = function (min, max) {\n return Math.floor(Math.random() * (max - min + 1)) + min;\n};\n\nexport default anime;","import React, { useState, useEffect } from 'react';\r\nimport { Helmet } from 'react-helmet';\r\nimport PropTypes from 'prop-types';\r\nimport anime from 'animejs';\r\nimport styled from 'styled-components';\r\nimport { IconLoader } from '@components/icons';\r\n\r\nconst StyledLoader = styled.div`\r\n ${({ theme }) => theme.mixins.flexCenter};\r\n position: fixed;\r\n top: 0;\r\n bottom: 0;\r\n left: 0;\r\n right: 0;\r\n width: 100%;\r\n height: 100%;\r\n background-color: var(--dark-navy);\r\n z-index: 99;\r\n\r\n .logo-wrapper {\r\n width: max-content;\r\n max-width: 100px;\r\n transition: var(--transition);\r\n opacity: ${props => (props.isMounted ? 1 : 0)};\r\n svg {\r\n display: block;\r\n width: 100%;\r\n height: 100%;\r\n margin: 0 auto;\r\n fill: none;\r\n user-select: none;\r\n #B {\r\n opacity: 0;\r\n }\r\n }\r\n }\r\n`;\r\n\r\nconst Loader = ({ finishLoading }) => {\r\n const animate = () => {\r\n const loader = anime.timeline({\r\n complete: () => finishLoading(),\r\n });\r\n\r\n loader\r\n .add({\r\n targets: '#logo path',\r\n delay: 300,\r\n duration: 1500,\r\n easing: 'easeInOutQuart',\r\n strokeDashoffset: [anime.setDashoffset, 0],\r\n })\r\n .add({\r\n targets: '#logo #B',\r\n duration: 700,\r\n easing: 'easeInOutQuart',\r\n opacity: 1,\r\n })\r\n .add({\r\n targets: '#logo',\r\n delay: 500,\r\n duration: 300,\r\n easing: 'easeInOutQuart',\r\n opacity: 0,\r\n scale: 0.1,\r\n })\r\n .add({\r\n targets: '.loader',\r\n duration: 200,\r\n easing: 'easeInOutQuart',\r\n opacity: 0,\r\n zIndex: -1,\r\n });\r\n };\r\n\r\n const [isMounted, setIsMounted] = useState(false);\r\n\r\n useEffect(() => {\r\n const timeout = setTimeout(() => setIsMounted(true), 10);\r\n animate();\r\n return () => clearTimeout(timeout);\r\n }, []);\r\n\r\n return (\r\n <StyledLoader className=\"loader\" isMounted={isMounted}>\r\n <Helmet bodyAttributes={{ class: `hidden` }} />\r\n\r\n <div className=\"logo-wrapper\">\r\n <IconLoader />\r\n </div>\r\n </StyledLoader>\r\n );\r\n};\r\n\r\nLoader.propTypes = {\r\n finishLoading: PropTypes.func.isRequired,\r\n};\r\n\r\nexport default Loader;\r\n","import { useEffect } from 'react';\r\n\r\n// https://usehooks.com/useOnClickOutside/\r\n\r\nconst useOnClickOutside = (ref, handler) => {\r\n useEffect(\r\n () => {\r\n const listener = event => {\r\n // Do nothing if clicking ref's element or descendent elements\r\n if (!ref.current || ref.current.contains(event.target)) {\r\n return;\r\n }\r\n\r\n handler(event);\r\n };\r\n\r\n document.addEventListener('mousedown', listener);\r\n document.addEventListener('touchstart', listener);\r\n\r\n return () => {\r\n document.removeEventListener('mousedown', listener);\r\n document.removeEventListener('touchstart', listener);\r\n };\r\n },\r\n // Add ref and handler to effect dependencies\r\n // It's worth noting that because passed in handler is a new ...\r\n // ... function on every render that will cause this effect ...\r\n // ... callback/cleanup to run every render. It's not a big deal ...\r\n // ... but to optimize you can wrap handler in useCallback before ...\r\n // ... passing it into this hook.\r\n [ref, handler],\r\n );\r\n};\r\n\r\nexport default useOnClickOutside;\r\n","const SCROLL_UP = 'up';\r\nconst SCROLL_DOWN = 'down';\r\n\r\nimport { useState, useEffect } from 'react';\r\n\r\nconst useScrollDirection = ({ initialDirection, thresholdPixels, off } = {}) => {\r\n const [scrollDir, setScrollDir] = useState(initialDirection);\r\n\r\n useEffect(() => {\r\n const threshold = thresholdPixels || 0;\r\n let lastScrollY = window.pageYOffset;\r\n let ticking = false;\r\n\r\n const updateScrollDir = () => {\r\n const scrollY = window.pageYOffset;\r\n\r\n if (Math.abs(scrollY - lastScrollY) < threshold) {\r\n // We haven't exceeded the threshold\r\n ticking = false;\r\n return;\r\n }\r\n\r\n setScrollDir(scrollY > lastScrollY ? SCROLL_DOWN : SCROLL_UP);\r\n lastScrollY = scrollY > 0 ? scrollY : 0;\r\n ticking = false;\r\n };\r\n\r\n const onScroll = () => {\r\n if (!ticking) {\r\n window.requestAnimationFrame(updateScrollDir);\r\n ticking = true;\r\n }\r\n };\r\n\r\n /**\r\n * Bind the scroll handler if `off` is set to false.\r\n * If `off` is set to true reset the scroll direction.\r\n */\r\n !off ? window.addEventListener('scroll', onScroll) : setScrollDir(initialDirection);\r\n\r\n return () => window.removeEventListener('scroll', onScroll);\r\n }, [initialDirection, thresholdPixels, off]);\r\n\r\n return scrollDir;\r\n};\r\n\r\nexport default useScrollDirection;\r\n","import React, { useState, useEffect } from 'react';\r\nimport { Link } from 'gatsby';\r\nimport PropTypes from 'prop-types';\r\nimport { CSSTransition, TransitionGroup } from 'react-transition-group';\r\nimport styled, { css } from 'styled-components';\r\nimport { navLinks } from '@config';\r\nimport { loaderDelay } from '@utils';\r\nimport { useScrollDirection } from '@hooks';\r\nimport { Menu } from '@components';\r\nimport { IconLogo } from '@components/icons';\r\n\r\nconst StyledHeader = styled.header`\r\n ${({ theme }) => theme.mixins.flexBetween};\r\n position: fixed;\r\n top: 0;\r\n z-index: 11;\r\n padding: 0px 50px;\r\n width: 100%;\r\n height: var(--nav-height);\r\n background-color: var(--navy);\r\n filter: none !important;\r\n pointer-events: auto !important;\r\n user-select: auto !important;\r\n backdrop-filter: blur(10px);\r\n transition: var(--transition);\r\n\r\n ${props =>\r\n props.scrollDirection === 'up' &&\r\n !props.scrolledToTop &&\r\n css`\r\n height: var(--nav-scroll-height);\r\n transform: translateY(0px);\r\n background-color: rgba(10, 25, 47, 0.85);\r\n box-shadow: 0 10px 30px -10px var(--navy-shadow);\r\n `};\r\n\r\n ${props =>\r\n props.scrollDirection === 'down' &&\r\n !props.scrolledToTop &&\r\n css`\r\n height: var(--nav-scroll-height);\r\n transform: translateY(calc(var(--nav-scroll-height) * -1));\r\n box-shadow: 0 10px 30px -10px var(--navy-shadow);\r\n `};\r\n\r\n @media (max-width: 1080px) {\r\n padding: 0 40px;\r\n }\r\n @media (max-width: 768px) {\r\n padding: 0 25px;\r\n }\r\n`;\r\n\r\nconst StyledNav = styled.nav`\r\n ${({ theme }) => theme.mixins.flexBetween};\r\n position: relative;\r\n width: 100%;\r\n color: var(--lightest-slate);\r\n font-family: var(--font-mono);\r\n counter-reset: item 0;\r\n z-index: 12;\r\n\r\n .logo {\r\n ${({ theme }) => theme.mixins.flexCenter};\r\n\r\n a {\r\n color: var(--green);\r\n width: 42px;\r\n height: 42px;\r\n\r\n &:hover,\r\n &:focus {\r\n svg {\r\n fill: var(--green-tint);\r\n }\r\n }\r\n\r\n svg {\r\n fill: none;\r\n transition: var(--transition);\r\n user-select: none;\r\n }\r\n }\r\n }\r\n`;\r\n\r\nconst StyledLinks = styled.div`\r\n display: flex;\r\n align-items: center;\r\n\r\n @media (max-width: 768px) {\r\n display: none;\r\n }\r\n\r\n ol {\r\n ${({ theme }) => theme.mixins.flexBetween};\r\n padding: 0;\r\n margin: 0;\r\n list-style: none;\r\n\r\n li {\r\n margin: 0 5px;\r\n position: relative;\r\n counter-increment: item 1;\r\n font-size: var(--fz-xs);\r\n\r\n a {\r\n padding: 10px;\r\n\r\n &:before {\r\n content: '0' counter(item) '.';\r\n margin-right: 5px;\r\n color: var(--green);\r\n font-size: var(--fz-xxs);\r\n text-align: right;\r\n }\r\n }\r\n }\r\n }\r\n\r\n .resume-button {\r\n ${({ theme }) => theme.mixins.smallButton};\r\n margin-left: 15px;\r\n font-size: var(--fz-xs);\r\n }\r\n`;\r\n\r\nconst Nav = ({ isHome }) => {\r\n const [isMounted, setIsMounted] = useState(!isHome);\r\n const scrollDirection = useScrollDirection('down');\r\n const [scrolledToTop, setScrolledToTop] = useState(true);\r\n\r\n const handleScroll = () => {\r\n setScrolledToTop(window.pageYOffset < 50);\r\n };\r\n\r\n useEffect(() => {\r\n const timeout = setTimeout(() => {\r\n setIsMounted(true);\r\n }, 100);\r\n\r\n window.addEventListener('scroll', handleScroll);\r\n\r\n return () => {\r\n clearTimeout(timeout);\r\n window.removeEventListener('scroll', handleScroll);\r\n };\r\n }, []);\r\n\r\n const timeout = isHome ? loaderDelay : 0;\r\n const fadeClass = isHome ? 'fade' : '';\r\n const fadeDownClass = isHome ? 'fadedown' : '';\r\n\r\n return (\r\n <StyledHeader scrollDirection={scrollDirection} scrolledToTop={scrolledToTop}>\r\n <StyledNav>\r\n <TransitionGroup component={null}>\r\n {isMounted && (\r\n <CSSTransition classNames={fadeClass} timeout={timeout}>\r\n <div className=\"logo\" tabIndex=\"-1\">\r\n {isHome ? (\r\n <a href=\"/\" aria-label=\"home\">\r\n <IconLogo />\r\n </a>\r\n ) : (\r\n <Link to=\"/\" aria-label=\"home\">\r\n <IconLogo />\r\n </Link>\r\n )}\r\n </div>\r\n </CSSTransition>\r\n )}\r\n </TransitionGroup>\r\n\r\n <StyledLinks>\r\n <ol>\r\n <TransitionGroup component={null}>\r\n {isMounted &&\r\n navLinks &&\r\n navLinks.map(({ url, name }, i) => (\r\n <CSSTransition key={i} classNames={fadeDownClass} timeout={timeout}>\r\n <li key={i} style={{ transitionDelay: `${isHome ? i * 100 : 0}ms` }}>\r\n <Link to={url}>{name}</Link>\r\n </li>\r\n </CSSTransition>\r\n ))}\r\n </TransitionGroup>\r\n </ol>\r\n\r\n <TransitionGroup component={null}>\r\n {isMounted && (\r\n <CSSTransition classNames={fadeDownClass} timeout={timeout}>\r\n <div style={{ transitionDelay: `${isHome ? navLinks.length * 100 : 0}ms` }}>\r\n <a href=\"/resume.pdf\" className=\"resume-button\">\r\n Resume\r\n </a>\r\n </div>\r\n </CSSTransition>\r\n )}\r\n </TransitionGroup>\r\n </StyledLinks>\r\n\r\n <TransitionGroup component={null}>\r\n {isMounted && (\r\n <CSSTransition classNames={fadeClass} timeout={timeout}>\r\n <Menu />\r\n </CSSTransition>\r\n )}\r\n </TransitionGroup>\r\n </StyledNav>\r\n </StyledHeader>\r\n );\r\n};\r\n\r\nNav.propTypes = {\r\n isHome: PropTypes.bool,\r\n};\r\n\r\nexport default Nav;\r\n","import React, { useState, useEffect, useRef } from 'react';\r\nimport { Helmet } from 'react-helmet';\r\nimport { Link } from 'gatsby';\r\nimport styled from 'styled-components';\r\nimport { navLinks } from '@config';\r\nimport { KEY_CODES } from '@utils';\r\nimport { useOnClickOutside } from '@hooks';\r\n\r\nconst StyledMenu = styled.div`\r\n display: none;\r\n\r\n @media (max-width: 768px) {\r\n display: block;\r\n }\r\n`;\r\n\r\nconst StyledHamburgerButton = styled.button`\r\n display: none;\r\n\r\n @media (max-width: 768px) {\r\n ${({ theme }) => theme.mixins.flexCenter};\r\n position: relative;\r\n z-index: 10;\r\n margin-right: -15px;\r\n padding: 15px;\r\n border: 0;\r\n background-color: transparent;\r\n color: inherit;\r\n text-transform: none;\r\n transition-timing-function: linear;\r\n transition-duration: 0.15s;\r\n transition-property: opacity, filter;\r\n }\r\n\r\n .ham-box {\r\n display: inline-block;\r\n position: relative;\r\n width: var(--hamburger-width);\r\n height: 24px;\r\n }\r\n\r\n .ham-box-inner {\r\n position: absolute;\r\n top: 50%;\r\n right: 0;\r\n width: var(--hamburger-width);\r\n height: 2px;\r\n border-radius: var(--border-radius);\r\n background-color: var(--green);\r\n transition-duration: 0.22s;\r\n transition-property: transform;\r\n transition-delay: ${props => (props.menuOpen ? `0.12s` : `0s`)};\r\n transform: rotate(${props => (props.menuOpen ? `225deg` : `0deg`)});\r\n transition-timing-function: cubic-bezier(\r\n ${props => (props.menuOpen ? `0.215, 0.61, 0.355, 1` : `0.55, 0.055, 0.675, 0.19`)}\r\n );\r\n &:before,\r\n &:after {\r\n content: '';\r\n display: block;\r\n position: absolute;\r\n left: auto;\r\n right: 0;\r\n width: var(--hamburger-width);\r\n height: 2px;\r\n border-radius: 4px;\r\n background-color: var(--green);\r\n transition-timing-function: ease;\r\n transition-duration: 0.15s;\r\n transition-property: transform;\r\n }\r\n &:before {\r\n width: ${props => (props.menuOpen ? `100%` : `120%`)};\r\n top: ${props => (props.menuOpen ? `0` : `-10px`)};\r\n opacity: ${props => (props.menuOpen ? 0 : 1)};\r\n transition: ${({ menuOpen }) =>\r\n menuOpen ? 'var(--ham-before-active)' : 'var(--ham-before)'};\r\n }\r\n &:after {\r\n width: ${props => (props.menuOpen ? `100%` : `80%`)};\r\n bottom: ${props => (props.menuOpen ? `0` : `-10px`)};\r\n transform: rotate(${props => (props.menuOpen ? `-90deg` : `0`)});\r\n transition: ${({ menuOpen }) => (menuOpen ? 'var(--ham-after-active)' : 'var(--ham-after)')};\r\n }\r\n }\r\n`;\r\n\r\nconst StyledSidebar = styled.aside`\r\n display: none;\r\n\r\n @media (max-width: 768px) {\r\n ${({ theme }) => theme.mixins.flexCenter};\r\n position: fixed;\r\n top: 0;\r\n bottom: 0;\r\n right: 0;\r\n padding: 50px 10px;\r\n width: min(75vw, 400px);\r\n height: 100vh;\r\n outline: 0;\r\n background-color: var(--light-navy);\r\n box-shadow: -10px 0px 30px -15px var(--navy-shadow);\r\n z-index: 9;\r\n transform: translateX(${props => (props.menuOpen ? 0 : 100)}vw);\r\n visibility: ${props => (props.menuOpen ? 'visible' : 'hidden')};\r\n transition: var(--transition);\r\n }\r\n\r\n nav {\r\n ${({ theme }) => theme.mixins.flexBetween};\r\n width: 100%;\r\n flex-direction: column;\r\n color: var(--lightest-slate);\r\n font-family: var(--font-mono);\r\n text-align: center;\r\n }\r\n\r\n ol {\r\n padding: 0;\r\n margin: 0;\r\n list-style: none;\r\n width: 100%;\r\n\r\n li {\r\n position: relative;\r\n margin: 0 auto 20px;\r\n counter-increment: item 1;\r\n font-size: clamp(var(--fz-sm), 4vw, var(--fz-lg));\r\n\r\n @media (max-width: 600px) {\r\n margin: 0 auto 10px;\r\n }\r\n\r\n &:before {\r\n content: '0' counter(item) '.';\r\n display: block;\r\n margin-bottom: 5px;\r\n color: var(--green);\r\n font-size: var(--fz-sm);\r\n }\r\n }\r\n\r\n a {\r\n ${({ theme }) => theme.mixins.link};\r\n width: 100%;\r\n padding: 3px 20px 20px;\r\n }\r\n }\r\n\r\n .resume-link {\r\n ${({ theme }) => theme.mixins.bigButton};\r\n padding: 18px 50px;\r\n margin: 10% auto 0;\r\n width: max-content;\r\n }\r\n`;\r\n\r\nconst Menu = () => {\r\n const [menuOpen, setMenuOpen] = useState(false);\r\n\r\n const toggleMenu = () => setMenuOpen(!menuOpen);\r\n\r\n const buttonRef = useRef(null);\r\n const navRef = useRef(null);\r\n\r\n let menuFocusables;\r\n let firstFocusableEl;\r\n let lastFocusableEl;\r\n\r\n const setFocusables = () => {\r\n menuFocusables = [buttonRef.current, ...Array.from(navRef.current.querySelectorAll('a'))];\r\n firstFocusableEl = menuFocusables[0];\r\n lastFocusableEl = menuFocusables[menuFocusables.length - 1];\r\n };\r\n\r\n const handleBackwardTab = e => {\r\n if (document.activeElement === firstFocusableEl) {\r\n e.preventDefault();\r\n lastFocusableEl.focus();\r\n }\r\n };\r\n\r\n const handleForwardTab = e => {\r\n if (document.activeElement === lastFocusableEl) {\r\n e.preventDefault();\r\n firstFocusableEl.focus();\r\n }\r\n };\r\n\r\n const onKeyDown = e => {\r\n switch (e.key) {\r\n case KEY_CODES.ESCAPE:\r\n case KEY_CODES.ESCAPE_IE11: {\r\n setMenuOpen(false);\r\n break;\r\n }\r\n\r\n case KEY_CODES.TAB: {\r\n if (menuFocusables && menuFocusables.length === 1) {\r\n e.preventDefault();\r\n break;\r\n }\r\n if (e.shiftKey) {\r\n handleBackwardTab(e);\r\n } else {\r\n handleForwardTab(e);\r\n }\r\n break;\r\n }\r\n\r\n default: {\r\n break;\r\n }\r\n }\r\n };\r\n\r\n const onResize = e => {\r\n if (e.currentTarget.innerWidth > 768) {\r\n setMenuOpen(false);\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n document.addEventListener('keydown', onKeyDown);\r\n window.addEventListener('resize', onResize);\r\n\r\n setFocusables();\r\n\r\n return () => {\r\n document.removeEventListener('keydown', onKeyDown);\r\n window.removeEventListener('resize', onResize);\r\n };\r\n }, []);\r\n\r\n const wrapperRef = useRef();\r\n useOnClickOutside(wrapperRef, () => setMenuOpen(false));\r\n\r\n return (\r\n <StyledMenu>\r\n <Helmet>\r\n <body className={menuOpen ? 'blur' : ''} />\r\n </Helmet>\r\n\r\n <div ref={wrapperRef}>\r\n <StyledHamburgerButton onClick={toggleMenu} menuOpen={menuOpen} ref={buttonRef}>\r\n <div className=\"ham-box\">\r\n <div className=\"ham-box-inner\" />\r\n </div>\r\n </StyledHamburgerButton>\r\n\r\n <StyledSidebar menuOpen={menuOpen} aria-hidden={!menuOpen} tabIndex={menuOpen ? 1 : -1}>\r\n <nav ref={navRef}>\r\n {navLinks && (\r\n <ol>\r\n {navLinks.map(({ url, name }, i) => (\r\n <li key={i}>\r\n <Link to={url}>{name}</Link>\r\n </li>\r\n ))}\r\n </ol>\r\n )}\r\n\r\n <a href=\"/resume.pdf\" className=\"resume-link\">\r\n Resume\r\n </a>\r\n </nav>\r\n </StyledSidebar>\r\n </div>\r\n </StyledMenu>\r\n );\r\n};\r\n\r\nexport default Menu;\r\n","import React, { useState, useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { CSSTransition, TransitionGroup } from 'react-transition-group';\r\nimport styled from 'styled-components';\r\nimport { loaderDelay } from '@utils';\r\n\r\nconst StyledSideElement = styled.div`\r\n width: 40px;\r\n position: fixed;\r\n bottom: 0;\r\n left: ${props => (props.orientation === 'left' ? '40px' : 'auto')};\r\n right: ${props => (props.orientation === 'left' ? 'auto' : '40px')};\r\n z-index: 10;\r\n color: var(--light-slate);\r\n\r\n @media (max-width: 1080px) {\r\n left: ${props => (props.orientation === 'left' ? '20px' : 'auto')};\r\n right: ${props => (props.orientation === 'left' ? 'auto' : '20px')};\r\n }\r\n\r\n @media (max-width: 768px) {\r\n display: none;\r\n }\r\n`;\r\n\r\nconst Side = ({ children, isHome, orientation }) => {\r\n const [isMounted, setIsMounted] = useState(!isHome);\r\n\r\n useEffect(() => {\r\n if (!isHome) {\r\n return;\r\n }\r\n const timeout = setTimeout(() => setIsMounted(true), loaderDelay);\r\n return () => clearTimeout(timeout);\r\n }, []);\r\n\r\n return (\r\n <StyledSideElement orientation={orientation}>\r\n <TransitionGroup component={null}>\r\n {isMounted && (\r\n <CSSTransition classNames={isHome ? 'fade' : ''} timeout={isHome ? loaderDelay : 0}>\r\n {children}\r\n </CSSTransition>\r\n )}\r\n </TransitionGroup>\r\n </StyledSideElement>\r\n );\r\n};\r\n\r\nSide.propTypes = {\r\n children: PropTypes.node.isRequired,\r\n isHome: PropTypes.bool,\r\n orientation: PropTypes.string,\r\n};\r\n\r\nexport default Side;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styled from 'styled-components';\r\nimport { socialMedia } from '@config';\r\nimport { Side } from '@components';\r\nimport { Icon } from '@components/icons';\r\n\r\nconst StyledSocialList = styled.ul`\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n margin: 0;\r\n padding: 0;\r\n list-style: none;\r\n\r\n &:after {\r\n content: '';\r\n display: block;\r\n width: 1px;\r\n height: 90px;\r\n margin: 0 auto;\r\n background-color: var(--light-slate);\r\n }\r\n\r\n li {\r\n padding: 10px;\r\n\r\n &:last-of-type {\r\n margin-bottom: 20px;\r\n }\r\n\r\n a {\r\n &:hover,\r\n &:focus {\r\n transform: translateY(-3px);\r\n }\r\n\r\n svg {\r\n width: 18px;\r\n height: 18px;\r\n }\r\n }\r\n }\r\n`;\r\n\r\nconst Social = ({ isHome }) => (\r\n <Side isHome={isHome} orientation=\"left\">\r\n <StyledSocialList>\r\n {socialMedia &&\r\n socialMedia.map(({ url, name }, i) => (\r\n <li key={i}>\r\n <a href={url} aria-label={name}>\r\n <Icon name={name} />\r\n </a>\r\n </li>\r\n ))}\r\n </StyledSocialList>\r\n </Side>\r\n);\r\n\r\nSocial.propTypes = {\r\n isHome: PropTypes.bool,\r\n};\r\n\r\nexport default Social;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styled from 'styled-components';\r\nimport { email } from '@config';\r\nimport { Side } from '@components';\r\n\r\nconst StyledLinkWrapper = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n position: relative;\r\n\r\n &:after {\r\n content: '';\r\n display: block;\r\n width: 1px;\r\n height: 90px;\r\n margin: 0 auto;\r\n background-color: var(--light-slate);\r\n }\r\n\r\n a {\r\n margin: 20px auto;\r\n padding: 10px;\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-xxs);\r\n letter-spacing: 0.1em;\r\n writing-mode: vertical-rl;\r\n\r\n &:hover,\r\n &:focus {\r\n transform: translateY(-3px);\r\n }\r\n }\r\n`;\r\n\r\nconst Email = ({ isHome }) => (\r\n <Side isHome={isHome} orientation=\"right\">\r\n <StyledLinkWrapper>\r\n <a href={`mailto:${email}`}>{email}</a>\r\n </StyledLinkWrapper>\r\n </Side>\r\n);\r\n\r\nEmail.propTypes = {\r\n isHome: PropTypes.bool,\r\n};\r\n\r\nexport default Email;\r\n","import React, { useState, useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styled from 'styled-components';\r\nimport { Icon } from '@components/icons';\r\nimport { socialMedia } from '@config';\r\n\r\nconst StyledFooter = styled.footer`\r\n ${({ theme }) => theme.mixins.flexCenter};\r\n flex-direction: column;\r\n height: auto;\r\n min-height: 70px;\r\n padding: 15px;\r\n text-align: center;\r\n`;\r\n\r\nconst StyledSocialLinks = styled.div`\r\n display: none;\r\n\r\n @media (max-width: 768px) {\r\n display: block;\r\n width: 100%;\r\n max-width: 270px;\r\n margin: 0 auto 10px;\r\n color: var(--light-slate);\r\n }\r\n\r\n ul {\r\n ${({ theme }) => theme.mixins.flexBetween};\r\n padding: 0;\r\n margin: 0;\r\n list-style: none;\r\n\r\n a {\r\n padding: 10px;\r\n svg {\r\n width: 20px;\r\n height: 20px;\r\n }\r\n }\r\n }\r\n`;\r\n\r\nconst StyledCredit = styled.div`\r\n color: var(--light-slate);\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-xxs);\r\n line-height: 1;\r\n\r\n a {\r\n padding: 10px;\r\n }\r\n\r\n .github-stats {\r\n margin-top: 10px;\r\n\r\n & > span {\r\n display: inline-flex;\r\n align-items: center;\r\n margin: 0 7px;\r\n }\r\n svg {\r\n display: inline-block;\r\n width: auto;\r\n height: 15px;\r\n margin-right: 5px;\r\n }\r\n }\r\n`;\r\n\r\nconst Footer = () => {\r\n const [githubInfo, setGitHubInfo] = useState({\r\n stars: null,\r\n forks: null,\r\n });\r\n\r\n useEffect(() => {\r\n if (process.env.NODE_ENV !== 'production') {\r\n return;\r\n }\r\n fetch('https://api.github.com/repos/bchiang7/v4')\r\n .then(response => response.json())\r\n .then(json => {\r\n const { stargazers_count, forks_count } = json;\r\n setGitHubInfo({\r\n stars: stargazers_count,\r\n forks: forks_count,\r\n });\r\n })\r\n .catch(e => console.error(e));\r\n }, []);\r\n\r\n return (\r\n <StyledFooter>\r\n <StyledSocialLinks>\r\n <ul>\r\n {socialMedia &&\r\n socialMedia.map(({ name, url }, i) => (\r\n <li key={i}>\r\n <a href={url} aria-label={name}>\r\n <Icon name={name} />\r\n </a>\r\n </li>\r\n ))}\r\n </ul>\r\n </StyledSocialLinks>\r\n\r\n <StyledCredit tabindex=\"-1\">\r\n <a href=\"https://github.com/pradyot-09/pradyot-09.github.io\">\r\n <div>Designed & Built by Pradyot Patil</div>\r\n\r\n {githubInfo.stars && githubInfo.forks && (\r\n <div className=\"github-stats\">\r\n <span>\r\n <Icon name=\"Star\" />\r\n <span>{githubInfo.stars.toLocaleString()}</span>\r\n </span>\r\n <span>\r\n <Icon name=\"Fork\" />\r\n <span>{githubInfo.forks.toLocaleString()}</span>\r\n </span>\r\n </div>\r\n )}\r\n </a>\r\n </StyledCredit>\r\n </StyledFooter>\r\n );\r\n};\r\n\r\nFooter.propTypes = {\r\n githubInfo: PropTypes.object,\r\n};\r\n\r\nexport default Footer;\r\n","import React, { useState, useEffect } from 'react';\r\nimport { CSSTransition, TransitionGroup } from 'react-transition-group';\r\nimport styled from 'styled-components';\r\nimport Typist from \"react-typist\";\r\nimport { email } from '@config';\r\nimport { navDelay, loaderDelay } from '@utils';\r\n\r\nconst StyledHeroSection = styled.section`\r\n ${({ theme }) => theme.mixins.flexCenter};\r\n flex-direction: column;\r\n align-items: flex-start;\r\n min-height: 100vh;\r\n\r\n h1 {\r\n margin: 0 0 30px 4px;\r\n color: var(--green);\r\n font-family: var(--font-mono);\r\n font-size: clamp(var(--fz-sm), 5vw, var(--fz-md));\r\n font-weight: 400;\r\n\r\n @media (max-width: 480px) {\r\n margin: 0 0 20px 2px;\r\n }\r\n }\r\n\r\n h3 {\r\n margin-top: 10px;\r\n color: var(--slate);\r\n line-height: 0.9;\r\n }\r\n\r\n p {\r\n margin: 20px 0 0;\r\n max-width: 500px;\r\n }\r\n\r\n .email-link {\r\n ${({ theme }) => theme.mixins.bigButton};\r\n margin-top: 50px;\r\n }\r\n`;\r\n\r\n\r\nconst Hero = () => {\r\n const [isMounted, setIsMounted] = useState(false);\r\n\r\n useEffect(() => {\r\n const timeout = setTimeout(() => setIsMounted(true), navDelay);\r\n return () => clearTimeout(timeout);\r\n }, []);\r\n\r\n const one = <h1>Hi, my name is</h1>;\r\n const two = <h2 className=\"big-heading\"><Typist cursor={{ hideWhenDone: true}}>Pradyot Patil.</Typist></h2>;\r\n const three = <h3><Typist cursor={{ hideWhenDone: true}}> Engineer | Data Scientist | Programmer | Athlete | Passionate about teaching machines how to think.</Typist></h3>;\r\n const four = (\r\n <p align=\"justify\">\r\n I'm a M.Sc. Computer Science student at Delft University of Technology, Netherlands specializing in \r\n\t data science. I'm interested in AI/ML, software development, software analytics, and everything in between.\r\n </p>\r\n );\r\n const five = (\r\n <a href={`mailto:${email}`} className=\"email-link\">\r\n Get In Touch\r\n </a>\r\n );\r\n\r\n const items = [one, two, three, four, five];\r\n\r\n return (\r\n <StyledHeroSection>\r\n <TransitionGroup component={null}>\r\n {isMounted &&\r\n items.map((item, i) => (\r\n <CSSTransition key={i} classNames=\"fadeup\" timeout={loaderDelay}>\r\n <div style={{ transitionDelay: `${i + 1}00ms` }}>{item}</div>\r\n </CSSTransition>\r\n ))}\r\n </TransitionGroup>\r\n </StyledHeroSection>\r\n );\r\n};\r\n\r\nexport default Hero;\r\n","import React, { useEffect, useRef } from 'react';\r\nimport { useStaticQuery, graphql } from 'gatsby';\r\nimport Img from 'gatsby-image';\r\nimport styled from 'styled-components';\r\nimport { srConfig } from '@config';\r\nimport sr from '@utils/sr';\r\n\r\nconst StyledAboutSection = styled.section`\r\n max-width: 900px;\r\n\r\n .inner {\r\n display: grid;\r\n grid-template-columns: 3fr 2fr;\r\n grid-gap: 50px;\r\n\r\n @media (max-width: 768px) {\r\n display: block;\r\n }\r\n }\r\n`;\r\nconst StyledText = styled.div`\r\n ul.skills-list {\r\n display: grid;\r\n grid-template-columns: repeat(2, minmax(140px, 200px));\r\n padding: 0;\r\n margin: 20px 0 0 0;\r\n overflow: hidden;\r\n list-style: none;\r\n\r\n li {\r\n position: relative;\r\n margin-bottom: 10px;\r\n padding-left: 20px;\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-xs);\r\n\r\n &:before {\r\n content: '▹';\r\n position: absolute;\r\n left: 0;\r\n color: var(--green);\r\n font-size: var(--fz-sm);\r\n line-height: 12px;\r\n }\r\n }\r\n }\r\n`;\r\nconst StyledPic = styled.div`\r\n position: relative;\r\n max-width: 300px;\r\n\r\n @media (max-width: 768px) {\r\n margin: 50px auto 0;\r\n width: 70%;\r\n }\r\n\r\n .wrapper {\r\n ${({ theme }) => theme.mixins.boxShadow};\r\n display: block;\r\n position: relative;\r\n width: 100%;\r\n border-radius: var(--border-radius);\r\n background-color: var(--green);\r\n\r\n &:hover,\r\n &:focus {\r\n background: transparent;\r\n outline: 0;\r\n\r\n &:after {\r\n top: 15px;\r\n left: 15px;\r\n }\r\n\r\n .img {\r\n filter: none;\r\n mix-blend-mode: normal;\r\n }\r\n }\r\n\r\n .img {\r\n position: relative;\r\n border-radius: var(--border-radius);\r\n mix-blend-mode: multiply;\r\n filter: grayscale(100%) contrast(1);\r\n transition: var(--transition);\r\n }\r\n\r\n &:before,\r\n &:after {\r\n content: '';\r\n display: block;\r\n position: absolute;\r\n width: 100%;\r\n height: 100%;\r\n border-radius: var(--border-radius);\r\n transition: var(--transition);\r\n }\r\n\r\n &:before {\r\n top: 0;\r\n left: 0;\r\n background-color: var(--navy);\r\n mix-blend-mode: screen;\r\n }\r\n\r\n &:after {\r\n border: 2px solid var(--green);\r\n top: 20px;\r\n left: 20px;\r\n z-index: -1;\r\n }\r\n }\r\n`;\r\n\r\nconst About = () => {\r\n const data = useStaticQuery(graphql`\r\n query {\r\n avatar: file(sourceInstanceName: { eq: \"images\" }, relativePath: { eq: \"me.jpg\" }) {\r\n childImageSharp {\r\n fluid(maxWidth: 500, traceSVG: { color: \"#64ffda\" }) {\r\n ...GatsbyImageSharpFluid_withWebp_tracedSVG\r\n }\r\n }\r\n }\r\n }\r\n `);\r\n\r\n const revealContainer = useRef(null);\r\n\r\n useEffect(() => {\r\n sr.reveal(revealContainer.current, srConfig());\r\n }, []);\r\n\r\n const skills = ['C/C++', 'Java', 'Python', 'SQL'];\r\n\r\n return (\r\n <StyledAboutSection id=\"about\" ref={revealContainer}>\r\n <h2 className=\"numbered-heading\">About Me</h2>\r\n\r\n <div className=\"inner\">\r\n <StyledText>\r\n <div>\r\n <p align=\"justify\">\r\n\t\t\t Hello! I'm Pradyot, a M.Sc. Computer Science student in data science track at Delft University of Technology{' '}\r\n\t\t\t <a href=\"https://www.tudelft.nl/en/\">(TU Delft)</a>.\r\n\t\t\t</p>\r\n\r\n <p align=\"justify\">\r\n I'm also currently a software engineering research intern at{' '} <a href=\"https://www.tudelft.nl/en/\">ING</a>. \r\n\t\t\t I have keen interest in statistics, time series modeling and solving real life problems with code on a large scale. \r\n\t\t\t I'm passionate about learning, teaching and I believe in open flow of knowledge.\r\n\t\t\t Also, an avid supporter of open source projects.\r\n </p>\r\n\r\n <p align=\"justify\">\r\n If I'm not busy studying or doing my research work you can find me at my gaming console or local football field. \r\n\t\t\t I love traveling, especially going on long treks.\r\n </p>\r\n\r\n <p>Here are a few technologies I've worked with :</p>\r\n </div>\r\n\r\n <ul className=\"skills-list\">\r\n {skills && skills.map((skill, i) => <li key={i}>{skill}</li>)}\r\n </ul>\r\n </StyledText>\r\n\r\n <StyledPic>\r\n <div className=\"wrapper\">\r\n <Img fluid={data.avatar.childImageSharp.fluid} alt=\"Avatar\" className=\"img\" />\r\n </div>\r\n </StyledPic>\r\n </div>\r\n </StyledAboutSection>\r\n );\r\n};\r\n\r\nexport default About;\r\n","import React, { useState, useEffect, useRef } from 'react';\r\nimport { useStaticQuery, graphql } from 'gatsby';\r\nimport { CSSTransition } from 'react-transition-group';\r\nimport styled from 'styled-components';\r\nimport { srConfig } from '@config';\r\nimport { KEY_CODES } from '@utils';\r\nimport sr from '@utils/sr';\r\n\r\nconst StyledJobsSection = styled.section`\r\n max-width: 700px;\r\n\r\n .inner {\r\n display: flex;\r\n\r\n @media (max-width: 600px) {\r\n display: block;\r\n }\r\n }\r\n`;\r\n\r\nconst StyledTabList = styled.ul`\r\n position: relative;\r\n z-index: 3;\r\n width: max-content;\r\n padding: 0;\r\n margin: 0;\r\n list-style: none;\r\n\r\n @media (max-width: 600px) {\r\n display: flex;\r\n overflow-x: auto;\r\n width: calc(100% + 100px);\r\n margin-left: -50px;\r\n margin-bottom: 30px;\r\n }\r\n @media (max-width: 480px) {\r\n width: calc(100% + 50px);\r\n margin-left: -25px;\r\n }\r\n\r\n li {\r\n &:first-of-type {\r\n @media (max-width: 600px) {\r\n margin-left: 50px;\r\n }\r\n @media (max-width: 480px) {\r\n margin-left: 25px;\r\n }\r\n }\r\n &:last-of-type {\r\n @media (max-width: 600px) {\r\n padding-right: 50px;\r\n }\r\n @media (max-width: 480px) {\r\n padding-right: 25px;\r\n }\r\n }\r\n }\r\n`;\r\n\r\nconst StyledTabButton = styled.button`\r\n ${({ theme }) => theme.mixins.link};\r\n display: flex;\r\n align-items: center;\r\n width: 100%;\r\n height: var(--tab-height);\r\n padding: 0 20px 2px;\r\n border-left: 2px solid var(--lightest-navy);\r\n background-color: transparent;\r\n color: ${({ isActive }) => (isActive ? 'var(--green)' : 'var(--slate)')};\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-xs);\r\n text-align: left;\r\n white-space: nowrap;\r\n\r\n @media (max-width: 768px) {\r\n padding: 0 15px 2px;\r\n }\r\n @media (max-width: 600px) {\r\n ${({ theme }) => theme.mixins.flexCenter};\r\n min-width: 120px;\r\n padding: 0 15px;\r\n border-left: 0;\r\n border-bottom: 2px solid var(--lightest-navy);\r\n text-align: center;\r\n }\r\n\r\n &:hover,\r\n &:focus {\r\n background-color: var(--light-navy);\r\n }\r\n`;\r\n\r\nconst StyledHighlight = styled.div`\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n z-index: 10;\r\n width: 2px;\r\n height: var(--tab-height);\r\n border-radius: var(--border-radius);\r\n background: var(--green);\r\n transform: translateY(calc(${({ activeTabId }) => activeTabId} * var(--tab-height)));\r\n transition: transform 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);\r\n transition-delay: 0.1s;\r\n\r\n @media (max-width: 600px) {\r\n top: auto;\r\n bottom: 0;\r\n width: 100%;\r\n max-width: var(--tab-width);\r\n height: 2px;\r\n margin-left: 50px;\r\n transform: translateX(calc(${({ activeTabId }) => activeTabId} * var(--tab-width)));\r\n }\r\n @media (max-width: 480px) {\r\n margin-left: 25px;\r\n }\r\n`;\r\n\r\nconst StyledTabContent = styled.div`\r\n width: 100%;\r\n height: auto;\r\n padding-top: 10px;\r\n padding-left: 30px;\r\n\r\n @media (max-width: 768px) {\r\n padding-left: 20px;\r\n }\r\n @media (max-width: 600px) {\r\n padding-left: 0;\r\n }\r\n\r\n ul {\r\n ${({ theme }) => theme.mixins.fancyList};\r\n }\r\n\r\n h3 {\r\n margin-bottom: 5px;\r\n font-size: var(--fz-xxl);\r\n font-weight: 500;\r\n\r\n .company {\r\n color: var(--green);\r\n }\r\n }\r\n\r\n .range {\r\n margin-bottom: 30px;\r\n color: var(--light-slate);\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-xs);\r\n }\r\n`;\r\n\r\nconst Jobs = () => {\r\n const data = useStaticQuery(graphql`\r\n query {\r\n jobs: allMarkdownRemark(\r\n filter: { fileAbsolutePath: { regex: \"/jobs/\" } }\r\n sort: { fields: [frontmatter___date], order: DESC }\r\n ) {\r\n edges {\r\n node {\r\n frontmatter {\r\n title\r\n company\r\n location\r\n range\r\n url\r\n }\r\n html\r\n }\r\n }\r\n }\r\n }\r\n `);\r\n\r\n const jobsData = data.jobs.edges;\r\n\r\n const [activeTabId, setActiveTabId] = useState(0);\r\n const [tabFocus, setTabFocus] = useState(null);\r\n const tabs = useRef([]);\r\n\r\n const revealContainer = useRef(null);\r\n useEffect(() => sr.reveal(revealContainer.current, srConfig()), []);\r\n\r\n const focusTab = () => {\r\n if (tabs.current[tabFocus]) {\r\n tabs.current[tabFocus].focus();\r\n return;\r\n }\r\n // If we're at the end, go to the start\r\n if (tabFocus >= tabs.current.length) {\r\n setTabFocus(0);\r\n }\r\n // If we're at the start, move to the end\r\n if (tabFocus < 0) {\r\n setTabFocus(tabs.current.length - 1);\r\n }\r\n };\r\n\r\n // Only re-run the effect if tabFocus changes\r\n useEffect(() => focusTab(), [tabFocus]);\r\n\r\n // Focus on tabs when using up & down arrow keys\r\n const onKeyDown = e => {\r\n if (e.key === KEY_CODES.ARROW_UP || e.key === KEY_CODES.ARROW_DOWN) {\r\n e.preventDefault();\r\n // Move up\r\n if (e.key === KEY_CODES.ARROW_UP) {\r\n setTabFocus(tabFocus - 1);\r\n }\r\n // Move down\r\n if (e.key === KEY_CODES.ARROW_DOWN) {\r\n setTabFocus(tabFocus + 1);\r\n }\r\n }\r\n };\r\n\r\n return (\r\n <StyledJobsSection id=\"jobs\" ref={revealContainer}>\r\n <h2 className=\"numbered-heading\">Where I’ve Worked</h2>\r\n\r\n <div className=\"inner\">\r\n <StyledTabList role=\"tablist\" aria-label=\"Job tabs\" onKeyDown={onKeyDown}>\r\n {jobsData &&\r\n jobsData.map(({ node }, i) => {\r\n const { company } = node.frontmatter;\r\n return (\r\n <li key={i}>\r\n <StyledTabButton\r\n isActive={activeTabId === i}\r\n onClick={() => setActiveTabId(i)}\r\n ref={el => (tabs.current[i] = el)}\r\n id={`tab-${i}`}\r\n role=\"tab\"\r\n aria-selected={activeTabId === i ? true : false}\r\n aria-controls={`panel-${i}`}\r\n tabIndex={activeTabId === i ? '0' : '-1'}>\r\n <span>{company}</span>\r\n </StyledTabButton>\r\n </li>\r\n );\r\n })}\r\n <StyledHighlight activeTabId={activeTabId} />\r\n </StyledTabList>\r\n\r\n {jobsData &&\r\n jobsData.map(({ node }, i) => {\r\n const { frontmatter, html } = node;\r\n const { title, url, company, range } = frontmatter;\r\n\r\n return (\r\n <CSSTransition key={i} in={activeTabId === i} timeout={250} classNames=\"fade\">\r\n <StyledTabContent\r\n id={`panel-${i}`}\r\n role=\"tabpanel\"\r\n tabIndex={activeTabId === i ? '0' : '-1'}\r\n aria-labelledby={`tab-${i}`}\r\n aria-hidden={activeTabId !== i}\r\n hidden={activeTabId !== i}>\r\n <h3>\r\n <span>{title}</span>\r\n <span className=\"company\">\r\n @ \r\n <a href={url} className=\"inline-link\">\r\n {company}\r\n </a>\r\n </span>\r\n </h3>\r\n\r\n <p className=\"range\">{range}</p>\r\n\r\n <div align=\"justify\" dangerouslySetInnerHTML={{ __html: html }} />\r\n </StyledTabContent>\r\n </CSSTransition>\r\n );\r\n })}\r\n </div>\r\n </StyledJobsSection>\r\n );\r\n};\r\n\r\nexport default Jobs;\r\n","import React, { useEffect, useRef } from 'react';\r\nimport { useStaticQuery, graphql } from 'gatsby';\r\nimport Img from 'gatsby-image';\r\nimport styled from 'styled-components';\r\nimport sr from '@utils/sr';\r\nimport { srConfig } from '@config';\r\nimport { Icon } from '@components/icons';\r\n\r\nconst StyledProject = styled.div`\r\n display: grid;\r\n grid-gap: 10px;\r\n grid-template-columns: repeat(12, 1fr);\r\n align-items: center;\r\n\r\n &:not(:last-of-type) {\r\n margin-bottom: 100px;\r\n\r\n @media (max-width: 768px) {\r\n margin-bottom: 70px;\r\n }\r\n\r\n @media (max-width: 480px) {\r\n margin-bottom: 30px;\r\n }\r\n }\r\n\r\n &:nth-of-type(odd) {\r\n .project-content {\r\n grid-column: 7 / -1;\r\n text-align: right;\r\n\r\n @media (max-width: 1080px) {\r\n grid-column: 5 / -1;\r\n }\r\n @media (max-width: 768px) {\r\n grid-column: 1 / -1;\r\n padding: 40px 40px 30px;\r\n }\r\n @media (max-width: 480px) {\r\n padding: 25px 25px 20px;\r\n }\r\n }\r\n .project-tech-list {\r\n justify-content: flex-end;\r\n\r\n li {\r\n margin: 0 0 5px 20px;\r\n\r\n @media (max-width: 768px) {\r\n margin: 0 0 5px 10px;\r\n }\r\n }\r\n }\r\n .project-links {\r\n justify-content: flex-end;\r\n margin-left: 0;\r\n margin-right: -10px;\r\n }\r\n .project-image {\r\n grid-column: 1 / 8;\r\n\r\n @media (max-width: 768px) {\r\n grid-column: 1 / -1;\r\n }\r\n }\r\n }\r\n\r\n .project-content {\r\n position: relative;\r\n grid-column: 1 / 7;\r\n grid-row: 1 / -1;\r\n\r\n @media (max-width: 1080px) {\r\n grid-column: 1 / 9;\r\n }\r\n\r\n @media (max-width: 768px) {\r\n grid-column: 1 / -1;\r\n padding: 40px 40px 30px;\r\n z-index: 5;\r\n }\r\n\r\n @media (max-width: 480px) {\r\n padding: 30px 25px 20px;\r\n }\r\n }\r\n\r\n .project-overline {\r\n margin: 10px 0;\r\n color: var(--green);\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-xs);\r\n font-weight: 400;\r\n }\r\n\r\n .project-title {\r\n color: var(--lightest-slate);\r\n font-size: clamp(24px, 5vw, 28px);\r\n\r\n @media (min-width: 768px) {\r\n margin: 0 0 20px;\r\n }\r\n\r\n @media (max-width: 768px) {\r\n color: var(--white);\r\n }\r\n }\r\n\r\n .project-description {\r\n ${({ theme }) => theme.mixins.boxShadow};\r\n position: relative;\r\n z-index: 2;\r\n padding: 25px;\r\n border-radius: var(--border-radius);\r\n background-color: var(--light-navy);\r\n color: var(--light-slate);\r\n font-size: var(--fz-lg);\r\n\r\n @media (max-width: 768px) {\r\n padding: 20px 0;\r\n background-color: transparent;\r\n box-shadow: none;\r\n\r\n &:hover {\r\n box-shadow: none;\r\n }\r\n }\r\n\r\n a {\r\n ${({ theme }) => theme.mixins.inlineLink};\r\n }\r\n }\r\n\r\n .project-tech-list {\r\n display: flex;\r\n flex-wrap: wrap;\r\n position: relative;\r\n z-index: 2;\r\n margin: 25px 0 10px;\r\n padding: 0;\r\n list-style: none;\r\n\r\n li {\r\n margin: 0 20px 5px 0;\r\n color: var(--light-slate);\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-xs);\r\n white-space: nowrap;\r\n }\r\n\r\n @media (max-width: 768px) {\r\n margin: 10px 0;\r\n\r\n li {\r\n margin: 0 10px 5px 0;\r\n color: var(--lightest-slate);\r\n }\r\n }\r\n }\r\n\r\n .project-links {\r\n display: flex;\r\n align-items: center;\r\n position: relative;\r\n margin-top: 10px;\r\n margin-left: -10px;\r\n color: var(--lightest-slate);\r\n a {\r\n padding: 10px;\r\n svg {\r\n width: 20px;\r\n height: 20px;\r\n }\r\n }\r\n }\r\n\r\n .project-image {\r\n ${({ theme }) => theme.mixins.boxShadow};\r\n grid-column: 6 / -1;\r\n grid-row: 1 / -1;\r\n position: relative;\r\n z-index: 1;\r\n\r\n @media (max-width: 768px) {\r\n grid-column: 1 / -1;\r\n height: 100%;\r\n opacity: 0.25;\r\n }\r\n\r\n a {\r\n width: 100%;\r\n background-color: var(--green);\r\n border-radius: var(--border-radius);\r\n vertical-align: middle;\r\n\r\n &:hover,\r\n &:focus {\r\n background: transparent;\r\n\r\n &:before,\r\n .img {\r\n background: transparent;\r\n filter: none;\r\n }\r\n }\r\n\r\n &:before {\r\n content: '';\r\n position: absolute;\r\n width: 100%;\r\n height: 100%;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n z-index: 3;\r\n transition: var(--transition);\r\n background-color: var(--navy);\r\n mix-blend-mode: screen;\r\n }\r\n }\r\n\r\n .img {\r\n border-radius: var(--border-radius);\r\n mix-blend-mode: multiply;\r\n filter: grayscale(100%) contrast(1) brightness(90%);\r\n\r\n @media (max-width: 768px) {\r\n object-fit: cover;\r\n width: auto;\r\n height: 100%;\r\n filter: grayscale(100%) contrast(1) brightness(80%);\r\n }\r\n }\r\n }\r\n`;\r\n\r\nconst Featured = () => {\r\n const data = useStaticQuery(graphql`\r\n query {\r\n featured: allMarkdownRemark(\r\n filter: { fileAbsolutePath: { regex: \"/featured/\" } }\r\n sort: { fields: [frontmatter___date], order: DESC }\r\n ) {\r\n edges {\r\n node {\r\n frontmatter {\r\n title\r\n cover {\r\n childImageSharp {\r\n fluid(maxWidth: 700, traceSVG: { color: \"#64ffda\" }) {\r\n ...GatsbyImageSharpFluid_withWebp_tracedSVG\r\n }\r\n }\r\n }\r\n tech\r\n github\r\n external\r\n }\r\n html\r\n }\r\n }\r\n }\r\n }\r\n `);\r\n\r\n const featuredProjects = data.featured.edges.filter(({ node }) => node);\r\n\r\n const revealTitle = useRef(null);\r\n const revealProjects = useRef([]);\r\n useEffect(() => {\r\n sr.reveal(revealTitle.current, srConfig());\r\n revealProjects.current.forEach((ref, i) => sr.reveal(ref, srConfig(i * 100)));\r\n }, []);\r\n\r\n return (\r\n <section id=\"projects\">\r\n <h2 className=\"numbered-heading\" ref={revealTitle}>\r\n Some Things I’ve Worked On\r\n </h2>\r\n\r\n <div>\r\n {featuredProjects &&\r\n featuredProjects.map(({ node }, i) => {\r\n const { frontmatter, html } = node;\r\n const { external, title, tech, github, cover } = frontmatter;\r\n\r\n return (\r\n <StyledProject key={i} ref={el => (revealProjects.current[i] = el)}>\r\n <div className=\"project-content\">\r\n <p className=\"project-overline\">Featured Project</p>\r\n <h3 className=\"project-title\">{title}</h3>\r\n <div align=\"justify\" className=\"project-description\" dangerouslySetInnerHTML={{ __html: html }} />\r\n\r\n {tech.length && (\r\n <ul className=\"project-tech-list\">\r\n {tech.map((tech, i) => (\r\n <li key={i}>{tech}</li>\r\n ))}\r\n </ul>\r\n )}\r\n\r\n <div className=\"project-links\">\r\n {github && (\r\n <a href={github} aria-label=\"GitHub Link\">\r\n <Icon name=\"GitHub\" />\r\n </a>\r\n )}\r\n {external && (\r\n <a href={external} aria-label=\"External Link\">\r\n <Icon name=\"External\" />\r\n </a>\r\n )}\r\n </div>\r\n </div>\r\n\r\n <div className=\"project-image\">\r\n <a href={external ? external : github ? github : '#'}>\r\n <Img fluid={cover.childImageSharp.fluid} alt={title} className=\"img\" />\r\n </a>\r\n </div>\r\n </StyledProject>\r\n );\r\n })}\r\n </div>\r\n </section>\r\n );\r\n};\r\n\r\nexport default Featured;\r\n","import React, { useState, useEffect, useRef } from 'react';\r\nimport { Link, useStaticQuery, graphql } from 'gatsby';\r\nimport { CSSTransition, TransitionGroup } from 'react-transition-group';\r\nimport styled from 'styled-components';\r\nimport { srConfig } from '@config';\r\nimport sr from '@utils/sr';\r\nimport { Icon } from '@components/icons';\r\n\r\nconst StyledProjectsSection = styled.section`\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n\r\n h2 {\r\n font-size: clamp(24px, 5vw, var(--fz-heading));\r\n }\r\n\r\n .archive-link {\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-sm);\r\n &:after {\r\n bottom: 0.1em;\r\n }\r\n }\r\n\r\n .projects-grid {\r\n display: grid;\r\n grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));\r\n grid-gap: 15px;\r\n position: relative;\r\n margin-top: 50px;\r\n\r\n @media (max-width: 1080px) {\r\n grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));\r\n }\r\n }\r\n\r\n .more-button {\r\n ${({ theme }) => theme.mixins.button};\r\n margin: 80px auto 0;\r\n }\r\n`;\r\n\r\nconst StyledProject = styled.div`\r\n cursor: default;\r\n transition: var(--transition);\r\n\r\n &:hover,\r\n &:focus {\r\n outline: 0;\r\n .project-inner {\r\n transform: translateY(-5px);\r\n }\r\n }\r\n\r\n .project-inner {\r\n ${({ theme }) => theme.mixins.boxShadow};\r\n ${({ theme }) => theme.mixins.flexBetween};\r\n flex-direction: column;\r\n align-items: flex-start;\r\n position: relative;\r\n height: 100%;\r\n padding: 2rem 1.75rem;\r\n border-radius: var(--border-radius);\r\n background-color: var(--light-navy);\r\n transition: var(--transition);\r\n }\r\n\r\n .project-top {\r\n ${({ theme }) => theme.mixins.flexBetween};\r\n margin-bottom: 30px;\r\n\r\n .folder {\r\n color: var(--green);\r\n svg {\r\n width: 40px;\r\n height: 40px;\r\n }\r\n }\r\n\r\n .project-links {\r\n margin-right: -10px;\r\n color: var(--light-slate);\r\n\r\n a {\r\n padding: 5px 10px;\r\n\r\n svg {\r\n width: 20px;\r\n height: 20px;\r\n }\r\n }\r\n }\r\n }\r\n\r\n .project-title {\r\n margin: 0 0 10px;\r\n color: var(--lightest-slate);\r\n font-size: var(--fz-xxl);\r\n }\r\n\r\n .project-description {\r\n color: var(--light-slate);\r\n font-size: 17px;\r\n\r\n a {\r\n ${({ theme }) => theme.mixins.inlineLink};\r\n }\r\n }\r\n\r\n .project-tech-list {\r\n display: flex;\r\n align-items: flex-end;\r\n flex-grow: 1;\r\n flex-wrap: wrap;\r\n padding: 0;\r\n margin: 20px 0 0 0;\r\n list-style: none;\r\n\r\n li {\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-xxs);\r\n line-height: 1.75;\r\n\r\n &:not(:last-of-type) {\r\n margin-right: 15px;\r\n }\r\n }\r\n }\r\n`;\r\n\r\nconst Projects = () => {\r\n const data = useStaticQuery(graphql`\r\n query {\r\n projects: allMarkdownRemark(\r\n filter: {\r\n fileAbsolutePath: { regex: \"/projects/\" }\r\n frontmatter: { showInProjects: { ne: false } }\r\n }\r\n sort: { fields: [frontmatter___date], order: DESC }\r\n ) {\r\n edges {\r\n node {\r\n frontmatter {\r\n title\r\n tech\r\n github\r\n external\r\n }\r\n html\r\n }\r\n }\r\n }\r\n }\r\n `);\r\n\r\n const [showMore, setShowMore] = useState(false);\r\n const revealTitle = useRef(null);\r\n const revealArchiveLink = useRef(null);\r\n const revealProjects = useRef([]);\r\n\r\n useEffect(() => {\r\n sr.reveal(revealTitle.current, srConfig());\r\n sr.reveal(revealArchiveLink.current, srConfig());\r\n revealProjects.current.forEach((ref, i) => sr.reveal(ref, srConfig(i * 100)));\r\n }, []);\r\n\r\n const GRID_LIMIT = 6;\r\n const projects = data.projects.edges.filter(({ node }) => node);\r\n const firstSix = projects.slice(0, GRID_LIMIT);\r\n const projectsToShow = showMore ? projects : firstSix;\r\n\r\n return (\r\n <StyledProjectsSection>\r\n <h2 ref={revealTitle}>Other Noteworthy Projects</h2>\r\n\r\n\r\n <TransitionGroup className=\"projects-grid\">\r\n {projectsToShow &&\r\n projectsToShow.map(({ node }, i) => {\r\n const { frontmatter, html } = node;\r\n const { github, external, title, tech } = frontmatter;\r\n\r\n return (\r\n <CSSTransition\r\n key={i}\r\n classNames=\"fadeup\"\r\n timeout={i >= GRID_LIMIT ? (i - GRID_LIMIT) * 300 : 300}\r\n exit={false}>\r\n <StyledProject\r\n key={i}\r\n ref={el => (revealProjects.current[i] = el)}\r\n tabIndex=\"0\"\r\n style={{\r\n transitionDelay: `${i >= GRID_LIMIT ? (i - GRID_LIMIT) * 100 : 0}ms`,\r\n }}>\r\n <div className=\"project-inner\">\r\n <header>\r\n <div className=\"project-top\">\r\n <div className=\"folder\">\r\n <Icon name=\"Folder\" />\r\n </div>\r\n <div className=\"project-links\">\r\n {github && (\r\n <a href={github} aria-label=\"GitHub Link\">\r\n <Icon name=\"GitHub\" />\r\n </a>\r\n )}\r\n {external && (\r\n <a href={external} aria-label=\"External Link\">\r\n <Icon name=\"External\" />\r\n </a>\r\n )}\r\n </div>\r\n </div>\r\n\r\n <h3 className=\"project-title\">{title}</h3>\r\n\r\n <div\r\n\t\t\t\t\t\talign=\"justify\"\r\n className=\"project-description\"\r\n dangerouslySetInnerHTML={{ __html: html }}\r\n />\r\n </header>\r\n\r\n <footer>\r\n {tech && (\r\n <ul className=\"project-tech-list\">\r\n {tech.map((tech, i) => (\r\n <li key={i}>{tech}</li>\r\n ))}\r\n </ul>\r\n )}\r\n </footer>\r\n </div>\r\n </StyledProject>\r\n </CSSTransition>\r\n );\r\n })}\r\n </TransitionGroup>\r\n\r\n \r\n </StyledProjectsSection>\r\n );\r\n};\r\n\r\nexport default Projects;\r\n","import React, { useEffect, useRef } from 'react';\r\nimport styled from 'styled-components';\r\nimport { srConfig, email } from '@config';\r\nimport sr from '@utils/sr';\r\n\r\nconst StyledContactSection = styled.section`\r\n max-width: 600px;\r\n margin: 0 auto 100px;\r\n text-align: center;\r\n\r\n @media (max-width: 768px) {\r\n margin: 0 auto 50px;\r\n }\r\n\r\n .overline {\r\n display: block;\r\n margin-bottom: 20px;\r\n color: var(--green);\r\n font-family: var(--font-mono);\r\n font-size: var(--fz-md);\r\n font-weight: 400;\r\n\r\n &:before {\r\n bottom: 0;\r\n font-size: var(--fz-sm);\r\n }\r\n\r\n &:after {\r\n display: none;\r\n }\r\n }\r\n\r\n .title {\r\n font-size: clamp(40px, 5vw, 60px);\r\n }\r\n\r\n .email-link {\r\n ${({ theme }) => theme.mixins.bigButton};\r\n margin-top: 50px;\r\n }\r\n`;\r\n\r\nconst Contact = () => {\r\n const revealContainer = useRef(null);\r\n useEffect(() => sr.reveal(revealContainer.current, srConfig()), []);\r\n\r\n return (\r\n <StyledContactSection id=\"contact\" ref={revealContainer}>\r\n <h2 className=\"numbered-heading overline\">What’s Next?</h2>\r\n\r\n <h2 className=\"title\">Get In Touch</h2>\r\n\r\n <p>\r\n If you have a relevant opportunity for me in data analytics, AI/ML and Software Development Roles, my inbox is always open.\r\n Whether you have a question or just want to say hi, I'll try my best to get back to you!\r\n </p>\r\n\r\n <a className=\"email-link\" href={`mailto:${email}`}>\r\n Say Hello\r\n </a>\r\n </StyledContactSection>\r\n );\r\n};\r\n\r\nexport default Contact;\r\n","module.exports = __webpack_public_path__ + \"static/Calibre-Regular-b63c62e591d0c8fbe2c8f009883346d5.woff2\";","var unitlessKeys = {\n animationIterationCount: 1,\n borderImageOutset: 1,\n borderImageSlice: 1,\n borderImageWidth: 1,\n boxFlex: 1,\n boxFlexGroup: 1,\n boxOrdinalGroup: 1,\n columnCount: 1,\n columns: 1,\n flex: 1,\n flexGrow: 1,\n flexPositive: 1,\n flexShrink: 1,\n flexNegative: 1,\n flexOrder: 1,\n gridRow: 1,\n gridRowEnd: 1,\n gridRowSpan: 1,\n gridRowStart: 1,\n gridColumn: 1,\n gridColumnEnd: 1,\n gridColumnSpan: 1,\n gridColumnStart: 1,\n msGridRow: 1,\n msGridRowSpan: 1,\n msGridColumn: 1,\n msGridColumnSpan: 1,\n fontWeight: 1,\n lineHeight: 1,\n opacity: 1,\n order: 1,\n orphans: 1,\n tabSize: 1,\n widows: 1,\n zIndex: 1,\n zoom: 1,\n WebkitLineClamp: 1,\n // SVG-related properties\n fillOpacity: 1,\n floodOpacity: 1,\n stopOpacity: 1,\n strokeDasharray: 1,\n strokeDashoffset: 1,\n strokeMiterlimit: 1,\n strokeOpacity: 1,\n strokeWidth: 1\n};\nexport default unitlessKeys;","module.exports = __webpack_public_path__ + \"static/Calibre-Semibold-d8b856473a51d7eec2a9bccf2fbea54c.woff2\";","module.exports = __webpack_public_path__ + \"static/SFMono-Semibold-cebe2bfbe8a283427e3c5ad8a1b8ae2f.woff2\";","/*! smooth-scroll v16.1.3 | (c) 2020 Chris Ferdinandi | MIT License | http://github.com/cferdinandi/smooth-scroll */\nwindow.Element && !Element.prototype.closest && (Element.prototype.closest = function (e) {\n var t,\n n = (this.document || this.ownerDocument).querySelectorAll(e),\n o = this;\n\n do {\n for (t = n.length; 0 <= --t && n.item(t) !== o;) {\n ;\n }\n } while (t < 0 && (o = o.parentElement));\n\n return o;\n}), function () {\n if (\"function\" == typeof window.CustomEvent) return;\n\n function e(e, t) {\n t = t || {\n bubbles: !1,\n cancelable: !1,\n detail: void 0\n };\n var n = document.createEvent(\"CustomEvent\");\n return n.initCustomEvent(e, t.bubbles, t.cancelable, t.detail), n;\n }\n\n e.prototype = window.Event.prototype, window.CustomEvent = e;\n}(), function () {\n for (var r = 0, e = [\"ms\", \"moz\", \"webkit\", \"o\"], t = 0; t < e.length && !window.requestAnimationFrame; ++t) {\n window.requestAnimationFrame = window[e[t] + \"RequestAnimationFrame\"], window.cancelAnimationFrame = window[e[t] + \"CancelAnimationFrame\"] || window[e[t] + \"CancelRequestAnimationFrame\"];\n }\n\n window.requestAnimationFrame || (window.requestAnimationFrame = function (e, t) {\n var n = new Date().getTime(),\n o = Math.max(0, 16 - (n - r)),\n a = window.setTimeout(function () {\n e(n + o);\n }, o);\n return r = n + o, a;\n }), window.cancelAnimationFrame || (window.cancelAnimationFrame = function (e) {\n clearTimeout(e);\n });\n}(), function (e, t) {\n \"function\" == typeof define && define.amd ? define([], function () {\n return t(e);\n }) : \"object\" == typeof exports ? module.exports = t(e) : e.SmoothScroll = t(e);\n}(\"undefined\" != typeof global ? global : \"undefined\" != typeof window ? window : this, function (M) {\n \"use strict\";\n\n var q = {\n ignore: \"[data-scroll-ignore]\",\n header: null,\n topOnEmptyHash: !0,\n speed: 500,\n speedAsDuration: !1,\n durationMax: null,\n durationMin: null,\n clip: !0,\n offset: 0,\n easing: \"easeInOutCubic\",\n customEasing: null,\n updateURL: !0,\n popstate: !0,\n emitEvents: !0\n },\n I = function I() {\n var n = {};\n return Array.prototype.forEach.call(arguments, function (e) {\n for (var t in e) {\n if (!e.hasOwnProperty(t)) return;\n n[t] = e[t];\n }\n }), n;\n },\n r = function r(e) {\n \"#\" === e.charAt(0) && (e = e.substr(1));\n\n for (var t, n = String(e), o = n.length, a = -1, r = \"\", i = n.charCodeAt(0); ++a < o;) {\n if (0 === (t = n.charCodeAt(a))) throw new InvalidCharacterError(\"Invalid character: the input contains U+0000.\");\n 1 <= t && t <= 31 || 127 == t || 0 === a && 48 <= t && t <= 57 || 1 === a && 48 <= t && t <= 57 && 45 === i ? r += \"\\\\\" + t.toString(16) + \" \" : r += 128 <= t || 45 === t || 95 === t || 48 <= t && t <= 57 || 65 <= t && t <= 90 || 97 <= t && t <= 122 ? n.charAt(a) : \"\\\\\" + n.charAt(a);\n }\n\n return \"#\" + r;\n },\n F = function F() {\n return Math.max(document.body.scrollHeight, document.documentElement.scrollHeight, document.body.offsetHeight, document.documentElement.offsetHeight, document.body.clientHeight, document.documentElement.clientHeight);\n },\n L = function L(e) {\n return e ? (t = e, parseInt(M.getComputedStyle(t).height, 10) + e.offsetTop) : 0;\n var t;\n },\n x = function x(e, t, n) {\n 0 === e && document.body.focus(), n || (e.focus(), document.activeElement !== e && (e.setAttribute(\"tabindex\", \"-1\"), e.focus(), e.style.outline = \"none\"), M.scrollTo(0, t));\n },\n H = function H(e, t, n, o) {\n if (t.emitEvents && \"function\" == typeof M.CustomEvent) {\n var a = new CustomEvent(e, {\n bubbles: !0,\n detail: {\n anchor: n,\n toggle: o\n }\n });\n document.dispatchEvent(a);\n }\n };\n\n return function (o, e) {\n var b,\n a,\n A,\n O,\n C = {};\n C.cancelScroll = function (e) {\n cancelAnimationFrame(O), O = null, e || H(\"scrollCancel\", b);\n }, C.animateScroll = function (a, r, e) {\n C.cancelScroll();\n var i = I(b || q, e || {}),\n c = \"[object Number]\" === Object.prototype.toString.call(a),\n t = c || !a.tagName ? null : a;\n\n if (c || t) {\n var s = M.pageYOffset;\n i.header && !A && (A = document.querySelector(i.header));\n\n var n,\n o,\n u,\n l,\n m,\n d,\n f,\n h,\n p = L(A),\n g = c ? a : function (e, t, n, o) {\n var a = 0;\n if (e.offsetParent) for (; a += e.offsetTop, e = e.offsetParent;) {\n ;\n }\n return a = Math.max(a - t - n, 0), o && (a = Math.min(a, F() - M.innerHeight)), a;\n }(t, p, parseInt(\"function\" == typeof i.offset ? i.offset(a, r) : i.offset, 10), i.clip),\n y = g - s,\n v = F(),\n w = 0,\n S = (n = y, u = (o = i).speedAsDuration ? o.speed : Math.abs(n / 1e3 * o.speed), o.durationMax && u > o.durationMax ? o.durationMax : o.durationMin && u < o.durationMin ? o.durationMin : parseInt(u, 10)),\n E = function E(e) {\n var t, n, o;\n l || (l = e), w += e - l, d = s + y * (n = m = 1 < (m = 0 === S ? 0 : w / S) ? 1 : m, \"easeInQuad\" === (t = i).easing && (o = n * n), \"easeOutQuad\" === t.easing && (o = n * (2 - n)), \"easeInOutQuad\" === t.easing && (o = n < .5 ? 2 * n * n : (4 - 2 * n) * n - 1), \"easeInCubic\" === t.easing && (o = n * n * n), \"easeOutCubic\" === t.easing && (o = --n * n * n + 1), \"easeInOutCubic\" === t.easing && (o = n < .5 ? 4 * n * n * n : (n - 1) * (2 * n - 2) * (2 * n - 2) + 1), \"easeInQuart\" === t.easing && (o = n * n * n * n), \"easeOutQuart\" === t.easing && (o = 1 - --n * n * n * n), \"easeInOutQuart\" === t.easing && (o = n < .5 ? 8 * n * n * n * n : 1 - 8 * --n * n * n * n), \"easeInQuint\" === t.easing && (o = n * n * n * n * n), \"easeOutQuint\" === t.easing && (o = 1 + --n * n * n * n * n), \"easeInOutQuint\" === t.easing && (o = n < .5 ? 16 * n * n * n * n * n : 1 + 16 * --n * n * n * n * n), t.customEasing && (o = t.customEasing(n)), o || n), M.scrollTo(0, Math.floor(d)), function (e, t) {\n var n = M.pageYOffset;\n if (e == t || n == t || (s < t && M.innerHeight + n) >= v) return C.cancelScroll(!0), x(a, t, c), H(\"scrollStop\", i, a, r), !(O = l = null);\n }(d, g) || (O = M.requestAnimationFrame(E), l = e);\n };\n\n 0 === M.pageYOffset && M.scrollTo(0, 0), f = a, h = i, c || history.pushState && h.updateURL && history.pushState({\n smoothScroll: JSON.stringify(h),\n anchor: f.id\n }, document.title, f === document.documentElement ? \"#top\" : \"#\" + f.id), \"matchMedia\" in M && M.matchMedia(\"(prefers-reduced-motion)\").matches ? x(a, Math.floor(g), !1) : (H(\"scrollStart\", i, a, r), C.cancelScroll(!0), M.requestAnimationFrame(E));\n }\n };\n\n var t = function t(e) {\n if (!e.defaultPrevented && !(0 !== e.button || e.metaKey || e.ctrlKey || e.shiftKey) && \"closest\" in e.target && (a = e.target.closest(o)) && \"a\" === a.tagName.toLowerCase() && !e.target.closest(b.ignore) && a.hostname === M.location.hostname && a.pathname === M.location.pathname && /#/.test(a.href)) {\n var t, n;\n\n try {\n t = r(decodeURIComponent(a.hash));\n } catch (e) {\n t = r(a.hash);\n }\n\n if (\"#\" === t) {\n if (!b.topOnEmptyHash) return;\n n = document.documentElement;\n } else n = document.querySelector(t);\n\n (n = n || \"#top\" !== t ? n : document.documentElement) && (e.preventDefault(), function (e) {\n if (history.replaceState && e.updateURL && !history.state) {\n var t = M.location.hash;\n t = t || \"\", history.replaceState({\n smoothScroll: JSON.stringify(e),\n anchor: t || M.pageYOffset\n }, document.title, t || M.location.href);\n }\n }(b), C.animateScroll(n, a));\n }\n },\n n = function n(e) {\n if (null !== history.state && history.state.smoothScroll && history.state.smoothScroll === JSON.stringify(b)) {\n var t = history.state.anchor;\n \"string\" == typeof t && t && !(t = document.querySelector(r(history.state.anchor))) || C.animateScroll(t, null, {\n updateURL: !1\n });\n }\n };\n\n C.destroy = function () {\n b && (document.removeEventListener(\"click\", t, !1), M.removeEventListener(\"popstate\", n, !1), C.cancelScroll(), O = A = a = b = null);\n };\n\n return function () {\n if (!(\"querySelector\" in document && \"addEventListener\" in M && \"requestAnimationFrame\" in M && \"closest\" in M.Element.prototype)) throw \"Smooth Scroll: This browser does not support the required JavaScript methods and browser APIs.\";\n C.destroy(), b = I(q, e || {}), A = b.header ? document.querySelector(b.header) : null, document.addEventListener(\"click\", t, !1), b.updateURL && b.popstate && M.addEventListener(\"popstate\", n, !1);\n }(), C;\n };\n});","(function (factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module['exports'] = factory() : typeof define === 'function' && define['amd'] ? define(factory()) : window['stylisRuleSheet'] = factory();\n})(function () {\n 'use strict';\n\n return function (insertRule) {\n var delimiter = '/*|*/';\n var needle = delimiter + '}';\n\n function toSheet(block) {\n if (block) try {\n insertRule(block + '}');\n } catch (e) {}\n }\n\n return function ruleSheet(context, content, selectors, parents, line, column, length, ns, depth, at) {\n switch (context) {\n // property\n case 1:\n // @import\n if (depth === 0 && content.charCodeAt(0) === 64) return insertRule(content + ';'), '';\n break;\n // selector\n\n case 2:\n if (ns === 0) return content + delimiter;\n break;\n // at-rule\n\n case 3:\n switch (ns) {\n // @font-face, @page\n case 102:\n case 112:\n return insertRule(selectors[0] + content), '';\n\n default:\n return content + (at === 0 ? delimiter : '');\n }\n\n case -2:\n content.split(needle).forEach(toSheet);\n }\n };\n };\n});","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}","module.exports = __webpack_public_path__ + \"static/Calibre-SemiboldItalic-6473be72d5216d0ec21d273af09b9fa3.woff\";","import { Children, cloneElement, isValidElement } from 'react';\n/**\n * Given `this.props.children`, return an object mapping key to child.\n *\n * @param {*} children `this.props.children`\n * @return {object} Mapping of key to child\n */\n\nexport function getChildMapping(children, mapFn) {\n var mapper = function mapper(child) {\n return mapFn && isValidElement(child) ? mapFn(child) : child;\n };\n\n var result = Object.create(null);\n if (children) Children.map(children, function (c) {\n return c;\n }).forEach(function (child) {\n // run the map function here instead so that the key is the computed one\n result[child.key] = mapper(child);\n });\n return result;\n}\n/**\n * When you're adding or removing children some may be added or removed in the\n * same render pass. We want to show *both* since we want to simultaneously\n * animate elements in and out. This function takes a previous set of keys\n * and a new set of keys and merges them with its best guess of the correct\n * ordering. In the future we may expose some of the utilities in\n * ReactMultiChild to make this easy, but for now React itself does not\n * directly have this concept of the union of prevChildren and nextChildren\n * so we implement it here.\n *\n * @param {object} prev prev children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @param {object} next next children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @return {object} a key set that contains all keys in `prev` and all keys\n * in `next` in a reasonable order.\n */\n\nexport function mergeChildMappings(prev, next) {\n prev = prev || {};\n next = next || {};\n\n function getValueForKey(key) {\n return key in next ? next[key] : prev[key];\n } // For each key of `next`, the list of keys to insert before that key in\n // the combined list\n\n\n var nextKeysPending = Object.create(null);\n var pendingKeys = [];\n\n for (var prevKey in prev) {\n if (prevKey in next) {\n if (pendingKeys.length) {\n nextKeysPending[prevKey] = pendingKeys;\n pendingKeys = [];\n }\n } else {\n pendingKeys.push(prevKey);\n }\n }\n\n var i;\n var childMapping = {};\n\n for (var nextKey in next) {\n if (nextKeysPending[nextKey]) {\n for (i = 0; i < nextKeysPending[nextKey].length; i++) {\n var pendingNextKey = nextKeysPending[nextKey][i];\n childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);\n }\n }\n\n childMapping[nextKey] = getValueForKey(nextKey);\n } // Finally, add the keys which didn't appear before any key in `next`\n\n\n for (i = 0; i < pendingKeys.length; i++) {\n childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);\n }\n\n return childMapping;\n}\n\nfunction getProp(child, prop, props) {\n return props[prop] != null ? props[prop] : child.props[prop];\n}\n\nexport function getInitialChildMapping(props, onExited) {\n return getChildMapping(props.children, function (child) {\n return cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: true,\n appear: getProp(child, 'appear', props),\n enter: getProp(child, 'enter', props),\n exit: getProp(child, 'exit', props)\n });\n });\n}\nexport function getNextChildMapping(nextProps, prevChildMapping, onExited) {\n var nextChildMapping = getChildMapping(nextProps.children);\n var children = mergeChildMappings(prevChildMapping, nextChildMapping);\n Object.keys(children).forEach(function (key) {\n var child = children[key];\n if (!isValidElement(child)) return;\n var hasPrev = (key in prevChildMapping);\n var hasNext = (key in nextChildMapping);\n var prevChild = prevChildMapping[key];\n var isLeaving = isValidElement(prevChild) && !prevChild.props.in; // item is new (entering)\n\n if (hasNext && (!hasPrev || isLeaving)) {\n // console.log('entering', key)\n children[key] = cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: true,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n } else if (!hasNext && hasPrev && !isLeaving) {\n // item is old (exiting)\n // console.log('leaving', key)\n children[key] = cloneElement(child, {\n in: false\n });\n } else if (hasNext && hasPrev && isValidElement(prevChild)) {\n // item hasn't changed transition states\n // copy over the last transition props;\n // console.log('unchanged', key)\n children[key] = cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: prevChild.props.in,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n }\n });\n return children;\n}","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport React from 'react';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { getChildMapping, getInitialChildMapping, getNextChildMapping } from './utils/ChildMapping';\n\nvar values = Object.values || function (obj) {\n return Object.keys(obj).map(function (k) {\n return obj[k];\n });\n};\n\nvar defaultProps = {\n component: 'div',\n childFactory: function childFactory(child) {\n return child;\n }\n};\n/**\n * The `<TransitionGroup>` component manages a set of transition components\n * (`<Transition>` and `<CSSTransition>`) in a list. Like with the transition\n * components, `<TransitionGroup>` is a state machine for managing the mounting\n * and unmounting of components over time.\n *\n * Consider the example below. As items are removed or added to the TodoList the\n * `in` prop is toggled automatically by the `<TransitionGroup>`.\n *\n * Note that `<TransitionGroup>` does not define any animation behavior!\n * Exactly _how_ a list item animates is up to the individual transition\n * component. This means you can mix and match animations across different list\n * items.\n */\n\nvar TransitionGroup = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(TransitionGroup, _React$Component);\n\n function TransitionGroup(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n\n var handleExited = _this.handleExited.bind(_assertThisInitialized(_this)); // Initial children should all be entering, dependent on appear\n\n\n _this.state = {\n contextValue: {\n isMounting: true\n },\n handleExited: handleExited,\n firstRender: true\n };\n return _this;\n }\n\n var _proto = TransitionGroup.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.mounted = true;\n this.setState({\n contextValue: {\n isMounting: false\n }\n });\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.mounted = false;\n };\n\n TransitionGroup.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref) {\n var prevChildMapping = _ref.children,\n handleExited = _ref.handleExited,\n firstRender = _ref.firstRender;\n return {\n children: firstRender ? getInitialChildMapping(nextProps, handleExited) : getNextChildMapping(nextProps, prevChildMapping, handleExited),\n firstRender: false\n };\n } // node is `undefined` when user provided `nodeRef` prop\n ;\n\n _proto.handleExited = function handleExited(child, node) {\n var currentChildMapping = getChildMapping(this.props.children);\n if (child.key in currentChildMapping) return;\n\n if (child.props.onExited) {\n child.props.onExited(node);\n }\n\n if (this.mounted) {\n this.setState(function (state) {\n var children = _extends({}, state.children);\n\n delete children[child.key];\n return {\n children: children\n };\n });\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n Component = _this$props.component,\n childFactory = _this$props.childFactory,\n props = _objectWithoutPropertiesLoose(_this$props, [\"component\", \"childFactory\"]);\n\n var contextValue = this.state.contextValue;\n var children = values(this.state.children).map(childFactory);\n delete props.appear;\n delete props.enter;\n delete props.exit;\n\n if (Component === null) {\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, children);\n }\n\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(Component, props, children));\n };\n\n return TransitionGroup;\n}(React.Component);\n\nTransitionGroup.defaultProps = defaultProps;\nexport default TransitionGroup;","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}","function areInputsEqual(newInputs, lastInputs) {\n if (newInputs.length !== lastInputs.length) {\n return false;\n }\n\n for (var i = 0; i < newInputs.length; i++) {\n if (newInputs[i] !== lastInputs[i]) {\n return false;\n }\n }\n\n return true;\n}\n\nfunction memoizeOne(resultFn, isEqual) {\n if (isEqual === void 0) {\n isEqual = areInputsEqual;\n }\n\n var lastThis;\n var lastArgs = [];\n var lastResult;\n var calledOnce = false;\n\n function memoized() {\n var newArgs = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n newArgs[_i] = arguments[_i];\n }\n\n if (calledOnce && lastThis === this && isEqual(newArgs, lastArgs)) {\n return lastResult;\n }\n\n lastResult = resultFn.apply(this, newArgs);\n calledOnce = true;\n lastThis = this;\n lastArgs = newArgs;\n return lastResult;\n }\n\n return memoized;\n}\n\nexport default memoizeOne;","!function (e) {\n \"object\" == typeof exports && \"undefined\" != typeof module ? module.exports = e(null) : \"function\" == typeof define && define.amd ? define(e(null)) : window.stylis = e(null);\n}(function e(a) {\n \"use strict\";\n\n var r = /^\\0+/g,\n c = /[\\0\\r\\f]/g,\n s = /: */g,\n t = /zoo|gra/,\n i = /([,: ])(transform)/g,\n f = /,+\\s*(?![^(]*[)])/g,\n n = / +\\s*(?![^(]*[)])/g,\n l = / *[\\0] */g,\n o = /,\\r+?/g,\n h = /([\\t\\r\\n ])*\\f?&/g,\n u = /:global\\(((?:[^\\(\\)\\[\\]]*|\\[.*\\]|\\([^\\(\\)]*\\))*)\\)/g,\n d = /\\W+/g,\n b = /@(k\\w+)\\s*(\\S*)\\s*/,\n p = /::(place)/g,\n k = /:(read-only)/g,\n g = /\\s+(?=[{\\];=:>])/g,\n A = /([[}=:>])\\s+/g,\n C = /(\\{[^{]+?);(?=\\})/g,\n w = /\\s{2,}/g,\n v = /([^\\(])(:+) */g,\n m = /[svh]\\w+-[tblr]{2}/,\n x = /\\(\\s*(.*)\\s*\\)/g,\n $ = /([\\s\\S]*?);/g,\n y = /-self|flex-/g,\n O = /[^]*?(:[rp][el]a[\\w-]+)[^]*/,\n j = /stretch|:\\s*\\w+\\-(?:conte|avail)/,\n z = /([^-])(image-set\\()/,\n N = \"-webkit-\",\n S = \"-moz-\",\n F = \"-ms-\",\n W = 59,\n q = 125,\n B = 123,\n D = 40,\n E = 41,\n G = 91,\n H = 93,\n I = 10,\n J = 13,\n K = 9,\n L = 64,\n M = 32,\n P = 38,\n Q = 45,\n R = 95,\n T = 42,\n U = 44,\n V = 58,\n X = 39,\n Y = 34,\n Z = 47,\n _ = 62,\n ee = 43,\n ae = 126,\n re = 0,\n ce = 12,\n se = 11,\n te = 107,\n ie = 109,\n fe = 115,\n ne = 112,\n le = 111,\n oe = 105,\n he = 99,\n ue = 100,\n de = 112,\n be = 1,\n pe = 1,\n ke = 0,\n ge = 1,\n Ae = 1,\n Ce = 1,\n we = 0,\n ve = 0,\n me = 0,\n xe = [],\n $e = [],\n ye = 0,\n Oe = null,\n je = -2,\n ze = -1,\n Ne = 0,\n Se = 1,\n Fe = 2,\n We = 3,\n qe = 0,\n Be = 1,\n De = \"\",\n Ee = \"\",\n Ge = \"\";\n\n function He(e, a, s, t, i) {\n for (var f, n, o = 0, h = 0, u = 0, d = 0, g = 0, A = 0, C = 0, w = 0, m = 0, $ = 0, y = 0, O = 0, j = 0, z = 0, R = 0, we = 0, $e = 0, Oe = 0, je = 0, ze = s.length, Je = ze - 1, Re = \"\", Te = \"\", Ue = \"\", Ve = \"\", Xe = \"\", Ye = \"\"; R < ze;) {\n if (C = s.charCodeAt(R), R === Je) if (h + d + u + o !== 0) {\n if (0 !== h) C = h === Z ? I : Z;\n d = u = o = 0, ze++, Je++;\n }\n\n if (h + d + u + o === 0) {\n if (R === Je) {\n if (we > 0) Te = Te.replace(c, \"\");\n\n if (Te.trim().length > 0) {\n switch (C) {\n case M:\n case K:\n case W:\n case J:\n case I:\n break;\n\n default:\n Te += s.charAt(R);\n }\n\n C = W;\n }\n }\n\n if (1 === $e) switch (C) {\n case B:\n case q:\n case W:\n case Y:\n case X:\n case D:\n case E:\n case U:\n $e = 0;\n\n case K:\n case J:\n case I:\n case M:\n break;\n\n default:\n for ($e = 0, je = R, g = C, R--, C = W; je < ze;) {\n switch (s.charCodeAt(je++)) {\n case I:\n case J:\n case W:\n ++R, C = g, je = ze;\n break;\n\n case V:\n if (we > 0) ++R, C = g;\n\n case B:\n je = ze;\n }\n }\n\n }\n\n switch (C) {\n case B:\n for (g = (Te = Te.trim()).charCodeAt(0), y = 1, je = ++R; R < ze;) {\n switch (C = s.charCodeAt(R)) {\n case B:\n y++;\n break;\n\n case q:\n y--;\n break;\n\n case Z:\n switch (A = s.charCodeAt(R + 1)) {\n case T:\n case Z:\n R = Qe(A, R, Je, s);\n }\n\n break;\n\n case G:\n C++;\n\n case D:\n C++;\n\n case Y:\n case X:\n for (; R++ < Je && s.charCodeAt(R) !== C;) {\n ;\n }\n\n }\n\n if (0 === y) break;\n R++;\n }\n\n if (Ue = s.substring(je, R), g === re) g = (Te = Te.replace(r, \"\").trim()).charCodeAt(0);\n\n switch (g) {\n case L:\n if (we > 0) Te = Te.replace(c, \"\");\n\n switch (A = Te.charCodeAt(1)) {\n case ue:\n case ie:\n case fe:\n case Q:\n f = a;\n break;\n\n default:\n f = xe;\n }\n\n if (je = (Ue = He(a, f, Ue, A, i + 1)).length, me > 0 && 0 === je) je = Te.length;\n if (ye > 0) if (f = Ie(xe, Te, Oe), n = Pe(We, Ue, f, a, pe, be, je, A, i, t), Te = f.join(\"\"), void 0 !== n) if (0 === (je = (Ue = n.trim()).length)) A = 0, Ue = \"\";\n if (je > 0) switch (A) {\n case fe:\n Te = Te.replace(x, Me);\n\n case ue:\n case ie:\n case Q:\n Ue = Te + \"{\" + Ue + \"}\";\n break;\n\n case te:\n if (Ue = (Te = Te.replace(b, \"$1 $2\" + (Be > 0 ? De : \"\"))) + \"{\" + Ue + \"}\", 1 === Ae || 2 === Ae && Le(\"@\" + Ue, 3)) Ue = \"@\" + N + Ue + \"@\" + Ue;else Ue = \"@\" + Ue;\n break;\n\n default:\n if (Ue = Te + Ue, t === de) Ve += Ue, Ue = \"\";\n } else Ue = \"\";\n break;\n\n default:\n Ue = He(a, Ie(a, Te, Oe), Ue, t, i + 1);\n }\n\n Xe += Ue, O = 0, $e = 0, z = 0, we = 0, Oe = 0, j = 0, Te = \"\", Ue = \"\", C = s.charCodeAt(++R);\n break;\n\n case q:\n case W:\n if ((je = (Te = (we > 0 ? Te.replace(c, \"\") : Te).trim()).length) > 1) {\n if (0 === z) if ((g = Te.charCodeAt(0)) === Q || g > 96 && g < 123) je = (Te = Te.replace(\" \", \":\")).length;\n if (ye > 0) if (void 0 !== (n = Pe(Se, Te, a, e, pe, be, Ve.length, t, i, t))) if (0 === (je = (Te = n.trim()).length)) Te = \"\\0\\0\";\n\n switch (g = Te.charCodeAt(0), A = Te.charCodeAt(1), g) {\n case re:\n break;\n\n case L:\n if (A === oe || A === he) {\n Ye += Te + s.charAt(R);\n break;\n }\n\n default:\n if (Te.charCodeAt(je - 1) === V) break;\n Ve += Ke(Te, g, A, Te.charCodeAt(2));\n }\n }\n\n O = 0, $e = 0, z = 0, we = 0, Oe = 0, Te = \"\", C = s.charCodeAt(++R);\n }\n }\n\n switch (C) {\n case J:\n case I:\n if (h + d + u + o + ve === 0) switch ($) {\n case E:\n case X:\n case Y:\n case L:\n case ae:\n case _:\n case T:\n case ee:\n case Z:\n case Q:\n case V:\n case U:\n case W:\n case B:\n case q:\n break;\n\n default:\n if (z > 0) $e = 1;\n }\n if (h === Z) h = 0;else if (ge + O === 0 && t !== te && Te.length > 0) we = 1, Te += \"\\0\";\n if (ye * qe > 0) Pe(Ne, Te, a, e, pe, be, Ve.length, t, i, t);\n be = 1, pe++;\n break;\n\n case W:\n case q:\n if (h + d + u + o === 0) {\n be++;\n break;\n }\n\n default:\n switch (be++, Re = s.charAt(R), C) {\n case K:\n case M:\n if (d + o + h === 0) switch (w) {\n case U:\n case V:\n case K:\n case M:\n Re = \"\";\n break;\n\n default:\n if (C !== M) Re = \" \";\n }\n break;\n\n case re:\n Re = \"\\\\0\";\n break;\n\n case ce:\n Re = \"\\\\f\";\n break;\n\n case se:\n Re = \"\\\\v\";\n break;\n\n case P:\n if (d + h + o === 0 && ge > 0) Oe = 1, we = 1, Re = \"\\f\" + Re;\n break;\n\n case 108:\n if (d + h + o + ke === 0 && z > 0) switch (R - z) {\n case 2:\n if (w === ne && s.charCodeAt(R - 3) === V) ke = w;\n\n case 8:\n if (m === le) ke = m;\n }\n break;\n\n case V:\n if (d + h + o === 0) z = R;\n break;\n\n case U:\n if (h + u + d + o === 0) we = 1, Re += \"\\r\";\n break;\n\n case Y:\n case X:\n if (0 === h) d = d === C ? 0 : 0 === d ? C : d;\n break;\n\n case G:\n if (d + h + u === 0) o++;\n break;\n\n case H:\n if (d + h + u === 0) o--;\n break;\n\n case E:\n if (d + h + o === 0) u--;\n break;\n\n case D:\n if (d + h + o === 0) {\n if (0 === O) switch (2 * w + 3 * m) {\n case 533:\n break;\n\n default:\n y = 0, O = 1;\n }\n u++;\n }\n\n break;\n\n case L:\n if (h + u + d + o + z + j === 0) j = 1;\n break;\n\n case T:\n case Z:\n if (d + o + u > 0) break;\n\n switch (h) {\n case 0:\n switch (2 * C + 3 * s.charCodeAt(R + 1)) {\n case 235:\n h = Z;\n break;\n\n case 220:\n je = R, h = T;\n }\n\n break;\n\n case T:\n if (C === Z && w === T && je + 2 !== R) {\n if (33 === s.charCodeAt(je + 2)) Ve += s.substring(je, R + 1);\n Re = \"\", h = 0;\n }\n\n }\n\n }\n\n if (0 === h) {\n if (ge + d + o + j === 0 && t !== te && C !== W) switch (C) {\n case U:\n case ae:\n case _:\n case ee:\n case E:\n case D:\n if (0 === O) {\n switch (w) {\n case K:\n case M:\n case I:\n case J:\n Re += \"\\0\";\n break;\n\n default:\n Re = \"\\0\" + Re + (C === U ? \"\" : \"\\0\");\n }\n\n we = 1;\n } else switch (C) {\n case D:\n if (z + 7 === R && 108 === w) z = 0;\n O = ++y;\n break;\n\n case E:\n if (0 == (O = --y)) we = 1, Re += \"\\0\";\n }\n\n break;\n\n case K:\n case M:\n switch (w) {\n case re:\n case B:\n case q:\n case W:\n case U:\n case ce:\n case K:\n case M:\n case I:\n case J:\n break;\n\n default:\n if (0 === O) we = 1, Re += \"\\0\";\n }\n\n }\n if (Te += Re, C !== M && C !== K) $ = C;\n }\n\n }\n\n m = w, w = C, R++;\n }\n\n if (je = Ve.length, me > 0) if (0 === je && 0 === Xe.length && 0 === a[0].length == false) if (t !== ie || 1 === a.length && (ge > 0 ? Ee : Ge) === a[0]) je = a.join(\",\").length + 2;\n\n if (je > 0) {\n if (f = 0 === ge && t !== te ? function (e) {\n for (var a, r, s = 0, t = e.length, i = Array(t); s < t; ++s) {\n for (var f = e[s].split(l), n = \"\", o = 0, h = 0, u = 0, d = 0, b = f.length; o < b; ++o) {\n if (0 === (h = (r = f[o]).length) && b > 1) continue;\n if (u = n.charCodeAt(n.length - 1), d = r.charCodeAt(0), a = \"\", 0 !== o) switch (u) {\n case T:\n case ae:\n case _:\n case ee:\n case M:\n case D:\n break;\n\n default:\n a = \" \";\n }\n\n switch (d) {\n case P:\n r = a + Ee;\n\n case ae:\n case _:\n case ee:\n case M:\n case E:\n case D:\n break;\n\n case G:\n r = a + r + Ee;\n break;\n\n case V:\n switch (2 * r.charCodeAt(1) + 3 * r.charCodeAt(2)) {\n case 530:\n if (Ce > 0) {\n r = a + r.substring(8, h - 1);\n break;\n }\n\n default:\n if (o < 1 || f[o - 1].length < 1) r = a + Ee + r;\n }\n\n break;\n\n case U:\n a = \"\";\n\n default:\n if (h > 1 && r.indexOf(\":\") > 0) r = a + r.replace(v, \"$1\" + Ee + \"$2\");else r = a + r + Ee;\n }\n\n n += r;\n }\n\n i[s] = n.replace(c, \"\").trim();\n }\n\n return i;\n }(a) : a, ye > 0) if (void 0 !== (n = Pe(Fe, Ve, f, e, pe, be, je, t, i, t)) && 0 === (Ve = n).length) return Ye + Ve + Xe;\n\n if (Ve = f.join(\",\") + \"{\" + Ve + \"}\", Ae * ke != 0) {\n if (2 === Ae && !Le(Ve, 2)) ke = 0;\n\n switch (ke) {\n case le:\n Ve = Ve.replace(k, \":\" + S + \"$1\") + Ve;\n break;\n\n case ne:\n Ve = Ve.replace(p, \"::\" + N + \"input-$1\") + Ve.replace(p, \"::\" + S + \"$1\") + Ve.replace(p, \":\" + F + \"input-$1\") + Ve;\n }\n\n ke = 0;\n }\n }\n\n return Ye + Ve + Xe;\n }\n\n function Ie(e, a, r) {\n var c = a.trim().split(o),\n s = c,\n t = c.length,\n i = e.length;\n\n switch (i) {\n case 0:\n case 1:\n for (var f = 0, n = 0 === i ? \"\" : e[0] + \" \"; f < t; ++f) {\n s[f] = Je(n, s[f], r, i).trim();\n }\n\n break;\n\n default:\n f = 0;\n var l = 0;\n\n for (s = []; f < t; ++f) {\n for (var h = 0; h < i; ++h) {\n s[l++] = Je(e[h] + \" \", c[f], r, i).trim();\n }\n }\n\n }\n\n return s;\n }\n\n function Je(e, a, r, c) {\n var s = a,\n t = s.charCodeAt(0);\n if (t < 33) t = (s = s.trim()).charCodeAt(0);\n\n switch (t) {\n case P:\n switch (ge + c) {\n case 0:\n case 1:\n if (0 === e.trim().length) break;\n\n default:\n return s.replace(h, \"$1\" + e.trim());\n }\n\n break;\n\n case V:\n switch (s.charCodeAt(1)) {\n case 103:\n if (Ce > 0 && ge > 0) return s.replace(u, \"$1\").replace(h, \"$1\" + Ge);\n break;\n\n default:\n return e.trim() + s.replace(h, \"$1\" + e.trim());\n }\n\n default:\n if (r * ge > 0 && s.indexOf(\"\\f\") > 0) return s.replace(h, (e.charCodeAt(0) === V ? \"\" : \"$1\") + e.trim());\n }\n\n return e + s;\n }\n\n function Ke(e, a, r, c) {\n var l,\n o = 0,\n h = e + \";\",\n u = 2 * a + 3 * r + 4 * c;\n if (944 === u) return function (e) {\n var a = e.length,\n r = e.indexOf(\":\", 9) + 1,\n c = e.substring(0, r).trim(),\n s = e.substring(r, a - 1).trim();\n\n switch (e.charCodeAt(9) * Be) {\n case 0:\n break;\n\n case Q:\n if (110 !== e.charCodeAt(10)) break;\n\n default:\n for (var t = s.split((s = \"\", f)), i = 0, r = 0, a = t.length; i < a; r = 0, ++i) {\n for (var l = t[i], o = l.split(n); l = o[r];) {\n var h = l.charCodeAt(0);\n if (1 === Be && (h > L && h < 90 || h > 96 && h < 123 || h === R || h === Q && l.charCodeAt(1) !== Q)) switch (isNaN(parseFloat(l)) + (-1 !== l.indexOf(\"(\"))) {\n case 1:\n switch (l) {\n case \"infinite\":\n case \"alternate\":\n case \"backwards\":\n case \"running\":\n case \"normal\":\n case \"forwards\":\n case \"both\":\n case \"none\":\n case \"linear\":\n case \"ease\":\n case \"ease-in\":\n case \"ease-out\":\n case \"ease-in-out\":\n case \"paused\":\n case \"reverse\":\n case \"alternate-reverse\":\n case \"inherit\":\n case \"initial\":\n case \"unset\":\n case \"step-start\":\n case \"step-end\":\n break;\n\n default:\n l += De;\n }\n\n }\n o[r++] = l;\n }\n\n s += (0 === i ? \"\" : \",\") + o.join(\" \");\n }\n\n }\n\n if (s = c + s + \";\", 1 === Ae || 2 === Ae && Le(s, 1)) return N + s + s;\n return s;\n }(h);else if (0 === Ae || 2 === Ae && !Le(h, 1)) return h;\n\n switch (u) {\n case 1015:\n return 97 === h.charCodeAt(10) ? N + h + h : h;\n\n case 951:\n return 116 === h.charCodeAt(3) ? N + h + h : h;\n\n case 963:\n return 110 === h.charCodeAt(5) ? N + h + h : h;\n\n case 1009:\n if (100 !== h.charCodeAt(4)) break;\n\n case 969:\n case 942:\n return N + h + h;\n\n case 978:\n return N + h + S + h + h;\n\n case 1019:\n case 983:\n return N + h + S + h + F + h + h;\n\n case 883:\n if (h.charCodeAt(8) === Q) return N + h + h;\n if (h.indexOf(\"image-set(\", 11) > 0) return h.replace(z, \"$1\" + N + \"$2\") + h;\n return h;\n\n case 932:\n if (h.charCodeAt(4) === Q) switch (h.charCodeAt(5)) {\n case 103:\n return N + \"box-\" + h.replace(\"-grow\", \"\") + N + h + F + h.replace(\"grow\", \"positive\") + h;\n\n case 115:\n return N + h + F + h.replace(\"shrink\", \"negative\") + h;\n\n case 98:\n return N + h + F + h.replace(\"basis\", \"preferred-size\") + h;\n }\n return N + h + F + h + h;\n\n case 964:\n return N + h + F + \"flex-\" + h + h;\n\n case 1023:\n if (99 !== h.charCodeAt(8)) break;\n return l = h.substring(h.indexOf(\":\", 15)).replace(\"flex-\", \"\").replace(\"space-between\", \"justify\"), N + \"box-pack\" + l + N + h + F + \"flex-pack\" + l + h;\n\n case 1005:\n return t.test(h) ? h.replace(s, \":\" + N) + h.replace(s, \":\" + S) + h : h;\n\n case 1e3:\n switch (o = (l = h.substring(13).trim()).indexOf(\"-\") + 1, l.charCodeAt(0) + l.charCodeAt(o)) {\n case 226:\n l = h.replace(m, \"tb\");\n break;\n\n case 232:\n l = h.replace(m, \"tb-rl\");\n break;\n\n case 220:\n l = h.replace(m, \"lr\");\n break;\n\n default:\n return h;\n }\n\n return N + h + F + l + h;\n\n case 1017:\n if (-1 === h.indexOf(\"sticky\", 9)) return h;\n\n case 975:\n switch (o = (h = e).length - 10, u = (l = (33 === h.charCodeAt(o) ? h.substring(0, o) : h).substring(e.indexOf(\":\", 7) + 1).trim()).charCodeAt(0) + (0 | l.charCodeAt(7))) {\n case 203:\n if (l.charCodeAt(8) < 111) break;\n\n case 115:\n h = h.replace(l, N + l) + \";\" + h;\n break;\n\n case 207:\n case 102:\n h = h.replace(l, N + (u > 102 ? \"inline-\" : \"\") + \"box\") + \";\" + h.replace(l, N + l) + \";\" + h.replace(l, F + l + \"box\") + \";\" + h;\n }\n\n return h + \";\";\n\n case 938:\n if (h.charCodeAt(5) === Q) switch (h.charCodeAt(6)) {\n case 105:\n return l = h.replace(\"-items\", \"\"), N + h + N + \"box-\" + l + F + \"flex-\" + l + h;\n\n case 115:\n return N + h + F + \"flex-item-\" + h.replace(y, \"\") + h;\n\n default:\n return N + h + F + \"flex-line-pack\" + h.replace(\"align-content\", \"\").replace(y, \"\") + h;\n }\n break;\n\n case 973:\n case 989:\n if (h.charCodeAt(3) !== Q || 122 === h.charCodeAt(4)) break;\n\n case 931:\n case 953:\n if (true === j.test(e)) if (115 === (l = e.substring(e.indexOf(\":\") + 1)).charCodeAt(0)) return Ke(e.replace(\"stretch\", \"fill-available\"), a, r, c).replace(\":fill-available\", \":stretch\");else return h.replace(l, N + l) + h.replace(l, S + l.replace(\"fill-\", \"\")) + h;\n break;\n\n case 962:\n if (h = N + h + (102 === h.charCodeAt(5) ? F + h : \"\") + h, r + c === 211 && 105 === h.charCodeAt(13) && h.indexOf(\"transform\", 10) > 0) return h.substring(0, h.indexOf(\";\", 27) + 1).replace(i, \"$1\" + N + \"$2\") + h;\n }\n\n return h;\n }\n\n function Le(e, a) {\n var r = e.indexOf(1 === a ? \":\" : \"{\"),\n c = e.substring(0, 3 !== a ? r : 10),\n s = e.substring(r + 1, e.length - 1);\n return Oe(2 !== a ? c : c.replace(O, \"$1\"), s, a);\n }\n\n function Me(e, a) {\n var r = Ke(a, a.charCodeAt(0), a.charCodeAt(1), a.charCodeAt(2));\n return r !== a + \";\" ? r.replace($, \" or ($1)\").substring(4) : \"(\" + a + \")\";\n }\n\n function Pe(e, a, r, c, s, t, i, f, n, l) {\n for (var o, h = 0, u = a; h < ye; ++h) {\n switch (o = $e[h].call(Te, e, u, r, c, s, t, i, f, n, l)) {\n case void 0:\n case false:\n case true:\n case null:\n break;\n\n default:\n u = o;\n }\n }\n\n if (u !== a) return u;\n }\n\n function Qe(e, a, r, c) {\n for (var s = a + 1; s < r; ++s) {\n switch (c.charCodeAt(s)) {\n case Z:\n if (e === T) if (c.charCodeAt(s - 1) === T && a + 2 !== s) return s + 1;\n break;\n\n case I:\n if (e === Z) return s + 1;\n }\n }\n\n return s;\n }\n\n function Re(e) {\n for (var a in e) {\n var r = e[a];\n\n switch (a) {\n case \"keyframe\":\n Be = 0 | r;\n break;\n\n case \"global\":\n Ce = 0 | r;\n break;\n\n case \"cascade\":\n ge = 0 | r;\n break;\n\n case \"compress\":\n we = 0 | r;\n break;\n\n case \"semicolon\":\n ve = 0 | r;\n break;\n\n case \"preserve\":\n me = 0 | r;\n break;\n\n case \"prefix\":\n if (Oe = null, !r) Ae = 0;else if (\"function\" != typeof r) Ae = 1;else Ae = 2, Oe = r;\n }\n }\n\n return Re;\n }\n\n function Te(a, r) {\n if (void 0 !== this && this.constructor === Te) return e(a);\n var s = a,\n t = s.charCodeAt(0);\n if (t < 33) t = (s = s.trim()).charCodeAt(0);\n if (Be > 0) De = s.replace(d, t === G ? \"\" : \"-\");\n if (t = 1, 1 === ge) Ge = s;else Ee = s;\n var i,\n f = [Ge];\n if (ye > 0) if (void 0 !== (i = Pe(ze, r, f, f, pe, be, 0, 0, 0, 0)) && \"string\" == typeof i) r = i;\n var n = He(xe, f, r, 0, 0);\n if (ye > 0) if (void 0 !== (i = Pe(je, n, f, f, pe, be, n.length, 0, 0, 0)) && \"string\" != typeof (n = i)) t = 0;\n return De = \"\", Ge = \"\", Ee = \"\", ke = 0, pe = 1, be = 1, we * t == 0 ? n : n.replace(c, \"\").replace(g, \"\").replace(A, \"$1\").replace(C, \"$1\").replace(w, \" \");\n }\n\n if (Te.use = function e(a) {\n switch (a) {\n case void 0:\n case null:\n ye = $e.length = 0;\n break;\n\n default:\n if (\"function\" == typeof a) $e[ye++] = a;else if (\"object\" == typeof a) for (var r = 0, c = a.length; r < c; ++r) {\n e(a[r]);\n } else qe = 0 | !!a;\n }\n\n return e;\n }, Te.set = Re, void 0 !== a) Re(a);\n return Te;\n});","/* global Map:readonly, Set:readonly, ArrayBuffer:readonly */\nvar hasElementType = typeof Element !== 'undefined';\nvar hasMap = typeof Map === 'function';\nvar hasSet = typeof Set === 'function';\nvar hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView; // Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js\n\nfunction equal(a, b) {\n // START: fast-deep-equal es6/index.js 3.1.1\n if (a === b) return true;\n\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n if (a.constructor !== b.constructor) return false;\n var length, i, keys;\n\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length) return false;\n\n for (i = length; i-- !== 0;) {\n if (!equal(a[i], b[i])) return false;\n }\n\n return true;\n } // START: Modifications:\n // 1. Extra `has<Type> &&` helpers in initial condition allow es6 code\n // to co-exist with es5.\n // 2. Replace `for of` with es5 compliant iteration using `for`.\n // Basically, take:\n //\n // ```js\n // for (i of a.entries())\n // if (!b.has(i[0])) return false;\n // ```\n //\n // ... and convert to:\n //\n // ```js\n // it = a.entries();\n // while (!(i = it.next()).done)\n // if (!b.has(i.value[0])) return false;\n // ```\n //\n // **Note**: `i` access switches to `i.value`.\n\n\n var it;\n\n if (hasMap && a instanceof Map && b instanceof Map) {\n if (a.size !== b.size) return false;\n it = a.entries();\n\n while (!(i = it.next()).done) {\n if (!b.has(i.value[0])) return false;\n }\n\n it = a.entries();\n\n while (!(i = it.next()).done) {\n if (!equal(i.value[1], b.get(i.value[0]))) return false;\n }\n\n return true;\n }\n\n if (hasSet && a instanceof Set && b instanceof Set) {\n if (a.size !== b.size) return false;\n it = a.entries();\n\n while (!(i = it.next()).done) {\n if (!b.has(i.value[0])) return false;\n }\n\n return true;\n } // END: Modifications\n\n\n if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {\n length = a.length;\n if (length != b.length) return false;\n\n for (i = length; i-- !== 0;) {\n if (a[i] !== b[i]) return false;\n }\n\n return true;\n }\n\n if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;\n if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();\n if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) return false;\n\n for (i = length; i-- !== 0;) {\n if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n } // END: fast-deep-equal\n // START: react-fast-compare\n // custom handling for DOM elements\n\n\n if (hasElementType && a instanceof Element) return false; // custom handling for React/Preact\n\n for (i = length; i-- !== 0;) {\n if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) {\n // React-specific: avoid traversing React elements' _owner\n // Preact-specific: avoid traversing Preact elements' __v and __o\n // __v = $_original / $_vnode\n // __o = $_owner\n // These properties contain circular references and are not needed when\n // comparing the actual elements (and not their owners)\n // .$$typeof and ._store on just reasonable markers of elements\n continue;\n } // all other properties should be traversed as usual\n\n\n if (!equal(a[keys[i]], b[keys[i]])) return false;\n } // END: react-fast-compare\n // START: fast-deep-equal\n\n\n return true;\n }\n\n return a !== a && b !== b;\n} // end fast-deep-equal\n\n\nmodule.exports = function isEqual(a, b) {\n try {\n return equal(a, b);\n } catch (error) {\n if ((error.message || '').match(/stack|recursion/i)) {\n // warn on circular references, don't crash\n // browsers give this different errors name and messages:\n // chrome/safari: \"RangeError\", \"Maximum call stack size exceeded\"\n // firefox: \"InternalError\", too much recursion\"\n // edge: \"Error\", \"Out of stack space\"\n console.warn('react-fast-compare cannot handle circular refs');\n return false;\n } // some other error. we should definitely know about these\n\n\n throw error;\n }\n};","module.exports = __webpack_public_path__ + \"static/SFMono-Semibold-2d4bff46a7a9ba9dc7701f75726a7815.woff\";","import React from 'react';\r\n\r\nconst IconAppStore = () => (\r\n <svg\r\n version=\"1.1\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n x=\"0px\"\r\n y=\"0px\"\r\n viewBox=\"0 0 512 512\"\r\n xmlSpace=\"preserve\">\r\n <title>Apple App Store</title>\r\n <g>\r\n <g>\r\n <path\r\n d=\"M407,0H105C47.103,0,0,47.103,0,105v302c0,57.897,47.103,105,105,105h302c57.897,0,105-47.103,105-105V105\r\n C512,47.103,464.897,0,407,0z M482,407c0,41.355-33.645,75-75,75H105c-41.355,0-75-33.645-75-75V105c0-41.355,33.645-75,75-75h302\r\n c41.355,0,75,33.645,75,75V407z\"\r\n />\r\n </g>\r\n </g>\r\n <g>\r\n <g>\r\n <path\r\n d=\"M305.646,123.531c-1.729-6.45-5.865-11.842-11.648-15.18c-11.936-6.892-27.256-2.789-34.15,9.151L256,124.166\r\n l-3.848-6.665c-6.893-11.937-22.212-16.042-34.15-9.151h-0.001c-11.938,6.893-16.042,22.212-9.15,34.151l18.281,31.664\r\n L159.678,291H110.5c-13.785,0-25,11.215-25,25c0,13.785,11.215,25,25,25h189.86l-28.868-50h-54.079l85.735-148.498\r\n C306.487,136.719,307.375,129.981,305.646,123.531z\"\r\n />\r\n </g>\r\n </g>\r\n <g>\r\n <g>\r\n <path\r\n d=\"M401.5,291h-49.178l-55.907-96.834l-28.867,50l86.804,150.348c3.339,5.784,8.729,9.921,15.181,11.65\r\n c2.154,0.577,4.339,0.863,6.511,0.863c4.332,0,8.608-1.136,12.461-3.361c11.938-6.893,16.042-22.213,9.149-34.15L381.189,341\r\n H401.5c13.785,0,25-11.215,25-25C426.5,302.215,415.285,291,401.5,291z\"\r\n />\r\n </g>\r\n </g>\r\n <g>\r\n <g>\r\n <path\r\n d=\"M119.264,361l-4.917,8.516c-6.892,11.938-2.787,27.258,9.151,34.15c3.927,2.267,8.219,3.345,12.458,3.344\r\n c8.646,0,17.067-4.484,21.693-12.495L176.999,361H119.264z\"\r\n />\r\n </g>\r\n </g>\r\n </svg>\r\n);\r\n\r\nexport default IconAppStore;\r\n","import React from 'react';\r\n\r\nconst IconCodepen = () => (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" role=\"img\" viewBox=\"0 0 31.665 31.665\">\r\n <title>Codepen</title>\r\n <path\r\n d=\"M16.878,0.415c-0.854-0.565-1.968-0.552-2.809,0.034L1.485,9.214c-0.671,0.468-1.071,1.233-1.071,2.052v9.444\r\n c0,0.84,0.421,1.623,1.122,2.086l12.79,8.455c0.836,0.553,1.922,0.553,2.758,0l13.044-8.618c0.7-0.463,1.122-1.246,1.122-2.086\r\n v-9.279c0-0.839-0.421-1.622-1.121-2.085L16.878,0.415z M26.621,10.645l-4.821,3.237l-4.521-3.288L17.25,4.127L26.621,10.645z\r\n M13.979,4.133v6.329l-4.633,3.24l-4.621-3.099L13.979,4.133z M3.458,13.722l2.991,2.004l-2.991,2.093V13.722z M14.058,27.215\r\n l-9.331-6.258l4.661-3.258l4.67,3.133V27.215z M12.286,15.674l3.021-2.113l3.519,2.313l-3.119,2.095L12.286,15.674z M17.354,27.215\r\n V20.83l4.463-2.991l4.805,3.159L17.354,27.215z M27.954,17.927l-3.168-2.082l3.168-2.125V17.927z\"\r\n />\r\n </svg>\r\n);\r\n\r\nexport default IconCodepen;\r\n","import React from 'react';\r\n\r\nconst IconExternal = () => (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" role=\"img\" viewBox=\"0 0 194.818 194.818\">\r\n <title>External</title>\r\n <g>\r\n <path\r\n d=\"M185.818,2.161h-57.04c-4.971,0-9,4.029-9,9s4.029,9,9,9h35.312l-86.3,86.3c-3.515,3.515-3.515,9.213,0,12.728\r\n c1.758,1.757,4.061,2.636,6.364,2.636s4.606-0.879,6.364-2.636l86.3-86.3v35.313c0,4.971,4.029,9,9,9s9-4.029,9-9v-57.04\r\n C194.818,6.19,190.789,2.161,185.818,2.161z\"\r\n />\r\n <path\r\n d=\"M149,77.201c-4.971,0-9,4.029-9,9v88.456H18v-122h93.778c4.971,0,9-4.029,9-9s-4.029-9-9-9H9c-4.971,0-9,4.029-9,9v140\r\n c0,4.971,4.029,9,9,9h140c4.971,0,9-4.029,9-9V86.201C158,81.23,153.971,77.201,149,77.201z\"\r\n />\r\n </g>\r\n </svg>\r\n);\r\n\r\nexport default IconExternal;\r\n","import React from 'react';\r\n\r\nconst IconFolder = () => (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" role=\"img\" viewBox=\"0 0 60 60\">\r\n <title>Folder</title>\r\n <path\r\n d=\"M57.49,21.5H54v-6.268c0-1.507-1.226-2.732-2.732-2.732H26.515l-5-7H2.732C1.226,5.5,0,6.726,0,8.232v43.687l0.006,0\r\n c-0.005,0.563,0.17,1.114,0.522,1.575C1.018,54.134,1.76,54.5,2.565,54.5h44.759c1.156,0,2.174-0.779,2.45-1.813L60,24.649v-0.177\r\n C60,22.75,58.944,21.5,57.49,21.5z M2,8.232C2,7.828,2.329,7.5,2.732,7.5h17.753l5,7h25.782c0.404,0,0.732,0.328,0.732,0.732V21.5\r\n H12.731c-0.144,0-0.287,0.012-0.426,0.036c-0.973,0.163-1.782,0.873-2.023,1.776L2,45.899V8.232z M47.869,52.083\r\n c-0.066,0.245-0.291,0.417-0.545,0.417H2.565c-0.243,0-0.385-0.139-0.448-0.222c-0.063-0.082-0.16-0.256-0.123-0.408l10.191-27.953\r\n c0.066-0.245,0.291-0.417,0.545-0.417H54h3.49c0.38,0,0.477,0.546,0.502,0.819L47.869,52.083z\"\r\n />\r\n </svg>\r\n);\r\n\r\nexport default IconFolder;\r\n","import React from 'react';\r\n\r\nconst IconFork = () => (\r\n <svg aria-label=\"forks\" viewBox=\"0 0 10 16\" version=\"1.1\" width=\"10\" height=\"16\" role=\"img\">\r\n <path\r\n fillRule=\"evenodd\"\r\n d=\"M8 1a1.993 1.993 0 0 0-1 3.72V6L5 8 3 6V4.72A1.993 1.993 0 0 0 2 1a1.993 1.993 0 0 0-1 3.72V6.5l3 3v1.78A1.993 1.993 0 0 0 5 15a1.993 1.993 0 0 0 1-3.72V9.5l3-3V4.72A1.993 1.993 0 0 0 8 1zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3 10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3-10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z\"\r\n />\r\n </svg>\r\n);\r\n\r\nexport default IconFork;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport {\r\n IconAppStore,\r\n IconCodepen,\r\n IconExternal,\r\n IconFolder,\r\n IconFork,\r\n IconGitHub,\r\n IconInstagram,\r\n IconLinkedin,\r\n IconLoader,\r\n IconLocation,\r\n IconLogo,\r\n IconPlayStore,\r\n IconStar,\r\n IconTwitter,\r\n IconZap,\r\n} from '@components/icons';\r\n\r\nconst Icon = ({ name }) => {\r\n switch (name) {\r\n case 'AppStore':\r\n return <IconAppStore />;\r\n case 'Codepen':\r\n return <IconCodepen />;\r\n case 'External':\r\n return <IconExternal />;\r\n case 'Folder':\r\n return <IconFolder />;\r\n case 'Fork':\r\n return <IconFork />;\r\n case 'GitHub':\r\n return <IconGitHub />;\r\n case 'Instagram':\r\n return <IconInstagram />;\r\n case 'Linkedin':\r\n return <IconLinkedin />;\r\n case 'Loader':\r\n return <IconLoader />;\r\n case 'Location':\r\n return <IconLocation />;\r\n case 'Logo':\r\n return <IconLogo />;\r\n case 'PlayStore':\r\n return <IconPlayStore />;\r\n case 'Star':\r\n return <IconStar />;\r\n case 'Twitter':\r\n return <IconTwitter />;\r\n case 'Zap':\r\n return <IconZap />;\r\n default:\r\n return <IconExternal />;\r\n }\r\n};\r\n\r\nIcon.propTypes = {\r\n name: PropTypes.string.isRequired,\r\n};\r\n\r\nexport default Icon;\r\n","import React from 'react';\r\n\r\nconst IconGitHub = () => (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" role=\"img\" viewBox=\"0 0 438.549 438.549\">\r\n <title>GitHub</title>\r\n <path\r\n d=\"M409.132,114.573c-19.608-33.596-46.205-60.194-79.798-79.8C295.736,15.166,259.057,5.365,219.271,5.365\r\n c-39.781,0-76.472,9.804-110.063,29.408c-33.596,19.605-60.192,46.204-79.8,79.8C9.803,148.168,0,184.854,0,224.63 c0,47.78,13.94,90.745,41.827,128.906c27.884,38.164,63.906,64.572,108.063,79.227c5.14,0.954,8.945,0.283,11.419-1.996\r\n c2.475-2.282,3.711-5.14,3.711-8.562c0-0.571-0.049-5.708-0.144-15.417c-0.098-9.709-0.144-18.179-0.144-25.406l-6.567,1.136\r\n c-4.187,0.767-9.469,1.092-15.846,1c-6.374-0.089-12.991-0.757-19.842-1.999c-6.854-1.231-13.229-4.086-19.13-8.559\r\n c-5.898-4.473-10.085-10.328-12.56-17.556l-2.855-6.57c-1.903-4.374-4.899-9.233-8.992-14.559\r\n c-4.093-5.331-8.232-8.945-12.419-10.848l-1.999-1.431c-1.332-0.951-2.568-2.098-3.711-3.429c-1.142-1.331-1.997-2.663-2.568-3.997\r\n c-0.572-1.335-0.098-2.43,1.427-3.289c1.525-0.859,4.281-1.276,8.28-1.276l5.708,0.853c3.807,0.763,8.516,3.042,14.133,6.851\r\n c5.614,3.806,10.229,8.754,13.846,14.842c4.38,7.806,9.657,13.754,15.846,17.847c6.184,4.093,12.419,6.136,18.699,6.136\r\n c6.28,0,11.704-0.476,16.274-1.423c4.565-0.952,8.848-2.383,12.847-4.285c1.713-12.758,6.377-22.559,13.988-29.41\r\n c-10.848-1.14-20.601-2.857-29.264-5.14c-8.658-2.286-17.605-5.996-26.835-11.14c-9.235-5.137-16.896-11.516-22.985-19.126\r\n c-6.09-7.614-11.088-17.61-14.987-29.979c-3.901-12.374-5.852-26.648-5.852-42.826c0-23.035,7.52-42.637,22.557-58.817\r\n c-7.044-17.318-6.379-36.732,1.997-58.24c5.52-1.715,13.706-0.428,24.554,3.853c10.85,4.283,18.794,7.952,23.84,10.994\r\n c5.046,3.041,9.089,5.618,12.135,7.708c17.705-4.947,35.976-7.421,54.818-7.421s37.117,2.474,54.823,7.421l10.849-6.849\r\n c7.419-4.57,16.18-8.758,26.262-12.565c10.088-3.805,17.802-4.853,23.134-3.138c8.562,21.509,9.325,40.922,2.279,58.24\r\n c15.036,16.18,22.559,35.787,22.559,58.817c0,16.178-1.958,30.497-5.853,42.966c-3.9,12.471-8.941,22.457-15.125,29.979\r\n c-6.191,7.521-13.901,13.85-23.131,18.986c-9.232,5.14-18.182,8.85-26.84,11.136c-8.662,2.286-18.415,4.004-29.263,5.146\r\n c9.894,8.562,14.842,22.077,14.842,40.539v60.237c0,3.422,1.19,6.279,3.572,8.562c2.379,2.279,6.136,2.95,11.276,1.995\r\n c44.163-14.653,80.185-41.062,108.068-79.226c27.88-38.161,41.825-81.126,41.825-128.906\r\n C438.536,184.851,428.728,148.168,409.132,114.573z\"\r\n />\r\n </svg>\r\n);\r\n\r\nexport default IconGitHub;\r\n","import React from 'react';\r\n\r\nconst IconInstagram = () => (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" role=\"img\" viewBox=\"0 0 512 512\">\r\n <title>Instagram</title>\r\n <g>\r\n <g>\r\n <path d=\"M352,0H160C71.648,0,0,71.648,0,160v192c0,88.352,71.648,160,160,160h192c88.352,0,160-71.648,160-160V160 C512,71.648,440.352,0,352,0z M464,352c0,61.76-50.24,112-112,112H160c-61.76,0-112-50.24-112-112V160C48,98.24,98.24,48,160,48 h192c61.76,0,112,50.24,112,112V352z\" />\r\n </g>\r\n </g>\r\n <g>\r\n <g>\r\n <path d=\"M256,128c-70.688,0-128,57.312-128,128s57.312,128,128,128s128-57.312,128-128S326.688,128,256,128z M256,336 c-44.096,0-80-35.904-80-80c0-44.128,35.904-80,80-80s80,35.872,80,80C336,300.096,300.096,336,256,336z\" />\r\n </g>\r\n </g>\r\n <g>\r\n <g>\r\n <circle cx=\"393.6\" cy=\"118.4\" r=\"17.056\" />\r\n </g>\r\n </g>\r\n </svg>\r\n);\r\n\r\nexport default IconInstagram;\r\n","import React from 'react';\r\n\r\nconst IconLinkedin = () => (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" role=\"img\" viewBox=\"0 0 430.117 430.117\">\r\n <title>LinkedIn</title>\r\n <path\r\n d=\"M430.117,261.543V420.56h-92.188V272.193c0-37.271-13.334-62.707-46.703-62.707\r\n c-25.473,0-40.632,17.142-47.301,33.724c-2.432,5.928-3.058,14.179-3.058,22.477V420.56h-92.219c0,0,1.242-251.285,0-277.32h92.21\r\n v39.309c-0.187,0.294-0.43,0.611-0.606,0.896h0.606v-0.896c12.251-18.869,34.13-45.824,83.102-45.824\r\n C384.633,136.724,430.117,176.361,430.117,261.543z M52.183,9.558C20.635,9.558,0,30.251,0,57.463\r\n c0,26.619,20.038,47.94,50.959,47.94h0.616c32.159,0,52.159-21.317,52.159-47.94C103.128,30.251,83.734,9.558,52.183,9.558z\r\n M5.477,420.56h92.184v-277.32H5.477V420.56z\"\r\n />\r\n </svg>\r\n);\r\n\r\nexport default IconLinkedin;\r\n","import React from 'react';\r\n\r\nconst IconLoader = () => (\r\n <svg id=\"logo\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\">\r\n <title>Loader Logo</title>\r\n <g>\r\n <g id=\"B\" transform=\"translate(11.000000, 5.000000)\">\r\n <text stroke=\"null\" transform=\"matrix(1.7092870420828916,0,0,1.2992252436636136,-31.179078673348698,-12.272430665215303) \" text-anchor=\"start\" font-family=\"Helvetica, Arial, sans-serif\" font-size=\"24\" id=\"svg_5\" y=\"55.3008\" x=\"34.13147\" stroke-width=\"0\" fill=\"currentColor\">P</text>\r\n </g>\r\n <path\r\n stroke=\"currentColor\"\r\n strokeWidth=\"5\"\r\n strokeLinecap=\"round\"\r\n strokeLinejoin=\"round\"\r\n d=\"M 50, 5\r\n L 11, 27\r\n L 11, 72\r\n L 50, 95\r\n L 89, 73\r\n L 89, 28 z\"\r\n />\r\n </g>\r\n </svg>\r\n);\r\n\r\nexport default IconLoader;\r\n","import React from 'react';\r\n\r\nconst IconLocation = () => (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" role=\"img\" viewBox=\"0 0 512 512\">\r\n <title>Location</title>\r\n <g>\r\n <g>\r\n <path d=\"M256,0C156.748,0,76,80.748,76,180c0,33.534,9.289,66.26,26.869,94.652l142.885,230.257 c2.737,4.411,7.559,7.091,12.745,7.091c0.04,0,0.079,0,0.119,0c5.231-0.041,10.063-2.804,12.75-7.292L410.611,272.22 C427.221,244.428,436,212.539,436,180C436,80.748,355.252,0,256,0z M384.866,256.818L258.272,468.186l-129.905-209.34 C113.734,235.214,105.8,207.95,105.8,180c0-82.71,67.49-150.2,150.2-150.2S406.1,97.29,406.1,180 C406.1,207.121,398.689,233.688,384.866,256.818z\" />\r\n </g>\r\n </g>\r\n <g>\r\n <g>\r\n <path d=\"M256,90c-49.626,0-90,40.374-90,90c0,49.309,39.717,90,90,90c50.903,0,90-41.233,90-90C346,130.374,305.626,90,256,90z M256,240.2c-33.257,0-60.2-27.033-60.2-60.2c0-33.084,27.116-60.2,60.2-60.2s60.1,27.116,60.1,60.2 C316.1,212.683,289.784,240.2,256,240.2z\" />\r\n </g>\r\n </g>\r\n </svg>\r\n);\r\n\r\nexport default IconLocation;\r\n","import React from 'react';\r\n\r\nconst IconLogo = () => (\r\n <svg id=\"logo\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\" viewBox=\"0 0 84 96\">\r\n <title>Logo</title>\r\n <g transform=\"translate(-8.000000, -2.000000)\">\r\n <g transform=\"translate(11.000000, 5.000000)\">\r\n <text stroke=\"null\" transform=\"matrix(1.7092870420828916,0,0,1.2992252436636136,-31.179078673348698,-12.272430665215303) \" text-anchor=\"start\" font-family=\"Helvetica, Arial, sans-serif\" font-size=\"24\" id=\"svg_5\" y=\"55.3008\" x=\"34.13147\" stroke-width=\"0\" fill=\"currentColor\">P</text>\r\n <polygon\r\n id=\"Shape\"\r\n stroke=\"currentColor\"\r\n strokeWidth=\"5\"\r\n strokeLinecap=\"round\"\r\n strokeLinejoin=\"round\"\r\n points=\"39 0 0 22 0 67 39 90 78 68 78 23\"\r\n />\r\n </g>\r\n </g>\r\n </svg>\r\n);\r\n\r\nexport default IconLogo;\r\n","import React from 'react';\r\n\r\nconst IconPlayStore = () => (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" role=\"img\" x=\"0px\" y=\"0px\" viewBox=\"0 0 512.001 512.001\">\r\n <title>Google Play Store</title>\r\n <path\r\n d=\"M464.252,212.09L99.624,8.07C84.247-1.873,64.754-2.691,48.574,5.967C32.183,14.74,22,31.737,22,50.329v411.342\r\n c0,18.592,10.183,35.59,26.573,44.361c16.097,8.617,35.593,7.891,51.052-2.101l364.628-204.022\r\n c16.121-9.02,25.747-25.435,25.747-43.908C490,237.527,480.374,221.111,464.252,212.09z M341.677,181.943l-50.339,50.339\r\n L113.108,54.051L341.677,181.943z M55.544,467.323V44.676L267.621,256L55.544,467.323z M113.108,457.949l178.232-178.231\r\n l50.339,50.339L113.108,457.949z M447.874,270.637l-75.779,42.401l-57.038-57.037l57.037-57.037l75.778,42.4\r\n c7.746,4.335,8.583,11.68,8.583,14.637C456.455,258.958,455.62,266.302,447.874,270.637z\"\r\n />\r\n </svg>\r\n);\r\n\r\nexport default IconPlayStore;\r\n","import React from 'react';\r\n\r\nconst IconStar = () => (\r\n <svg aria-label=\"stars\" viewBox=\"0 0 14 16\" version=\"1.1\" width=\"14\" height=\"16\" role=\"img\">\r\n <path\r\n fillRule=\"evenodd\"\r\n d=\"M14 6l-4.9-.64L7 1 4.9 5.36 0 6l3.6 3.26L2.67 14 7 11.67 11.33 14l-.93-4.74L14 6z\"\r\n />\r\n </svg>\r\n);\r\n\r\nexport default IconStar;\r\n","import React from 'react';\r\n\r\nconst IconTwitter = () => (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" role=\"img\" viewBox=\"0 0 612 612\">\r\n <title>Twitter</title>\r\n <path\r\n d=\"M612,116.258c-22.525,9.981-46.694,16.75-72.088,19.772c25.929-15.527,45.777-40.155,55.184-69.411\r\n c-24.322,14.379-51.169,24.82-79.775,30.48c-22.907-24.437-55.49-39.658-91.63-39.658c-69.334,0-125.551,56.217-125.551,125.513\r\n c0,9.828,1.109,19.427,3.251,28.606C197.065,206.32,104.556,156.337,42.641,80.386c-10.823,18.51-16.98,40.078-16.98,63.101\r\n c0,43.559,22.181,81.993,55.835,104.479c-20.575-0.688-39.926-6.348-56.867-15.756v1.568c0,60.806,43.291,111.554,100.693,123.104\r\n c-10.517,2.83-21.607,4.398-33.08,4.398c-8.107,0-15.947-0.803-23.634-2.333c15.985,49.907,62.336,86.199,117.253,87.194\r\n c-42.947,33.654-97.099,53.655-155.916,53.655c-10.134,0-20.116-0.612-29.944-1.721c55.567,35.681,121.536,56.485,192.438,56.485\r\n c230.948,0,357.188-191.291,357.188-357.188l-0.421-16.253C573.872,163.526,595.211,141.422,612,116.258z\"\r\n />\r\n </svg>\r\n);\r\n\r\nexport default IconTwitter;\r\n","import React from 'react';\r\n\r\nconst IconZap = () => (\r\n <svg\r\n version=\"1.1\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n viewBox=\"0 0 512.001 512.001\"\r\n enableBackground=\"new 0 0 512.001 512.001\">\r\n <path d=\"m413.951,200.174c-2.828-5.047-8.164-8.174-13.953-8.174h-110.608l14.555-174.668c0.609-7.312-3.836-14.1-10.781-16.467-6.914-2.383-14.609,0.282-18.594,6.446l-175.998,271.997c-3.188,4.922-3.43,11.194-0.625,16.342 2.805,5.148 8.195,8.35 14.054,8.35h110.718l-14.672,190.773c-0.57,7.375 3.992,14.18 11.031,16.454 1.625,0.523 3.281,0.774 4.922,0.774 5.453,0 10.687-2.804 13.656-7.656l175.998-287.998c3.016-4.937 3.133-11.126 0.297-16.173zm-168.896,230.685l10.898-141.63c0.344-4.445-1.187-8.829-4.211-12.103-3.031-3.265-7.289-5.126-11.742-5.126h-98.585l125.335-193.707-10.695,128.382c-0.367,4.461 1.141,8.865 4.172,12.162 3.031,3.29 7.296,5.163 11.773,5.163h99.468l-126.413,206.859z\" />\r\n </svg>\r\n);\r\n\r\nexport default IconZap;\r\n","module.exports = __webpack_public_path__ + \"static/SFMono-SemiboldItalic-2fd68bed64aeaceadc6402efc4d82767.woff2\";","module.exports = __webpack_public_path__ + \"static/Calibre-SemiboldItalic-8f3e4b3eaed73e67bbc4fc81f308a35f.woff2\";","module.exports = __webpack_public_path__ + \"static/Calibre-Medium-115d37180a9c07e2f480ca81b032babe.woff\";","module.exports = __webpack_public_path__ + \"static/Calibre-MediumItalic-4afe8032c647b57de924543c052e0ee4.woff\";","/*! @license is-dom-node v1.0.4\n\n\tCopyright 2018 Fisssion LLC.\n\n\tPermission is hereby granted, free of charge, to any person obtaining a copy\n\tof this software and associated documentation files (the \"Software\"), to deal\n\tin the Software without restriction, including without limitation the rights\n\tto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\tcopies of the Software, and to permit persons to whom the Software is\n\tfurnished to do so, subject to the following conditions:\n\n\tThe above copyright notice and this permission notice shall be included in all\n\tcopies or substantial portions of the Software.\n\n\tTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\tIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\tFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\tAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\tLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\tOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\tSOFTWARE.\n\n*/\nfunction isDomNode(x) {\n return typeof window.Node === 'object' ? x instanceof window.Node : x !== null && typeof x === 'object' && typeof x.nodeType === 'number' && typeof x.nodeName === 'string';\n}\n\nexport default isDomNode;","/*! @license is-dom-node-list v1.2.1\n\n\tCopyright 2018 Fisssion LLC.\n\n\tPermission is hereby granted, free of charge, to any person obtaining a copy\n\tof this software and associated documentation files (the \"Software\"), to deal\n\tin the Software without restriction, including without limitation the rights\n\tto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\tcopies of the Software, and to permit persons to whom the Software is\n\tfurnished to do so, subject to the following conditions:\n\n\tThe above copyright notice and this permission notice shall be included in all\n\tcopies or substantial portions of the Software.\n\n\tTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\tIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\tFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\tAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\tLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\tOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\tSOFTWARE.\n\n*/\nimport isDomNode from 'is-dom-node';\n\nfunction isDomNodeList(x) {\n var prototypeToString = Object.prototype.toString.call(x);\n var regex = /^\\[object (HTMLCollection|NodeList|Object)\\]$/;\n return typeof window.NodeList === 'object' ? x instanceof window.NodeList : x !== null && typeof x === 'object' && typeof x.length === 'number' && regex.test(prototypeToString) && (x.length === 0 || isDomNode(x[0]));\n}\n\nexport default isDomNodeList;","/*! @license Tealight v0.3.6\n\n\tCopyright 2018 Fisssion LLC.\n\n\tPermission is hereby granted, free of charge, to any person obtaining a copy\n\tof this software and associated documentation files (the \"Software\"), to deal\n\tin the Software without restriction, including without limitation the rights\n\tto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\tcopies of the Software, and to permit persons to whom the Software is\n\tfurnished to do so, subject to the following conditions:\n\n\tThe above copyright notice and this permission notice shall be included in all\n\tcopies or substantial portions of the Software.\n\n\tTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\tIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\tFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\tAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\tLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\tOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\tSOFTWARE.\n\n*/\nimport isDomNode from 'is-dom-node';\nimport isDomNodeList from 'is-dom-node-list';\n\nfunction tealight(target, context) {\n if (context === void 0) context = document;\n\n if (target instanceof Array) {\n return target.filter(isDomNode);\n }\n\n if (isDomNode(target)) {\n return [target];\n }\n\n if (isDomNodeList(target)) {\n return Array.prototype.slice.call(target);\n }\n\n if (typeof target === \"string\") {\n try {\n var query = context.querySelectorAll(target);\n return Array.prototype.slice.call(query);\n } catch (err) {\n return [];\n }\n }\n\n return [];\n}\n\nexport default tealight;","/*! @license Rematrix v0.3.0\n\n\tCopyright 2018 Julian Lloyd.\n\n\tPermission is hereby granted, free of charge, to any person obtaining a copy\n\tof this software and associated documentation files (the \"Software\"), to deal\n\tin the Software without restriction, including without limitation the rights\n\tto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\tcopies of the Software, and to permit persons to whom the Software is\n\tfurnished to do so, subject to the following conditions:\n\n\tThe above copyright notice and this permission notice shall be included in\n\tall copies or substantial portions of the Software.\n\n\tTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\tIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\tFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\tAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\tLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\tOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\tTHE SOFTWARE.\n*/\n\n/**\n * @module Rematrix\n */\n\n/**\n * Transformation matrices in the browser come in two flavors:\n *\n * - `matrix` using 6 values (short)\n * - `matrix3d` using 16 values (long)\n *\n * This utility follows this [conversion guide](https://goo.gl/EJlUQ1)\n * to expand short form matrices to their equivalent long form.\n *\n * @param {array} source - Accepts both short and long form matrices.\n * @return {array}\n */\nfunction format(source) {\n if (source.constructor !== Array) {\n throw new TypeError('Expected array.');\n }\n\n if (source.length === 16) {\n return source;\n }\n\n if (source.length === 6) {\n var matrix = identity();\n matrix[0] = source[0];\n matrix[1] = source[1];\n matrix[4] = source[2];\n matrix[5] = source[3];\n matrix[12] = source[4];\n matrix[13] = source[5];\n return matrix;\n }\n\n throw new RangeError('Expected array with either 6 or 16 values.');\n}\n/**\n * Returns a matrix representing no transformation. The product of any matrix\n * multiplied by the identity matrix will be the original matrix.\n *\n * > **Tip:** Similar to how `5 * 1 === 5`, where `1` is the identity.\n *\n * @return {array}\n */\n\n\nfunction identity() {\n var matrix = [];\n\n for (var i = 0; i < 16; i++) {\n i % 5 == 0 ? matrix.push(1) : matrix.push(0);\n }\n\n return matrix;\n}\n/**\n * Returns a matrix describing the inverse transformation of the source\n * matrix. The product of any matrix multiplied by its inverse will be the\n * identity matrix.\n *\n * > **Tip:** Similar to how `5 * (1/5) === 1`, where `1/5` is the inverse.\n *\n * @param {array} source - Accepts both short and long form matrices.\n * @return {array}\n */\n\n\nfunction inverse(source) {\n var m = format(source);\n var s0 = m[0] * m[5] - m[4] * m[1];\n var s1 = m[0] * m[6] - m[4] * m[2];\n var s2 = m[0] * m[7] - m[4] * m[3];\n var s3 = m[1] * m[6] - m[5] * m[2];\n var s4 = m[1] * m[7] - m[5] * m[3];\n var s5 = m[2] * m[7] - m[6] * m[3];\n var c5 = m[10] * m[15] - m[14] * m[11];\n var c4 = m[9] * m[15] - m[13] * m[11];\n var c3 = m[9] * m[14] - m[13] * m[10];\n var c2 = m[8] * m[15] - m[12] * m[11];\n var c1 = m[8] * m[14] - m[12] * m[10];\n var c0 = m[8] * m[13] - m[12] * m[9];\n var determinant = 1 / (s0 * c5 - s1 * c4 + s2 * c3 + s3 * c2 - s4 * c1 + s5 * c0);\n\n if (isNaN(determinant) || determinant === Infinity) {\n throw new Error('Inverse determinant attempted to divide by zero.');\n }\n\n return [(m[5] * c5 - m[6] * c4 + m[7] * c3) * determinant, (-m[1] * c5 + m[2] * c4 - m[3] * c3) * determinant, (m[13] * s5 - m[14] * s4 + m[15] * s3) * determinant, (-m[9] * s5 + m[10] * s4 - m[11] * s3) * determinant, (-m[4] * c5 + m[6] * c2 - m[7] * c1) * determinant, (m[0] * c5 - m[2] * c2 + m[3] * c1) * determinant, (-m[12] * s5 + m[14] * s2 - m[15] * s1) * determinant, (m[8] * s5 - m[10] * s2 + m[11] * s1) * determinant, (m[4] * c4 - m[5] * c2 + m[7] * c0) * determinant, (-m[0] * c4 + m[1] * c2 - m[3] * c0) * determinant, (m[12] * s4 - m[13] * s2 + m[15] * s0) * determinant, (-m[8] * s4 + m[9] * s2 - m[11] * s0) * determinant, (-m[4] * c3 + m[5] * c1 - m[6] * c0) * determinant, (m[0] * c3 - m[1] * c1 + m[2] * c0) * determinant, (-m[12] * s3 + m[13] * s1 - m[14] * s0) * determinant, (m[8] * s3 - m[9] * s1 + m[10] * s0) * determinant];\n}\n/**\n * Returns a 4x4 matrix describing the combined transformations\n * of both arguments.\n *\n * > **Note:** Order is very important. For example, rotating 45°\n * along the Z-axis, followed by translating 500 pixels along the\n * Y-axis... is not the same as translating 500 pixels along the\n * Y-axis, followed by rotating 45° along on the Z-axis.\n *\n * @param {array} m - Accepts both short and long form matrices.\n * @param {array} x - Accepts both short and long form matrices.\n * @return {array}\n */\n\n\nfunction multiply(m, x) {\n var fm = format(m);\n var fx = format(x);\n var product = [];\n\n for (var i = 0; i < 4; i++) {\n var row = [fm[i], fm[i + 4], fm[i + 8], fm[i + 12]];\n\n for (var j = 0; j < 4; j++) {\n var k = j * 4;\n var col = [fx[k], fx[k + 1], fx[k + 2], fx[k + 3]];\n var result = row[0] * col[0] + row[1] * col[1] + row[2] * col[2] + row[3] * col[3];\n product[i + k] = result;\n }\n }\n\n return product;\n}\n/**\n * Attempts to return a 4x4 matrix describing the CSS transform\n * matrix passed in, but will return the identity matrix as a\n * fallback.\n *\n * > **Tip:** This method is used to convert a CSS matrix (retrieved as a\n * `string` from computed styles) to its equivalent array format.\n *\n * @param {string} source - `matrix` or `matrix3d` CSS Transform value.\n * @return {array}\n */\n\n\nfunction parse(source) {\n if (typeof source === 'string') {\n var match = source.match(/matrix(3d)?\\(([^)]+)\\)/);\n\n if (match) {\n var raw = match[2].split(', ').map(parseFloat);\n return format(raw);\n }\n }\n\n return identity();\n}\n/**\n * Returns a 4x4 matrix describing Z-axis rotation.\n *\n * > **Tip:** This is just an alias for `Rematrix.rotateZ` for parity with CSS\n *\n * @param {number} angle - Measured in degrees.\n * @return {array}\n */\n\n\nfunction rotate(angle) {\n return rotateZ(angle);\n}\n/**\n * Returns a 4x4 matrix describing X-axis rotation.\n *\n * @param {number} angle - Measured in degrees.\n * @return {array}\n */\n\n\nfunction rotateX(angle) {\n var theta = Math.PI / 180 * angle;\n var matrix = identity();\n matrix[5] = matrix[10] = Math.cos(theta);\n matrix[6] = matrix[9] = Math.sin(theta);\n matrix[9] *= -1;\n return matrix;\n}\n/**\n * Returns a 4x4 matrix describing Y-axis rotation.\n *\n * @param {number} angle - Measured in degrees.\n * @return {array}\n */\n\n\nfunction rotateY(angle) {\n var theta = Math.PI / 180 * angle;\n var matrix = identity();\n matrix[0] = matrix[10] = Math.cos(theta);\n matrix[2] = matrix[8] = Math.sin(theta);\n matrix[2] *= -1;\n return matrix;\n}\n/**\n * Returns a 4x4 matrix describing Z-axis rotation.\n *\n * @param {number} angle - Measured in degrees.\n * @return {array}\n */\n\n\nfunction rotateZ(angle) {\n var theta = Math.PI / 180 * angle;\n var matrix = identity();\n matrix[0] = matrix[5] = Math.cos(theta);\n matrix[1] = matrix[4] = Math.sin(theta);\n matrix[4] *= -1;\n return matrix;\n}\n/**\n * Returns a 4x4 matrix describing 2D scaling. The first argument\n * is used for both X and Y-axis scaling, unless an optional\n * second argument is provided to explicitly define Y-axis scaling.\n *\n * @param {number} scalar - Decimal multiplier.\n * @param {number} [scalarY] - Decimal multiplier.\n * @return {array}\n */\n\n\nfunction scale(scalar, scalarY) {\n var matrix = identity();\n matrix[0] = scalar;\n matrix[5] = typeof scalarY === 'number' ? scalarY : scalar;\n return matrix;\n}\n/**\n * Returns a 4x4 matrix describing X-axis scaling.\n *\n * @param {number} scalar - Decimal multiplier.\n * @return {array}\n */\n\n\nfunction scaleX(scalar) {\n var matrix = identity();\n matrix[0] = scalar;\n return matrix;\n}\n/**\n * Returns a 4x4 matrix describing Y-axis scaling.\n *\n * @param {number} scalar - Decimal multiplier.\n * @return {array}\n */\n\n\nfunction scaleY(scalar) {\n var matrix = identity();\n matrix[5] = scalar;\n return matrix;\n}\n/**\n * Returns a 4x4 matrix describing Z-axis scaling.\n *\n * @param {number} scalar - Decimal multiplier.\n * @return {array}\n */\n\n\nfunction scaleZ(scalar) {\n var matrix = identity();\n matrix[10] = scalar;\n return matrix;\n}\n/**\n * Returns a 4x4 matrix describing shear. The first argument\n * defines X-axis shearing, and an optional second argument\n * defines Y-axis shearing.\n *\n * @param {number} angleX - Measured in degrees.\n * @param {number} [angleY] - Measured in degrees.\n * @return {array}\n */\n\n\nfunction skew(angleX, angleY) {\n var thetaX = Math.PI / 180 * angleX;\n var matrix = identity();\n matrix[4] = Math.tan(thetaX);\n\n if (angleY) {\n var thetaY = Math.PI / 180 * angleY;\n matrix[1] = Math.tan(thetaY);\n }\n\n return matrix;\n}\n/**\n * Returns a 4x4 matrix describing X-axis shear.\n *\n * @param {number} angle - Measured in degrees.\n * @return {array}\n */\n\n\nfunction skewX(angle) {\n var theta = Math.PI / 180 * angle;\n var matrix = identity();\n matrix[4] = Math.tan(theta);\n return matrix;\n}\n/**\n * Returns a 4x4 matrix describing Y-axis shear.\n *\n * @param {number} angle - Measured in degrees\n * @return {array}\n */\n\n\nfunction skewY(angle) {\n var theta = Math.PI / 180 * angle;\n var matrix = identity();\n matrix[1] = Math.tan(theta);\n return matrix;\n}\n/**\n * Returns a CSS Transform property value equivalent to the source matrix.\n *\n * @param {array} source - Accepts both short and long form matrices.\n * @return {string}\n */\n\n\nfunction toString(source) {\n return \"matrix3d(\" + format(source).join(', ') + \")\";\n}\n/**\n * Returns a 4x4 matrix describing 2D translation. The first\n * argument defines X-axis translation, and an optional second\n * argument defines Y-axis translation.\n *\n * @param {number} distanceX - Measured in pixels.\n * @param {number} [distanceY] - Measured in pixels.\n * @return {array}\n */\n\n\nfunction translate(distanceX, distanceY) {\n var matrix = identity();\n matrix[12] = distanceX;\n\n if (distanceY) {\n matrix[13] = distanceY;\n }\n\n return matrix;\n}\n/**\n * Returns a 4x4 matrix describing X-axis translation.\n *\n * @param {number} distance - Measured in pixels.\n * @return {array}\n */\n\n\nfunction translateX(distance) {\n var matrix = identity();\n matrix[12] = distance;\n return matrix;\n}\n/**\n * Returns a 4x4 matrix describing Y-axis translation.\n *\n * @param {number} distance - Measured in pixels.\n * @return {array}\n */\n\n\nfunction translateY(distance) {\n var matrix = identity();\n matrix[13] = distance;\n return matrix;\n}\n/**\n * Returns a 4x4 matrix describing Z-axis translation.\n *\n * @param {number} distance - Measured in pixels.\n * @return {array}\n */\n\n\nfunction translateZ(distance) {\n var matrix = identity();\n matrix[14] = distance;\n return matrix;\n}\n\nexport { format, identity, inverse, multiply, parse, rotate, rotateX, rotateY, rotateZ, scale, scaleX, scaleY, scaleZ, skew, skewX, skewY, toString, translate, translateX, translateY, translateZ };","/*! @license miniraf v1.0.0\n\n\tCopyright 2018 Fisssion LLC.\n\n\tPermission is hereby granted, free of charge, to any person obtaining a copy\n\tof this software and associated documentation files (the \"Software\"), to deal\n\tin the Software without restriction, including without limitation the rights\n\tto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\tcopies of the Software, and to permit persons to whom the Software is\n\tfurnished to do so, subject to the following conditions:\n\n\tThe above copyright notice and this permission notice shall be included in all\n\tcopies or substantial portions of the Software.\n\n\tTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\tIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\tFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\tAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\tLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\tOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\tSOFTWARE.\n\n*/\nvar polyfill = function () {\n var clock = Date.now();\n return function (callback) {\n var currentTime = Date.now();\n\n if (currentTime - clock > 16) {\n clock = currentTime;\n callback(currentTime);\n } else {\n setTimeout(function () {\n return polyfill(callback);\n }, 0);\n }\n };\n}();\n\nvar index = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || polyfill;\nexport default index;","/*! @license ScrollReveal v4.0.7\n\n\tCopyright 2020 Fisssion LLC.\n\n\tLicensed under the GNU General Public License 3.0 for\n\tcompatible open source projects and non-commercial use.\n\n\tFor commercial sites, themes, projects, and applications,\n\tkeep your source code private/proprietary by purchasing\n\ta commercial license from https://scrollrevealjs.org/\n*/\nimport $ from 'tealight';\nimport { translateY, translateX, rotateX, rotateY, rotateZ, scale, parse, multiply } from 'rematrix';\nimport raf from 'miniraf';\nvar defaults = {\n delay: 0,\n distance: '0',\n duration: 600,\n easing: 'cubic-bezier(0.5, 0, 0, 1)',\n interval: 0,\n opacity: 0,\n origin: 'bottom',\n rotate: {\n x: 0,\n y: 0,\n z: 0\n },\n scale: 1,\n cleanup: false,\n container: document.documentElement,\n desktop: true,\n mobile: true,\n reset: false,\n useDelay: 'always',\n viewFactor: 0.0,\n viewOffset: {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n },\n afterReset: function afterReset() {},\n afterReveal: function afterReveal() {},\n beforeReset: function beforeReset() {},\n beforeReveal: function beforeReveal() {}\n};\n\nfunction failure() {\n document.documentElement.classList.remove('sr');\n return {\n clean: function clean() {},\n destroy: function destroy() {},\n reveal: function reveal() {},\n sync: function sync() {},\n\n get noop() {\n return true;\n }\n\n };\n}\n\nfunction success() {\n document.documentElement.classList.add('sr');\n\n if (document.body) {\n document.body.style.height = '100%';\n } else {\n document.addEventListener('DOMContentLoaded', function () {\n document.body.style.height = '100%';\n });\n }\n}\n\nvar mount = {\n success: success,\n failure: failure\n};\n\nfunction isObject(x) {\n return x !== null && x instanceof Object && (x.constructor === Object || Object.prototype.toString.call(x) === '[object Object]');\n}\n\nfunction each(collection, callback) {\n if (isObject(collection)) {\n var keys = Object.keys(collection);\n return keys.forEach(function (key) {\n return callback(collection[key], key, collection);\n });\n }\n\n if (collection instanceof Array) {\n return collection.forEach(function (item, i) {\n return callback(item, i, collection);\n });\n }\n\n throw new TypeError('Expected either an array or object literal.');\n}\n\nfunction logger(message) {\n var details = [],\n len = arguments.length - 1;\n\n while (len-- > 0) {\n details[len] = arguments[len + 1];\n }\n\n if (this.constructor.debug && console) {\n var report = \"%cScrollReveal: \" + message;\n details.forEach(function (detail) {\n return report += \"\\n — \" + detail;\n });\n console.log(report, 'color: #ea654b;'); // eslint-disable-line no-console\n }\n}\n\nfunction rinse() {\n var this$1 = this;\n\n var struct = function struct() {\n return {\n active: [],\n stale: []\n };\n };\n\n var elementIds = struct();\n var sequenceIds = struct();\n var containerIds = struct();\n /**\n * Take stock of active element IDs.\n */\n\n try {\n each($('[data-sr-id]'), function (node) {\n var id = parseInt(node.getAttribute('data-sr-id'));\n elementIds.active.push(id);\n });\n } catch (e) {\n throw e;\n }\n /**\n * Destroy stale elements.\n */\n\n\n each(this.store.elements, function (element) {\n if (elementIds.active.indexOf(element.id) === -1) {\n elementIds.stale.push(element.id);\n }\n });\n each(elementIds.stale, function (staleId) {\n return delete this$1.store.elements[staleId];\n });\n /**\n * Take stock of active container and sequence IDs.\n */\n\n each(this.store.elements, function (element) {\n if (containerIds.active.indexOf(element.containerId) === -1) {\n containerIds.active.push(element.containerId);\n }\n\n if (element.hasOwnProperty('sequence')) {\n if (sequenceIds.active.indexOf(element.sequence.id) === -1) {\n sequenceIds.active.push(element.sequence.id);\n }\n }\n });\n /**\n * Destroy stale containers.\n */\n\n each(this.store.containers, function (container) {\n if (containerIds.active.indexOf(container.id) === -1) {\n containerIds.stale.push(container.id);\n }\n });\n each(containerIds.stale, function (staleId) {\n var stale = this$1.store.containers[staleId].node;\n stale.removeEventListener('scroll', this$1.delegate);\n stale.removeEventListener('resize', this$1.delegate);\n delete this$1.store.containers[staleId];\n });\n /**\n * Destroy stale sequences.\n */\n\n each(this.store.sequences, function (sequence) {\n if (sequenceIds.active.indexOf(sequence.id) === -1) {\n sequenceIds.stale.push(sequence.id);\n }\n });\n each(sequenceIds.stale, function (staleId) {\n return delete this$1.store.sequences[staleId];\n });\n}\n\nfunction clean(target) {\n var this$1 = this;\n var dirty;\n\n try {\n each($(target), function (node) {\n var id = node.getAttribute('data-sr-id');\n\n if (id !== null) {\n dirty = true;\n var element = this$1.store.elements[id];\n\n if (element.callbackTimer) {\n window.clearTimeout(element.callbackTimer.clock);\n }\n\n node.setAttribute('style', element.styles.inline.generated);\n node.removeAttribute('data-sr-id');\n delete this$1.store.elements[id];\n }\n });\n } catch (e) {\n return logger.call(this, 'Clean failed.', e.message);\n }\n\n if (dirty) {\n try {\n rinse.call(this);\n } catch (e) {\n return logger.call(this, 'Clean failed.', e.message);\n }\n }\n}\n\nfunction destroy() {\n var this$1 = this;\n /**\n * Remove all generated styles and element ids\n */\n\n each(this.store.elements, function (element) {\n element.node.setAttribute('style', element.styles.inline.generated);\n element.node.removeAttribute('data-sr-id');\n });\n /**\n * Remove all event listeners.\n */\n\n each(this.store.containers, function (container) {\n var target = container.node === document.documentElement ? window : container.node;\n target.removeEventListener('scroll', this$1.delegate);\n target.removeEventListener('resize', this$1.delegate);\n });\n /**\n * Clear all data from the store\n */\n\n this.store = {\n containers: {},\n elements: {},\n history: [],\n sequences: {}\n };\n}\n\nvar getPrefixedCssProp = function () {\n var properties = {};\n var style = document.documentElement.style;\n\n function getPrefixedCssProperty(name, source) {\n if (source === void 0) source = style;\n\n if (name && typeof name === 'string') {\n if (properties[name]) {\n return properties[name];\n }\n\n if (typeof source[name] === 'string') {\n return properties[name] = name;\n }\n\n if (typeof source[\"-webkit-\" + name] === 'string') {\n return properties[name] = \"-webkit-\" + name;\n }\n\n throw new RangeError(\"Unable to find \\\"\" + name + \"\\\" style property.\");\n }\n\n throw new TypeError('Expected a string.');\n }\n\n getPrefixedCssProperty.clearCache = function () {\n return properties = {};\n };\n\n return getPrefixedCssProperty;\n}();\n\nfunction style(element) {\n var computed = window.getComputedStyle(element.node);\n var position = computed.position;\n var config = element.config;\n /**\n * Generate inline styles\n */\n\n var inline = {};\n var inlineStyle = element.node.getAttribute('style') || '';\n var inlineMatch = inlineStyle.match(/[\\w-]+\\s*:\\s*[^;]+\\s*/gi) || [];\n inline.computed = inlineMatch ? inlineMatch.map(function (m) {\n return m.trim();\n }).join('; ') + ';' : '';\n inline.generated = inlineMatch.some(function (m) {\n return m.match(/visibility\\s?:\\s?visible/i);\n }) ? inline.computed : inlineMatch.concat(['visibility: visible']).map(function (m) {\n return m.trim();\n }).join('; ') + ';';\n /**\n * Generate opacity styles\n */\n\n var computedOpacity = parseFloat(computed.opacity);\n var configOpacity = !isNaN(parseFloat(config.opacity)) ? parseFloat(config.opacity) : parseFloat(computed.opacity);\n var opacity = {\n computed: computedOpacity !== configOpacity ? \"opacity: \" + computedOpacity + \";\" : '',\n generated: computedOpacity !== configOpacity ? \"opacity: \" + configOpacity + \";\" : ''\n };\n /**\n * Generate transformation styles\n */\n\n var transformations = [];\n\n if (parseFloat(config.distance)) {\n var axis = config.origin === 'top' || config.origin === 'bottom' ? 'Y' : 'X';\n /**\n * Let’s make sure our our pixel distances are negative for top and left.\n * e.g. { origin: 'top', distance: '25px' } starts at `top: -25px` in CSS.\n */\n\n var distance = config.distance;\n\n if (config.origin === 'top' || config.origin === 'left') {\n distance = /^-/.test(distance) ? distance.substr(1) : \"-\" + distance;\n }\n\n var ref = distance.match(/(^-?\\d+\\.?\\d?)|(em$|px$|%$)/g);\n var value = ref[0];\n var unit = ref[1];\n\n switch (unit) {\n case 'em':\n distance = parseInt(computed.fontSize) * value;\n break;\n\n case 'px':\n distance = value;\n break;\n\n case '%':\n /**\n * Here we use `getBoundingClientRect` instead of\n * the existing data attached to `element.geometry`\n * because only the former includes any transformations\n * current applied to the element.\n *\n * If that behavior ends up being unintuitive, this\n * logic could instead utilize `element.geometry.height`\n * and `element.geoemetry.width` for the distance calculation\n */\n distance = axis === 'Y' ? element.node.getBoundingClientRect().height * value / 100 : element.node.getBoundingClientRect().width * value / 100;\n break;\n\n default:\n throw new RangeError('Unrecognized or missing distance unit.');\n }\n\n if (axis === 'Y') {\n transformations.push(translateY(distance));\n } else {\n transformations.push(translateX(distance));\n }\n }\n\n if (config.rotate.x) {\n transformations.push(rotateX(config.rotate.x));\n }\n\n if (config.rotate.y) {\n transformations.push(rotateY(config.rotate.y));\n }\n\n if (config.rotate.z) {\n transformations.push(rotateZ(config.rotate.z));\n }\n\n if (config.scale !== 1) {\n if (config.scale === 0) {\n /**\n * The CSS Transforms matrix interpolation specification\n * basically disallows transitions of non-invertible\n * matrixes, which means browsers won't transition\n * elements with zero scale.\n *\n * That’s inconvenient for the API and developer\n * experience, so we simply nudge their value\n * slightly above zero; this allows browsers\n * to transition our element as expected.\n *\n * `0.0002` was the smallest number\n * that performed across browsers.\n */\n transformations.push(scale(0.0002));\n } else {\n transformations.push(scale(config.scale));\n }\n }\n\n var transform = {};\n\n if (transformations.length) {\n transform.property = getPrefixedCssProp('transform');\n /**\n * The default computed transform value should be one of:\n * undefined || 'none' || 'matrix()' || 'matrix3d()'\n */\n\n transform.computed = {\n raw: computed[transform.property],\n matrix: parse(computed[transform.property])\n };\n transformations.unshift(transform.computed.matrix);\n var product = transformations.reduce(multiply);\n transform.generated = {\n initial: transform.property + \": matrix3d(\" + product.join(', ') + \");\",\n final: transform.property + \": matrix3d(\" + transform.computed.matrix.join(', ') + \");\"\n };\n } else {\n transform.generated = {\n initial: '',\n final: ''\n };\n }\n /**\n * Generate transition styles\n */\n\n\n var transition = {};\n\n if (opacity.generated || transform.generated.initial) {\n transition.property = getPrefixedCssProp('transition');\n transition.computed = computed[transition.property];\n transition.fragments = [];\n var delay = config.delay;\n var duration = config.duration;\n var easing = config.easing;\n\n if (opacity.generated) {\n transition.fragments.push({\n delayed: \"opacity \" + duration / 1000 + \"s \" + easing + \" \" + delay / 1000 + \"s\",\n instant: \"opacity \" + duration / 1000 + \"s \" + easing + \" 0s\"\n });\n }\n\n if (transform.generated.initial) {\n transition.fragments.push({\n delayed: transform.property + \" \" + duration / 1000 + \"s \" + easing + \" \" + delay / 1000 + \"s\",\n instant: transform.property + \" \" + duration / 1000 + \"s \" + easing + \" 0s\"\n });\n }\n /**\n * The default computed transition property should be undefined, or one of:\n * '' || 'none 0s ease 0s' || 'all 0s ease 0s' || 'all 0s 0s cubic-bezier()'\n */\n\n\n var hasCustomTransition = transition.computed && !transition.computed.match(/all 0s|none 0s/);\n\n if (hasCustomTransition) {\n transition.fragments.unshift({\n delayed: transition.computed,\n instant: transition.computed\n });\n }\n\n var composed = transition.fragments.reduce(function (composition, fragment, i) {\n composition.delayed += i === 0 ? fragment.delayed : \", \" + fragment.delayed;\n composition.instant += i === 0 ? fragment.instant : \", \" + fragment.instant;\n return composition;\n }, {\n delayed: '',\n instant: ''\n });\n transition.generated = {\n delayed: transition.property + \": \" + composed.delayed + \";\",\n instant: transition.property + \": \" + composed.instant + \";\"\n };\n } else {\n transition.generated = {\n delayed: '',\n instant: ''\n };\n }\n\n return {\n inline: inline,\n opacity: opacity,\n position: position,\n transform: transform,\n transition: transition\n };\n}\n\nfunction animate(element, force) {\n if (force === void 0) force = {};\n var pristine = force.pristine || this.pristine;\n var delayed = element.config.useDelay === 'always' || element.config.useDelay === 'onload' && pristine || element.config.useDelay === 'once' && !element.seen;\n var shouldReveal = element.visible && !element.revealed;\n var shouldReset = !element.visible && element.revealed && element.config.reset;\n\n if (force.reveal || shouldReveal) {\n return triggerReveal.call(this, element, delayed);\n }\n\n if (force.reset || shouldReset) {\n return triggerReset.call(this, element);\n }\n}\n\nfunction triggerReveal(element, delayed) {\n var styles = [element.styles.inline.generated, element.styles.opacity.computed, element.styles.transform.generated.final];\n\n if (delayed) {\n styles.push(element.styles.transition.generated.delayed);\n } else {\n styles.push(element.styles.transition.generated.instant);\n }\n\n element.revealed = element.seen = true;\n element.node.setAttribute('style', styles.filter(function (s) {\n return s !== '';\n }).join(' '));\n registerCallbacks.call(this, element, delayed);\n}\n\nfunction triggerReset(element) {\n var styles = [element.styles.inline.generated, element.styles.opacity.generated, element.styles.transform.generated.initial, element.styles.transition.generated.instant];\n element.revealed = false;\n element.node.setAttribute('style', styles.filter(function (s) {\n return s !== '';\n }).join(' '));\n registerCallbacks.call(this, element);\n}\n\nfunction registerCallbacks(element, isDelayed) {\n var this$1 = this;\n var duration = isDelayed ? element.config.duration + element.config.delay : element.config.duration;\n var beforeCallback = element.revealed ? element.config.beforeReveal : element.config.beforeReset;\n var afterCallback = element.revealed ? element.config.afterReveal : element.config.afterReset;\n var elapsed = 0;\n\n if (element.callbackTimer) {\n elapsed = Date.now() - element.callbackTimer.start;\n window.clearTimeout(element.callbackTimer.clock);\n }\n\n beforeCallback(element.node);\n element.callbackTimer = {\n start: Date.now(),\n clock: window.setTimeout(function () {\n afterCallback(element.node);\n element.callbackTimer = null;\n\n if (element.revealed && !element.config.reset && element.config.cleanup) {\n clean.call(this$1, element.node);\n }\n }, duration - elapsed)\n };\n}\n\nvar nextUniqueId = function () {\n var uid = 0;\n return function () {\n return uid++;\n };\n}();\n\nfunction sequence(element, pristine) {\n if (pristine === void 0) pristine = this.pristine;\n /**\n * We first check if the element should reset.\n */\n\n if (!element.visible && element.revealed && element.config.reset) {\n return animate.call(this, element, {\n reset: true\n });\n }\n\n var seq = this.store.sequences[element.sequence.id];\n var i = element.sequence.index;\n\n if (seq) {\n var visible = new SequenceModel(seq, 'visible', this.store);\n var revealed = new SequenceModel(seq, 'revealed', this.store);\n seq.models = {\n visible: visible,\n revealed: revealed\n };\n /**\n * If the sequence has no revealed members,\n * then we reveal the first visible element\n * within that sequence.\n *\n * The sequence then cues a recursive call\n * in both directions.\n */\n\n if (!revealed.body.length) {\n var nextId = seq.members[visible.body[0]];\n var nextElement = this.store.elements[nextId];\n\n if (nextElement) {\n cue.call(this, seq, visible.body[0], -1, pristine);\n cue.call(this, seq, visible.body[0], +1, pristine);\n return animate.call(this, nextElement, {\n reveal: true,\n pristine: pristine\n });\n }\n }\n /**\n * If our element isn’t resetting, we check the\n * element sequence index against the head, and\n * then the foot of the sequence.\n */\n\n\n if (!seq.blocked.head && i === [].concat(revealed.head).pop() && i >= [].concat(visible.body).shift()) {\n cue.call(this, seq, i, -1, pristine);\n return animate.call(this, element, {\n reveal: true,\n pristine: pristine\n });\n }\n\n if (!seq.blocked.foot && i === [].concat(revealed.foot).shift() && i <= [].concat(visible.body).pop()) {\n cue.call(this, seq, i, +1, pristine);\n return animate.call(this, element, {\n reveal: true,\n pristine: pristine\n });\n }\n }\n}\n\nfunction Sequence(interval) {\n var i = Math.abs(interval);\n\n if (!isNaN(i)) {\n this.id = nextUniqueId();\n this.interval = Math.max(i, 16);\n this.members = [];\n this.models = {};\n this.blocked = {\n head: false,\n foot: false\n };\n } else {\n throw new RangeError('Invalid sequence interval.');\n }\n}\n\nfunction SequenceModel(seq, prop, store) {\n var this$1 = this;\n this.head = [];\n this.body = [];\n this.foot = [];\n each(seq.members, function (id, index) {\n var element = store.elements[id];\n\n if (element && element[prop]) {\n this$1.body.push(index);\n }\n });\n\n if (this.body.length) {\n each(seq.members, function (id, index) {\n var element = store.elements[id];\n\n if (element && !element[prop]) {\n if (index < this$1.body[0]) {\n this$1.head.push(index);\n } else {\n this$1.foot.push(index);\n }\n }\n });\n }\n}\n\nfunction cue(seq, i, direction, pristine) {\n var this$1 = this;\n var blocked = ['head', null, 'foot'][1 + direction];\n var nextId = seq.members[i + direction];\n var nextElement = this.store.elements[nextId];\n seq.blocked[blocked] = true;\n setTimeout(function () {\n seq.blocked[blocked] = false;\n\n if (nextElement) {\n sequence.call(this$1, nextElement, pristine);\n }\n }, seq.interval);\n}\n\nfunction initialize() {\n var this$1 = this;\n rinse.call(this);\n each(this.store.elements, function (element) {\n var styles = [element.styles.inline.generated];\n\n if (element.visible) {\n styles.push(element.styles.opacity.computed);\n styles.push(element.styles.transform.generated.final);\n element.revealed = true;\n } else {\n styles.push(element.styles.opacity.generated);\n styles.push(element.styles.transform.generated.initial);\n element.revealed = false;\n }\n\n element.node.setAttribute('style', styles.filter(function (s) {\n return s !== '';\n }).join(' '));\n });\n each(this.store.containers, function (container) {\n var target = container.node === document.documentElement ? window : container.node;\n target.addEventListener('scroll', this$1.delegate);\n target.addEventListener('resize', this$1.delegate);\n });\n /**\n * Manually invoke delegate once to capture\n * element and container dimensions, container\n * scroll position, and trigger any valid reveals\n */\n\n this.delegate();\n /**\n * Wipe any existing `setTimeout` now\n * that initialization has completed.\n */\n\n this.initTimeout = null;\n}\n\nfunction isMobile(agent) {\n if (agent === void 0) agent = navigator.userAgent;\n return /Android|iPhone|iPad|iPod/i.test(agent);\n}\n\nfunction deepAssign(target) {\n var sources = [],\n len = arguments.length - 1;\n\n while (len-- > 0) {\n sources[len] = arguments[len + 1];\n }\n\n if (isObject(target)) {\n each(sources, function (source) {\n each(source, function (data, key) {\n if (isObject(data)) {\n if (!target[key] || !isObject(target[key])) {\n target[key] = {};\n }\n\n deepAssign(target[key], data);\n } else {\n target[key] = data;\n }\n });\n });\n return target;\n } else {\n throw new TypeError('Target must be an object literal.');\n }\n}\n\nfunction reveal(target, options, syncing) {\n var this$1 = this;\n if (options === void 0) options = {};\n if (syncing === void 0) syncing = false;\n var containerBuffer = [];\n var sequence$$1;\n var interval = options.interval || defaults.interval;\n\n try {\n if (interval) {\n sequence$$1 = new Sequence(interval);\n }\n\n var nodes = $(target);\n\n if (!nodes.length) {\n throw new Error('Invalid reveal target.');\n }\n\n var elements = nodes.reduce(function (elementBuffer, elementNode) {\n var element = {};\n var existingId = elementNode.getAttribute('data-sr-id');\n\n if (existingId) {\n deepAssign(element, this$1.store.elements[existingId]);\n /**\n * In order to prevent previously generated styles\n * from throwing off the new styles, the style tag\n * has to be reverted to its pre-reveal state.\n */\n\n element.node.setAttribute('style', element.styles.inline.computed);\n } else {\n element.id = nextUniqueId();\n element.node = elementNode;\n element.seen = false;\n element.revealed = false;\n element.visible = false;\n }\n\n var config = deepAssign({}, element.config || this$1.defaults, options);\n\n if (!config.mobile && isMobile() || !config.desktop && !isMobile()) {\n if (existingId) {\n clean.call(this$1, element);\n }\n\n return elementBuffer; // skip elements that are disabled\n }\n\n var containerNode = $(config.container)[0];\n\n if (!containerNode) {\n throw new Error('Invalid container.');\n }\n\n if (!containerNode.contains(elementNode)) {\n return elementBuffer; // skip elements found outside the container\n }\n\n var containerId;\n {\n containerId = getContainerId(containerNode, containerBuffer, this$1.store.containers);\n\n if (containerId === null) {\n containerId = nextUniqueId();\n containerBuffer.push({\n id: containerId,\n node: containerNode\n });\n }\n }\n element.config = config;\n element.containerId = containerId;\n element.styles = style(element);\n\n if (sequence$$1) {\n element.sequence = {\n id: sequence$$1.id,\n index: sequence$$1.members.length\n };\n sequence$$1.members.push(element.id);\n }\n\n elementBuffer.push(element);\n return elementBuffer;\n }, []);\n /**\n * Modifying the DOM via setAttribute needs to be handled\n * separately from reading computed styles in the map above\n * for the browser to batch DOM changes (limiting reflows)\n */\n\n each(elements, function (element) {\n this$1.store.elements[element.id] = element;\n element.node.setAttribute('data-sr-id', element.id);\n });\n } catch (e) {\n return logger.call(this, 'Reveal failed.', e.message);\n }\n /**\n * Now that element set-up is complete...\n * Let’s commit any container and sequence data we have to the store.\n */\n\n\n each(containerBuffer, function (container) {\n this$1.store.containers[container.id] = {\n id: container.id,\n node: container.node\n };\n });\n\n if (sequence$$1) {\n this.store.sequences[sequence$$1.id] = sequence$$1;\n }\n /**\n * If reveal wasn't invoked by sync, we want to\n * make sure to add this call to the history.\n */\n\n\n if (syncing !== true) {\n this.store.history.push({\n target: target,\n options: options\n });\n /**\n * Push initialization to the event queue, giving\n * multiple reveal calls time to be interpreted.\n */\n\n if (this.initTimeout) {\n window.clearTimeout(this.initTimeout);\n }\n\n this.initTimeout = window.setTimeout(initialize.bind(this), 0);\n }\n}\n\nfunction getContainerId(node) {\n var collections = [],\n len = arguments.length - 1;\n\n while (len-- > 0) {\n collections[len] = arguments[len + 1];\n }\n\n var id = null;\n each(collections, function (collection) {\n each(collection, function (container) {\n if (id === null && container.node === node) {\n id = container.id;\n }\n });\n });\n return id;\n}\n/**\n * Re-runs the reveal method for each record stored in history,\n * for capturing new content asynchronously loaded into the DOM.\n */\n\n\nfunction sync() {\n var this$1 = this;\n each(this.store.history, function (record) {\n reveal.call(this$1, record.target, record.options, true);\n });\n initialize.call(this);\n}\n\nvar polyfill = function polyfill(x) {\n return (x > 0) - (x < 0) || +x;\n};\n\nvar mathSign = Math.sign || polyfill;\n\nfunction getGeometry(target, isContainer) {\n /**\n * We want to ignore padding and scrollbars for container elements.\n * More information here: https://goo.gl/vOZpbz\n */\n var height = isContainer ? target.node.clientHeight : target.node.offsetHeight;\n var width = isContainer ? target.node.clientWidth : target.node.offsetWidth;\n var offsetTop = 0;\n var offsetLeft = 0;\n var node = target.node;\n\n do {\n if (!isNaN(node.offsetTop)) {\n offsetTop += node.offsetTop;\n }\n\n if (!isNaN(node.offsetLeft)) {\n offsetLeft += node.offsetLeft;\n }\n\n node = node.offsetParent;\n } while (node);\n\n return {\n bounds: {\n top: offsetTop,\n right: offsetLeft + width,\n bottom: offsetTop + height,\n left: offsetLeft\n },\n height: height,\n width: width\n };\n}\n\nfunction getScrolled(container) {\n var top, left;\n\n if (container.node === document.documentElement) {\n top = window.pageYOffset;\n left = window.pageXOffset;\n } else {\n top = container.node.scrollTop;\n left = container.node.scrollLeft;\n }\n\n return {\n top: top,\n left: left\n };\n}\n\nfunction isElementVisible(element) {\n if (element === void 0) element = {};\n var container = this.store.containers[element.containerId];\n\n if (!container) {\n return;\n }\n\n var viewFactor = Math.max(0, Math.min(1, element.config.viewFactor));\n var viewOffset = element.config.viewOffset;\n var elementBounds = {\n top: element.geometry.bounds.top + element.geometry.height * viewFactor,\n right: element.geometry.bounds.right - element.geometry.width * viewFactor,\n bottom: element.geometry.bounds.bottom - element.geometry.height * viewFactor,\n left: element.geometry.bounds.left + element.geometry.width * viewFactor\n };\n var containerBounds = {\n top: container.geometry.bounds.top + container.scroll.top + viewOffset.top,\n right: container.geometry.bounds.right + container.scroll.left - viewOffset.right,\n bottom: container.geometry.bounds.bottom + container.scroll.top - viewOffset.bottom,\n left: container.geometry.bounds.left + container.scroll.left + viewOffset.left\n };\n return elementBounds.top < containerBounds.bottom && elementBounds.right > containerBounds.left && elementBounds.bottom > containerBounds.top && elementBounds.left < containerBounds.right || element.styles.position === 'fixed';\n}\n\nfunction delegate(event, elements) {\n var this$1 = this;\n if (event === void 0) event = {\n type: 'init'\n };\n if (elements === void 0) elements = this.store.elements;\n raf(function () {\n var stale = event.type === 'init' || event.type === 'resize';\n each(this$1.store.containers, function (container) {\n if (stale) {\n container.geometry = getGeometry.call(this$1, container, true);\n }\n\n var scroll = getScrolled.call(this$1, container);\n\n if (container.scroll) {\n container.direction = {\n x: mathSign(scroll.left - container.scroll.left),\n y: mathSign(scroll.top - container.scroll.top)\n };\n }\n\n container.scroll = scroll;\n });\n /**\n * Due to how the sequencer is implemented, it’s\n * important that we update the state of all\n * elements, before any animation logic is\n * evaluated (in the second loop below).\n */\n\n each(elements, function (element) {\n if (stale || element.geometry === undefined) {\n element.geometry = getGeometry.call(this$1, element);\n }\n\n element.visible = isElementVisible.call(this$1, element);\n });\n each(elements, function (element) {\n if (element.sequence) {\n sequence.call(this$1, element);\n } else {\n animate.call(this$1, element);\n }\n });\n this$1.pristine = false;\n });\n}\n\nfunction isTransformSupported() {\n var style = document.documentElement.style;\n return 'transform' in style || 'WebkitTransform' in style;\n}\n\nfunction isTransitionSupported() {\n var style = document.documentElement.style;\n return 'transition' in style || 'WebkitTransition' in style;\n}\n\nvar version = \"4.0.7\";\nvar boundDelegate;\nvar boundDestroy;\nvar boundReveal;\nvar boundClean;\nvar boundSync;\nvar config;\nvar debug;\nvar instance;\n\nfunction ScrollReveal(options) {\n if (options === void 0) options = {};\n var invokedWithoutNew = typeof this === 'undefined' || Object.getPrototypeOf(this) !== ScrollReveal.prototype;\n\n if (invokedWithoutNew) {\n return new ScrollReveal(options);\n }\n\n if (!ScrollReveal.isSupported()) {\n logger.call(this, 'Instantiation failed.', 'This browser is not supported.');\n return mount.failure();\n }\n\n var buffer;\n\n try {\n buffer = config ? deepAssign({}, config, options) : deepAssign({}, defaults, options);\n } catch (e) {\n logger.call(this, 'Invalid configuration.', e.message);\n return mount.failure();\n }\n\n try {\n var container = $(buffer.container)[0];\n\n if (!container) {\n throw new Error('Invalid container.');\n }\n } catch (e) {\n logger.call(this, e.message);\n return mount.failure();\n }\n\n config = buffer;\n\n if (!config.mobile && isMobile() || !config.desktop && !isMobile()) {\n logger.call(this, 'This device is disabled.', \"desktop: \" + config.desktop, \"mobile: \" + config.mobile);\n return mount.failure();\n }\n\n mount.success();\n this.store = {\n containers: {},\n elements: {},\n history: [],\n sequences: {}\n };\n this.pristine = true;\n boundDelegate = boundDelegate || delegate.bind(this);\n boundDestroy = boundDestroy || destroy.bind(this);\n boundReveal = boundReveal || reveal.bind(this);\n boundClean = boundClean || clean.bind(this);\n boundSync = boundSync || sync.bind(this);\n Object.defineProperty(this, 'delegate', {\n get: function get() {\n return boundDelegate;\n }\n });\n Object.defineProperty(this, 'destroy', {\n get: function get() {\n return boundDestroy;\n }\n });\n Object.defineProperty(this, 'reveal', {\n get: function get() {\n return boundReveal;\n }\n });\n Object.defineProperty(this, 'clean', {\n get: function get() {\n return boundClean;\n }\n });\n Object.defineProperty(this, 'sync', {\n get: function get() {\n return boundSync;\n }\n });\n Object.defineProperty(this, 'defaults', {\n get: function get() {\n return config;\n }\n });\n Object.defineProperty(this, 'version', {\n get: function get() {\n return version;\n }\n });\n Object.defineProperty(this, 'noop', {\n get: function get() {\n return false;\n }\n });\n return instance ? instance : instance = this;\n}\n\nScrollReveal.isSupported = function () {\n return isTransformSupported() && isTransitionSupported();\n};\n\nObject.defineProperty(ScrollReveal, 'debug', {\n get: function get() {\n return debug || false;\n },\n set: function set(value) {\n return debug = typeof value === 'boolean' ? value : debug;\n }\n});\nScrollReveal();\nexport default ScrollReveal;","import ScrollReveal from 'scrollreveal';\r\n\r\nconst isSSR = typeof window === 'undefined';\r\nconst sr = isSSR ? null : ScrollReveal();\r\n\r\nexport default sr;\r\n","module.exports = __webpack_public_path__ + \"static/Calibre-Regular-e08232148510aade507c2af9bb66acd0.woff\";","function replaceClassName(origClass, classToRemove) {\n return origClass.replace(new RegExp(\"(^|\\\\s)\" + classToRemove + \"(?:\\\\s|$)\", 'g'), '$1').replace(/\\s+/g, ' ').replace(/^\\s*|\\s*$/g, '');\n}\n\nexport default function removeClass(element, className) {\n if (element.classList) {\n element.classList.remove(className);\n } else if (typeof element.className === 'string') {\n ;\n element.className = replaceClassName(element.className, className);\n } else {\n element.setAttribute('class', replaceClassName(element.className && element.className.baseVal || '', className));\n }\n}","export default {\n disabled: false\n};","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport config from './config';\nimport { timeoutsShape } from './utils/PropTypes';\nimport TransitionGroupContext from './TransitionGroupContext';\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 * <Transition in={inProp} timeout={duration}>\n * {state => (\n * <div style={{\n * ...defaultStyle,\n * ...transitionStyles[state]\n * }}>\n * I'm a fade Transition!\n * </div>\n * )}\n * </Transition>\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 * <div>\n * <Transition in={inProp} timeout={500}>\n * {state => (\n * // ...\n * )}\n * </Transition>\n * <button onClick={() => setInProp(true)}>\n * Click to Enter\n * </button>\n * </div>\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 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;\n\n// Name the function so it is clearer in the documentation\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 _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport addOneClass from 'dom-helpers/addClass';\nimport removeOneClass from 'dom-helpers/removeClass';\nimport React from 'react';\nimport Transition from './Transition';\nimport { classNamesShape } from './utils/PropTypes';\n\nvar _addClass = function addClass(node, classes) {\n return node && classes && classes.split(' ').forEach(function (c) {\n return addOneClass(node, c);\n });\n};\n\nvar removeClass = function removeClass(node, classes) {\n return node && classes && classes.split(' ').forEach(function (c) {\n return removeOneClass(node, c);\n });\n};\n/**\n * A transition component inspired by the excellent\n * [ng-animate](https://docs.angularjs.org/api/ngAnimate) library, you should\n * use it if you're using CSS transitions or animations. It's built upon the\n * [`Transition`](https://reactcommunity.org/react-transition-group/transition)\n * component, so it inherits all of its props.\n *\n * `CSSTransition` applies a pair of class names during the `appear`, `enter`,\n * and `exit` states of the transition. The first class is applied and then a\n * second `*-active` class in order to activate the CSS transition. After the\n * transition, matching `*-done` class names are applied to persist the\n * transition state.\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n * <div>\n * <CSSTransition in={inProp} timeout={200} classNames=\"my-node\">\n * <div>\n * {\"I'll receive my-node-* classes\"}\n * </div>\n * </CSSTransition>\n * <button type=\"button\" onClick={() => setInProp(true)}>\n * Click to Enter\n * </button>\n * </div>\n * );\n * }\n * ```\n *\n * When the `in` prop is set to `true`, the child component will first receive\n * the class `example-enter`, then the `example-enter-active` will be added in\n * the next tick. `CSSTransition` [forces a\n * reflow](https://github.com/reactjs/react-transition-group/blob/5007303e729a74be66a21c3e2205e4916821524b/src/CSSTransition.js#L208-L215)\n * between before adding the `example-enter-active`. This is an important trick\n * because it allows us to transition between `example-enter` and\n * `example-enter-active` even though they were added immediately one after\n * another. Most notably, this is what makes it possible for us to animate\n * _appearance_.\n *\n * ```css\n * .my-node-enter {\n * opacity: 0;\n * }\n * .my-node-enter-active {\n * opacity: 1;\n * transition: opacity 200ms;\n * }\n * .my-node-exit {\n * opacity: 1;\n * }\n * .my-node-exit-active {\n * opacity: 0;\n * transition: opacity 200ms;\n * }\n * ```\n *\n * `*-active` classes represent which styles you want to animate **to**, so it's\n * important to add `transition` declaration only to them, otherwise transitions\n * might not behave as intended! This might not be obvious when the transitions\n * are symmetrical, i.e. when `*-enter-active` is the same as `*-exit`, like in\n * the example above (minus `transition`), but it becomes apparent in more\n * complex transitions.\n *\n * **Note**: If you're using the\n * [`appear`](http://reactcommunity.org/react-transition-group/transition#Transition-prop-appear)\n * prop, make sure to define styles for `.appear-*` classes as well.\n */\n\n\nvar CSSTransition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(CSSTransition, _React$Component);\n\n function CSSTransition() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n _this.appliedClasses = {\n appear: {},\n enter: {},\n exit: {}\n };\n\n _this.onEnter = function (maybeNode, maybeAppearing) {\n var _this$resolveArgument = _this.resolveArguments(maybeNode, maybeAppearing),\n node = _this$resolveArgument[0],\n appearing = _this$resolveArgument[1];\n\n _this.removeClasses(node, 'exit');\n\n _this.addClass(node, appearing ? 'appear' : 'enter', 'base');\n\n if (_this.props.onEnter) {\n _this.props.onEnter(maybeNode, maybeAppearing);\n }\n };\n\n _this.onEntering = function (maybeNode, maybeAppearing) {\n var _this$resolveArgument2 = _this.resolveArguments(maybeNode, maybeAppearing),\n node = _this$resolveArgument2[0],\n appearing = _this$resolveArgument2[1];\n\n var type = appearing ? 'appear' : 'enter';\n\n _this.addClass(node, type, 'active');\n\n if (_this.props.onEntering) {\n _this.props.onEntering(maybeNode, maybeAppearing);\n }\n };\n\n _this.onEntered = function (maybeNode, maybeAppearing) {\n var _this$resolveArgument3 = _this.resolveArguments(maybeNode, maybeAppearing),\n node = _this$resolveArgument3[0],\n appearing = _this$resolveArgument3[1];\n\n var type = appearing ? 'appear' : 'enter';\n\n _this.removeClasses(node, type);\n\n _this.addClass(node, type, 'done');\n\n if (_this.props.onEntered) {\n _this.props.onEntered(maybeNode, maybeAppearing);\n }\n };\n\n _this.onExit = function (maybeNode) {\n var _this$resolveArgument4 = _this.resolveArguments(maybeNode),\n node = _this$resolveArgument4[0];\n\n _this.removeClasses(node, 'appear');\n\n _this.removeClasses(node, 'enter');\n\n _this.addClass(node, 'exit', 'base');\n\n if (_this.props.onExit) {\n _this.props.onExit(maybeNode);\n }\n };\n\n _this.onExiting = function (maybeNode) {\n var _this$resolveArgument5 = _this.resolveArguments(maybeNode),\n node = _this$resolveArgument5[0];\n\n _this.addClass(node, 'exit', 'active');\n\n if (_this.props.onExiting) {\n _this.props.onExiting(maybeNode);\n }\n };\n\n _this.onExited = function (maybeNode) {\n var _this$resolveArgument6 = _this.resolveArguments(maybeNode),\n node = _this$resolveArgument6[0];\n\n _this.removeClasses(node, 'exit');\n\n _this.addClass(node, 'exit', 'done');\n\n if (_this.props.onExited) {\n _this.props.onExited(maybeNode);\n }\n };\n\n _this.resolveArguments = function (maybeNode, maybeAppearing) {\n return _this.props.nodeRef ? [_this.props.nodeRef.current, maybeNode] // here `maybeNode` is actually `appearing`\n : [maybeNode, maybeAppearing];\n };\n\n _this.getClassNames = function (type) {\n var classNames = _this.props.classNames;\n var isStringClassNames = typeof classNames === 'string';\n var prefix = isStringClassNames && classNames ? classNames + \"-\" : '';\n var baseClassName = isStringClassNames ? \"\" + prefix + type : classNames[type];\n var activeClassName = isStringClassNames ? baseClassName + \"-active\" : classNames[type + \"Active\"];\n var doneClassName = isStringClassNames ? baseClassName + \"-done\" : classNames[type + \"Done\"];\n return {\n baseClassName: baseClassName,\n activeClassName: activeClassName,\n doneClassName: doneClassName\n };\n };\n\n return _this;\n }\n\n var _proto = CSSTransition.prototype;\n\n _proto.addClass = function addClass(node, type, phase) {\n var className = this.getClassNames(type)[phase + \"ClassName\"];\n\n var _this$getClassNames = this.getClassNames('enter'),\n doneClassName = _this$getClassNames.doneClassName;\n\n if (type === 'appear' && phase === 'done' && doneClassName) {\n className += \" \" + doneClassName;\n } // This is for to force a repaint,\n // which is necessary in order to transition styles when adding a class name.\n\n\n if (phase === 'active') {\n /* eslint-disable no-unused-expressions */\n node && node.scrollTop;\n }\n\n if (className) {\n this.appliedClasses[type][phase] = className;\n\n _addClass(node, className);\n }\n };\n\n _proto.removeClasses = function removeClasses(node, type) {\n var _this$appliedClasses$ = this.appliedClasses[type],\n baseClassName = _this$appliedClasses$.base,\n activeClassName = _this$appliedClasses$.active,\n doneClassName = _this$appliedClasses$.done;\n this.appliedClasses[type] = {};\n\n if (baseClassName) {\n removeClass(node, baseClassName);\n }\n\n if (activeClassName) {\n removeClass(node, activeClassName);\n }\n\n if (doneClassName) {\n removeClass(node, doneClassName);\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n _ = _this$props.classNames,\n props = _objectWithoutPropertiesLoose(_this$props, [\"classNames\"]);\n\n return /*#__PURE__*/React.createElement(Transition, _extends({}, props, {\n onEnter: this.onEnter,\n onEntered: this.onEntered,\n onEntering: this.onEntering,\n onExit: this.onExit,\n onExiting: this.onExiting,\n onExited: this.onExited\n }));\n };\n\n return CSSTransition;\n}(React.Component);\n\nCSSTransition.defaultProps = {\n classNames: ''\n};\nexport default CSSTransition;","import hasClass from './hasClass';\nexport default function addClass(element, className) {\n if (element.classList) element.classList.add(className);else if (!hasClass(element, className)) if (typeof element.className === 'string') element.className = element.className + \" \" + className;else element.setAttribute('class', (element.className && element.className.baseVal || '') + \" \" + className);\n}","export default function hasClass(element, className) {\n if (element.classList) return !!className && element.classList.contains(className);\n return (\" \" + (element.className.baseVal || element.className) + \" \").indexOf(\" \" + className + \" \") !== -1;\n}","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';\n\nvar b = \"function\" === typeof Symbol && Symbol.for,\n c = b ? Symbol.for(\"react.element\") : 60103,\n d = b ? Symbol.for(\"react.portal\") : 60106,\n e = b ? Symbol.for(\"react.fragment\") : 60107,\n f = b ? Symbol.for(\"react.strict_mode\") : 60108,\n g = b ? Symbol.for(\"react.profiler\") : 60114,\n h = b ? Symbol.for(\"react.provider\") : 60109,\n k = b ? Symbol.for(\"react.context\") : 60110,\n l = b ? Symbol.for(\"react.async_mode\") : 60111,\n m = b ? Symbol.for(\"react.concurrent_mode\") : 60111,\n n = b ? Symbol.for(\"react.forward_ref\") : 60112,\n p = b ? Symbol.for(\"react.suspense\") : 60113,\n q = b ? Symbol.for(\"react.suspense_list\") : 60120,\n r = b ? Symbol.for(\"react.memo\") : 60115,\n t = b ? Symbol.for(\"react.lazy\") : 60116,\n v = b ? Symbol.for(\"react.block\") : 60121,\n w = b ? Symbol.for(\"react.fundamental\") : 60117,\n x = b ? Symbol.for(\"react.responder\") : 60118,\n y = b ? Symbol.for(\"react.scope\") : 60119;\n\nfunction z(a) {\n if (\"object\" === typeof a && null !== a) {\n var u = a.$$typeof;\n\n switch (u) {\n case c:\n switch (a = a.type, a) {\n case l:\n case m:\n case e:\n case g:\n case f:\n case p:\n return a;\n\n default:\n switch (a = a && a.$$typeof, a) {\n case k:\n case n:\n case t:\n case r:\n case h:\n return a;\n\n default:\n return u;\n }\n\n }\n\n case d:\n return u;\n }\n }\n}\n\nfunction A(a) {\n return z(a) === m;\n}\n\nexports.AsyncMode = l;\nexports.ConcurrentMode = m;\nexports.ContextConsumer = k;\nexports.ContextProvider = h;\nexports.Element = c;\nexports.ForwardRef = n;\nexports.Fragment = e;\nexports.Lazy = t;\nexports.Memo = r;\nexports.Portal = d;\nexports.Profiler = g;\nexports.StrictMode = f;\nexports.Suspense = p;\n\nexports.isAsyncMode = function (a) {\n return A(a) || z(a) === l;\n};\n\nexports.isConcurrentMode = A;\n\nexports.isContextConsumer = function (a) {\n return z(a) === k;\n};\n\nexports.isContextProvider = function (a) {\n return z(a) === h;\n};\n\nexports.isElement = function (a) {\n return \"object\" === typeof a && null !== a && a.$$typeof === c;\n};\n\nexports.isForwardRef = function (a) {\n return z(a) === n;\n};\n\nexports.isFragment = function (a) {\n return z(a) === e;\n};\n\nexports.isLazy = function (a) {\n return z(a) === t;\n};\n\nexports.isMemo = function (a) {\n return z(a) === r;\n};\n\nexports.isPortal = function (a) {\n return z(a) === d;\n};\n\nexports.isProfiler = function (a) {\n return z(a) === g;\n};\n\nexports.isStrictMode = function (a) {\n return z(a) === f;\n};\n\nexports.isSuspense = function (a) {\n return z(a) === p;\n};\n\nexports.isValidElementType = function (a) {\n return \"string\" === typeof a || \"function\" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || \"object\" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);\n};\n\nexports.typeOf = z;","import PropTypes from 'prop-types';\nimport withSideEffect from 'react-side-effect';\nimport isEqual from 'react-fast-compare';\nimport React from 'react';\nimport objectAssign from 'object-assign';\nvar ATTRIBUTE_NAMES = {\n BODY: \"bodyAttributes\",\n HTML: \"htmlAttributes\",\n TITLE: \"titleAttributes\"\n};\nvar TAG_NAMES = {\n BASE: \"base\",\n BODY: \"body\",\n HEAD: \"head\",\n HTML: \"html\",\n LINK: \"link\",\n META: \"meta\",\n NOSCRIPT: \"noscript\",\n SCRIPT: \"script\",\n STYLE: \"style\",\n TITLE: \"title\"\n};\nvar VALID_TAG_NAMES = Object.keys(TAG_NAMES).map(function (name) {\n return TAG_NAMES[name];\n});\nvar TAG_PROPERTIES = {\n CHARSET: \"charset\",\n CSS_TEXT: \"cssText\",\n HREF: \"href\",\n HTTPEQUIV: \"http-equiv\",\n INNER_HTML: \"innerHTML\",\n ITEM_PROP: \"itemprop\",\n NAME: \"name\",\n PROPERTY: \"property\",\n REL: \"rel\",\n SRC: \"src\",\n TARGET: \"target\"\n};\nvar REACT_TAG_MAP = {\n accesskey: \"accessKey\",\n charset: \"charSet\",\n class: \"className\",\n contenteditable: \"contentEditable\",\n contextmenu: \"contextMenu\",\n \"http-equiv\": \"httpEquiv\",\n itemprop: \"itemProp\",\n tabindex: \"tabIndex\"\n};\nvar HELMET_PROPS = {\n DEFAULT_TITLE: \"defaultTitle\",\n DEFER: \"defer\",\n ENCODE_SPECIAL_CHARACTERS: \"encodeSpecialCharacters\",\n ON_CHANGE_CLIENT_STATE: \"onChangeClientState\",\n TITLE_TEMPLATE: \"titleTemplate\"\n};\nvar HTML_TAG_MAP = Object.keys(REACT_TAG_MAP).reduce(function (obj, key) {\n obj[REACT_TAG_MAP[key]] = key;\n return obj;\n}, {});\nvar SELF_CLOSING_TAGS = [TAG_NAMES.NOSCRIPT, TAG_NAMES.SCRIPT, TAG_NAMES.STYLE];\nvar HELMET_ATTRIBUTE = \"data-react-helmet\";\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n};\n\nvar classCallCheck = function classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\nvar createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n};\n\nvar inherits = function inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n};\n\nvar objectWithoutProperties = function objectWithoutProperties(obj, keys) {\n var target = {};\n\n for (var i in obj) {\n if (keys.indexOf(i) >= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n\n return target;\n};\n\nvar possibleConstructorReturn = function possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n};\n\nvar encodeSpecialCharacters = function encodeSpecialCharacters(str) {\n var encode = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\n if (encode === false) {\n return String(str);\n }\n\n return String(str).replace(/&/g, \"&\").replace(/</g, \"<\").replace(/>/g, \">\").replace(/\"/g, \""\").replace(/'/g, \"'\");\n};\n\nvar getTitleFromPropsList = function getTitleFromPropsList(propsList) {\n var innermostTitle = getInnermostProperty(propsList, TAG_NAMES.TITLE);\n var innermostTemplate = getInnermostProperty(propsList, HELMET_PROPS.TITLE_TEMPLATE);\n\n if (innermostTemplate && innermostTitle) {\n // use function arg to avoid need to escape $ characters\n return innermostTemplate.replace(/%s/g, function () {\n return Array.isArray(innermostTitle) ? innermostTitle.join(\"\") : innermostTitle;\n });\n }\n\n var innermostDefaultTitle = getInnermostProperty(propsList, HELMET_PROPS.DEFAULT_TITLE);\n return innermostTitle || innermostDefaultTitle || undefined;\n};\n\nvar getOnChangeClientState = function getOnChangeClientState(propsList) {\n return getInnermostProperty(propsList, HELMET_PROPS.ON_CHANGE_CLIENT_STATE) || function () {};\n};\n\nvar getAttributesFromPropsList = function getAttributesFromPropsList(tagType, propsList) {\n return propsList.filter(function (props) {\n return typeof props[tagType] !== \"undefined\";\n }).map(function (props) {\n return props[tagType];\n }).reduce(function (tagAttrs, current) {\n return _extends({}, tagAttrs, current);\n }, {});\n};\n\nvar getBaseTagFromPropsList = function getBaseTagFromPropsList(primaryAttributes, propsList) {\n return propsList.filter(function (props) {\n return typeof props[TAG_NAMES.BASE] !== \"undefined\";\n }).map(function (props) {\n return props[TAG_NAMES.BASE];\n }).reverse().reduce(function (innermostBaseTag, tag) {\n if (!innermostBaseTag.length) {\n var keys = Object.keys(tag);\n\n for (var i = 0; i < keys.length; i++) {\n var attributeKey = keys[i];\n var lowerCaseAttributeKey = attributeKey.toLowerCase();\n\n if (primaryAttributes.indexOf(lowerCaseAttributeKey) !== -1 && tag[lowerCaseAttributeKey]) {\n return innermostBaseTag.concat(tag);\n }\n }\n }\n\n return innermostBaseTag;\n }, []);\n};\n\nvar getTagsFromPropsList = function getTagsFromPropsList(tagName, primaryAttributes, propsList) {\n // Calculate list of tags, giving priority innermost component (end of the propslist)\n var approvedSeenTags = {};\n return propsList.filter(function (props) {\n if (Array.isArray(props[tagName])) {\n return true;\n }\n\n if (typeof props[tagName] !== \"undefined\") {\n warn(\"Helmet: \" + tagName + \" should be of type \\\"Array\\\". Instead found type \\\"\" + _typeof(props[tagName]) + \"\\\"\");\n }\n\n return false;\n }).map(function (props) {\n return props[tagName];\n }).reverse().reduce(function (approvedTags, instanceTags) {\n var instanceSeenTags = {};\n instanceTags.filter(function (tag) {\n var primaryAttributeKey = void 0;\n var keys = Object.keys(tag);\n\n for (var i = 0; i < keys.length; i++) {\n var attributeKey = keys[i];\n var lowerCaseAttributeKey = attributeKey.toLowerCase(); // Special rule with link tags, since rel and href are both primary tags, rel takes priority\n\n if (primaryAttributes.indexOf(lowerCaseAttributeKey) !== -1 && !(primaryAttributeKey === TAG_PROPERTIES.REL && tag[primaryAttributeKey].toLowerCase() === \"canonical\") && !(lowerCaseAttributeKey === TAG_PROPERTIES.REL && tag[lowerCaseAttributeKey].toLowerCase() === \"stylesheet\")) {\n primaryAttributeKey = lowerCaseAttributeKey;\n } // Special case for innerHTML which doesn't work lowercased\n\n\n if (primaryAttributes.indexOf(attributeKey) !== -1 && (attributeKey === TAG_PROPERTIES.INNER_HTML || attributeKey === TAG_PROPERTIES.CSS_TEXT || attributeKey === TAG_PROPERTIES.ITEM_PROP)) {\n primaryAttributeKey = attributeKey;\n }\n }\n\n if (!primaryAttributeKey || !tag[primaryAttributeKey]) {\n return false;\n }\n\n var value = tag[primaryAttributeKey].toLowerCase();\n\n if (!approvedSeenTags[primaryAttributeKey]) {\n approvedSeenTags[primaryAttributeKey] = {};\n }\n\n if (!instanceSeenTags[primaryAttributeKey]) {\n instanceSeenTags[primaryAttributeKey] = {};\n }\n\n if (!approvedSeenTags[primaryAttributeKey][value]) {\n instanceSeenTags[primaryAttributeKey][value] = true;\n return true;\n }\n\n return false;\n }).reverse().forEach(function (tag) {\n return approvedTags.push(tag);\n }); // Update seen tags with tags from this instance\n\n var keys = Object.keys(instanceSeenTags);\n\n for (var i = 0; i < keys.length; i++) {\n var attributeKey = keys[i];\n var tagUnion = objectAssign({}, approvedSeenTags[attributeKey], instanceSeenTags[attributeKey]);\n approvedSeenTags[attributeKey] = tagUnion;\n }\n\n return approvedTags;\n }, []).reverse();\n};\n\nvar getInnermostProperty = function getInnermostProperty(propsList, property) {\n for (var i = propsList.length - 1; i >= 0; i--) {\n var props = propsList[i];\n\n if (props.hasOwnProperty(property)) {\n return props[property];\n }\n }\n\n return null;\n};\n\nvar reducePropsToState = function reducePropsToState(propsList) {\n return {\n baseTag: getBaseTagFromPropsList([TAG_PROPERTIES.HREF, TAG_PROPERTIES.TARGET], propsList),\n bodyAttributes: getAttributesFromPropsList(ATTRIBUTE_NAMES.BODY, propsList),\n defer: getInnermostProperty(propsList, HELMET_PROPS.DEFER),\n encode: getInnermostProperty(propsList, HELMET_PROPS.ENCODE_SPECIAL_CHARACTERS),\n htmlAttributes: getAttributesFromPropsList(ATTRIBUTE_NAMES.HTML, propsList),\n linkTags: getTagsFromPropsList(TAG_NAMES.LINK, [TAG_PROPERTIES.REL, TAG_PROPERTIES.HREF], propsList),\n metaTags: getTagsFromPropsList(TAG_NAMES.META, [TAG_PROPERTIES.NAME, TAG_PROPERTIES.CHARSET, TAG_PROPERTIES.HTTPEQUIV, TAG_PROPERTIES.PROPERTY, TAG_PROPERTIES.ITEM_PROP], propsList),\n noscriptTags: getTagsFromPropsList(TAG_NAMES.NOSCRIPT, [TAG_PROPERTIES.INNER_HTML], propsList),\n onChangeClientState: getOnChangeClientState(propsList),\n scriptTags: getTagsFromPropsList(TAG_NAMES.SCRIPT, [TAG_PROPERTIES.SRC, TAG_PROPERTIES.INNER_HTML], propsList),\n styleTags: getTagsFromPropsList(TAG_NAMES.STYLE, [TAG_PROPERTIES.CSS_TEXT], propsList),\n title: getTitleFromPropsList(propsList),\n titleAttributes: getAttributesFromPropsList(ATTRIBUTE_NAMES.TITLE, propsList)\n };\n};\n\nvar rafPolyfill = function () {\n var clock = Date.now();\n return function (callback) {\n var currentTime = Date.now();\n\n if (currentTime - clock > 16) {\n clock = currentTime;\n callback(currentTime);\n } else {\n setTimeout(function () {\n rafPolyfill(callback);\n }, 0);\n }\n };\n}();\n\nvar cafPolyfill = function cafPolyfill(id) {\n return clearTimeout(id);\n};\n\nvar requestAnimationFrame = typeof window !== \"undefined\" ? window.requestAnimationFrame && window.requestAnimationFrame.bind(window) || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || rafPolyfill : global.requestAnimationFrame || rafPolyfill;\nvar cancelAnimationFrame = typeof window !== \"undefined\" ? window.cancelAnimationFrame || window.webkitCancelAnimationFrame || window.mozCancelAnimationFrame || cafPolyfill : global.cancelAnimationFrame || cafPolyfill;\n\nvar warn = function warn(msg) {\n return console && typeof console.warn === \"function\" && console.warn(msg);\n};\n\nvar _helmetCallback = null;\n\nvar handleClientStateChange = function handleClientStateChange(newState) {\n if (_helmetCallback) {\n cancelAnimationFrame(_helmetCallback);\n }\n\n if (newState.defer) {\n _helmetCallback = requestAnimationFrame(function () {\n commitTagChanges(newState, function () {\n _helmetCallback = null;\n });\n });\n } else {\n commitTagChanges(newState);\n _helmetCallback = null;\n }\n};\n\nvar commitTagChanges = function commitTagChanges(newState, cb) {\n var baseTag = newState.baseTag,\n bodyAttributes = newState.bodyAttributes,\n htmlAttributes = newState.htmlAttributes,\n linkTags = newState.linkTags,\n metaTags = newState.metaTags,\n noscriptTags = newState.noscriptTags,\n onChangeClientState = newState.onChangeClientState,\n scriptTags = newState.scriptTags,\n styleTags = newState.styleTags,\n title = newState.title,\n titleAttributes = newState.titleAttributes;\n updateAttributes(TAG_NAMES.BODY, bodyAttributes);\n updateAttributes(TAG_NAMES.HTML, htmlAttributes);\n updateTitle(title, titleAttributes);\n var tagUpdates = {\n baseTag: updateTags(TAG_NAMES.BASE, baseTag),\n linkTags: updateTags(TAG_NAMES.LINK, linkTags),\n metaTags: updateTags(TAG_NAMES.META, metaTags),\n noscriptTags: updateTags(TAG_NAMES.NOSCRIPT, noscriptTags),\n scriptTags: updateTags(TAG_NAMES.SCRIPT, scriptTags),\n styleTags: updateTags(TAG_NAMES.STYLE, styleTags)\n };\n var addedTags = {};\n var removedTags = {};\n Object.keys(tagUpdates).forEach(function (tagType) {\n var _tagUpdates$tagType = tagUpdates[tagType],\n newTags = _tagUpdates$tagType.newTags,\n oldTags = _tagUpdates$tagType.oldTags;\n\n if (newTags.length) {\n addedTags[tagType] = newTags;\n }\n\n if (oldTags.length) {\n removedTags[tagType] = tagUpdates[tagType].oldTags;\n }\n });\n cb && cb();\n onChangeClientState(newState, addedTags, removedTags);\n};\n\nvar flattenArray = function flattenArray(possibleArray) {\n return Array.isArray(possibleArray) ? possibleArray.join(\"\") : possibleArray;\n};\n\nvar updateTitle = function updateTitle(title, attributes) {\n if (typeof title !== \"undefined\" && document.title !== title) {\n document.title = flattenArray(title);\n }\n\n updateAttributes(TAG_NAMES.TITLE, attributes);\n};\n\nvar updateAttributes = function updateAttributes(tagName, attributes) {\n var elementTag = document.getElementsByTagName(tagName)[0];\n\n if (!elementTag) {\n return;\n }\n\n var helmetAttributeString = elementTag.getAttribute(HELMET_ATTRIBUTE);\n var helmetAttributes = helmetAttributeString ? helmetAttributeString.split(\",\") : [];\n var attributesToRemove = [].concat(helmetAttributes);\n var attributeKeys = Object.keys(attributes);\n\n for (var i = 0; i < attributeKeys.length; i++) {\n var attribute = attributeKeys[i];\n var value = attributes[attribute] || \"\";\n\n if (elementTag.getAttribute(attribute) !== value) {\n elementTag.setAttribute(attribute, value);\n }\n\n if (helmetAttributes.indexOf(attribute) === -1) {\n helmetAttributes.push(attribute);\n }\n\n var indexToSave = attributesToRemove.indexOf(attribute);\n\n if (indexToSave !== -1) {\n attributesToRemove.splice(indexToSave, 1);\n }\n }\n\n for (var _i = attributesToRemove.length - 1; _i >= 0; _i--) {\n elementTag.removeAttribute(attributesToRemove[_i]);\n }\n\n if (helmetAttributes.length === attributesToRemove.length) {\n elementTag.removeAttribute(HELMET_ATTRIBUTE);\n } else if (elementTag.getAttribute(HELMET_ATTRIBUTE) !== attributeKeys.join(\",\")) {\n elementTag.setAttribute(HELMET_ATTRIBUTE, attributeKeys.join(\",\"));\n }\n};\n\nvar updateTags = function updateTags(type, tags) {\n var headElement = document.head || document.querySelector(TAG_NAMES.HEAD);\n var tagNodes = headElement.querySelectorAll(type + \"[\" + HELMET_ATTRIBUTE + \"]\");\n var oldTags = Array.prototype.slice.call(tagNodes);\n var newTags = [];\n var indexToDelete = void 0;\n\n if (tags && tags.length) {\n tags.forEach(function (tag) {\n var newElement = document.createElement(type);\n\n for (var attribute in tag) {\n if (tag.hasOwnProperty(attribute)) {\n if (attribute === TAG_PROPERTIES.INNER_HTML) {\n newElement.innerHTML = tag.innerHTML;\n } else if (attribute === TAG_PROPERTIES.CSS_TEXT) {\n if (newElement.styleSheet) {\n newElement.styleSheet.cssText = tag.cssText;\n } else {\n newElement.appendChild(document.createTextNode(tag.cssText));\n }\n } else {\n var value = typeof tag[attribute] === \"undefined\" ? \"\" : tag[attribute];\n newElement.setAttribute(attribute, value);\n }\n }\n }\n\n newElement.setAttribute(HELMET_ATTRIBUTE, \"true\"); // Remove a duplicate tag from domTagstoRemove, so it isn't cleared.\n\n if (oldTags.some(function (existingTag, index) {\n indexToDelete = index;\n return newElement.isEqualNode(existingTag);\n })) {\n oldTags.splice(indexToDelete, 1);\n } else {\n newTags.push(newElement);\n }\n });\n }\n\n oldTags.forEach(function (tag) {\n return tag.parentNode.removeChild(tag);\n });\n newTags.forEach(function (tag) {\n return headElement.appendChild(tag);\n });\n return {\n oldTags: oldTags,\n newTags: newTags\n };\n};\n\nvar generateElementAttributesAsString = function generateElementAttributesAsString(attributes) {\n return Object.keys(attributes).reduce(function (str, key) {\n var attr = typeof attributes[key] !== \"undefined\" ? key + \"=\\\"\" + attributes[key] + \"\\\"\" : \"\" + key;\n return str ? str + \" \" + attr : attr;\n }, \"\");\n};\n\nvar generateTitleAsString = function generateTitleAsString(type, title, attributes, encode) {\n var attributeString = generateElementAttributesAsString(attributes);\n var flattenedTitle = flattenArray(title);\n return attributeString ? \"<\" + type + \" \" + HELMET_ATTRIBUTE + \"=\\\"true\\\" \" + attributeString + \">\" + encodeSpecialCharacters(flattenedTitle, encode) + \"</\" + type + \">\" : \"<\" + type + \" \" + HELMET_ATTRIBUTE + \"=\\\"true\\\">\" + encodeSpecialCharacters(flattenedTitle, encode) + \"</\" + type + \">\";\n};\n\nvar generateTagsAsString = function generateTagsAsString(type, tags, encode) {\n return tags.reduce(function (str, tag) {\n var attributeHtml = Object.keys(tag).filter(function (attribute) {\n return !(attribute === TAG_PROPERTIES.INNER_HTML || attribute === TAG_PROPERTIES.CSS_TEXT);\n }).reduce(function (string, attribute) {\n var attr = typeof tag[attribute] === \"undefined\" ? attribute : attribute + \"=\\\"\" + encodeSpecialCharacters(tag[attribute], encode) + \"\\\"\";\n return string ? string + \" \" + attr : attr;\n }, \"\");\n var tagContent = tag.innerHTML || tag.cssText || \"\";\n var isSelfClosing = SELF_CLOSING_TAGS.indexOf(type) === -1;\n return str + \"<\" + type + \" \" + HELMET_ATTRIBUTE + \"=\\\"true\\\" \" + attributeHtml + (isSelfClosing ? \"/>\" : \">\" + tagContent + \"</\" + type + \">\");\n }, \"\");\n};\n\nvar convertElementAttributestoReactProps = function convertElementAttributestoReactProps(attributes) {\n var initProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return Object.keys(attributes).reduce(function (obj, key) {\n obj[REACT_TAG_MAP[key] || key] = attributes[key];\n return obj;\n }, initProps);\n};\n\nvar convertReactPropstoHtmlAttributes = function convertReactPropstoHtmlAttributes(props) {\n var initAttributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return Object.keys(props).reduce(function (obj, key) {\n obj[HTML_TAG_MAP[key] || key] = props[key];\n return obj;\n }, initAttributes);\n};\n\nvar generateTitleAsReactComponent = function generateTitleAsReactComponent(type, title, attributes) {\n var _initProps; // assigning into an array to define toString function on it\n\n\n var initProps = (_initProps = {\n key: title\n }, _initProps[HELMET_ATTRIBUTE] = true, _initProps);\n var props = convertElementAttributestoReactProps(attributes, initProps);\n return [React.createElement(TAG_NAMES.TITLE, props, title)];\n};\n\nvar generateTagsAsReactComponent = function generateTagsAsReactComponent(type, tags) {\n return tags.map(function (tag, i) {\n var _mappedTag;\n\n var mappedTag = (_mappedTag = {\n key: i\n }, _mappedTag[HELMET_ATTRIBUTE] = true, _mappedTag);\n Object.keys(tag).forEach(function (attribute) {\n var mappedAttribute = REACT_TAG_MAP[attribute] || attribute;\n\n if (mappedAttribute === TAG_PROPERTIES.INNER_HTML || mappedAttribute === TAG_PROPERTIES.CSS_TEXT) {\n var content = tag.innerHTML || tag.cssText;\n mappedTag.dangerouslySetInnerHTML = {\n __html: content\n };\n } else {\n mappedTag[mappedAttribute] = tag[attribute];\n }\n });\n return React.createElement(type, mappedTag);\n });\n};\n\nvar getMethodsForTag = function getMethodsForTag(type, tags, encode) {\n switch (type) {\n case TAG_NAMES.TITLE:\n return {\n toComponent: function toComponent() {\n return generateTitleAsReactComponent(type, tags.title, tags.titleAttributes, encode);\n },\n toString: function toString() {\n return generateTitleAsString(type, tags.title, tags.titleAttributes, encode);\n }\n };\n\n case ATTRIBUTE_NAMES.BODY:\n case ATTRIBUTE_NAMES.HTML:\n return {\n toComponent: function toComponent() {\n return convertElementAttributestoReactProps(tags);\n },\n toString: function toString() {\n return generateElementAttributesAsString(tags);\n }\n };\n\n default:\n return {\n toComponent: function toComponent() {\n return generateTagsAsReactComponent(type, tags);\n },\n toString: function toString() {\n return generateTagsAsString(type, tags, encode);\n }\n };\n }\n};\n\nvar mapStateOnServer = function mapStateOnServer(_ref) {\n var baseTag = _ref.baseTag,\n bodyAttributes = _ref.bodyAttributes,\n encode = _ref.encode,\n htmlAttributes = _ref.htmlAttributes,\n linkTags = _ref.linkTags,\n metaTags = _ref.metaTags,\n noscriptTags = _ref.noscriptTags,\n scriptTags = _ref.scriptTags,\n styleTags = _ref.styleTags,\n _ref$title = _ref.title,\n title = _ref$title === undefined ? \"\" : _ref$title,\n titleAttributes = _ref.titleAttributes;\n return {\n base: getMethodsForTag(TAG_NAMES.BASE, baseTag, encode),\n bodyAttributes: getMethodsForTag(ATTRIBUTE_NAMES.BODY, bodyAttributes, encode),\n htmlAttributes: getMethodsForTag(ATTRIBUTE_NAMES.HTML, htmlAttributes, encode),\n link: getMethodsForTag(TAG_NAMES.LINK, linkTags, encode),\n meta: getMethodsForTag(TAG_NAMES.META, metaTags, encode),\n noscript: getMethodsForTag(TAG_NAMES.NOSCRIPT, noscriptTags, encode),\n script: getMethodsForTag(TAG_NAMES.SCRIPT, scriptTags, encode),\n style: getMethodsForTag(TAG_NAMES.STYLE, styleTags, encode),\n title: getMethodsForTag(TAG_NAMES.TITLE, {\n title: title,\n titleAttributes: titleAttributes\n }, encode)\n };\n};\n\nvar Helmet = function Helmet(Component) {\n var _class, _temp;\n\n return _temp = _class = function (_React$Component) {\n inherits(HelmetWrapper, _React$Component);\n\n function HelmetWrapper() {\n classCallCheck(this, HelmetWrapper);\n return possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n }\n\n HelmetWrapper.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps) {\n return !isEqual(this.props, nextProps);\n };\n\n HelmetWrapper.prototype.mapNestedChildrenToProps = function mapNestedChildrenToProps(child, nestedChildren) {\n if (!nestedChildren) {\n return null;\n }\n\n switch (child.type) {\n case TAG_NAMES.SCRIPT:\n case TAG_NAMES.NOSCRIPT:\n return {\n innerHTML: nestedChildren\n };\n\n case TAG_NAMES.STYLE:\n return {\n cssText: nestedChildren\n };\n }\n\n throw new Error(\"<\" + child.type + \" /> elements are self-closing and can not contain children. Refer to our API for more information.\");\n };\n\n HelmetWrapper.prototype.flattenArrayTypeChildren = function flattenArrayTypeChildren(_ref) {\n var _babelHelpers$extends;\n\n var child = _ref.child,\n arrayTypeChildren = _ref.arrayTypeChildren,\n newChildProps = _ref.newChildProps,\n nestedChildren = _ref.nestedChildren;\n return _extends({}, arrayTypeChildren, (_babelHelpers$extends = {}, _babelHelpers$extends[child.type] = [].concat(arrayTypeChildren[child.type] || [], [_extends({}, newChildProps, this.mapNestedChildrenToProps(child, nestedChildren))]), _babelHelpers$extends));\n };\n\n HelmetWrapper.prototype.mapObjectTypeChildren = function mapObjectTypeChildren(_ref2) {\n var _babelHelpers$extends2, _babelHelpers$extends3;\n\n var child = _ref2.child,\n newProps = _ref2.newProps,\n newChildProps = _ref2.newChildProps,\n nestedChildren = _ref2.nestedChildren;\n\n switch (child.type) {\n case TAG_NAMES.TITLE:\n return _extends({}, newProps, (_babelHelpers$extends2 = {}, _babelHelpers$extends2[child.type] = nestedChildren, _babelHelpers$extends2.titleAttributes = _extends({}, newChildProps), _babelHelpers$extends2));\n\n case TAG_NAMES.BODY:\n return _extends({}, newProps, {\n bodyAttributes: _extends({}, newChildProps)\n });\n\n case TAG_NAMES.HTML:\n return _extends({}, newProps, {\n htmlAttributes: _extends({}, newChildProps)\n });\n }\n\n return _extends({}, newProps, (_babelHelpers$extends3 = {}, _babelHelpers$extends3[child.type] = _extends({}, newChildProps), _babelHelpers$extends3));\n };\n\n HelmetWrapper.prototype.mapArrayTypeChildrenToProps = function mapArrayTypeChildrenToProps(arrayTypeChildren, newProps) {\n var newFlattenedProps = _extends({}, newProps);\n\n Object.keys(arrayTypeChildren).forEach(function (arrayChildName) {\n var _babelHelpers$extends4;\n\n newFlattenedProps = _extends({}, newFlattenedProps, (_babelHelpers$extends4 = {}, _babelHelpers$extends4[arrayChildName] = arrayTypeChildren[arrayChildName], _babelHelpers$extends4));\n });\n return newFlattenedProps;\n };\n\n HelmetWrapper.prototype.warnOnInvalidChildren = function warnOnInvalidChildren(child, nestedChildren) {\n if (process.env.NODE_ENV !== \"production\") {\n if (!VALID_TAG_NAMES.some(function (name) {\n return child.type === name;\n })) {\n if (typeof child.type === \"function\") {\n return warn(\"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.\");\n }\n\n return warn(\"Only elements types \" + VALID_TAG_NAMES.join(\", \") + \" are allowed. Helmet does not support rendering <\" + child.type + \"> elements. Refer to our API for more information.\");\n }\n\n if (nestedChildren && typeof nestedChildren !== \"string\" && (!Array.isArray(nestedChildren) || nestedChildren.some(function (nestedChild) {\n return typeof nestedChild !== \"string\";\n }))) {\n throw new Error(\"Helmet expects a string as a child of <\" + child.type + \">. Did you forget to wrap your children in braces? ( <\" + child.type + \">{``}</\" + child.type + \"> ) Refer to our API for more information.\");\n }\n }\n\n return true;\n };\n\n HelmetWrapper.prototype.mapChildrenToProps = function mapChildrenToProps(children, newProps) {\n var _this2 = this;\n\n var arrayTypeChildren = {};\n React.Children.forEach(children, function (child) {\n if (!child || !child.props) {\n return;\n }\n\n var _child$props = child.props,\n nestedChildren = _child$props.children,\n childProps = objectWithoutProperties(_child$props, [\"children\"]);\n var newChildProps = convertReactPropstoHtmlAttributes(childProps);\n\n _this2.warnOnInvalidChildren(child, nestedChildren);\n\n switch (child.type) {\n case TAG_NAMES.LINK:\n case TAG_NAMES.META:\n case TAG_NAMES.NOSCRIPT:\n case TAG_NAMES.SCRIPT:\n case TAG_NAMES.STYLE:\n arrayTypeChildren = _this2.flattenArrayTypeChildren({\n child: child,\n arrayTypeChildren: arrayTypeChildren,\n newChildProps: newChildProps,\n nestedChildren: nestedChildren\n });\n break;\n\n default:\n newProps = _this2.mapObjectTypeChildren({\n child: child,\n newProps: newProps,\n newChildProps: newChildProps,\n nestedChildren: nestedChildren\n });\n break;\n }\n });\n newProps = this.mapArrayTypeChildrenToProps(arrayTypeChildren, newProps);\n return newProps;\n };\n\n HelmetWrapper.prototype.render = function render() {\n var _props = this.props,\n children = _props.children,\n props = objectWithoutProperties(_props, [\"children\"]);\n\n var newProps = _extends({}, props);\n\n if (children) {\n newProps = this.mapChildrenToProps(children, newProps);\n }\n\n return React.createElement(Component, newProps);\n };\n\n createClass(HelmetWrapper, null, [{\n key: \"canUseDOM\",\n // Component.peek comes from react-side-effect:\n // For testing, you may use a static peek() method available on the returned component.\n // It lets you get the current state without resetting the mounted instance stack.\n // Don’t use it for anything other than testing.\n\n /**\n * @param {Object} base: {\"target\": \"_blank\", \"href\": \"http://mysite.com/\"}\n * @param {Object} bodyAttributes: {\"className\": \"root\"}\n * @param {String} defaultTitle: \"Default Title\"\n * @param {Boolean} defer: true\n * @param {Boolean} encodeSpecialCharacters: true\n * @param {Object} htmlAttributes: {\"lang\": \"en\", \"amp\": undefined}\n * @param {Array} link: [{\"rel\": \"canonical\", \"href\": \"http://mysite.com/example\"}]\n * @param {Array} meta: [{\"name\": \"description\", \"content\": \"Test description\"}]\n * @param {Array} noscript: [{\"innerHTML\": \"<img src='http://mysite.com/js/test.js'\"}]\n * @param {Function} onChangeClientState: \"(newState) => console.log(newState)\"\n * @param {Array} script: [{\"type\": \"text/javascript\", \"src\": \"http://mysite.com/js/test.js\"}]\n * @param {Array} style: [{\"type\": \"text/css\", \"cssText\": \"div { display: block; color: blue; }\"}]\n * @param {String} title: \"Title\"\n * @param {Object} titleAttributes: {\"itemprop\": \"name\"}\n * @param {String} titleTemplate: \"MySite.com - %s\"\n */\n set: function set$$1(canUseDOM) {\n Component.canUseDOM = canUseDOM;\n }\n }]);\n return HelmetWrapper;\n }(React.Component), _class.propTypes = {\n base: PropTypes.object,\n bodyAttributes: PropTypes.object,\n children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]),\n defaultTitle: PropTypes.string,\n defer: PropTypes.bool,\n encodeSpecialCharacters: PropTypes.bool,\n htmlAttributes: PropTypes.object,\n link: PropTypes.arrayOf(PropTypes.object),\n meta: PropTypes.arrayOf(PropTypes.object),\n noscript: PropTypes.arrayOf(PropTypes.object),\n onChangeClientState: PropTypes.func,\n script: PropTypes.arrayOf(PropTypes.object),\n style: PropTypes.arrayOf(PropTypes.object),\n title: PropTypes.string,\n titleAttributes: PropTypes.object,\n titleTemplate: PropTypes.string\n }, _class.defaultProps = {\n defer: true,\n encodeSpecialCharacters: true\n }, _class.peek = Component.peek, _class.rewind = function () {\n var mappedState = Component.rewind();\n\n if (!mappedState) {\n // provide fallback if mappedState is undefined\n mappedState = mapStateOnServer({\n baseTag: [],\n bodyAttributes: {},\n encodeSpecialCharacters: true,\n htmlAttributes: {},\n linkTags: [],\n metaTags: [],\n noscriptTags: [],\n scriptTags: [],\n styleTags: [],\n title: \"\",\n titleAttributes: {}\n });\n }\n\n return mappedState;\n }, _temp;\n};\n\nvar NullComponent = function NullComponent() {\n return null;\n};\n\nvar HelmetSideEffects = withSideEffect(reducePropsToState, handleClientStateChange, mapStateOnServer)(NullComponent);\nvar HelmetExport = Helmet(HelmetSideEffects);\nHelmetExport.renderStatic = HelmetExport.rewind;\nexport default HelmetExport;\nexport { HelmetExport as Helmet };","module.exports = __webpack_public_path__ + \"static/SFMono-Regular-d59c1702c527525e9939ba06166a3750.woff\";","module.exports = __webpack_public_path__ + \"static/SFMono-Regular-7faa66605357721067fe1b07d9103015.woff2\";","module.exports = __webpack_public_path__ + \"static/SFMono-RegularItalic-bb1fc3ab1772befac3587b30ca876a09.woff2\";","module.exports = __webpack_public_path__ + \"static/Calibre-MediumItalic-3df14639dd2cb07c83bd39707d70910f.woff2\";","import Stylis from 'stylis/stylis.min';\nimport _insertRulePlugin from 'stylis-rule-sheet';\nimport React, { cloneElement, createContext, Component, createElement } from 'react';\nimport unitless from '@emotion/unitless';\nimport { isElement, isValidElementType, ForwardRef } from 'react-is';\nimport memoize from 'memoize-one';\nimport validAttr from '@emotion/is-prop-valid';\nimport merge from 'merge-anything'; // \n\nvar interleave = function interleave(strings, interpolations) {\n var result = [strings[0]];\n\n for (var i = 0, len = interpolations.length; i < len; i += 1) {\n result.push(interpolations[i], strings[i + 1]);\n }\n\n return result;\n};\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n};\n\nvar classCallCheck = function classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\nvar createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n};\n\nvar inherits = function inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n};\n\nvar objectWithoutProperties = function objectWithoutProperties(obj, keys) {\n var target = {};\n\n for (var i in obj) {\n if (keys.indexOf(i) >= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n\n return target;\n};\n\nvar possibleConstructorReturn = function possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n}; // \n\n\nvar isPlainObject = function isPlainObject(x) {\n return (typeof x === 'undefined' ? 'undefined' : _typeof(x)) === 'object' && x.constructor === Object;\n}; // \n\n\nvar EMPTY_ARRAY = Object.freeze([]);\nvar EMPTY_OBJECT = Object.freeze({}); // \n\nfunction isFunction(test) {\n return typeof test === 'function';\n} // \n\n\nfunction getComponentName(target) {\n return (process.env.NODE_ENV !== 'production' ? typeof target === 'string' && target : false) || target.displayName || target.name || 'Component';\n} // \n\n\nfunction isStatelessFunction(test) {\n return typeof test === 'function' && !(test.prototype && test.prototype.isReactComponent);\n} // \n\n\nfunction isStyledComponent(target) {\n return target && typeof target.styledComponentId === 'string';\n} // \n\n\nvar SC_ATTR = typeof process !== 'undefined' && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || 'data-styled';\nvar SC_VERSION_ATTR = 'data-styled-version';\nvar SC_STREAM_ATTR = 'data-styled-streamed';\nvar IS_BROWSER = typeof window !== 'undefined' && 'HTMLElement' in window;\nvar DISABLE_SPEEDY = typeof SC_DISABLE_SPEEDY === 'boolean' && SC_DISABLE_SPEEDY || typeof process !== 'undefined' && (process.env.REACT_APP_SC_DISABLE_SPEEDY || process.env.SC_DISABLE_SPEEDY) || process.env.NODE_ENV !== 'production'; // Shared empty execution context when generating static styles\n\nvar STATIC_EXECUTION_CONTEXT = {}; // \n\n/**\n * Parse errors.md and turn it into a simple hash of code: message\n */\n\nvar ERRORS = process.env.NODE_ENV !== 'production' ? {\n \"1\": \"Cannot create styled-component for component: %s.\\n\\n\",\n \"2\": \"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\\n\\n- Are you trying to reuse it across renders?\\n- Are you accidentally calling collectStyles twice?\\n\\n\",\n \"3\": \"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\\n\\n\",\n \"4\": \"The `StyleSheetManager` expects a valid target or sheet prop!\\n\\n- Does this error occur on the client and is your target falsy?\\n- Does this error occur on the server and is the sheet falsy?\\n\\n\",\n \"5\": \"The clone method cannot be used on the client!\\n\\n- Are you running in a client-like environment on the server?\\n- Are you trying to run SSR on the client?\\n\\n\",\n \"6\": \"Trying to insert a new style tag, but the given Node is unmounted!\\n\\n- Are you using a custom target that isn't mounted?\\n- Does your document not have a valid head element?\\n- Have you accidentally removed a style tag manually?\\n\\n\",\n \"7\": \"ThemeProvider: Please return an object from your \\\"theme\\\" prop function, e.g.\\n\\n```js\\ntheme={() => ({})}\\n```\\n\\n\",\n \"8\": \"ThemeProvider: Please make your \\\"theme\\\" prop an object.\\n\\n\",\n \"9\": \"Missing document `<head>`\\n\\n\",\n \"10\": \"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\\n\\n\",\n \"11\": \"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\\n\\n\",\n \"12\": \"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\\\`\\\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\\n\\n\",\n \"13\": \"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\\n\"\n} : {};\n/**\n * super basic version of sprintf\n */\n\nfunction format() {\n var a = arguments.length <= 0 ? undefined : arguments[0];\n var b = [];\n\n for (var c = 1, len = arguments.length; c < len; c += 1) {\n b.push(arguments.length <= c ? undefined : arguments[c]);\n }\n\n b.forEach(function (d) {\n a = a.replace(/%[a-z]/, d);\n });\n return a;\n}\n/**\n * Create an error file out of errors.md for development and a simple web link to the full errors\n * in production mode.\n */\n\n\nvar StyledComponentsError = function (_Error) {\n inherits(StyledComponentsError, _Error);\n\n function StyledComponentsError(code) {\n classCallCheck(this, StyledComponentsError);\n\n for (var _len = arguments.length, interpolations = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n interpolations[_key - 1] = arguments[_key];\n }\n\n if (process.env.NODE_ENV === 'production') {\n var _this = possibleConstructorReturn(this, _Error.call(this, 'An error occurred. See https://github.com/styled-components/styled-components/blob/master/packages/styled-components/src/utils/errors.md#' + code + ' for more information.' + (interpolations.length > 0 ? ' Additional arguments: ' + interpolations.join(', ') : '')));\n } else {\n var _this = possibleConstructorReturn(this, _Error.call(this, format.apply(undefined, [ERRORS[code]].concat(interpolations)).trim()));\n }\n\n return possibleConstructorReturn(_this);\n }\n\n return StyledComponentsError;\n}(Error); // \n\n\nvar SC_COMPONENT_ID = /^[^\\S\\n]*?\\/\\* sc-component-id:\\s*(\\S+)\\s+\\*\\//gm;\n\nvar extractComps = function extractComps(maybeCSS) {\n var css = '' + (maybeCSS || ''); // Definitely a string, and a clone\n\n var existingComponents = [];\n css.replace(SC_COMPONENT_ID, function (match, componentId, matchIndex) {\n existingComponents.push({\n componentId: componentId,\n matchIndex: matchIndex\n });\n return match;\n });\n return existingComponents.map(function (_ref, i) {\n var componentId = _ref.componentId,\n matchIndex = _ref.matchIndex;\n var nextComp = existingComponents[i + 1];\n var cssFromDOM = nextComp ? css.slice(matchIndex, nextComp.matchIndex) : css.slice(matchIndex);\n return {\n componentId: componentId,\n cssFromDOM: cssFromDOM\n };\n });\n}; // \n\n\nvar COMMENT_REGEX = /^\\s*\\/\\/.*$/gm; // NOTE: This stylis instance is only used to split rules from SSR'd style tags\n\nvar stylisSplitter = new Stylis({\n global: false,\n cascade: true,\n keyframe: false,\n prefix: false,\n compress: false,\n semicolon: true\n});\nvar stylis = new Stylis({\n global: false,\n cascade: true,\n keyframe: false,\n prefix: true,\n compress: false,\n semicolon: false // NOTE: This means \"autocomplete missing semicolons\"\n\n}); // Wrap `insertRulePlugin to build a list of rules,\n// and then make our own plugin to return the rules. This\n// makes it easier to hook into the existing SSR architecture\n\nvar parsingRules = []; // eslint-disable-next-line consistent-return\n\nvar returnRulesPlugin = function returnRulesPlugin(context) {\n if (context === -2) {\n var parsedRules = parsingRules;\n parsingRules = [];\n return parsedRules;\n }\n};\n\nvar parseRulesPlugin = _insertRulePlugin(function (rule) {\n parsingRules.push(rule);\n});\n\nvar _componentId = void 0;\n\nvar _selector = void 0;\n\nvar _selectorRegexp = void 0;\n\nvar selfReferenceReplacer = function selfReferenceReplacer(match, offset, string) {\n if ( // the first self-ref is always untouched\n offset > 0 && // there should be at least two self-refs to do a replacement (.b > .b)\n string.slice(0, offset).indexOf(_selector) !== -1 && // no consecutive self refs (.b.b); that is a precedence boost and treated differently\n string.slice(offset - _selector.length, offset) !== _selector) {\n return '.' + _componentId;\n }\n\n return match;\n};\n/**\n * When writing a style like\n *\n * & + & {\n * color: red;\n * }\n *\n * The second ampersand should be a reference to the static component class. stylis\n * has no knowledge of static class so we have to intelligently replace the base selector.\n */\n\n\nvar selfReferenceReplacementPlugin = function selfReferenceReplacementPlugin(context, _, selectors) {\n if (context === 2 && selectors.length && selectors[0].lastIndexOf(_selector) > 0) {\n // eslint-disable-next-line no-param-reassign\n selectors[0] = selectors[0].replace(_selectorRegexp, selfReferenceReplacer);\n }\n};\n\nstylis.use([selfReferenceReplacementPlugin, parseRulesPlugin, returnRulesPlugin]);\nstylisSplitter.use([parseRulesPlugin, returnRulesPlugin]);\n\nvar splitByRules = function splitByRules(css) {\n return stylisSplitter('', css);\n};\n\nfunction stringifyRules(rules, selector, prefix) {\n var componentId = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '&';\n var flatCSS = rules.join('').replace(COMMENT_REGEX, ''); // replace JS comments\n\n var cssStr = selector && prefix ? prefix + ' ' + selector + ' { ' + flatCSS + ' }' : flatCSS; // stylis has no concept of state to be passed to plugins\n // but since JS is single=threaded, we can rely on that to ensure\n // these properties stay in sync with the current stylis run\n\n _componentId = componentId;\n _selector = selector;\n _selectorRegexp = new RegExp('\\\\' + _selector + '\\\\b', 'g');\n return stylis(prefix || !selector ? '' : selector, cssStr);\n} // \n\n/* eslint-disable camelcase, no-undef */\n\n\nvar getNonce = function getNonce() {\n return typeof __webpack_nonce__ !== 'undefined' ? __webpack_nonce__ : null;\n}; // \n\n/* These are helpers for the StyleTags to keep track of the injected\n * rule names for each (component) ID that they're keeping track of.\n * They're crucial for detecting whether a name has already been\n * injected.\n * (This excludes rehydrated names) */\n\n/* adds a new ID:name pairing to a names dictionary */\n\n\nvar addNameForId = function addNameForId(names, id, name) {\n if (name) {\n // eslint-disable-next-line no-param-reassign\n var namesForId = names[id] || (names[id] = Object.create(null));\n namesForId[name] = true;\n }\n};\n/* resets an ID entirely by overwriting it in the dictionary */\n\n\nvar resetIdNames = function resetIdNames(names, id) {\n // eslint-disable-next-line no-param-reassign\n names[id] = Object.create(null);\n};\n/* factory for a names dictionary checking the existance of an ID:name pairing */\n\n\nvar hasNameForId = function hasNameForId(names) {\n return function (id, name) {\n return names[id] !== undefined && names[id][name];\n };\n};\n/* stringifies names for the html/element output */\n\n\nvar stringifyNames = function stringifyNames(names) {\n var str = ''; // eslint-disable-next-line guard-for-in\n\n for (var id in names) {\n str += Object.keys(names[id]).join(' ') + ' ';\n }\n\n return str.trim();\n};\n/* clones the nested names dictionary */\n\n\nvar cloneNames = function cloneNames(names) {\n var clone = Object.create(null); // eslint-disable-next-line guard-for-in\n\n for (var id in names) {\n clone[id] = _extends({}, names[id]);\n }\n\n return clone;\n}; // \n\n/* These are helpers that deal with the insertRule (aka speedy) API\n * They are used in the StyleTags and specifically the speedy tag\n */\n\n/* retrieve a sheet for a given style tag */\n\n\nvar sheetForTag = function sheetForTag(tag) {\n // $FlowFixMe\n if (tag.sheet) return tag.sheet;\n /* Firefox quirk requires us to step through all stylesheets to find one owned by the given tag */\n\n var size = tag.ownerDocument.styleSheets.length;\n\n for (var i = 0; i < size; i += 1) {\n var sheet = tag.ownerDocument.styleSheets[i]; // $FlowFixMe\n\n if (sheet.ownerNode === tag) return sheet;\n }\n /* we should always be able to find a tag */\n\n\n throw new StyledComponentsError(10);\n};\n/* insert a rule safely and return whether it was actually injected */\n\n\nvar safeInsertRule = function safeInsertRule(sheet, cssRule, index) {\n /* abort early if cssRule string is falsy */\n if (!cssRule) return false;\n var maxIndex = sheet.cssRules.length;\n\n try {\n /* use insertRule and cap passed index with maxIndex (no of cssRules) */\n sheet.insertRule(cssRule, index <= maxIndex ? index : maxIndex);\n } catch (err) {\n /* any error indicates an invalid rule */\n return false;\n }\n\n return true;\n};\n/* deletes `size` rules starting from `removalIndex` */\n\n\nvar deleteRules = function deleteRules(sheet, removalIndex, size) {\n var lowerBound = removalIndex - size;\n\n for (var i = removalIndex; i > lowerBound; i -= 1) {\n sheet.deleteRule(i);\n }\n}; // \n\n/* this marker separates component styles and is important for rehydration */\n\n\nvar makeTextMarker = function makeTextMarker(id) {\n return '\\n/* sc-component-id: ' + id + ' */\\n';\n};\n/* add up all numbers in array up until and including the index */\n\n\nvar addUpUntilIndex = function addUpUntilIndex(sizes, index) {\n var totalUpToIndex = 0;\n\n for (var i = 0; i <= index; i += 1) {\n totalUpToIndex += sizes[i];\n }\n\n return totalUpToIndex;\n};\n/* create a new style tag after lastEl */\n\n\nvar makeStyleTag = function makeStyleTag(target, tagEl, insertBefore) {\n var targetDocument = document;\n if (target) targetDocument = target.ownerDocument;else if (tagEl) targetDocument = tagEl.ownerDocument;\n var el = targetDocument.createElement('style');\n el.setAttribute(SC_ATTR, '');\n el.setAttribute(SC_VERSION_ATTR, \"4.4.1\");\n var nonce = getNonce();\n\n if (nonce) {\n el.setAttribute('nonce', nonce);\n }\n /* Work around insertRule quirk in EdgeHTML */\n\n\n el.appendChild(targetDocument.createTextNode(''));\n\n if (target && !tagEl) {\n /* Append to target when no previous element was passed */\n target.appendChild(el);\n } else {\n if (!tagEl || !target || !tagEl.parentNode) {\n throw new StyledComponentsError(6);\n }\n /* Insert new style tag after the previous one */\n\n\n tagEl.parentNode.insertBefore(el, insertBefore ? tagEl : tagEl.nextSibling);\n }\n\n return el;\n};\n/* takes a css factory function and outputs an html styled tag factory */\n\n\nvar wrapAsHtmlTag = function wrapAsHtmlTag(css, names) {\n return function (additionalAttrs) {\n var nonce = getNonce();\n var attrs = [nonce && 'nonce=\"' + nonce + '\"', SC_ATTR + '=\"' + stringifyNames(names) + '\"', SC_VERSION_ATTR + '=\"' + \"4.4.1\" + '\"', additionalAttrs];\n var htmlAttr = attrs.filter(Boolean).join(' ');\n return '<style ' + htmlAttr + '>' + css() + '</style>';\n };\n};\n/* takes a css factory function and outputs an element factory */\n\n\nvar wrapAsElement = function wrapAsElement(css, names) {\n return function () {\n var _props;\n\n var props = (_props = {}, _props[SC_ATTR] = stringifyNames(names), _props[SC_VERSION_ATTR] = \"4.4.1\", _props);\n var nonce = getNonce();\n\n if (nonce) {\n // $FlowFixMe\n props.nonce = nonce;\n } // eslint-disable-next-line react/no-danger\n\n\n return React.createElement('style', _extends({}, props, {\n dangerouslySetInnerHTML: {\n __html: css()\n }\n }));\n };\n};\n\nvar getIdsFromMarkersFactory = function getIdsFromMarkersFactory(markers) {\n return function () {\n return Object.keys(markers);\n };\n};\n/* speedy tags utilise insertRule */\n\n\nvar makeSpeedyTag = function makeSpeedyTag(el, getImportRuleTag) {\n var names = Object.create(null);\n var markers = Object.create(null);\n var sizes = [];\n var extractImport = getImportRuleTag !== undefined;\n /* indicates whether getImportRuleTag was called */\n\n var usedImportRuleTag = false;\n\n var insertMarker = function insertMarker(id) {\n var prev = markers[id];\n\n if (prev !== undefined) {\n return prev;\n }\n\n markers[id] = sizes.length;\n sizes.push(0);\n resetIdNames(names, id);\n return markers[id];\n };\n\n var insertRules = function insertRules(id, cssRules, name) {\n var marker = insertMarker(id);\n var sheet = sheetForTag(el);\n var insertIndex = addUpUntilIndex(sizes, marker);\n var injectedRules = 0;\n var importRules = [];\n var cssRulesSize = cssRules.length;\n\n for (var i = 0; i < cssRulesSize; i += 1) {\n var cssRule = cssRules[i];\n var mayHaveImport = extractImport;\n /* @import rules are reordered to appear first */\n\n if (mayHaveImport && cssRule.indexOf('@import') !== -1) {\n importRules.push(cssRule);\n } else if (safeInsertRule(sheet, cssRule, insertIndex + injectedRules)) {\n mayHaveImport = false;\n injectedRules += 1;\n }\n }\n\n if (extractImport && importRules.length > 0) {\n usedImportRuleTag = true; // $FlowFixMe\n\n getImportRuleTag().insertRules(id + '-import', importRules);\n }\n\n sizes[marker] += injectedRules;\n /* add up no of injected rules */\n\n addNameForId(names, id, name);\n };\n\n var removeRules = function removeRules(id) {\n var marker = markers[id];\n if (marker === undefined) return; // $FlowFixMe\n\n if (el.isConnected === false) return;\n var size = sizes[marker];\n var sheet = sheetForTag(el);\n var removalIndex = addUpUntilIndex(sizes, marker) - 1;\n deleteRules(sheet, removalIndex, size);\n sizes[marker] = 0;\n resetIdNames(names, id);\n\n if (extractImport && usedImportRuleTag) {\n // $FlowFixMe\n getImportRuleTag().removeRules(id + '-import');\n }\n };\n\n var css = function css() {\n var _sheetForTag = sheetForTag(el),\n cssRules = _sheetForTag.cssRules;\n\n var str = ''; // eslint-disable-next-line guard-for-in\n\n for (var id in markers) {\n str += makeTextMarker(id);\n var marker = markers[id];\n var end = addUpUntilIndex(sizes, marker);\n var size = sizes[marker];\n\n for (var i = end - size; i < end; i += 1) {\n var rule = cssRules[i];\n\n if (rule !== undefined) {\n str += rule.cssText;\n }\n }\n }\n\n return str;\n };\n\n return {\n clone: function clone() {\n throw new StyledComponentsError(5);\n },\n css: css,\n getIds: getIdsFromMarkersFactory(markers),\n hasNameForId: hasNameForId(names),\n insertMarker: insertMarker,\n insertRules: insertRules,\n removeRules: removeRules,\n sealed: false,\n styleTag: el,\n toElement: wrapAsElement(css, names),\n toHTML: wrapAsHtmlTag(css, names)\n };\n};\n\nvar makeTextNode = function makeTextNode(targetDocument, id) {\n return targetDocument.createTextNode(makeTextMarker(id));\n};\n\nvar makeBrowserTag = function makeBrowserTag(el, getImportRuleTag) {\n var names = Object.create(null);\n var markers = Object.create(null);\n var extractImport = getImportRuleTag !== undefined;\n /* indicates whether getImportRuleTag was called */\n\n var usedImportRuleTag = false;\n\n var insertMarker = function insertMarker(id) {\n var prev = markers[id];\n\n if (prev !== undefined) {\n return prev;\n }\n\n markers[id] = makeTextNode(el.ownerDocument, id);\n el.appendChild(markers[id]);\n names[id] = Object.create(null);\n return markers[id];\n };\n\n var insertRules = function insertRules(id, cssRules, name) {\n var marker = insertMarker(id);\n var importRules = [];\n var cssRulesSize = cssRules.length;\n\n for (var i = 0; i < cssRulesSize; i += 1) {\n var rule = cssRules[i];\n var mayHaveImport = extractImport;\n\n if (mayHaveImport && rule.indexOf('@import') !== -1) {\n importRules.push(rule);\n } else {\n mayHaveImport = false;\n var separator = i === cssRulesSize - 1 ? '' : ' ';\n marker.appendData('' + rule + separator);\n }\n }\n\n addNameForId(names, id, name);\n\n if (extractImport && importRules.length > 0) {\n usedImportRuleTag = true; // $FlowFixMe\n\n getImportRuleTag().insertRules(id + '-import', importRules);\n }\n };\n\n var removeRules = function removeRules(id) {\n var marker = markers[id];\n if (marker === undefined) return;\n /* create new empty text node and replace the current one */\n\n var newMarker = makeTextNode(el.ownerDocument, id);\n el.replaceChild(newMarker, marker);\n markers[id] = newMarker;\n resetIdNames(names, id);\n\n if (extractImport && usedImportRuleTag) {\n // $FlowFixMe\n getImportRuleTag().removeRules(id + '-import');\n }\n };\n\n var css = function css() {\n var str = ''; // eslint-disable-next-line guard-for-in\n\n for (var id in markers) {\n str += markers[id].data;\n }\n\n return str;\n };\n\n return {\n clone: function clone() {\n throw new StyledComponentsError(5);\n },\n css: css,\n getIds: getIdsFromMarkersFactory(markers),\n hasNameForId: hasNameForId(names),\n insertMarker: insertMarker,\n insertRules: insertRules,\n removeRules: removeRules,\n sealed: false,\n styleTag: el,\n toElement: wrapAsElement(css, names),\n toHTML: wrapAsHtmlTag(css, names)\n };\n};\n\nvar makeServerTag = function makeServerTag(namesArg, markersArg) {\n var names = namesArg === undefined ? Object.create(null) : namesArg;\n var markers = markersArg === undefined ? Object.create(null) : markersArg;\n\n var insertMarker = function insertMarker(id) {\n var prev = markers[id];\n\n if (prev !== undefined) {\n return prev;\n }\n\n return markers[id] = [''];\n };\n\n var insertRules = function insertRules(id, cssRules, name) {\n var marker = insertMarker(id);\n marker[0] += cssRules.join(' ');\n addNameForId(names, id, name);\n };\n\n var removeRules = function removeRules(id) {\n var marker = markers[id];\n if (marker === undefined) return;\n marker[0] = '';\n resetIdNames(names, id);\n };\n\n var css = function css() {\n var str = ''; // eslint-disable-next-line guard-for-in\n\n for (var id in markers) {\n var cssForId = markers[id][0];\n\n if (cssForId) {\n str += makeTextMarker(id) + cssForId;\n }\n }\n\n return str;\n };\n\n var clone = function clone() {\n var namesClone = cloneNames(names);\n var markersClone = Object.create(null); // eslint-disable-next-line guard-for-in\n\n for (var id in markers) {\n markersClone[id] = [markers[id][0]];\n }\n\n return makeServerTag(namesClone, markersClone);\n };\n\n var tag = {\n clone: clone,\n css: css,\n getIds: getIdsFromMarkersFactory(markers),\n hasNameForId: hasNameForId(names),\n insertMarker: insertMarker,\n insertRules: insertRules,\n removeRules: removeRules,\n sealed: false,\n styleTag: null,\n toElement: wrapAsElement(css, names),\n toHTML: wrapAsHtmlTag(css, names)\n };\n return tag;\n};\n\nvar makeTag = function makeTag(target, tagEl, forceServer, insertBefore, getImportRuleTag) {\n if (IS_BROWSER && !forceServer) {\n var el = makeStyleTag(target, tagEl, insertBefore);\n\n if (DISABLE_SPEEDY) {\n return makeBrowserTag(el, getImportRuleTag);\n } else {\n return makeSpeedyTag(el, getImportRuleTag);\n }\n }\n\n return makeServerTag();\n};\n\nvar rehydrate = function rehydrate(tag, els, extracted) {\n /* add all extracted components to the new tag */\n for (var i = 0, len = extracted.length; i < len; i += 1) {\n var _extracted$i = extracted[i],\n componentId = _extracted$i.componentId,\n cssFromDOM = _extracted$i.cssFromDOM;\n var cssRules = splitByRules(cssFromDOM);\n tag.insertRules(componentId, cssRules);\n }\n /* remove old HTMLStyleElements, since they have been rehydrated */\n\n\n for (var _i = 0, _len = els.length; _i < _len; _i += 1) {\n var el = els[_i];\n\n if (el.parentNode) {\n el.parentNode.removeChild(el);\n }\n }\n}; // \n\n\nvar SPLIT_REGEX = /\\s+/;\n/* determine the maximum number of components before tags are sharded */\n\nvar MAX_SIZE = void 0;\n\nif (IS_BROWSER) {\n /* in speedy mode we can keep a lot more rules in a sheet before a slowdown can be expected */\n MAX_SIZE = DISABLE_SPEEDY ? 40 : 1000;\n} else {\n /* for servers we do not need to shard at all */\n MAX_SIZE = -1;\n}\n\nvar sheetRunningId = 0;\nvar master = void 0;\n\nvar StyleSheet = function () {\n /* a map from ids to tags */\n\n /* deferred rules for a given id */\n\n /* this is used for not reinjecting rules via hasNameForId() */\n\n /* when rules for an id are removed using remove() we have to ignore rehydratedNames for it */\n\n /* a list of tags belonging to this StyleSheet */\n\n /* a tag for import rules */\n\n /* current capacity until a new tag must be created */\n\n /* children (aka clones) of this StyleSheet inheriting all and future injections */\n function StyleSheet() {\n var _this = this;\n\n var target = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : IS_BROWSER ? document.head : null;\n var forceServer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n classCallCheck(this, StyleSheet);\n\n this.getImportRuleTag = function () {\n var importRuleTag = _this.importRuleTag;\n\n if (importRuleTag !== undefined) {\n return importRuleTag;\n }\n\n var firstTag = _this.tags[0];\n var insertBefore = true;\n return _this.importRuleTag = makeTag(_this.target, firstTag ? firstTag.styleTag : null, _this.forceServer, insertBefore);\n };\n\n sheetRunningId += 1;\n this.id = sheetRunningId;\n this.forceServer = forceServer;\n this.target = forceServer ? null : target;\n this.tagMap = {};\n this.deferred = {};\n this.rehydratedNames = {};\n this.ignoreRehydratedNames = {};\n this.tags = [];\n this.capacity = 1;\n this.clones = [];\n }\n /* rehydrate all SSR'd style tags */\n\n\n StyleSheet.prototype.rehydrate = function rehydrate$$1() {\n if (!IS_BROWSER || this.forceServer) return this;\n var els = [];\n var extracted = [];\n var isStreamed = false;\n /* retrieve all of our SSR style elements from the DOM */\n\n var nodes = document.querySelectorAll('style[' + SC_ATTR + '][' + SC_VERSION_ATTR + '=\"' + \"4.4.1\" + '\"]');\n var nodesSize = nodes.length;\n /* abort rehydration if no previous style tags were found */\n\n if (!nodesSize) return this;\n\n for (var i = 0; i < nodesSize; i += 1) {\n var el = nodes[i];\n /* check if style tag is a streamed tag */\n\n if (!isStreamed) isStreamed = !!el.getAttribute(SC_STREAM_ATTR);\n /* retrieve all component names */\n\n var elNames = (el.getAttribute(SC_ATTR) || '').trim().split(SPLIT_REGEX);\n var elNamesSize = elNames.length;\n\n for (var j = 0, name; j < elNamesSize; j += 1) {\n name = elNames[j];\n /* add rehydrated name to sheet to avoid re-adding styles */\n\n this.rehydratedNames[name] = true;\n }\n /* extract all components and their CSS */\n\n\n extracted.push.apply(extracted, extractComps(el.textContent));\n /* store original HTMLStyleElement */\n\n els.push(el);\n }\n /* abort rehydration if nothing was extracted */\n\n\n var extractedSize = extracted.length;\n if (!extractedSize) return this;\n /* create a tag to be used for rehydration */\n\n var tag = this.makeTag(null);\n rehydrate(tag, els, extracted);\n /* reset capacity and adjust MAX_SIZE by the initial size of the rehydration */\n\n this.capacity = Math.max(1, MAX_SIZE - extractedSize);\n this.tags.push(tag);\n /* retrieve all component ids */\n\n for (var _j = 0; _j < extractedSize; _j += 1) {\n this.tagMap[extracted[_j].componentId] = tag;\n }\n\n return this;\n };\n /* retrieve a \"master\" instance of StyleSheet which is typically used when no other is available\n * The master StyleSheet is targeted by createGlobalStyle, keyframes, and components outside of any\n * StyleSheetManager's context */\n\n /* reset the internal \"master\" instance */\n\n\n StyleSheet.reset = function reset() {\n var forceServer = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n master = new StyleSheet(undefined, forceServer).rehydrate();\n };\n /* adds \"children\" to the StyleSheet that inherit all of the parents' rules\n * while their own rules do not affect the parent */\n\n\n StyleSheet.prototype.clone = function clone() {\n var sheet = new StyleSheet(this.target, this.forceServer);\n /* add to clone array */\n\n this.clones.push(sheet);\n /* clone all tags */\n\n sheet.tags = this.tags.map(function (tag) {\n var ids = tag.getIds();\n var newTag = tag.clone();\n /* reconstruct tagMap */\n\n for (var i = 0; i < ids.length; i += 1) {\n sheet.tagMap[ids[i]] = newTag;\n }\n\n return newTag;\n });\n /* clone other maps */\n\n sheet.rehydratedNames = _extends({}, this.rehydratedNames);\n sheet.deferred = _extends({}, this.deferred);\n return sheet;\n };\n /* force StyleSheet to create a new tag on the next injection */\n\n\n StyleSheet.prototype.sealAllTags = function sealAllTags() {\n this.capacity = 1;\n this.tags.forEach(function (tag) {\n // eslint-disable-next-line no-param-reassign\n tag.sealed = true;\n });\n };\n\n StyleSheet.prototype.makeTag = function makeTag$$1(tag) {\n var lastEl = tag ? tag.styleTag : null;\n var insertBefore = false;\n return makeTag(this.target, lastEl, this.forceServer, insertBefore, this.getImportRuleTag);\n };\n /* get a tag for a given componentId, assign the componentId to one, or shard */\n\n\n StyleSheet.prototype.getTagForId = function getTagForId(id) {\n /* simply return a tag, when the componentId was already assigned one */\n var prev = this.tagMap[id];\n\n if (prev !== undefined && !prev.sealed) {\n return prev;\n }\n\n var tag = this.tags[this.tags.length - 1];\n /* shard (create a new tag) if the tag is exhausted (See MAX_SIZE) */\n\n this.capacity -= 1;\n\n if (this.capacity === 0) {\n this.capacity = MAX_SIZE;\n tag = this.makeTag(tag);\n this.tags.push(tag);\n }\n\n return this.tagMap[id] = tag;\n };\n /* mainly for createGlobalStyle to check for its id */\n\n\n StyleSheet.prototype.hasId = function hasId(id) {\n return this.tagMap[id] !== undefined;\n };\n /* caching layer checking id+name to already have a corresponding tag and injected rules */\n\n\n StyleSheet.prototype.hasNameForId = function hasNameForId(id, name) {\n /* exception for rehydrated names which are checked separately */\n if (this.ignoreRehydratedNames[id] === undefined && this.rehydratedNames[name]) {\n return true;\n }\n\n var tag = this.tagMap[id];\n return tag !== undefined && tag.hasNameForId(id, name);\n };\n /* registers a componentId and registers it on its tag */\n\n\n StyleSheet.prototype.deferredInject = function deferredInject(id, cssRules) {\n /* don't inject when the id is already registered */\n if (this.tagMap[id] !== undefined) return;\n var clones = this.clones;\n\n for (var i = 0; i < clones.length; i += 1) {\n clones[i].deferredInject(id, cssRules);\n }\n\n this.getTagForId(id).insertMarker(id);\n this.deferred[id] = cssRules;\n };\n /* injects rules for a given id with a name that will need to be cached */\n\n\n StyleSheet.prototype.inject = function inject(id, cssRules, name) {\n var clones = this.clones;\n\n for (var i = 0; i < clones.length; i += 1) {\n clones[i].inject(id, cssRules, name);\n }\n\n var tag = this.getTagForId(id);\n /* add deferred rules for component */\n\n if (this.deferred[id] !== undefined) {\n // Combine passed cssRules with previously deferred CSS rules\n // NOTE: We cannot mutate the deferred array itself as all clones\n // do the same (see clones[i].inject)\n var rules = this.deferred[id].concat(cssRules);\n tag.insertRules(id, rules, name);\n this.deferred[id] = undefined;\n } else {\n tag.insertRules(id, cssRules, name);\n }\n };\n /* removes all rules for a given id, which doesn't remove its marker but resets it */\n\n\n StyleSheet.prototype.remove = function remove(id) {\n var tag = this.tagMap[id];\n if (tag === undefined) return;\n var clones = this.clones;\n\n for (var i = 0; i < clones.length; i += 1) {\n clones[i].remove(id);\n }\n /* remove all rules from the tag */\n\n\n tag.removeRules(id);\n /* ignore possible rehydrated names */\n\n this.ignoreRehydratedNames[id] = true;\n /* delete possible deferred rules */\n\n this.deferred[id] = undefined;\n };\n\n StyleSheet.prototype.toHTML = function toHTML() {\n return this.tags.map(function (tag) {\n return tag.toHTML();\n }).join('');\n };\n\n StyleSheet.prototype.toReactElements = function toReactElements() {\n var id = this.id;\n return this.tags.map(function (tag, i) {\n var key = 'sc-' + id + '-' + i;\n return cloneElement(tag.toElement(), {\n key: key\n });\n });\n };\n\n createClass(StyleSheet, null, [{\n key: 'master',\n get: function get$$1() {\n return master || (master = new StyleSheet().rehydrate());\n }\n /* NOTE: This is just for backwards-compatibility with jest-styled-components */\n\n }, {\n key: 'instance',\n get: function get$$1() {\n return StyleSheet.master;\n }\n }]);\n return StyleSheet;\n}(); // \n\n\nvar Keyframes = function () {\n function Keyframes(name, rules) {\n var _this = this;\n\n classCallCheck(this, Keyframes);\n\n this.inject = function (styleSheet) {\n if (!styleSheet.hasNameForId(_this.id, _this.name)) {\n styleSheet.inject(_this.id, _this.rules, _this.name);\n }\n };\n\n this.toString = function () {\n throw new StyledComponentsError(12, String(_this.name));\n };\n\n this.name = name;\n this.rules = rules;\n this.id = 'sc-keyframes-' + name;\n }\n\n Keyframes.prototype.getName = function getName() {\n return this.name;\n };\n\n return Keyframes;\n}(); // \n\n/**\n * inlined version of\n * https://github.com/facebook/fbjs/blob/master/packages/fbjs/src/core/hyphenateStyleName.js\n */\n\n\nvar uppercasePattern = /([A-Z])/g;\nvar msPattern = /^ms-/;\n/**\n * Hyphenates a camelcased CSS property name, for example:\n *\n * > hyphenateStyleName('backgroundColor')\n * < \"background-color\"\n * > hyphenateStyleName('MozTransition')\n * < \"-moz-transition\"\n * > hyphenateStyleName('msTransition')\n * < \"-ms-transition\"\n *\n * As Modernizr suggests (http://modernizr.com/docs/#prefixed), an `ms` prefix\n * is converted to `-ms-`.\n *\n * @param {string} string\n * @return {string}\n */\n\nfunction hyphenateStyleName(string) {\n return string.replace(uppercasePattern, '-$1').toLowerCase().replace(msPattern, '-ms-');\n} // \n// Taken from https://github.com/facebook/react/blob/b87aabdfe1b7461e7331abb3601d9e6bb27544bc/packages/react-dom/src/shared/dangerousStyleValue.js\n\n\nfunction addUnitIfNeeded(name, value) {\n // https://github.com/amilajack/eslint-plugin-flowtype-errors/issues/133\n // $FlowFixMe\n if (value == null || typeof value === 'boolean' || value === '') {\n return '';\n }\n\n if (typeof value === 'number' && value !== 0 && !(name in unitless)) {\n return value + 'px'; // Presumes implicit 'px' suffix for unitless numbers\n }\n\n return String(value).trim();\n} // \n\n/**\n * It's falsish not falsy because 0 is allowed.\n */\n\n\nvar isFalsish = function isFalsish(chunk) {\n return chunk === undefined || chunk === null || chunk === false || chunk === '';\n};\n\nvar objToCssArray = function objToCssArray(obj, prevKey) {\n var rules = [];\n var keys = Object.keys(obj);\n keys.forEach(function (key) {\n if (!isFalsish(obj[key])) {\n if (isPlainObject(obj[key])) {\n rules.push.apply(rules, objToCssArray(obj[key], key));\n return rules;\n } else if (isFunction(obj[key])) {\n rules.push(hyphenateStyleName(key) + ':', obj[key], ';');\n return rules;\n }\n\n rules.push(hyphenateStyleName(key) + ': ' + addUnitIfNeeded(key, obj[key]) + ';');\n }\n\n return rules;\n });\n return prevKey ? [prevKey + ' {'].concat(rules, ['}']) : rules;\n};\n\nfunction flatten(chunk, executionContext, styleSheet) {\n if (Array.isArray(chunk)) {\n var ruleSet = [];\n\n for (var i = 0, len = chunk.length, result; i < len; i += 1) {\n result = flatten(chunk[i], executionContext, styleSheet);\n if (result === null) continue;else if (Array.isArray(result)) ruleSet.push.apply(ruleSet, result);else ruleSet.push(result);\n }\n\n return ruleSet;\n }\n\n if (isFalsish(chunk)) {\n return null;\n }\n /* Handle other components */\n\n\n if (isStyledComponent(chunk)) {\n return '.' + chunk.styledComponentId;\n }\n /* Either execute or defer the function */\n\n\n if (isFunction(chunk)) {\n if (isStatelessFunction(chunk) && executionContext) {\n var _result = chunk(executionContext);\n\n if (process.env.NODE_ENV !== 'production' && isElement(_result)) {\n // eslint-disable-next-line no-console\n console.warn(getComponentName(chunk) + ' is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.');\n }\n\n return flatten(_result, executionContext, styleSheet);\n } else return chunk;\n }\n\n if (chunk instanceof Keyframes) {\n if (styleSheet) {\n chunk.inject(styleSheet);\n return chunk.getName();\n } else return chunk;\n }\n /* Handle objects */\n\n\n return isPlainObject(chunk) ? objToCssArray(chunk) : chunk.toString();\n} // \n\n\nfunction css(styles) {\n for (var _len = arguments.length, interpolations = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n interpolations[_key - 1] = arguments[_key];\n }\n\n if (isFunction(styles) || isPlainObject(styles)) {\n // $FlowFixMe\n return flatten(interleave(EMPTY_ARRAY, [styles].concat(interpolations)));\n } // $FlowFixMe\n\n\n return flatten(interleave(styles, interpolations));\n} // \n\n\nfunction constructWithOptions(componentConstructor, tag) {\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : EMPTY_OBJECT;\n\n if (!isValidElementType(tag)) {\n throw new StyledComponentsError(1, String(tag));\n }\n /* This is callable directly as a template function */\n // $FlowFixMe: Not typed to avoid destructuring arguments\n\n\n var templateFunction = function templateFunction() {\n return componentConstructor(tag, options, css.apply(undefined, arguments));\n };\n /* If config methods are called, wrap up a new template function and merge options */\n\n\n templateFunction.withConfig = function (config) {\n return constructWithOptions(componentConstructor, tag, _extends({}, options, config));\n };\n /* Modify/inject new props at runtime */\n\n\n templateFunction.attrs = function (attrs) {\n return constructWithOptions(componentConstructor, tag, _extends({}, options, {\n attrs: Array.prototype.concat(options.attrs, attrs).filter(Boolean)\n }));\n };\n\n return templateFunction;\n} // \n// Source: https://github.com/garycourt/murmurhash-js/blob/master/murmurhash2_gc.js\n\n\nfunction murmurhash(c) {\n for (var e = c.length | 0, a = e | 0, d = 0, b; e >= 4;) {\n b = c.charCodeAt(d) & 255 | (c.charCodeAt(++d) & 255) << 8 | (c.charCodeAt(++d) & 255) << 16 | (c.charCodeAt(++d) & 255) << 24, b = 1540483477 * (b & 65535) + ((1540483477 * (b >>> 16) & 65535) << 16), b ^= b >>> 24, b = 1540483477 * (b & 65535) + ((1540483477 * (b >>> 16) & 65535) << 16), a = 1540483477 * (a & 65535) + ((1540483477 * (a >>> 16) & 65535) << 16) ^ b, e -= 4, ++d;\n }\n\n switch (e) {\n case 3:\n a ^= (c.charCodeAt(d + 2) & 255) << 16;\n\n case 2:\n a ^= (c.charCodeAt(d + 1) & 255) << 8;\n\n case 1:\n a ^= c.charCodeAt(d) & 255, a = 1540483477 * (a & 65535) + ((1540483477 * (a >>> 16) & 65535) << 16);\n }\n\n a ^= a >>> 13;\n a = 1540483477 * (a & 65535) + ((1540483477 * (a >>> 16) & 65535) << 16);\n return (a ^ a >>> 15) >>> 0;\n} // \n\n/* eslint-disable no-bitwise */\n\n/* This is the \"capacity\" of our alphabet i.e. 2x26 for all letters plus their capitalised\n * counterparts */\n\n\nvar charsLength = 52;\n/* start at 75 for 'a' until 'z' (25) and then start at 65 for capitalised letters */\n\nvar getAlphabeticChar = function getAlphabeticChar(code) {\n return String.fromCharCode(code + (code > 25 ? 39 : 97));\n};\n/* input a number, usually a hash and convert it to base-52 */\n\n\nfunction generateAlphabeticName(code) {\n var name = '';\n var x = void 0;\n /* get a char and divide by alphabet-length */\n\n for (x = code; x > charsLength; x = Math.floor(x / charsLength)) {\n name = getAlphabeticChar(x % charsLength) + name;\n }\n\n return getAlphabeticChar(x % charsLength) + name;\n} // \n\n\nfunction hasFunctionObjectKey(obj) {\n // eslint-disable-next-line guard-for-in, no-restricted-syntax\n for (var key in obj) {\n if (isFunction(obj[key])) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction isStaticRules(rules, attrs) {\n for (var i = 0; i < rules.length; i += 1) {\n var rule = rules[i]; // recursive case\n\n if (Array.isArray(rule) && !isStaticRules(rule, attrs)) {\n return false;\n } else if (isFunction(rule) && !isStyledComponent(rule)) {\n // functions are allowed to be static if they're just being\n // used to get the classname of a nested styled component\n return false;\n }\n }\n\n if (attrs.some(function (x) {\n return isFunction(x) || hasFunctionObjectKey(x);\n })) return false;\n return true;\n} // \n\n/* combines hashStr (murmurhash) and nameGenerator for convenience */\n\n\nvar hasher = function hasher(str) {\n return generateAlphabeticName(murmurhash(str));\n};\n/*\n ComponentStyle is all the CSS-specific stuff, not\n the React-specific stuff.\n */\n\n\nvar ComponentStyle = function () {\n function ComponentStyle(rules, attrs, componentId) {\n classCallCheck(this, ComponentStyle);\n this.rules = rules;\n this.isStatic = process.env.NODE_ENV === 'production' && isStaticRules(rules, attrs);\n this.componentId = componentId;\n\n if (!StyleSheet.master.hasId(componentId)) {\n StyleSheet.master.deferredInject(componentId, []);\n }\n }\n /*\n * Flattens a rule set into valid CSS\n * Hashes it, wraps the whole chunk in a .hash1234 {}\n * Returns the hash to be injected on render()\n * */\n\n\n ComponentStyle.prototype.generateAndInjectStyles = function generateAndInjectStyles(executionContext, styleSheet) {\n var isStatic = this.isStatic,\n componentId = this.componentId,\n lastClassName = this.lastClassName;\n\n if (IS_BROWSER && isStatic && typeof lastClassName === 'string' && styleSheet.hasNameForId(componentId, lastClassName)) {\n return lastClassName;\n }\n\n var flatCSS = flatten(this.rules, executionContext, styleSheet);\n var name = hasher(this.componentId + flatCSS.join(''));\n\n if (!styleSheet.hasNameForId(componentId, name)) {\n styleSheet.inject(this.componentId, stringifyRules(flatCSS, '.' + name, undefined, componentId), name);\n }\n\n this.lastClassName = name;\n return name;\n };\n\n ComponentStyle.generateName = function generateName(str) {\n return hasher(str);\n };\n\n return ComponentStyle;\n}(); // \n\n\nvar LIMIT = 200;\n\nvar createWarnTooManyClasses = function createWarnTooManyClasses(displayName) {\n var generatedClasses = {};\n var warningSeen = false;\n return function (className) {\n if (!warningSeen) {\n generatedClasses[className] = true;\n\n if (Object.keys(generatedClasses).length >= LIMIT) {\n // Unable to find latestRule in test environment.\n\n /* eslint-disable no-console, prefer-template */\n console.warn('Over ' + LIMIT + ' classes were generated for component ' + displayName + '. \\n' + 'Consider using the attrs method, together with a style object for frequently changed styles.\\n' + 'Example:\\n' + ' const Component = styled.div.attrs(props => ({\\n' + ' style: {\\n' + ' background: props.background,\\n' + ' },\\n' + ' }))`width: 100%;`\\n\\n' + ' <Component />');\n warningSeen = true;\n generatedClasses = {};\n }\n }\n };\n}; // \n\n\nvar determineTheme = function determineTheme(props, fallbackTheme) {\n var defaultProps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : EMPTY_OBJECT; // Props should take precedence over ThemeProvider, which should take precedence over\n // defaultProps, but React automatically puts defaultProps on props.\n\n /* eslint-disable react/prop-types, flowtype-errors/show-errors */\n\n var isDefaultTheme = defaultProps ? props.theme === defaultProps.theme : false;\n var theme = props.theme && !isDefaultTheme ? props.theme : fallbackTheme || defaultProps.theme;\n /* eslint-enable */\n\n return theme;\n}; // \n\n\nvar escapeRegex = /[[\\].#*$><+~=|^:(),\"'`-]+/g;\nvar dashesAtEnds = /(^-|-$)/g;\n/**\n * TODO: Explore using CSS.escape when it becomes more available\n * in evergreen browsers.\n */\n\nfunction escape(str) {\n return str // Replace all possible CSS selectors\n .replace(escapeRegex, '-') // Remove extraneous hyphens at the start and end\n .replace(dashesAtEnds, '');\n} // \n\n\nfunction isTag(target) {\n return typeof target === 'string' && (process.env.NODE_ENV !== 'production' ? target.charAt(0) === target.charAt(0).toLowerCase() : true);\n} // \n\n\nfunction generateDisplayName(target) {\n // $FlowFixMe\n return isTag(target) ? 'styled.' + target : 'Styled(' + getComponentName(target) + ')';\n}\n\nvar _TYPE_STATICS;\n\nvar REACT_STATICS = {\n childContextTypes: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDerivedStateFromProps: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar TYPE_STATICS = (_TYPE_STATICS = {}, _TYPE_STATICS[ForwardRef] = {\n $$typeof: true,\n render: true\n}, _TYPE_STATICS);\nvar defineProperty$1 = Object.defineProperty,\n getOwnPropertyNames = Object.getOwnPropertyNames,\n _Object$getOwnPropert = Object.getOwnPropertySymbols,\n getOwnPropertySymbols = _Object$getOwnPropert === undefined ? function () {\n return [];\n} : _Object$getOwnPropert,\n getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor,\n getPrototypeOf = Object.getPrototypeOf,\n objectPrototype = Object.prototype;\nvar arrayPrototype = Array.prototype;\n\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n\n var keys = arrayPrototype.concat(getOwnPropertyNames(sourceComponent), // $FlowFixMe\n getOwnPropertySymbols(sourceComponent));\n var targetStatics = TYPE_STATICS[targetComponent.$$typeof] || REACT_STATICS;\n var sourceStatics = TYPE_STATICS[sourceComponent.$$typeof] || REACT_STATICS;\n var i = keys.length;\n var descriptor = void 0;\n var key = void 0; // eslint-disable-next-line no-plusplus\n\n while (i--) {\n key = keys[i];\n\n if ( // $FlowFixMe\n !KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && // $FlowFixMe\n !(targetStatics && targetStatics[key])) {\n descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n if (descriptor) {\n try {\n // Avoid failures from read-only properties\n defineProperty$1(targetComponent, key, descriptor);\n } catch (e) {\n /* fail silently */\n }\n }\n }\n }\n\n return targetComponent;\n }\n\n return targetComponent;\n} // \n\n\nfunction isDerivedReactComponent(fn) {\n return !!(fn && fn.prototype && fn.prototype.isReactComponent);\n} // \n// Helper to call a given function, only once\n\n\nvar once = function once(cb) {\n var called = false;\n return function () {\n if (!called) {\n called = true;\n cb.apply(undefined, arguments);\n }\n };\n}; // \n\n\nvar ThemeContext = createContext();\nvar ThemeConsumer = ThemeContext.Consumer;\n/**\n * Provide a theme to an entire react component tree via context\n */\n\nvar ThemeProvider = function (_Component) {\n inherits(ThemeProvider, _Component);\n\n function ThemeProvider(props) {\n classCallCheck(this, ThemeProvider);\n\n var _this = possibleConstructorReturn(this, _Component.call(this, props));\n\n _this.getContext = memoize(_this.getContext.bind(_this));\n _this.renderInner = _this.renderInner.bind(_this);\n return _this;\n }\n\n ThemeProvider.prototype.render = function render() {\n if (!this.props.children) return null;\n return React.createElement(ThemeContext.Consumer, null, this.renderInner);\n };\n\n ThemeProvider.prototype.renderInner = function renderInner(outerTheme) {\n var context = this.getContext(this.props.theme, outerTheme);\n return React.createElement(ThemeContext.Provider, {\n value: context\n }, this.props.children);\n };\n /**\n * Get the theme from the props, supporting both (outerTheme) => {}\n * as well as object notation\n */\n\n\n ThemeProvider.prototype.getTheme = function getTheme(theme, outerTheme) {\n if (isFunction(theme)) {\n var mergedTheme = theme(outerTheme);\n\n if (process.env.NODE_ENV !== 'production' && (mergedTheme === null || Array.isArray(mergedTheme) || (typeof mergedTheme === 'undefined' ? 'undefined' : _typeof(mergedTheme)) !== 'object')) {\n throw new StyledComponentsError(7);\n }\n\n return mergedTheme;\n }\n\n if (theme === null || Array.isArray(theme) || (typeof theme === 'undefined' ? 'undefined' : _typeof(theme)) !== 'object') {\n throw new StyledComponentsError(8);\n }\n\n return _extends({}, outerTheme, theme);\n };\n\n ThemeProvider.prototype.getContext = function getContext(theme, outerTheme) {\n return this.getTheme(theme, outerTheme);\n };\n\n return ThemeProvider;\n}(Component); // \n\n\nvar CLOSING_TAG_R = /^\\s*<\\/[a-z]/i;\n\nvar ServerStyleSheet = function () {\n function ServerStyleSheet() {\n classCallCheck(this, ServerStyleSheet);\n /* The master sheet might be reset, so keep a reference here */\n\n this.masterSheet = StyleSheet.master;\n this.instance = this.masterSheet.clone();\n this.sealed = false;\n }\n /**\n * Mark the ServerStyleSheet as being fully emitted and manually GC it from the\n * StyleSheet singleton.\n */\n\n\n ServerStyleSheet.prototype.seal = function seal() {\n if (!this.sealed) {\n /* Remove sealed StyleSheets from the master sheet */\n var index = this.masterSheet.clones.indexOf(this.instance);\n this.masterSheet.clones.splice(index, 1);\n this.sealed = true;\n }\n };\n\n ServerStyleSheet.prototype.collectStyles = function collectStyles(children) {\n if (this.sealed) {\n throw new StyledComponentsError(2);\n }\n\n return React.createElement(StyleSheetManager, {\n sheet: this.instance\n }, children);\n };\n\n ServerStyleSheet.prototype.getStyleTags = function getStyleTags() {\n this.seal();\n return this.instance.toHTML();\n };\n\n ServerStyleSheet.prototype.getStyleElement = function getStyleElement() {\n this.seal();\n return this.instance.toReactElements();\n };\n\n ServerStyleSheet.prototype.interleaveWithNodeStream = function interleaveWithNodeStream(readableStream) {\n var _this = this;\n\n {\n throw new StyledComponentsError(3);\n }\n /* the tag index keeps track of which tags have already been emitted */\n\n var instance = this.instance;\n var instanceTagIndex = 0;\n var streamAttr = SC_STREAM_ATTR + '=\"true\"';\n var transformer = new stream.Transform({\n transform: function appendStyleChunks(chunk,\n /* encoding */\n _, callback) {\n var tags = instance.tags;\n var html = '';\n /* retrieve html for each new style tag */\n\n for (; instanceTagIndex < tags.length; instanceTagIndex += 1) {\n var tag = tags[instanceTagIndex];\n html += tag.toHTML(streamAttr);\n }\n /* force our StyleSheets to emit entirely new tags */\n\n\n instance.sealAllTags();\n var renderedHtml = chunk.toString();\n /* prepend style html to chunk, unless the start of the chunk is a closing tag in which case append right after that */\n\n if (CLOSING_TAG_R.test(renderedHtml)) {\n var endOfClosingTag = renderedHtml.indexOf('>');\n this.push(renderedHtml.slice(0, endOfClosingTag + 1) + html + renderedHtml.slice(endOfClosingTag + 1));\n } else this.push(html + renderedHtml);\n\n callback();\n }\n });\n readableStream.on('end', function () {\n return _this.seal();\n });\n readableStream.on('error', function (err) {\n _this.seal(); // forward the error to the transform stream\n\n\n transformer.emit('error', err);\n });\n return readableStream.pipe(transformer);\n };\n\n return ServerStyleSheet;\n}(); // \n\n\nvar StyleSheetContext = createContext();\nvar StyleSheetConsumer = StyleSheetContext.Consumer;\n\nvar StyleSheetManager = function (_Component) {\n inherits(StyleSheetManager, _Component);\n\n function StyleSheetManager(props) {\n classCallCheck(this, StyleSheetManager);\n\n var _this = possibleConstructorReturn(this, _Component.call(this, props));\n\n _this.getContext = memoize(_this.getContext);\n return _this;\n }\n\n StyleSheetManager.prototype.getContext = function getContext(sheet, target) {\n if (sheet) {\n return sheet;\n } else if (target) {\n return new StyleSheet(target);\n } else {\n throw new StyledComponentsError(4);\n }\n };\n\n StyleSheetManager.prototype.render = function render() {\n var _props = this.props,\n children = _props.children,\n sheet = _props.sheet,\n target = _props.target;\n return React.createElement(StyleSheetContext.Provider, {\n value: this.getContext(sheet, target)\n }, process.env.NODE_ENV !== 'production' ? React.Children.only(children) : children);\n };\n\n return StyleSheetManager;\n}(Component);\n\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0; // \n\nvar identifiers = {};\n/* We depend on components having unique IDs */\n\nfunction generateId(_ComponentStyle, _displayName, parentComponentId) {\n var displayName = typeof _displayName !== 'string' ? 'sc' : escape(_displayName);\n /**\n * This ensures uniqueness if two components happen to share\n * the same displayName.\n */\n\n var nr = (identifiers[displayName] || 0) + 1;\n identifiers[displayName] = nr;\n\n var componentId = displayName + '-' + _ComponentStyle.generateName(displayName + nr);\n\n return parentComponentId ? parentComponentId + '-' + componentId : componentId;\n} // $FlowFixMe\n\n\nvar StyledComponent = function (_Component) {\n inherits(StyledComponent, _Component);\n\n function StyledComponent() {\n classCallCheck(this, StyledComponent);\n\n var _this = possibleConstructorReturn(this, _Component.call(this));\n\n _this.attrs = {};\n _this.renderOuter = _this.renderOuter.bind(_this);\n _this.renderInner = _this.renderInner.bind(_this);\n\n if (process.env.NODE_ENV !== 'production') {\n _this.warnInnerRef = once(function (displayName) {\n return (// eslint-disable-next-line no-console\n console.warn('The \"innerRef\" API has been removed in styled-components v4 in favor of React 16 ref forwarding, use \"ref\" instead like a typical component. \"innerRef\" was detected on component \"' + displayName + '\".')\n );\n });\n _this.warnAttrsFnObjectKeyDeprecated = once(function (key, displayName) {\n return (// eslint-disable-next-line no-console\n console.warn('Functions as object-form attrs({}) keys are now deprecated and will be removed in a future version of styled-components. Switch to the new attrs(props => ({})) syntax instead for easier and more powerful composition. The attrs key in question is \"' + key + '\" on component \"' + displayName + '\".', '\\n ' + new Error().stack)\n );\n });\n _this.warnNonStyledComponentAttrsObjectKey = once(function (key, displayName) {\n return (// eslint-disable-next-line no-console\n console.warn('It looks like you\\'ve used a non styled-component as the value for the \"' + key + '\" prop in an object-form attrs constructor of \"' + displayName + '\".\\n' + 'You should use the new function-form attrs constructor which avoids this issue: attrs(props => ({ yourStuff }))\\n' + \"To continue using the deprecated object syntax, you'll need to wrap your component prop in a function to make it available inside the styled component (you'll still get the deprecation warning though.)\\n\" + ('For example, { ' + key + ': () => InnerComponent } instead of { ' + key + ': InnerComponent }'))\n );\n });\n }\n\n return _this;\n }\n\n StyledComponent.prototype.render = function render() {\n return React.createElement(StyleSheetConsumer, null, this.renderOuter);\n };\n\n StyledComponent.prototype.renderOuter = function renderOuter() {\n var styleSheet = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : StyleSheet.master;\n this.styleSheet = styleSheet; // No need to subscribe a static component to theme changes, it won't change anything\n\n if (this.props.forwardedComponent.componentStyle.isStatic) return this.renderInner();\n return React.createElement(ThemeConsumer, null, this.renderInner);\n };\n\n StyledComponent.prototype.renderInner = function renderInner(theme) {\n var _props$forwardedCompo = this.props.forwardedComponent,\n componentStyle = _props$forwardedCompo.componentStyle,\n defaultProps = _props$forwardedCompo.defaultProps,\n displayName = _props$forwardedCompo.displayName,\n foldedComponentIds = _props$forwardedCompo.foldedComponentIds,\n styledComponentId = _props$forwardedCompo.styledComponentId,\n target = _props$forwardedCompo.target;\n var generatedClassName = void 0;\n\n if (componentStyle.isStatic) {\n generatedClassName = this.generateAndInjectStyles(EMPTY_OBJECT, this.props);\n } else {\n generatedClassName = this.generateAndInjectStyles(determineTheme(this.props, theme, defaultProps) || EMPTY_OBJECT, this.props);\n }\n\n var elementToBeCreated = this.props.as || this.attrs.as || target;\n var isTargetTag = isTag(elementToBeCreated);\n var propsForElement = {};\n\n var computedProps = _extends({}, this.props, this.attrs);\n\n var key = void 0; // eslint-disable-next-line guard-for-in\n\n for (key in computedProps) {\n if (process.env.NODE_ENV !== 'production' && key === 'innerRef' && isTargetTag) {\n this.warnInnerRef(displayName);\n }\n\n if (key === 'forwardedComponent' || key === 'as') {\n continue;\n } else if (key === 'forwardedRef') propsForElement.ref = computedProps[key];else if (key === 'forwardedAs') propsForElement.as = computedProps[key];else if (!isTargetTag || validAttr(key)) {\n // Don't pass through non HTML tags through to HTML elements\n propsForElement[key] = computedProps[key];\n }\n }\n\n if (this.props.style && this.attrs.style) {\n propsForElement.style = _extends({}, this.attrs.style, this.props.style);\n }\n\n propsForElement.className = Array.prototype.concat(foldedComponentIds, styledComponentId, generatedClassName !== styledComponentId ? generatedClassName : null, this.props.className, this.attrs.className).filter(Boolean).join(' ');\n return createElement(elementToBeCreated, propsForElement);\n };\n\n StyledComponent.prototype.buildExecutionContext = function buildExecutionContext(theme, props, attrs) {\n var _this2 = this;\n\n var context = _extends({}, props, {\n theme: theme\n });\n\n if (!attrs.length) return context;\n this.attrs = {};\n attrs.forEach(function (attrDef) {\n var resolvedAttrDef = attrDef;\n var attrDefWasFn = false;\n var attr = void 0;\n var key = void 0;\n\n if (isFunction(resolvedAttrDef)) {\n // $FlowFixMe\n resolvedAttrDef = resolvedAttrDef(context);\n attrDefWasFn = true;\n }\n /* eslint-disable guard-for-in */\n // $FlowFixMe\n\n\n for (key in resolvedAttrDef) {\n attr = resolvedAttrDef[key];\n\n if (!attrDefWasFn) {\n if (isFunction(attr) && !isDerivedReactComponent(attr) && !isStyledComponent(attr)) {\n if (process.env.NODE_ENV !== 'production') {\n _this2.warnAttrsFnObjectKeyDeprecated(key, props.forwardedComponent.displayName);\n }\n\n attr = attr(context);\n\n if (process.env.NODE_ENV !== 'production' && React.isValidElement(attr)) {\n _this2.warnNonStyledComponentAttrsObjectKey(key, props.forwardedComponent.displayName);\n }\n }\n }\n\n _this2.attrs[key] = attr;\n context[key] = attr;\n }\n /* eslint-enable */\n\n });\n return context;\n };\n\n StyledComponent.prototype.generateAndInjectStyles = function generateAndInjectStyles(theme, props) {\n var _props$forwardedCompo2 = props.forwardedComponent,\n attrs = _props$forwardedCompo2.attrs,\n componentStyle = _props$forwardedCompo2.componentStyle,\n warnTooManyClasses = _props$forwardedCompo2.warnTooManyClasses; // statically styled-components don't need to build an execution context object,\n // and shouldn't be increasing the number of class names\n\n if (componentStyle.isStatic && !attrs.length) {\n return componentStyle.generateAndInjectStyles(EMPTY_OBJECT, this.styleSheet);\n }\n\n var className = componentStyle.generateAndInjectStyles(this.buildExecutionContext(theme, props, attrs), this.styleSheet);\n if (process.env.NODE_ENV !== 'production' && warnTooManyClasses) warnTooManyClasses(className);\n return className;\n };\n\n return StyledComponent;\n}(Component);\n\nfunction createStyledComponent(target, options, rules) {\n var isTargetStyledComp = isStyledComponent(target);\n var isClass = !isTag(target);\n var _options$displayName = options.displayName,\n displayName = _options$displayName === undefined ? generateDisplayName(target) : _options$displayName,\n _options$componentId = options.componentId,\n componentId = _options$componentId === undefined ? generateId(ComponentStyle, options.displayName, options.parentComponentId) : _options$componentId,\n _options$ParentCompon = options.ParentComponent,\n ParentComponent = _options$ParentCompon === undefined ? StyledComponent : _options$ParentCompon,\n _options$attrs = options.attrs,\n attrs = _options$attrs === undefined ? EMPTY_ARRAY : _options$attrs;\n var styledComponentId = options.displayName && options.componentId ? escape(options.displayName) + '-' + options.componentId : options.componentId || componentId; // fold the underlying StyledComponent attrs up (implicit extend)\n\n var finalAttrs = // $FlowFixMe\n isTargetStyledComp && target.attrs ? Array.prototype.concat(target.attrs, attrs).filter(Boolean) : attrs;\n var componentStyle = new ComponentStyle(isTargetStyledComp ? // fold the underlying StyledComponent rules up (implicit extend)\n // $FlowFixMe\n target.componentStyle.rules.concat(rules) : rules, finalAttrs, styledComponentId);\n /**\n * forwardRef creates a new interim component, which we'll take advantage of\n * instead of extending ParentComponent to create _another_ interim class\n */\n\n var WrappedStyledComponent = void 0;\n\n var forwardRef = function forwardRef(props, ref) {\n return React.createElement(ParentComponent, _extends({}, props, {\n forwardedComponent: WrappedStyledComponent,\n forwardedRef: ref\n }));\n };\n\n forwardRef.displayName = displayName;\n WrappedStyledComponent = React.forwardRef(forwardRef);\n WrappedStyledComponent.displayName = displayName; // $FlowFixMe\n\n WrappedStyledComponent.attrs = finalAttrs; // $FlowFixMe\n\n WrappedStyledComponent.componentStyle = componentStyle; // $FlowFixMe\n\n WrappedStyledComponent.foldedComponentIds = isTargetStyledComp ? // $FlowFixMe\n Array.prototype.concat(target.foldedComponentIds, target.styledComponentId) : EMPTY_ARRAY; // $FlowFixMe\n\n WrappedStyledComponent.styledComponentId = styledComponentId; // fold the underlying StyledComponent target up since we folded the styles\n // $FlowFixMe\n\n WrappedStyledComponent.target = isTargetStyledComp ? target.target : target; // $FlowFixMe\n\n WrappedStyledComponent.withComponent = function withComponent(tag) {\n var previousComponentId = options.componentId,\n optionsToCopy = objectWithoutProperties(options, ['componentId']);\n var newComponentId = previousComponentId && previousComponentId + '-' + (isTag(tag) ? tag : escape(getComponentName(tag)));\n\n var newOptions = _extends({}, optionsToCopy, {\n attrs: finalAttrs,\n componentId: newComponentId,\n ParentComponent: ParentComponent\n });\n\n return createStyledComponent(tag, newOptions, rules);\n }; // $FlowFixMe\n\n\n Object.defineProperty(WrappedStyledComponent, 'defaultProps', {\n get: function get$$1() {\n return this._foldedDefaultProps;\n },\n set: function set$$1(obj) {\n // $FlowFixMe\n this._foldedDefaultProps = isTargetStyledComp ? merge(target.defaultProps, obj) : obj;\n }\n });\n\n if (process.env.NODE_ENV !== 'production') {\n // $FlowFixMe\n WrappedStyledComponent.warnTooManyClasses = createWarnTooManyClasses(displayName);\n } // $FlowFixMe\n\n\n WrappedStyledComponent.toString = function () {\n return '.' + WrappedStyledComponent.styledComponentId;\n };\n\n if (isClass) {\n hoistNonReactStatics(WrappedStyledComponent, target, {\n // all SC-specific things should not be hoisted\n attrs: true,\n componentStyle: true,\n displayName: true,\n foldedComponentIds: true,\n styledComponentId: true,\n target: true,\n withComponent: true\n });\n }\n\n return WrappedStyledComponent;\n} // \n// Thanks to ReactDOMFactories for this handy list!\n\n\nvar domElements = ['a', 'abbr', 'address', 'area', 'article', 'aside', 'audio', 'b', 'base', 'bdi', 'bdo', 'big', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'cite', 'code', 'col', 'colgroup', 'data', 'datalist', 'dd', 'del', 'details', 'dfn', 'dialog', 'div', 'dl', 'dt', 'em', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'iframe', 'img', 'input', 'ins', 'kbd', 'keygen', 'label', 'legend', 'li', 'link', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meta', 'meter', 'nav', 'noscript', 'object', 'ol', 'optgroup', 'option', 'output', 'p', 'param', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'script', 'section', 'select', 'small', 'source', 'span', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'textarea', 'tfoot', 'th', 'thead', 'time', 'title', 'tr', 'track', 'u', 'ul', 'var', 'video', 'wbr', // SVG\n'circle', 'clipPath', 'defs', 'ellipse', 'foreignObject', 'g', 'image', 'line', 'linearGradient', 'marker', 'mask', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'stop', 'svg', 'text', 'tspan']; // \n\nvar styled = function styled(tag) {\n return constructWithOptions(createStyledComponent, tag);\n}; // Shorthands for all valid HTML Elements\n\n\ndomElements.forEach(function (domElement) {\n styled[domElement] = styled(domElement);\n}); // \n\nvar GlobalStyle = function () {\n function GlobalStyle(rules, componentId) {\n classCallCheck(this, GlobalStyle);\n this.rules = rules;\n this.componentId = componentId;\n this.isStatic = isStaticRules(rules, EMPTY_ARRAY);\n\n if (!StyleSheet.master.hasId(componentId)) {\n StyleSheet.master.deferredInject(componentId, []);\n }\n }\n\n GlobalStyle.prototype.createStyles = function createStyles(executionContext, styleSheet) {\n var flatCSS = flatten(this.rules, executionContext, styleSheet);\n var css = stringifyRules(flatCSS, '');\n styleSheet.inject(this.componentId, css);\n };\n\n GlobalStyle.prototype.removeStyles = function removeStyles(styleSheet) {\n var componentId = this.componentId;\n\n if (styleSheet.hasId(componentId)) {\n styleSheet.remove(componentId);\n }\n }; // TODO: overwrite in-place instead of remove+create?\n\n\n GlobalStyle.prototype.renderStyles = function renderStyles(executionContext, styleSheet) {\n this.removeStyles(styleSheet);\n this.createStyles(executionContext, styleSheet);\n };\n\n return GlobalStyle;\n}(); // \n// place our cache into shared context so it'll persist between HMRs\n\n\nif (IS_BROWSER) {\n window.scCGSHMRCache = {};\n}\n\nfunction createGlobalStyle(strings) {\n for (var _len = arguments.length, interpolations = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n interpolations[_key - 1] = arguments[_key];\n }\n\n var rules = css.apply(undefined, [strings].concat(interpolations));\n var id = 'sc-global-' + murmurhash(JSON.stringify(rules));\n var style = new GlobalStyle(rules, id);\n\n var GlobalStyleComponent = function (_React$Component) {\n inherits(GlobalStyleComponent, _React$Component);\n\n function GlobalStyleComponent(props) {\n classCallCheck(this, GlobalStyleComponent);\n\n var _this = possibleConstructorReturn(this, _React$Component.call(this, props));\n\n var _this$constructor = _this.constructor,\n globalStyle = _this$constructor.globalStyle,\n styledComponentId = _this$constructor.styledComponentId;\n\n if (IS_BROWSER) {\n window.scCGSHMRCache[styledComponentId] = (window.scCGSHMRCache[styledComponentId] || 0) + 1;\n }\n /**\n * This fixes HMR compatibility. Don't ask me why, but this combination of\n * caching the closure variables via statics and then persisting the statics in\n * state works across HMR where no other combination did. ¯\\_(ツ)_/¯\n */\n\n\n _this.state = {\n globalStyle: globalStyle,\n styledComponentId: styledComponentId\n };\n return _this;\n }\n\n GlobalStyleComponent.prototype.componentWillUnmount = function componentWillUnmount() {\n if (window.scCGSHMRCache[this.state.styledComponentId]) {\n window.scCGSHMRCache[this.state.styledComponentId] -= 1;\n }\n /**\n * Depending on the order \"render\" is called this can cause the styles to be lost\n * until the next render pass of the remaining instance, which may\n * not be immediate.\n */\n\n\n if (window.scCGSHMRCache[this.state.styledComponentId] === 0) {\n this.state.globalStyle.removeStyles(this.styleSheet);\n }\n };\n\n GlobalStyleComponent.prototype.render = function render() {\n var _this2 = this;\n\n if (process.env.NODE_ENV !== 'production' && React.Children.count(this.props.children)) {\n // eslint-disable-next-line no-console\n console.warn('The global style component ' + this.state.styledComponentId + ' was given child JSX. createGlobalStyle does not render children.');\n }\n\n return React.createElement(StyleSheetConsumer, null, function (styleSheet) {\n _this2.styleSheet = styleSheet || StyleSheet.master;\n var globalStyle = _this2.state.globalStyle;\n\n if (globalStyle.isStatic) {\n globalStyle.renderStyles(STATIC_EXECUTION_CONTEXT, _this2.styleSheet);\n return null;\n } else {\n return React.createElement(ThemeConsumer, null, function (theme) {\n // $FlowFixMe\n var defaultProps = _this2.constructor.defaultProps;\n\n var context = _extends({}, _this2.props);\n\n if (typeof theme !== 'undefined') {\n context.theme = determineTheme(_this2.props, theme, defaultProps);\n }\n\n globalStyle.renderStyles(context, _this2.styleSheet);\n return null;\n });\n }\n });\n };\n\n return GlobalStyleComponent;\n }(React.Component);\n\n GlobalStyleComponent.globalStyle = style;\n GlobalStyleComponent.styledComponentId = id;\n return GlobalStyleComponent;\n} // \n\n\nvar replaceWhitespace = function replaceWhitespace(str) {\n return str.replace(/\\s|\\\\n/g, '');\n};\n\nfunction keyframes(strings) {\n /* Warning if you've used keyframes on React Native */\n if (process.env.NODE_ENV !== 'production' && typeof navigator !== 'undefined' && navigator.product === 'ReactNative') {\n // eslint-disable-next-line no-console\n console.warn('`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.');\n }\n\n for (var _len = arguments.length, interpolations = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n interpolations[_key - 1] = arguments[_key];\n }\n\n var rules = css.apply(undefined, [strings].concat(interpolations));\n var name = generateAlphabeticName(murmurhash(replaceWhitespace(JSON.stringify(rules))));\n return new Keyframes(name, stringifyRules(rules, name, '@keyframes'));\n} // \n\n\nvar withTheme = function withTheme(Component$$1) {\n var WithTheme = React.forwardRef(function (props, ref) {\n return React.createElement(ThemeConsumer, null, function (theme) {\n // $FlowFixMe\n var defaultProps = Component$$1.defaultProps;\n var themeProp = determineTheme(props, theme, defaultProps);\n\n if (process.env.NODE_ENV !== 'production' && themeProp === undefined) {\n // eslint-disable-next-line no-console\n console.warn('[withTheme] You are not using a ThemeProvider nor passing a theme prop or a theme in defaultProps in component class \"' + getComponentName(Component$$1) + '\"');\n }\n\n return React.createElement(Component$$1, _extends({}, props, {\n theme: themeProp,\n ref: ref\n }));\n });\n });\n hoistNonReactStatics(WithTheme, Component$$1);\n WithTheme.displayName = 'WithTheme(' + getComponentName(Component$$1) + ')';\n return WithTheme;\n}; // \n\n/* eslint-disable */\n\n\nvar __DO_NOT_USE_OR_YOU_WILL_BE_HAUNTED_BY_SPOOKY_GHOSTS = {\n StyleSheet: StyleSheet\n}; // \n\n/* Warning if you've imported this file on React Native */\n\nif (process.env.NODE_ENV !== 'production' && typeof navigator !== 'undefined' && navigator.product === 'ReactNative') {\n // eslint-disable-next-line no-console\n console.warn(\"It looks like you've imported 'styled-components' on React Native.\\n\" + \"Perhaps you're looking to import 'styled-components/native'?\\n\" + 'Read more about this at https://www.styled-components.com/docs/basics#react-native');\n}\n/* Warning if there are several instances of styled-components */\n\n\nif (process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'test' && typeof window !== 'undefined' && typeof navigator !== 'undefined' && typeof navigator.userAgent === 'string' && navigator.userAgent.indexOf('Node.js') === -1 && navigator.userAgent.indexOf('jsdom') === -1) {\n window['__styled-components-init__'] = window['__styled-components-init__'] || 0;\n\n if (window['__styled-components-init__'] === 1) {\n // eslint-disable-next-line no-console\n console.warn(\"It looks like there are several instances of 'styled-components' initialized in this application. \" + 'This may cause dynamic styles not rendering properly, errors happening during rehydration process ' + 'and makes your application bigger without a good reason.\\n\\n' + 'See https://s-c.sh/2BAXzed for more info.');\n }\n\n window['__styled-components-init__'] += 1;\n} //\n\n\nexport default styled;\nexport { createGlobalStyle, css, isStyledComponent, keyframes, ServerStyleSheet, StyleSheetConsumer, StyleSheetContext, StyleSheetManager, ThemeConsumer, ThemeContext, ThemeProvider, withTheme, __DO_NOT_USE_OR_YOU_WILL_BE_HAUNTED_BY_SPOOKY_GHOSTS };","export default function _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}"],"sourceRoot":""}