{"version":3,"sources":["webpack:///./node_modules/use-state-with-deps/is-function.js","webpack:///./node_modules/lodash.debounce/index.js","webpack:///./src/hooks/useTranslated.js","webpack:///./node_modules/use-state-with-deps/use-force-update.js","webpack:///./node_modules/use-state-with-deps/deps-are-equal.js","webpack:///./src/components/global/Section/styled.js","webpack:///./node_modules/beautiful-react-hooks/esm/_virtual/_rollupPluginBabelHelpers.js","webpack:///./node_modules/beautiful-react-hooks/esm/utils/createHandlerSetter.js","webpack:///./node_modules/beautiful-react-hooks/esm/useGlobalEvent.js","webpack:///./node_modules/beautiful-react-hooks/esm/useWindowResize.js","webpack:///./node_modules/beautiful-react-hooks/esm/useThrottledFn.js","webpack:///./node_modules/beautiful-react-hooks/esm/utils/geolocationStandardOptions.js","webpack:///./node_modules/beautiful-react-hooks/esm/utils/isClient.js","webpack:///./node_modules/beautiful-react-hooks/esm/utils/isAPISupported.js","webpack:///./node_modules/beautiful-react-hooks/esm/utils/safelyParseJson.js","webpack:///./node_modules/beautiful-react-hooks/esm/useStorage.js","webpack:///./node_modules/beautiful-react-hooks/esm/useLocalStorage.js","webpack:///./node_modules/beautiful-react-hooks/esm/useSessionStorage.js","webpack:///./src/components/global/Section/index.js","webpack:///./src/hooks/useWindowResize.js","webpack:///./node_modules/beautiful-react-hooks/esm/utils/isDevelopment.js","webpack:///./node_modules/lodash.throttle/index.js","webpack:///./node_modules/use-state-with-deps/index.js","webpack:///./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"],"names":["Object","defineProperty","exports","value","isFunction","input","reTrim","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","freeGlobal","global","freeSelf","self","root","Function","objectToString","prototype","toString","nativeMax","Math","max","nativeMin","min","now","Date","isObject","type","toNumber","isObjectLike","call","isSymbol","other","valueOf","replace","isBinary","test","slice","module","func","wait","options","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","TypeError","invokeFunc","time","args","thisArg","undefined","apply","leadingEdge","setTimeout","timerExpired","shouldInvoke","timeSinceLastCall","trailingEdge","remainingWait","debounced","isInvoking","arguments","this","cancel","clearTimeout","flush","useTranslated","data","pageContext","translatedData","useMemo","localiseData","getLanguage","useForceUpdate","forceUpdate","arr","_react","useReducer","x","i","Array","isArray","_arrayWithHoles","Symbol","iterator","_arr","_n","_d","_e","_s","_i","next","done","push","length","err","_iterableToArrayLimit","o","minLen","_arrayLikeToArray","n","constructor","name","from","_unsupportedIterableToArray","_nonIterableRest","len","arr2","depsAreEqual","prevDeps","deps","is","CenterOnBig","styled","div","ContentSection","ContentInner","padding","Icon","img","Image","hiddenLg","css","ShowOnBig","ShowOnSmall","IconAndTitleWrapper","_typeof","obj","_defineProperty","key","enumerable","configurable","writable","ownKeys","object","enumerableOnly","keys","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","_objectSpread2","target","source","forEach","getOwnPropertyDescriptors","defineProperties","_slicedToArray","handlerValue","handlerRef","current","setHandler","nextCallback","Error","defaultOptions","capture","once","passive","eventName","fn","_createHandlerSetter","_createHandlerSetter2","callbackRef","setCallbackRef","opts","cb","event","window","addEventListener","removeEventListener","handler","dependencies","throttled","geoStandardOptions","create","enableHighAccuracy","timeout","maximumAge","freeze","api","parseString","JSON","parse","e","storageName","concat","console","warn","storageKey","defaultValue","isDevelopment","stringify","storage","_useState2","getItem","setValue","setItem","renderHeading","firstSectionHeading1","index","smallTitle","title","Section","alignment","section","lng","useState","isMounted","setIsMounted","width","throttleMS","initialWidth","useStateWithDeps","setWidth","onWindowResizeHandler","useThrottledFn","innerWidth","useWindowResize","useEffect","image","src","imageSmall","publicURL","alt","content","description","button","label","href","transparent","marginbottomonsmall","marginBottom","align","xs","md","icon","span","Container","narrow","defaultProps","process","debounce","initialState","useRef","usableInitialState","_isFunction","state","_depsAreEqual","nextState","_useForceUpdate","newState","_objectWithoutPropertiesLoose","excluded","sourceKeys","indexOf"],"mappings":"6FAEAA,OAAOC,eAAeC,EAAS,aAAc,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G,EAGTpQ,OAAOwH,GAAGwI,EAAMhG,QAASkG,KAC5BF,EAAMhG,QAAUkG,EAChB/K,QA3EN,IAAIE,EAAS,EAAQ,QAEjB8K,EAAkB,EAAQ,QAE1BF,EAAgB,EAAQ,QAExBF,EAAc,EAAQ,S,kCCbX,SAASM,EAA8B5G,EAAQ6G,GAC5D,GAAc,MAAV7G,EAAgB,MAAO,GAC3B,IAEIf,EAAKlD,EAFLgE,EAAS,GACT+G,EAAavQ,OAAOiJ,KAAKQ,GAG7B,IAAKjE,EAAI,EAAGA,EAAI+K,EAAWhK,OAAQf,IACjCkD,EAAM6H,EAAW/K,GACb8K,EAASE,QAAQ9H,IAAQ,IAC7Bc,EAAOd,GAAOe,EAAOf,IAGvB,OAAOc,EAZT","file":"947d9ba8f68757b226681c03d2bdca8329a8a0ae-83193846764010f892fd.js","sourcesContent":["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.isFunction = isFunction;\n\nfunction isFunction(input) {\n return typeof input === \"function\";\n}","/**\n * lodash (Custom Build) \n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n/** Used as references for various `Number` constants. */\n\nvar NAN = 0 / 0;\n/** `Object#toString` result references. */\n\nvar symbolTag = '[object Symbol]';\n/** Used to match leading and trailing whitespace. */\n\nvar reTrim = /^\\s+|\\s+$/g;\n/** Used to detect bad signed hexadecimal string values. */\n\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n/** Used to detect binary string values. */\n\nvar reIsBinary = /^0b[01]+$/i;\n/** Used to detect octal string values. */\n\nvar reIsOctal = /^0o[0-7]+$/i;\n/** Built-in method references without a dependency on `root`. */\n\nvar freeParseInt = parseInt;\n/** Detect free variable `global` from Node.js. */\n\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n/** Detect free variable `self`. */\n\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n/** Used as a reference to the global object. */\n\nvar root = freeGlobal || freeSelf || Function('return this')();\n/** Used for built-in method references. */\n\nvar objectProto = Object.prototype;\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\n\nvar objectToString = objectProto.toString;\n/* Built-in method references for those with the same name as other `lodash` methods. */\n\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\n\nvar now = function now() {\n return root.Date.now();\n};\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\n\n\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n wait = toNumber(wait) || 0;\n\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time; // Start the timer for the trailing edge.\n\n timerId = setTimeout(timerExpired, wait); // Invoke the leading edge.\n\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime; // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n\n return lastCallTime === undefined || timeSinceLastCall >= wait || timeSinceLastCall < 0 || maxing && timeSinceLastInvoke >= maxWait;\n }\n\n function timerExpired() {\n var time = now();\n\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n } // Restart the timer.\n\n\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined; // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n\n return result;\n }\n\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\n\n\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\n\n\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\n\n\nfunction isSymbol(value) {\n return typeof value == 'symbol' || isObjectLike(value) && objectToString.call(value) == symbolTag;\n}\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\n\n\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n\n if (isSymbol(value)) {\n return NAN;\n }\n\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? other + '' : other;\n }\n\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;\n}\n\nmodule.exports = debounce;","import { useMemo } from 'react';\r\n\r\n// helpers\r\nimport { localiseData, getLanguage } from '../utils/helpers';\r\n\r\nexport default function useTranslated(data, pageContext) {\r\n const translatedData = useMemo(() => localiseData(data, getLanguage(pageContext)), [\r\n data,\r\n pageContext,\r\n ]);\r\n\r\n return { translatedData };\r\n}\r\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useForceUpdate = useForceUpdate;\n\nvar _react = require(\"react\");\n\nfunction _slicedToArray(arr, i) {\n return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();\n}\n\nfunction _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(n);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\n\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}\n\nfunction _iterableToArrayLimit(arr, i) {\n if (typeof Symbol === \"undefined\" || !(Symbol.iterator in Object(arr))) return;\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\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}\n\nfunction _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n\nfunction useForceUpdate() {\n var _useReducer = (0, _react.useReducer)(function (x) {\n return !x;\n }, false),\n _useReducer2 = _slicedToArray(_useReducer, 2),\n forceUpdate = _useReducer2[1];\n\n return function () {\n return forceUpdate();\n };\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.depsAreEqual = depsAreEqual;\n\nfunction depsAreEqual(prevDeps, deps) {\n for (var i = 0; i < prevDeps.length; i++) {\n if (Object.is(prevDeps[i], deps[i])) {\n continue;\n }\n\n return false;\n }\n\n return true;\n}","import styled, { css } from 'styled-components';\r\n\r\nexport const CenterOnBig = styled.div`\r\n text-align: center;\r\n\r\n a {\r\n margin-bottom: 24px !important;\r\n\r\n @media all and (max-width: 768px) {\r\n margin-bottom: 40px !important;\r\n }\r\n }\r\n\r\n @media all and (max-width: 991px) {\r\n margin-bottom: 60px;\r\n }\r\n`;\r\n\r\nexport const ContentSection = styled.div`\r\n margin-bottom: 130px;\r\n\r\n h1,\r\n h2 {\r\n margin-bottom: 20px;\r\n line-height: 3.5rem;\r\n }\r\n h3 {\r\n margin-bottom: 16px;\r\n }\r\n a {\r\n margin: 0;\r\n }\r\n\r\n p {\r\n margin-bottom: 2em;\r\n }\r\n\r\n @media all and (max-width: 768px) {\r\n margin-bottom: 28px;\r\n\r\n h2 {\r\n margin-bottom: 10px;\r\n }\r\n\r\n p {\r\n margin-bottom: 20px;\r\n }\r\n }\r\n`;\r\n\r\nexport const ContentInner = styled.div`\r\n padding: ${({ padding }) => padding || 0};\r\n\r\n @media all and (max-width: 991px) {\r\n margin-bottom: 30px;\r\n text-align: center;\r\n }\r\n`;\r\n\r\nexport const Icon = styled.img`\r\n display: block;\r\n margin-bottom: 20px;\r\n\r\n @media all and (max-width: 768px) {\r\n width: 40px;\r\n height: 40px;\r\n }\r\n`;\r\n\r\nexport const Image = styled.img`\r\n display: block;\r\n\r\n ${({ hiddenLg }) =>\r\n hiddenLg &&\r\n css`\r\n @media all and (min-width: 992px) {\r\n display: none;\r\n }\r\n `}\r\n\r\n @media all and (max-width: 991px) {\r\n width: 50%;\r\n height: auto;\r\n margin-bottom: 20px;\r\n }\r\n\r\n @media all and (max-width: 601px) {\r\n width: 100%;\r\n }\r\n`;\r\n\r\nexport const ShowOnBig = styled.div`\r\n @media all and (max-width: 991px) {\r\n display: none;\r\n }\r\n`;\r\n\r\nexport const ShowOnSmall = styled.div`\r\n @media all and (min-width: 992px) {\r\n display: none;\r\n }\r\n\r\n @media all and (max-width: 991px) {\r\n text-align: center;\r\n img {\r\n display: inline-block;\r\n }\r\n }\r\n`;\r\n\r\nexport const IconAndTitleWrapper = styled.div`\r\n @media all and (max-width: 991px) {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n\r\n img {\r\n margin-right: 15px;\r\n }\r\n }\r\n`;\r\n","/* beautiful-react-hooks version: 0.31.0 */\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}\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 ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n\n return target;\n}\n\nfunction _slicedToArray(arr, i) {\n return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();\n}\n\nfunction _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n\nfunction _iterableToArrayLimit(arr, i) {\n if (typeof Symbol === \"undefined\" || !(Symbol.iterator in Object(arr))) return;\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\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\n\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}\n\nfunction _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nexport { _arrayLikeToArray as arrayLikeToArray, _arrayWithHoles as arrayWithHoles, _defineProperty as defineProperty, _iterableToArrayLimit as iterableToArrayLimit, _nonIterableRest as nonIterableRest, _objectSpread2 as objectSpread2, _slicedToArray as slicedToArray, _typeof as typeof, _unsupportedIterableToArray as unsupportedIterableToArray };","/* beautiful-react-hooks version: 0.31.0 */\nimport { useRef, useCallback } from 'react';\n\nvar createHandlerSetter = function createHandlerSetter(handlerValue) {\n var handlerRef = useRef(handlerValue);\n handlerRef.current = handlerValue;\n var setHandler = useCallback(function (nextCallback) {\n if (typeof nextCallback !== 'function') {\n throw new Error('the argument supplied to the \\'setHandler\\' function should be of type function');\n }\n\n handlerRef.current = nextCallback;\n });\n return [handlerRef, setHandler];\n};\n\nexport default createHandlerSetter;","/* beautiful-react-hooks version: 0.31.0 */\nimport { slicedToArray as _slicedToArray, objectSpread2 as _objectSpread2 } from './_virtual/_rollupPluginBabelHelpers.js';\nimport { useEffect } from 'react';\nimport createHandlerSetter from './utils/createHandlerSetter.js';\nvar defaultOptions = {\n capture: false,\n once: false,\n passive: false\n};\n\nvar useGlobalEvent = function useGlobalEvent(eventName) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultOptions;\n var fn = arguments.length > 2 ? arguments[2] : undefined;\n\n var _createHandlerSetter = createHandlerSetter(fn),\n _createHandlerSetter2 = _slicedToArray(_createHandlerSetter, 2),\n callbackRef = _createHandlerSetter2[0],\n setCallbackRef = _createHandlerSetter2[1];\n\n var opts = _objectSpread2(_objectSpread2({}, defaultOptions), options || {});\n\n useEffect(function () {\n var cb = function cb(event) {\n if (callbackRef.current) {\n callbackRef.current(event);\n }\n };\n\n if (callbackRef.current && eventName) {\n window.addEventListener(eventName, cb, opts);\n }\n\n return function () {\n if (eventName) {\n window.removeEventListener(eventName, cb, opts);\n }\n };\n }, [eventName, options]);\n return setCallbackRef;\n};\n\nexport default useGlobalEvent;","/* beautiful-react-hooks version: 0.31.0 */\nimport useGlobalEvent from './useGlobalEvent.js';\n\nvar useWindowResize = function useWindowResize(handler) {\n return useGlobalEvent('resize', null, handler);\n};\n\nexport default useWindowResize;","/* beautiful-react-hooks version: 0.31.0 */\nimport { useCallback } from 'react';\nimport throttle from 'lodash.throttle';\nvar defaultOptions = {\n leading: false,\n trailing: true\n};\n\nvar useThrottledFn = function useThrottledFn(fn) {\n var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 100;\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : defaultOptions;\n var dependencies = arguments.length > 3 ? arguments[3] : undefined;\n var throttled = throttle(fn, wait, options);\n return useCallback(throttled, dependencies);\n};\n\nexport default useThrottledFn;","/* beautiful-react-hooks version: 0.31.0 */\nvar geoStandardOptions = Object.create(null);\ngeoStandardOptions.enableHighAccuracy = false;\ngeoStandardOptions.timeout = 0xFFFFFFFF;\ngeoStandardOptions.maximumAge = 0;\nvar geolocationStandardOptions = Object.freeze(geoStandardOptions);\nexport default geolocationStandardOptions;","/* beautiful-react-hooks version: 0.31.0 */\nimport { typeof as _typeof } from '../_virtual/_rollupPluginBabelHelpers.js';\nvar isClient = (typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) === 'object';\nexport default isClient;","/* beautiful-react-hooks version: 0.31.0 */\nvar isApiSupported = function isApiSupported(api) {\n return api in window;\n};\n\nexport default isApiSupported;","/* beautiful-react-hooks version: 0.31.0 */\nvar safelyParseJson = function safelyParseJson(parseString) {\n try {\n return JSON.parse(parseString);\n } catch (e) {\n return null;\n }\n};\n\nexport default safelyParseJson;","/* beautiful-react-hooks version: 0.31.0 */\nimport { slicedToArray as _slicedToArray } from './_virtual/_rollupPluginBabelHelpers.js';\nimport { useState, useEffect } from 'react';\nimport isClient from './utils/isClient.js';\nimport isApiSupported from './utils/isAPISupported.js';\nimport safelyParseJson from './utils/safelyParseJson.js';\nimport isDevelopment from './utils/isDevelopment.js';\n\nvar useStorage = function useStorage(type) {\n var storageName = \"\".concat(type, \"Storage\");\n\n if (isClient && !isApiSupported(storageName)) {\n console.warn(\"\".concat(storageName, \" is not supported\"));\n }\n\n return function (storageKey, defaultValue) {\n if (!isClient) {\n if (isDevelopment) {\n console.warn(\"Please be aware that \".concat(storageName, \" could not be available during SSR\"));\n }\n\n return [JSON.stringify(defaultValue), function () {\n return undefined;\n }];\n }\n\n var storage = window[storageName];\n\n var _useState = useState(safelyParseJson(storage.getItem(storageKey) || JSON.stringify(defaultValue))),\n _useState2 = _slicedToArray(_useState, 2),\n value = _useState2[0],\n setValue = _useState2[1];\n\n useEffect(function () {\n storage.setItem(storageKey, JSON.stringify(value));\n }, [storageKey, value]);\n return [value, setValue];\n };\n};\n\nexport default useStorage;","/* beautiful-react-hooks version: 0.31.0 */\nimport useStorage from './useStorage.js';\nvar useLocalStorage = useStorage('local');\nexport default useLocalStorage;","/* beautiful-react-hooks version: 0.31.0 */\nimport useStorage from './useStorage.js';\nvar useSessionStorage = useStorage('session');\nexport default useSessionStorage;","import PropTypes from 'prop-types';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { Col, Row } from 'react-simple-flex-grid';\r\n\r\nimport Button from '../ButtonLink';\r\nimport Container from '../Container';\r\nimport {\r\n CenterOnBig,\r\n ContentInner,\r\n ContentSection,\r\n Icon,\r\n Image,\r\n ShowOnBig,\r\n ShowOnSmall,\r\n IconAndTitleWrapper,\r\n} from './styled';\r\nimport { Heading1, Heading2, Heading3, Paragraph } from '../Typography';\r\n\r\n// hooks\r\nimport useWindowResize from '../../../hooks/useWindowResize';\r\n\r\nfunction renderHeading({ firstSectionHeading1, index, smallTitle, title }) {\r\n if (smallTitle) {\r\n return {title};\r\n }\r\n\r\n if (firstSectionHeading1 && index === 0) {\r\n return {title};\r\n }\r\n\r\n return {title};\r\n}\r\n\r\nconst Section = ({ alignment, section, lng, smallTitle, index, firstSectionHeading1 }) => {\r\n const [isMounted, setIsMounted] = useState(false);\r\n const { width } = useWindowResize({\r\n initialWidth: isMounted ? window.innerWidth : 0,\r\n });\r\n\r\n useEffect(() => {\r\n if (!isMounted) {\r\n setIsMounted(true);\r\n }\r\n }, [isMounted]);\r\n\r\n const image = section.image ? (\r\n <>\r\n {width < 992 ? (\r\n \r\n ) : (\r\n {section.title}\r\n )}\r\n \r\n ) : null;\r\n\r\n let content = (\r\n \r\n {renderHeading({ index, smallTitle, firstSectionHeading1, title: section.title })}\r\n {section.description}\r\n {section.button ? (\r\n \r\n ) : null}\r\n {image}\r\n \r\n );\r\n\r\n if (section.image && alignment === 'left') {\r\n content = (\r\n \r\n \r\n \r\n \r\n {section.icon ? (\r\n \r\n ) : null}\r\n {renderHeading({\r\n index,\r\n smallTitle,\r\n firstSectionHeading1,\r\n title: section.title,\r\n })}\r\n \r\n\r\n {section.description}\r\n {image}\r\n {section.button ? (\r\n \r\n ) : null}\r\n \r\n \r\n \r\n {section.image ? image : null}\r\n \r\n \r\n );\r\n }\r\n\r\n if (section.image && alignment === 'right') {\r\n content = (\r\n \r\n \r\n \r\n {image}\r\n \r\n \r\n \r\n \r\n \r\n {section.icon ? (\r\n \r\n ) : null}\r\n {renderHeading({\r\n index,\r\n smallTitle,\r\n firstSectionHeading1,\r\n title: section.title,\r\n })}\r\n \r\n {section.description}\r\n {image}\r\n {section.button ? (\r\n \r\n \r\n \r\n ) : null}\r\n {section.button ? (\r\n \r\n \r\n \r\n ) : null}\r\n \r\n \r\n \r\n );\r\n }\r\n\r\n return (\r\n \r\n {content}\r\n \r\n );\r\n};\r\n\r\nSection.defaultProps = {\r\n smallTitle: false,\r\n index: 1000,\r\n firstSectionHeading1: false,\r\n};\r\n\r\nSection.propTypes = {\r\n index: PropTypes.number,\r\n firstSectionHeading1: PropTypes.boolean,\r\n alignment: PropTypes.oneOf(['left', 'right', 'center']).isRequired,\r\n lng: PropTypes.string.isRequired,\r\n section: PropTypes.shape({\r\n icon: PropTypes.shape({\r\n publicURL: PropTypes.string.isRequired,\r\n }),\r\n title: PropTypes.string.isRequired,\r\n button: PropTypes.shape({\r\n label: PropTypes.string.isRequired,\r\n href: PropTypes.string.isRequired,\r\n }),\r\n description: PropTypes.string.isRequired,\r\n image: PropTypes.shape({\r\n publicURL: PropTypes.string.isRequired,\r\n }),\r\n imageSmall: PropTypes.shape({\r\n publicURL: PropTypes.string.isRequired,\r\n }),\r\n }).isRequired,\r\n smallTitle: PropTypes.bool,\r\n};\r\n\r\nexport default Section;\r\n","import { useStateWithDeps } from 'use-state-with-deps';\r\nimport { useWindowResize, useThrottledFn } from 'beautiful-react-hooks';\r\n\r\nexport default function useWinResize({ throttleMS = 300, initialWidth = 0 }) {\r\n const [width, setWidth] = useStateWithDeps(initialWidth, [initialWidth]);\r\n\r\n const onWindowResizeHandler = useThrottledFn(() => {\r\n if (typeof window !== 'undefined') {\r\n setWidth(window.innerWidth);\r\n }\r\n }, throttleMS);\r\n\r\n useWindowResize(onWindowResizeHandler);\r\n\r\n return { width };\r\n}\r\n","/* beautiful-react-hooks version: 0.31.0 */\nvar isDevelopment = typeof process !== 'undefined' && process.env && (!process.env.NODE_ENV || process.env.NODE_ENV === 'development');\nexport default isDevelopment;","/**\n * lodash (Custom Build) \n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n/** Used as references for various `Number` constants. */\n\nvar NAN = 0 / 0;\n/** `Object#toString` result references. */\n\nvar symbolTag = '[object Symbol]';\n/** Used to match leading and trailing whitespace. */\n\nvar reTrim = /^\\s+|\\s+$/g;\n/** Used to detect bad signed hexadecimal string values. */\n\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n/** Used to detect binary string values. */\n\nvar reIsBinary = /^0b[01]+$/i;\n/** Used to detect octal string values. */\n\nvar reIsOctal = /^0o[0-7]+$/i;\n/** Built-in method references without a dependency on `root`. */\n\nvar freeParseInt = parseInt;\n/** Detect free variable `global` from Node.js. */\n\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n/** Detect free variable `self`. */\n\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n/** Used as a reference to the global object. */\n\nvar root = freeGlobal || freeSelf || Function('return this')();\n/** Used for built-in method references. */\n\nvar objectProto = Object.prototype;\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\n\nvar objectToString = objectProto.toString;\n/* Built-in method references for those with the same name as other `lodash` methods. */\n\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\n\nvar now = function now() {\n return root.Date.now();\n};\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\n\n\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n wait = toNumber(wait) || 0;\n\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time; // Start the timer for the trailing edge.\n\n timerId = setTimeout(timerExpired, wait); // Invoke the leading edge.\n\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime; // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n\n return lastCallTime === undefined || timeSinceLastCall >= wait || timeSinceLastCall < 0 || maxing && timeSinceLastInvoke >= maxWait;\n }\n\n function timerExpired() {\n var time = now();\n\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n } // Restart the timer.\n\n\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined; // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n\n return result;\n }\n\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\n\n\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\n\n\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\n\n\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\n\n\nfunction isSymbol(value) {\n return typeof value == 'symbol' || isObjectLike(value) && objectToString.call(value) == symbolTag;\n}\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\n\n\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n\n if (isSymbol(value)) {\n return NAN;\n }\n\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? other + '' : other;\n }\n\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;\n}\n\nmodule.exports = throttle;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useStateWithDeps = useStateWithDeps;\n\nvar _react = require(\"react\");\n\nvar _useForceUpdate = require(\"./use-force-update\");\n\nvar _depsAreEqual = require(\"./deps-are-equal\");\n\nvar _isFunction = require(\"./is-function\");\n/**\n * `useState` hook with an additional dependency array that resets\n * the state to the `initialState` param when the dependencies passed\n * in the `deps` array change.\n *\n * @param initialState\n * The state that will be set when the component mounts or the\n * dependencies change.\n *\n * It can also be a function which resolves to the state. If the state\n * is reset due to a change of dependencies, this function will be called with the previous\n * state (`undefined` for the first call upon mount).\n * @param deps Dependencies for this hook that resets the state to `initialState`\n */\n\n\nfunction useStateWithDeps(initialState, deps) {\n var isMounted = (0, _react.useRef)(false); // Determine initial state\n\n var usableInitialState = null;\n\n if (!isMounted.current) {\n isMounted.current = true;\n\n if ((0, _isFunction.isFunction)(initialState)) {\n usableInitialState = initialState();\n } else {\n usableInitialState = initialState;\n }\n } // It would be possible to use useState instead of\n // useRef to store the state, however this would\n // trigger re-renders whenever the state is reset due\n // to a change in dependencies. In order to avoid these\n // re-renders, the state is stored in a ref and an\n // update is triggered via forceUpdate below when necessary\n\n\n var state = (0, _react.useRef)(usableInitialState); // Check if dependencies have changed\n\n var prevDeps = (0, _react.useRef)(deps);\n\n if (!(0, _depsAreEqual.depsAreEqual)(prevDeps.current, deps)) {\n // Update state and deps\n var nextState;\n\n if ((0, _isFunction.isFunction)(initialState)) {\n nextState = initialState(state.current);\n } else {\n nextState = initialState;\n }\n\n state.current = nextState;\n prevDeps.current = deps;\n }\n\n var forceUpdate = (0, _useForceUpdate.useForceUpdate)();\n\n function updateState(newState) {\n var nextState;\n\n if ((0, _isFunction.isFunction)(newState)) {\n nextState = newState(state.current);\n } else {\n nextState = newState;\n }\n\n if (!Object.is(state.current, nextState)) {\n state.current = nextState;\n forceUpdate();\n }\n }\n\n return [state.current, updateState];\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":""}