-
Notifications
You must be signed in to change notification settings - Fork 0
/
e50e9c162871c1d91fba5ce567a5656e16dc6783-116e63c62c1a5c6bfa4e.js.map
1 lines (1 loc) · 125 KB
/
e50e9c162871c1d91fba5ce567a5656e16dc6783-116e63c62c1a5c6bfa4e.js.map
1
{"version":3,"sources":["webpack:///./node_modules/react-reveal/Fade.js","webpack:///./node_modules/react-reveal/RevealBase.js","webpack:///./node_modules/react-bootstrap/esm/Container.js","webpack:///./node_modules/react-side-effect/lib/index.js","webpack:///./node_modules/classnames/index.js","webpack:///./node_modules/react-reveal/globals.js","webpack:///./node_modules/react-fast-compare/index.js","webpack:///./node_modules/react-reveal/wrap.js","webpack:///./node_modules/nanoid/index.browser.js","webpack:///./src/mock/data.js","webpack:///./node_modules/react-helmet/es/Helmet.js","webpack:///./node_modules/react-bootstrap/esm/ThemeProvider.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":["_objectWithoutProperties","o","e","r","t","indexOf","Object","prototype","hasOwnProperty","call","make","distance","left","p","right","a","up","l","down","i","top","u","bottom","n","big","s","mirror","d","opposite","_","toString","lookup","f","y","b","v","c","_globals","animation","Fade","arguments","length","defaults","children","out","forever","timeout","duration","delay","count","style","animationFillMode","reverse","_wrap2","default","defineProperty","exports","value","_propTypes","_wrap","__esModule","propTypes","bool","number","string","module","_typeof","Symbol","iterator","constructor","_slicedToArray","Array","isArray","next","done","push","return","TypeError","_extends","assign","_createClass","enumerable","configurable","writable","key","_react","_react2","inOut","shape","func","isRequired","object","collapse","collapseEl","element","cascade","wait","force","disabled","appear","enter","exit","fraction","refProp","innerRef","onReveal","unmountOnExit","mountOnEnter","inEffect","outEffect","oneOfType","oneOf","ssrReveal","collapseOnly","ssrFadeout","contextTypes","transitionGroup","RevealBase","_classCallCheck","this","ReferenceError","_possibleConstructorReturn","__proto__","getPrototypeOf","isOn","when","state","getInitialCollapseStyle","opacity","savedChild","isShown","observerMode","handleObserve","bind","revealHandler","makeHandler","reveal","resizeHandler","resize","saveRef","create","setPrototypeOf","_inherits","childRef","props","el","observe","setState","hasExited","visibility","window","document","dispatchEvent","collapseend","animationEndTimeout","setTimeout","offsetHeight","parseInt","getComputedStyle","getPropertyValue","getDimensionValue","animationDuration","animationDelay","height","transition","overflow","unlisten","animationName","hasAppeared","animationIterationCount","className","cloneElement","getChild","animationEnd","invisible","onRevealTimeout","clearTimeout","ssr","disableSsr","intersectionRatio","disconnect","observer","IntersectionObserver","threshold","globalHide","hideAll","spy","inViewport","animate","listen","context","isMounting","fadeOutEnabled","getTop","pageYOffset","innerHeight","split","map","createElement","display","whiteSpace","Children","toArray","Math","round","onExited","only","type","ref","namespace","_defineProperty","h","ticking","raf","hidden","min","isListener","addEventListener","passive","removeEventListener","offsetTop","parentNode","offsetParent","Component","defaultProps","displayName","Container","forwardRef","_ref","bsPrefix","fluid","_ref$as","as","prefix","suffix","ex","React","React__default","obj","canUseDOM","reducePropsToState","handleStateChangeOnClient","mapStateOnServer","Error","WrappedComponent","mountedInstances","emitChange","instance","SideEffect","_PureComponent","subClass","superClass","apply","peek","rewind","recordedState","undefined","_proto","UNSAFE_componentWillMount","componentDidUpdate","componentWillUnmount","index","splice","render","PureComponent","name","getDisplayName","hasOwn","classNames","classes","arg","argType","inner","join","insertRule","sheet","cssRules","console","warn","log","exp","counter","effectMap","ie10","floor","random","navigator","IntersectionObserverEntry","test","requestAnimationFrame","webkitRequestAnimationFrame","mozRequestAnimationFrame","querySelectorAll","appVersion","performance","timing","domLoading","Date","now","createEvent","initEvent","head","appendChild","hasElementType","Element","hasMap","Map","hasSet","Set","hasArrayBuffer","ArrayBuffer","isView","equal","keys","it","size","entries","has","get","RegExp","source","flags","valueOf","$$typeof","error","message","match","_interopRequireDefault","in","_RevealBase2","Fragment","nanoid","id","bytes","crypto","getRandomValues","Uint8Array","byte","toUpperCase","headData","title","lang","description","heroData","subtitle","cta","aboutData","img","paragraphOne","paragraphTwo","paragraphThree","resume","projectsData","info","info2","url","repo","contactData","btn","email","footerData","networks","githubButtons","isEnabled","clock","_class","_temp","ATTRIBUTE_NAMES","TAG_NAMES","BASE","BODY","HEAD","HTML","LINK","META","NOSCRIPT","SCRIPT","STYLE","TITLE","TAG_PROPERTIES","REACT_TAG_MAP","accesskey","charset","class","contenteditable","contextmenu","itemprop","tabindex","HELMET_PROPS","HTML_TAG_MAP","reduce","SELF_CLOSING_TAGS","classCallCheck","Constructor","createClass","defineProperties","target","descriptor","protoProps","staticProps","objectWithoutProperties","possibleConstructorReturn","self","encodeSpecialCharacters","str","encode","String","replace","getTitleFromPropsList","propsList","innermostTitle","getInnermostProperty","innermostTemplate","innermostDefaultTitle","getOnChangeClientState","getAttributesFromPropsList","tagType","filter","tagAttrs","current","getBaseTagFromPropsList","primaryAttributes","innermostBaseTag","tag","lowerCaseAttributeKey","toLowerCase","concat","getTagsFromPropsList","tagName","approvedSeenTags","approvedTags","instanceTags","instanceSeenTags","primaryAttributeKey","attributeKey","forEach","tagUnion","property","rafPolyfill","callback","currentTime","cafPolyfill","global","cancelAnimationFrame","webkitCancelAnimationFrame","mozCancelAnimationFrame","msg","_helmetCallback","commitTagChanges","newState","cb","baseTag","bodyAttributes","htmlAttributes","linkTags","metaTags","noscriptTags","onChangeClientState","scriptTags","styleTags","titleAttributes","updateAttributes","updateTitle","tagUpdates","updateTags","addedTags","removedTags","_tagUpdates$tagType","newTags","oldTags","flattenArray","possibleArray","attributes","elementTag","getElementsByTagName","helmetAttributeString","getAttribute","helmetAttributes","attributesToRemove","attributeKeys","attribute","setAttribute","indexToSave","_i","removeAttribute","tags","headElement","querySelector","tagNodes","slice","indexToDelete","newElement","innerHTML","styleSheet","cssText","createTextNode","some","existingTag","isEqualNode","removeChild","generateElementAttributesAsString","attr","convertElementAttributestoReactProps","initProps","getMethodsForTag","toComponent","_initProps","attributeString","flattenedTitle","generateTitleAsString","_mappedTag","mappedTag","mappedAttribute","content","dangerouslySetInnerHTML","__html","generateTagsAsReactComponent","attributeHtml","tagContent","isSelfClosing","generateTagsAsString","_ref$title","base","link","meta","noscript","script","HelmetSideEffects","defer","HelmetExport","_React$Component","HelmetWrapper","inherits","shouldComponentUpdate","nextProps","mapNestedChildrenToProps","child","nestedChildren","flattenArrayTypeChildren","_babelHelpers$extends","arrayTypeChildren","newChildProps","mapObjectTypeChildren","_ref2","_babelHelpers$extends2","_babelHelpers$extends3","newProps","mapArrayTypeChildrenToProps","newFlattenedProps","arrayChildName","_babelHelpers$extends4","warnOnInvalidChildren","mapChildrenToProps","_this2","_child$props","initAttributes","convertReactPropstoHtmlAttributes","_props","set","arrayOf","node","defaultTitle","titleTemplate","mappedState","renderStatic","ThemeContext","createContext","Consumer","Provider","useBootstrapPrefix","defaultPrefix","prefixes","g","Function","_objectWithoutPropertiesLoose","excluded","sourceKeys"],"mappings":";6FAQA,SAASA,EAAyBC,EAAGC,GACnC,IAAIC,EAAI,GAER,IAAK,IAAIC,KAAKH,EACZC,EAAEG,QAAQD,IAAM,GAAKE,OAAOC,UAAUC,eAAeC,KAAKR,EAAGG,KAAOD,EAAEC,GAAKH,EAAEG,IAG/E,OAAOD,EAGT,SAASO,EAAKT,EAAGC,GACf,IAAIC,EAAID,EAAES,SACNP,EAAIF,EAAEU,KACNC,EAAIX,EAAEY,MACNC,EAAIb,EAAEc,GACNC,EAAIf,EAAEgB,KACNC,EAAIjB,EAAEkB,IACNC,EAAInB,EAAEoB,OACNC,EAAIrB,EAAEsB,IACNC,EAAIvB,EAAEwB,OACNC,EAAIzB,EAAE0B,SACNC,GAAK1B,EAAIA,EAAE2B,WAAa,KAAO1B,EAAI,EAAI,IAAMS,EAAI,EAAI,IAAMM,GAAKF,EAAI,EAAI,IAAMI,GAAKN,EAAI,EAAI,IAAMU,EAAI,GAAK,IAAME,EAAI,GAAK,IAAM1B,EAAI,GAAK,IAAMsB,EAAI,IAAM,IAE5J,GAAIQ,EAAOvB,eAAeqB,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AI,EAAGA,EAAI6iB,EAAWvhB,OAAQtB,IACjCiE,EAAM4e,EAAW7iB,GACb4iB,EAAS1jB,QAAQ+E,IAAQ,IAC7BwT,EAAOxT,GAAO4O,EAAO5O,IAGvB,OAAOwT,EAZT","file":"e50e9c162871c1d91fba5ce567a5656e16dc6783-116e63c62c1a5c6bfa4e.js","sourcesContent":["\"use strict\";\n\nfunction _interopRequireDefault(o) {\n return o && o.__esModule ? o : {\n default: o\n };\n}\n\nfunction _objectWithoutProperties(o, e) {\n var r = {};\n\n for (var t in o) {\n e.indexOf(t) >= 0 || Object.prototype.hasOwnProperty.call(o, t) && (r[t] = o[t]);\n }\n\n return r;\n}\n\nfunction make(o, e) {\n var r = e.distance,\n t = e.left,\n p = e.right,\n a = e.up,\n l = e.down,\n i = e.top,\n u = e.bottom,\n n = e.big,\n s = e.mirror,\n d = e.opposite,\n _ = (r ? r.toString() : 0) + ((t ? 1 : 0) | (p ? 2 : 0) | (i || l ? 4 : 0) | (u || a ? 8 : 0) | (s ? 16 : 0) | (d ? 32 : 0) | (o ? 64 : 0) | (n ? 128 : 0));\n\n if (lookup.hasOwnProperty(_)) return lookup[_];\n var f = t || p || a || l || i || u,\n y = void 0,\n b = void 0;\n\n if (f) {\n if (!s != !(o && d)) {\n var v = [p, t, u, i, l, a];\n t = v[0], p = v[1], i = v[2], u = v[3], a = v[4], l = v[5];\n }\n\n var c = r || (n ? \"2000px\" : \"100%\");\n y = t ? \"-\" + c : p ? c : \"0\", b = l || i ? \"-\" + c : a || u ? c : \"0\";\n }\n\n return lookup[_] = (0, _globals.animation)((o ? \"to\" : \"from\") + \" {opacity: 0;\" + (f ? \" transform: translate3d(\" + y + \", \" + b + \", 0);\" : \"\") + \"}\\n \" + (o ? \"from\" : \"to\") + \" {opacity: 1;transform: none;} \"), lookup[_];\n}\n\nfunction Fade() {\n var o = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : _globals.defaults,\n e = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],\n r = o.children,\n t = (o.out, o.forever),\n p = o.timeout,\n a = o.duration,\n l = void 0 === a ? _globals.defaults.duration : a,\n i = o.delay,\n u = void 0 === i ? _globals.defaults.delay : i,\n n = o.count,\n s = void 0 === n ? _globals.defaults.count : n,\n d = _objectWithoutProperties(o, [\"children\", \"out\", \"forever\", \"timeout\", \"duration\", \"delay\", \"count\"]),\n _ = {\n make: make,\n duration: void 0 === p ? l : p,\n delay: u,\n forever: t,\n count: s,\n style: {\n animationFillMode: \"both\"\n },\n reverse: d.left\n };\n\n return e ? (0, _wrap2.default)(d, _, _, r) : _;\n}\n\nObject.defineProperty(exports, \"__esModule\", {\n value: !0\n});\n\nvar _propTypes = require(\"prop-types\"),\n _globals = require(\"./globals\"),\n _wrap = require(\"./wrap\"),\n _wrap2 = _interopRequireDefault(_wrap),\n propTypes = {\n out: _propTypes.bool,\n left: _propTypes.bool,\n right: _propTypes.bool,\n top: _propTypes.bool,\n bottom: _propTypes.bool,\n big: _propTypes.bool,\n mirror: _propTypes.bool,\n opposite: _propTypes.bool,\n duration: _propTypes.number,\n timeout: _propTypes.number,\n distance: _propTypes.string,\n delay: _propTypes.number,\n count: _propTypes.number,\n forever: _propTypes.bool\n},\n lookup = {};\n\nFade.propTypes = propTypes, exports.default = Fade, module.exports = exports.default;","\"use strict\";\n\nfunction _interopRequireDefault(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n}\n\nfunction _defineProperty(e, t, i) {\n return t in e ? Object.defineProperty(e, t, {\n value: i,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }) : e[t] = i, e;\n}\n\nfunction _classCallCheck(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n}\n\nfunction _possibleConstructorReturn(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != typeof t && \"function\" != typeof t ? e : t;\n}\n\nfunction _inherits(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + typeof t);\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n}\n\nObject.defineProperty(exports, \"__esModule\", {\n value: !0\n});\n\nvar _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (e) {\n return typeof e;\n} : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : typeof e;\n},\n _slicedToArray = function () {\n function e(e, t) {\n var i = [],\n s = !0,\n o = !1,\n n = void 0;\n\n try {\n for (var r, a = e[Symbol.iterator](); !(s = (r = a.next()).done) && (i.push(r.value), !t || i.length !== t); s = !0) {\n ;\n }\n } catch (e) {\n o = !0, n = e;\n } finally {\n try {\n !s && a.return && a.return();\n } finally {\n if (o) throw n;\n }\n }\n\n return i;\n }\n\n return function (t, i) {\n if (Array.isArray(t)) return t;\n if (Symbol.iterator in Object(t)) return e(t, i);\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n };\n}(),\n _extends = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var i = arguments[t];\n\n for (var s in i) {\n Object.prototype.hasOwnProperty.call(i, s) && (e[s] = i[s]);\n }\n }\n\n return e;\n},\n _createClass = function () {\n function e(e, t) {\n for (var i = 0; i < t.length; i++) {\n var s = t[i];\n s.enumerable = s.enumerable || !1, s.configurable = !0, \"value\" in s && (s.writable = !0), Object.defineProperty(e, s.key, s);\n }\n }\n\n return function (t, i, s) {\n return i && e(t.prototype, i), s && e(t, s), t;\n };\n}(),\n _react = require(\"react\"),\n _react2 = _interopRequireDefault(_react),\n _propTypes = require(\"prop-types\"),\n _globals = require(\"./globals\"),\n inOut = (0, _propTypes.shape)({\n make: _propTypes.func,\n duration: _propTypes.number.isRequired,\n delay: _propTypes.number.isRequired,\n forever: _propTypes.bool,\n count: _propTypes.number.isRequired,\n style: _propTypes.object.isRequired,\n reverse: _propTypes.bool\n}),\n propTypes = {\n collapse: _propTypes.bool,\n collapseEl: _propTypes.element,\n cascade: _propTypes.bool,\n wait: _propTypes.number,\n force: _propTypes.bool,\n disabled: _propTypes.bool,\n appear: _propTypes.bool,\n enter: _propTypes.bool,\n exit: _propTypes.bool,\n fraction: _propTypes.number,\n refProp: _propTypes.string,\n innerRef: _propTypes.func,\n onReveal: _propTypes.func,\n unmountOnExit: _propTypes.bool,\n mountOnEnter: _propTypes.bool,\n inEffect: inOut.isRequired,\n outEffect: (0, _propTypes.oneOfType)([inOut, (0, _propTypes.oneOf)([!1])]).isRequired,\n ssrReveal: _propTypes.bool,\n collapseOnly: _propTypes.bool,\n ssrFadeout: _propTypes.bool\n},\n defaultProps = {\n fraction: .2,\n refProp: \"ref\"\n},\n contextTypes = {\n transitionGroup: _propTypes.object\n},\n RevealBase = function (e) {\n function t(e, i) {\n _classCallCheck(this, t);\n\n var s = _possibleConstructorReturn(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, i));\n\n return s.isOn = void 0 === e.when || !!e.when, s.state = {\n collapse: e.collapse ? t.getInitialCollapseStyle(e) : void 0,\n style: {\n opacity: s.isOn && !e.ssrReveal || !e.outEffect ? void 0 : 0\n }\n }, s.savedChild = !1, s.isShown = !1, _globals.observerMode ? s.handleObserve = s.handleObserve.bind(s) : (s.revealHandler = s.makeHandler(s.reveal), s.resizeHandler = s.makeHandler(s.resize)), s.saveRef = s.saveRef.bind(s), s;\n }\n\n return _inherits(t, e), _createClass(t, [{\n key: \"saveRef\",\n value: function value(e) {\n this.childRef && this.childRef(e), this.props.innerRef && this.props.innerRef(e), this.el !== e && (this.el = e && \"offsetHeight\" in e ? e : void 0, this.observe(this.props, !0));\n }\n }, {\n key: \"invisible\",\n value: function value() {\n this && this.el && (this.savedChild = !1, this.isShown || (this.setState({\n hasExited: !0,\n collapse: this.props.collapse ? _extends({}, this.state.collapse, {\n visibility: \"hidden\"\n }) : null,\n style: {\n opacity: 0\n }\n }), !_globals.observerMode && this.props.collapse && window.document.dispatchEvent(_globals.collapseend)));\n }\n }, {\n key: \"animationEnd\",\n value: function value(e, t, i) {\n var s = this,\n o = i.forever,\n n = i.count,\n r = i.delay,\n a = i.duration;\n\n if (!o) {\n var l = function l() {\n s && s.el && (s.animationEndTimeout = void 0, e.call(s));\n };\n\n this.animationEndTimeout = window.setTimeout(l, r + (a + (t ? a : 0) * n));\n }\n }\n }, {\n key: \"getDimensionValue\",\n value: function value() {\n return this.el.offsetHeight + parseInt(window.getComputedStyle(this.el, null).getPropertyValue(\"margin-top\"), 10) + parseInt(window.getComputedStyle(this.el, null).getPropertyValue(\"margin-bottom\"), 10);\n }\n }, {\n key: \"collapse\",\n value: function value(e, t, i) {\n var s = i.duration + (t.cascade ? i.duration : 0),\n o = this.isOn ? this.getDimensionValue() : 0,\n n = void 0,\n r = void 0;\n if (t.collapseOnly) n = i.duration / 3, r = i.delay;else {\n var a = s >> 2,\n l = a >> 1;\n n = a, r = i.delay + (this.isOn ? 0 : s - a - l), e.style.animationDuration = s - a + (this.isOn ? l : -l) + \"ms\", e.style.animationDelay = i.delay + (this.isOn ? a - l : 0) + \"ms\";\n }\n return e.collapse = {\n height: o,\n transition: \"height \" + n + \"ms ease \" + r + \"ms\",\n overflow: t.collapseOnly ? \"hidden\" : void 0\n }, e;\n }\n }, {\n key: \"animate\",\n value: function value(e) {\n if (this && this.el && (this.unlisten(), this.isShown !== this.isOn)) {\n this.isShown = this.isOn;\n var t = !this.isOn && e.outEffect,\n i = e[t ? \"outEffect\" : \"inEffect\"],\n s = \"style\" in i && i.style.animationName || void 0,\n o = void 0;\n e.collapseOnly ? o = {\n hasAppeared: !0,\n hasExited: !1,\n style: {\n opacity: 1\n }\n } : ((e.outEffect || this.isOn) && i.make && (s = i.make), o = {\n hasAppeared: !0,\n hasExited: !1,\n collapse: void 0,\n style: _extends({}, i.style, {\n animationDuration: i.duration + \"ms\",\n animationDelay: i.delay + \"ms\",\n animationIterationCount: i.forever ? \"infinite\" : i.count,\n opacity: 1,\n animationName: s\n }),\n className: i.className\n }), this.setState(e.collapse ? this.collapse(o, e, i) : o), t ? (this.savedChild = _react2.default.cloneElement(this.getChild()), this.animationEnd(this.invisible, e.cascade, i)) : this.savedChild = !1, this.onReveal(e);\n }\n }\n }, {\n key: \"onReveal\",\n value: function value(e) {\n e.onReveal && this.isOn && (this.onRevealTimeout && (this.onRevealTimeout = window.clearTimeout(this.onRevealTimeout)), e.wait ? this.onRevealTimeout = window.setTimeout(e.onReveal, e.wait) : e.onReveal());\n }\n }, {\n key: \"componentWillUnmount\",\n value: function value() {\n this.unlisten(), _globals.ssr && (0, _globals.disableSsr)();\n }\n }, {\n key: \"handleObserve\",\n value: function value(e, t) {\n _slicedToArray(e, 1)[0].intersectionRatio > 0 && (t.disconnect(), this.observer = null, this.reveal(this.props, !0));\n }\n }, {\n key: \"observe\",\n value: function value(e) {\n var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1];\n\n if (this.el && _globals.observerMode) {\n if (this.observer) {\n if (!t) return;\n this.observer.disconnect();\n } else if (t) return;\n\n this.observer = new IntersectionObserver(this.handleObserve, {\n threshold: e.fraction\n }), this.observer.observe(this.el);\n }\n }\n }, {\n key: \"reveal\",\n value: function value(e) {\n var t = this,\n i = arguments.length > 1 && void 0 !== arguments[1] && arguments[1];\n _globals.globalHide || (0, _globals.hideAll)(), this && this.el && (e || (e = this.props), _globals.ssr && (0, _globals.disableSsr)(), this.isOn && this.isShown && void 0 !== e.spy ? (this.isShown = !1, this.setState({\n style: {}\n }), window.setTimeout(function () {\n return t.reveal(e);\n }, 200)) : i || this.inViewport(e) || e.force ? this.animate(e) : _globals.observerMode ? this.observe(e) : this.listen());\n }\n }, {\n key: \"componentDidMount\",\n value: function value() {\n var e = this;\n\n if (this.el && !this.props.disabled) {\n this.props.collapseOnly || (\"make\" in this.props.inEffect && this.props.inEffect.make(!1, this.props), void 0 !== this.props.when && this.props.outEffect && \"make\" in this.props.outEffect && this.props.outEffect.make(!0, this.props));\n var i = this.context.transitionGroup,\n s = i && !i.isMounting ? !(\"enter\" in this.props && !1 === this.props.enter) : this.props.appear;\n return this.isOn && ((void 0 !== this.props.when || void 0 !== this.props.spy) && !s || _globals.ssr && !_globals.fadeOutEnabled && !this.props.ssrFadeout && this.props.outEffect && !this.props.ssrReveal && t.getTop(this.el) < window.pageYOffset + window.innerHeight) ? (this.isShown = !0, this.setState({\n hasAppeared: !0,\n collapse: this.props.collapse ? {\n height: this.getDimensionValue()\n } : this.state.collapse,\n style: {\n opacity: 1\n }\n }), void this.onReveal(this.props)) : _globals.ssr && (_globals.fadeOutEnabled || this.props.ssrFadeout) && this.props.outEffect && t.getTop(this.el) < window.pageYOffset + window.innerHeight ? (this.setState({\n style: {\n opacity: 0,\n transition: \"opacity 1000ms 1000ms\"\n }\n }), void window.setTimeout(function () {\n return e.reveal(e.props, !0);\n }, 2e3)) : void (this.isOn && (this.props.force ? this.animate(this.props) : this.reveal(this.props)));\n }\n }\n }, {\n key: \"cascade\",\n value: function value(e) {\n var t = this,\n i = void 0;\n i = \"string\" == typeof e ? e.split(\"\").map(function (e, t) {\n return _react2.default.createElement(\"span\", {\n key: t,\n style: {\n display: \"inline-block\",\n whiteSpace: \"pre\"\n }\n }, e);\n }) : _react2.default.Children.toArray(e);\n var s = this.props[this.isOn || !this.props.outEffect ? \"inEffect\" : \"outEffect\"],\n o = s.duration,\n n = s.reverse,\n r = i.length,\n a = 2 * o;\n this.props.collapse && (a = parseInt(this.state.style.animationDuration, 10), o = a / 2);\n var l = n ? r : 0;\n return i = i.map(function (e) {\n return \"object\" === (void 0 === e ? \"undefined\" : _typeof(e)) && e ? _react2.default.cloneElement(e, {\n style: _extends({}, e.props.style, t.state.style, {\n animationDuration: Math.round((0, _globals.cascade)(n ? l-- : l++, 0, r, o, a)) + \"ms\"\n })\n }) : e;\n });\n }\n }, {\n key: \"componentWillReceiveProps\",\n value: function value(e) {\n if (void 0 !== e.when && (this.isOn = !!e.when), e.fraction !== this.props.fraction && this.observe(e, !0), !this.isOn && e.onExited && \"exit\" in e && !1 === e.exit) return void e.onExited();\n e.disabled || (e.collapse && !this.props.collapse && (this.setState({\n style: {},\n collapse: t.getInitialCollapseStyle(e)\n }), this.isShown = !1), e.when === this.props.when && e.spy === this.props.spy || this.reveal(e), this.onRevealTimeout && !this.isOn && (this.onRevealTimeout = window.clearTimeout(this.onRevealTimeout)));\n }\n }, {\n key: \"getChild\",\n value: function value() {\n if (this.savedChild && !this.props.disabled) return this.savedChild;\n\n if (\"object\" === _typeof(this.props.children)) {\n var e = _react2.default.Children.only(this.props.children);\n\n return \"type\" in e && \"string\" == typeof e.type || \"ref\" !== this.props.refProp ? e : _react2.default.createElement(\"div\", null, e);\n }\n\n return _react2.default.createElement(\"div\", null, this.props.children);\n }\n }, {\n key: \"render\",\n value: function value() {\n var e = void 0;\n e = this.state.hasAppeared ? !this.props.unmountOnExit || !this.state.hasExited || this.isOn : !this.props.mountOnEnter || this.isOn;\n var t = this.getChild();\n \"function\" == typeof t.ref && (this.childRef = t.ref);\n var i = !1,\n s = t.props,\n o = s.style,\n n = s.className,\n r = s.children,\n a = this.props.disabled ? n : (this.props.outEffect ? _globals.namespace : \"\") + (this.state.className ? \" \" + this.state.className : \"\") + (n ? \" \" + n : \"\") || void 0,\n l = void 0;\n \"function\" == typeof this.state.style.animationName && (this.state.style.animationName = this.state.style.animationName(!this.isOn, this.props)), this.props.cascade && !this.props.disabled && r && this.state.style.animationName ? (i = this.cascade(r), l = _extends({}, o, {\n opacity: 1\n })) : l = this.props.disabled ? o : _extends({}, o, this.state.style);\n\n var p = _extends({}, this.props.props, _defineProperty({\n className: a,\n style: l\n }, this.props.refProp, this.saveRef)),\n h = _react2.default.cloneElement(t, p, e ? i || r : void 0);\n\n return void 0 !== this.props.collapse ? this.props.collapseEl ? _react2.default.cloneElement(this.props.collapseEl, {\n style: _extends({}, this.props.collapseEl.style, this.props.disabled ? void 0 : this.state.collapse),\n children: h\n }) : _react2.default.createElement(\"div\", {\n style: this.props.disabled ? void 0 : this.state.collapse,\n children: h\n }) : h;\n }\n }, {\n key: \"makeHandler\",\n value: function value(e) {\n var t = this,\n i = function i() {\n e.call(t, t.props), t.ticking = !1;\n };\n\n return function () {\n t.ticking || ((0, _globals.raf)(i), t.ticking = !0);\n };\n }\n }, {\n key: \"inViewport\",\n value: function value(e) {\n if (!this.el || window.document.hidden) return !1;\n var i = this.el.offsetHeight,\n s = window.pageYOffset - t.getTop(this.el),\n o = Math.min(i, window.innerHeight) * (_globals.globalHide ? e.fraction : 0);\n return s > o - window.innerHeight && s < i - o;\n }\n }, {\n key: \"resize\",\n value: function value(e) {\n this && this.el && this.isOn && this.inViewport(e) && (this.unlisten(), this.isShown = this.isOn, this.setState({\n hasExited: !this.isOn,\n hasAppeared: !0,\n collapse: void 0,\n style: {\n opacity: this.isOn || !e.outEffect ? 1 : 0\n }\n }), this.onReveal(e));\n }\n }, {\n key: \"listen\",\n value: function value() {\n _globals.observerMode || this.isListener || (this.isListener = !0, window.addEventListener(\"scroll\", this.revealHandler, {\n passive: !0\n }), window.addEventListener(\"orientationchange\", this.revealHandler, {\n passive: !0\n }), window.document.addEventListener(\"visibilitychange\", this.revealHandler, {\n passive: !0\n }), window.document.addEventListener(\"collapseend\", this.revealHandler, {\n passive: !0\n }), window.addEventListener(\"resize\", this.resizeHandler, {\n passive: !0\n }));\n }\n }, {\n key: \"unlisten\",\n value: function value() {\n !_globals.observerMode && this.isListener && (window.removeEventListener(\"scroll\", this.revealHandler, {\n passive: !0\n }), window.removeEventListener(\"orientationchange\", this.revealHandler, {\n passive: !0\n }), window.document.removeEventListener(\"visibilitychange\", this.revealHandler, {\n passive: !0\n }), window.document.removeEventListener(\"collapseend\", this.revealHandler, {\n passive: !0\n }), window.removeEventListener(\"resize\", this.resizeHandler, {\n passive: !0\n }), this.isListener = !1), this.onRevealTimeout && (this.onRevealTimeout = window.clearTimeout(this.onRevealTimeout)), this.animationEndTimeout && (this.animationEndTimeout = window.clearTimeout(this.animationEndTimeout));\n }\n }], [{\n key: \"getInitialCollapseStyle\",\n value: function value(e) {\n return {\n height: 0,\n visibility: e.when ? void 0 : \"hidden\"\n };\n }\n }, {\n key: \"getTop\",\n value: function value(e) {\n for (; void 0 === e.offsetTop;) {\n e = e.parentNode;\n }\n\n for (var t = e.offsetTop; e.offsetParent; t += e.offsetTop) {\n e = e.offsetParent;\n }\n\n return t;\n }\n }]), t;\n}(_react2.default.Component);\n\nRevealBase.propTypes = propTypes, RevealBase.defaultProps = defaultProps, RevealBase.contextTypes = contextTypes, RevealBase.displayName = \"RevealBase\", exports.default = RevealBase, module.exports = exports.default;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useBootstrapPrefix } from './ThemeProvider';\nvar defaultProps = {\n fluid: false\n};\nvar Container = /*#__PURE__*/React.forwardRef(function (_ref, ref) {\n var bsPrefix = _ref.bsPrefix,\n fluid = _ref.fluid,\n _ref$as = _ref.as,\n Component = _ref$as === void 0 ? 'div' : _ref$as,\n className = _ref.className,\n props = _objectWithoutPropertiesLoose(_ref, [\"bsPrefix\", \"fluid\", \"as\", \"className\"]);\n\n var prefix = useBootstrapPrefix(bsPrefix, 'container');\n var suffix = typeof fluid === 'string' ? \"-\" + fluid : '-fluid';\n return /*#__PURE__*/React.createElement(Component, _extends({\n ref: ref\n }, props, {\n className: classNames(className, fluid ? \"\" + prefix + suffix : prefix)\n }));\n});\nContainer.displayName = 'Container';\nContainer.defaultProps = defaultProps;\nexport default Container;","'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 /*#__PURE__*/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;","/*!\n Copyright (c) 2018 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n\n/* global define */\n(function () {\n 'use strict';\n\n var hasOwn = {}.hasOwnProperty;\n\n function classNames() {\n var classes = [];\n\n for (var i = 0; i < arguments.length; i++) {\n var arg = arguments[i];\n if (!arg) continue;\n var argType = typeof arg;\n\n if (argType === 'string' || argType === 'number') {\n classes.push(arg);\n } else if (Array.isArray(arg)) {\n if (arg.length) {\n var inner = classNames.apply(null, arg);\n\n if (inner) {\n classes.push(inner);\n }\n }\n } else if (argType === 'object') {\n if (arg.toString === Object.prototype.toString) {\n for (var key in arg) {\n if (hasOwn.call(arg, key) && arg[key]) {\n classes.push(key);\n }\n }\n } else {\n classes.push(arg.toString());\n }\n }\n }\n\n return classes.join(' ');\n }\n\n if (typeof module !== 'undefined' && module.exports) {\n classNames.default = classNames;\n module.exports = classNames;\n } else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n // register as 'classnames', consistent with npm package name\n define('classnames', [], function () {\n return classNames;\n });\n } else {\n window.classNames = classNames;\n }\n})();","\"use strict\";\n\nfunction insertRule(e) {\n try {\n return sheet.insertRule(e, sheet.cssRules.length);\n } catch (e) {\n console.warn(\"react-reveal - animation failed\");\n }\n}\n\nfunction cascade(e, n, t, o, r) {\n var s = Math.log(o),\n i = Math.log(r),\n a = (i - s) / (t - n);\n return Math.exp(s + a * (e - n));\n}\n\nfunction animation(e) {\n if (!sheet) return \"\";\n var n = \"@keyframes \" + (name + counter) + \"{\" + e + \"}\",\n t = effectMap[e];\n return t ? \"\" + name + t : (sheet.insertRule(n, sheet.cssRules.length), effectMap[e] = counter, \"\" + name + counter++);\n}\n\nfunction hideAll() {\n globalHide || (exports.globalHide = globalHide = !0, window.removeEventListener(\"scroll\", hideAll, !0), insertRule(\".\" + namespace + \" { opacity: 0; }\"), window.removeEventListener(\"orientationchange\", hideAll, !0), window.document.removeEventListener(\"visibilitychange\", hideAll));\n}\n\nfunction config(e) {\n var n = e.ssrFadeout;\n exports.fadeOutEnabled = fadeOutEnabled = n;\n}\n\nObject.defineProperty(exports, \"__esModule\", {\n value: !0\n}), exports.insertRule = insertRule, exports.cascade = cascade, exports.animation = animation, exports.hideAll = hideAll, exports.default = config;\n\nvar namespace = exports.namespace = \"react-reveal\",\n defaults = exports.defaults = {\n duration: 1e3,\n delay: 0,\n count: 1\n},\n ssr = exports.ssr = !0,\n observerMode = exports.observerMode = !1,\n raf = exports.raf = function (e) {\n return window.setTimeout(e, 66);\n},\n disableSsr = exports.disableSsr = function () {\n return exports.ssr = ssr = !1;\n},\n fadeOutEnabled = exports.fadeOutEnabled = !1,\n ssrFadeout = exports.ssrFadeout = function () {\n var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0];\n return exports.fadeOutEnabled = fadeOutEnabled = e;\n},\n globalHide = exports.globalHide = !1,\n ie10 = exports.ie10 = !1,\n collapseend = exports.collapseend = void 0,\n counter = 1,\n effectMap = {},\n sheet = !1,\n name = namespace + \"-\" + Math.floor(1e15 * Math.random()) + \"-\";\n\nif (\"undefined\" != typeof window && \"nodejs\" !== window.name && window.document && \"undefined\" != typeof navigator) {\n exports.observerMode = observerMode = \"IntersectionObserver\" in window && \"IntersectionObserverEntry\" in window && \"intersectionRatio\" in window.IntersectionObserverEntry.prototype && /\\{\\s*\\[native code\\]\\s*\\}/.test(\"\" + IntersectionObserver), exports.raf = raf = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || raf, exports.ssr = ssr = window.document.querySelectorAll(\"div[data-reactroot]\").length > 0, -1 !== navigator.appVersion.indexOf(\"MSIE 10\") && (exports.ie10 = ie10 = !0), ssr && \"performance\" in window && \"timing\" in window.performance && \"domContentLoadedEventEnd\" in window.performance.timing && window.performance.timing.domLoading && Date.now() - window.performance.timing.domLoading < 300 && (exports.ssr = ssr = !1), ssr && window.setTimeout(disableSsr, 1500), observerMode || (exports.collapseend = collapseend = document.createEvent(\"Event\"), collapseend.initEvent(\"collapseend\", !0, !0));\n var element = document.createElement(\"style\");\n document.head.appendChild(element), element.sheet && element.sheet.cssRules && element.sheet.insertRule && (sheet = element.sheet, window.addEventListener(\"scroll\", hideAll, !0), window.addEventListener(\"orientationchange\", hideAll, !0), window.document.addEventListener(\"visibilitychange\", hideAll));\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};","\"use strict\";\n\nfunction _interopRequireDefault(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n}\n\nfunction wrap(e, t, a, r) {\n return \"in\" in e && (e.when = e.in), _react2.default.Children.count(r) < 2 ? _react2.default.createElement(_RevealBase2.default, _extends({}, e, {\n inEffect: t,\n outEffect: a,\n children: r\n })) : (r = _react2.default.Children.map(r, function (r) {\n return _react2.default.createElement(_RevealBase2.default, _extends({}, e, {\n inEffect: t,\n outEffect: a,\n children: r\n }));\n }), \"Fragment\" in _react2.default ? _react2.default.createElement(_react2.default.Fragment, null, r) : _react2.default.createElement(\"span\", null, r));\n}\n\nObject.defineProperty(exports, \"__esModule\", {\n value: !0\n});\n\nvar _extends = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var a = arguments[t];\n\n for (var r in a) {\n Object.prototype.hasOwnProperty.call(a, r) && (e[r] = a[r]);\n }\n }\n\n return e;\n};\n\nexports.default = wrap;\n\nvar _react = require(\"react\"),\n _react2 = _interopRequireDefault(_react),\n _RevealBase = require(\"./RevealBase\"),\n _RevealBase2 = _interopRequireDefault(_RevealBase);\n\nmodule.exports = exports.default;","// This file replaces `index.js` in bundlers like webpack or Rollup,\n// according to `browser` config in `package.json`.\nimport { urlAlphabet } from './url-alphabet/index.js';\n\nif (process.env.NODE_ENV !== 'production') {\n // All bundlers will remove this block in the production bundle.\n if (typeof navigator !== 'undefined' && navigator.product === 'ReactNative' && typeof crypto === 'undefined') {\n throw new Error('React Native does not have a built-in secure random generator. ' + 'If you don’t need unpredictable IDs use `nanoid/non-secure`. ' + 'For secure IDs, import `react-native-get-random-values` ' + 'before Nano ID.');\n }\n\n if (typeof msCrypto !== 'undefined' && typeof crypto === 'undefined') {\n throw new Error('Import file with `if (!window.crypto) window.crypto = window.msCrypto`' + ' before importing Nano ID to fix IE 11 support');\n }\n\n if (typeof crypto === 'undefined') {\n throw new Error('Your browser does not have secure random generator. ' + 'If you don’t need unpredictable IDs, you can use nanoid/non-secure.');\n }\n}\n\nvar random = function random(bytes) {\n return crypto.getRandomValues(new Uint8Array(bytes));\n};\n\nvar customRandom = function customRandom(alphabet, size, getRandom) {\n // First, a bitmask is necessary to generate the ID. The bitmask makes bytes\n // values closer to the alphabet size. The bitmask calculates the closest\n // `2^31 - 1` number, which exceeds the alphabet size.\n // For example, the bitmask for the alphabet size 30 is 31 (00011111).\n // `Math.clz32` is not used, because it is not available in browsers.\n var mask = (2 << Math.log(alphabet.length - 1) / Math.LN2) - 1; // Though, the bitmask solution is not perfect since the bytes exceeding\n // the alphabet size are refused. Therefore, to reliably generate the ID,\n // the random bytes redundancy has to be satisfied.\n // Note: every hardware random generator call is performance expensive,\n // because the system call for entropy collection takes a lot of time.\n // So, to avoid additional system calls, extra bytes are requested in advance.\n // Next, a step determines how many random bytes to generate.\n // The number of random bytes gets decided upon the ID size, mask,\n // alphabet size, and magic number 1.6 (using 1.6 peaks at performance\n // according to benchmarks).\n // `-~f => Math.ceil(f)` if f is a float\n // `-~i => i + 1` if i is an integer\n\n var step = -~(1.6 * mask * size / alphabet.length);\n return function () {\n var id = '';\n\n while (true) {\n var bytes = getRandom(step); // A compact alternative for `for (var i = 0; i < step; i++)`.\n\n var j = step;\n\n while (j--) {\n // Adding `|| ''` refuses a random byte that exceeds the alphabet size.\n id += alphabet[bytes[j] & mask] || '';\n if (id.length === size) return id;\n }\n }\n };\n};\n\nvar customAlphabet = function customAlphabet(alphabet, size) {\n return customRandom(alphabet, size, random);\n};\n\nvar nanoid = function nanoid() {\n var size = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 21;\n var id = '';\n var bytes = crypto.getRandomValues(new Uint8Array(size)); // A compact alternative for `for (var i = 0; i < step; i++)`.\n\n while (size--) {\n // It is incorrect to use bytes exceeding the alphabet size.\n // The following mask reduces the random byte in the 0-255 value\n // range to the 0-63 value range. Therefore, adding hacks, such\n // as empty string fallback or magic numbers, is unneccessary because\n // the bitmask trims bytes down to the alphabet size.\n var byte = bytes[size] & 63;\n\n if (byte < 36) {\n // `0-9a-z`\n id += byte.toString(36);\n } else if (byte < 62) {\n // `A-Z`\n id += (byte - 26).toString(36).toUpperCase();\n } else if (byte < 63) {\n id += '_';\n } else {\n id += '-';\n }\n }\n\n return id;\n};\n\nexport { nanoid, customAlphabet, customRandom, urlAlphabet, random };","import { nanoid } from 'nanoid';\n\n// HEAD DATA\nexport const headData = {\n title: '', // e.g: 'Name | Developer'\n lang: '', // e.g: en, es, fr, jp\n description: '', // e.g: Welcome to my website\n};\n\n// HERO DATA\nexport const heroData = {\n title: '',\n name: 'Hiroki Nakano',\n subtitle: 'I\\'m the Web Developer.',\n cta: '',\n};\n\n// ABOUT DATA\nexport const aboutData = {\n img: 'profile.jpg',\n paragraphOne: '',\n paragraphTwo: '',\n paragraphThree: '',\n resume: 'https://docs.google.com/spreadsheets/d/1aMWUyybwygX827gNdfkAELAR95aEktAGuEDCvjb_bMs/edit#gid=180468472', // if no resume, the button will not show up\n};\n\n// PROJECTS DATA\nexport const projectsData = [\n {\n id: nanoid(),\n img: 'project.jpg',\n title: '',\n info: '',\n info2: '',\n url: '',\n repo: 'https://github.com/cobidev/react-simplefolio', // if no repo, the button will not show up\n },\n {\n id: nanoid(),\n img: 'project.jpg',\n title: '',\n info: '',\n info2: '',\n url: '',\n repo: 'https://github.com/cobidev/react-simplefolio', // if no repo, the button will not show up\n },\n {\n id: nanoid(),\n img: 'project.jpg',\n title: '',\n info: '',\n info2: '',\n url: '',\n repo: 'https://github.com/cobidev/react-simplefolio', // if no repo, the button will not show up\n },\n];\n\n// CONTACT DATA\nexport const contactData = {\n cta: '',\n btn: '',\n email: '',\n};\n\n// FOOTER DATA\nexport const footerData = {\n networks: [\n {\n id: nanoid(),\n name: 'twitter',\n url: '',\n },\n {\n id: nanoid(),\n name: 'codepen',\n url: '',\n },\n {\n id: nanoid(),\n name: 'linkedin',\n url: '',\n },\n {\n id: nanoid(),\n name: 'github',\n url: '',\n },\n ],\n};\n\n// Github start/fork buttons\nexport const githubButtons = {\n isEnabled: true, // set to false to disable the GitHub stars/fork buttons\n};\n","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 };","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport React, { useContext, useMemo } from 'react';\nvar ThemeContext = /*#__PURE__*/React.createContext({});\nvar Consumer = ThemeContext.Consumer,\n Provider = ThemeContext.Provider;\n\nfunction ThemeProvider(_ref) {\n var prefixes = _ref.prefixes,\n children = _ref.children;\n var copiedPrefixes = useMemo(function () {\n return _extends({}, prefixes);\n }, [prefixes]);\n return /*#__PURE__*/React.createElement(Provider, {\n value: copiedPrefixes\n }, children);\n}\n\nexport function useBootstrapPrefix(prefix, defaultPrefix) {\n var prefixes = useContext(ThemeContext);\n return prefix || prefixes[defaultPrefix] || defaultPrefix;\n}\n\nfunction createBootstrapComponent(Component, opts) {\n if (typeof opts === 'string') opts = {\n prefix: opts\n };\n var isClassy = Component.prototype && Component.prototype.isReactComponent; // If it's a functional component make sure we don't break it with a ref\n\n var _opts = opts,\n prefix = _opts.prefix,\n _opts$forwardRefAs = _opts.forwardRefAs,\n forwardRefAs = _opts$forwardRefAs === void 0 ? isClassy ? 'ref' : 'innerRef' : _opts$forwardRefAs;\n var Wrapped = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {\n var props = _extends({}, _ref2);\n\n props[forwardRefAs] = ref;\n var bsPrefix = useBootstrapPrefix(props.bsPrefix, prefix);\n return /*#__PURE__*/React.createElement(Component, _extends({}, props, {\n bsPrefix: bsPrefix\n }));\n });\n Wrapped.displayName = \"Bootstrap(\" + (Component.displayName || Component.name) + \")\";\n return Wrapped;\n}\n\nexport { createBootstrapComponent, Consumer as ThemeConsumer };\nexport default ThemeProvider;","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":""}