{"version":3,"sources":["contexts/ComponentContext.js","components/svg/Header.js","components/Component0.js","components/Component1.js","components/Component2.js","components/Component3.js","App.js","serviceWorker.js","index.js"],"names":["ComponentContext","createContext","SvgHeader","props","useContext","component","setComponent","handleClick","nb","id","className","viewBox","preserveAspectRatio","fill","d","data-name","stroke","strokeWidth","strokeDasharray","opacity","height","x","y","strokeLinecap","strokeLinejoin","strokeMiterlimit","transform","cx","cy","r","onClick","newId","handleNext","clipPath","handlePrev","fontSize","fontFamily","letterSpacing","Component0","Component1","src","process","Component2","Component3","App","title","Header","active","Boolean","window","location","hostname","match","ReactDOM","render","useState","Provider","value","children","document","getElementById","navigator","serviceWorker","ready","then","registration","unregister","catch","error","console","message"],"mappings":"mOAEaA,EAAmBC,0BCgVjBC,EA/UG,SAACC,GAAW,IAAD,EACOC,qBAAWJ,GADlB,mBACpBK,EADoB,KACTC,EADS,KAGrBC,EAAc,SAACC,GACnBF,EAAc,CAAEG,GAAID,KAWtB,OACE,4BAAQE,UAAS,8BAAyBL,EAAUI,KAClD,yCAAUN,EAAV,CAAiBQ,QAAQ,uBAAuBC,oBAAoB,kBAClE,8BACE,8BAAUH,GAAG,iBACX,0BAAMI,KAAK,OAAOC,EAAE,4BAGvB,uBAAGC,YAAU,eACZ,0BACEA,YAAU,iBACVD,EAAE,4BACFD,KAAK,OACLG,OAAO,UACPC,YAAa,EACbC,gBAAiB,IAGnB,0BAAMH,YAAU,gBAAgBF,KAAK,OAAOC,EAAE,sBAC9C,0BAAMC,YAAU,gBAAgBF,KAAK,OAAOC,EAAE,uBAC9C,0BAAMC,YAAU,gBAAgBF,KAAK,OAAOC,EAAE,sBAC9C,0BAAMC,YAAU,gBAAgBF,KAAK,OAAOC,EAAE,uBAC9C,0BACEC,YAAU,cACVL,UAAU,aACVS,QAAS,EACTH,OAAO,UACPC,YAAa,EACbJ,KAAK,OAELO,OAAO,KACPC,EAAE,KACFC,EAAE,UAWJ,0BACEP,YAAU,cACVI,QAAS,IACTH,OAAO,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,+CAOR,yBAAKA,UAAU,eACX,mCACA,yBAAKA,UAAU,YACX,yBAAKA,UAAU,UACX,yBACI8B,IACIC,yGAKZ,yBAAK/B,UAAU,eACX,sCACA,6BAFJ,kFAOJ,wBAAIA,UAAU,IAAd,oCACA,yBAAKA,UAAU,OACX,yBAAKA,UAAU,UACX,yBACI8B,IACIC,2GAKZ,yBAAK/B,UAAU,eACX,sCACA,6BAFJ,+FC1BTkC,G,OA3CH,SAACzC,GAAU,MAGcC,qBAAWJ,GAHzB,mBAGbK,EAHa,KAUbwC,GAVa,KAUa,IAAjBxC,EAAUI,GAAW,OAAO,QAsB3C,OACI,oCACI,6CAAkB,2BAAKoC,IACvB,kBAACC,EAAD,MACA,iCACI,mBAzBU,SAAC3C,GACnB,OAAOA,EAAM4C,QACT,KAAK,EACD,OAAO,kBAAC,EAAD,MAEX,KAAK,EACD,OAAO,kBAAC,EAAD,MAEX,KAAK,EACD,OAAO,kBAAC,EAAD,MAEX,KAAK,EACD,OAAO,kBAAC,EAAD,MAEX,QACI,OAAO,kBAAC,EAAD,SAUP,CAAeA,OAAS1C,EAAUI,SCxC9BuC,QACW,cAA7BC,OAAOC,SAASC,UAEe,UAA7BF,OAAOC,SAASC,UAEhBF,OAAOC,SAASC,SAASC,MACvB,2DCTNC,IAASC,OAAO,mBRNiB,SAAAnD,GAAU,IAAD,EACJoD,mBAAS,CAAE9C,GAAI,IADX,mBAC/BJ,EAD+B,KACpBC,EADoB,KAGtC,OACI,kBAACN,EAAiBwD,SAAlB,CAA2BC,MAAO,CAACpD,EAAWC,IACzCH,EAAMuD,YQCH,KAAmB,kBAAC,EAAD,OAA6BC,SAASC,eAAe,aD0HlF,kBAAmBC,WACrBA,UAAUC,cAAcC,MACrBC,MAAK,SAAAC,GACJA,EAAaC,gBAEdC,OAAM,SAAAC,GACLC,QAAQD,MAAMA,EAAME,c","file":"static/js/main.c57d4f96.chunk.js","sourcesContent":["import React, {useState, createContext} from 'react';\n\nexport const ComponentContext = createContext();\nexport const ComponentProvider = props => {\n const [component, setComponent] = useState({ id: 1 });\n \n return (\n \n {props.children}\n \n );\n}","import React, { useContext } from \"react\";\nimport { ComponentContext } from '../../contexts/ComponentContext';\n\nconst SvgHeader = (props) => {\n const [component, setComponent] = useContext(ComponentContext);\n\n const handleClick = (nb) => {\n setComponent( { id: nb } );\n }\n const handleNext = () => {\n let newId = ((component.id)+1 < 4 ? (component.id)+1 : 0);\n setComponent( { id: newId } );\n }\n const handlePrev = () => {\n let newId = ((component.id)-1 >= 0 ? (component.id)-1 : 3);\n setComponent( { id: newId } );\n }\n\n return (\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n { \n /* \n M49.5 158.857h20\n M49.5 158.857h370\n M49.5 158.857h640\n M49.5 158.857h1120 \n */}\n \n \n \n \n \n \n \n \n \n handleClick(0) } \n >\n \n \n \n \n \n \n \n \n \n \n handleClick(1) } \n >\n \n \n \n \n \n \n \n \n \n handleClick(3) } \n >\n \n \n \n \n \n \n \n \n \n \n handleNext() }\n data-name=\"Symbole 21 \\u2013 16\"\n transform=\"translate(1210 148)\"\n opacity={0.82}\n clipPath=\"url(#header_svg__a)\"\n \n >\n \n \n \n \n { handlePrev() }}\n data-name=\"Symbole 21 \\u2013 17\"\n transform=\"rotate(180 13.173 84.669)\"\n opacity={0.82}\n clipPath=\"url(#header_svg__a)\"\n >\n \n \n \n \n handleClick(2) } \n >\n \n \n \n \n \n \n \n \n \n \n \n {\"CHANGEMENT\"}\n \n \n {\" D'ÉCHELLE\"}\n \n \n \n \n {\"G\\xC9N\\xC9RALISATION\"}\n \n \n \n \n {\"\\xC9valuation\"}\n \n \n \n \n {\"Bilan\"}\n \n \n \n \n \n \n \n {\"EXP\\xC9RIMENTATIONS\"}\n \n \n handleClick(0) } \n >\n \n {\"2020\"}\n \n \n handleClick(1) } \n >\n \n {\"2030\"}\n \n \n handleClick(2) }\n >\n \n {\"2040\"}\n \n \n handleClick(3) }\n >\n \n {\"2050\"}\n \n \n handleClick(2) }\n >\n \n \n \n \n \n
\n );\n}\n\nexport default SvgHeader;\n{\n/*\n \n expérimentations\n évaluation\n changement
d'échelle
\n généralisation\n
\n\n
\n \n this.handleClick(0) } className={ `${(active === 0 ? 'active':'')} cursor-pointer`}>\n 2020 \n \n this.handleClick(1) } className={ `${(active === 1 ? 'active':'')} cursor-pointer`}>\n 2025\n \n this.handleClick(2) } className={ `${(active === 2 ? 'active':'')} cursor-pointer`}>\n 2030\n \n this.handleClick(3) } className={ `${(active === 3 ? 'active':'')} cursor-pointer`}>\n 2050\n \n \n
\n
\n
\n
\n
\n*/\n}","\nimport React, { Fragment } from 'react';\nimport { Column, Row } from \"simple-flexbox\";\n\n\nconst Component0 = () => {\n return(\n \n

