{"version":3,"sources":["webpack://valoremelhoria.com.br/./src/components/AboutUs.tsx","webpack://valoremelhoria.com.br/./src/styles/components/AboutUs.module.scss","webpack://valoremelhoria.com.br/./src/styles/components/Statistics.module.scss","webpack://valoremelhoria.com.br/./src/components/Statistics.tsx","webpack://valoremelhoria.com.br/./node_modules/mobx-react-lite/es/utils/assertEnvironment.js","webpack://valoremelhoria.com.br/./node_modules/mobx-react-lite/es/utils/observerBatching.js","webpack://valoremelhoria.com.br/./node_modules/mobx-react-lite/es/utils/printDebugValue.js","webpack://valoremelhoria.com.br/./node_modules/mobx-react-lite/es/utils/FinalizationRegistryWrapper.js","webpack://valoremelhoria.com.br/./node_modules/mobx-react-lite/es/utils/reactionCleanupTrackingCommon.js","webpack://valoremelhoria.com.br/./node_modules/mobx-react-lite/es/utils/createTimerBasedReactionCleanupTracking.js","webpack://valoremelhoria.com.br/./node_modules/mobx-react-lite/es/utils/reactionCleanupTracking.js","webpack://valoremelhoria.com.br/./node_modules/mobx-react-lite/es/utils/createReactionCleanupTrackingUsingFinalizationRegister.js","webpack://valoremelhoria.com.br/./node_modules/mobx-react-lite/es/staticRendering.js","webpack://valoremelhoria.com.br/./node_modules/mobx-react-lite/es/useObserver.js","webpack://valoremelhoria.com.br/./node_modules/mobx-react-lite/es/observer.js","webpack://valoremelhoria.com.br/./node_modules/mobx-react-lite/es/useAsObservableSource.js","webpack://valoremelhoria.com.br/./node_modules/mobx-react-lite/es/index.js","webpack://valoremelhoria.com.br/./src/styles/components/Loading.module.scss","webpack://valoremelhoria.com.br/./src/components/Loading.tsx","webpack://valoremelhoria.com.br/./src/components/layout.tsx","webpack://valoremelhoria.com.br/./node_modules/gatsby-plugin-smoothscroll/index.js"],"names":["AboutUs","id","className","clsx","src","favicon","alt","statisticsItem","Statistics","largeMargin","styles","useState","Error","defaultNoopBatch","callback","printDebugValue","v","FinalizationRegistryLocal","FinalizationRegistry","undefined","createTrackingData","reaction","mounted","changedBeforeMount","cleanAt","Date","now","CLEANUP_LEAKED_REACTIONS_AFTER_MILLIS","__values","o","s","Symbol","iterator","m","i","call","length","next","value","done","TypeError","_a","cleanupTokenToReactionTrackingMap","Map","globalCleanupTokensCounter","registry","token","trackedReaction","get","dispose","delete","addReactionToTrack","reactionTrackingRef","objectRetainedByReact","register","current","finalizationRegistryCleanupToken","set","recordReactionAsCommitted","reactionRef","unregister","forceCleanupTimerToRunNowForTests","resetCleanupScheduleForTests","createReactionCleanupTrackingUsingFinalizationRegister","reactionCleanupHandle","uncommittedReactionRefs","Set","ensureCleanupTimerRunning","setTimeout","cleanUncommittedReactions","forEach","ref","tracking","size","add","clearTimeout","e_1","uncommittedReactionRefs_1","uncommittedReactionRefs_1_1","e_1_1","error","return","clear","createTimerBasedReactionCleanupTracking","globalIsUsingStaticRendering","isUsingStaticRendering","__read","n","r","e","ar","push","observerComponentNameFor","baseComponentName","ObjectToBeRetainedByReact","objectToBeRetainedByReactFactory","useObserver","fn","setState","forceUpdate","newReaction","trackingData_1","rendering","exception","Infinity","track","__assign","Object","assign","t","arguments","p","prototype","hasOwnProperty","apply","this","hoistBlackList","$$typeof","render","compare","type","reactionScheduler","Loading","baseComponent","options","memoComponent","base","target","realOptions","forwardRef","displayName","name","wrappedComponent","props","memo","keys","key","defineProperty","getOwnPropertyDescriptor","observer","context","loading","logo","Layout","location","mainFolder","children","isMobile","useMediaQuery","sticky","setSticky","pageEnd","setPageEnd","height","setHeight","useRef","onScroll","window","scrollY","innerHeight","useEffect","addEventListener","removeEventListener","clientHeight","style","position","ToastAlert","Header","MegaFooter","M","pathname","LoadingContext","onClick","scrollTo","icon","faChevronUp","exports","_default","selector","blockPosition","element","document","querySelector","scrollIntoView","behavior","block"],"mappings":"qMAMaA,EAAoB,WAC/B,OACE,2BACEC,GAAG,aACHC,WAAWC,OAAK,CAAC,OAAQ,YAAa,oBAEtC,uBAAKD,UAAU,OACb,uBAAKA,UCHM,gCDIT,uBAAKA,UCHQ,oCDIX,uBAAKE,IAAKC,IAASC,IAA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AmB7B,OAhBAE,gBAAU,WAGR,OAFAH,OAAOI,iBAAP,SAAkCL,GAE3B,WAAO,IAAD,EACXC,OAAOK,oBAAP,SAAqCN,GACrCF,EAAUnF,SAAD,UAACA,EAAKhB,eAAN,aAAC,EAAc4G,iBAEzB,KAEHH,gBAAU,WACJzF,EAAIhB,SACNiG,EACEK,OAAOC,QAAUD,OAAOE,aAAexF,EAAIhB,QAAQ4G,gBAEtD,CAAC5F,EAAIhB,UAGN,wBAAM6G,MAAO,CAAEC,SAAU,YAAc9F,IAAKA,GAC1C,gBAAC+F,EAAA,EAAD,MACA,gBAACC,EAAA,EAAD,CACEtB,WAAYA,EACZzB,KAAM2B,EAAQ,uBAEfD,EACD,gBAACsB,EAAAC,EAAD,CAAYzB,SAAUA,EAAS0B,WAC/B,gBAAChD,EAAD,CAASkB,QAAS+B,mBAClB,0BACEzK,WAAWC,OAAK,aAAD,cACDkJ,EADC,WAECE,EAFD,IAIfqB,QAAS,kBAAMC,OAAS,UAExB,gBAAC,IAAD,CAAiBC,KAAMC,Y,gCCnE/BC,SAAqB,EAQrB,IAsBIC,EAtBW,SAAkBC,EAAUC,QACnB,IAAlBA,IACFA,EAAgB,SAGlB,IAAIC,EAAUC,SAASC,cAAcJ,GAErC,QAAIE,IACFA,EAAQG,eAAe,CACrBC,SAAU,SACVC,MAAON,KAEF,IAWXH,IAAqBC","file":"6ea5f86eae6da90e7b1690f00674b2379ed8b174-edc417c8147ae1d9daee.js","sourcesContent":["import React from 'react'\nimport clsx from 'clsx'\n\nimport * as styles from '../styles/components/AboutUs.module.scss'\nimport favicon from '../images/favicon.png'\n\nexport const AboutUs: React.FC = () => {\n return (\n \n
\n
\n
\n \"favicon\"\n

\n Melhorar resultados, JUNTOS!\n

\n

\n Com atuação em todo o território nacional, nosso time possui\n formação multidisciplinar, com perfis analíticos e focados em\n melhorias. Além disso, nossos profissionais possuem as principais\n certificações do mercado em Gestão por Processos (CBPP e OCEB),\n Gestão de Projetos (PMI), Gestão de Serviços em T.I (ITIL e\n COBIT), Auditores Líderes (IRCA), Inteligência Artificial, dentre\n outras. Soluções personalizadas para desafios em comum.\n

\n
\n
\n
\n \n )\n}\n","// extracted by mini-css-extract-plugin\nexport var softBlueGradient = \"AboutUs-module--soft-blue-gradient--1WOwE\";\nexport var aboutUs = \"AboutUs-module--aboutUs--261Dz\";\nexport var aboutUsBackground = \"AboutUs-module--aboutUsBackground--XD3Kx\";\nexport var aboutUsAvatar = \"AboutUs-module--aboutUsAvatar--2Y4U0\";\nexport var quoteContainer = \"AboutUs-module--quoteContainer--2ga-A\";\nexport var quoteIcon = \"AboutUs-module--quoteIcon--1Tqey\";\nexport var quoteText = \"AboutUs-module--quoteText--1nd0-\";\nexport var spacer = \"AboutUs-module--spacer--ITdIG\";\nexport var listIcon = \"AboutUs-module--listIcon--1IWV3\";\nexport var texts = \"AboutUs-module--texts--TWw_X\";\nexport var aboutText = \"AboutUs-module--aboutText--3g2Pn\";","// extracted by mini-css-extract-plugin\nexport var softBlueGradient = \"Statistics-module--soft-blue-gradient--1i0ED\";\nexport var statistics = \"Statistics-module--statistics--2hAFa\";\nexport var largeMargin = \"Statistics-module--largeMargin--1WQ16\";\nexport var subtitle = \"Statistics-module--subtitle---lZkA\";\nexport var statisticsItem = \"Statistics-module--statisticsItem--14A7k\";","import React from 'react'\nimport clsx from 'clsx'\n\nimport * as styles from '../styles/components/Statistics.module.scss'\n\ninterface StatisticsProps {\n largeMargin?: boolean\n}\n\nexport const Statistics: React.FC = ({ largeMargin }) => {\n return (\n \n
\n
\n
\n

