@sddsjs/design-system-builder-cli 0.0.0-stage → 0.2.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/LICENSE +4 -0
- package/README.md +969 -2
- package/bin/dsbuilder.js +2 -0
- package/dist/kotlin/Kotlin-Immutable-Collections-kotlinx-collections-immutable.js +3170 -0
- package/dist/kotlin/Stately-stately-concurrency.js +32 -0
- package/dist/kotlin/Stately-stately-concurrent-collections.js +302 -0
- package/dist/kotlin/Stately-stately-strict.js +12 -0
- package/dist/kotlin/clikt-clikt-mordant.js +304 -0
- package/dist/kotlin/clikt-clikt.js +6960 -0
- package/dist/kotlin/colormath-root-colormath.js +1653 -0
- package/dist/kotlin/design-system-builder-frontend-analytics-metrica.js +1026 -0
- package/dist/kotlin/design-system-builder-frontend-cli.js +10690 -0
- package/dist/kotlin/design-system-builder-frontend-core-analytics.js +128 -0
- package/dist/kotlin/design-system-builder-frontend-core-application.js +3634 -0
- package/dist/kotlin/design-system-builder-frontend-core-auth.js +1772 -0
- package/dist/kotlin/design-system-builder-frontend-core-domain.js +501 -0
- package/dist/kotlin/design-system-builder-frontend-core-network.js +3318 -0
- package/dist/kotlin/design-system-builder-frontend-core-platform.js +972 -0
- package/dist/kotlin/design-system-builder-frontend-core-process.js +236 -0
- package/dist/kotlin/design-system-builder-frontend-core-workspace.js +1058 -0
- package/dist/kotlin/design-system-builder-frontend-feature-auth.js +1664 -0
- package/dist/kotlin/design-system-builder-frontend-feature-components.js +24819 -0
- package/dist/kotlin/design-system-builder-frontend-feature-docs.js +7625 -0
- package/dist/kotlin/design-system-builder-frontend-feature-ds.js +2219 -0
- package/dist/kotlin/design-system-builder-frontend-feature-init.js +318 -0
- package/dist/kotlin/design-system-builder-frontend-feature-projects.js +624 -0
- package/dist/kotlin/design-system-builder-frontend-feature-status.js +984 -0
- package/dist/kotlin/design-system-builder-frontend-feature-theme.js +10456 -0
- package/dist/kotlin/design-system-builder-frontend-feature-toolchain.js +586 -0
- package/dist/kotlin/design-system-builder-frontend-mcp-server-core.js +6878 -0
- package/dist/kotlin/design-system-builder-frontend-platform-android.js +451 -0
- package/dist/kotlin/design-system-builder-frontend-platform-ios.js +1858 -0
- package/dist/kotlin/design-system-builder-frontend-platform-web.js +1555 -0
- package/dist/kotlin/design-system-builder-frontend-runtime-node.js +1763 -0
- package/dist/kotlin/kotlin-kotlin-stdlib.js +17881 -0
- package/dist/kotlin/kotlin-logging.js +440 -0
- package/dist/kotlin/kotlin-sdk-kotlin-sdk-core.js +20228 -0
- package/dist/kotlin/kotlin-sdk-kotlin-sdk-server.js +2771 -0
- package/dist/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +8 -0
- package/dist/kotlin/kotlinx-atomicfu.js +252 -0
- package/dist/kotlin/kotlinx-coroutines-core.js +10822 -0
- package/dist/kotlin/kotlinx-io-kotlinx-io-bytestring.js +203 -0
- package/dist/kotlin/kotlinx-io-kotlinx-io-core.js +2032 -0
- package/dist/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +6171 -0
- package/dist/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +5690 -0
- package/dist/kotlin/ktor-ktor-client-core.js +8382 -0
- package/dist/kotlin/ktor-ktor-events.js +80 -0
- package/dist/kotlin/ktor-ktor-http-cio.js +2252 -0
- package/dist/kotlin/ktor-ktor-http.js +3320 -0
- package/dist/kotlin/ktor-ktor-io.js +3328 -0
- package/dist/kotlin/ktor-ktor-serialization.js +8 -0
- package/dist/kotlin/ktor-ktor-server-core.js +12 -0
- package/dist/kotlin/ktor-ktor-server-sse.js +8 -0
- package/dist/kotlin/ktor-ktor-server-websockets.js +8 -0
- package/dist/kotlin/ktor-ktor-sse.js +8 -0
- package/dist/kotlin/ktor-ktor-utils.js +2524 -0
- package/dist/kotlin/ktor-ktor-websocket-serialization.js +8 -0
- package/dist/kotlin/ktor-ktor-websockets.js +433 -0
- package/dist/kotlin/mordant-mordant-omnibus.js +8 -0
- package/dist/kotlin/mordant-mordant.js +12111 -0
- package/dist/kotlin/okio-parent-okio.js +2335 -0
- package/dist/kotlin/projects-core-koin-core.js +1285 -0
- package/package.json +26 -5
|
@@ -0,0 +1,1555 @@
|
|
|
1
|
+
(function (_, kotlin_kotlin, kotlin_design_system_builder_frontend_core_platform, kotlin_design_system_builder_frontend_core_process, kotlin_design_system_builder_frontend_core_domain, kotlin_io_insert_koin_koin_core, kotlin_design_system_builder_frontend_core_workspace, kotlin_design_system_builder_frontend_core_auth) {
|
|
2
|
+
'use strict';
|
|
3
|
+
//region block: imports
|
|
4
|
+
var imul = Math.imul;
|
|
5
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.m;
|
|
6
|
+
var Unit_instance = kotlin_kotlin.$_$.r5;
|
|
7
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.w2;
|
|
8
|
+
var contains = kotlin_kotlin.$_$.sg;
|
|
9
|
+
var charArrayOf = kotlin_kotlin.$_$.bd;
|
|
10
|
+
var trimEnd = kotlin_kotlin.$_$.oj;
|
|
11
|
+
var Capability_THEME_getInstance = kotlin_design_system_builder_frontend_core_platform.$_$.y;
|
|
12
|
+
var to = kotlin_kotlin.$_$.cm;
|
|
13
|
+
var Capability_COMPONENTS_getInstance = kotlin_design_system_builder_frontend_core_platform.$_$.v;
|
|
14
|
+
var Capability_DESIGN_SYSTEM_getInstance = kotlin_design_system_builder_frontend_core_platform.$_$.w;
|
|
15
|
+
var mapOf = kotlin_kotlin.$_$.i9;
|
|
16
|
+
var protoOf = kotlin_kotlin.$_$.te;
|
|
17
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.rd;
|
|
18
|
+
var CoroutineImpl = kotlin_kotlin.$_$.tb;
|
|
19
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.db;
|
|
20
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.vl;
|
|
21
|
+
var Missing = kotlin_design_system_builder_frontend_core_platform.$_$.r;
|
|
22
|
+
var Triple = kotlin_kotlin.$_$.xk;
|
|
23
|
+
var listOf = kotlin_kotlin.$_$.e9;
|
|
24
|
+
var VOID = kotlin_kotlin.$_$.c;
|
|
25
|
+
var ProcessRequest = kotlin_design_system_builder_frontend_core_process.$_$.b;
|
|
26
|
+
var ProcessLaunchException = kotlin_design_system_builder_frontend_core_process.$_$.a;
|
|
27
|
+
var THROW_CCE = kotlin_kotlin.$_$.wk;
|
|
28
|
+
var isCharSequence = kotlin_kotlin.$_$.be;
|
|
29
|
+
var trim = kotlin_kotlin.$_$.uj;
|
|
30
|
+
var toString = kotlin_kotlin.$_$.we;
|
|
31
|
+
var Ready = kotlin_design_system_builder_frontend_core_platform.$_$.s;
|
|
32
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.sd;
|
|
33
|
+
var Unsupported = kotlin_design_system_builder_frontend_core_platform.$_$.e;
|
|
34
|
+
var ToolchainMissing = kotlin_design_system_builder_frontend_core_platform.$_$.d;
|
|
35
|
+
var plus = kotlin_kotlin.$_$.t9;
|
|
36
|
+
var listOf_0 = kotlin_kotlin.$_$.f9;
|
|
37
|
+
var Failed = kotlin_design_system_builder_frontend_core_platform.$_$.c;
|
|
38
|
+
var Completed = kotlin_design_system_builder_frontend_core_platform.$_$.b;
|
|
39
|
+
var _ToolchainId___init__impl__eu7bv9 = kotlin_design_system_builder_frontend_core_platform.$_$.z;
|
|
40
|
+
var TargetPlatform_REACT_getInstance = kotlin_design_system_builder_frontend_core_domain.$_$.p;
|
|
41
|
+
var setOf = kotlin_kotlin.$_$.y9;
|
|
42
|
+
var initMetadataForClass = kotlin_kotlin.$_$.qd;
|
|
43
|
+
var module_0 = kotlin_io_insert_koin_koin_core.$_$.g;
|
|
44
|
+
var Companion_getInstance = kotlin_io_insert_koin_koin_core.$_$.b;
|
|
45
|
+
var Kind_Singleton_getInstance = kotlin_io_insert_koin_koin_core.$_$.a;
|
|
46
|
+
var emptyList = kotlin_kotlin.$_$.y7;
|
|
47
|
+
var getKClass = kotlin_kotlin.$_$.qf;
|
|
48
|
+
var BeanDefinition = kotlin_io_insert_koin_koin_core.$_$.c;
|
|
49
|
+
var SingleInstanceFactory = kotlin_io_insert_koin_koin_core.$_$.e;
|
|
50
|
+
var KoinDefinition = kotlin_io_insert_koin_koin_core.$_$.d;
|
|
51
|
+
var WorkspaceFileSystem = kotlin_design_system_builder_frontend_core_workspace.$_$.i;
|
|
52
|
+
var EnvironmentReader = kotlin_design_system_builder_frontend_core_auth.$_$.i;
|
|
53
|
+
var ProcessRunner = kotlin_design_system_builder_frontend_core_process.$_$.d;
|
|
54
|
+
var split = kotlin_kotlin.$_$.fi;
|
|
55
|
+
var isBlank = kotlin_kotlin.$_$.gh;
|
|
56
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.y6;
|
|
57
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.l;
|
|
58
|
+
var charCodeAt = kotlin_kotlin.$_$.dd;
|
|
59
|
+
var contains_0 = kotlin_kotlin.$_$.a7;
|
|
60
|
+
var startsWith = kotlin_kotlin.$_$.gi;
|
|
61
|
+
var lineSequence = kotlin_kotlin.$_$.th;
|
|
62
|
+
var lastOrNull = kotlin_kotlin.$_$.eg;
|
|
63
|
+
var charSequenceLength = kotlin_kotlin.$_$.fd;
|
|
64
|
+
var getStringHashCode = kotlin_kotlin.$_$.od;
|
|
65
|
+
var hashCode = kotlin_kotlin.$_$.pd;
|
|
66
|
+
var equals = kotlin_kotlin.$_$.jd;
|
|
67
|
+
var Regex_init_$Create$ = kotlin_kotlin.$_$.e1;
|
|
68
|
+
var Failed_0 = kotlin_design_system_builder_frontend_core_platform.$_$.n;
|
|
69
|
+
var Installed = kotlin_design_system_builder_frontend_core_platform.$_$.o;
|
|
70
|
+
//endregion
|
|
71
|
+
//region block: pre-declaration
|
|
72
|
+
initMetadataForCompanion(Companion);
|
|
73
|
+
initMetadataForCoroutine($doctorCOROUTINE$, CoroutineImpl);
|
|
74
|
+
initMetadataForCoroutine($runCOROUTINE$, CoroutineImpl);
|
|
75
|
+
initMetadataForClass(WebNpmDelegate, 'WebNpmDelegate', VOID, VOID, VOID, [2, 1]);
|
|
76
|
+
initMetadataForCompanion(Companion_0);
|
|
77
|
+
initMetadataForCoroutine($locateCOROUTINE$, CoroutineImpl);
|
|
78
|
+
initMetadataForCoroutine($locateInstalledCOROUTINE$, CoroutineImpl);
|
|
79
|
+
initMetadataForCoroutine($globalPrefixCOROUTINE$, CoroutineImpl);
|
|
80
|
+
initMetadataForClass(WebToolLocator, 'WebToolLocator', VOID, VOID, VOID, [1, 0]);
|
|
81
|
+
initMetadataForClass(Directory, 'Directory');
|
|
82
|
+
initMetadataForClass(Global, 'Global');
|
|
83
|
+
initMetadataForClass(Found, 'Found');
|
|
84
|
+
initMetadataForClass(Missing_0, 'Missing');
|
|
85
|
+
initMetadataForClass(Archive, 'Archive');
|
|
86
|
+
initMetadataForClass(Failed_1, 'Failed');
|
|
87
|
+
initMetadataForCompanion(Companion_1);
|
|
88
|
+
initMetadataForCoroutine($installCOROUTINE$, CoroutineImpl);
|
|
89
|
+
initMetadataForCoroutine($installDirectoryCOROUTINE$, CoroutineImpl);
|
|
90
|
+
initMetadataForCoroutine($packDirectoryCOROUTINE$, CoroutineImpl);
|
|
91
|
+
initMetadataForCoroutine($installPackageCOROUTINE$, CoroutineImpl);
|
|
92
|
+
initMetadataForCoroutine($installedGeneratorCOROUTINE$, CoroutineImpl);
|
|
93
|
+
initMetadataForClass(WebToolchainInstaller, 'WebToolchainInstaller', VOID, VOID, VOID, [1, 3]);
|
|
94
|
+
//endregion
|
|
95
|
+
function generatorArguments($this, invocation) {
|
|
96
|
+
// Inline function 'kotlin.collections.buildList' call
|
|
97
|
+
// Inline function 'kotlin.collections.buildListInternal' call
|
|
98
|
+
// Inline function 'kotlin.apply' call
|
|
99
|
+
var this_0 = ArrayList_init_$Create$();
|
|
100
|
+
this_0.j('--sdds');
|
|
101
|
+
this_0.j(invocation.u66_1.m66_1);
|
|
102
|
+
this_0.j('--out');
|
|
103
|
+
var workspaceDir = invocation.u66_1.n66_1;
|
|
104
|
+
var separator = contains(workspaceDir, _Char___init__impl__6a9atx(92)) ? '\\' : '/';
|
|
105
|
+
var tmp0_elvis_lhs = invocation.v66_1;
|
|
106
|
+
this_0.j(tmp0_elvis_lhs == null ? trimEnd(workspaceDir, charArrayOf([_Char___init__impl__6a9atx(47), _Char___init__impl__6a9atx(92)])) + separator + 'output' : tmp0_elvis_lhs);
|
|
107
|
+
this_0.q(invocation.w66_1);
|
|
108
|
+
return this_0.b5();
|
|
109
|
+
}
|
|
110
|
+
function Companion() {
|
|
111
|
+
Companion_instance = this;
|
|
112
|
+
this.qbo_1 = mapOf([to(Capability_THEME_getInstance(), 'theme'), to(Capability_COMPONENTS_getInstance(), 'components'), to(Capability_DESIGN_SYSTEM_getInstance(), 'ds')]);
|
|
113
|
+
this.rbo_1 = 'output';
|
|
114
|
+
}
|
|
115
|
+
var Companion_instance;
|
|
116
|
+
function Companion_getInstance_0() {
|
|
117
|
+
if (Companion_instance == null)
|
|
118
|
+
new Companion();
|
|
119
|
+
return Companion_instance;
|
|
120
|
+
}
|
|
121
|
+
function $doctorCOROUTINE$(_this__u8e3s4, workspace, toolOverride, resultContinuation) {
|
|
122
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
123
|
+
this.abp_1 = _this__u8e3s4;
|
|
124
|
+
this.bbp_1 = workspace;
|
|
125
|
+
this.cbp_1 = toolOverride;
|
|
126
|
+
}
|
|
127
|
+
protoOf($doctorCOROUTINE$).e9 = function () {
|
|
128
|
+
var suspendResult = this.y8_1;
|
|
129
|
+
$sm: do
|
|
130
|
+
try {
|
|
131
|
+
var tmp = this.w8_1;
|
|
132
|
+
switch (tmp) {
|
|
133
|
+
case 0:
|
|
134
|
+
this.x8_1 = 5;
|
|
135
|
+
this.w8_1 = 1;
|
|
136
|
+
suspendResult = this.abp_1.ibp_1.pbp(this.cbp_1, this);
|
|
137
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
138
|
+
return suspendResult;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
continue $sm;
|
|
142
|
+
case 1:
|
|
143
|
+
var lookup = suspendResult;
|
|
144
|
+
var tmp_0 = this;
|
|
145
|
+
var tmp_1;
|
|
146
|
+
if (lookup instanceof Missing_0) {
|
|
147
|
+
return new Missing(lookup.rbp_1);
|
|
148
|
+
} else {
|
|
149
|
+
if (lookup instanceof Found) {
|
|
150
|
+
tmp_1 = lookup.qbp_1;
|
|
151
|
+
} else {
|
|
152
|
+
noWhenBranchMatchedException();
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
tmp_0.fbp_1 = tmp_1;
|
|
157
|
+
var tmp0_subject = this.fbp_1;
|
|
158
|
+
var tmp_2;
|
|
159
|
+
if (tmp0_subject instanceof Directory) {
|
|
160
|
+
tmp_2 = new Triple(this.fbp_1.ubp_1, this.fbp_1.tbp_1, 'npm');
|
|
161
|
+
} else {
|
|
162
|
+
if (tmp0_subject instanceof Global) {
|
|
163
|
+
tmp_2 = new Triple(this.fbp_1.sbp_1, this.bbp_1.n66_1, 'dsbuilder-web-generator');
|
|
164
|
+
} else {
|
|
165
|
+
noWhenBranchMatchedException();
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
var _destruct__k2r9zo = tmp_2;
|
|
170
|
+
this.dbp_1 = _destruct__k2r9zo.ah();
|
|
171
|
+
var workingDirectory = _destruct__k2r9zo.bh();
|
|
172
|
+
this.ebp_1 = _destruct__k2r9zo.rp();
|
|
173
|
+
this.x8_1 = 3;
|
|
174
|
+
this.w8_1 = 2;
|
|
175
|
+
suspendResult = this.abp_1.hbp_1.j5o(new ProcessRequest(this.dbp_1, listOf('--version'), workingDirectory, VOID, false), this);
|
|
176
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
177
|
+
return suspendResult;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
continue $sm;
|
|
181
|
+
case 2:
|
|
182
|
+
this.gbp_1 = suspendResult;
|
|
183
|
+
this.x8_1 = 5;
|
|
184
|
+
this.w8_1 = 4;
|
|
185
|
+
continue $sm;
|
|
186
|
+
case 3:
|
|
187
|
+
this.x8_1 = 5;
|
|
188
|
+
var tmp_3 = this.z8_1;
|
|
189
|
+
if (tmp_3 instanceof ProcessLaunchException) {
|
|
190
|
+
var error = this.z8_1;
|
|
191
|
+
var tmp_4 = this;
|
|
192
|
+
return new Missing(this.dbp_1 + ' cannot be started: ' + error.message);
|
|
193
|
+
} else {
|
|
194
|
+
throw this.z8_1;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
case 4:
|
|
198
|
+
this.x8_1 = 5;
|
|
199
|
+
var result = this.gbp_1;
|
|
200
|
+
var tmp_5;
|
|
201
|
+
if (result.k5o_1 === 0) {
|
|
202
|
+
var tmp_6;
|
|
203
|
+
var tmp_7 = this.fbp_1;
|
|
204
|
+
if (tmp_7 instanceof Directory) {
|
|
205
|
+
tmp_6 = this.fbp_1.tbp_1;
|
|
206
|
+
} else {
|
|
207
|
+
tmp_6 = this.dbp_1;
|
|
208
|
+
}
|
|
209
|
+
var location = tmp_6;
|
|
210
|
+
var this_0 = result.l5o_1;
|
|
211
|
+
tmp_5 = new Ready(location, this.ebp_1 + ' ' + toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE())));
|
|
212
|
+
} else {
|
|
213
|
+
tmp_5 = new Missing(this.dbp_1 + ' --version failed with exit code ' + result.k5o_1 + '.');
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
return tmp_5;
|
|
217
|
+
case 5:
|
|
218
|
+
throw this.z8_1;
|
|
219
|
+
}
|
|
220
|
+
} catch ($p) {
|
|
221
|
+
var e = $p;
|
|
222
|
+
if (this.x8_1 === 5) {
|
|
223
|
+
throw e;
|
|
224
|
+
} else {
|
|
225
|
+
this.w8_1 = this.x8_1;
|
|
226
|
+
this.z8_1 = e;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
while (true);
|
|
230
|
+
};
|
|
231
|
+
function $runCOROUTINE$(_this__u8e3s4, invocation, resultContinuation) {
|
|
232
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
233
|
+
this.dbq_1 = _this__u8e3s4;
|
|
234
|
+
this.ebq_1 = invocation;
|
|
235
|
+
}
|
|
236
|
+
protoOf($runCOROUTINE$).e9 = function () {
|
|
237
|
+
var suspendResult = this.y8_1;
|
|
238
|
+
$sm: do
|
|
239
|
+
try {
|
|
240
|
+
var tmp = this.w8_1;
|
|
241
|
+
switch (tmp) {
|
|
242
|
+
case 0:
|
|
243
|
+
this.x8_1 = 5;
|
|
244
|
+
var tmp_0 = this;
|
|
245
|
+
var tmp0_elvis_lhs = Companion_getInstance_0().qbo_1.c2(this.ebq_1.s66_1);
|
|
246
|
+
var tmp_1;
|
|
247
|
+
if (tmp0_elvis_lhs == null) {
|
|
248
|
+
return new Unsupported("Toolchain 'web' does not support " + this.ebq_1.s66_1.v65_1 + " for platform 'react'.");
|
|
249
|
+
} else {
|
|
250
|
+
tmp_1 = tmp0_elvis_lhs;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
tmp_0.ibq_1 = tmp_1;
|
|
254
|
+
this.w8_1 = 1;
|
|
255
|
+
suspendResult = this.dbq_1.ibp_1.pbp(this.ebq_1.x66_1, this);
|
|
256
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
257
|
+
return suspendResult;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
continue $sm;
|
|
261
|
+
case 1:
|
|
262
|
+
var lookup = suspendResult;
|
|
263
|
+
var tmp_2;
|
|
264
|
+
if (lookup instanceof Missing_0) {
|
|
265
|
+
return new ToolchainMissing(lookup.rbp_1);
|
|
266
|
+
} else {
|
|
267
|
+
if (lookup instanceof Found) {
|
|
268
|
+
tmp_2 = lookup.qbp_1;
|
|
269
|
+
} else {
|
|
270
|
+
noWhenBranchMatchedException();
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
var tool = tmp_2;
|
|
275
|
+
var tmp_3 = this;
|
|
276
|
+
var tmp_4;
|
|
277
|
+
if (tool instanceof Directory) {
|
|
278
|
+
tmp_4 = new ProcessRequest(tool.ubp_1, plus(listOf_0(['run', 'generate:' + this.ibq_1, '--']), generatorArguments(this.dbq_1, this.ebq_1)), tool.tbp_1);
|
|
279
|
+
} else {
|
|
280
|
+
if (tool instanceof Global) {
|
|
281
|
+
tmp_4 = new ProcessRequest(tool.sbp_1, plus(listOf(this.ibq_1), generatorArguments(this.dbq_1, this.ebq_1)), this.ebq_1.u66_1.n66_1);
|
|
282
|
+
} else {
|
|
283
|
+
noWhenBranchMatchedException();
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
tmp_3.gbq_1 = tmp_4;
|
|
288
|
+
var tmp_5 = this;
|
|
289
|
+
var tmp_6;
|
|
290
|
+
if (tool instanceof Directory) {
|
|
291
|
+
tmp_6 = 'npm run generate:' + this.ibq_1;
|
|
292
|
+
} else {
|
|
293
|
+
if (tool instanceof Global) {
|
|
294
|
+
tmp_6 = 'dsbuilder-web-generator ' + this.ibq_1;
|
|
295
|
+
} else {
|
|
296
|
+
noWhenBranchMatchedException();
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
tmp_5.hbq_1 = tmp_6;
|
|
301
|
+
this.x8_1 = 3;
|
|
302
|
+
this.w8_1 = 2;
|
|
303
|
+
suspendResult = this.dbq_1.hbp_1.j5o(this.gbq_1, this);
|
|
304
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
305
|
+
return suspendResult;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
continue $sm;
|
|
309
|
+
case 2:
|
|
310
|
+
var result = suspendResult;
|
|
311
|
+
var tmp_7 = this;
|
|
312
|
+
var tmp_8;
|
|
313
|
+
if (result.k5o_1 === 0) {
|
|
314
|
+
tmp_8 = new Completed(this.hbq_1 + ' completed from ' + this.ebq_1.u66_1.m66_1 + '.');
|
|
315
|
+
} else {
|
|
316
|
+
tmp_8 = new Failed(result.k5o_1, 'see the output of ' + this.hbq_1 + ' above');
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
tmp_7.fbq_1 = tmp_8;
|
|
320
|
+
this.x8_1 = 5;
|
|
321
|
+
this.w8_1 = 4;
|
|
322
|
+
continue $sm;
|
|
323
|
+
case 3:
|
|
324
|
+
this.x8_1 = 5;
|
|
325
|
+
var tmp_9 = this.z8_1;
|
|
326
|
+
if (tmp_9 instanceof ProcessLaunchException) {
|
|
327
|
+
var error = this.z8_1;
|
|
328
|
+
var tmp_10 = this;
|
|
329
|
+
tmp_10.fbq_1 = new ToolchainMissing(this.gbq_1.m5o_1 + ' cannot be started: ' + error.message);
|
|
330
|
+
this.w8_1 = 4;
|
|
331
|
+
continue $sm;
|
|
332
|
+
} else {
|
|
333
|
+
throw this.z8_1;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
case 4:
|
|
337
|
+
this.x8_1 = 5;
|
|
338
|
+
return this.fbq_1;
|
|
339
|
+
case 5:
|
|
340
|
+
throw this.z8_1;
|
|
341
|
+
}
|
|
342
|
+
} catch ($p) {
|
|
343
|
+
var e = $p;
|
|
344
|
+
if (this.x8_1 === 5) {
|
|
345
|
+
throw e;
|
|
346
|
+
} else {
|
|
347
|
+
this.w8_1 = this.x8_1;
|
|
348
|
+
this.z8_1 = e;
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
while (true);
|
|
352
|
+
};
|
|
353
|
+
function WebNpmDelegate(processRunner, locator) {
|
|
354
|
+
Companion_getInstance_0();
|
|
355
|
+
this.hbp_1 = processRunner;
|
|
356
|
+
this.ibp_1 = locator;
|
|
357
|
+
this.jbp_1 = _ToolchainId___init__impl__eu7bv9('web');
|
|
358
|
+
this.kbp_1 = setOf(TargetPlatform_REACT_getInstance());
|
|
359
|
+
this.lbp_1 = Companion_getInstance_0().qbo_1.d2();
|
|
360
|
+
}
|
|
361
|
+
protoOf(WebNpmDelegate).t64 = function () {
|
|
362
|
+
return this.jbp_1;
|
|
363
|
+
};
|
|
364
|
+
protoOf(WebNpmDelegate).k66 = function () {
|
|
365
|
+
return this.kbp_1;
|
|
366
|
+
};
|
|
367
|
+
protoOf(WebNpmDelegate).w65 = function () {
|
|
368
|
+
return this.lbp_1;
|
|
369
|
+
};
|
|
370
|
+
protoOf(WebNpmDelegate).y65 = function (workspace, toolOverride, $completion) {
|
|
371
|
+
var tmp = new $doctorCOROUTINE$(this, workspace, toolOverride, $completion);
|
|
372
|
+
tmp.y8_1 = Unit_instance;
|
|
373
|
+
tmp.z8_1 = null;
|
|
374
|
+
return tmp.e9();
|
|
375
|
+
};
|
|
376
|
+
protoOf(WebNpmDelegate).c66 = function (invocation, $completion) {
|
|
377
|
+
var tmp = new $runCOROUTINE$(this, invocation, $completion);
|
|
378
|
+
tmp.y8_1 = Unit_instance;
|
|
379
|
+
tmp.z8_1 = null;
|
|
380
|
+
return tmp.e9();
|
|
381
|
+
};
|
|
382
|
+
function webPlatformModule() {
|
|
383
|
+
return module_0(VOID, webPlatformModule$lambda);
|
|
384
|
+
}
|
|
385
|
+
function webPlatformModule$lambda($this$module) {
|
|
386
|
+
// Inline function 'org.koin.core.module.Module.single' call
|
|
387
|
+
// Inline function 'org.koin.core.module._singleInstanceFactory' call
|
|
388
|
+
var definition = webPlatformModule$lambda$lambda;
|
|
389
|
+
var scopeQualifier = Companion_getInstance().u56_1;
|
|
390
|
+
// Inline function 'org.koin.core.definition._createDefinition' call
|
|
391
|
+
var kind = Kind_Singleton_getInstance();
|
|
392
|
+
var secondaryTypes = emptyList();
|
|
393
|
+
var def = new BeanDefinition(scopeQualifier, getKClass(WebToolLocator), null, definition, kind, secondaryTypes);
|
|
394
|
+
var factory = new SingleInstanceFactory(def);
|
|
395
|
+
$this$module.k58(factory);
|
|
396
|
+
if (false || $this$module.e58_1) {
|
|
397
|
+
$this$module.m58(factory);
|
|
398
|
+
}
|
|
399
|
+
new KoinDefinition($this$module, factory);
|
|
400
|
+
// Inline function 'org.koin.core.module.Module.single' call
|
|
401
|
+
// Inline function 'org.koin.core.module._singleInstanceFactory' call
|
|
402
|
+
var definition_0 = webPlatformModule$lambda$lambda_0;
|
|
403
|
+
var scopeQualifier_0 = Companion_getInstance().u56_1;
|
|
404
|
+
// Inline function 'org.koin.core.definition._createDefinition' call
|
|
405
|
+
var kind_0 = Kind_Singleton_getInstance();
|
|
406
|
+
var secondaryTypes_0 = emptyList();
|
|
407
|
+
var def_0 = new BeanDefinition(scopeQualifier_0, getKClass(WebNpmDelegate), null, definition_0, kind_0, secondaryTypes_0);
|
|
408
|
+
var factory_0 = new SingleInstanceFactory(def_0);
|
|
409
|
+
$this$module.k58(factory_0);
|
|
410
|
+
if (false || $this$module.e58_1) {
|
|
411
|
+
$this$module.m58(factory_0);
|
|
412
|
+
}
|
|
413
|
+
new KoinDefinition($this$module, factory_0);
|
|
414
|
+
// Inline function 'org.koin.core.module.Module.single' call
|
|
415
|
+
// Inline function 'org.koin.core.module._singleInstanceFactory' call
|
|
416
|
+
var definition_1 = webPlatformModule$lambda$lambda_1;
|
|
417
|
+
var scopeQualifier_1 = Companion_getInstance().u56_1;
|
|
418
|
+
// Inline function 'org.koin.core.definition._createDefinition' call
|
|
419
|
+
var kind_1 = Kind_Singleton_getInstance();
|
|
420
|
+
var secondaryTypes_1 = emptyList();
|
|
421
|
+
var def_1 = new BeanDefinition(scopeQualifier_1, getKClass(WebToolchainInstaller), null, definition_1, kind_1, secondaryTypes_1);
|
|
422
|
+
var factory_1 = new SingleInstanceFactory(def_1);
|
|
423
|
+
$this$module.k58(factory_1);
|
|
424
|
+
if (false || $this$module.e58_1) {
|
|
425
|
+
$this$module.m58(factory_1);
|
|
426
|
+
}
|
|
427
|
+
new KoinDefinition($this$module, factory_1);
|
|
428
|
+
return Unit_instance;
|
|
429
|
+
}
|
|
430
|
+
function webPlatformModule$lambda$lambda($this$single, it) {
|
|
431
|
+
// Inline function 'org.koin.core.scope.Scope.get' call
|
|
432
|
+
var tmp = $this$single.j59(getKClass(WorkspaceFileSystem), null, null);
|
|
433
|
+
// Inline function 'org.koin.core.scope.Scope.get' call
|
|
434
|
+
var tmp_0 = $this$single.j59(getKClass(EnvironmentReader), null, null);
|
|
435
|
+
// Inline function 'org.koin.core.scope.Scope.get' call
|
|
436
|
+
var tmp$ret$2 = $this$single.j59(getKClass(ProcessRunner), null, null);
|
|
437
|
+
return new WebToolLocator(tmp, tmp_0, tmp$ret$2);
|
|
438
|
+
}
|
|
439
|
+
function webPlatformModule$lambda$lambda_0($this$single, it) {
|
|
440
|
+
// Inline function 'org.koin.core.scope.Scope.get' call
|
|
441
|
+
var tmp = $this$single.j59(getKClass(ProcessRunner), null, null);
|
|
442
|
+
// Inline function 'org.koin.core.scope.Scope.get' call
|
|
443
|
+
var tmp$ret$1 = $this$single.j59(getKClass(WebToolLocator), null, null);
|
|
444
|
+
return new WebNpmDelegate(tmp, tmp$ret$1);
|
|
445
|
+
}
|
|
446
|
+
function webPlatformModule$lambda$lambda_1($this$single, it) {
|
|
447
|
+
// Inline function 'org.koin.core.scope.Scope.get' call
|
|
448
|
+
var tmp = $this$single.j59(getKClass(ProcessRunner), null, null);
|
|
449
|
+
// Inline function 'org.koin.core.scope.Scope.get' call
|
|
450
|
+
var tmp_0 = $this$single.j59(getKClass(WebToolLocator), null, null);
|
|
451
|
+
// Inline function 'org.koin.core.scope.Scope.get' call
|
|
452
|
+
var tmp$ret$2 = $this$single.j59(getKClass(WorkspaceFileSystem), null, null);
|
|
453
|
+
return new WebToolchainInstaller(tmp, tmp_0, tmp$ret$2);
|
|
454
|
+
}
|
|
455
|
+
function get_MANAGED_WEB_PREFIX() {
|
|
456
|
+
_init_properties_WebToolLocator_kt__b3z0wa();
|
|
457
|
+
return MANAGED_WEB_PREFIX;
|
|
458
|
+
}
|
|
459
|
+
var MANAGED_WEB_PREFIX;
|
|
460
|
+
function locateDirectory($this, directory, source) {
|
|
461
|
+
if (!$this.mbp_1.v4y($this.mbp_1.k4z(directory, 'package.json'))) {
|
|
462
|
+
return new Missing_0('The web generator (package.json) was not found at ' + directory + ', the path given by ' + source + '.');
|
|
463
|
+
}
|
|
464
|
+
var tmp0_safe_receiver = $this.jbq();
|
|
465
|
+
var tmp;
|
|
466
|
+
if (tmp0_safe_receiver == null) {
|
|
467
|
+
tmp = null;
|
|
468
|
+
} else {
|
|
469
|
+
// Inline function 'kotlin.let' call
|
|
470
|
+
tmp = new Found(new Directory(directory, tmp0_safe_receiver));
|
|
471
|
+
}
|
|
472
|
+
var tmp1_elvis_lhs = tmp;
|
|
473
|
+
return tmp1_elvis_lhs == null ? new Missing_0('npm was not found in PATH. Install Node.js 22+.') : tmp1_elvis_lhs;
|
|
474
|
+
}
|
|
475
|
+
function globalPrefix($this, $completion) {
|
|
476
|
+
var tmp = new $globalPrefixCOROUTINE$($this, $completion);
|
|
477
|
+
tmp.y8_1 = Unit_instance;
|
|
478
|
+
tmp.z8_1 = null;
|
|
479
|
+
return tmp.e9();
|
|
480
|
+
}
|
|
481
|
+
function executableIn($this, prefix) {
|
|
482
|
+
var tmp;
|
|
483
|
+
if (isWindows($this)) {
|
|
484
|
+
tmp = $this.mbp_1.k4z(prefix, generatorExecutable($this));
|
|
485
|
+
} else {
|
|
486
|
+
tmp = $this.mbp_1.k4z($this.mbp_1.k4z(prefix, 'bin'), generatorExecutable($this));
|
|
487
|
+
}
|
|
488
|
+
return tmp;
|
|
489
|
+
}
|
|
490
|
+
function generatorExecutable($this) {
|
|
491
|
+
return isWindows($this) ? 'dsbuilder-web-generator.cmd' : 'dsbuilder-web-generator';
|
|
492
|
+
}
|
|
493
|
+
function findInPath($this, executable) {
|
|
494
|
+
var tmp0_safe_receiver = $this.nbp_1.xd('PATH');
|
|
495
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : split(tmp0_safe_receiver, [isWindows($this) ? ';' : ':']);
|
|
496
|
+
var tmp;
|
|
497
|
+
if (tmp1_safe_receiver == null) {
|
|
498
|
+
tmp = null;
|
|
499
|
+
} else {
|
|
500
|
+
// Inline function 'kotlin.collections.filter' call
|
|
501
|
+
// Inline function 'kotlin.collections.filterTo' call
|
|
502
|
+
var destination = ArrayList_init_$Create$();
|
|
503
|
+
var _iterator__ex2g4s = tmp1_safe_receiver.l();
|
|
504
|
+
while (_iterator__ex2g4s.m()) {
|
|
505
|
+
var element = _iterator__ex2g4s.n();
|
|
506
|
+
// Inline function 'kotlin.text.isNotBlank' call
|
|
507
|
+
if (!isBlank(element)) {
|
|
508
|
+
destination.j(element);
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
tmp = destination;
|
|
512
|
+
}
|
|
513
|
+
var tmp2_safe_receiver = tmp;
|
|
514
|
+
var tmp_0;
|
|
515
|
+
if (tmp2_safe_receiver == null) {
|
|
516
|
+
tmp_0 = null;
|
|
517
|
+
} else {
|
|
518
|
+
// Inline function 'kotlin.collections.map' call
|
|
519
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
520
|
+
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp2_safe_receiver, 10));
|
|
521
|
+
var _iterator__ex2g4s_0 = tmp2_safe_receiver.l();
|
|
522
|
+
while (_iterator__ex2g4s_0.m()) {
|
|
523
|
+
var item = _iterator__ex2g4s_0.n();
|
|
524
|
+
var tmp$ret$4 = $this.mbp_1.k4z(item, executable);
|
|
525
|
+
destination_0.j(tmp$ret$4);
|
|
526
|
+
}
|
|
527
|
+
tmp_0 = destination_0;
|
|
528
|
+
}
|
|
529
|
+
var tmp3_safe_receiver = tmp_0;
|
|
530
|
+
var tmp_1;
|
|
531
|
+
if (tmp3_safe_receiver == null) {
|
|
532
|
+
tmp_1 = null;
|
|
533
|
+
} else {
|
|
534
|
+
var tmp$ret$8;
|
|
535
|
+
$l$block: {
|
|
536
|
+
// Inline function 'kotlin.collections.firstOrNull' call
|
|
537
|
+
var _iterator__ex2g4s_1 = tmp3_safe_receiver.l();
|
|
538
|
+
while (_iterator__ex2g4s_1.m()) {
|
|
539
|
+
var element_0 = _iterator__ex2g4s_1.n();
|
|
540
|
+
if ($this.mbp_1.v4y(element_0)) {
|
|
541
|
+
tmp$ret$8 = element_0;
|
|
542
|
+
break $l$block;
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
tmp$ret$8 = null;
|
|
546
|
+
}
|
|
547
|
+
tmp_1 = tmp$ret$8;
|
|
548
|
+
}
|
|
549
|
+
return tmp_1;
|
|
550
|
+
}
|
|
551
|
+
function isWindows($this) {
|
|
552
|
+
var workingDirectory = $this.mbp_1.v5n();
|
|
553
|
+
var tmp;
|
|
554
|
+
if (startsWith(workingDirectory, '\\\\')) {
|
|
555
|
+
tmp = true;
|
|
556
|
+
} else {
|
|
557
|
+
var tmp_0;
|
|
558
|
+
if (workingDirectory.length >= 3 && charCodeAt(workingDirectory, 1) === _Char___init__impl__6a9atx(58)) {
|
|
559
|
+
// Inline function 'kotlin.charArrayOf' call
|
|
560
|
+
var tmp$ret$0 = charArrayOf([_Char___init__impl__6a9atx(92), _Char___init__impl__6a9atx(47)]);
|
|
561
|
+
tmp_0 = contains_0(tmp$ret$0, charCodeAt(workingDirectory, 2));
|
|
562
|
+
} else {
|
|
563
|
+
tmp_0 = false;
|
|
564
|
+
}
|
|
565
|
+
tmp = tmp_0;
|
|
566
|
+
}
|
|
567
|
+
return tmp;
|
|
568
|
+
}
|
|
569
|
+
function Companion_0() {
|
|
570
|
+
this.ubq_1 = 'package.json';
|
|
571
|
+
}
|
|
572
|
+
var Companion_instance_0;
|
|
573
|
+
function Companion_getInstance_1() {
|
|
574
|
+
return Companion_instance_0;
|
|
575
|
+
}
|
|
576
|
+
function $locateCOROUTINE$(_this__u8e3s4, override, resultContinuation) {
|
|
577
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
578
|
+
this.dbr_1 = _this__u8e3s4;
|
|
579
|
+
this.ebr_1 = override;
|
|
580
|
+
}
|
|
581
|
+
protoOf($locateCOROUTINE$).e9 = function () {
|
|
582
|
+
var suspendResult = this.y8_1;
|
|
583
|
+
$sm: do
|
|
584
|
+
try {
|
|
585
|
+
var tmp = this.w8_1;
|
|
586
|
+
switch (tmp) {
|
|
587
|
+
case 0:
|
|
588
|
+
this.x8_1 = 2;
|
|
589
|
+
var tmp0_safe_receiver = this.dbr_1.nbp_1.xd('DSBUILDER_WEB_TOOL');
|
|
590
|
+
var tmp_0;
|
|
591
|
+
if (tmp0_safe_receiver == null) {
|
|
592
|
+
tmp_0 = null;
|
|
593
|
+
} else {
|
|
594
|
+
var tmp_1;
|
|
595
|
+
if (!isBlank(tmp0_safe_receiver)) {
|
|
596
|
+
tmp_1 = tmp0_safe_receiver;
|
|
597
|
+
} else {
|
|
598
|
+
tmp_1 = null;
|
|
599
|
+
}
|
|
600
|
+
tmp_0 = tmp_1;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
var configured = tmp_0;
|
|
604
|
+
var tmp1_elvis_lhs = this.ebr_1;
|
|
605
|
+
var directory = tmp1_elvis_lhs == null ? configured : tmp1_elvis_lhs;
|
|
606
|
+
if (!(directory == null)) {
|
|
607
|
+
return locateDirectory(this.dbr_1, directory, !(this.ebr_1 == null) ? '--tool' : 'DSBUILDER_WEB_TOOL');
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
this.w8_1 = 1;
|
|
611
|
+
suspendResult = this.dbr_1.fbr(this);
|
|
612
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
613
|
+
return suspendResult;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
continue $sm;
|
|
617
|
+
case 1:
|
|
618
|
+
var tmp2_safe_receiver = suspendResult;
|
|
619
|
+
var tmp_2;
|
|
620
|
+
if (tmp2_safe_receiver == null) {
|
|
621
|
+
tmp_2 = null;
|
|
622
|
+
} else {
|
|
623
|
+
tmp_2 = new Found(new Global(tmp2_safe_receiver));
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
var tmp3_elvis_lhs = tmp_2;
|
|
627
|
+
return tmp3_elvis_lhs == null ? new Missing_0('The web generator was not found. Install it with `dsbuilder toolchain install web` (requires Node.js 22+ and npm), or set DSBUILDER_WEB_TOOL or pass --tool with the path to js/cli of the DS Builder repository.') : tmp3_elvis_lhs;
|
|
628
|
+
case 2:
|
|
629
|
+
throw this.z8_1;
|
|
630
|
+
}
|
|
631
|
+
} catch ($p) {
|
|
632
|
+
var e = $p;
|
|
633
|
+
if (this.x8_1 === 2) {
|
|
634
|
+
throw e;
|
|
635
|
+
} else {
|
|
636
|
+
this.w8_1 = this.x8_1;
|
|
637
|
+
this.z8_1 = e;
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
while (true);
|
|
641
|
+
};
|
|
642
|
+
function $locateInstalledCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
643
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
644
|
+
this.obr_1 = _this__u8e3s4;
|
|
645
|
+
}
|
|
646
|
+
protoOf($locateInstalledCOROUTINE$).e9 = function () {
|
|
647
|
+
var suspendResult = this.y8_1;
|
|
648
|
+
$sm: do
|
|
649
|
+
try {
|
|
650
|
+
var tmp = this.w8_1;
|
|
651
|
+
switch (tmp) {
|
|
652
|
+
case 0:
|
|
653
|
+
this.x8_1 = 3;
|
|
654
|
+
var tmp0_elvis_lhs = this.obr_1.qbr();
|
|
655
|
+
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? findInPath(this.obr_1, generatorExecutable(this.obr_1)) : tmp0_elvis_lhs;
|
|
656
|
+
if (tmp1_elvis_lhs == null) {
|
|
657
|
+
this.w8_1 = 1;
|
|
658
|
+
suspendResult = globalPrefix(this.obr_1, this);
|
|
659
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
660
|
+
return suspendResult;
|
|
661
|
+
}
|
|
662
|
+
continue $sm;
|
|
663
|
+
} else {
|
|
664
|
+
this.pbr_1 = tmp1_elvis_lhs;
|
|
665
|
+
this.w8_1 = 2;
|
|
666
|
+
continue $sm;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
case 1:
|
|
670
|
+
var tmp2_safe_receiver = suspendResult;
|
|
671
|
+
var tmp_0 = this;
|
|
672
|
+
var tmp_1;
|
|
673
|
+
if (tmp2_safe_receiver == null) {
|
|
674
|
+
tmp_1 = null;
|
|
675
|
+
} else {
|
|
676
|
+
var this_0 = executableIn(this.obr_1, tmp2_safe_receiver);
|
|
677
|
+
var tmp_2;
|
|
678
|
+
if (this.obr_1.mbp_1.v4y(this_0)) {
|
|
679
|
+
tmp_2 = this_0;
|
|
680
|
+
} else {
|
|
681
|
+
tmp_2 = null;
|
|
682
|
+
}
|
|
683
|
+
tmp_1 = tmp_2;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
tmp_0.pbr_1 = tmp_1;
|
|
687
|
+
this.w8_1 = 2;
|
|
688
|
+
continue $sm;
|
|
689
|
+
case 2:
|
|
690
|
+
return this.pbr_1;
|
|
691
|
+
case 3:
|
|
692
|
+
throw this.z8_1;
|
|
693
|
+
}
|
|
694
|
+
} catch ($p) {
|
|
695
|
+
var e = $p;
|
|
696
|
+
if (this.x8_1 === 3) {
|
|
697
|
+
throw e;
|
|
698
|
+
} else {
|
|
699
|
+
this.w8_1 = this.x8_1;
|
|
700
|
+
this.z8_1 = e;
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
while (true);
|
|
704
|
+
};
|
|
705
|
+
function $globalPrefixCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
706
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
707
|
+
this.sbq_1 = _this__u8e3s4;
|
|
708
|
+
}
|
|
709
|
+
protoOf($globalPrefixCOROUTINE$).e9 = function () {
|
|
710
|
+
var suspendResult = this.y8_1;
|
|
711
|
+
$sm: do
|
|
712
|
+
try {
|
|
713
|
+
var tmp = this.w8_1;
|
|
714
|
+
switch (tmp) {
|
|
715
|
+
case 0:
|
|
716
|
+
this.x8_1 = 3;
|
|
717
|
+
var tmp0_elvis_lhs = this.sbq_1.jbq();
|
|
718
|
+
var tmp_0;
|
|
719
|
+
if (tmp0_elvis_lhs == null) {
|
|
720
|
+
return null;
|
|
721
|
+
} else {
|
|
722
|
+
tmp_0 = tmp0_elvis_lhs;
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
var npm = tmp_0;
|
|
726
|
+
this.x8_1 = 2;
|
|
727
|
+
this.w8_1 = 1;
|
|
728
|
+
suspendResult = this.sbq_1.obp_1.j5o(new ProcessRequest(npm, listOf_0(['prefix', '-g']), this.sbq_1.mbp_1.v5n(), VOID, false), this);
|
|
729
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
730
|
+
return suspendResult;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
continue $sm;
|
|
734
|
+
case 1:
|
|
735
|
+
this.tbq_1 = suspendResult;
|
|
736
|
+
this.x8_1 = 3;
|
|
737
|
+
this.w8_1 = 4;
|
|
738
|
+
continue $sm;
|
|
739
|
+
case 2:
|
|
740
|
+
this.x8_1 = 3;
|
|
741
|
+
var tmp_1 = this.z8_1;
|
|
742
|
+
if (tmp_1 instanceof ProcessLaunchException) {
|
|
743
|
+
var _unused_var__etf5q3 = this.z8_1;
|
|
744
|
+
var tmp_2 = this;
|
|
745
|
+
return null;
|
|
746
|
+
} else {
|
|
747
|
+
throw this.z8_1;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
case 3:
|
|
751
|
+
throw this.z8_1;
|
|
752
|
+
case 4:
|
|
753
|
+
this.x8_1 = 3;
|
|
754
|
+
var result = this.tbq_1;
|
|
755
|
+
var this_0 = result.l5o_1;
|
|
756
|
+
var tmp1_safe_receiver = lastOrNull(lineSequence(toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE()))));
|
|
757
|
+
var tmp_3;
|
|
758
|
+
if (tmp1_safe_receiver == null) {
|
|
759
|
+
tmp_3 = null;
|
|
760
|
+
} else {
|
|
761
|
+
tmp_3 = toString(trim(isCharSequence(tmp1_safe_receiver) ? tmp1_safe_receiver : THROW_CCE()));
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
var tmp2_safe_receiver = tmp_3;
|
|
765
|
+
var tmp_4;
|
|
766
|
+
if (tmp2_safe_receiver == null) {
|
|
767
|
+
tmp_4 = null;
|
|
768
|
+
} else {
|
|
769
|
+
var tmp_5;
|
|
770
|
+
var tmp_6;
|
|
771
|
+
if (result.k5o_1 === 0) {
|
|
772
|
+
tmp_6 = charSequenceLength(tmp2_safe_receiver) > 0;
|
|
773
|
+
} else {
|
|
774
|
+
tmp_6 = false;
|
|
775
|
+
}
|
|
776
|
+
if (tmp_6) {
|
|
777
|
+
tmp_5 = tmp2_safe_receiver;
|
|
778
|
+
} else {
|
|
779
|
+
tmp_5 = null;
|
|
780
|
+
}
|
|
781
|
+
tmp_4 = tmp_5;
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
return tmp_4;
|
|
785
|
+
}
|
|
786
|
+
} catch ($p) {
|
|
787
|
+
var e = $p;
|
|
788
|
+
if (this.x8_1 === 3) {
|
|
789
|
+
throw e;
|
|
790
|
+
} else {
|
|
791
|
+
this.w8_1 = this.x8_1;
|
|
792
|
+
this.z8_1 = e;
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
while (true);
|
|
796
|
+
};
|
|
797
|
+
function WebToolLocator(fileSystem, environmentReader, processRunner) {
|
|
798
|
+
this.mbp_1 = fileSystem;
|
|
799
|
+
this.nbp_1 = environmentReader;
|
|
800
|
+
this.obp_1 = processRunner;
|
|
801
|
+
}
|
|
802
|
+
protoOf(WebToolLocator).pbp = function (override, $completion) {
|
|
803
|
+
var tmp = new $locateCOROUTINE$(this, override, $completion);
|
|
804
|
+
tmp.y8_1 = Unit_instance;
|
|
805
|
+
tmp.z8_1 = null;
|
|
806
|
+
return tmp.e9();
|
|
807
|
+
};
|
|
808
|
+
protoOf(WebToolLocator).fbr = function ($completion) {
|
|
809
|
+
var tmp = new $locateInstalledCOROUTINE$(this, $completion);
|
|
810
|
+
tmp.y8_1 = Unit_instance;
|
|
811
|
+
tmp.z8_1 = null;
|
|
812
|
+
return tmp.e9();
|
|
813
|
+
};
|
|
814
|
+
protoOf(WebToolLocator).rbr = function () {
|
|
815
|
+
var tmp0_safe_receiver = this.nbp_1.xd('HOME');
|
|
816
|
+
var tmp;
|
|
817
|
+
if (tmp0_safe_receiver == null) {
|
|
818
|
+
tmp = null;
|
|
819
|
+
} else {
|
|
820
|
+
// Inline function 'kotlin.takeIf' call
|
|
821
|
+
var tmp_0;
|
|
822
|
+
// Inline function 'kotlin.text.isNotBlank' call
|
|
823
|
+
if (!isBlank(tmp0_safe_receiver)) {
|
|
824
|
+
tmp_0 = tmp0_safe_receiver;
|
|
825
|
+
} else {
|
|
826
|
+
tmp_0 = null;
|
|
827
|
+
}
|
|
828
|
+
tmp = tmp_0;
|
|
829
|
+
}
|
|
830
|
+
var tmp1_elvis_lhs = tmp;
|
|
831
|
+
var tmp_1;
|
|
832
|
+
if (tmp1_elvis_lhs == null) {
|
|
833
|
+
var tmp2_safe_receiver = this.nbp_1.xd('USERPROFILE');
|
|
834
|
+
var tmp_2;
|
|
835
|
+
if (tmp2_safe_receiver == null) {
|
|
836
|
+
tmp_2 = null;
|
|
837
|
+
} else {
|
|
838
|
+
// Inline function 'kotlin.takeIf' call
|
|
839
|
+
var tmp_3;
|
|
840
|
+
var tmp_4;
|
|
841
|
+
// Inline function 'kotlin.text.isNotBlank' call
|
|
842
|
+
if (!isBlank(tmp2_safe_receiver)) {
|
|
843
|
+
tmp_4 = isWindows(this);
|
|
844
|
+
} else {
|
|
845
|
+
tmp_4 = false;
|
|
846
|
+
}
|
|
847
|
+
if (tmp_4) {
|
|
848
|
+
tmp_3 = tmp2_safe_receiver;
|
|
849
|
+
} else {
|
|
850
|
+
tmp_3 = null;
|
|
851
|
+
}
|
|
852
|
+
tmp_2 = tmp_3;
|
|
853
|
+
}
|
|
854
|
+
tmp_1 = tmp_2;
|
|
855
|
+
} else {
|
|
856
|
+
tmp_1 = tmp1_elvis_lhs;
|
|
857
|
+
}
|
|
858
|
+
var tmp3_elvis_lhs = tmp_1;
|
|
859
|
+
var tmp_5;
|
|
860
|
+
if (tmp3_elvis_lhs == null) {
|
|
861
|
+
return null;
|
|
862
|
+
} else {
|
|
863
|
+
tmp_5 = tmp3_elvis_lhs;
|
|
864
|
+
}
|
|
865
|
+
var home = tmp_5;
|
|
866
|
+
// Inline function 'kotlin.collections.fold' call
|
|
867
|
+
var accumulator = home;
|
|
868
|
+
var _iterator__ex2g4s = get_MANAGED_WEB_PREFIX().l();
|
|
869
|
+
while (_iterator__ex2g4s.m()) {
|
|
870
|
+
var element = _iterator__ex2g4s.n();
|
|
871
|
+
var parent = accumulator;
|
|
872
|
+
accumulator = this.mbp_1.k4z(parent, element);
|
|
873
|
+
}
|
|
874
|
+
return accumulator;
|
|
875
|
+
};
|
|
876
|
+
protoOf(WebToolLocator).qbr = function () {
|
|
877
|
+
var tmp0_safe_receiver = this.rbr();
|
|
878
|
+
var tmp;
|
|
879
|
+
if (tmp0_safe_receiver == null) {
|
|
880
|
+
tmp = null;
|
|
881
|
+
} else {
|
|
882
|
+
// Inline function 'kotlin.let' call
|
|
883
|
+
tmp = executableIn(this, tmp0_safe_receiver);
|
|
884
|
+
}
|
|
885
|
+
var tmp1_safe_receiver = tmp;
|
|
886
|
+
var tmp_0;
|
|
887
|
+
if (tmp1_safe_receiver == null) {
|
|
888
|
+
tmp_0 = null;
|
|
889
|
+
} else {
|
|
890
|
+
// Inline function 'kotlin.takeIf' call
|
|
891
|
+
var tmp_1;
|
|
892
|
+
if (this.mbp_1.v4y(tmp1_safe_receiver)) {
|
|
893
|
+
tmp_1 = tmp1_safe_receiver;
|
|
894
|
+
} else {
|
|
895
|
+
tmp_1 = null;
|
|
896
|
+
}
|
|
897
|
+
tmp_0 = tmp_1;
|
|
898
|
+
}
|
|
899
|
+
return tmp_0;
|
|
900
|
+
};
|
|
901
|
+
protoOf(WebToolLocator).jbq = function () {
|
|
902
|
+
return findInPath(this, isWindows(this) ? 'npm.cmd' : 'npm');
|
|
903
|
+
};
|
|
904
|
+
protoOf(WebToolLocator).sbr = function () {
|
|
905
|
+
return this.mbp_1.v5n();
|
|
906
|
+
};
|
|
907
|
+
function Directory(path, npm) {
|
|
908
|
+
this.tbp_1 = path;
|
|
909
|
+
this.ubp_1 = npm;
|
|
910
|
+
}
|
|
911
|
+
protoOf(Directory).toString = function () {
|
|
912
|
+
return 'Directory(path=' + this.tbp_1 + ', npm=' + this.ubp_1 + ')';
|
|
913
|
+
};
|
|
914
|
+
protoOf(Directory).hashCode = function () {
|
|
915
|
+
var result = getStringHashCode(this.tbp_1);
|
|
916
|
+
result = imul(result, 31) + getStringHashCode(this.ubp_1) | 0;
|
|
917
|
+
return result;
|
|
918
|
+
};
|
|
919
|
+
protoOf(Directory).equals = function (other) {
|
|
920
|
+
if (this === other)
|
|
921
|
+
return true;
|
|
922
|
+
if (!(other instanceof Directory))
|
|
923
|
+
return false;
|
|
924
|
+
if (!(this.tbp_1 === other.tbp_1))
|
|
925
|
+
return false;
|
|
926
|
+
if (!(this.ubp_1 === other.ubp_1))
|
|
927
|
+
return false;
|
|
928
|
+
return true;
|
|
929
|
+
};
|
|
930
|
+
function Global(executable) {
|
|
931
|
+
this.sbp_1 = executable;
|
|
932
|
+
}
|
|
933
|
+
protoOf(Global).toString = function () {
|
|
934
|
+
return 'Global(executable=' + this.sbp_1 + ')';
|
|
935
|
+
};
|
|
936
|
+
protoOf(Global).hashCode = function () {
|
|
937
|
+
return getStringHashCode(this.sbp_1);
|
|
938
|
+
};
|
|
939
|
+
protoOf(Global).equals = function (other) {
|
|
940
|
+
if (this === other)
|
|
941
|
+
return true;
|
|
942
|
+
if (!(other instanceof Global))
|
|
943
|
+
return false;
|
|
944
|
+
if (!(this.sbp_1 === other.sbp_1))
|
|
945
|
+
return false;
|
|
946
|
+
return true;
|
|
947
|
+
};
|
|
948
|
+
function Found(tool) {
|
|
949
|
+
this.qbp_1 = tool;
|
|
950
|
+
}
|
|
951
|
+
protoOf(Found).toString = function () {
|
|
952
|
+
return 'Found(tool=' + toString(this.qbp_1) + ')';
|
|
953
|
+
};
|
|
954
|
+
protoOf(Found).hashCode = function () {
|
|
955
|
+
return hashCode(this.qbp_1);
|
|
956
|
+
};
|
|
957
|
+
protoOf(Found).equals = function (other) {
|
|
958
|
+
if (this === other)
|
|
959
|
+
return true;
|
|
960
|
+
if (!(other instanceof Found))
|
|
961
|
+
return false;
|
|
962
|
+
if (!equals(this.qbp_1, other.qbp_1))
|
|
963
|
+
return false;
|
|
964
|
+
return true;
|
|
965
|
+
};
|
|
966
|
+
function Missing_0(hint) {
|
|
967
|
+
this.rbp_1 = hint;
|
|
968
|
+
}
|
|
969
|
+
protoOf(Missing_0).toString = function () {
|
|
970
|
+
return 'Missing(hint=' + this.rbp_1 + ')';
|
|
971
|
+
};
|
|
972
|
+
protoOf(Missing_0).hashCode = function () {
|
|
973
|
+
return getStringHashCode(this.rbp_1);
|
|
974
|
+
};
|
|
975
|
+
protoOf(Missing_0).equals = function (other) {
|
|
976
|
+
if (this === other)
|
|
977
|
+
return true;
|
|
978
|
+
if (!(other instanceof Missing_0))
|
|
979
|
+
return false;
|
|
980
|
+
if (!(this.rbp_1 === other.rbp_1))
|
|
981
|
+
return false;
|
|
982
|
+
return true;
|
|
983
|
+
};
|
|
984
|
+
var properties_initialized_WebToolLocator_kt_bazlg4;
|
|
985
|
+
function _init_properties_WebToolLocator_kt__b3z0wa() {
|
|
986
|
+
if (!properties_initialized_WebToolLocator_kt_bazlg4) {
|
|
987
|
+
properties_initialized_WebToolLocator_kt_bazlg4 = true;
|
|
988
|
+
MANAGED_WEB_PREFIX = listOf_0(['.dsbuilder', 'toolchains', 'web']);
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
function Archive(path) {
|
|
992
|
+
this.tbr_1 = path;
|
|
993
|
+
}
|
|
994
|
+
protoOf(Archive).toString = function () {
|
|
995
|
+
return 'Archive(path=' + this.tbr_1 + ')';
|
|
996
|
+
};
|
|
997
|
+
protoOf(Archive).hashCode = function () {
|
|
998
|
+
return getStringHashCode(this.tbr_1);
|
|
999
|
+
};
|
|
1000
|
+
protoOf(Archive).equals = function (other) {
|
|
1001
|
+
if (this === other)
|
|
1002
|
+
return true;
|
|
1003
|
+
if (!(other instanceof Archive))
|
|
1004
|
+
return false;
|
|
1005
|
+
if (!(this.tbr_1 === other.tbr_1))
|
|
1006
|
+
return false;
|
|
1007
|
+
return true;
|
|
1008
|
+
};
|
|
1009
|
+
function Failed_1(result) {
|
|
1010
|
+
this.ubr_1 = result;
|
|
1011
|
+
}
|
|
1012
|
+
protoOf(Failed_1).toString = function () {
|
|
1013
|
+
return 'Failed(result=' + this.ubr_1.toString() + ')';
|
|
1014
|
+
};
|
|
1015
|
+
protoOf(Failed_1).hashCode = function () {
|
|
1016
|
+
return this.ubr_1.hashCode();
|
|
1017
|
+
};
|
|
1018
|
+
protoOf(Failed_1).equals = function (other) {
|
|
1019
|
+
if (this === other)
|
|
1020
|
+
return true;
|
|
1021
|
+
if (!(other instanceof Failed_1))
|
|
1022
|
+
return false;
|
|
1023
|
+
if (!this.ubr_1.equals(other.ubr_1))
|
|
1024
|
+
return false;
|
|
1025
|
+
return true;
|
|
1026
|
+
};
|
|
1027
|
+
function installDirectory($this, npm, prefix, directory, $completion) {
|
|
1028
|
+
var tmp = new $installDirectoryCOROUTINE$($this, npm, prefix, directory, $completion);
|
|
1029
|
+
tmp.y8_1 = Unit_instance;
|
|
1030
|
+
tmp.z8_1 = null;
|
|
1031
|
+
return tmp.e9();
|
|
1032
|
+
}
|
|
1033
|
+
function packDirectory($this, npm, prefix, directory, $completion) {
|
|
1034
|
+
var tmp = new $packDirectoryCOROUTINE$($this, npm, prefix, directory, $completion);
|
|
1035
|
+
tmp.y8_1 = Unit_instance;
|
|
1036
|
+
tmp.z8_1 = null;
|
|
1037
|
+
return tmp.e9();
|
|
1038
|
+
}
|
|
1039
|
+
function installPackage($this, npm, prefix, spec, $completion) {
|
|
1040
|
+
var tmp = new $installPackageCOROUTINE$($this, npm, prefix, spec, $completion);
|
|
1041
|
+
tmp.y8_1 = Unit_instance;
|
|
1042
|
+
tmp.z8_1 = null;
|
|
1043
|
+
return tmp.e9();
|
|
1044
|
+
}
|
|
1045
|
+
function installedGenerator($this, prefix, $completion) {
|
|
1046
|
+
var tmp = new $installedGeneratorCOROUTINE$($this, prefix, $completion);
|
|
1047
|
+
tmp.y8_1 = Unit_instance;
|
|
1048
|
+
tmp.z8_1 = null;
|
|
1049
|
+
return tmp.e9();
|
|
1050
|
+
}
|
|
1051
|
+
function Companion_1() {
|
|
1052
|
+
Companion_instance_1 = this;
|
|
1053
|
+
this.xbt_1 = Regex_init_$Create$('"filename"\\s*:\\s*"([^"]+)"');
|
|
1054
|
+
}
|
|
1055
|
+
var Companion_instance_1;
|
|
1056
|
+
function Companion_getInstance_2() {
|
|
1057
|
+
if (Companion_instance_1 == null)
|
|
1058
|
+
new Companion_1();
|
|
1059
|
+
return Companion_instance_1;
|
|
1060
|
+
}
|
|
1061
|
+
function $installCOROUTINE$(_this__u8e3s4, request, resultContinuation) {
|
|
1062
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
1063
|
+
this.gbu_1 = _this__u8e3s4;
|
|
1064
|
+
this.hbu_1 = request;
|
|
1065
|
+
}
|
|
1066
|
+
protoOf($installCOROUTINE$).e9 = function () {
|
|
1067
|
+
var suspendResult = this.y8_1;
|
|
1068
|
+
$sm: do
|
|
1069
|
+
try {
|
|
1070
|
+
var tmp = this.w8_1;
|
|
1071
|
+
switch (tmp) {
|
|
1072
|
+
case 0:
|
|
1073
|
+
this.x8_1 = 6;
|
|
1074
|
+
var tmp0_elvis_lhs = this.gbu_1.mbu_1.jbq();
|
|
1075
|
+
var tmp_0;
|
|
1076
|
+
if (tmp0_elvis_lhs == null) {
|
|
1077
|
+
return new Failed_0('npm was not found in PATH. Install Node.js 22+. Then run dsbuilder toolchain install web.');
|
|
1078
|
+
} else {
|
|
1079
|
+
tmp_0 = tmp0_elvis_lhs;
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
var npm = tmp_0;
|
|
1083
|
+
var tmp_1 = this;
|
|
1084
|
+
var tmp1_elvis_lhs = this.gbu_1.mbu_1.rbr();
|
|
1085
|
+
var tmp_2;
|
|
1086
|
+
if (tmp1_elvis_lhs == null) {
|
|
1087
|
+
return new Failed_0('Cannot install the toolchain: HOME is not set.');
|
|
1088
|
+
} else {
|
|
1089
|
+
tmp_2 = tmp1_elvis_lhs;
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
tmp_1.kbu_1 = tmp_2;
|
|
1093
|
+
var tmp2_safe_receiver = this.hbu_1.c67_1;
|
|
1094
|
+
var tmp_3;
|
|
1095
|
+
if (tmp2_safe_receiver == null) {
|
|
1096
|
+
tmp_3 = null;
|
|
1097
|
+
} else {
|
|
1098
|
+
tmp_3 = this.gbu_1.nbu_1.e5o(tmp2_safe_receiver);
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
var tmp3_safe_receiver = tmp_3;
|
|
1102
|
+
var tmp_4;
|
|
1103
|
+
if (tmp3_safe_receiver == null) {
|
|
1104
|
+
tmp_4 = null;
|
|
1105
|
+
} else {
|
|
1106
|
+
var tmp_5;
|
|
1107
|
+
if (this.gbu_1.nbu_1.g5o(tmp3_safe_receiver)) {
|
|
1108
|
+
tmp_5 = tmp3_safe_receiver;
|
|
1109
|
+
} else {
|
|
1110
|
+
tmp_5 = null;
|
|
1111
|
+
}
|
|
1112
|
+
tmp_4 = tmp_5;
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
var directory = tmp_4;
|
|
1116
|
+
var tmp4_elvis_lhs = this.hbu_1.c67_1;
|
|
1117
|
+
var tmp_6;
|
|
1118
|
+
if (tmp4_elvis_lhs == null) {
|
|
1119
|
+
var tmp5_elvis_lhs = this.hbu_1.b67_1;
|
|
1120
|
+
tmp_6 = '@sddsjs/design-system-builder-generator@' + (tmp5_elvis_lhs == null ? 'latest' : tmp5_elvis_lhs);
|
|
1121
|
+
} else {
|
|
1122
|
+
tmp_6 = tmp4_elvis_lhs;
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
var spec = tmp_6;
|
|
1126
|
+
if (!(directory == null)) {
|
|
1127
|
+
this.w8_1 = 4;
|
|
1128
|
+
suspendResult = installDirectory(this.gbu_1, npm, this.kbu_1, directory, this);
|
|
1129
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1130
|
+
return suspendResult;
|
|
1131
|
+
}
|
|
1132
|
+
continue $sm;
|
|
1133
|
+
} else {
|
|
1134
|
+
this.w8_1 = 1;
|
|
1135
|
+
suspendResult = installPackage(this.gbu_1, npm, this.kbu_1, spec, this);
|
|
1136
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1137
|
+
return suspendResult;
|
|
1138
|
+
}
|
|
1139
|
+
continue $sm;
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
case 1:
|
|
1143
|
+
var tmp6_elvis_lhs = suspendResult;
|
|
1144
|
+
if (tmp6_elvis_lhs == null) {
|
|
1145
|
+
this.w8_1 = 2;
|
|
1146
|
+
suspendResult = installedGenerator(this.gbu_1, this.kbu_1, this);
|
|
1147
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1148
|
+
return suspendResult;
|
|
1149
|
+
}
|
|
1150
|
+
continue $sm;
|
|
1151
|
+
} else {
|
|
1152
|
+
this.jbu_1 = tmp6_elvis_lhs;
|
|
1153
|
+
this.w8_1 = 3;
|
|
1154
|
+
continue $sm;
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
case 2:
|
|
1158
|
+
this.jbu_1 = suspendResult;
|
|
1159
|
+
this.w8_1 = 3;
|
|
1160
|
+
continue $sm;
|
|
1161
|
+
case 3:
|
|
1162
|
+
this.ibu_1 = this.jbu_1;
|
|
1163
|
+
this.w8_1 = 5;
|
|
1164
|
+
continue $sm;
|
|
1165
|
+
case 4:
|
|
1166
|
+
this.ibu_1 = suspendResult;
|
|
1167
|
+
this.w8_1 = 5;
|
|
1168
|
+
continue $sm;
|
|
1169
|
+
case 5:
|
|
1170
|
+
return this.ibu_1;
|
|
1171
|
+
case 6:
|
|
1172
|
+
throw this.z8_1;
|
|
1173
|
+
}
|
|
1174
|
+
} catch ($p) {
|
|
1175
|
+
var e = $p;
|
|
1176
|
+
if (this.x8_1 === 6) {
|
|
1177
|
+
throw e;
|
|
1178
|
+
} else {
|
|
1179
|
+
this.w8_1 = this.x8_1;
|
|
1180
|
+
this.z8_1 = e;
|
|
1181
|
+
}
|
|
1182
|
+
}
|
|
1183
|
+
while (true);
|
|
1184
|
+
};
|
|
1185
|
+
function $installDirectoryCOROUTINE$(_this__u8e3s4, npm, prefix, directory, resultContinuation) {
|
|
1186
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
1187
|
+
this.dbs_1 = _this__u8e3s4;
|
|
1188
|
+
this.ebs_1 = npm;
|
|
1189
|
+
this.fbs_1 = prefix;
|
|
1190
|
+
this.gbs_1 = directory;
|
|
1191
|
+
}
|
|
1192
|
+
protoOf($installDirectoryCOROUTINE$).e9 = function () {
|
|
1193
|
+
var suspendResult = this.y8_1;
|
|
1194
|
+
$sm: do
|
|
1195
|
+
try {
|
|
1196
|
+
var tmp = this.w8_1;
|
|
1197
|
+
switch (tmp) {
|
|
1198
|
+
case 0:
|
|
1199
|
+
this.x8_1 = 9;
|
|
1200
|
+
this.w8_1 = 1;
|
|
1201
|
+
suspendResult = packDirectory(this.dbs_1, this.ebs_1, this.fbs_1, this.gbs_1, this);
|
|
1202
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1203
|
+
return suspendResult;
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
continue $sm;
|
|
1207
|
+
case 1:
|
|
1208
|
+
this.ibs_1 = suspendResult;
|
|
1209
|
+
var tmp_0 = this.ibs_1;
|
|
1210
|
+
if (tmp_0 instanceof Failed_1) {
|
|
1211
|
+
this.hbs_1 = this.ibs_1.ubr_1;
|
|
1212
|
+
this.w8_1 = 8;
|
|
1213
|
+
continue $sm;
|
|
1214
|
+
} else {
|
|
1215
|
+
var tmp_1 = this.ibs_1;
|
|
1216
|
+
if (tmp_1 instanceof Archive) {
|
|
1217
|
+
this.w8_1 = 2;
|
|
1218
|
+
continue $sm;
|
|
1219
|
+
} else {
|
|
1220
|
+
var tmp_2 = this;
|
|
1221
|
+
noWhenBranchMatchedException();
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
break;
|
|
1226
|
+
case 2:
|
|
1227
|
+
this.x8_1 = 7;
|
|
1228
|
+
this.w8_1 = 3;
|
|
1229
|
+
suspendResult = installPackage(this.dbs_1, this.ebs_1, this.fbs_1, this.ibs_1.tbr_1, this);
|
|
1230
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1231
|
+
return suspendResult;
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
continue $sm;
|
|
1235
|
+
case 3:
|
|
1236
|
+
var tmp0_elvis_lhs = suspendResult;
|
|
1237
|
+
if (tmp0_elvis_lhs == null) {
|
|
1238
|
+
this.w8_1 = 4;
|
|
1239
|
+
suspendResult = installedGenerator(this.dbs_1, this.fbs_1, this);
|
|
1240
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1241
|
+
return suspendResult;
|
|
1242
|
+
}
|
|
1243
|
+
continue $sm;
|
|
1244
|
+
} else {
|
|
1245
|
+
this.kbs_1 = tmp0_elvis_lhs;
|
|
1246
|
+
this.w8_1 = 5;
|
|
1247
|
+
continue $sm;
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
case 4:
|
|
1251
|
+
this.kbs_1 = suspendResult;
|
|
1252
|
+
this.w8_1 = 5;
|
|
1253
|
+
continue $sm;
|
|
1254
|
+
case 5:
|
|
1255
|
+
this.jbs_1 = this.kbs_1;
|
|
1256
|
+
this.x8_1 = 9;
|
|
1257
|
+
this.w8_1 = 6;
|
|
1258
|
+
continue $sm;
|
|
1259
|
+
case 6:
|
|
1260
|
+
var tmp_3 = this.jbs_1;
|
|
1261
|
+
this.x8_1 = 9;
|
|
1262
|
+
this.dbs_1.nbu_1.u4y(this.ibs_1.tbr_1);
|
|
1263
|
+
this.hbs_1 = tmp_3;
|
|
1264
|
+
this.w8_1 = 8;
|
|
1265
|
+
continue $sm;
|
|
1266
|
+
case 7:
|
|
1267
|
+
this.x8_1 = 9;
|
|
1268
|
+
var t = this.z8_1;
|
|
1269
|
+
this.dbs_1.nbu_1.u4y(this.ibs_1.tbr_1);
|
|
1270
|
+
throw t;
|
|
1271
|
+
case 8:
|
|
1272
|
+
return this.hbs_1;
|
|
1273
|
+
case 9:
|
|
1274
|
+
throw this.z8_1;
|
|
1275
|
+
}
|
|
1276
|
+
} catch ($p) {
|
|
1277
|
+
var e = $p;
|
|
1278
|
+
if (this.x8_1 === 9) {
|
|
1279
|
+
throw e;
|
|
1280
|
+
} else {
|
|
1281
|
+
this.w8_1 = this.x8_1;
|
|
1282
|
+
this.z8_1 = e;
|
|
1283
|
+
}
|
|
1284
|
+
}
|
|
1285
|
+
while (true);
|
|
1286
|
+
};
|
|
1287
|
+
function $packDirectoryCOROUTINE$(_this__u8e3s4, npm, prefix, directory, resultContinuation) {
|
|
1288
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
1289
|
+
this.tbs_1 = _this__u8e3s4;
|
|
1290
|
+
this.ubs_1 = npm;
|
|
1291
|
+
this.vbs_1 = prefix;
|
|
1292
|
+
this.wbs_1 = directory;
|
|
1293
|
+
}
|
|
1294
|
+
protoOf($packDirectoryCOROUTINE$).e9 = function () {
|
|
1295
|
+
var suspendResult = this.y8_1;
|
|
1296
|
+
$sm: do
|
|
1297
|
+
try {
|
|
1298
|
+
var tmp = this.w8_1;
|
|
1299
|
+
switch (tmp) {
|
|
1300
|
+
case 0:
|
|
1301
|
+
this.x8_1 = 4;
|
|
1302
|
+
this.tbs_1.nbu_1.w4y(this.vbs_1);
|
|
1303
|
+
this.x8_1 = 2;
|
|
1304
|
+
this.w8_1 = 1;
|
|
1305
|
+
suspendResult = this.tbs_1.lbu_1.j5o(new ProcessRequest(this.ubs_1, listOf_0(['pack', '--json', '--pack-destination', this.vbs_1, this.wbs_1]), this.tbs_1.mbu_1.sbr(), VOID, false), this);
|
|
1306
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1307
|
+
return suspendResult;
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
continue $sm;
|
|
1311
|
+
case 1:
|
|
1312
|
+
this.xbs_1 = suspendResult;
|
|
1313
|
+
this.x8_1 = 4;
|
|
1314
|
+
this.w8_1 = 3;
|
|
1315
|
+
continue $sm;
|
|
1316
|
+
case 2:
|
|
1317
|
+
this.x8_1 = 4;
|
|
1318
|
+
var tmp_0 = this.z8_1;
|
|
1319
|
+
if (tmp_0 instanceof ProcessLaunchException) {
|
|
1320
|
+
var error = this.z8_1;
|
|
1321
|
+
var tmp_1 = this;
|
|
1322
|
+
return new Failed_1(new Failed_0(this.ubs_1 + ' cannot be started: ' + error.message));
|
|
1323
|
+
} else {
|
|
1324
|
+
throw this.z8_1;
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
case 3:
|
|
1328
|
+
this.x8_1 = 4;
|
|
1329
|
+
var result = this.xbs_1;
|
|
1330
|
+
var tmp0_safe_receiver = Companion_getInstance_2().xbt_1.md(result.l5o_1);
|
|
1331
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.le();
|
|
1332
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.p(1);
|
|
1333
|
+
var tmp_2;
|
|
1334
|
+
if (tmp2_safe_receiver == null) {
|
|
1335
|
+
tmp_2 = null;
|
|
1336
|
+
} else {
|
|
1337
|
+
tmp_2 = this.tbs_1.nbu_1.k4z(this.vbs_1, tmp2_safe_receiver);
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
var tmp3_safe_receiver = tmp_2;
|
|
1341
|
+
var tmp_3;
|
|
1342
|
+
if (tmp3_safe_receiver == null) {
|
|
1343
|
+
tmp_3 = null;
|
|
1344
|
+
} else {
|
|
1345
|
+
var tmp_4;
|
|
1346
|
+
if (result.k5o_1 === 0 && this.tbs_1.nbu_1.v4y(tmp3_safe_receiver)) {
|
|
1347
|
+
tmp_4 = tmp3_safe_receiver;
|
|
1348
|
+
} else {
|
|
1349
|
+
tmp_4 = null;
|
|
1350
|
+
}
|
|
1351
|
+
tmp_3 = tmp_4;
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
var archive = tmp_3;
|
|
1355
|
+
var tmp_5;
|
|
1356
|
+
if (archive == null) {
|
|
1357
|
+
tmp_5 = null;
|
|
1358
|
+
} else {
|
|
1359
|
+
tmp_5 = new Archive(archive);
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
var tmp5_elvis_lhs = tmp_5;
|
|
1363
|
+
var tmp_6;
|
|
1364
|
+
if (tmp5_elvis_lhs == null) {
|
|
1365
|
+
var this_0 = result.l5o_1;
|
|
1366
|
+
tmp_6 = new Failed_1(new Failed_0('npm pack ' + this.wbs_1 + ' failed with exit code ' + result.k5o_1 + ': ' + toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE()))));
|
|
1367
|
+
} else {
|
|
1368
|
+
tmp_6 = tmp5_elvis_lhs;
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
return tmp_6;
|
|
1372
|
+
case 4:
|
|
1373
|
+
throw this.z8_1;
|
|
1374
|
+
}
|
|
1375
|
+
} catch ($p) {
|
|
1376
|
+
var e = $p;
|
|
1377
|
+
if (this.x8_1 === 4) {
|
|
1378
|
+
throw e;
|
|
1379
|
+
} else {
|
|
1380
|
+
this.w8_1 = this.x8_1;
|
|
1381
|
+
this.z8_1 = e;
|
|
1382
|
+
}
|
|
1383
|
+
}
|
|
1384
|
+
while (true);
|
|
1385
|
+
};
|
|
1386
|
+
function $installPackageCOROUTINE$(_this__u8e3s4, npm, prefix, spec, resultContinuation) {
|
|
1387
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
1388
|
+
this.gbt_1 = _this__u8e3s4;
|
|
1389
|
+
this.hbt_1 = npm;
|
|
1390
|
+
this.ibt_1 = prefix;
|
|
1391
|
+
this.jbt_1 = spec;
|
|
1392
|
+
}
|
|
1393
|
+
protoOf($installPackageCOROUTINE$).e9 = function () {
|
|
1394
|
+
var suspendResult = this.y8_1;
|
|
1395
|
+
$sm: do
|
|
1396
|
+
try {
|
|
1397
|
+
var tmp = this.w8_1;
|
|
1398
|
+
switch (tmp) {
|
|
1399
|
+
case 0:
|
|
1400
|
+
this.x8_1 = 3;
|
|
1401
|
+
this.x8_1 = 2;
|
|
1402
|
+
this.w8_1 = 1;
|
|
1403
|
+
suspendResult = this.gbt_1.lbu_1.j5o(new ProcessRequest(this.hbt_1, listOf_0(['install', '--global', '--prefix', this.ibt_1, this.jbt_1]), this.gbt_1.mbu_1.sbr()), this);
|
|
1404
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1405
|
+
return suspendResult;
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
continue $sm;
|
|
1409
|
+
case 1:
|
|
1410
|
+
this.kbt_1 = suspendResult;
|
|
1411
|
+
this.x8_1 = 3;
|
|
1412
|
+
this.w8_1 = 4;
|
|
1413
|
+
continue $sm;
|
|
1414
|
+
case 2:
|
|
1415
|
+
this.x8_1 = 3;
|
|
1416
|
+
var tmp_0 = this.z8_1;
|
|
1417
|
+
if (tmp_0 instanceof ProcessLaunchException) {
|
|
1418
|
+
var error = this.z8_1;
|
|
1419
|
+
var tmp_1 = this;
|
|
1420
|
+
return new Failed_0(this.hbt_1 + ' cannot be started: ' + error.message);
|
|
1421
|
+
} else {
|
|
1422
|
+
throw this.z8_1;
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
case 3:
|
|
1426
|
+
throw this.z8_1;
|
|
1427
|
+
case 4:
|
|
1428
|
+
this.x8_1 = 3;
|
|
1429
|
+
var result = this.kbt_1;
|
|
1430
|
+
var this_0 = new Failed_0('npm install --global --prefix ' + this.ibt_1 + ' ' + this.jbt_1 + ' failed with exit code ' + result.k5o_1 + ', ' + 'see the npm output above. Check the network and retry: dsbuilder toolchain install web.');
|
|
1431
|
+
var tmp_2;
|
|
1432
|
+
if (!(result.k5o_1 === 0)) {
|
|
1433
|
+
tmp_2 = this_0;
|
|
1434
|
+
} else {
|
|
1435
|
+
tmp_2 = null;
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1438
|
+
return tmp_2;
|
|
1439
|
+
}
|
|
1440
|
+
} catch ($p) {
|
|
1441
|
+
var e = $p;
|
|
1442
|
+
if (this.x8_1 === 3) {
|
|
1443
|
+
throw e;
|
|
1444
|
+
} else {
|
|
1445
|
+
this.w8_1 = this.x8_1;
|
|
1446
|
+
this.z8_1 = e;
|
|
1447
|
+
}
|
|
1448
|
+
}
|
|
1449
|
+
while (true);
|
|
1450
|
+
};
|
|
1451
|
+
function $installedGeneratorCOROUTINE$(_this__u8e3s4, prefix, resultContinuation) {
|
|
1452
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
1453
|
+
this.tbt_1 = _this__u8e3s4;
|
|
1454
|
+
this.ubt_1 = prefix;
|
|
1455
|
+
}
|
|
1456
|
+
protoOf($installedGeneratorCOROUTINE$).e9 = function () {
|
|
1457
|
+
var suspendResult = this.y8_1;
|
|
1458
|
+
$sm: do
|
|
1459
|
+
try {
|
|
1460
|
+
var tmp = this.w8_1;
|
|
1461
|
+
switch (tmp) {
|
|
1462
|
+
case 0:
|
|
1463
|
+
this.x8_1 = 3;
|
|
1464
|
+
var tmp_0 = this;
|
|
1465
|
+
var tmp0_elvis_lhs = this.tbt_1.mbu_1.qbr();
|
|
1466
|
+
var tmp_1;
|
|
1467
|
+
if (tmp0_elvis_lhs == null) {
|
|
1468
|
+
return new Failed_0('@sddsjs/design-system-builder-generator was installed, but dsbuilder-web-generator was not found in ' + this.ubt_1 + '.');
|
|
1469
|
+
} else {
|
|
1470
|
+
tmp_1 = tmp0_elvis_lhs;
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
tmp_0.wbt_1 = tmp_1;
|
|
1474
|
+
this.x8_1 = 2;
|
|
1475
|
+
this.w8_1 = 1;
|
|
1476
|
+
suspendResult = this.tbt_1.lbu_1.j5o(new ProcessRequest(this.wbt_1, listOf('--version'), this.tbt_1.mbu_1.sbr(), VOID, false), this);
|
|
1477
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1478
|
+
return suspendResult;
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
continue $sm;
|
|
1482
|
+
case 1:
|
|
1483
|
+
var version = suspendResult;
|
|
1484
|
+
var tmp_2 = this;
|
|
1485
|
+
var tmp_3;
|
|
1486
|
+
if (version.k5o_1 === 0) {
|
|
1487
|
+
var this_0 = version.l5o_1;
|
|
1488
|
+
tmp_3 = new Installed(toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE())), this.wbt_1);
|
|
1489
|
+
} else {
|
|
1490
|
+
tmp_3 = new Failed_0(this.wbt_1 + ' --version failed with exit code ' + version.k5o_1 + '.');
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
tmp_2.vbt_1 = tmp_3;
|
|
1494
|
+
this.x8_1 = 3;
|
|
1495
|
+
this.w8_1 = 4;
|
|
1496
|
+
continue $sm;
|
|
1497
|
+
case 2:
|
|
1498
|
+
this.x8_1 = 3;
|
|
1499
|
+
var tmp_4 = this.z8_1;
|
|
1500
|
+
if (tmp_4 instanceof ProcessLaunchException) {
|
|
1501
|
+
var error = this.z8_1;
|
|
1502
|
+
var tmp_5 = this;
|
|
1503
|
+
tmp_5.vbt_1 = new Failed_0(this.wbt_1 + ' cannot be started: ' + error.message);
|
|
1504
|
+
this.w8_1 = 4;
|
|
1505
|
+
continue $sm;
|
|
1506
|
+
} else {
|
|
1507
|
+
throw this.z8_1;
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1510
|
+
case 3:
|
|
1511
|
+
throw this.z8_1;
|
|
1512
|
+
case 4:
|
|
1513
|
+
this.x8_1 = 3;
|
|
1514
|
+
return this.vbt_1;
|
|
1515
|
+
}
|
|
1516
|
+
} catch ($p) {
|
|
1517
|
+
var e = $p;
|
|
1518
|
+
if (this.x8_1 === 3) {
|
|
1519
|
+
throw e;
|
|
1520
|
+
} else {
|
|
1521
|
+
this.w8_1 = this.x8_1;
|
|
1522
|
+
this.z8_1 = e;
|
|
1523
|
+
}
|
|
1524
|
+
}
|
|
1525
|
+
while (true);
|
|
1526
|
+
};
|
|
1527
|
+
function WebToolchainInstaller(processRunner, locator, fileSystem) {
|
|
1528
|
+
Companion_getInstance_2();
|
|
1529
|
+
this.lbu_1 = processRunner;
|
|
1530
|
+
this.mbu_1 = locator;
|
|
1531
|
+
this.nbu_1 = fileSystem;
|
|
1532
|
+
this.obu_1 = _ToolchainId___init__impl__eu7bv9('web');
|
|
1533
|
+
}
|
|
1534
|
+
protoOf(WebToolchainInstaller).t64 = function () {
|
|
1535
|
+
return this.obu_1;
|
|
1536
|
+
};
|
|
1537
|
+
protoOf(WebToolchainInstaller).sbd = function (request, $completion) {
|
|
1538
|
+
var tmp = new $installCOROUTINE$(this, request, $completion);
|
|
1539
|
+
tmp.y8_1 = Unit_instance;
|
|
1540
|
+
tmp.z8_1 = null;
|
|
1541
|
+
return tmp.e9();
|
|
1542
|
+
};
|
|
1543
|
+
//region block: init
|
|
1544
|
+
Companion_instance_0 = new Companion_0();
|
|
1545
|
+
//endregion
|
|
1546
|
+
//region block: exports
|
|
1547
|
+
_.$_$ = _.$_$ || {};
|
|
1548
|
+
_.$_$.a = WebNpmDelegate;
|
|
1549
|
+
_.$_$.b = WebToolchainInstaller;
|
|
1550
|
+
_.$_$.c = webPlatformModule;
|
|
1551
|
+
//endregion
|
|
1552
|
+
return _;
|
|
1553
|
+
}(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./design-system-builder-frontend-core-platform.js'), require('./design-system-builder-frontend-core-process.js'), require('./design-system-builder-frontend-core-domain.js'), require('./projects-core-koin-core.js'), require('./design-system-builder-frontend-core-workspace.js'), require('./design-system-builder-frontend-core-auth.js')));
|
|
1554
|
+
|
|
1555
|
+
//# sourceMappingURL=design-system-builder-frontend-platform-web.js.map
|