Nos objectifs
2030

\n
\n );\n}\nexport default Component0;","import React from \"react\";\nimport { Column, Row } from \"simple-flexbox\";\n\nconst Component1 = () => {\n return (\n <>\n
\n
\n

Recommandations
de l'OMS pour la
qualité de l'air

\n \n

\n RESPECTER
LES RECOMMANDATIONS FIXÉES
PAR L'ORGANISATION\n MONDIALE
DE LA SANTÉ.\n

\n
\n
\n

Gaz à effet de serre

\n
\n
\n \n
\n
\n -50%\n
\n des émissions de gaz à effet de serre sur notre\n parc.\n
\n
\n

Empreinte carbone

\n
\n
\n \n
\n
\n -40%\n
\n de l'empreinte carbone d'Elogie-Siemp.\n
\n
\n
\n
\n

EnR

\n
\n
\n \n
\n
\n +45%\n
\n dans la consommation du parc Elogie-Siemp dont 10 % produites localement.\n
\n
\n

Consommations énergétiques

\n
\n
\n \n
\n
\n -35%\n
\n de consommations énergétiques sur le parc Elogie-Siemp par rapport à 2018.\n
\n
\n
\n
\n \n );\n};\nexport default Component1;\n","import React from 'react';\nconst Component2 = () => {\n return(\n
\n

Nos objectifs
2030

\n
\n
\n

Recommandations de l'OMS pour la qualité de l'air

\n

respecter les recommandations fixées par l'organisation mondiale de la santé.

\n
\n
\n

Gaz à effet de serre

\n

Légende Légende : lorem ipsum sed iristium copis arrivam iscidendur.

\n
\n
\n\n
\n
\n -50%
\n des émissions de gaz à effet de serre sur notre parc.\n
\n
\n

Empreinte carbone

\n

Légende Légende : lorem ipsum sed iristium copis arrivam iscidendur.

\n
\n
\n\n
\n
\n -50%
\n des émissions de gaz à effet de serre sur notre parc.\n
\n
\n
\n
\n

Enr

\n

Légende Légende : lorem ipsum sed iristium copis arrivam iscidendur.

\n
\n
\n\n
\n
\n -50%
\n des émissions de gaz à effet de serre sur notre parc.\n
\n
\n

Consommations énergétiques

\n

Légende Légende : lorem ipsum sed iristium copis arrivam iscidendur.

\n
\n
\n\n
\n
\n -50%
\n des émissions de gaz à effet de serre sur notre parc.\n
\n
\n
\n
\n
\n );\n}\nexport default Component2;","import React from \"react\";\nimport { Column, Row } from \"simple-flexbox\";\n\nconst Component3 = () => {\n return (\n <>\n
\n
\n

