@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.
Files changed (63) hide show
  1. package/LICENSE +4 -0
  2. package/README.md +969 -2
  3. package/bin/dsbuilder.js +2 -0
  4. package/dist/kotlin/Kotlin-Immutable-Collections-kotlinx-collections-immutable.js +3170 -0
  5. package/dist/kotlin/Stately-stately-concurrency.js +32 -0
  6. package/dist/kotlin/Stately-stately-concurrent-collections.js +302 -0
  7. package/dist/kotlin/Stately-stately-strict.js +12 -0
  8. package/dist/kotlin/clikt-clikt-mordant.js +304 -0
  9. package/dist/kotlin/clikt-clikt.js +6960 -0
  10. package/dist/kotlin/colormath-root-colormath.js +1653 -0
  11. package/dist/kotlin/design-system-builder-frontend-analytics-metrica.js +1026 -0
  12. package/dist/kotlin/design-system-builder-frontend-cli.js +10690 -0
  13. package/dist/kotlin/design-system-builder-frontend-core-analytics.js +128 -0
  14. package/dist/kotlin/design-system-builder-frontend-core-application.js +3634 -0
  15. package/dist/kotlin/design-system-builder-frontend-core-auth.js +1772 -0
  16. package/dist/kotlin/design-system-builder-frontend-core-domain.js +501 -0
  17. package/dist/kotlin/design-system-builder-frontend-core-network.js +3318 -0
  18. package/dist/kotlin/design-system-builder-frontend-core-platform.js +972 -0
  19. package/dist/kotlin/design-system-builder-frontend-core-process.js +236 -0
  20. package/dist/kotlin/design-system-builder-frontend-core-workspace.js +1058 -0
  21. package/dist/kotlin/design-system-builder-frontend-feature-auth.js +1664 -0
  22. package/dist/kotlin/design-system-builder-frontend-feature-components.js +24819 -0
  23. package/dist/kotlin/design-system-builder-frontend-feature-docs.js +7625 -0
  24. package/dist/kotlin/design-system-builder-frontend-feature-ds.js +2219 -0
  25. package/dist/kotlin/design-system-builder-frontend-feature-init.js +318 -0
  26. package/dist/kotlin/design-system-builder-frontend-feature-projects.js +624 -0
  27. package/dist/kotlin/design-system-builder-frontend-feature-status.js +984 -0
  28. package/dist/kotlin/design-system-builder-frontend-feature-theme.js +10456 -0
  29. package/dist/kotlin/design-system-builder-frontend-feature-toolchain.js +586 -0
  30. package/dist/kotlin/design-system-builder-frontend-mcp-server-core.js +6878 -0
  31. package/dist/kotlin/design-system-builder-frontend-platform-android.js +451 -0
  32. package/dist/kotlin/design-system-builder-frontend-platform-ios.js +1858 -0
  33. package/dist/kotlin/design-system-builder-frontend-platform-web.js +1555 -0
  34. package/dist/kotlin/design-system-builder-frontend-runtime-node.js +1763 -0
  35. package/dist/kotlin/kotlin-kotlin-stdlib.js +17881 -0
  36. package/dist/kotlin/kotlin-logging.js +440 -0
  37. package/dist/kotlin/kotlin-sdk-kotlin-sdk-core.js +20228 -0
  38. package/dist/kotlin/kotlin-sdk-kotlin-sdk-server.js +2771 -0
  39. package/dist/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +8 -0
  40. package/dist/kotlin/kotlinx-atomicfu.js +252 -0
  41. package/dist/kotlin/kotlinx-coroutines-core.js +10822 -0
  42. package/dist/kotlin/kotlinx-io-kotlinx-io-bytestring.js +203 -0
  43. package/dist/kotlin/kotlinx-io-kotlinx-io-core.js +2032 -0
  44. package/dist/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +6171 -0
  45. package/dist/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +5690 -0
  46. package/dist/kotlin/ktor-ktor-client-core.js +8382 -0
  47. package/dist/kotlin/ktor-ktor-events.js +80 -0
  48. package/dist/kotlin/ktor-ktor-http-cio.js +2252 -0
  49. package/dist/kotlin/ktor-ktor-http.js +3320 -0
  50. package/dist/kotlin/ktor-ktor-io.js +3328 -0
  51. package/dist/kotlin/ktor-ktor-serialization.js +8 -0
  52. package/dist/kotlin/ktor-ktor-server-core.js +12 -0
  53. package/dist/kotlin/ktor-ktor-server-sse.js +8 -0
  54. package/dist/kotlin/ktor-ktor-server-websockets.js +8 -0
  55. package/dist/kotlin/ktor-ktor-sse.js +8 -0
  56. package/dist/kotlin/ktor-ktor-utils.js +2524 -0
  57. package/dist/kotlin/ktor-ktor-websocket-serialization.js +8 -0
  58. package/dist/kotlin/ktor-ktor-websockets.js +433 -0
  59. package/dist/kotlin/mordant-mordant-omnibus.js +8 -0
  60. package/dist/kotlin/mordant-mordant.js +12111 -0
  61. package/dist/kotlin/okio-parent-okio.js +2335 -0
  62. package/dist/kotlin/projects-core-koin-core.js +1285 -0
  63. package/package.json +26 -5
