{"version":3,"sources":["webpack://ingenieuses.ca/./node_modules/reactstrap/es/Card.js","webpack://ingenieuses.ca/./node_modules/reactstrap/es/CardBody.js","webpack://ingenieuses.ca/./node_modules/reactstrap/es/CardImg.js","webpack://ingenieuses.ca/./node_modules/reactstrap/es/CardTitle.js","webpack://ingenieuses.ca/./node_modules/core-js/internals/a-constructor.js","webpack://ingenieuses.ca/./node_modules/core-js/internals/is-constructor.js","webpack://ingenieuses.ca/./node_modules/core-js/internals/native-promise-constructor.js","webpack://ingenieuses.ca/./node_modules/core-js/internals/new-promise-capability.js","webpack://ingenieuses.ca/./node_modules/core-js/internals/promise-resolve.js","webpack://ingenieuses.ca/./node_modules/core-js/internals/species-constructor.js","webpack://ingenieuses.ca/./node_modules/core-js/modules/es.promise.finally.js","webpack://ingenieuses.ca/./src/components/MentorshipPage/DescriptionSection.tsx","webpack://ingenieuses.ca/./node_modules/reactstrap/es/Badge.js","webpack://ingenieuses.ca/./src/components/MentorshipPage/GodmotherDescription.tsx","webpack://ingenieuses.ca/./src/components/MentorshipPage/GodmotherCard.tsx","webpack://ingenieuses.ca/./src/components/MentorshipPage/GodmotherSection.tsx","webpack://ingenieuses.ca/./node_modules/gatsby/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","webpack://ingenieuses.ca/./src/components/MentorshipPage/GodmotherFormSection.tsx","webpack://ingenieuses.ca/./src/components/MentorshipPage/index.tsx","webpack://ingenieuses.ca/./src/pages/mentorship.tsx","webpack://ingenieuses.ca/./node_modules/gatsby/node_modules/@babel/runtime/regenerator/index.js","webpack://ingenieuses.ca/./node_modules/regenerator-runtime/runtime.js"],"names":["Card","props","className","cssModule","color","body","inverse","outline","Tag","tag","innerRef","attributes","classes","ref","defaultProps","CardBody","CardImg","top","bottom","cardImgClassName","CardTitle","global","isConstructor","tryToString","TypeError","module","exports","argument","uncurryThis","fails","isCallable","classof","getBuiltIn","inspectSource","noop","empty","construct","constructorRegExp","exec","INCORRECT_TO_STRING","isConstructorModern","error","isConstructorLegacy","sham","called","call","Object","Promise","aCallable","PromiseCapability","C","resolve","reject","this","promise","$$resolve","$$reject","undefined","f","anObject","isObject","newPromiseCapability","x","constructor","promiseCapability","aConstructor","SPECIES","wellKnownSymbol","O","defaultConstructor","S","$","IS_PURE","NativePromise","speciesConstructor","promiseResolve","redefine","target","proto","real","forced","prototype","then","onFinally","isFunction","e","method","unsafe","scrollToForm","title","mentorDescription","Container","Row","Col","md","Button","type","onClick","FormattedMessage","id","Badge","pill","href","popoverOpen","description","name","image","programs","useState","isOpen","setIsOpen","getColor","program","PROGRAMS","label","value","badgePrograms","slice","i","length","push","lg","cursor","onMouseEnter","onMouseLeave","src","alt","map","index","key","mentors","mentor","asyncGeneratorStep","gen","_next","_throw","arg","info","done","formRef","godmother","setGodmother","email","setEmail","prenom","setPrenom","nom","setNom","session","setSession","isDisabled","setIsDisabled","programme","setProgramme","sendEmail","spreadsheetStatus","spreadsheetError","emailjs","process","marrainage_type","nom_etudiante","toUpperCase","nom_marraine","courriel_etudiante","session_etudiante","programme_etudiante","spreadsheets_status","spreadsheets_error","questions_etudiante","toast","ToastConfigs","catch","finally","appendSpreadsheet","fn","erreur","payload","JSON","stringify","fetch","redirect","self","args","arguments","apply","err","FormGroup","Label","for","classNamePrefix","options","placeholder","onChange","Input","useIntl","locale","en","fr","disabled","mentorsContent","useRef","current","scrollIntoView","behavior","location","data","content","mapToGeneralPageFields","contentfulGeneralPageData","contentfulMentorOrder","mentorOrder","node","mapToMentors","mapToMentorsContentFields","contentfulMentorsPage","PageHelmet","genericTitle","genericdescription","url","baseUrl","GODMOTHER_PAGE","homeImage","ScrollToTop","Header","contributionUrl","merchandiseUrl","MentorshipPage","Footer","runtime","Op","hasOwn","hasOwnProperty","$Symbol","Symbol","iteratorSymbol","iterator","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","obj","defineProperty","enumerable","configurable","writable","wrap","innerFn","outerFn","tryLocsList","protoGenerator","Generator","generator","create","context","Context","_invoke","state","GenStateSuspendedStart","GenStateExecuting","Error","GenStateCompleted","doneResult","delegate","delegateResult","maybeInvokeDelegate","ContinueSentinel","sent","_sent","dispatchException","abrupt","record","tryCatch","GenStateSuspendedYield","makeInvokeMethod","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","getPrototypeOf","NativeIteratorPrototype","values","Gp","defineIteratorMethods","forEach","AsyncIterator","PromiseImpl","invoke","result","__await","unwrapped","previousPromise","callInvokeWithMethodAndArg","resultName","next","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","displayName","isGeneratorFunction","genFun","ctor","mark","setPrototypeOf","__proto__","awrap","async","iter","keys","object","reverse","pop","skipTempReset","prev","charAt","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","thrown","delegateYield","regeneratorRuntime","accidentalStrictMode","globalThis","Function"],"mappings":"oLASIA,EAAO,SAAcC,GACvB,IAAIC,EAAYD,EAAMC,UAClBC,EAAYF,EAAME,UAClBC,EAAQH,EAAMG,MACdC,EAAOJ,EAAMI,KACbC,EAAUL,EAAMK,QAChBC,EAAUN,EAAMM,QAChBC,EAAMP,EAAMQ,IACZC,EAAWT,EAAMS,SACjBC,GAAa,OAA8BV,EAAO,CAAC,YAAa,YAAa,QAAS,OAAQ,UAAW,UAAW,MAAO,aAE3HW,GAAU,QAAgB,IAAWV,EAAW,SAAQI,GAAU,eAAsBD,GAAO,cAAqBD,IAASG,EAAU,SAAW,MAAQ,IAAMH,GAAgBD,GACpL,OAAoB,gBAAoBK,GAAK,OAAS,GAAIG,EAAY,CACpET,UAAWU,EACXC,IAAKH,MAITV,EAAKc,aAtBc,CACjBL,IAAK,OAsBP,O,iGCnBIM,EAAW,SAAkBd,GAC/B,IAAIC,EAAYD,EAAMC,UAClBC,EAAYF,EAAME,UAClBO,EAAWT,EAAMS,SACjBF,EAAMP,EAAMQ,IACZE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AGtC,IACE2T,mBAAqBjH,EACrB,MAAOkH,GAWmB,iBAAfC,WACTA,WAAWF,mBAAqBjH,EAEhCoH,SAAS,IAAK,yBAAdA,CAAwCpH","file":"component---src-pages-mentorship-tsx-fb447c5210d7d3a1d09e.js","sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport React from 'react';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar defaultProps = {\n tag: 'div'\n};\n\nvar Card = function Card(props) {\n var className = props.className,\n cssModule = props.cssModule,\n color = props.color,\n body = props.body,\n inverse = props.inverse,\n outline = props.outline,\n Tag = props.tag,\n innerRef = props.innerRef,\n attributes = _objectWithoutPropertiesLoose(props, [\"className\", \"cssModule\", \"color\", \"body\", \"inverse\", \"outline\", \"tag\", \"innerRef\"]);\n\n var classes = mapToCssModules(classNames(className, 'card', inverse ? 'text-white' : false, body ? 'card-body' : false, color ? (outline ? 'border' : 'bg') + \"-\" + color : false), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes,\n ref: innerRef\n }));\n};\n\nCard.defaultProps = defaultProps;\nexport default Card;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport React from 'react';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar defaultProps = {\n tag: 'div'\n};\n\nvar CardBody = function CardBody(props) {\n var className = props.className,\n cssModule = props.cssModule,\n innerRef = props.innerRef,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, [\"className\", \"cssModule\", \"innerRef\", \"tag\"]);\n\n var classes = mapToCssModules(classNames(className, 'card-body'), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes,\n ref: innerRef\n }));\n};\n\nCardBody.defaultProps = defaultProps;\nexport default CardBody;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport React from 'react';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar defaultProps = {\n tag: 'img'\n};\n\nvar CardImg = function CardImg(props) {\n var className = props.className,\n cssModule = props.cssModule,\n top = props.top,\n bottom = props.bottom,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, [\"className\", \"cssModule\", \"top\", \"bottom\", \"tag\"]);\n\n var cardImgClassName = 'card-img';\n\n if (top) {\n cardImgClassName = 'card-img-top';\n }\n\n if (bottom) {\n cardImgClassName = 'card-img-bottom';\n }\n\n var classes = mapToCssModules(classNames(className, cardImgClassName), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\n\nCardImg.defaultProps = defaultProps;\nexport default CardImg;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport React from 'react';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar defaultProps = {\n tag: 'div'\n};\n\nvar CardTitle = function CardTitle(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, [\"className\", \"cssModule\", \"tag\"]);\n\n var classes = mapToCssModules(classNames(className, 'card-title'), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\n\nCardTitle.defaultProps = defaultProps;\nexport default CardTitle;","var global = require('../internals/global');\nvar isConstructor = require('../internals/is-constructor');\nvar tryToString = require('../internals/try-to-string');\n\nvar TypeError = global.TypeError;\n\n// `Assert: IsConstructor(argument) is true`\nmodule.exports = function (argument) {\n if (isConstructor(argument)) return argument;\n throw TypeError(tryToString(argument) + ' is not a constructor');\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof');\nvar getBuiltIn = require('../internals/get-built-in');\nvar inspectSource = require('../internals/inspect-source');\n\nvar noop = function () { /* empty */ };\nvar empty = [];\nvar construct = getBuiltIn('Reflect', 'construct');\nvar constructorRegExp = /^\\s*(?:class|function)\\b/;\nvar exec = uncurryThis(constructorRegExp.exec);\nvar INCORRECT_TO_STRING = !constructorRegExp.exec(noop);\n\nvar isConstructorModern = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n try {\n construct(noop, empty, argument);\n return true;\n } catch (error) {\n return false;\n }\n};\n\nvar isConstructorLegacy = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n switch (classof(argument)) {\n case 'AsyncFunction':\n case 'GeneratorFunction':\n case 'AsyncGeneratorFunction': return false;\n }\n try {\n // we can't check .prototype since constructors produced by .bind haven't it\n // `Function#toString` throws on some built-it function in some legacy engines\n // (for example, `DOMQuad` and similar in FF41-)\n return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));\n } catch (error) {\n return true;\n }\n};\n\nisConstructorLegacy.sham = true;\n\n// `IsConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-isconstructor\nmodule.exports = !construct || fails(function () {\n var called;\n return isConstructorModern(isConstructorModern.call)\n || !isConstructorModern(Object)\n || !isConstructorModern(function () { called = true; })\n || called;\n}) ? isConstructorLegacy : isConstructorModern;\n","var global = require('../internals/global');\n\nmodule.exports = global.Promise;\n","'use strict';\nvar aCallable = require('../internals/a-callable');\n\nvar PromiseCapability = function (C) {\n var resolve, reject;\n this.promise = new C(function ($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aCallable(resolve);\n this.reject = aCallable(reject);\n};\n\n// `NewPromiseCapability` abstract operation\n// https://tc39.es/ecma262/#sec-newpromisecapability\nmodule.exports.f = function (C) {\n return new PromiseCapability(C);\n};\n","var anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar newPromiseCapability = require('../internals/new-promise-capability');\n\nmodule.exports = function (C, x) {\n anObject(C);\n if (isObject(x) && x.constructor === C) return x;\n var promiseCapability = newPromiseCapability.f(C);\n var resolve = promiseCapability.resolve;\n resolve(x);\n return promiseCapability.promise;\n};\n","var anObject = require('../internals/an-object');\nvar aConstructor = require('../internals/a-constructor');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `SpeciesConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-speciesconstructor\nmodule.exports = function (O, defaultConstructor) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aConstructor(S);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar NativePromise = require('../internals/native-promise-constructor');\nvar fails = require('../internals/fails');\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar speciesConstructor = require('../internals/species-constructor');\nvar promiseResolve = require('../internals/promise-resolve');\nvar redefine = require('../internals/redefine');\n\n// Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829\nvar NON_GENERIC = !!NativePromise && fails(function () {\n // eslint-disable-next-line unicorn/no-thenable -- required for testing\n NativePromise.prototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ });\n});\n\n// `Promise.prototype.finally` method\n// https://tc39.es/ecma262/#sec-promise.prototype.finally\n$({ target: 'Promise', proto: true, real: true, forced: NON_GENERIC }, {\n 'finally': function (onFinally) {\n var C = speciesConstructor(this, getBuiltIn('Promise'));\n var isFunction = isCallable(onFinally);\n return this.then(\n isFunction ? function (x) {\n return promiseResolve(C, onFinally()).then(function () { return x; });\n } : onFinally,\n isFunction ? function (e) {\n return promiseResolve(C, onFinally()).then(function () { throw e; });\n } : onFinally\n );\n }\n});\n\n// makes sure that native promise-based APIs `Promise#finally` properly works with patched `Promise#then`\nif (!IS_PURE && isCallable(NativePromise)) {\n var method = getBuiltIn('Promise').prototype['finally'];\n if (NativePromise.prototype['finally'] !== method) {\n redefine(NativePromise.prototype, 'finally', method, { unsafe: true });\n }\n}\n","import React from 'react'\nimport { Col, Container, Row, Button } from 'reactstrap'\nimport { FormattedMessage } from 'gatsby-plugin-intl'\n\ninterface DescriptionSection {\n scrollToForm: VoidFunction\n title: string\n mentorDescription: React.ReactNode\n}\n\nconst DescriptionSection = ({ scrollToForm, title, mentorDescription }: DescriptionSection): JSX.Element => {\n return (\n
\n \n \n \n

{title}

\n
{mentorDescription}
\n \n
\n \n \n \n
\n
\n )\n}\n\nexport default DescriptionSection\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport React from 'react';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar defaultProps = {\n color: 'secondary',\n pill: false,\n tag: 'span'\n};\n\nvar Badge = function Badge(props) {\n var className = props.className,\n cssModule = props.cssModule,\n color = props.color,\n innerRef = props.innerRef,\n pill = props.pill,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, [\"className\", \"cssModule\", \"color\", \"innerRef\", \"pill\", \"tag\"]);\n\n var classes = mapToCssModules(classNames(className, 'badge', 'badge-' + color, pill ? 'badge-pill' : false), cssModule);\n\n if (attributes.href && Tag === 'span') {\n Tag = 'a';\n }\n\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes,\n ref: innerRef\n }));\n};\n\nBadge.defaultProps = defaultProps;\nexport default Badge;","import React from 'react'\nimport { CardBody } from 'reactstrap'\n\ninterface GodmotherDescription {\n popoverOpen: boolean\n description: string\n}\n\nconst GodmotherDescription = ({ popoverOpen, description }: GodmotherDescription): JSX.Element => {\n return (\n
\n {description}\n
\n )\n}\n\nexport default GodmotherDescription\n","import React, { useState } from 'react'\nimport { Card, CardImg, CardBody, CardTitle, Badge, Col } from 'reactstrap'\nimport { PROGRAMS } from 'shared/constants'\nimport GodmotherDescription from './GodmotherDescription'\n\ninterface GodmotherCard {\n id: string\n name: string\n description: string\n image: string\n programs: string[]\n}\n\nconst GodmotherCard = ({ id, name, description, image, programs }: GodmotherCard): JSX.Element => {\n const MAX_PROGRAMS = 4\n const [isOpen, setIsOpen] = useState(false)\n const getColor = (program: string) => PROGRAMS.find(({ label }) => label === program)?.value || ''\n const badgePrograms = programs.slice()\n\n for (let i = 0; i < MAX_PROGRAMS - programs.length; i++) {\n badgePrograms.push('')\n }\n\n return (\n {\n setIsOpen(true)\n }}\n onMouseLeave={() => {\n setIsOpen(false)\n }}\n >\n \n \n \n \n \n {name}\n \n {badgePrograms.map((program, index) => (\n \n {program}\n \n ))}\n \n \n \n )\n}\n\nexport default GodmotherCard\n","import React from 'react'\nimport { Container, Row } from 'reactstrap'\nimport { Mentor } from 'shared/types'\nimport { FormattedMessage } from 'gatsby-plugin-intl'\nimport GodmotherCard from './GodmotherCard'\n\ninterface GodmotherSection {\n mentors: Mentor[]\n}\nconst GodmotherSection = ({ mentors }: GodmotherSection): JSX.Element => {\n return (\n
\n \n

\n \n

\n \n {mentors.map((mentor: Mentor) => (\n \n ))}\n \n
\n
\n )\n}\n\nexport default GodmotherSection\n","function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\n\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n\n _next(undefined);\n });\n };\n}","import React, { useState, RefObject } from 'react'\nimport Select, { ValueType } from 'react-select'\nimport { Container, Row, FormGroup, Label, Input, Button } from 'reactstrap'\nimport { toast } from 'react-toastify'\nimport emailjs from 'emailjs-com'\nimport { PROGRAMS, ToastConfigs } from 'shared/constants'\nimport { Mentor } from 'shared/types'\nimport { FormattedMessage, useIntl } from 'gatsby-plugin-intl'\nimport fr from '../../intl/fr.json'\nimport en from '../../intl/en.json'\n\ninterface Option {\n value: string\n label: string\n}\n\ninterface GodmotherFormSection {\n formRef: RefObject | null\n mentors: Mentor[]\n}\n\nconst GodmotherFormSection = ({ formRef, mentors }: GodmotherFormSection): JSX.Element => {\n const [godmother, setGodmother] = useState