\n Esses são alguns números da Valore Brasil em gerenciamento de\n projetos\n

\n
\n
\n
\n \n + 12\n \n Anos de mercado\n
\n\n
\n \n + 300\n \n Projetos no portfólio\n
\n\n
\n \n + 3000\n \n Processos Melhorados\n
\n
\n
\n
\n \n )\n}\n","import { makeObservable } from \"mobx\";\nimport { useState } from \"react\";\n\nif (!useState) {\n throw new Error(\"mobx-react-lite requires React with Hooks support\");\n}\n\nif (!makeObservable) {\n throw new Error(\"mobx-react-lite@3 requires mobx at least version 6 to be available\");\n}","import { configure } from \"mobx\";\nexport function defaultNoopBatch(callback) {\n callback();\n}\nexport function observerBatching(reactionScheduler) {\n if (!reactionScheduler) {\n reactionScheduler = defaultNoopBatch;\n\n if (\"production\" !== process.env.NODE_ENV) {\n console.warn(\"[MobX] Failed to get unstable_batched updates from react-dom / react-native\");\n }\n }\n\n configure({\n reactionScheduler: reactionScheduler\n });\n}\nexport var isObserverBatched = function isObserverBatched() {\n if (\"production\" !== process.env.NODE_ENV) {\n console.warn(\"[MobX] Deprecated\");\n }\n\n return true;\n};","import { getDependencyTree } from \"mobx\";\nexport function printDebugValue(v) {\n return getDependencyTree(v);\n}","var FinalizationRegistryLocal = typeof FinalizationRegistry === \"undefined\" ? undefined : FinalizationRegistry;\nexport { FinalizationRegistryLocal as FinalizationRegistry };","export function createTrackingData(reaction) {\n var trackingData = {\n reaction: reaction,\n mounted: false,\n changedBeforeMount: false,\n cleanAt: Date.now() + CLEANUP_LEAKED_REACTIONS_AFTER_MILLIS\n };\n return trackingData;\n}\n/**\n * The minimum time before we'll clean up a Reaction created in a render\n * for a component that hasn't managed to run its effects. This needs to\n * be big enough to ensure that a component won't turn up and have its\n * effects run without being re-rendered.\n */\n\nexport var CLEANUP_LEAKED_REACTIONS_AFTER_MILLIS = 10000;\n/**\n * The frequency with which we'll check for leaked reactions.\n */\n\nexport var CLEANUP_TIMER_LOOP_MILLIS = 10000;","var __values = this && this.__values || function (o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator,\n m = s && o[s],\n i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function next() {\n if (o && i >= o.length) o = void 0;\n return {\n value: o && o[i++],\n done: !o\n };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\n\nimport { CLEANUP_TIMER_LOOP_MILLIS, createTrackingData } from \"./reactionCleanupTrackingCommon\";\n/**\n * timers, gc-style, uncommitted reaction cleanup\n */\n\nexport function createTimerBasedReactionCleanupTracking() {\n /**\n * Reactions created by components that have yet to be fully mounted.\n */\n var uncommittedReactionRefs = new Set();\n /**\n * Latest 'uncommitted reactions' cleanup timer handle.\n */\n\n var reactionCleanupHandle;\n /* istanbul ignore next */\n\n /**\n * Only to be used by test functions; do not export outside of mobx-react-lite\n */\n\n function forceCleanupTimerToRunNowForTests() {\n // This allows us to control the execution of the cleanup timer\n // to force it to run at awkward times in unit tests.\n if (reactionCleanupHandle) {\n clearTimeout(reactionCleanupHandle);\n cleanUncommittedReactions();\n }\n }\n /* istanbul ignore next */\n\n\n function resetCleanupScheduleForTests() {\n var e_1, _a;\n\n if (uncommittedReactionRefs.size > 0) {\n try {\n for (var uncommittedReactionRefs_1 = __values(uncommittedReactionRefs), uncommittedReactionRefs_1_1 = uncommittedReactionRefs_1.next(); !uncommittedReactionRefs_1_1.done; uncommittedReactionRefs_1_1 = uncommittedReactionRefs_1.next()) {\n var ref = uncommittedReactionRefs_1_1.value;\n var tracking = ref.current;\n\n if (tracking) {\n tracking.reaction.dispose();\n ref.current = null;\n }\n }\n } catch (e_1_1) {\n e_1 = {\n error: e_1_1\n };\n } finally {\n try {\n if (uncommittedReactionRefs_1_1 && !uncommittedReactionRefs_1_1.done && (_a = uncommittedReactionRefs_1.return)) _a.call(uncommittedReactionRefs_1);\n } finally {\n if (e_1) throw e_1.error;\n }\n }\n\n uncommittedReactionRefs.clear();\n }\n\n if (reactionCleanupHandle) {\n clearTimeout(reactionCleanupHandle);\n reactionCleanupHandle = undefined;\n }\n }\n\n function ensureCleanupTimerRunning() {\n if (reactionCleanupHandle === undefined) {\n reactionCleanupHandle = setTimeout(cleanUncommittedReactions, CLEANUP_TIMER_LOOP_MILLIS);\n }\n }\n\n function scheduleCleanupOfReactionIfLeaked(ref) {\n uncommittedReactionRefs.add(ref);\n ensureCleanupTimerRunning();\n }\n\n function recordReactionAsCommitted(reactionRef) {\n uncommittedReactionRefs.delete(reactionRef);\n }\n /**\n * Run by the cleanup timer to dispose any outstanding reactions\n */\n\n\n function cleanUncommittedReactions() {\n reactionCleanupHandle = undefined; // Loop through all the candidate leaked reactions; those older\n // than CLEANUP_LEAKED_REACTIONS_AFTER_MILLIS get tidied.\n\n var now = Date.now();\n uncommittedReactionRefs.forEach(function (ref) {\n var tracking = ref.current;\n\n if (tracking) {\n if (now >= tracking.cleanAt) {\n // It's time to tidy up this leaked reaction.\n tracking.reaction.dispose();\n ref.current = null;\n uncommittedReactionRefs.delete(ref);\n }\n }\n });\n\n if (uncommittedReactionRefs.size > 0) {\n // We've just finished a round of cleanups but there are still\n // some leak candidates outstanding.\n ensureCleanupTimerRunning();\n }\n }\n\n return {\n addReactionToTrack: function addReactionToTrack(reactionTrackingRef, reaction,\n /**\n * On timer based implementation we don't really need this object,\n * but we keep the same api\n */\n objectRetainedByReact) {\n reactionTrackingRef.current = createTrackingData(reaction);\n scheduleCleanupOfReactionIfLeaked(reactionTrackingRef);\n return reactionTrackingRef.current;\n },\n recordReactionAsCommitted: recordReactionAsCommitted,\n forceCleanupTimerToRunNowForTests: forceCleanupTimerToRunNowForTests,\n resetCleanupScheduleForTests: resetCleanupScheduleForTests\n };\n}","import { FinalizationRegistry as FinalizationRegistryMaybeUndefined } from \"./FinalizationRegistryWrapper\";\nimport { createReactionCleanupTrackingUsingFinalizationRegister } from \"./createReactionCleanupTrackingUsingFinalizationRegister\";\nimport { createTimerBasedReactionCleanupTracking } from \"./createTimerBasedReactionCleanupTracking\";\n\nvar _a = FinalizationRegistryMaybeUndefined ? createReactionCleanupTrackingUsingFinalizationRegister(FinalizationRegistryMaybeUndefined) : createTimerBasedReactionCleanupTracking(),\n addReactionToTrack = _a.addReactionToTrack,\n recordReactionAsCommitted = _a.recordReactionAsCommitted,\n resetCleanupScheduleForTests = _a.resetCleanupScheduleForTests,\n forceCleanupTimerToRunNowForTests = _a.forceCleanupTimerToRunNowForTests;\n\nexport { addReactionToTrack, recordReactionAsCommitted, resetCleanupScheduleForTests, forceCleanupTimerToRunNowForTests };","import { createTrackingData } from \"./reactionCleanupTrackingCommon\";\n/**\n * FinalizationRegistry-based uncommitted reaction cleanup\n */\n\nexport function createReactionCleanupTrackingUsingFinalizationRegister(FinalizationRegistry) {\n var cleanupTokenToReactionTrackingMap = new Map();\n var globalCleanupTokensCounter = 1;\n var registry = new FinalizationRegistry(function cleanupFunction(token) {\n var trackedReaction = cleanupTokenToReactionTrackingMap.get(token);\n\n if (trackedReaction) {\n trackedReaction.reaction.dispose();\n cleanupTokenToReactionTrackingMap.delete(token);\n }\n });\n return {\n addReactionToTrack: function addReactionToTrack(reactionTrackingRef, reaction, objectRetainedByReact) {\n var token = globalCleanupTokensCounter++;\n registry.register(objectRetainedByReact, token, reactionTrackingRef);\n reactionTrackingRef.current = createTrackingData(reaction);\n reactionTrackingRef.current.finalizationRegistryCleanupToken = token;\n cleanupTokenToReactionTrackingMap.set(token, reactionTrackingRef.current);\n return reactionTrackingRef.current;\n },\n recordReactionAsCommitted: function recordReactionAsCommitted(reactionRef) {\n registry.unregister(reactionRef);\n\n if (reactionRef.current && reactionRef.current.finalizationRegistryCleanupToken) {\n cleanupTokenToReactionTrackingMap.delete(reactionRef.current.finalizationRegistryCleanupToken);\n }\n },\n forceCleanupTimerToRunNowForTests: function forceCleanupTimerToRunNowForTests() {// When FinalizationRegistry in use, this this is no-op\n },\n resetCleanupScheduleForTests: function resetCleanupScheduleForTests() {// When FinalizationRegistry in use, this this is no-op\n }\n };\n}","var globalIsUsingStaticRendering = false;\nexport function enableStaticRendering(enable) {\n globalIsUsingStaticRendering = enable;\n}\nexport function isUsingStaticRendering() {\n return globalIsUsingStaticRendering;\n}","var __read = this && this.__read || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o),\n r,\n ar = [],\n e;\n\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {\n ar.push(r.value);\n }\n } catch (error) {\n e = {\n error: error\n };\n } finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n } finally {\n if (e) throw e.error;\n }\n }\n\n return ar;\n};\n\nimport { Reaction } from \"mobx\";\nimport React from \"react\";\nimport { printDebugValue } from \"./utils/printDebugValue\";\nimport { addReactionToTrack, recordReactionAsCommitted } from \"./utils/reactionCleanupTracking\";\nimport { isUsingStaticRendering } from \"./staticRendering\";\n\nfunction observerComponentNameFor(baseComponentName) {\n return \"observer\" + baseComponentName;\n}\n/**\n * We use class to make it easier to detect in heap snapshots by name\n */\n\n\nvar ObjectToBeRetainedByReact =\n/** @class */\nfunction () {\n function ObjectToBeRetainedByReact() {}\n\n return ObjectToBeRetainedByReact;\n}();\n\nfunction objectToBeRetainedByReactFactory() {\n return new ObjectToBeRetainedByReact();\n}\n\nexport function useObserver(fn, baseComponentName) {\n if (baseComponentName === void 0) {\n baseComponentName = \"observed\";\n }\n\n if (isUsingStaticRendering()) {\n return fn();\n }\n\n var _a = __read(React.useState(objectToBeRetainedByReactFactory), 1),\n objectRetainedByReact = _a[0]; // Force update, see #2982\n\n\n var _b = __read(React.useState(), 2),\n setState = _b[1];\n\n var forceUpdate = function forceUpdate() {\n return setState([]);\n }; // StrictMode/ConcurrentMode/Suspense may mean that our component is\n // rendered and abandoned multiple times, so we need to track leaked\n // Reactions.\n\n\n var reactionTrackingRef = React.useRef(null);\n\n if (!reactionTrackingRef.current) {\n // First render for this component (or first time since a previous\n // reaction from an abandoned render was disposed).\n var newReaction = new Reaction(observerComponentNameFor(baseComponentName), function () {\n // Observable has changed, meaning we want to re-render\n // BUT if we're a component that hasn't yet got to the useEffect()\n // stage, we might be a component that _started_ to render, but\n // got dropped, and we don't want to make state changes then.\n // (It triggers warnings in StrictMode, for a start.)\n if (trackingData_1.mounted) {\n // We have reached useEffect(), so we're mounted, and can trigger an update\n forceUpdate();\n } else {\n // We haven't yet reached useEffect(), so we'll need to trigger a re-render\n // when (and if) useEffect() arrives.\n trackingData_1.changedBeforeMount = true;\n }\n });\n var trackingData_1 = addReactionToTrack(reactionTrackingRef, newReaction, objectRetainedByReact);\n }\n\n var reaction = reactionTrackingRef.current.reaction;\n React.useDebugValue(reaction, printDebugValue);\n React.useEffect(function () {\n // Called on first mount only\n recordReactionAsCommitted(reactionTrackingRef);\n\n if (reactionTrackingRef.current) {\n // Great. We've already got our reaction from our render;\n // all we need to do is to record that it's now mounted,\n // to allow future observable changes to trigger re-renders\n reactionTrackingRef.current.mounted = true; // Got a change before first mount, force an update\n\n if (reactionTrackingRef.current.changedBeforeMount) {\n reactionTrackingRef.current.changedBeforeMount = false;\n forceUpdate();\n }\n } else {\n // The reaction we set up in our render has been disposed.\n // This can be due to bad timings of renderings, e.g. our\n // component was paused for a _very_ long time, and our\n // reaction got cleaned up\n // Re-create the reaction\n reactionTrackingRef.current = {\n reaction: new Reaction(observerComponentNameFor(baseComponentName), function () {\n // We've definitely already been mounted at this point\n forceUpdate();\n }),\n mounted: true,\n changedBeforeMount: false,\n cleanAt: Infinity\n };\n forceUpdate();\n }\n\n return function () {\n reactionTrackingRef.current.reaction.dispose();\n reactionTrackingRef.current = null;\n };\n }, []); // render the original component, but have the\n // reaction track the observables, so that rendering\n // can be invalidated (see above) once a dependency changes\n\n var rendering;\n var exception;\n reaction.track(function () {\n try {\n rendering = fn();\n } catch (e) {\n exception = e;\n }\n });\n\n if (exception) {\n throw exception; // re-throw any exceptions caught during rendering\n }\n\n return rendering;\n}","var __assign = this && this.__assign || function () {\n __assign = Object.assign || function (t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n }\n\n return t;\n };\n\n return __assign.apply(this, arguments);\n};\n\nimport { forwardRef, memo } from \"react\";\nimport { isUsingStaticRendering } from \"./staticRendering\";\nimport { useObserver } from \"./useObserver\"; // n.b. base case is not used for actual typings or exported in the typing files\n\nexport function observer(baseComponent, options) {\n // The working of observer is explained step by step in this talk: https://www.youtube.com/watch?v=cPF4iBedoF0&feature=youtu.be&t=1307\n if (isUsingStaticRendering()) {\n return baseComponent;\n }\n\n var realOptions = __assign({\n forwardRef: false\n }, options);\n\n var baseComponentName = baseComponent.displayName || baseComponent.name;\n\n var wrappedComponent = function wrappedComponent(props, ref) {\n return useObserver(function () {\n return baseComponent(props, ref);\n }, baseComponentName);\n };\n\n wrappedComponent.displayName = baseComponentName; // memo; we are not interested in deep updates\n // in props; we assume that if deep objects are changed,\n // this is in observables, which would have been tracked anyway\n\n var memoComponent;\n\n if (realOptions.forwardRef) {\n // we have to use forwardRef here because:\n // 1. it cannot go before memo, only after it\n // 2. forwardRef converts the function into an actual component, so we can't let the baseComponent do it\n // since it wouldn't be a callable function anymore\n memoComponent = memo(forwardRef(wrappedComponent));\n } else {\n memoComponent = memo(wrappedComponent);\n }\n\n copyStaticProperties(baseComponent, memoComponent);\n memoComponent.displayName = baseComponentName;\n return memoComponent;\n} // based on https://github.com/mridgway/hoist-non-react-statics/blob/master/src/index.js\n\nvar hoistBlackList = {\n $$typeof: true,\n render: true,\n compare: true,\n type: true\n};\n\nfunction copyStaticProperties(base, target) {\n Object.keys(base).forEach(function (key) {\n if (!hoistBlackList[key]) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(base, key));\n }\n });\n}","var __read = this && this.__read || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o),\n r,\n ar = [],\n e;\n\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {\n ar.push(r.value);\n }\n } catch (error) {\n e = {\n error: error\n };\n } finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n } finally {\n if (e) throw e.error;\n }\n }\n\n return ar;\n};\n\nimport { useDeprecated } from \"./utils/utils\";\nimport { observable, runInAction } from \"mobx\";\nimport { useState } from \"react\";\nexport function useAsObservableSource(current) {\n if (\"production\" !== process.env.NODE_ENV) useDeprecated(\"[mobx-react-lite] 'useAsObservableSource' is deprecated, please store the values directly in an observable, for example by using 'useLocalObservable', and sync future updates using 'useEffect' when needed. See the README for examples.\");\n\n var _a = __read(useState(function () {\n return observable(current, {}, {\n deep: false\n });\n }), 1),\n res = _a[0];\n\n runInAction(function () {\n Object.assign(res, current);\n });\n return res;\n}","import \"./utils/assertEnvironment\";\nimport { unstable_batchedUpdates as batch } from \"./utils/reactBatchedUpdates\";\nimport { observerBatching } from \"./utils/observerBatching\";\nimport { useDeprecated } from \"./utils/utils\";\nimport { useObserver as useObserverOriginal } from \"./useObserver\";\nimport { enableStaticRendering } from \"./staticRendering\";\nobserverBatching(batch);\nexport { isUsingStaticRendering, enableStaticRendering } from \"./staticRendering\";\nexport { observer } from \"./observer\";\nexport { Observer } from \"./ObserverComponent\";\nexport { useLocalObservable } from \"./useLocalObservable\";\nexport { useLocalStore } from \"./useLocalStore\";\nexport { useAsObservableSource } from \"./useAsObservableSource\";\nexport { resetCleanupScheduleForTests as clearTimers } from \"./utils/reactionCleanupTracking\";\nexport function useObserver(fn, baseComponentName) {\n if (baseComponentName === void 0) {\n baseComponentName = \"observed\";\n }\n\n if (\"production\" !== process.env.NODE_ENV) {\n useDeprecated(\"[mobx-react-lite] 'useObserver(fn)' is deprecated. Use `{fn}` instead, or wrap the entire component in `observer`.\");\n }\n\n return useObserverOriginal(fn, baseComponentName);\n}\nexport { isObserverBatched, observerBatching } from \"./utils/observerBatching\";\nexport function useStaticRendering(enable) {\n if (\"production\" !== process.env.NODE_ENV) {\n console.warn(\"[mobx-react-lite] 'useStaticRendering' is deprecated, use 'enableStaticRendering' instead\");\n }\n\n enableStaticRendering(enable);\n}","// extracted by mini-css-extract-plugin\nexport var softBlueGradient = \"Loading-module--soft-blue-gradient--1vHi5\";\nexport var loading = \"Loading-module--loading--114dN\";\nexport var active = \"Loading-module--active--8kZ1E\";\nexport var content = \"Loading-module--content--2vWXj\";\nexport var scale = \"Loading-module--scale--3fbbp\";","import React from 'react'\nimport clsx from 'clsx'\nimport { observer } from 'mobx-react-lite'\n\nimport * as styles from '../styles/components/Loading.module.scss'\n\nimport { LoadingContext } from '../utils/LoadingContext'\nimport logo from '../images/valore-logo.png'\n\nexport interface LoadingProps {\n context: typeof LoadingContext\n}\n\nexport const Loading: React.FC = observer(({ context }) => {\n return (\n \n
\n \"Valore\n
\n \n )\n})\n","import React, { useState, useEffect, useRef } from 'react'\nimport '../styles/global.scss'\n\nimport { Header } from './Header'\nimport { MegaFooter } from './MegaFooter'\nimport { ToastAlert } from './ToastAlert'\n\nimport { Loading } from './Loading'\nimport { LoadingContext } from '../utils/LoadingContext'\nimport { useMediaQuery } from '../utils/hooks'\n\nimport scrollTo from 'gatsby-plugin-smoothscroll'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport { faChevronUp } from '@fortawesome/free-solid-svg-icons'\nimport clsx from 'clsx'\ninterface LayoutProps {\n isLargeFooter?: boolean\n location: typeof window.location\n mainFolder?: string\n}\n\nexport const Layout: React.FC = ({\n location,\n mainFolder,\n children,\n}) => {\n const isMobile = useMediaQuery(`780`)\n const [sticky, setSticky] = useState(false)\n const [pageEnd, setPageEnd] = useState(false)\n const [height, setHeight] = useState(0)\n const ref = useRef(null)\n\n const onScroll = () => {\n if (height) setPageEnd(window.scrollY + window.innerHeight >= height)\n setSticky(window.scrollY > 1500)\n }\n\n useEffect(() => {\n window.addEventListener(`scroll`, onScroll)\n\n return () => {\n window.removeEventListener(`scroll`, onScroll)\n setHeight(ref?.current?.clientHeight)\n }\n }, [])\n\n useEffect(() => {\n if (ref.current)\n setPageEnd(\n window.scrollY + window.innerHeight >= ref.current.clientHeight\n )\n }, [ref.current])\n\n return (\n
\n \n \n {children}\n \n \n scrollTo('body')}\n >\n \n \n
\n )\n}\n","\"use strict\";\n\nexports.__esModule = true;\nexports[\"default\"] = void 0;\n\n/**\n * Smooth scrolling onClick event handler\n * @param {string} selector argument will be passed to `querySelector`, usually an HTML id\n * @param {string} [blockPosition='start'] argument will be used to determine position where will be scrolled to (start, center, end, nearest)\n * @returns {boolean} false if `document.querySelector` doesn't find a match, otherwise true\n */\nvar scrollTo = function scrollTo(selector, blockPosition) {\n if (blockPosition === void 0) {\n blockPosition = 'start';\n }\n\n var element = document.querySelector(selector);\n\n if (element) {\n element.scrollIntoView({\n behavior: 'smooth',\n block: blockPosition\n });\n return true;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n console.warn(\"gatsby-plugin-smoothscroll:\\n The selector: '%s' wasn't found in the document.\\n Make sure you pass in a valid CSS selector string.\", selector);\n }\n\n return false;\n};\n\nvar _default = scrollTo;\nexports[\"default\"] = _default;"],"sourceRoot":""}