@equinor/echo-cli 3.0.0-beta-0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +393 -393
- package/lib/echo-dev-host/README.md +121 -121
- package/lib/echo-dev-host/babel.config.js +10 -10
- package/lib/echo-dev-host/jest.config.js +21 -21
- package/lib/echo-dev-host/package-lock.json +14542 -14542
- package/lib/echo-dev-host/package.json +1 -1
- package/lib/echo-dev-host/public/env-config.js +17 -17
- package/lib/echo-dev-host/public/index.html +21 -21
- package/lib/echo-dev-host/src/style-reset.css +8 -8
- package/lib/echo-dev-host/tsconfig.json +21 -21
- package/lib/echo-dev-host/webpack.config.js +145 -145
- package/package.json +112 -112
- package/templates/echoAppTemplate/.gitattributes +3 -3
- package/templates/echoAppTemplate/package.json +35 -35
- package/templates/echoAppTemplate/readme.md +41 -41
- package/templates/echoAppTemplate/tsconfig.json +25 -25
- package/templates/echoAppTemplateTutorial/.gitattributes +3 -3
- package/templates/echoAppTemplateTutorial/package.json +36 -36
- package/templates/echoAppTemplateTutorial/readme.md +41 -41
- package/templates/echoAppTemplateTutorial/tsconfig.json +25 -25
- package/templates/echoLibraryTemplate/package.json +35 -35
- package/templates/echoLibraryTemplate/public/index.html +21 -21
- package/templates/echoLibraryTemplate/readme.md +1 -1
- package/templates/echoPluginTemplate/package.json +35 -35
- package/templates/echoPluginTemplate/public/index.html +21 -21
- package/templates/echoPluginTemplate/readme.md +1 -1
- package/lib/echo-dev-host/echo-dev-host-build/d2d97a9feca22f12a8c8c7413d7867ac.jpg +0 -0
- package/lib/echo-dev-host/echo-dev-host-build/env-config.js +0 -1
- package/lib/echo-dev-host/echo-dev-host-build/index.css +0 -60
- package/lib/echo-dev-host/echo-dev-host-build/index.html +0 -21
- package/lib/echo-dev-host/echo-dev-host-build/main.echo.bundle.js +0 -3
- package/lib/echo-dev-host/echo-dev-host-build/main.echo.bundle.js.LICENSE.txt +0 -97
- package/lib/echo-dev-host/echo-dev-host-build/main.echo.bundle.js.map +0 -1
- package/lib/echo-dev-host/echo-dev-host-build/vendors-node_modules_babel_polyfill_lib_index_js-node_modules_react-dom_client_js-node_module-8e2452.echo.bundle.js +0 -3
- package/lib/echo-dev-host/echo-dev-host-build/vendors-node_modules_babel_polyfill_lib_index_js-node_modules_react-dom_client_js-node_module-8e2452.echo.bundle.js.LICENSE.txt +0 -2892
- package/lib/echo-dev-host/echo-dev-host-build/vendors-node_modules_babel_polyfill_lib_index_js-node_modules_react-dom_client_js-node_module-8e2452.echo.bundle.js.map +0 -1
- package/lib/sync-echo-dev-versions.d.ts +0 -6
- package/lib/sync-echo-dev-versions.js +0 -43
- package/lib/sync-echo-dev-versions.js.map +0 -1
- package/lib/tools/buildScripts/buildAndCopyDevHost.test.d.ts +0 -1
- package/lib/tools/buildScripts/buildAndCopyDevHost.test.js +0 -500
- package/lib/tools/buildScripts/buildAndCopyDevHost.test.js.map +0 -1
- package/lib/utils/merge.test.d.ts +0 -1
- package/lib/utils/merge.test.js +0 -29
- package/lib/utils/merge.test.js.map +0 -1
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "echo-library-template",
|
|
3
|
-
"version": "0.0.1",
|
|
4
|
-
"description": "",
|
|
5
|
-
"main": "build/index.js",
|
|
6
|
-
"source": "src/index.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"build": "echo-build",
|
|
9
|
-
"start": "echo-build -s -d"
|
|
10
|
-
},
|
|
11
|
-
"author": "",
|
|
12
|
-
"license": "ISC",
|
|
13
|
-
"manifest": {},
|
|
14
|
-
"dependencies": {},
|
|
15
|
-
"peerDependencies": {
|
|
16
|
-
"@equinor/echo-base": ">= 0.7.0 < 0.8.0",
|
|
17
|
-
"@equinor/echo-components": ">= 0.11.1 < 0.12.0",
|
|
18
|
-
"@equinor/echo-core": ">= 0.9.8 < 0.10.0",
|
|
19
|
-
"@equinor/echo-search": ">= 0.15.3 < 0.16.0",
|
|
20
|
-
"@equinor/echo-utils": ">= 0.4.1 < 0.5.0",
|
|
21
|
-
"react": ">= 17.0.2",
|
|
22
|
-
"react-dom": " >= 17.0.2"
|
|
23
|
-
},
|
|
24
|
-
"devDependencies": {
|
|
25
|
-
"@equinor/echo-base": "0.7.3",
|
|
26
|
-
"@equinor/echo-components": "0.11.16",
|
|
27
|
-
"@equinor/echo-core": "0.9.12",
|
|
28
|
-
"@equinor/echo-search": "0.15.8",
|
|
29
|
-
"@equinor/echo-utils": "0.4.5",
|
|
30
|
-
"@equinor/echo-cli": "0.14.18",
|
|
31
|
-
"@types/react": "18.0.27",
|
|
32
|
-
"@types/react-dom": "18.0.10",
|
|
33
|
-
"react": "18.2.0",
|
|
34
|
-
"react-dom": "18.2.0"
|
|
35
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "echo-library-template",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "build/index.js",
|
|
6
|
+
"source": "src/index.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "echo-build",
|
|
9
|
+
"start": "echo-build -s -d"
|
|
10
|
+
},
|
|
11
|
+
"author": "",
|
|
12
|
+
"license": "ISC",
|
|
13
|
+
"manifest": {},
|
|
14
|
+
"dependencies": {},
|
|
15
|
+
"peerDependencies": {
|
|
16
|
+
"@equinor/echo-base": ">= 0.7.0 < 0.8.0",
|
|
17
|
+
"@equinor/echo-components": ">= 0.11.1 < 0.12.0",
|
|
18
|
+
"@equinor/echo-core": ">= 0.9.8 < 0.10.0",
|
|
19
|
+
"@equinor/echo-search": ">= 0.15.3 < 0.16.0",
|
|
20
|
+
"@equinor/echo-utils": ">= 0.4.1 < 0.5.0",
|
|
21
|
+
"react": ">= 17.0.2",
|
|
22
|
+
"react-dom": " >= 17.0.2"
|
|
23
|
+
},
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"@equinor/echo-base": "0.7.3",
|
|
26
|
+
"@equinor/echo-components": "0.11.16",
|
|
27
|
+
"@equinor/echo-core": "0.9.12",
|
|
28
|
+
"@equinor/echo-search": "0.15.8",
|
|
29
|
+
"@equinor/echo-utils": "0.4.5",
|
|
30
|
+
"@equinor/echo-cli": "0.14.18",
|
|
31
|
+
"@types/react": "18.0.27",
|
|
32
|
+
"@types/react-dom": "18.0.10",
|
|
33
|
+
"react": "18.2.0",
|
|
34
|
+
"react-dom": "18.2.0"
|
|
35
|
+
}
|
|
36
36
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
<!-- src/template.html -->
|
|
2
|
-
<!DOCTYPE html>
|
|
3
|
-
<html lang="en">
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="UTF-8">
|
|
6
|
-
<title>Echo | Search</title>
|
|
7
|
-
<link rel="stylesheet" href="style.css">
|
|
8
|
-
</head>
|
|
9
|
-
|
|
10
|
-
<body>
|
|
11
|
-
<div class="centered">
|
|
12
|
-
<img src="./ee.png" width="250" alt="EchoSearch">
|
|
13
|
-
<div>Example</div>
|
|
14
|
-
<h1 class="header">Echo Search</h1><br />
|
|
15
|
-
<p>Please look at your developer console.</p>
|
|
16
|
-
<button id="start">Start</button>
|
|
17
|
-
<button id="doStuff">Start</button>
|
|
18
|
-
</div>
|
|
19
|
-
</body>
|
|
20
|
-
|
|
21
|
-
</html>
|
|
1
|
+
<!-- src/template.html -->
|
|
2
|
+
<!DOCTYPE html>
|
|
3
|
+
<html lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
<title>Echo | Search</title>
|
|
7
|
+
<link rel="stylesheet" href="style.css">
|
|
8
|
+
</head>
|
|
9
|
+
|
|
10
|
+
<body>
|
|
11
|
+
<div class="centered">
|
|
12
|
+
<img src="./ee.png" width="250" alt="EchoSearch">
|
|
13
|
+
<div>Example</div>
|
|
14
|
+
<h1 class="header">Echo Search</h1><br />
|
|
15
|
+
<p>Please look at your developer console.</p>
|
|
16
|
+
<button id="start">Start</button>
|
|
17
|
+
<button id="doStuff">Start</button>
|
|
18
|
+
</div>
|
|
19
|
+
</body>
|
|
20
|
+
|
|
21
|
+
</html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
# echoLibraryTemplate
|
|
1
|
+
# echoLibraryTemplate
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "echo-plugin-template",
|
|
3
|
-
"version": "0.0.1",
|
|
4
|
-
"description": "",
|
|
5
|
-
"main": "build/index.js",
|
|
6
|
-
"source": "src/index.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"build": "echo-build",
|
|
9
|
-
"start": "echo-build -s -d"
|
|
10
|
-
},
|
|
11
|
-
"author": "",
|
|
12
|
-
"license": "ISC",
|
|
13
|
-
"manifest": {},
|
|
14
|
-
"dependencies": {},
|
|
15
|
-
"peerDependencies": {
|
|
16
|
-
"@equinor/echo-base": ">= 0.7.0 < 0.8.0",
|
|
17
|
-
"@equinor/echo-components": ">= 0.11.1 < 0.12.0",
|
|
18
|
-
"@equinor/echo-core": ">= 0.9.8 < 0.10.0",
|
|
19
|
-
"@equinor/echo-search": ">= 0.15.3 < 0.16.0",
|
|
20
|
-
"@equinor/echo-utils": ">= 0.4.1 < 0.5.0",
|
|
21
|
-
"react": ">= 17.0.2",
|
|
22
|
-
"react-dom": " >= 17.0.2"
|
|
23
|
-
},
|
|
24
|
-
"devDependencies": {
|
|
25
|
-
"@equinor/echo-base": "0.7.3",
|
|
26
|
-
"@equinor/echo-components": "0.11.16",
|
|
27
|
-
"@equinor/echo-core": "0.9.12",
|
|
28
|
-
"@equinor/echo-search": "0.15.8",
|
|
29
|
-
"@equinor/echo-utils": "0.4.5",
|
|
30
|
-
"@equinor/echo-cli": "0.14.18",
|
|
31
|
-
"@types/react": "18.0.27",
|
|
32
|
-
"@types/react-dom": "18.0.10",
|
|
33
|
-
"react": "18.2.0",
|
|
34
|
-
"react-dom": "18.2.0"
|
|
35
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "echo-plugin-template",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "build/index.js",
|
|
6
|
+
"source": "src/index.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "echo-build",
|
|
9
|
+
"start": "echo-build -s -d"
|
|
10
|
+
},
|
|
11
|
+
"author": "",
|
|
12
|
+
"license": "ISC",
|
|
13
|
+
"manifest": {},
|
|
14
|
+
"dependencies": {},
|
|
15
|
+
"peerDependencies": {
|
|
16
|
+
"@equinor/echo-base": ">= 0.7.0 < 0.8.0",
|
|
17
|
+
"@equinor/echo-components": ">= 0.11.1 < 0.12.0",
|
|
18
|
+
"@equinor/echo-core": ">= 0.9.8 < 0.10.0",
|
|
19
|
+
"@equinor/echo-search": ">= 0.15.3 < 0.16.0",
|
|
20
|
+
"@equinor/echo-utils": ">= 0.4.1 < 0.5.0",
|
|
21
|
+
"react": ">= 17.0.2",
|
|
22
|
+
"react-dom": " >= 17.0.2"
|
|
23
|
+
},
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"@equinor/echo-base": "0.7.3",
|
|
26
|
+
"@equinor/echo-components": "0.11.16",
|
|
27
|
+
"@equinor/echo-core": "0.9.12",
|
|
28
|
+
"@equinor/echo-search": "0.15.8",
|
|
29
|
+
"@equinor/echo-utils": "0.4.5",
|
|
30
|
+
"@equinor/echo-cli": "0.14.18",
|
|
31
|
+
"@types/react": "18.0.27",
|
|
32
|
+
"@types/react-dom": "18.0.10",
|
|
33
|
+
"react": "18.2.0",
|
|
34
|
+
"react-dom": "18.2.0"
|
|
35
|
+
}
|
|
36
36
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
<!-- src/template.html -->
|
|
2
|
-
<!DOCTYPE html>
|
|
3
|
-
<html lang="en">
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="UTF-8">
|
|
6
|
-
<title>Echo | Search</title>
|
|
7
|
-
<link rel="stylesheet" href="style.css">
|
|
8
|
-
</head>
|
|
9
|
-
|
|
10
|
-
<body>
|
|
11
|
-
<div class="centered">
|
|
12
|
-
<img src="./ee.png" width="250" alt="EchoSearch">
|
|
13
|
-
<div>Example</div>
|
|
14
|
-
<h1 class="header">Echo Search</h1><br />
|
|
15
|
-
<p>Please look at your developer console.</p>
|
|
16
|
-
<button id="start">Start</button>
|
|
17
|
-
<button id="doStuff">Start</button>
|
|
18
|
-
</div>
|
|
19
|
-
</body>
|
|
20
|
-
|
|
21
|
-
</html>
|
|
1
|
+
<!-- src/template.html -->
|
|
2
|
+
<!DOCTYPE html>
|
|
3
|
+
<html lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
<title>Echo | Search</title>
|
|
7
|
+
<link rel="stylesheet" href="style.css">
|
|
8
|
+
</head>
|
|
9
|
+
|
|
10
|
+
<body>
|
|
11
|
+
<div class="centered">
|
|
12
|
+
<img src="./ee.png" width="250" alt="EchoSearch">
|
|
13
|
+
<div>Example</div>
|
|
14
|
+
<h1 class="header">Echo Search</h1><br />
|
|
15
|
+
<p>Please look at your developer console.</p>
|
|
16
|
+
<button id="start">Start</button>
|
|
17
|
+
<button id="doStuff">Start</button>
|
|
18
|
+
</div>
|
|
19
|
+
</body>
|
|
20
|
+
|
|
21
|
+
</html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
# Woohoo module
|
|
1
|
+
# Woohoo module
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
window._env_={HTTPS:"true",GENERATE_SOURCEMAP:"true",INLINE_RUNTIME_CHUNK:"false",WEBSITE_HOSTNAME:"localhost:3000;",REACT_APP_DEFAULT_CACHE_LOCATION:"localstorage",REACT_APP_API_URL:"https://dt-echopedia-api-dev.azurewebsites.net",REACT_APP_WEB_URL:"https://dt-echopedia-web-dev.azurewebsites.net",REACT_APP_WEB_PROD_URL:"https://echo.equinor.com",REACT_APP_AZURE_AD_TENNANT:"StatoilSRM.onmicrosoft.com",REACT_APP_AZURE_AD_TENNANT_ID:"3aa4a235-b6e2-48d5-9195-7fcf05b459b0",REACT_APP_AZURE_AD_CLIENT_ID:"751d2504-0b66-4b78-9807-4b60525a14c6",REACT_APP_API_CLIENT_ID:"aef35d97-53d4-4fd0-adaf-c5a514b38436",REACT_APP_APPINSIGHTS_CONNECTION_STRING:"InstrumentationKey=e5299075-a00d-4012-96f9-42861e8d8a9e;IngestionEndpoint=https://northeurope-3.in.applicationinsights.azure.com/;LiveEndpoint=https://northeurope.livediagnostics.monitor.azure.com/;ApplicationId=a9b64222-d4a9-42e6-a615-7428fe1a26af",REACT_APP_AZURE_BUILD_NUMBER:"0.8.dev.9",REACT_APP_LOGGER_ACTIVE:"false"};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
body {
|
|
2
|
-
overflow: hidden;
|
|
3
|
-
margin: 0;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.highlightedText {
|
|
7
|
-
background: yellow;
|
|
8
|
-
color: black;
|
|
9
|
-
padding: 0;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
#rootloading {
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-direction: column;
|
|
15
|
-
color: #ff1243;
|
|
16
|
-
justify-content: center;
|
|
17
|
-
align-items: center;
|
|
18
|
-
text-align: center;
|
|
19
|
-
position: absolute;
|
|
20
|
-
width: 100%;
|
|
21
|
-
height: 100%;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.loaderContainer {
|
|
25
|
-
margin: 8px auto;
|
|
26
|
-
display: flex;
|
|
27
|
-
flex-direction: column;
|
|
28
|
-
padding-top: 0;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.productLogo {
|
|
32
|
-
flex: 1;
|
|
33
|
-
margin-bottom: 4rem;
|
|
34
|
-
text-align: left;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.productLogoImg {
|
|
38
|
-
display: inline-block;
|
|
39
|
-
vertical-align: baseline;
|
|
40
|
-
width: 122px;
|
|
41
|
-
animation: fadeIn 0.5s;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.equinorLogo {
|
|
45
|
-
margin: 0 auto;
|
|
46
|
-
display: inline-block;
|
|
47
|
-
vertical-align: baseline;
|
|
48
|
-
width: 64px;
|
|
49
|
-
height: 64px;
|
|
50
|
-
animation: fadeIn 0.5s;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
@keyframes fadeIn {
|
|
54
|
-
0% {
|
|
55
|
-
opacity: 0;
|
|
56
|
-
}
|
|
57
|
-
100% {
|
|
58
|
-
opacity: 1;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8" />
|
|
5
|
-
<script type="application/javascript" src="./env-config.js"></script>
|
|
6
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
7
|
-
<meta
|
|
8
|
-
name="viewport"
|
|
9
|
-
content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover"
|
|
10
|
-
/>
|
|
11
|
-
<link href="./index.css" rel="stylesheet" />
|
|
12
|
-
<link rel="stylesheet" href="https://cdn.eds.equinor.com/font/equinor-font.css" />
|
|
13
|
-
<link rel="preconnect" href="https://login.microsoftonline.com" />
|
|
14
|
-
<link rel="preconnect" href="https://dc.services.visualstudio.com" />
|
|
15
|
-
<link rel="preconnect" href="https://cdn.eds.equinor.com" />
|
|
16
|
-
<title>Echo | Development</title>
|
|
17
|
-
<script defer src="/vendors-node_modules_babel_polyfill_lib_index_js-node_modules_react-dom_client_js-node_module-8e2452.echo.bundle.js"></script><script defer src="/main.echo.bundle.js"></script></head>
|
|
18
|
-
<body data-color-scheme="light">
|
|
19
|
-
<div id="root"></div>
|
|
20
|
-
</body>
|
|
21
|
-
</html>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see main.echo.bundle.js.LICENSE.txt */
|
|
2
|
-
(()=>{"use strict";var e,n,t,o={"./node_modules/css-loader/dist/cjs.js!./src/app.css"(e,n,t){t.r(n),t.d(n,{default:()=>l});var o=t("./node_modules/css-loader/dist/runtime/sourceMaps.js"),r=t.n(o),s=t("./node_modules/css-loader/dist/runtime/api.js"),i=t.n(s)()(r());i.push([e.id,"/* Applied in echo application by bootstrap so it should exist here to */\n*,\n:after,\n:before {\n box-sizing: border-box;\n}\n\n#root {\n height: 100%;\n overflow: hidden;\n width: 100%;\n}\n","",{version:3,sources:["webpack://./src/app.css"],names:[],mappings:"AAAA,wEAAwE;AACxE;;;IAGI,sBAAsB;AAC1B;;AAEA;IACI,YAAY;IACZ,gBAAgB;IAChB,WAAW;AACf",sourcesContent:["/* Applied in echo application by bootstrap so it should exist here to */\n*,\n:after,\n:before {\n box-sizing: border-box;\n}\n\n#root {\n height: 100%;\n overflow: hidden;\n width: 100%;\n}\n"],sourceRoot:""}]);const l=i},"./node_modules/css-loader/dist/cjs.js!./src/style-reset.css"(e,n,t){t.r(n),t.d(n,{default:()=>l});var o=t("./node_modules/css-loader/dist/runtime/sourceMaps.js"),r=t.n(o),s=t("./node_modules/css-loader/dist/runtime/api.js"),i=t.n(s)()(r());i.push([e.id,"/* Mimicking style reset found in echopediaWeb */\nmenu,\nul,\nli {\n padding-inline: 0;\n list-style: none;\n margin-block: 0;\n}\n","",{version:3,sources:["webpack://./src/style-reset.css"],names:[],mappings:"AAAA,gDAAgD;AAChD;;;IAGI,iBAAiB;IACjB,gBAAgB;IAChB,eAAe;AACnB",sourcesContent:["/* Mimicking style reset found in echopediaWeb */\r\nmenu,\r\nul,\r\nli {\r\n padding-inline: 0;\r\n list-style: none;\r\n margin-block: 0;\r\n}\r\n"],sourceRoot:""}]);const l=i},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./src/components/Home/home.module.css"(e,n,t){t.r(n),t.d(n,{default:()=>l});var o=t("./node_modules/css-loader/dist/runtime/sourceMaps.js"),r=t.n(o),s=t("./node_modules/css-loader/dist/runtime/api.js"),i=t.n(s)()(r());i.push([e.id,".echo-Home__home-pPNVd {\n display: grid;\n grid-template-rows: 30% 100px auto 56px;\n gap: 1rem;\n height: 100%;\n width: 100%;\n}\n\n.echo-Home__plantSelector-AlrNf {\n display: flex;\n justify-content: center;\n align-items: baseline;\n align-self: center;\n flex-flow: wrap;\n}\n\n.echo-Home__heading-vnGkQ {\n padding-left: 18px;\n}\n\n.echo-Home__brandSliderContainer-qt0N4 {\n display: flex;\n flex: 1 1;\n flex-flow: column-reverse;\n margin: 0;\n width: 100%;\n overflow: hidden;\n object-fit: cover;\n}\n\n.echo-Home__appBar-XBn9u {\n margin: 0 auto 48px;\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n align-items: flex-start;\n}\n\n","",{version:3,sources:["webpack://./src/components/Home/home.module.css"],names:[],mappings:"AAAA;IACI,aAAa;IACb,uCAAuC;IACvC,SAAS;IACT,YAAY;IACZ,WAAW;AACf;;AAEA;IACI,aAAa;IACb,uBAAuB;IACvB,qBAAqB;IACrB,kBAAkB;IAClB,eAAe;AACnB;;AAEA;IACI,kBAAkB;AACtB;;AAEA;IACI,aAAa;IACb,SAAS;IACT,yBAAyB;IACzB,SAAS;IACT,WAAW;IACX,gBAAgB;IAChB,iBAAiB;AACrB;;AAEA;IACI,mBAAmB;IACnB,aAAa;IACb,eAAe;IACf,uBAAuB;IACvB,uBAAuB;AAC3B",sourcesContent:[".home {\n display: grid;\n grid-template-rows: 30% 100px auto 56px;\n gap: 1rem;\n height: 100%;\n width: 100%;\n}\n\n.plantSelector {\n display: flex;\n justify-content: center;\n align-items: baseline;\n align-self: center;\n flex-flow: wrap;\n}\n\n.heading {\n padding-left: 18px;\n}\n\n.brandSliderContainer {\n display: flex;\n flex: 1 1;\n flex-flow: column-reverse;\n margin: 0;\n width: 100%;\n overflow: hidden;\n object-fit: cover;\n}\n\n.appBar {\n margin: 0 auto 48px;\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n align-items: flex-start;\n}\n\n"],sourceRoot:""}]),i.locals={home:"echo-Home__home-pPNVd",plantSelector:"echo-Home__plantSelector-AlrNf",heading:"echo-Home__heading-vnGkQ",brandSliderContainer:"echo-Home__brandSliderContainer-qt0N4",appBar:"echo-Home__appBar-XBn9u"};const l=i},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./src/components/dummySearchPanel/dummySearchPanel.module.css"(e,n,t){t.r(n),t.d(n,{default:()=>l});var o=t("./node_modules/css-loader/dist/runtime/sourceMaps.js"),r=t.n(o),s=t("./node_modules/css-loader/dist/runtime/api.js"),i=t.n(s)()(r());i.push([e.id,".echo-dummySearchPanel__panel-tKXOK {\n padding: var(--small);\n}\n\n.echo-dummySearchPanel__wrapper-CEsYp {\n display: flex;\n flex-direction: column;\n margin: 10px;\n}\n\n.echo-dummySearchPanel__close-rcjVi {\n align-self: end;\n}\n","",{version:3,sources:["webpack://./src/components/dummySearchPanel/dummySearchPanel.module.css"],names:[],mappings:"AAAA;IACI,qBAAqB;AACzB;;AAEA;IACI,aAAa;IACb,sBAAsB;IACtB,YAAY;AAChB;;AAEA;IACI,eAAe;AACnB",sourcesContent:[".panel {\n padding: var(--small);\n}\n\n.wrapper {\n display: flex;\n flex-direction: column;\n margin: 10px;\n}\n\n.close {\n align-self: end;\n}\n"],sourceRoot:""}]),i.locals={panel:"echo-dummySearchPanel__panel-tKXOK",wrapper:"echo-dummySearchPanel__wrapper-CEsYp",close:"echo-dummySearchPanel__close-rcjVi"};const l=i},"./src/api/api-plants.ts"(e,n,t){var o=this&&this.__awaiter||function(e,n,t,o){return new(t||(t=Promise))((function(r,s){function i(e){try{a(o.next(e))}catch(e){s(e)}}function l(e){try{a(o.throw(e))}catch(e){s(e)}}function a(e){var n;e.done?r(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,l)}a((o=o.apply(e,n||[])).next())}))},r=this&&this.__generator||function(e,n){var t,o,r,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(a){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(s=0)),s;)try{if(t=1,o&&(r=2&l[0]?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[2&l[0],r.value]),l[0]){case 0:case 1:r=l;break;case 4:return s.label++,{value:l[1],done:!1};case 5:s.label++,o=l[1],l=[0];continue;case 7:l=s.ops.pop(),s.trys.pop();continue;default:if(!((r=(r=s.trys).length>0&&r[r.length-1])||6!==l[0]&&2!==l[0])){s=0;continue}if(3===l[0]&&(!r||l[1]>r[0]&&l[1]<r[3])){s.label=l[1];break}if(6===l[0]&&s.label<r[1]){s.label=r[1],r=l;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(l);break}r[2]&&s.ops.pop(),s.trys.pop();continue}l=n.call(e,s)}catch(e){l=[6,e],o=0}finally{t=r=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,a])}}};Object.defineProperty(n,"__esModule",{value:!0}),n.getCorePlants=function(){return o(this,void 0,void 0,(function(){var e,n,t;return r(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,i()];case 1:return(e=null!==(t=o.sent())&&void 0!==t?t:[])&&e.length>0&&(0,s.setPlantsData)({plants:e}),[3,3];case 2:return n=o.sent(),console.error(n),[3,3];case 3:return[2]}}))}))};var s=t("./node_modules/@equinor/echo-core/index.cjs.js");function i(){return o(this,void 0,void 0,(function(){var e;return r(this,(function(n){return e="".concat(s.EchoEnv.env().REACT_APP_API_URL,"/plants"),[2,(0,s.request)({url:e,cache:{timeInSeconds:14400}})]}))}))}},"./src/app.css"(e,n,t){t.r(n),t.d(n,{default:()=>y});var o=t("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),r=t.n(o),s=t("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),i=t.n(s),l=t("./node_modules/style-loader/dist/runtime/insertBySelector.js"),a=t.n(l),d=t("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),u=t.n(d),c=t("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),m=t.n(c),p=t("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),h=t.n(p),f=t("./node_modules/css-loader/dist/cjs.js!./src/app.css"),A={};A.styleTagTransform=h(),A.setAttributes=u(),A.insert=a().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=m(),r()(f.default,A);const y=f.default&&f.default.locals?f.default.locals:void 0},"./src/app.tsx"(e,n,t){var o=this&&this.__awaiter||function(e,n,t,o){return new(t||(t=Promise))((function(r,s){function i(e){try{a(o.next(e))}catch(e){s(e)}}function l(e){try{a(o.throw(e))}catch(e){s(e)}}function a(e){var n;e.done?r(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,l)}a((o=o.apply(e,n||[])).next())}))},r=this&&this.__generator||function(e,n){var t,o,r,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(a){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(s=0)),s;)try{if(t=1,o&&(r=2&l[0]?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[2&l[0],r.value]),l[0]){case 0:case 1:r=l;break;case 4:return s.label++,{value:l[1],done:!1};case 5:s.label++,o=l[1],l=[0];continue;case 7:l=s.ops.pop(),s.trys.pop();continue;default:if(!((r=(r=s.trys).length>0&&r[r.length-1])||6!==l[0]&&2!==l[0])){s=0;continue}if(3===l[0]&&(!r||l[1]>r[0]&&l[1]<r[3])){s.label=l[1];break}if(6===l[0]&&s.label<r[1]){s.label=r[1],r=l;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(l);break}r[2]&&s.ops.pop(),s.trys.pop();continue}l=n.call(e,s)}catch(e){l=[6,e],o=0}finally{t=r=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,a])}}};Object.defineProperty(n,"__esModule",{value:!0}),n.EchoApp=void 0;var s=t("./node_modules/react/jsx-runtime.js"),i=t("./node_modules/@equinor/echo-core/index.cjs.js"),l=t("./node_modules/@equinor/echo-framework/index.cjs.js"),a=t("./node_modules/@equinor/echo-search/index.cjs.js"),d=t("./src/api/api-plants.ts");t("./src/app.css");var u=t("./src/components/Home/Home.tsx"),c=t("./src/components/legend.tsx");n.EchoApp=function(){return(0,i.useInitial)((function(){return o(void 0,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,a.Syncer.configuration.setApiBaseUrl(i.EchoEnv.env().REACT_APP_API_URL)];case 1:return e.sent(),n=d.getCorePlants,t={userFriendlyErrorMessage:"[echo-dev-host][app.tsx] Failed to load plants data",displayToast:!0},n().catch((function(e){console.error(e,t.userFriendlyErrorMessage),t.displayToast&&(0,l.displayToast)({message:t.userFriendlyErrorMessage})})),[2]}var n,t}))}))})),(0,s.jsx)(l.EchoEventHandler,{children:(0,s.jsxs)(l.EchoContent,{Legend:c.Legend,isOnboardingCompleted:!0,children:[(0,s.jsx)(l.EchoRoutes,{homeComponent:u.Home}),(0,s.jsx)(l.Toasters,{})]})})}},"./src/components/Home/Home.tsx"(e,n,t){var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.Home=void 0;var r=t("./node_modules/react/jsx-runtime.js"),s=t("./node_modules/@equinor/echo-framework/index.cjs.js"),i=o(t("./src/images/frontpage-brand-placeholder.jpg")),l=o(t("./src/components/Home/home.module.css"));n.Home=function(){return(0,r.jsxs)("main",{className:l.default.home,children:[(0,r.jsxs)("div",{className:l.default.plantSelector,children:[(0,r.jsx)("div",{children:(0,r.jsx)(s.EchoLogo,{})}),(0,r.jsx)(s.PlantSelector,{})]}),(0,r.jsx)(s.AppLinks,{}),(0,r.jsx)("div",{className:l.default.brandSliderContainer,children:(0,r.jsx)("img",{src:i.default,alt:"Application Echo on tablet"})}),(0,r.jsx)(s.Footer,{})]})}},"./src/components/Home/home.module.css"(e,n,t){t.r(n),t.d(n,{default:()=>y});var o=t("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),r=t.n(o),s=t("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),i=t.n(s),l=t("./node_modules/style-loader/dist/runtime/insertBySelector.js"),a=t.n(l),d=t("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),u=t.n(d),c=t("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),m=t.n(c),p=t("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),h=t.n(p),f=t("./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./src/components/Home/home.module.css"),A={};A.styleTagTransform=h(),A.setAttributes=u(),A.insert=a().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=m(),r()(f.default,A);const y=f.default&&f.default.locals?f.default.locals:void 0},"./src/components/dummySearchPanel/DummySearchPanel.tsx"(e,n,t){var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.dummySearchPanel=void 0;var r=t("./node_modules/react/jsx-runtime.js"),s=t("./node_modules/@equinor/echo-core/index.cjs.js"),i=o(t("./src/components/dummySearchPanel/dummySearchPanel.module.css"));n.dummySearchPanel={component:function(){return(0,r.jsx)("div",{className:i.default.wrapper,children:(0,r.jsxs)("div",{className:i.default.panel,children:[(0,r.jsx)("h3",{children:"SearchMenu"}),(0,r.jsxs)("p",{children:["You're running your echo app in ",(0,r.jsx)("b",{children:"echo-dev-host"}),", a host application for echo apps / modules."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"echo-dev-host"})," is a bare-bones version of the original app, echopediaWeb. The purpose of it is to help echo teams to develop their app independently from echopediaWeb itself."]})]})})},panelType:s.PanelType.left,key:s.ECHO_CORE_SEARCH,icon:"search",label:"Search"}},"./src/components/dummySearchPanel/dummySearchPanel.module.css"(e,n,t){t.r(n),t.d(n,{default:()=>y});var o=t("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),r=t.n(o),s=t("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),i=t.n(s),l=t("./node_modules/style-loader/dist/runtime/insertBySelector.js"),a=t.n(l),d=t("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),u=t.n(d),c=t("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),m=t.n(c),p=t("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),h=t.n(p),f=t("./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./src/components/dummySearchPanel/dummySearchPanel.module.css"),A={};A.styleTagTransform=h(),A.setAttributes=u(),A.insert=a().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=m(),r()(f.default,A);const y=f.default&&f.default.locals?f.default.locals:void 0},"./src/components/legend.tsx"(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.Legend=void 0,n.Legend=function(){return null}},"./src/images/frontpage-brand-placeholder.jpg"(e,n,t){t.r(n),t.d(n,{default:()=>o});const o=t.p+"d2d97a9feca22f12a8c8c7413d7867ac.jpg"},"./src/index.tsx"(e,n,t){var o,r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var n,t=1,o=arguments.length;t<o;t++)for(var r in n=arguments[t])Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e},r.apply(this,arguments)},s=this&&this.__createBinding||(Object.create?function(e,n,t,o){void 0===o&&(o=t);var r=Object.getOwnPropertyDescriptor(n,t);r&&!("get"in r?!n.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return n[t]}}),Object.defineProperty(e,o,r)}:function(e,n,t,o){void 0===o&&(o=t),e[o]=n[t]}),i=this&&this.__setModuleDefault||(Object.create?function(e,n){Object.defineProperty(e,"default",{enumerable:!0,value:n})}:function(e,n){e.default=n}),l=this&&this.__importStar||(o=function(e){return o=Object.getOwnPropertyNames||function(e){var n=[];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[n.length]=t);return n},o(e)},function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t=o(e),r=0;r<t.length;r++)"default"!==t[r]&&s(n,e,t[r]);return i(n,e),n});Object.defineProperty(n,"__esModule",{value:!0});var a=t("./node_modules/react/jsx-runtime.js"),d=l(t("./node_modules/@equinor/echo-core/index.cjs.js")),u=t("./node_modules/@equinor/echo-framework/index.cjs.js"),c=t("./node_modules/@equinor/eds-core-react/dist/esm/index.js"),m=l(t("./node_modules/@equinor/eds-icons/dist/esm/index.js")),p=t("./src/utils/setupSkipAuth.ts");t("./src/style-reset.css");var h=t("./node_modules/@tanstack/react-query/build/modern/index.cjs"),f=t("./node_modules/react-dom/client.js"),A=t("./node_modules/react-router-dom/dist/index.js"),y=t("./src/app.tsx"),_=t("./src/components/dummySearchPanel/DummySearchPanel.tsx");if(window===window.parent||window.opener){var j=document.getElementById("root");(0,f.createRoot)(j).render((0,a.jsx)((function(){(0,p.initForE2ETests)();var e=d.default.useEchoSetup({leftPanels:[_.dummySearchPanel],rightPanel:u.mainMenu});c.Icon.add(r({},m));var n={createApi:(0,d.createEchoAppModuleApi)(),dependencies:{react:t("./node_modules/react/index.js"),"react-dom":t("./node_modules/react-dom/index.js"),"react-router-dom":t("./node_modules/react-router-dom/dist/index.js"),"@equinor/echo-core":t("./node_modules/@equinor/echo-core/index.cjs.js"),"@equinor/echo-framework":t("./node_modules/@equinor/echo-framework/index.cjs.js"),"@equinor/echo-utils":t("./node_modules/@equinor/echo-utils/index.esm.js"),"@equinor/echo-components":t("./node_modules/@equinor/echo-components/index.cjs.js"),"@equinor/echo-base":t("./node_modules/@equinor/echo-base/index.cjs.js"),"@equinor/echo-search":t("./node_modules/@equinor/echo-search/index.cjs.js"),"@equinor/eds-core-react":t("./node_modules/@equinor/eds-core-react/dist/esm/index.js"),"@equinor/eds-icons":t("./node_modules/@equinor/eds-icons/dist/esm/index.js"),"styled-components":t("./node_modules/styled-components/dist/styled-components.browser.cjs.js"),classnames:t("./node_modules/classnames/index.js"),lodash:t("./node_modules/lodash/lodash.js"),zustand:t("./node_modules/zustand/esm/index.js")},fetchModules:function(){return new Promise((function(e){fetch("/echoModuleManifest.json").then((function(n){n.json().then((function(n){n.forEach((function(e){e.fileUri="/index.js"})),e(n)}))}))}))}};return(0,a.jsx)(a.Fragment,{children:e&&(0,a.jsx)(d.default.AuthProviderComponent,{children:(0,a.jsx)(h.QueryClientProvider,{client:d.queryClient,children:(0,a.jsxs)(d.EventHubProvider,{children:[(0,a.jsx)(u.Mediator,{options:n}),(0,a.jsx)(A.BrowserRouter,{future:{v7_relativeSplatPath:!0,v7_startTransition:!0},children:(0,a.jsx)(y.EchoApp,{})})]})})})})}),{}))}},"./src/style-reset.css"(e,n,t){t.r(n),t.d(n,{default:()=>y});var o=t("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),r=t.n(o),s=t("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),i=t.n(s),l=t("./node_modules/style-loader/dist/runtime/insertBySelector.js"),a=t.n(l),d=t("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),u=t.n(d),c=t("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),m=t.n(c),p=t("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),h=t.n(p),f=t("./node_modules/css-loader/dist/cjs.js!./src/style-reset.css"),A={};A.styleTagTransform=h(),A.setAttributes=u(),A.insert=a().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=m(),r()(f.default,A);const y=f.default&&f.default.locals?f.default.locals:void 0},"./src/utils/setupSkipAuth.ts"(e,n,t){var o=this&&this.__awaiter||function(e,n,t,o){return new(t||(t=Promise))((function(r,s){function i(e){try{a(o.next(e))}catch(e){s(e)}}function l(e){try{a(o.throw(e))}catch(e){s(e)}}function a(e){var n;e.done?r(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,l)}a((o=o.apply(e,n||[])).next())}))},r=this&&this.__generator||function(e,n){var t,o,r,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(a){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(s=0)),s;)try{if(t=1,o&&(r=2&l[0]?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[2&l[0],r.value]),l[0]){case 0:case 1:r=l;break;case 4:return s.label++,{value:l[1],done:!1};case 5:s.label++,o=l[1],l=[0];continue;case 7:l=s.ops.pop(),s.trys.pop();continue;default:if(!((r=(r=s.trys).length>0&&r[r.length-1])||6!==l[0]&&2!==l[0])){s=0;continue}if(3===l[0]&&(!r||l[1]>r[0]&&l[1]<r[3])){s.label=l[1];break}if(6===l[0]&&s.label<r[1]){s.label=r[1],r=l;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(l);break}r[2]&&s.ops.pop(),s.trys.pop();continue}l=n.call(e,s)}catch(e){l=[6,e],o=0}finally{t=r=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,a])}}},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.initForE2ETests=function(){var e=(0,l.getDeepLinkParams)(["skipAuth"]).skipAuth;"true"===(null==e?void 0:e.toLowerCase())&&d()},n.setupSkipAuth=d;var i=s(t("./node_modules/@equinor/echo-core/index.cjs.js")),l=t("./node_modules/@equinor/echo-utils/index.esm.js"),a=function(){i.default.EchoAuthProvider.isAuthenticated=!0,i.default.EchoAuthProvider.userProperties={account:{homeAccountId:"homeAccountId",environment:"testingEnvironment",tenantId:"tenantId",username:"tester",localAccountId:"tester123"}}};function d(){var e=this;i.default.EchoAuthProvider.isAuthenticated=!0,i.default.EchoAuthProvider.handleLogin=function(n){return o(e,void 0,void 0,(function(){return r(this,(function(e){return a(),[2,Promise.resolve(void 0)]}))}))},i.default.EchoAuthProvider.ssoSilentOrRedirectToAuthenticate=function(){return o(e,void 0,void 0,(function(){return r(this,(function(e){return a(),[2,Promise.resolve(void 0)]}))}))},i.default.EchoAuthProvider.aquireTokenSilentOrRedirectToAuthenticate=function(){return o(e,void 0,void 0,(function(){return r(this,(function(e){return a(),[2,null]}))}))},i.default.EchoAuthProvider.login=function(){return o(e,void 0,void 0,(function(){return r(this,(function(e){return a(),[2,Promise.resolve()]}))}))}}}},r={};function s(e){var n=r[e];if(void 0!==n)return n.exports;if(void 0===o[e]){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}var i=r[e]={id:e,loaded:!1,exports:{}};return o[e].call(i.exports,i,i.exports,s),i.loaded=!0,i.exports}s.m=o,e=[],s.O=(n,t,o,r)=>{if(!t){var i=1/0;for(u=0;u<e.length;u++){for(var[t,o,r]=e[u],l=!0,a=0;a<t.length;a++)(!1&r||i>=r)&&Object.keys(s.O).every((e=>s.O[e](t[a])))?t.splice(a--,1):(l=!1,r<i&&(i=r));if(l){e.splice(u--,1);var d=o();void 0!==d&&(n=d)}}return n}r=r||0;for(var u=e.length;u>0&&e[u-1][2]>r;u--)e[u]=e[u-1];e[u]=[t,o,r]},s.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return s.d(n,{a:n}),n},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(e,o){if(1&o&&(e=this(e)),8&o)return e;if("object"==typeof e&&e){if(4&o&&e.__esModule)return e;if(16&o&&"function"==typeof e.then)return e}var r=Object.create(null);s.r(r);var i={};n=n||[null,t({}),t([]),t(t)];for(var l=2&o&&e;("object"==typeof l||"function"==typeof l)&&!~n.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((n=>i[n]=()=>e[n]));return i.default=()=>e,s.d(r,i),r},s.d=(e,n)=>{for(var t in n)s.o(n,t)&&!s.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),s.p="/",(()=>{var e={main:0};s.O.j=n=>0===e[n];var n=(n,t)=>{var o,r,[i,l,a]=t,d=0;if(i.some((n=>0!==e[n]))){for(o in l)s.o(l,o)&&(s.m[o]=l[o]);if(a)var u=a(s)}for(n&&n(t);d<i.length;d++)r=i[d],s.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return s.O(u)},t=self.webpackChunk_equinor_echo_dev_host=self.webpackChunk_equinor_echo_dev_host||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))})(),s.nc=void 0,s.O(void 0,["vendors-node_modules_babel_polyfill_lib_index_js-node_modules_react-dom_client_js-node_module-8e2452"],(()=>s("./node_modules/@babel/polyfill/lib/index.js")));var i=s.O(void 0,["vendors-node_modules_babel_polyfill_lib_index_js-node_modules_react-dom_client_js-node_module-8e2452"],(()=>s("./src/index.tsx")));i=s.O(i)})();
|
|
3
|
-
//# sourceMappingURL=main.echo.bundle.js.map
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
/*! !!../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./dummySearchPanel.module.css */
|
|
2
|
-
|
|
3
|
-
/*! !!../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./home.module.css */
|
|
4
|
-
|
|
5
|
-
/*! !!../node_modules/css-loader/dist/cjs.js!./app.css */
|
|
6
|
-
|
|
7
|
-
/*! !!../node_modules/css-loader/dist/cjs.js!./style-reset.css */
|
|
8
|
-
|
|
9
|
-
/*! !../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */
|
|
10
|
-
|
|
11
|
-
/*! !../../../node_modules/style-loader/dist/runtime/insertBySelector.js */
|
|
12
|
-
|
|
13
|
-
/*! !../../../node_modules/style-loader/dist/runtime/insertStyleElement.js */
|
|
14
|
-
|
|
15
|
-
/*! !../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */
|
|
16
|
-
|
|
17
|
-
/*! !../../../node_modules/style-loader/dist/runtime/styleDomAPI.js */
|
|
18
|
-
|
|
19
|
-
/*! !../../../node_modules/style-loader/dist/runtime/styleTagTransform.js */
|
|
20
|
-
|
|
21
|
-
/*! !../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */
|
|
22
|
-
|
|
23
|
-
/*! !../node_modules/style-loader/dist/runtime/insertBySelector.js */
|
|
24
|
-
|
|
25
|
-
/*! !../node_modules/style-loader/dist/runtime/insertStyleElement.js */
|
|
26
|
-
|
|
27
|
-
/*! !../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */
|
|
28
|
-
|
|
29
|
-
/*! !../node_modules/style-loader/dist/runtime/styleDomAPI.js */
|
|
30
|
-
|
|
31
|
-
/*! !../node_modules/style-loader/dist/runtime/styleTagTransform.js */
|
|
32
|
-
|
|
33
|
-
/*! ../../../node_modules/css-loader/dist/runtime/api.js */
|
|
34
|
-
|
|
35
|
-
/*! ../../../node_modules/css-loader/dist/runtime/sourceMaps.js */
|
|
36
|
-
|
|
37
|
-
/*! ../../images/frontpage-brand-placeholder.jpg */
|
|
38
|
-
|
|
39
|
-
/*! ../node_modules/css-loader/dist/runtime/api.js */
|
|
40
|
-
|
|
41
|
-
/*! ../node_modules/css-loader/dist/runtime/sourceMaps.js */
|
|
42
|
-
|
|
43
|
-
/*! ./api/api-plants */
|
|
44
|
-
|
|
45
|
-
/*! ./app */
|
|
46
|
-
|
|
47
|
-
/*! ./app.css */
|
|
48
|
-
|
|
49
|
-
/*! ./components/Home/Home */
|
|
50
|
-
|
|
51
|
-
/*! ./components/dummySearchPanel/DummySearchPanel */
|
|
52
|
-
|
|
53
|
-
/*! ./components/legend */
|
|
54
|
-
|
|
55
|
-
/*! ./dummySearchPanel.module.css */
|
|
56
|
-
|
|
57
|
-
/*! ./home.module.css */
|
|
58
|
-
|
|
59
|
-
/*! ./style-reset.css */
|
|
60
|
-
|
|
61
|
-
/*! ./utils/setupSkipAuth */
|
|
62
|
-
|
|
63
|
-
/*! @equinor/echo-base */
|
|
64
|
-
|
|
65
|
-
/*! @equinor/echo-components */
|
|
66
|
-
|
|
67
|
-
/*! @equinor/echo-core */
|
|
68
|
-
|
|
69
|
-
/*! @equinor/echo-framework */
|
|
70
|
-
|
|
71
|
-
/*! @equinor/echo-search */
|
|
72
|
-
|
|
73
|
-
/*! @equinor/echo-utils */
|
|
74
|
-
|
|
75
|
-
/*! @equinor/eds-core-react */
|
|
76
|
-
|
|
77
|
-
/*! @equinor/eds-icons */
|
|
78
|
-
|
|
79
|
-
/*! @tanstack/react-query */
|
|
80
|
-
|
|
81
|
-
/*! classnames */
|
|
82
|
-
|
|
83
|
-
/*! lodash */
|
|
84
|
-
|
|
85
|
-
/*! react */
|
|
86
|
-
|
|
87
|
-
/*! react-dom */
|
|
88
|
-
|
|
89
|
-
/*! react-dom/client */
|
|
90
|
-
|
|
91
|
-
/*! react-router-dom */
|
|
92
|
-
|
|
93
|
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,EAAgB5L,KAAa,CACtD,IAAIiI,KAAYgE,EACZjE,EAAoB4C,EAAEqB,EAAahE,KACrCD,EAAoBU,EAAET,GAAYgE,EAAYhE,IAGhD,GAAGiE,EAAS,IAAItD,EAASsD,EAAQlE,EAClC,CAEA,IADG+D,GAA4BA,EAA2BC,GACrD9C,EAAIL,EAASzI,OAAQ8I,IACzB2C,EAAUhD,EAASK,GAChBlB,EAAoB4C,EAAEgB,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAO7D,EAAoBW,EAAEC,EAAO,EAGjCwD,EAAqBC,KAAyC,mCAAIA,KAAyC,oCAAK,GACpHD,EAAmBpG,QAAQ8F,EAAqBQ,KAAK,KAAM,IAC3DF,EAAmBtM,KAAOgM,EAAqBQ,KAAK,KAAMF,EAAmBtM,KAAKwM,KAAKF,G,KChDvFpE,EAAoBuE,QAAKjL,ECGzB0G,EAAoBW,OAAErH,EAAW,CAAC,yGAAyG,IAAO0G,EAAoB,iDACtK,IAAIwE,EAAsBxE,EAAoBW,OAAErH,EAAW,CAAC,yGAAyG,IAAO0G,EAAoB,qBAChMwE,EAAsBxE,EAAoBW,EAAE6D,E","sources":["webpack://@equinor/echo-dev-host/webpack/runtime/chunk loaded","webpack://@equinor/echo-dev-host/webpack/runtime/create fake namespace object","webpack://@equinor/echo-dev-host/./src/app.css","webpack://@equinor/echo-dev-host/./src/style-reset.css","webpack://@equinor/echo-dev-host/./src/components/Home/home.module.css","webpack://@equinor/echo-dev-host/./src/components/dummySearchPanel/dummySearchPanel.module.css","webpack://@equinor/echo-dev-host/./src/api/api-plants.ts","webpack://@equinor/echo-dev-host/./src/app.css?a672","webpack://@equinor/echo-dev-host/./src/app.tsx","webpack://@equinor/echo-dev-host/./src/components/Home/Home.tsx","webpack://@equinor/echo-dev-host/./src/components/Home/home.module.css?96e0","webpack://@equinor/echo-dev-host/./src/components/dummySearchPanel/DummySearchPanel.tsx","webpack://@equinor/echo-dev-host/./src/components/dummySearchPanel/dummySearchPanel.module.css?92cb","webpack://@equinor/echo-dev-host/./src/components/legend.tsx","webpack://@equinor/echo-dev-host/./src/images/frontpage-brand-placeholder.jpg","webpack://@equinor/echo-dev-host/./src/index.tsx","webpack://@equinor/echo-dev-host/./src/style-reset.css?8b58","webpack://@equinor/echo-dev-host/./src/utils/setupSkipAuth.ts","webpack://@equinor/echo-dev-host/webpack/bootstrap","webpack://@equinor/echo-dev-host/webpack/runtime/compat get default export","webpack://@equinor/echo-dev-host/webpack/runtime/define property getters","webpack://@equinor/echo-dev-host/webpack/runtime/global","webpack://@equinor/echo-dev-host/webpack/runtime/hasOwnProperty shorthand","webpack://@equinor/echo-dev-host/webpack/runtime/make namespace object","webpack://@equinor/echo-dev-host/webpack/runtime/node module decorator","webpack://@equinor/echo-dev-host/webpack/runtime/publicPath","webpack://@equinor/echo-dev-host/webpack/runtime/jsonp chunk loading","webpack://@equinor/echo-dev-host/webpack/runtime/nonce","webpack://@equinor/echo-dev-host/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; (typeof current == 'object' || typeof current == 'function') && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* Applied in echo application by bootstrap so it should exist here to */\n*,\n:after,\n:before {\n box-sizing: border-box;\n}\n\n#root {\n height: 100%;\n overflow: hidden;\n width: 100%;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/app.css\"],\"names\":[],\"mappings\":\"AAAA,wEAAwE;AACxE;;;IAGI,sBAAsB;AAC1B;;AAEA;IACI,YAAY;IACZ,gBAAgB;IAChB,WAAW;AACf\",\"sourcesContent\":[\"/* Applied in echo application by bootstrap so it should exist here to */\\n*,\\n:after,\\n:before {\\n box-sizing: border-box;\\n}\\n\\n#root {\\n height: 100%;\\n overflow: hidden;\\n width: 100%;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* Mimicking style reset found in echopediaWeb */\r\nmenu,\r\nul,\r\nli {\r\n padding-inline: 0;\r\n list-style: none;\r\n margin-block: 0;\r\n}\r\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/style-reset.css\"],\"names\":[],\"mappings\":\"AAAA,gDAAgD;AAChD;;;IAGI,iBAAiB;IACjB,gBAAgB;IAChB,eAAe;AACnB\",\"sourcesContent\":[\"/* Mimicking style reset found in echopediaWeb */\\r\\nmenu,\\r\\nul,\\r\\nli {\\r\\n padding-inline: 0;\\r\\n list-style: none;\\r\\n margin-block: 0;\\r\\n}\\r\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.echo-Home__home-pPNVd {\n display: grid;\n grid-template-rows: 30% 100px auto 56px;\n gap: 1rem;\n height: 100%;\n width: 100%;\n}\n\n.echo-Home__plantSelector-AlrNf {\n display: flex;\n justify-content: center;\n align-items: baseline;\n align-self: center;\n flex-flow: wrap;\n}\n\n.echo-Home__heading-vnGkQ {\n padding-left: 18px;\n}\n\n.echo-Home__brandSliderContainer-qt0N4 {\n display: flex;\n flex: 1 1;\n flex-flow: column-reverse;\n margin: 0;\n width: 100%;\n overflow: hidden;\n object-fit: cover;\n}\n\n.echo-Home__appBar-XBn9u {\n margin: 0 auto 48px;\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n align-items: flex-start;\n}\n\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/Home/home.module.css\"],\"names\":[],\"mappings\":\"AAAA;IACI,aAAa;IACb,uCAAuC;IACvC,SAAS;IACT,YAAY;IACZ,WAAW;AACf;;AAEA;IACI,aAAa;IACb,uBAAuB;IACvB,qBAAqB;IACrB,kBAAkB;IAClB,eAAe;AACnB;;AAEA;IACI,kBAAkB;AACtB;;AAEA;IACI,aAAa;IACb,SAAS;IACT,yBAAyB;IACzB,SAAS;IACT,WAAW;IACX,gBAAgB;IAChB,iBAAiB;AACrB;;AAEA;IACI,mBAAmB;IACnB,aAAa;IACb,eAAe;IACf,uBAAuB;IACvB,uBAAuB;AAC3B\",\"sourcesContent\":[\".home {\\n display: grid;\\n grid-template-rows: 30% 100px auto 56px;\\n gap: 1rem;\\n height: 100%;\\n width: 100%;\\n}\\n\\n.plantSelector {\\n display: flex;\\n justify-content: center;\\n align-items: baseline;\\n align-self: center;\\n flex-flow: wrap;\\n}\\n\\n.heading {\\n padding-left: 18px;\\n}\\n\\n.brandSliderContainer {\\n display: flex;\\n flex: 1 1;\\n flex-flow: column-reverse;\\n margin: 0;\\n width: 100%;\\n overflow: hidden;\\n object-fit: cover;\\n}\\n\\n.appBar {\\n margin: 0 auto 48px;\\n display: flex;\\n flex-wrap: wrap;\\n justify-content: center;\\n align-items: flex-start;\\n}\\n\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"home\": `echo-Home__home-pPNVd`,\n\t\"plantSelector\": `echo-Home__plantSelector-AlrNf`,\n\t\"heading\": `echo-Home__heading-vnGkQ`,\n\t\"brandSliderContainer\": `echo-Home__brandSliderContainer-qt0N4`,\n\t\"appBar\": `echo-Home__appBar-XBn9u`\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.echo-dummySearchPanel__panel-tKXOK {\n padding: var(--small);\n}\n\n.echo-dummySearchPanel__wrapper-CEsYp {\n display: flex;\n flex-direction: column;\n margin: 10px;\n}\n\n.echo-dummySearchPanel__close-rcjVi {\n align-self: end;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/dummySearchPanel/dummySearchPanel.module.css\"],\"names\":[],\"mappings\":\"AAAA;IACI,qBAAqB;AACzB;;AAEA;IACI,aAAa;IACb,sBAAsB;IACtB,YAAY;AAChB;;AAEA;IACI,eAAe;AACnB\",\"sourcesContent\":[\".panel {\\n padding: var(--small);\\n}\\n\\n.wrapper {\\n display: flex;\\n flex-direction: column;\\n margin: 10px;\\n}\\n\\n.close {\\n align-self: end;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"panel\": `echo-dummySearchPanel__panel-tKXOK`,\n\t\"wrapper\": `echo-dummySearchPanel__wrapper-CEsYp`,\n\t\"close\": `echo-dummySearchPanel__close-rcjVi`\n};\nexport default ___CSS_LOADER_EXPORT___;\n","import { EchoEnv, Plant, request, setPlantsData } from '@equinor/echo-core';\n\nasync function getPlantsFromApi(): Promise<Plant[] | undefined> {\n const url = `${EchoEnv.env().REACT_APP_API_URL}/plants`;\n return request<Plant[]>({\n url,\n cache: {\n timeInSeconds: 4 * 60 * 60 // 4 hours\n }\n });\n}\n\nexport async function getCorePlants(): Promise<void> {\n try {\n const apiPlants = (await getPlantsFromApi()) ?? [];\n\n if (apiPlants && apiPlants.length > 0) {\n setPlantsData({ plants: apiPlants });\n }\n } catch (ex) {\n console.error(ex);\n }\n}\n","\n import API from \"!../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../node_modules/css-loader/dist/cjs.js!./app.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../node_modules/css-loader/dist/cjs.js!./app.css\";\n export default content && content.locals ? content.locals : undefined;\n","import { EchoEnv, useInitial } from '@equinor/echo-core';\nimport { displayToast, EchoContent, EchoEventHandler, EchoRoutes, Toasters } from '@equinor/echo-framework';\nimport { Syncer } from '@equinor/echo-search';\nimport React from 'react';\nimport { getCorePlants } from './api/api-plants';\nimport './app.css';\nimport { Home } from './components/Home/Home';\nimport { Legend } from './components/legend';\n\nexport const EchoApp: React.FC = () => {\n useInitial(async () => {\n await Syncer.configuration.setApiBaseUrl(EchoEnv.env().REACT_APP_API_URL);\n fireAndForget(getCorePlants, {\n userFriendlyErrorMessage: '[echo-dev-host][app.tsx] Failed to load plants data',\n displayToast: true\n });\n });\n\n return (\n <EchoEventHandler>\n <EchoContent Legend={Legend} isOnboardingCompleted={true}>\n <EchoRoutes homeComponent={Home} />\n <Toasters />\n </EchoContent>\n </EchoEventHandler>\n );\n};\n\nfunction fireAndForget(\n asyncFunc: () => Promise<void>,\n options: { userFriendlyErrorMessage: string; displayToast?: boolean }\n): void {\n asyncFunc().catch((error) => {\n console.error(error, options.userFriendlyErrorMessage);\n if (options.displayToast) {\n displayToast({ message: options.userFriendlyErrorMessage });\n }\n });\n}\n","import { AppLinks, EchoLogo, Footer, PlantSelector } from '@equinor/echo-framework';\nimport React from 'react';\nimport placeholderHomeImage from '../../images/frontpage-brand-placeholder.jpg';\nimport style from './home.module.css';\n\nexport const Home: React.FC = () => {\n return (\n <main className={style.home}>\n <div className={style.plantSelector}>\n <div>\n <EchoLogo />\n </div>\n\n <PlantSelector />\n </div>\n <AppLinks />\n <div className={style.brandSliderContainer}>\n <img src={placeholderHomeImage} alt=\"Application Echo on tablet\" />\n </div>\n <Footer />\n </main>\n );\n};\n","\n import API from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./home.module.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./home.module.css\";\n export default content && content.locals ? content.locals : undefined;\n","import { ECHO_CORE_SEARCH, Panel, PanelType } from '@equinor/echo-core';\nimport React from 'react';\nimport style from './dummySearchPanel.module.css';\n\nconst DummySearchMenu: React.FC = () => {\n return (\n <div className={style.wrapper}>\n <div className={style.panel}>\n <h3>SearchMenu</h3>\n <p>\n You're running your echo app in <b>echo-dev-host</b>, a host application for echo apps / modules.\n </p>\n <p>\n <b>echo-dev-host</b> is a bare-bones version of the original app, echopediaWeb. The purpose of it is\n to help echo teams to develop their app independently from echopediaWeb itself.\n </p>\n </div>\n </div>\n );\n};\n\nexport const dummySearchPanel: Panel = {\n component: DummySearchMenu,\n panelType: PanelType.left,\n key: ECHO_CORE_SEARCH,\n icon: 'search',\n label: 'Search'\n};\n","\n import API from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./dummySearchPanel.module.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./dummySearchPanel.module.css\";\n export default content && content.locals ? content.locals : undefined;\n","export const Legend: React.FC = () => {\n return null;\n};\n","export default __webpack_public_path__ + \"d2d97a9feca22f12a8c8c7413d7867ac.jpg\";","import { LoadingModuleOptions } from '@equinor/echo-base';\nimport EchoCore, { createEchoAppModuleApi, EventHubProvider, queryClient } from '@equinor/echo-core';\nimport { mainMenu, Mediator } from '@equinor/echo-framework';\nimport { Icon } from '@equinor/eds-core-react';\nimport * as Icons from '@equinor/eds-icons';\nimport React from 'react';\nimport { initForE2ETests } from './utils/setupSkipAuth';\n\n/* Mimicking style reset found in echopediaWeb */\nimport './style-reset.css';\n\nimport { QueryClient, QueryClientProvider } from '@tanstack/react-query';\nimport { createRoot } from 'react-dom/client';\nimport { BrowserRouter } from 'react-router-dom';\nimport { EchoApp } from './app';\nimport { dummySearchPanel } from './components/dummySearchPanel/DummySearchPanel';\n\nconst useEdsIcon = (): void => {\n Icon.add({\n ...Icons\n });\n};\n\nconst Echo: React.FC = (): JSX.Element => {\n /* Needed to skip authentication when running e2e tests*/\n initForE2ETests();\n\n const isAuthenticated = EchoCore.useEchoSetup({\n leftPanels: [dummySearchPanel],\n rightPanel: mainMenu\n });\n useEdsIcon();\n const moduleOptions: LoadingModuleOptions = {\n createApi: createEchoAppModuleApi(),\n dependencies: {\n react: require('react'),\n 'react-dom': require('react-dom'),\n 'react-router-dom': require('react-router-dom'),\n '@equinor/echo-core': require('@equinor/echo-core'),\n '@equinor/echo-framework': require('@equinor/echo-framework'),\n '@equinor/echo-utils': require('@equinor/echo-utils'),\n '@equinor/echo-components': require('@equinor/echo-components'),\n '@equinor/echo-base': require('@equinor/echo-base'),\n '@equinor/echo-search': require('@equinor/echo-search'),\n '@equinor/eds-core-react': require('@equinor/eds-core-react'),\n '@equinor/eds-icons': require('@equinor/eds-icons'),\n 'styled-components': require('styled-components'),\n classnames: require('classnames'),\n lodash: require('lodash'),\n zustand: require('zustand')\n },\n fetchModules: () => {\n return new Promise((resolve) => {\n fetch('/echoModuleManifest.json').then((response) => {\n response.json().then((manifests) => {\n manifests.forEach((manifest) => {\n manifest.fileUri = `/index.js`;\n });\n resolve(manifests);\n });\n });\n });\n }\n };\n return (\n <>\n {isAuthenticated && (\n <EchoCore.AuthProviderComponent>\n {/*\n Need to cast queryClient to QueryClient because of the following error:\n TS2352: Conversion of type 'import(\"Equinor\\\\EchopediaWeb\\\\node_modules\\\\@tanstack\\\\query-core\\\\build\\\\modern\\\\hydration-CwYEwyQI\").b' to type 'import(\"Equinor\\\\EchopediaWeb\\\\node_modules\\\\@tanstack\\\\query-core\\\\build\\\\modern\\\\hydration-BlEK5ylC\").b' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. \n Property '#private' in type 'QueryClient' refers to a different member that cannot be accessed from within type 'QueryClient'.\n Based on my research we used the same version of react-query in echopediaWeb and echo-client.\n */}\n <QueryClientProvider client={queryClient as unknown as QueryClient}>\n <EventHubProvider>\n <Mediator options={moduleOptions} />\n <BrowserRouter\n future={{\n v7_relativeSplatPath: true,\n v7_startTransition: true\n }}\n >\n <EchoApp />\n </BrowserRouter>\n </EventHubProvider>\n </QueryClientProvider>\n </EchoCore.AuthProviderComponent>\n )}\n </>\n );\n};\n\nif (!(window !== window.parent && !window.opener)) {\n const container = document.getElementById('root') as HTMLElement;\n const root = createRoot(container);\n root.render(<Echo />);\n}\n","\n import API from \"!../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../node_modules/css-loader/dist/cjs.js!./style-reset.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../node_modules/css-loader/dist/cjs.js!./style-reset.css\";\n export default content && content.locals ? content.locals : undefined;\n","import EchoCore, { AuthenticationResult } from '@equinor/echo-core';\nimport { getDeepLinkParams } from '@equinor/echo-utils';\n\nexport function initForE2ETests() {\n const { skipAuth } = getDeepLinkParams(['skipAuth']);\n if (skipAuth?.toLowerCase() === 'true') {\n setupSkipAuth();\n }\n}\n\nconst setAuthentication = () => {\n EchoCore.EchoAuthProvider.isAuthenticated = true;\n EchoCore.EchoAuthProvider.userProperties = {\n account: {\n homeAccountId: 'homeAccountId',\n environment: 'testingEnvironment',\n tenantId: 'tenantId',\n username: 'tester',\n localAccountId: 'tester123'\n }\n };\n};\n\nexport function setupSkipAuth() {\n EchoCore.EchoAuthProvider.isAuthenticated = true;\n EchoCore.EchoAuthProvider.handleLogin = async (logRequest?: (...args: unknown[]) => void): Promise<void> => {\n setAuthentication();\n return Promise.resolve(undefined);\n };\n EchoCore.EchoAuthProvider.ssoSilentOrRedirectToAuthenticate = async () => {\n setAuthentication();\n return Promise.resolve(undefined);\n };\n EchoCore.EchoAuthProvider.aquireTokenSilentOrRedirectToAuthenticate =\n async (): Promise<AuthenticationResult | null> => {\n setAuthentication();\n return null;\n };\n EchoCore.EchoAuthProvider.login = async () => {\n setAuthentication();\n return Promise.resolve();\n };\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Check if module exists (development only)\n\tif (__webpack_modules__[moduleId] === undefined) {\n\t\tvar e = new Error(\"Cannot find module '\" + moduleId + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t\"main\": 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunk_equinor_echo_dev_host\"] = self[\"webpackChunk_equinor_echo_dev_host\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","__webpack_require__.nc = undefined;","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\n__webpack_require__.O(undefined, [\"vendors-node_modules_babel_polyfill_lib_index_js-node_modules_react-dom_client_js-node_module-8e2452\"], () => (__webpack_require__(\"./node_modules/@babel/polyfill/lib/index.js\")))\nvar __webpack_exports__ = __webpack_require__.O(undefined, [\"vendors-node_modules_babel_polyfill_lib_index_js-node_modules_react-dom_client_js-node_module-8e2452\"], () => (__webpack_require__(\"./src/index.tsx\")))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","leafPrototypes","getProto","___CSS_LOADER_EXPORT___","push","module","id","locals","getPlantsFromApi","apiPlants","length","setPlantsData","plants","console","error","url","EchoEnv","env","REACT_APP_API_URL","request","cache","timeInSeconds","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","EchoApp","useInitial","Syncer","configuration","setApiBaseUrl","asyncFunc","getCorePlants","userFriendlyErrorMessage","displayToast","catch","message","EchoEventHandler","EchoContent","Legend","isOnboardingCompleted","EchoRoutes","homeComponent","Home","Toasters","className","home","plantSelector","EchoLogo","PlantSelector","AppLinks","brandSliderContainer","src","alt","Footer","dummySearchPanel","component","wrapper","panel","panelType","PanelType","left","key","ECHO_CORE_SEARCH","icon","label","window","parent","opener","container","document","getElementById","createRoot","render","initForE2ETests","isAuthenticated","useEchoSetup","leftPanels","rightPanel","mainMenu","Icon","add","Icons","moduleOptions","createApi","createEchoAppModuleApi","dependencies","react","classnames","lodash","zustand","fetchModules","Promise","resolve","fetch","then","response","json","manifests","forEach","manifest","fileUri","AuthProviderComponent","QueryClientProvider","client","queryClient","EventHubProvider","Mediator","BrowserRouter","future","v7_relativeSplatPath","v7_startTransition","skipAuth","getDeepLinkParams","toLowerCase","setupSkipAuth","setAuthentication","EchoAuthProvider","userProperties","account","homeAccountId","environment","tenantId","username","localAccountId","handleLogin","logRequest","ssoSilentOrRedirectToAuthenticate","aquireTokenSilentOrRedirectToAuthenticate","login","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","exports","__webpack_modules__","e","Error","code","loaded","call","m","O","result","chunkIds","fn","priority","notFulfilled","Infinity","i","fulfilled","j","Object","keys","every","splice","r","n","getter","__esModule","d","a","getPrototypeOf","obj","t","value","mode","this","ns","create","def","current","indexOf","getOwnPropertyNames","definition","o","defineProperty","enumerable","get","g","globalThis","Function","prop","prototype","hasOwnProperty","Symbol","toStringTag","nmd","paths","children","p","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","data","moreModules","runtime","some","chunkLoadingGlobal","self","bind","nc","__webpack_exports__"],"ignoreList":[],"sourceRoot":""}
|