@@ -0,0 +1,501 @@
1
+ (function (_, kotlin_kotlin) {
2
+ 'use strict';
3
+ //region block: imports
4
+ var imul = Math.imul;
5
+ var Unit_instance = kotlin_kotlin.$_$.r5;
6
+ var Enum = kotlin_kotlin.$_$.kk;
7
+ var protoOf = kotlin_kotlin.$_$.te;
8
+ var initMetadataForClass = kotlin_kotlin.$_$.qd;
9
+ var VOID = kotlin_kotlin.$_$.c;
10
+ var isBlank = kotlin_kotlin.$_$.gh;
11
+ var toString = kotlin_kotlin.$_$.we;
12
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.v1;
13
+ var toString_0 = kotlin_kotlin.$_$.bm;
14
+ var getStringHashCode = kotlin_kotlin.$_$.od;
15
+ var equals = kotlin_kotlin.$_$.jd;
16
+ var initMetadataForObject = kotlin_kotlin.$_$.wd;
17
+ var hashCode = kotlin_kotlin.$_$.pd;
18
+ var initMetadataForInterface = kotlin_kotlin.$_$.ud;
19
+ var emptyList = kotlin_kotlin.$_$.y7;
20
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.y6;
21
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
22
+ var initMetadataForCompanion = kotlin_kotlin.$_$.rd;
23
+ var enumEntries = kotlin_kotlin.$_$.vb;
24
+ //endregion
25
+ //region block: pre-declaration
26
+ initMetadataForClass(CredentialPolicy, 'CredentialPolicy', VOID, Enum);
27
+ initMetadataForClass(ContextProvenance, 'ContextProvenance', VOID, Enum);
28
+ initMetadataForClass(DesignSystemSelection, 'DesignSystemSelection');
29
+ initMetadataForInterface(FieldChange, 'FieldChange');
30
+ initMetadataForObject(Unchanged, 'Unchanged', VOID, VOID, [FieldChange]);
31
+ initMetadataForClass(Set, 'Set', VOID, VOID, [FieldChange]);
32
+ initMetadataForObject(UserSession, 'UserSession');
33
+ initMetadataForClass(Environment, 'Environment');
34
+ initMetadataForClass(ProjectContext, 'ProjectContext');
35
+ initMetadataForClass(ProjectConfigDraft, 'ProjectConfigDraft');
36
+ initMetadataForCompanion(Companion);
37
+ initMetadataForClass(TargetPlatform, 'TargetPlatform', VOID, Enum);
38
+ //endregion
39
+ var CredentialPolicy_AUTO_instance;
40
+ var CredentialPolicy_USER_SESSION_instance;
41
+ var CredentialPolicy_PAT_ENV_instance;
42
+ var CredentialPolicy_SERVICE_ACCOUNT_OR_USER_SESSION_instance;
43
+ var CredentialPolicy_entriesInitialized;
44
+ function CredentialPolicy_initEntries() {
45
+ if (CredentialPolicy_entriesInitialized)
46
+ return Unit_instance;
47
+ CredentialPolicy_entriesInitialized = true;
48
+ CredentialPolicy_AUTO_instance = new CredentialPolicy('AUTO', 0);
49
+ CredentialPolicy_USER_SESSION_instance = new CredentialPolicy('USER_SESSION', 1);
50
+ CredentialPolicy_PAT_ENV_instance = new CredentialPolicy('PAT_ENV', 2);
51
+ CredentialPolicy_SERVICE_ACCOUNT_OR_USER_SESSION_instance = new CredentialPolicy('SERVICE_ACCOUNT_OR_USER_SESSION', 3);
52
+ }
53
+ function CredentialPolicy(name, ordinal) {
54
+ Enum.call(this, name, ordinal);
55
+ }
56
+ var ContextProvenance_EXPLICIT_LINK_instance;
57
+ var ContextProvenance_LOCAL_CONFIG_instance;
58
+ var ContextProvenance_entriesInitialized;
59
+ function ContextProvenance_initEntries() {
60
+ if (ContextProvenance_entriesInitialized)
61
+ return Unit_instance;
62
+ ContextProvenance_entriesInitialized = true;
63
+ ContextProvenance_EXPLICIT_LINK_instance = new ContextProvenance('EXPLICIT_LINK', 0);
64
+ ContextProvenance_LOCAL_CONFIG_instance = new ContextProvenance('LOCAL_CONFIG', 1);
65
+ }
66
+ function ContextProvenance(name, ordinal) {
67
+ Enum.call(this, name, ordinal);
68
+ }
69
+ function DesignSystemSelection(projectId, designSystemId, version, platform) {
70
+ platform = platform === VOID ? null : platform;
71
+ this.r5o_1 = projectId;
72
+ this.s5o_1 = designSystemId;
73
+ this.t5o_1 = version;
74
+ this.u5o_1 = platform;
75
+ // Inline function 'kotlin.text.isNotBlank' call
76
+ var this_0 = this.t5o_1;
77
+ // Inline function 'kotlin.require' call
78
+ if (!!isBlank(this_0)) {
79
+ var message = 'Version must not be blank.';
80
+ throw IllegalArgumentException_init_$Create$(toString(message));
81
+ }
82
+ }
83
+ protoOf(DesignSystemSelection).toString = function () {
84
+ return 'DesignSystemSelection(projectId=' + ProjectId__toString_impl_30u45p(this.r5o_1) + ', designSystemId=' + DesignSystemId__toString_impl_glkotj(this.s5o_1) + ', version=' + this.t5o_1 + ', platform=' + toString_0(this.u5o_1) + ')';
85
+ };
86
+ protoOf(DesignSystemSelection).hashCode = function () {
87
+ var result = ProjectId__hashCode_impl_iqbsn6(this.r5o_1);
88
+ result = imul(result, 31) + DesignSystemId__hashCode_impl_wodgcq(this.s5o_1) | 0;
89
+ result = imul(result, 31) + getStringHashCode(this.t5o_1) | 0;
90
+ result = imul(result, 31) + (this.u5o_1 == null ? 0 : this.u5o_1.hashCode()) | 0;
91
+ return result;
92
+ };
93
+ protoOf(DesignSystemSelection).equals = function (other) {
94
+ if (this === other)
95
+ return true;
96
+ if (!(other instanceof DesignSystemSelection))
97
+ return false;
98
+ if (!(this.r5o_1 === other.r5o_1))
99
+ return false;
100
+ if (!(this.s5o_1 === other.s5o_1))
101
+ return false;
102
+ if (!(this.t5o_1 === other.t5o_1))
103
+ return false;
104
+ if (!equals(this.u5o_1, other.u5o_1))
105
+ return false;
106
+ return true;
107
+ };
108
+ function CredentialPolicy_AUTO_getInstance() {
109
+ CredentialPolicy_initEntries();
110
+ return CredentialPolicy_AUTO_instance;
111
+ }
112
+ function CredentialPolicy_USER_SESSION_getInstance() {
113
+ CredentialPolicy_initEntries();
114
+ return CredentialPolicy_USER_SESSION_instance;
115
+ }
116
+ function CredentialPolicy_PAT_ENV_getInstance() {
117
+ CredentialPolicy_initEntries();
118
+ return CredentialPolicy_PAT_ENV_instance;
119
+ }
120
+ function CredentialPolicy_SERVICE_ACCOUNT_OR_USER_SESSION_getInstance() {
121
+ CredentialPolicy_initEntries();
122
+ return CredentialPolicy_SERVICE_ACCOUNT_OR_USER_SESSION_instance;
123
+ }
124
+ function ContextProvenance_EXPLICIT_LINK_getInstance() {
125
+ ContextProvenance_initEntries();
126
+ return ContextProvenance_EXPLICIT_LINK_instance;
127
+ }
128
+ function ContextProvenance_LOCAL_CONFIG_getInstance() {
129
+ ContextProvenance_initEntries();
130
+ return ContextProvenance_LOCAL_CONFIG_instance;
131
+ }
132
+ function Unchanged() {
133
+ }
134
+ protoOf(Unchanged).toString = function () {
135
+ return 'Unchanged';
136
+ };
137
+ protoOf(Unchanged).hashCode = function () {
138
+ return 659342543;
139
+ };
140
+ protoOf(Unchanged).equals = function (other) {
141
+ if (this === other)
142
+ return true;
143
+ if (!(other instanceof Unchanged))
144
+ return false;
145
+ return true;
146
+ };
147
+ var Unchanged_instance;
148
+ function Unchanged_getInstance() {
149
+ return Unchanged_instance;
150
+ }
151
+ function Set(value) {
152
+ this.v5o_1 = value;
153
+ }
154
+ protoOf(Set).toString = function () {
155
+ return 'Set(value=' + toString_0(this.v5o_1) + ')';
156
+ };
157
+ protoOf(Set).hashCode = function () {
158
+ return this.v5o_1 == null ? 0 : hashCode(this.v5o_1);
159
+ };
160
+ protoOf(Set).equals = function (other) {
161
+ if (this === other)
162
+ return true;
163
+ if (!(other instanceof Set))
164
+ return false;
165
+ if (!equals(this.v5o_1, other.v5o_1))
166
+ return false;
167
+ return true;
168
+ };
169
+ function FieldChange() {
170
+ }
171
+ function UserSession() {
172
+ }
173
+ protoOf(UserSession).toString = function () {
174
+ return 'UserSession';
175
+ };
176
+ protoOf(UserSession).hashCode = function () {
177
+ return 2095620122;
178
+ };
179
+ protoOf(UserSession).equals = function (other) {
180
+ if (this === other)
181
+ return true;
182
+ if (!(other instanceof UserSession))
183
+ return false;
184
+ return true;
185
+ };
186
+ var UserSession_instance;
187
+ function UserSession_getInstance() {
188
+ return UserSession_instance;
189
+ }
190
+ function Environment(name) {
191
+ this.w5o_1 = name;
192
+ }
193
+ protoOf(Environment).toString = function () {
194
+ return 'Environment(name=' + this.w5o_1 + ')';
195
+ };
196
+ protoOf(Environment).hashCode = function () {
197
+ return getStringHashCode(this.w5o_1);
198
+ };
199
+ protoOf(Environment).equals = function (other) {
200
+ if (this === other)
201
+ return true;
202
+ if (!(other instanceof Environment))
203
+ return false;
204
+ if (!(this.w5o_1 === other.w5o_1))
205
+ return false;
206
+ return true;
207
+ };
208
+ function ProjectContext(projectId, designSystemId, credentialEnvName, configPath, platforms, credentialPolicy, provenance, selectedVersion) {
209
+ platforms = platforms === VOID ? emptyList() : platforms;
210
+ credentialPolicy = credentialPolicy === VOID ? CredentialPolicy_AUTO_getInstance() : credentialPolicy;
211
+ provenance = provenance === VOID ? ContextProvenance_LOCAL_CONFIG_getInstance() : provenance;
212
+ selectedVersion = selectedVersion === VOID ? null : selectedVersion;
213
+ this.x5o_1 = projectId;
214
+ this.y5o_1 = designSystemId;
215
+ this.z5o_1 = credentialEnvName;
216
+ this.a5p_1 = configPath;
217
+ this.b5p_1 = platforms;
218
+ this.c5p_1 = credentialPolicy;
219
+ this.d5p_1 = provenance;
220
+ this.e5p_1 = selectedVersion;
221
+ }
222
+ protoOf(ProjectContext).toString = function () {
223
+ return 'ProjectContext(projectId=' + ProjectId__toString_impl_30u45p(this.x5o_1) + ', designSystemId=' + DesignSystemId__toString_impl_glkotj(this.y5o_1) + ', credentialEnvName=' + CredentialEnvName__toString_impl_prwlz4(this.z5o_1) + ', configPath=' + this.a5p_1 + ', platforms=' + toString(this.b5p_1) + ', credentialPolicy=' + this.c5p_1.toString() + ', provenance=' + this.d5p_1.toString() + ', selectedVersion=' + this.e5p_1 + ')';
224
+ };
225
+ protoOf(ProjectContext).hashCode = function () {
226
+ var result = ProjectId__hashCode_impl_iqbsn6(this.x5o_1);
227
+ result = imul(result, 31) + DesignSystemId__hashCode_impl_wodgcq(this.y5o_1) | 0;
228
+ result = imul(result, 31) + CredentialEnvName__hashCode_impl_40qp69(this.z5o_1) | 0;
229
+ result = imul(result, 31) + getStringHashCode(this.a5p_1) | 0;
230
+ result = imul(result, 31) + hashCode(this.b5p_1) | 0;
231
+ result = imul(result, 31) + this.c5p_1.hashCode() | 0;
232
+ result = imul(result, 31) + this.d5p_1.hashCode() | 0;
233
+ result = imul(result, 31) + (this.e5p_1 == null ? 0 : getStringHashCode(this.e5p_1)) | 0;
234
+ return result;
235
+ };
236
+ protoOf(ProjectContext).equals = function (other) {
237
+ if (this === other)
238
+ return true;
239
+ if (!(other instanceof ProjectContext))
240
+ return false;
241
+ if (!(this.x5o_1 === other.x5o_1))
242
+ return false;
243
+ if (!(this.y5o_1 === other.y5o_1))
244
+ return false;
245
+ if (!(this.z5o_1 === other.z5o_1))
246
+ return false;
247
+ if (!(this.a5p_1 === other.a5p_1))
248
+ return false;
249
+ if (!equals(this.b5p_1, other.b5p_1))
250
+ return false;
251
+ if (!this.c5p_1.equals(other.c5p_1))
252
+ return false;
253
+ if (!this.d5p_1.equals(other.d5p_1))
254
+ return false;
255
+ if (!(this.e5p_1 == other.e5p_1))
256
+ return false;
257
+ return true;
258
+ };
259
+ function _ProjectApiUrl___init__impl__tmjeh7(value) {
260
+ // Inline function 'kotlin.text.isNotBlank' call
261
+ var this_0 = _ProjectApiUrl___get_value__impl__ub99up(value);
262
+ // Inline function 'kotlin.require' call
263
+ if (!!isBlank(this_0)) {
264
+ var message = 'Project API URL must not be blank.';
265
+ throw IllegalArgumentException_init_$Create$(toString(message));
266
+ }
267
+ return value;
268
+ }
269
+ function _ProjectApiUrl___get_value__impl__ub99up($this) {
270
+ return $this;
271
+ }
272
+ function ProjectApiUrl__toString_impl_gcmdir($this) {
273
+ return 'ProjectApiUrl(value=' + $this + ')';
274
+ }
275
+ function ProjectApiUrl__hashCode_impl_5ejja4($this) {
276
+ return getStringHashCode($this);
277
+ }
278
+ function _CredentialEnvName___init__impl__w41seg(value) {
279
+ // Inline function 'kotlin.text.isNotBlank' call
280
+ var this_0 = _CredentialEnvName___get_value__impl__breyj8(value);
281
+ // Inline function 'kotlin.require' call
282
+ if (!!isBlank(this_0)) {
283
+ var message = 'Credential env name must not be blank.';
284
+ throw IllegalArgumentException_init_$Create$(toString(message));
285
+ }
286
+ return value;
287
+ }
288
+ function _CredentialEnvName___get_value__impl__breyj8($this) {
289
+ return $this;
290
+ }
291
+ function CredentialEnvName__toString_impl_prwlz4($this) {
292
+ return 'CredentialEnvName(value=' + $this + ')';
293
+ }
294
+ function CredentialEnvName__hashCode_impl_40qp69($this) {
295
+ return getStringHashCode($this);
296
+ }
297
+ function _ProjectId___init__impl__b1fobp(value) {
298
+ // Inline function 'kotlin.text.isNotBlank' call
299
+ var this_0 = _ProjectId___get_value__impl__lfubnr(value);
300
+ // Inline function 'kotlin.require' call
301
+ if (!!isBlank(this_0)) {
302
+ var message = 'Project id must not be blank.';
303
+ throw IllegalArgumentException_init_$Create$(toString(message));
304
+ }
305
+ return value;
306
+ }
307
+ function _ProjectId___get_value__impl__lfubnr($this) {
308
+ return $this;
309
+ }
310
+ function ProjectId__toString_impl_30u45p($this) {
311
+ return 'ProjectId(value=' + $this + ')';
312
+ }
313
+ function ProjectId__hashCode_impl_iqbsn6($this) {
314
+ return getStringHashCode($this);
315
+ }
316
+ function _DesignSystemId___init__impl__6op7ax(value) {
317
+ // Inline function 'kotlin.text.isNotBlank' call
318
+ var this_0 = _DesignSystemId___get_value__impl__wgtkjx(value);
319
+ // Inline function 'kotlin.require' call
320
+ if (!!isBlank(this_0)) {
321
+ var message = 'Design system id must not be blank.';
322
+ throw IllegalArgumentException_init_$Create$(toString(message));
323
+ }
324
+ return value;
325
+ }
326
+ function _DesignSystemId___get_value__impl__wgtkjx($this) {
327
+ return $this;
328
+ }
329
+ function DesignSystemId__toString_impl_glkotj($this) {
330
+ return 'DesignSystemId(value=' + $this + ')';
331
+ }
332
+ function DesignSystemId__hashCode_impl_wodgcq($this) {
333
+ return getStringHashCode($this);
334
+ }
335
+ function ProjectConfigDraft(projectId, designSystemId, credentialEnvName, platforms, credentialSelection) {
336
+ platforms = platforms === VOID ? emptyList() : platforms;
337
+ credentialSelection = credentialSelection === VOID ? new Environment(_CredentialEnvName___get_value__impl__breyj8(credentialEnvName)) : credentialSelection;
338
+ this.f5p_1 = projectId;
339
+ this.g5p_1 = designSystemId;
340
+ this.h5p_1 = credentialEnvName;
341
+ this.i5p_1 = platforms;
342
+ this.j5p_1 = credentialSelection;
343
+ }
344
+ protoOf(ProjectConfigDraft).toString = function () {
345
+ return 'ProjectConfigDraft(projectId=' + ProjectId__toString_impl_30u45p(this.f5p_1) + ', designSystemId=' + DesignSystemId__toString_impl_glkotj(this.g5p_1) + ', credentialEnvName=' + CredentialEnvName__toString_impl_prwlz4(this.h5p_1) + ', platforms=' + toString(this.i5p_1) + ', credentialSelection=' + toString(this.j5p_1) + ')';
346
+ };
347
+ protoOf(ProjectConfigDraft).hashCode = function () {
348
+ var result = ProjectId__hashCode_impl_iqbsn6(this.f5p_1);
349
+ result = imul(result, 31) + DesignSystemId__hashCode_impl_wodgcq(this.g5p_1) | 0;
350
+ result = imul(result, 31) + CredentialEnvName__hashCode_impl_40qp69(this.h5p_1) | 0;
351
+ result = imul(result, 31) + hashCode(this.i5p_1) | 0;
352
+ result = imul(result, 31) + hashCode(this.j5p_1) | 0;
353
+ return result;
354
+ };
355
+ protoOf(ProjectConfigDraft).equals = function (other) {
356
+ if (this === other)
357
+ return true;
358
+ if (!(other instanceof ProjectConfigDraft))
359
+ return false;
360
+ if (!(this.f5p_1 === other.f5p_1))
361
+ return false;
362
+ if (!(this.g5p_1 === other.g5p_1))
363
+ return false;
364
+ if (!(this.h5p_1 === other.h5p_1))
365
+ return false;
366
+ if (!equals(this.i5p_1, other.i5p_1))
367
+ return false;
368
+ if (!equals(this.j5p_1, other.j5p_1))
369
+ return false;
370
+ return true;
371
+ };
372
+ var TargetPlatform_COMPOSE_instance;
373
+ var TargetPlatform_ANDROID_VIEW_instance;
374
+ var TargetPlatform_SWIFT_UI_instance;
375
+ var TargetPlatform_REACT_instance;
376
+ function Companion() {
377
+ Companion_instance = this;
378
+ var tmp = this;
379
+ // Inline function 'kotlin.collections.map' call
380
+ var this_0 = get_entries();
381
+ // Inline function 'kotlin.collections.mapTo' call
382
+ var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
383
+ var _iterator__ex2g4s = this_0.l();
384
+ while (_iterator__ex2g4s.m()) {
385
+ var item = _iterator__ex2g4s.n();
386
+ var tmp$ret$0 = item.m5p_1;
387
+ destination.j(tmp$ret$0);
388
+ }
389
+ tmp.n5p_1 = destination;
390
+ }
391
+ protoOf(Companion).o5p = function (value) {
392
+ var tmp0 = get_entries();
393
+ var tmp$ret$1;
394
+ $l$block: {
395
+ // Inline function 'kotlin.collections.firstOrNull' call
396
+ var _iterator__ex2g4s = tmp0.l();
397
+ while (_iterator__ex2g4s.m()) {
398
+ var element = _iterator__ex2g4s.n();
399
+ if (element.m5p_1 === value) {
400
+ tmp$ret$1 = element;
401
+ break $l$block;
402
+ }
403
+ }
404
+ tmp$ret$1 = null;
405
+ }
406
+ return tmp$ret$1;
407
+ };
408
+ var Companion_instance;
409
+ function Companion_getInstance() {
410
+ TargetPlatform_initEntries();
411
+ if (Companion_instance == null)
412
+ new Companion();
413
+ return Companion_instance;
414
+ }
415
+ function values() {
416
+ return [TargetPlatform_COMPOSE_getInstance(), TargetPlatform_ANDROID_VIEW_getInstance(), TargetPlatform_SWIFT_UI_getInstance(), TargetPlatform_REACT_getInstance()];
417
+ }
418
+ function get_entries() {
419
+ if ($ENTRIES == null)
420
+ $ENTRIES = enumEntries(values());
421
+ return $ENTRIES;
422
+ }
423
+ var TargetPlatform_entriesInitialized;
424
+ function TargetPlatform_initEntries() {
425
+ if (TargetPlatform_entriesInitialized)
426
+ return Unit_instance;
427
+ TargetPlatform_entriesInitialized = true;
428
+ TargetPlatform_COMPOSE_instance = new TargetPlatform('COMPOSE', 0, 'compose');
429
+ TargetPlatform_ANDROID_VIEW_instance = new TargetPlatform('ANDROID_VIEW', 1, 'android-view');
430
+ TargetPlatform_SWIFT_UI_instance = new TargetPlatform('SWIFT_UI', 2, 'swiftui');
431
+ TargetPlatform_REACT_instance = new TargetPlatform('REACT', 3, 'react');
432
+ Companion_getInstance();
433
+ }
434
+ var $ENTRIES;
435
+ function TargetPlatform(name, ordinal, cliValue) {
436
+ Enum.call(this, name, ordinal);
437
+ this.m5p_1 = cliValue;
438
+ }
439
+ function TargetPlatform_COMPOSE_getInstance() {
440
+ TargetPlatform_initEntries();
441
+ return TargetPlatform_COMPOSE_instance;
442
+ }
443
+ function TargetPlatform_ANDROID_VIEW_getInstance() {
444
+ TargetPlatform_initEntries();
445
+ return TargetPlatform_ANDROID_VIEW_instance;
446
+ }
447
+ function TargetPlatform_SWIFT_UI_getInstance() {
448
+ TargetPlatform_initEntries();
449
+ return TargetPlatform_SWIFT_UI_instance;
450
+ }
451
+ function TargetPlatform_REACT_getInstance() {
452
+ TargetPlatform_initEntries();
453
+ return TargetPlatform_REACT_instance;
454
+ }
455
+ //region block: init
456
+ Unchanged_instance = new Unchanged();
457
+ UserSession_instance = new UserSession();
458
+ //endregion
459
+ //region block: exports
460
+ _.$_$ = _.$_$ || {};
461
+ _.$_$.a = DesignSystemSelection;
462
+ _.$_$.b = Set;
463
+ _.$_$.c = FieldChange;
464
+ _.$_$.d = Environment;
465
+ _.$_$.e = ProjectConfigDraft;
466
+ _.$_$.f = ProjectContext;
467
+ _.$_$.g = get_entries;
468
+ _.$_$.h = TargetPlatform;
469
+ _.$_$.i = ContextProvenance_EXPLICIT_LINK_getInstance;
470
+ _.$_$.j = CredentialPolicy_AUTO_getInstance;
471
+ _.$_$.k = CredentialPolicy_PAT_ENV_getInstance;
472
+ _.$_$.l = CredentialPolicy_SERVICE_ACCOUNT_OR_USER_SESSION_getInstance;
473
+ _.$_$.m = CredentialPolicy_USER_SESSION_getInstance;
474
+ _.$_$.n = TargetPlatform_ANDROID_VIEW_getInstance;
475
+ _.$_$.o = TargetPlatform_COMPOSE_getInstance;
476
+ _.$_$.p = TargetPlatform_REACT_getInstance;
477
+ _.$_$.q = TargetPlatform_SWIFT_UI_getInstance;
478
+ _.$_$.r = _CredentialEnvName___init__impl__w41seg;
479
+ _.$_$.s = CredentialEnvName__hashCode_impl_40qp69;
480
+ _.$_$.t = CredentialEnvName__toString_impl_prwlz4;
481
+ _.$_$.u = _CredentialEnvName___get_value__impl__breyj8;
482
+ _.$_$.v = _DesignSystemId___init__impl__6op7ax;
483
+ _.$_$.w = DesignSystemId__hashCode_impl_wodgcq;
484
+ _.$_$.x = DesignSystemId__toString_impl_glkotj;
485
+ _.$_$.y = _DesignSystemId___get_value__impl__wgtkjx;
486
+ _.$_$.z = _ProjectApiUrl___init__impl__tmjeh7;
487
+ _.$_$.a1 = ProjectApiUrl__hashCode_impl_5ejja4;
488
+ _.$_$.b1 = ProjectApiUrl__toString_impl_gcmdir;
489
+ _.$_$.c1 = _ProjectApiUrl___get_value__impl__ub99up;
490
+ _.$_$.d1 = _ProjectId___init__impl__b1fobp;
491
+ _.$_$.e1 = ProjectId__hashCode_impl_iqbsn6;
492
+ _.$_$.f1 = ProjectId__toString_impl_30u45p;
493
+ _.$_$.g1 = _ProjectId___get_value__impl__lfubnr;
494
+ _.$_$.h1 = Unchanged_instance;
495
+ _.$_$.i1 = UserSession_instance;
496
+ _.$_$.j1 = Companion_getInstance;
497
+ //endregion
498
+ return _;
499
+ }(module.exports, require('./kotlin-kotlin-stdlib.js')));
500
+
501
+ //# sourceMappingURL=design-system-builder-frontend-core-domain.js.map