\n Compenser\n
\n les 20 % d'émissions\n
\n résiduelles\n

\n \n
\n
\n

Gaz à effet de serre

\n
\n
\n \n
\n
\n Zéro\n
\n émission de gaz à effet de serre sur notre parc.\n
\n
\n

Empreinte carbone

\n
\n
\n \n
\n
\n -80%\n
\n de l'empreinte carbone d'Élogie-Siemp.\n
\n
\n
\n
\n

EnR

\n
\n
\n \n
\n
\n 100%\n
\n dans la consommation du parc d'Élogie-Siemp dont 20%\n produites localement.\n
\n
\n

Consommations énergétiques

\n
\n
\n \n
\n
\n -50%\n
\n de consommations énergétiques sur le parc\n Élogie-Siemp par rapport à 2018.\n
\n
\n
\n
\n \n );\n};\nexport default Component3;\n","import React, { useContext, useState } from 'react';\n\nimport Header from './components/svg/Header';\nimport Component0 from './components/Component0';\nimport Component1 from './components/Component1';\nimport Component2 from './components/Component2';\nimport Component3 from './components/Component3';\nimport { Column, Row } from \"simple-flexbox\";\n\nimport { ComponentContext, ComponentProvider } from './contexts/ComponentContext';\nimport './App.scss';\n\n\n\n\nconst App = (props) => {\n // const [id, setId] = useState(1);\n \n const [component, setComponent] = useContext(ComponentContext);\n const styleRep = {\n backgroundImage: 'url('+process.env.REACT_APP_API_URL+'/img/elements/indic.svg)',\n };\n const styleActive = {\n backgroundImage: 'url('+process.env.REACT_APP_API_URL+'/img/elements/indic_active.svg)', \n }\n const title = (component.id === 1 ? '2030':'2050');\n\n const LoadComponent = (props) => {\n switch(props.active) {\n case 0: {\n return \n }\n case 1: {\n return \n }\n case 2: {\n return \n }\n case 3: {\n return \n }\n default: {\n return \n }\n }\n }\n\n return ( \n <>\n

Nos objectifs { title }

\n
\n
\n \n
\n \n );\n}\n\nexport default App;\n","// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read https://bit.ly/CRA-PWA\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.0/8 are considered localhost for IPv4.\n window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\n )\n);\n\nexport function register(config) {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Let's check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config);\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit https://bit.ly/CRA-PWA'\n );\n });\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl, config) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n if (installingWorker == null) {\n return;\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n console.log(\n 'New content is available and will be used when all ' +\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\n );\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration);\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log('Content is cached for offline use.');\n\n // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration);\n }\n }\n }\n };\n };\n })\n .catch(error => {\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl, config) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl, {\n headers: { 'Service-Worker': 'script' }\n })\n .then(response => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get('content-type');\n if (\n response.status === 404 ||\n (contentType != null && contentType.indexOf('javascript') === -1)\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl, config);\n }\n })\n .catch(() => {\n console.log(\n 'No internet connection found. App is running in offline mode.'\n );\n });\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready\n .then(registration => {\n registration.unregister();\n })\n .catch(error => {\n console.error(error.message);\n });\n }\n}\n","import 'react-app-polyfill/ie11';\nimport 'react-app-polyfill/stable';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\n\nimport App from './App';\nimport { ComponentProvider } from './contexts/ComponentContext';\nimport * as serviceWorker from './serviceWorker';\n\nReactDOM.render(, document.getElementById('cie-root'));\n\n// If you want your app to work offline and load faster, you can change\n// unregister() to register() below. Note this comes with some pitfalls.\n// Learn more about service workers: https://bit.ly/CRA-PWA\nserviceWorker.unregister();\n"],"sourceRoot":""}