@zenwave360/dsl 1.10.0-next.11.1 → 1.10.0-next.12.1

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.
@@ -84,18 +84,10 @@ import {
84
84
  trimIndent1qytc1wvt8suh as trimIndent,
85
85
  emptySetcxexqki71qfa as emptySet,
86
86
  joinToStringxqcavsxcmh4q as joinToString_0,
87
- StringBuilder_init_$Create$322n630qt3r8c as StringBuilder_init_$Create$,
88
- isBlank1dvkhjjvox3p0 as isBlank,
89
- listOfNotNull2woi2boe01ub4 as listOfNotNull,
90
- setOf45ia9pnfhe90 as setOf,
91
- isDigit3mimrri4wkzop as isDigit,
92
- equals2v6cggk171b6e as equals_0,
93
- toSet2orjxp16sotqu as toSet,
94
- LinkedHashSet_init_$Create$2lru2gvxodydo as LinkedHashSet_init_$Create$,
95
- listOfNotNull1v4ggfackvuny as listOfNotNull_0,
96
87
  println2shhhgwwt4c61 as println,
97
88
  sorted354mfsiv4s7x5 as sorted,
98
89
  checkCountOverflow1ro2fe1r4xvgf as checkCountOverflow,
90
+ LinkedHashSet_init_$Create$2lru2gvxodydo as LinkedHashSet_init_$Create$,
99
91
  MutableCollection3jqcg879qsnhr as MutableCollection,
100
92
  eachCount1imd75z0wkpbt as eachCount,
101
93
  distinct10qe1scfdvu5k as distinct,
@@ -330,13 +322,10 @@ initMetadataForClass(ZdlParseResult, 'ZdlParseResult');
330
322
  initMetadataForCompanion(Companion_3);
331
323
  initMetadataForClass(ZdlParser$parse$errorListener$1, VOID, VOID, BaseErrorListener);
332
324
  initMetadataForClass(ZdlParser_0, 'ZdlParser', ZdlParser_0);
333
- initMetadataForClass(GenerateMermaidFromZdl, 'GenerateMermaidFromZdl', GenerateMermaidFromZdl);
334
325
  initMetadataForClass(ZdlListenerImpl, 'ZdlListenerImpl', ZdlListenerImpl, ZdlBaseListener);
335
326
  initMetadataForObject(ZdlListenerUtils, 'ZdlListenerUtils');
336
327
  initMetadataForCompanion(Companion_4);
337
328
  initMetadataForClass(ZdlModelValidator, 'ZdlModelValidator', ZdlModelValidator);
338
- initMetadataForCompanion(Companion_5);
339
- initMetadataForClass(ZdlToMermaidClassDiagramTransformer, 'ZdlToMermaidClassDiagramTransformer', ZdlToMermaidClassDiagramTransformer);
340
329
  initMetadataForClass(ZflModel, 'ZflModel', ZflModel, VOID, [KtMutableMap]);
341
330
  initMetadataForClass(ZflParseResult, 'ZflParseResult');
342
331
  initMetadataForClass(ZflParser$parse$1, VOID, VOID, BaseErrorListener);
@@ -13747,7 +13736,7 @@ function collectRecursive($this, current, segments, results) {
13747
13736
  var directResult = evaluatePath($this, current, segments);
13748
13737
  if (!(directResult == null)) {
13749
13738
  if (isInterface(directResult, KtList))
13750
- results.q(directResult);
13739
+ results.p(directResult);
13751
13740
  else {
13752
13741
  results.f(directResult);
13753
13742
  }
@@ -14063,15 +14052,6 @@ protoOf(ZdlParser_0).n45 = function (model) {
14063
14052
  }
14064
14053
  return zdlModel;
14065
14054
  };
14066
- function GenerateMermaidFromZdl(parser, transformer) {
14067
- parser = parser === VOID ? new ZdlParser_0() : parser;
14068
- transformer = transformer === VOID ? new ZdlToMermaidClassDiagramTransformer() : transformer;
14069
- this.z45_1 = parser;
14070
- this.a46_1 = transformer;
14071
- }
14072
- protoOf(GenerateMermaidFromZdl).b46 = function (zdlContent) {
14073
- return this.a46_1.c46(this.z45_1.n45(zdlContent));
14074
- };
14075
14055
  function pluginInstanceCount($this) {
14076
14056
  var tmp = $this.o45_1.u9('pluginsList');
14077
14057
  var tmp0_safe_receiver = (!(tmp == null) ? isInterface(tmp, KtList) : false) ? tmp : null;
@@ -14079,11 +14059,11 @@ function pluginInstanceCount($this) {
14079
14059
  return tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
14080
14060
  }
14081
14061
  function processEntity($this, name, javadoc, tableName) {
14082
- var className = ensureNotNull(ZdlListenerUtils_getInstance().e46(name));
14083
- var instanceName = ensureNotNull(ZdlListenerUtils_getInstance().f46(className));
14084
- var kebab = ensureNotNull(ZdlListenerUtils_getInstance().g46(name));
14062
+ var className = ensureNotNull(ZdlListenerUtils_getInstance().a46(name));
14063
+ var instanceName = ensureNotNull(ZdlListenerUtils_getInstance().b46(className));
14064
+ var kebab = ensureNotNull(ZdlListenerUtils_getInstance().c46(name));
14085
14065
  var tmp = with_0(with_0(buildMap(), 'name', name), 'className', className);
14086
- return with_0(with_0(with_0(with_0(with_0(with_0(with_0(with_0(with_0(tmp, 'tableName', tableName == null ? ZdlListenerUtils_getInstance().h46(name) : tableName), 'instanceName', instanceName), 'classNamePlural', ZdlListenerUtils_getInstance().i46(name)), 'instanceNamePlural', ZdlListenerUtils_getInstance().i46(instanceName)), 'kebabCase', kebab), 'kebabCasePlural', ZdlListenerUtils_getInstance().i46(kebab)), 'javadoc', javadoc), 'options', buildMap()), 'fields', buildMap());
14066
+ return with_0(with_0(with_0(with_0(with_0(with_0(with_0(with_0(with_0(tmp, 'tableName', tableName == null ? ZdlListenerUtils_getInstance().d46(name) : tableName), 'instanceName', instanceName), 'classNamePlural', ZdlListenerUtils_getInstance().e46(name)), 'instanceNamePlural', ZdlListenerUtils_getInstance().e46(instanceName)), 'kebabCase', kebab), 'kebabCasePlural', ZdlListenerUtils_getInstance().e46(kebab)), 'javadoc', javadoc), 'options', buildMap()), 'fields', buildMap());
14087
14067
  }
14088
14068
  function trackComplexValueLocations($this, baseLocationPath, ctx) {
14089
14069
  var tmp0_safe_receiver = ctx.c1u();
@@ -14105,7 +14085,7 @@ function trackComplexValueLocations($this, baseLocationPath, ctx) {
14105
14085
  index = _unary__edvuaz + 1 | 0;
14106
14086
  checkIndexOverflow(_unary__edvuaz);
14107
14087
  $l$block: {
14108
- var tmp0_safe_receiver_1 = ZdlListenerUtils_getInstance().j46(item.s1r());
14088
+ var tmp0_safe_receiver_1 = ZdlListenerUtils_getInstance().f46(item.s1r());
14109
14089
  var tmp1_elvis_lhs = tmp0_safe_receiver_1 == null ? null : toString_0(tmp0_safe_receiver_1);
14110
14090
  var tmp;
14111
14091
  if (tmp1_elvis_lhs == null) {
@@ -14115,7 +14095,7 @@ function trackComplexValueLocations($this, baseLocationPath, ctx) {
14115
14095
  }
14116
14096
  var key = tmp;
14117
14097
  var propertyPath = baseLocationPath + '.value.' + key;
14118
- $this.o45_1.y44(propertyPath, ZdlListenerUtils_getInstance().k46(item));
14098
+ $this.o45_1.y44(propertyPath, ZdlListenerUtils_getInstance().g46(item));
14119
14099
  }
14120
14100
  }
14121
14101
  }
@@ -14133,7 +14113,7 @@ function trackComplexValueLocations($this, baseLocationPath, ctx) {
14133
14113
  var _unary__edvuaz_0 = index_0;
14134
14114
  index_0 = _unary__edvuaz_0 + 1 | 0;
14135
14115
  var elementPath = baseLocationPath + '.value[' + checkIndexOverflow(_unary__edvuaz_0) + ']';
14136
- $this.o45_1.y44(elementPath, ZdlListenerUtils_getInstance().k46(item_0));
14116
+ $this.o45_1.y44(elementPath, ZdlListenerUtils_getInstance().g46(item_0));
14137
14117
  }
14138
14118
  tmp_0 = Unit_instance;
14139
14119
  }
@@ -14152,7 +14132,7 @@ function trackComplexValueLocations($this, baseLocationPath, ctx) {
14152
14132
  index_1 = _unary__edvuaz_1 + 1 | 0;
14153
14133
  checkIndexOverflow(_unary__edvuaz_1);
14154
14134
  $l$block_0: {
14155
- var tmp0_safe_receiver_2 = ZdlListenerUtils_getInstance().j46(item_1.s1r());
14135
+ var tmp0_safe_receiver_2 = ZdlListenerUtils_getInstance().f46(item_1.s1r());
14156
14136
  var tmp1_elvis_lhs_0 = tmp0_safe_receiver_2 == null ? null : toString_0(tmp0_safe_receiver_2);
14157
14137
  var tmp_1;
14158
14138
  if (tmp1_elvis_lhs_0 == null) {
@@ -14162,7 +14142,7 @@ function trackComplexValueLocations($this, baseLocationPath, ctx) {
14162
14142
  }
14163
14143
  var key_0 = tmp_1;
14164
14144
  var propertyPath_0 = baseLocationPath + '.value.' + key_0;
14165
- $this.o45_1.y44(propertyPath_0, ZdlListenerUtils_getInstance().k46(item_1));
14145
+ $this.o45_1.y44(propertyPath_0, ZdlListenerUtils_getInstance().g46(item_1));
14166
14146
  }
14167
14147
  }
14168
14148
  }
@@ -14179,7 +14159,7 @@ function trackComplexValueLocations($this, baseLocationPath, ctx) {
14179
14159
  var _unary__edvuaz_2 = index_2;
14180
14160
  index_2 = _unary__edvuaz_2 + 1 | 0;
14181
14161
  var elementPath_0 = baseLocationPath + '.value[' + checkIndexOverflow(_unary__edvuaz_2) + ']';
14182
- $this.o45_1.y44(elementPath_0, ZdlListenerUtils_getInstance().k46(item_2));
14162
+ $this.o45_1.y44(elementPath_0, ZdlListenerUtils_getInstance().g46(item_2));
14183
14163
  }
14184
14164
  }
14185
14165
  }
@@ -14192,8 +14172,8 @@ function processFieldValidations($this, field_validations) {
14192
14172
  var _iterator__ex2g4s = field_validations.g();
14193
14173
  while (_iterator__ex2g4s.h()) {
14194
14174
  var element = _iterator__ex2g4s.i();
14195
- var name = ensureNotNull(ZdlListenerUtils_getInstance().l46(element.d2i()));
14196
- var value = ZdlListenerUtils_getInstance().m46([ZdlListenerUtils_getInstance().l46(element.e2i()), '']);
14175
+ var name = ensureNotNull(ZdlListenerUtils_getInstance().h46(element.d2i()));
14176
+ var value = ZdlListenerUtils_getInstance().i46([ZdlListenerUtils_getInstance().h46(element.e2i()), '']);
14197
14177
  if ('pattern' === name && !(value == null)) {
14198
14178
  var s = typeof value === 'string' ? value : THROW_CCE();
14199
14179
  value = substring_0(s, 1, s.length - 2 | 0);
@@ -14218,8 +14198,8 @@ function processNestedFieldValidations($this, field_validations) {
14218
14198
  var _iterator__ex2g4s = field_validations.g();
14219
14199
  while (_iterator__ex2g4s.h()) {
14220
14200
  var element = _iterator__ex2g4s.i();
14221
- var name = ensureNotNull(ZdlListenerUtils_getInstance().l46(element.j2j()));
14222
- var value = ZdlListenerUtils_getInstance().m46([ZdlListenerUtils_getInstance().l46(element.k2j()), '']);
14201
+ var name = ensureNotNull(ZdlListenerUtils_getInstance().h46(element.j2j()));
14202
+ var value = ZdlListenerUtils_getInstance().i46([ZdlListenerUtils_getInstance().h46(element.k2j()), '']);
14223
14203
  with_0(validations, name, mapOf([to('name', name), to('value', value)]));
14224
14204
  }
14225
14205
  }
@@ -14249,7 +14229,7 @@ function relationshipValidations($this, relationshipDefinitionContext) {
14249
14229
  else {
14250
14230
  // Inline function 'kotlin.let' call
14251
14231
  var name_0 = 'minlength';
14252
- var value = ZdlListenerUtils_getInstance().l46(tmp1_safe_receiver.e2u());
14232
+ var value = ZdlListenerUtils_getInstance().h46(tmp1_safe_receiver.e2u());
14253
14233
  with_0(validations, name_0, mapOf([to('name', name_0), to('value', value)]));
14254
14234
  }
14255
14235
  var tmp2_safe_receiver = tmp0_safe_receiver.j2t();
@@ -14259,7 +14239,7 @@ function relationshipValidations($this, relationshipDefinitionContext) {
14259
14239
  } else {
14260
14240
  // Inline function 'kotlin.let' call
14261
14241
  var name_1 = 'maxlength';
14262
- var value_0 = ZdlListenerUtils_getInstance().l46(tmp2_safe_receiver.e2u());
14242
+ var value_0 = ZdlListenerUtils_getInstance().h46(tmp2_safe_receiver.e2u());
14263
14243
  tmp = with_0(validations, name_1, mapOf([to('name', name_1), to('value', value_0)]));
14264
14244
  }
14265
14245
  }
@@ -14274,9 +14254,9 @@ function removeJavadoc($this, text) {
14274
14254
  function relationshipDescription($this, ctx) {
14275
14255
  var description = '';
14276
14256
  if (!(ctx == null)) {
14277
- description = description + ZdlListenerUtils_getInstance().l46(ctx.p2r());
14257
+ description = description + ZdlListenerUtils_getInstance().h46(ctx.p2r());
14278
14258
  if (!(ctx.q2r() == null)) {
14279
- description = description + ('{' + ZdlListenerUtils_getInstance().l46(ctx.q2r()) + '}');
14259
+ description = description + ('{' + ZdlListenerUtils_getInstance().h46(ctx.q2r()) + '}');
14280
14260
  }
14281
14261
  }
14282
14262
  return description;
@@ -14290,13 +14270,13 @@ function relationshipOptions($this, options) {
14290
14270
  while (_iterator__ex2g4s.h()) {
14291
14271
  var element = _iterator__ex2g4s.i();
14292
14272
  // Inline function 'kotlin.collections.plusAssign' call
14293
- var pair = to(replace_0(ensureNotNull(ZdlListenerUtils_getInstance().l46(element.v2b())), '@', ''), ZdlListenerUtils_getInstance().n46(element.w2b()));
14273
+ var pair = to(replace_0(ensureNotNull(ZdlListenerUtils_getInstance().h46(element.v2b())), '@', ''), ZdlListenerUtils_getInstance().j46(element.w2b()));
14294
14274
  destination.t1(pair.qb_1, pair.rb_1);
14295
14275
  }
14296
14276
  return destination;
14297
14277
  }
14298
14278
  function getServiceMethodEvents($this, location, ctx) {
14299
- $this.o45_1.y44(location + '.withEvents', ZdlListenerUtils_getInstance().k46(ctx));
14279
+ $this.o45_1.y44(location + '.withEvents', ZdlListenerUtils_getInstance().g46(ctx));
14300
14280
  // Inline function 'kotlin.collections.mutableListOf' call
14301
14281
  var events = ArrayList_init_$Create$();
14302
14282
  var tmp1_safe_receiver = ctx == null ? null : ctx.q31();
@@ -14316,10 +14296,10 @@ function getServiceMethodEvents($this, location, ctx) {
14316
14296
  null;
14317
14297
  else {
14318
14298
  // Inline function 'kotlin.let' call
14319
- var eventName = ensureNotNull(ZdlListenerUtils_getInstance().l46(tmp0_safe_receiver));
14299
+ var eventName = ensureNotNull(ZdlListenerUtils_getInstance().h46(tmp0_safe_receiver));
14320
14300
  events.f(eventName);
14321
- $this.o45_1.y44(location + '.withEvents.' + i, ZdlListenerUtils_getInstance().k46(tmp0_safe_receiver));
14322
- $this.o45_1.y44(location + '.withEvents.' + eventName, ZdlListenerUtils_getInstance().k46(tmp0_safe_receiver));
14301
+ $this.o45_1.y44(location + '.withEvents.' + i, ZdlListenerUtils_getInstance().g46(tmp0_safe_receiver));
14302
+ $this.o45_1.y44(location + '.withEvents.' + eventName, ZdlListenerUtils_getInstance().g46(tmp0_safe_receiver));
14323
14303
  }
14324
14304
  var tmp1_safe_receiver_0 = item.c32();
14325
14305
  if (tmp1_safe_receiver_0 == null)
@@ -14346,8 +14326,8 @@ function getServiceMethodEvents($this, location, ctx) {
14346
14326
  var _unary__edvuaz_0 = index_0;
14347
14327
  index_0 = _unary__edvuaz_0 + 1 | 0;
14348
14328
  var j = checkIndexOverflow(_unary__edvuaz_0);
14349
- $this.o45_1.y44(location + '.withEvents.' + i + '.' + j, ZdlListenerUtils_getInstance().k46(item_1));
14350
- $this.o45_1.y44(location + '.withEvents.' + ZdlListenerUtils_getInstance().l46(item_1), ZdlListenerUtils_getInstance().k46(item_1));
14329
+ $this.o45_1.y44(location + '.withEvents.' + i + '.' + j, ZdlListenerUtils_getInstance().g46(item_1));
14330
+ $this.o45_1.y44(location + '.withEvents.' + ZdlListenerUtils_getInstance().h46(item_1), ZdlListenerUtils_getInstance().g46(item_1));
14351
14331
  }
14352
14332
  }
14353
14333
  }
@@ -14367,7 +14347,7 @@ protoOf(ZdlListenerImpl).u1f = function (ctx) {
14367
14347
  protoOf(ZdlBaseListener).u1f.call(this, ctx);
14368
14348
  };
14369
14349
  protoOf(ZdlListenerImpl).q1f = function (ctx) {
14370
- this.o45_1.b45('javadoc', ZdlListenerUtils_getInstance().o46(ctx));
14350
+ this.o45_1.b45('javadoc', ZdlListenerUtils_getInstance().k46(ctx));
14371
14351
  };
14372
14352
  protoOf(ZdlListenerImpl).w1f = function (ctx) {
14373
14353
  // Inline function 'kotlin.collections.map' call
@@ -14398,72 +14378,72 @@ protoOf(ZdlListenerImpl).w1f = function (ctx) {
14398
14378
  }
14399
14379
  };
14400
14380
  protoOf(ZdlListenerImpl).k1f = function (ctx) {
14401
- var name = ZdlListenerUtils_getInstance().l46(ctx.x1q());
14381
+ var name = ZdlListenerUtils_getInstance().h46(ctx.x1q());
14402
14382
  var tmp = ZdlListenerUtils_getInstance();
14403
14383
  var tmp0_safe_receiver = ctx.w1q();
14404
- var value = tmp.j46(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.s1r());
14384
+ var value = tmp.f46(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.s1r());
14405
14385
  this.o45_1.p44('imports', with_0(with_0(buildMap(), 'key', name), 'value', value));
14406
14386
  };
14407
14387
  protoOf(ZdlListenerImpl).y1g = function (ctx) {
14408
14388
  var name = ctx.h1z().bh();
14409
- var value = ZdlListenerUtils_getInstance().p46(ctx.i1z());
14389
+ var value = ZdlListenerUtils_getInstance().l46(ctx.i1z());
14410
14390
  this.o45_1.n44('config', name, value);
14411
- this.o45_1.y44('config.' + name, ZdlListenerUtils_getInstance().k46(ctx));
14412
- this.o45_1.y44('config.' + name + '.value', ZdlListenerUtils_getInstance().k46(ctx.i1z()));
14391
+ this.o45_1.y44('config.' + name, ZdlListenerUtils_getInstance().g46(ctx));
14392
+ this.o45_1.y44('config.' + name + '.value', ZdlListenerUtils_getInstance().g46(ctx.i1z()));
14413
14393
  };
14414
14394
  protoOf(ZdlListenerImpl).a1h = function (ctx) {
14415
- var keyword = ensureNotNull(ZdlListenerUtils_getInstance().l46(ctx.c1v()));
14416
- var value = ZdlListenerUtils_getInstance().l46(ctx.r1u());
14395
+ var keyword = ensureNotNull(ZdlListenerUtils_getInstance().h46(ctx.c1v()));
14396
+ var value = ZdlListenerUtils_getInstance().h46(ctx.r1u());
14417
14397
  this.o45_1.n44('cliOptions', keyword, value);
14418
14398
  var location = 'cliOptions.' + keyword;
14419
- this.o45_1.y44(location, ZdlListenerUtils_getInstance().k46(ctx));
14399
+ this.o45_1.y44(location, ZdlListenerUtils_getInstance().g46(ctx));
14420
14400
  var tmp0_safe_receiver = ctx.r1u();
14421
14401
  if (tmp0_safe_receiver == null)
14422
14402
  null;
14423
14403
  else {
14424
14404
  // Inline function 'kotlin.let' call
14425
- this.o45_1.y44(location + '.value', ZdlListenerUtils_getInstance().k46(tmp0_safe_receiver));
14405
+ this.o45_1.y44(location + '.value', ZdlListenerUtils_getInstance().g46(tmp0_safe_receiver));
14426
14406
  }
14427
14407
  };
14428
14408
  protoOf(ZdlListenerImpl).g1h = function (ctx) {
14429
- var name = ensureNotNull(ZdlListenerUtils_getInstance().l46(ctx.y20()));
14430
- var type = ZdlListenerUtils_getInstance().l46(ctx.x20());
14431
- var role = !(ctx.a21() == null) ? ZdlListenerUtils_getInstance().l46(ctx.a21()) : type === 'zdl' ? 'client' : 'provider';
14409
+ var name = ensureNotNull(ZdlListenerUtils_getInstance().h46(ctx.y20()));
14410
+ var type = ZdlListenerUtils_getInstance().h46(ctx.x20());
14411
+ var role = !(ctx.a21() == null) ? ZdlListenerUtils_getInstance().h46(ctx.a21()) : type === 'zdl' ? 'client' : 'provider';
14432
14412
  var tmp = ZdlListenerUtils_getInstance();
14433
14413
  var tmp0_safe_receiver = ctx.b21();
14434
- var uri = tmp.j46(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.s1r());
14435
- var jd = ZdlListenerUtils_getInstance().o46(ctx.z20());
14414
+ var uri = tmp.f46(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.s1r());
14415
+ var jd = ZdlListenerUtils_getInstance().k46(ctx.z20());
14436
14416
  var apiModel = with_0(with_0(with_0(with_0(with_0(with_0(with_0(buildMap(), 'name', name), 'type', type), 'role', role), 'uri', uri), 'javadoc', jd), 'options', buildMap()), 'config', buildMap());
14437
14417
  appendTo(apiModel, 'config', 'uri', uri);
14438
14418
  this.p45_1.gb(apiModel);
14439
14419
  this.o45_1.n44('apis', name, apiModel);
14440
14420
  var apiLocation = 'apis.' + name;
14441
14421
  this.r45_1 = apiLocation;
14442
- this.o45_1.y44(apiLocation, ZdlListenerUtils_getInstance().k46(ctx));
14443
- this.o45_1.y44(apiLocation + '.name', ZdlListenerUtils_getInstance().k46(ctx.y20()));
14444
- this.o45_1.y44(apiLocation + '.type', ZdlListenerUtils_getInstance().k46(ctx.x20()));
14422
+ this.o45_1.y44(apiLocation, ZdlListenerUtils_getInstance().g46(ctx));
14423
+ this.o45_1.y44(apiLocation + '.name', ZdlListenerUtils_getInstance().g46(ctx.y20()));
14424
+ this.o45_1.y44(apiLocation + '.type', ZdlListenerUtils_getInstance().g46(ctx.x20()));
14445
14425
  var tmp1_safe_receiver = ctx.a21();
14446
14426
  if (tmp1_safe_receiver == null)
14447
14427
  null;
14448
14428
  else {
14449
14429
  // Inline function 'kotlin.let' call
14450
- this.o45_1.y44(apiLocation + '.role', ZdlListenerUtils_getInstance().k46(tmp1_safe_receiver));
14430
+ this.o45_1.y44(apiLocation + '.role', ZdlListenerUtils_getInstance().g46(tmp1_safe_receiver));
14451
14431
  }
14452
14432
  var tmp2_safe_receiver = ctx.b21();
14453
14433
  if (tmp2_safe_receiver == null)
14454
14434
  null;
14455
14435
  else {
14456
14436
  // Inline function 'kotlin.let' call
14457
- this.o45_1.y44(apiLocation + '.uri', ZdlListenerUtils_getInstance().k46(tmp2_safe_receiver));
14437
+ this.o45_1.y44(apiLocation + '.uri', ZdlListenerUtils_getInstance().g46(tmp2_safe_receiver));
14458
14438
  }
14459
14439
  };
14460
14440
  protoOf(ZdlListenerImpl).u1h = function (ctx) {
14461
14441
  var name = ctx.h1z().bh();
14462
- var value = ZdlListenerUtils_getInstance().p46(ctx.i1z());
14442
+ var value = ZdlListenerUtils_getInstance().l46(ctx.i1z());
14463
14443
  if ('uri' === name && this.p45_1.db().p1('uri') == null) {
14464
14444
  // Inline function 'kotlin.collections.set' call
14465
14445
  this.p45_1.db().t1('uri', value);
14466
- this.o45_1.y44('apis.' + toString_1(this.p45_1.db().p1('name')) + '.uri', ZdlListenerUtils_getInstance().k46(ctx.i1z()));
14446
+ this.o45_1.y44('apis.' + toString_1(this.p45_1.db().p1('name')) + '.uri', ZdlListenerUtils_getInstance().g46(ctx.i1z()));
14467
14447
  }
14468
14448
  appendTo(this.p45_1.db(), 'config', name, value);
14469
14449
  };
@@ -14472,8 +14452,8 @@ protoOf(ZdlListenerImpl).h1h = function (ctx) {
14472
14452
  this.r45_1 = null;
14473
14453
  };
14474
14454
  protoOf(ZdlListenerImpl).a1i = function (ctx) {
14475
- var name = ensureNotNull(ZdlListenerUtils_getInstance().l46(ctx.z24()));
14476
- var jd = ZdlListenerUtils_getInstance().o46(ctx.z20());
14455
+ var name = ensureNotNull(ZdlListenerUtils_getInstance().h46(ctx.z24()));
14456
+ var jd = ZdlListenerUtils_getInstance().k46(ctx.z20());
14477
14457
  var disabled = !(ctx.y24().l25() == null);
14478
14458
  var tmp0_safe_receiver = ctx.a25();
14479
14459
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.g26();
@@ -14483,48 +14463,48 @@ protoOf(ZdlListenerImpl).a1i = function (ctx) {
14483
14463
  this.o45_1.p44('pluginsList', this.p45_1.db());
14484
14464
  var location = 'pluginsList.' + (pluginInstanceCount(this) - 1 | 0);
14485
14465
  this.r45_1 = location;
14486
- this.o45_1.y44(location, ZdlListenerUtils_getInstance().k46(ctx));
14487
- this.o45_1.y44(location + '.name', ZdlListenerUtils_getInstance().k46(ctx.z24()));
14488
- this.o45_1.y44(location + '.javadoc', ZdlListenerUtils_getInstance().k46(ctx.z20()));
14466
+ this.o45_1.y44(location, ZdlListenerUtils_getInstance().g46(ctx));
14467
+ this.o45_1.y44(location + '.name', ZdlListenerUtils_getInstance().g46(ctx.z24()));
14468
+ this.o45_1.y44(location + '.javadoc', ZdlListenerUtils_getInstance().g46(ctx.z20()));
14489
14469
  if (!(ctx.y24().l25() == null)) {
14490
- this.o45_1.y44(location + '.disabled', ZdlListenerUtils_getInstance().k46(ctx.y24()));
14470
+ this.o45_1.y44(location + '.disabled', ZdlListenerUtils_getInstance().g46(ctx.y24()));
14491
14471
  }
14492
14472
  var tmp3_safe_receiver = ctx.a25();
14493
14473
  if (tmp3_safe_receiver == null)
14494
14474
  null;
14495
14475
  else {
14496
14476
  // Inline function 'kotlin.let' call
14497
- this.o45_1.y44(location + '.options', ZdlListenerUtils_getInstance().k46(tmp3_safe_receiver));
14477
+ this.o45_1.y44(location + '.options', ZdlListenerUtils_getInstance().g46(tmp3_safe_receiver));
14498
14478
  var tmp0_safe_receiver_0 = tmp3_safe_receiver.g26();
14499
14479
  var tmp;
14500
14480
  if (tmp0_safe_receiver_0 == null) {
14501
14481
  tmp = null;
14502
14482
  } else {
14503
14483
  // Inline function 'kotlin.let' call
14504
- tmp = this.o45_1.y44(location + '.options.inherit', ZdlListenerUtils_getInstance().k46(tmp0_safe_receiver_0));
14484
+ tmp = this.o45_1.y44(location + '.options.inherit', ZdlListenerUtils_getInstance().g46(tmp0_safe_receiver_0));
14505
14485
  }
14506
14486
  }
14507
14487
  };
14508
14488
  protoOf(ZdlListenerImpl).q1i = function (ctx) {
14509
- var name = ensureNotNull(ZdlListenerUtils_getInstance().l46(ctx.h1z()));
14510
- var value = ZdlListenerUtils_getInstance().p46(ctx.i1z());
14489
+ var name = ensureNotNull(ZdlListenerUtils_getInstance().h46(ctx.h1z()));
14490
+ var value = ZdlListenerUtils_getInstance().l46(ctx.i1z());
14511
14491
  appendTo(this.p45_1.db(), 'config', name, value);
14512
14492
  var location = '' + this.r45_1 + '.config.' + name;
14513
- this.o45_1.y44(location, ZdlListenerUtils_getInstance().k46(ctx));
14514
- this.o45_1.y44(location + '.value', ZdlListenerUtils_getInstance().k46(ctx.i1z()));
14493
+ this.o45_1.y44(location, ZdlListenerUtils_getInstance().g46(ctx));
14494
+ this.o45_1.y44(location + '.value', ZdlListenerUtils_getInstance().g46(ctx.i1z()));
14515
14495
  };
14516
14496
  protoOf(ZdlListenerImpl).s1i = function (ctx) {
14517
- var keyword = ensureNotNull(ZdlListenerUtils_getInstance().l46(ctx.c1v()));
14518
- var value = ZdlListenerUtils_getInstance().l46(ctx.r1u());
14497
+ var keyword = ensureNotNull(ZdlListenerUtils_getInstance().h46(ctx.c1v()));
14498
+ var value = ZdlListenerUtils_getInstance().h46(ctx.r1u());
14519
14499
  appendTo(this.p45_1.db(), 'cliOptions', keyword, value);
14520
14500
  var location = '' + this.r45_1 + '.cliOptions.' + keyword;
14521
- this.o45_1.y44(location, ZdlListenerUtils_getInstance().k46(ctx));
14501
+ this.o45_1.y44(location, ZdlListenerUtils_getInstance().g46(ctx));
14522
14502
  var tmp0_safe_receiver = ctx.r1u();
14523
14503
  if (tmp0_safe_receiver == null)
14524
14504
  null;
14525
14505
  else {
14526
14506
  // Inline function 'kotlin.let' call
14527
- this.o45_1.y44(location + '.value', ZdlListenerUtils_getInstance().k46(tmp0_safe_receiver));
14507
+ this.o45_1.y44(location + '.value', ZdlListenerUtils_getInstance().g46(tmp0_safe_receiver));
14528
14508
  }
14529
14509
  };
14530
14510
  protoOf(ZdlListenerImpl).b1i = function (ctx) {
@@ -14532,8 +14512,8 @@ protoOf(ZdlListenerImpl).b1i = function (ctx) {
14532
14512
  this.r45_1 = null;
14533
14513
  };
14534
14514
  protoOf(ZdlListenerImpl).a1j = function (ctx) {
14535
- var name = ensureNotNull(ZdlListenerUtils_getInstance().l46(ctx.e2a()));
14536
- var value = ZdlListenerUtils_getInstance().q46(ctx.f2a().r1u());
14515
+ var name = ensureNotNull(ZdlListenerUtils_getInstance().h46(ctx.e2a()));
14516
+ var value = ZdlListenerUtils_getInstance().m46(ctx.f2a().r1u());
14537
14517
  var tmp0_safe_receiver = ctx.wm();
14538
14518
  var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.wm();
14539
14519
  var aggregate = (tmp instanceof PoliciesContext ? tmp : THROW_CCE()).z28();
@@ -14543,38 +14523,38 @@ protoOf(ZdlListenerImpl).a1j = function (ctx) {
14543
14523
  protoOf(ZdlListenerImpl).o1j = function (ctx) {
14544
14524
  var entity = ctx.b2d();
14545
14525
  var name = entity.n2d().bh();
14546
- var jd = ZdlListenerUtils_getInstance().o46(ctx.z20());
14547
- var tableName = ZdlListenerUtils_getInstance().l46(entity.o2d());
14526
+ var jd = ZdlListenerUtils_getInstance().k46(ctx.z20());
14527
+ var tableName = ZdlListenerUtils_getInstance().h46(entity.o2d());
14548
14528
  this.p45_1.gb(with_0(processEntity(this, name, jd, tableName), 'type', 'entities'));
14549
14529
  this.o45_1.n44('entities', name, this.p45_1.db());
14550
14530
  this.q45_1 = 'entities';
14551
14531
  var entityLocation = '' + this.q45_1 + '.' + name;
14552
14532
  this.r45_1 = entityLocation;
14553
- this.o45_1.y44(entityLocation, ZdlListenerUtils_getInstance().k46(ctx));
14554
- this.o45_1.y44(entityLocation + '.name', ZdlListenerUtils_getInstance().k46(entity.n2d()));
14555
- this.o45_1.y44(entityLocation + '.tableName', ZdlListenerUtils_getInstance().k46(entity.o2d()));
14556
- this.o45_1.y44(entityLocation + '.body', ZdlListenerUtils_getInstance().k46(ctx.c2d()));
14533
+ this.o45_1.y44(entityLocation, ZdlListenerUtils_getInstance().g46(ctx));
14534
+ this.o45_1.y44(entityLocation + '.name', ZdlListenerUtils_getInstance().g46(entity.n2d()));
14535
+ this.o45_1.y44(entityLocation + '.tableName', ZdlListenerUtils_getInstance().g46(entity.o2d()));
14536
+ this.o45_1.y44(entityLocation + '.body', ZdlListenerUtils_getInstance().g46(ctx.c2d()));
14557
14537
  };
14558
14538
  protoOf(ZdlListenerImpl).p1j = function (ctx) {
14559
14539
  this.p45_1.ib();
14560
14540
  };
14561
14541
  protoOf(ZdlListenerImpl).i1j = function (ctx) {
14562
14542
  var name = replace_0(ctx.v2b().bh(), '@', '');
14563
- var value = ZdlListenerUtils_getInstance().n46(ctx.w2b());
14543
+ var value = ZdlListenerUtils_getInstance().j46(ctx.w2b());
14564
14544
  // Inline function 'kotlin.collections.isNotEmpty' call
14565
14545
  if (!this.p45_1.l()) {
14566
14546
  appendTo(this.p45_1.db(), 'options', name, value);
14567
14547
  appendToList(this.p45_1.db(), 'optionsList', with_0(with_0(buildMap(), 'name', name), 'value', value));
14568
14548
  if (!(this.r45_1 == null)) {
14569
14549
  var optionLocation = '' + this.r45_1 + '.options.' + name;
14570
- this.o45_1.y44(optionLocation, ZdlListenerUtils_getInstance().k46(ctx));
14571
- this.o45_1.y44(optionLocation + '.name', ZdlListenerUtils_getInstance().k46(ctx.v2b()));
14550
+ this.o45_1.y44(optionLocation, ZdlListenerUtils_getInstance().g46(ctx));
14551
+ this.o45_1.y44(optionLocation + '.name', ZdlListenerUtils_getInstance().g46(ctx.v2b()));
14572
14552
  var tmp0_safe_receiver = ctx.w2b();
14573
14553
  if (tmp0_safe_receiver == null)
14574
14554
  null;
14575
14555
  else {
14576
14556
  // Inline function 'kotlin.let' call
14577
- this.o45_1.y44(optionLocation + '.value', ZdlListenerUtils_getInstance().k46(tmp0_safe_receiver));
14557
+ this.o45_1.y44(optionLocation + '.value', ZdlListenerUtils_getInstance().g46(tmp0_safe_receiver));
14578
14558
  var tmp0_safe_receiver_0 = tmp0_safe_receiver.i1z();
14579
14559
  var tmp;
14580
14560
  if (tmp0_safe_receiver_0 == null) {
@@ -14590,7 +14570,7 @@ protoOf(ZdlListenerImpl).i1j = function (ctx) {
14590
14570
  protoOf(ZdlBaseListener).i1j.call(this, ctx);
14591
14571
  };
14592
14572
  protoOf(ZdlListenerImpl).a1k = function (ctx) {
14593
- var name = ensureNotNull(ZdlListenerUtils_getInstance().l46(ctx.h1z()));
14573
+ var name = ensureNotNull(ZdlListenerUtils_getInstance().h46(ctx.h1z()));
14594
14574
  var tmp0_safe_receiver = ctx.n2f();
14595
14575
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w2g();
14596
14576
  var type = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.bh();
@@ -14601,10 +14581,10 @@ protoOf(ZdlListenerImpl).a1k = function (ctx) {
14601
14581
  tmp = null;
14602
14582
  } else {
14603
14583
  // Inline function 'kotlin.let' call
14604
- tmp = ZdlListenerUtils_getInstance().q46(tmp3_safe_receiver.r1u());
14584
+ tmp = ZdlListenerUtils_getInstance().m46(tmp3_safe_receiver.r1u());
14605
14585
  }
14606
14586
  var initialValue = tmp;
14607
- var jd = ZdlListenerUtils_getInstance().o46(ZdlListenerUtils_getInstance().m46([ctx.z20(), ctx.q2f()]));
14587
+ var jd = ZdlListenerUtils_getInstance().k46(ZdlListenerUtils_getInstance().i46([ctx.z20(), ctx.q2f()]));
14608
14588
  var isEnum = false;
14609
14589
  var isEntity = false;
14610
14590
  var isArray = !(ctx.n2f().x2g() == null);
@@ -14619,15 +14599,15 @@ protoOf(ZdlListenerImpl).a1k = function (ctx) {
14619
14599
  var entityLocation = '' + this.q45_1 + '.' + toString_1(entityName) + '.fields.' + name;
14620
14600
  var previousParentLocation = this.r45_1;
14621
14601
  this.r45_1 = entityLocation;
14622
- this.o45_1.y44(entityLocation, ZdlListenerUtils_getInstance().k46(ctx));
14623
- this.o45_1.y44(entityLocation + '.name', ZdlListenerUtils_getInstance().k46(ctx.h1z()));
14624
- this.o45_1.y44(entityLocation + '.type', ZdlListenerUtils_getInstance().k46(ctx.n2f()));
14602
+ this.o45_1.y44(entityLocation, ZdlListenerUtils_getInstance().g46(ctx));
14603
+ this.o45_1.y44(entityLocation + '.name', ZdlListenerUtils_getInstance().g46(ctx.h1z()));
14604
+ this.o45_1.y44(entityLocation + '.type', ZdlListenerUtils_getInstance().g46(ctx.n2f()));
14625
14605
  var _iterator__ex2g4s = ctx.p2f().g();
14626
14606
  while (_iterator__ex2g4s.h()) {
14627
14607
  var fieldValidation = _iterator__ex2g4s.i();
14628
- this.o45_1.y44(entityLocation + '.validations.' + ZdlListenerUtils_getInstance().l46(fieldValidation.d2i()), ZdlListenerUtils_getInstance().k46(fieldValidation));
14608
+ this.o45_1.y44(entityLocation + '.validations.' + ZdlListenerUtils_getInstance().h46(fieldValidation.d2i()), ZdlListenerUtils_getInstance().g46(fieldValidation));
14629
14609
  }
14630
- this.o45_1.y44(entityLocation + '.javadoc', ZdlListenerUtils_getInstance().k46(ZdlListenerUtils_getInstance().m46([ctx.z20(), ctx.q2f()])));
14610
+ this.o45_1.y44(entityLocation + '.javadoc', ZdlListenerUtils_getInstance().g46(ZdlListenerUtils_getInstance().i46([ctx.z20(), ctx.q2f()])));
14631
14611
  this.p45_1.gb(with_0(field, '_previousParentLocation', previousParentLocation));
14632
14612
  };
14633
14613
  protoOf(ZdlListenerImpl).b1k = function (ctx) {
@@ -14646,8 +14626,8 @@ protoOf(ZdlListenerImpl).c1k = function (ctx) {
14646
14626
  var tmp_1 = ArrayList_init_$Create$_1(parentEntityFields.r1()).k(parentEntityFields.j() - 1 | 0);
14647
14627
  var parentField = (!(tmp_1 == null) ? isInterface(tmp_1, KtMutableMap) : false) ? tmp_1 : THROW_CCE();
14648
14628
  var entityName = ensureNotNull(parent.n2f().w2g()).bh();
14649
- var entityJavadoc = ZdlListenerUtils_getInstance().o46(parent.z20());
14650
- var tableName = ZdlListenerUtils_getInstance().l46(parent.o2d());
14629
+ var entityJavadoc = ZdlListenerUtils_getInstance().k46(parent.z20());
14630
+ var tableName = ZdlListenerUtils_getInstance().h46(parent.o2d());
14651
14631
  var validations = processNestedFieldValidations(this, ctx.b2g());
14652
14632
  appendToWithMap(parentField, 'validations', validations);
14653
14633
  this.p45_1.gb(with_0(processEntity(this, entityName, entityJavadoc, tableName), 'type', split(ensureNotNull(this.q45_1), ['.']).k(0)));
@@ -14668,35 +14648,35 @@ protoOf(ZdlListenerImpl).c1k = function (ctx) {
14668
14648
  }
14669
14649
  this.o45_1.n44(ensureNotNull(this.q45_1), entityName, this.p45_1.db());
14670
14650
  var entityLocation = '' + this.q45_1 + '.' + entityName;
14671
- var startLocation = ZdlListenerUtils_getInstance().k46(parent.n2f());
14672
- var endLocation = ZdlListenerUtils_getInstance().k46(ctx);
14651
+ var startLocation = ZdlListenerUtils_getInstance().g46(parent.n2f());
14652
+ var endLocation = ZdlListenerUtils_getInstance().g46(ctx);
14673
14653
  this.o45_1.y44(entityLocation, mergeLocations(this, startLocation, endLocation));
14674
- this.o45_1.y44(entityLocation + '.name', ZdlListenerUtils_getInstance().k46(parent.n2f()));
14675
- this.o45_1.y44(entityLocation + '.tableName', ZdlListenerUtils_getInstance().k46(parent.o2d()));
14676
- this.o45_1.y44(entityLocation + '.body', ZdlListenerUtils_getInstance().k46(ctx));
14654
+ this.o45_1.y44(entityLocation + '.name', ZdlListenerUtils_getInstance().g46(parent.n2f()));
14655
+ this.o45_1.y44(entityLocation + '.tableName', ZdlListenerUtils_getInstance().g46(parent.o2d()));
14656
+ this.o45_1.y44(entityLocation + '.body', ZdlListenerUtils_getInstance().g46(ctx));
14677
14657
  };
14678
14658
  protoOf(ZdlListenerImpl).d1k = function (ctx) {
14679
14659
  this.p45_1.ib();
14680
14660
  };
14681
14661
  protoOf(ZdlListenerImpl).y1k = function (ctx) {
14682
- var name = ensureNotNull(ZdlListenerUtils_getInstance().l46(ctx.p2k()));
14683
- var jd = ZdlListenerUtils_getInstance().o46(ctx.z20());
14684
- this.p45_1.gb(with_0(with_0(with_0(with_0(with_0(buildMap(), 'name', name), 'type', 'enums'), 'className', ZdlListenerUtils_getInstance().e46(name)), 'javadoc', jd), 'comment', jd));
14662
+ var name = ensureNotNull(ZdlListenerUtils_getInstance().h46(ctx.p2k()));
14663
+ var jd = ZdlListenerUtils_getInstance().k46(ctx.z20());
14664
+ this.p45_1.gb(with_0(with_0(with_0(with_0(with_0(buildMap(), 'name', name), 'type', 'enums'), 'className', ZdlListenerUtils_getInstance().a46(name)), 'javadoc', jd), 'comment', jd));
14685
14665
  this.o45_1.n44('enums', name, this.p45_1.db());
14686
14666
  var entityLocation = 'enums.' + name;
14687
14667
  this.r45_1 = entityLocation;
14688
- this.o45_1.y44(entityLocation, ZdlListenerUtils_getInstance().k46(ctx));
14689
- this.o45_1.y44(entityLocation + '.name', ZdlListenerUtils_getInstance().k46(ctx.p2k()));
14690
- this.o45_1.y44(entityLocation + '.body', ZdlListenerUtils_getInstance().k46(ctx.q2k()));
14668
+ this.o45_1.y44(entityLocation, ZdlListenerUtils_getInstance().g46(ctx));
14669
+ this.o45_1.y44(entityLocation + '.name', ZdlListenerUtils_getInstance().g46(ctx.p2k()));
14670
+ this.o45_1.y44(entityLocation + '.body', ZdlListenerUtils_getInstance().g46(ctx.q2k()));
14691
14671
  };
14692
14672
  protoOf(ZdlListenerImpl).z1k = function (ctx) {
14693
14673
  this.p45_1.ib();
14694
14674
  this.r45_1 = null;
14695
14675
  };
14696
14676
  protoOf(ZdlListenerImpl).e1l = function (ctx) {
14697
- var name = ensureNotNull(ZdlListenerUtils_getInstance().l46(ctx.v2l()));
14698
- var jd = ZdlListenerUtils_getInstance().o46(ZdlListenerUtils_getInstance().m46([ctx.z20(), ctx.q2f()]));
14699
- var value = ZdlListenerUtils_getInstance().l46(ctx.w2l());
14677
+ var name = ensureNotNull(ZdlListenerUtils_getInstance().h46(ctx.v2l()));
14678
+ var jd = ZdlListenerUtils_getInstance().k46(ZdlListenerUtils_getInstance().i46([ctx.z20(), ctx.q2f()]));
14679
+ var value = ZdlListenerUtils_getInstance().h46(ctx.w2l());
14700
14680
  if (!(value == null)) {
14701
14681
  with_0(this.p45_1.db(), 'hasValue', true);
14702
14682
  }
@@ -14709,29 +14689,29 @@ protoOf(ZdlListenerImpl).a1m = function (ctx) {
14709
14689
  var relationshipName = removeJavadoc(this, relationshipType + '_' + relationshipDescription(this, ctx.h2q().u2q()) + '_' + relationshipDescription(this, ctx.i2q().u2q()));
14710
14690
  var relationship = with_0(with_0(buildMap(), 'type', relationshipType), 'name', relationshipName);
14711
14691
  var location = 'relationships.' + relationshipName;
14712
- this.o45_1.y44(location, ZdlListenerUtils_getInstance().k46(ctx));
14692
+ this.o45_1.y44(location, ZdlListenerUtils_getInstance().g46(ctx));
14713
14693
  if (!(ctx.h2q().u2q() == null)) {
14714
- var from = ZdlListenerUtils_getInstance().l46(ctx.h2q().u2q().p2r());
14715
- var fromField = ZdlListenerUtils_getInstance().l46(ctx.h2q().u2q().q2r());
14716
- var commentInFrom = ZdlListenerUtils_getInstance().o46(ctx.h2q().z20());
14694
+ var from = ZdlListenerUtils_getInstance().h46(ctx.h2q().u2q().p2r());
14695
+ var fromField = ZdlListenerUtils_getInstance().h46(ctx.h2q().u2q().q2r());
14696
+ var commentInFrom = ZdlListenerUtils_getInstance().k46(ctx.h2q().z20());
14717
14697
  var fromOptions = relationshipOptions(this, ctx.h2q().t2q().k2b());
14718
14698
  var isInjectedFieldInFromRequired = isRequired(this, ctx.h2q().u2q());
14719
- var injectedFieldInFromDescription = ZdlListenerUtils_getInstance().l46(ctx.h2q().u2q().s2r());
14699
+ var injectedFieldInFromDescription = ZdlListenerUtils_getInstance().h46(ctx.h2q().u2q().s2r());
14720
14700
  var relationshipValidations_0 = relationshipValidations(this, ctx.h2q().u2q());
14721
- this.o45_1.y44(location + '.from.entity', ZdlListenerUtils_getInstance().k46(ctx.h2q().u2q().p2r()));
14722
- this.o45_1.y44(location + '.from.field', ZdlListenerUtils_getInstance().k46(ctx.h2q().u2q().q2r()));
14701
+ this.o45_1.y44(location + '.from.entity', ZdlListenerUtils_getInstance().g46(ctx.h2q().u2q().p2r()));
14702
+ this.o45_1.y44(location + '.from.field', ZdlListenerUtils_getInstance().g46(ctx.h2q().u2q().q2r()));
14723
14703
  var tmp0_safe_receiver = ctx.h2q().u2q().r2r();
14724
14704
  if (tmp0_safe_receiver == null)
14725
14705
  null;
14726
14706
  else {
14727
14707
  // Inline function 'kotlin.let' call
14728
- this.o45_1.y44(location + '.from.validations', ZdlListenerUtils_getInstance().k46(tmp0_safe_receiver));
14708
+ this.o45_1.y44(location + '.from.validations', ZdlListenerUtils_getInstance().g46(tmp0_safe_receiver));
14729
14709
  var tmp0_safe_receiver_0 = tmp0_safe_receiver.i2t();
14730
14710
  if (tmp0_safe_receiver_0 == null)
14731
14711
  null;
14732
14712
  else {
14733
14713
  // Inline function 'kotlin.let' call
14734
- this.o45_1.y44(location + '.from.validations.min', ZdlListenerUtils_getInstance().k46(tmp0_safe_receiver_0));
14714
+ this.o45_1.y44(location + '.from.validations.min', ZdlListenerUtils_getInstance().g46(tmp0_safe_receiver_0));
14735
14715
  }
14736
14716
  var tmp1_safe_receiver = tmp0_safe_receiver.j2t();
14737
14717
  var tmp_0;
@@ -14739,33 +14719,33 @@ protoOf(ZdlListenerImpl).a1m = function (ctx) {
14739
14719
  tmp_0 = null;
14740
14720
  } else {
14741
14721
  // Inline function 'kotlin.let' call
14742
- tmp_0 = this.o45_1.y44(location + '.from.validations.max', ZdlListenerUtils_getInstance().k46(tmp1_safe_receiver));
14722
+ tmp_0 = this.o45_1.y44(location + '.from.validations.max', ZdlListenerUtils_getInstance().g46(tmp1_safe_receiver));
14743
14723
  }
14744
14724
  }
14745
14725
  with_0(with_0(with_0(with_0(with_0(with_0(with_0(relationship, 'from', from), 'commentInFrom', commentInFrom), 'injectedFieldInFrom', fromField), 'fromOptions', fromOptions), 'fromValidations', relationshipValidations_0), 'injectedFieldInFromDescription', injectedFieldInFromDescription), 'isInjectedFieldInFromRequired', isInjectedFieldInFromRequired);
14746
14726
  }
14747
14727
  if (!(ctx.i2q() == null) && !(ctx.i2q().u2q() == null)) {
14748
- var to = ZdlListenerUtils_getInstance().l46(ctx.i2q().u2q().p2r());
14749
- var toField = ZdlListenerUtils_getInstance().l46(ctx.i2q().u2q().q2r());
14750
- var commentInTo = ZdlListenerUtils_getInstance().o46(ctx.i2q().z20());
14728
+ var to = ZdlListenerUtils_getInstance().h46(ctx.i2q().u2q().p2r());
14729
+ var toField = ZdlListenerUtils_getInstance().h46(ctx.i2q().u2q().q2r());
14730
+ var commentInTo = ZdlListenerUtils_getInstance().k46(ctx.i2q().z20());
14751
14731
  var toOptions = relationshipOptions(this, ctx.i2q().t2q().k2b());
14752
14732
  var isInjectedFieldInToRequired = isRequired(this, ctx.i2q().u2q());
14753
- var injectedFieldInToDescription = ZdlListenerUtils_getInstance().l46(ctx.i2q().u2q().s2r());
14733
+ var injectedFieldInToDescription = ZdlListenerUtils_getInstance().h46(ctx.i2q().u2q().s2r());
14754
14734
  var relationshipValidations_1 = relationshipValidations(this, ctx.i2q().u2q());
14755
- this.o45_1.y44(location + '.to.entity', ZdlListenerUtils_getInstance().k46(ctx.i2q().u2q().p2r()));
14756
- this.o45_1.y44(location + '.to.field', ZdlListenerUtils_getInstance().k46(ctx.i2q().u2q().q2r()));
14735
+ this.o45_1.y44(location + '.to.entity', ZdlListenerUtils_getInstance().g46(ctx.i2q().u2q().p2r()));
14736
+ this.o45_1.y44(location + '.to.field', ZdlListenerUtils_getInstance().g46(ctx.i2q().u2q().q2r()));
14757
14737
  var tmp1_safe_receiver_0 = ctx.i2q().u2q().r2r();
14758
14738
  if (tmp1_safe_receiver_0 == null)
14759
14739
  null;
14760
14740
  else {
14761
14741
  // Inline function 'kotlin.let' call
14762
- this.o45_1.y44(location + '.to.validations', ZdlListenerUtils_getInstance().k46(tmp1_safe_receiver_0));
14742
+ this.o45_1.y44(location + '.to.validations', ZdlListenerUtils_getInstance().g46(tmp1_safe_receiver_0));
14763
14743
  var tmp0_safe_receiver_1 = tmp1_safe_receiver_0.i2t();
14764
14744
  if (tmp0_safe_receiver_1 == null)
14765
14745
  null;
14766
14746
  else {
14767
14747
  // Inline function 'kotlin.let' call
14768
- this.o45_1.y44(location + '.to.validations.min', ZdlListenerUtils_getInstance().k46(tmp0_safe_receiver_1));
14748
+ this.o45_1.y44(location + '.to.validations.min', ZdlListenerUtils_getInstance().g46(tmp0_safe_receiver_1));
14769
14749
  }
14770
14750
  var tmp1_safe_receiver_1 = tmp1_safe_receiver_0.j2t();
14771
14751
  var tmp_1;
@@ -14773,7 +14753,7 @@ protoOf(ZdlListenerImpl).a1m = function (ctx) {
14773
14753
  tmp_1 = null;
14774
14754
  } else {
14775
14755
  // Inline function 'kotlin.let' call
14776
- tmp_1 = this.o45_1.y44(location + '.to.validations.max', ZdlListenerUtils_getInstance().k46(tmp1_safe_receiver_1));
14756
+ tmp_1 = this.o45_1.y44(location + '.to.validations.max', ZdlListenerUtils_getInstance().g46(tmp1_safe_receiver_1));
14777
14757
  }
14778
14758
  }
14779
14759
  with_0(with_0(with_0(with_0(with_0(with_0(with_0(relationship, 'to', to), 'commentInTo', commentInTo), 'injectedFieldInTo', toField), 'toOptions', toOptions), 'toValidations', relationshipValidations_1), 'injectedFieldInToDescription', injectedFieldInToDescription), 'isInjectedFieldInToRequired', isInjectedFieldInToRequired);
@@ -14783,25 +14763,25 @@ protoOf(ZdlListenerImpl).a1m = function (ctx) {
14783
14763
  protoOf(ZdlListenerImpl).k1o = function (ctx) {
14784
14764
  var serviceName = ctx.w2g().bh();
14785
14765
  var serviceJavadoc = 'Legacy service';
14786
- var serviceAggregates = ZdlListenerUtils_getInstance().r46(ctx.y2x(), ',');
14787
- this.p45_1.gb(with_0(with_0(with_0(with_0(with_0(with_0(with_0(buildMap(), 'name', serviceName), 'isLegacy', true), 'className', ZdlListenerUtils_getInstance().e46(ensureNotNull(serviceName))), 'javadoc', serviceJavadoc), 'aggregates', serviceAggregates), 'options', mapOf_0(to('rest', true))), 'methods', ZdlListenerUtils_getInstance().s46(serviceName, ensureNotNull(serviceAggregates))));
14766
+ var serviceAggregates = ZdlListenerUtils_getInstance().n46(ctx.y2x(), ',');
14767
+ this.p45_1.gb(with_0(with_0(with_0(with_0(with_0(with_0(with_0(buildMap(), 'name', serviceName), 'isLegacy', true), 'className', ZdlListenerUtils_getInstance().a46(ensureNotNull(serviceName))), 'javadoc', serviceJavadoc), 'aggregates', serviceAggregates), 'options', mapOf_0(to('rest', true))), 'methods', ZdlListenerUtils_getInstance().o46(serviceName, ensureNotNull(serviceAggregates))));
14788
14768
  this.o45_1.n44('services', serviceName, this.p45_1.db());
14789
14769
  };
14790
14770
  protoOf(ZdlListenerImpl).l1o = function (ctx) {
14791
14771
  this.p45_1.ib();
14792
14772
  };
14793
14773
  protoOf(ZdlListenerImpl).y1m = function (ctx) {
14794
- var aggregateName = ZdlListenerUtils_getInstance().l46(ctx.j2v());
14795
- var jd = ZdlListenerUtils_getInstance().o46(ctx.z20());
14796
- var aggregateRoot = ZdlListenerUtils_getInstance().l46(ctx.k2v());
14797
- this.p45_1.gb(with_0(with_0(with_0(with_0(with_0(with_0(buildMap(), 'name', aggregateName), 'type', 'aggregates'), 'className', ZdlListenerUtils_getInstance().e46(ensureNotNull(aggregateName))), 'javadoc', jd), 'aggregateRoot', aggregateRoot), 'commands', buildMap()));
14774
+ var aggregateName = ZdlListenerUtils_getInstance().h46(ctx.j2v());
14775
+ var jd = ZdlListenerUtils_getInstance().k46(ctx.z20());
14776
+ var aggregateRoot = ZdlListenerUtils_getInstance().h46(ctx.k2v());
14777
+ this.p45_1.gb(with_0(with_0(with_0(with_0(with_0(with_0(buildMap(), 'name', aggregateName), 'type', 'aggregates'), 'className', ZdlListenerUtils_getInstance().a46(ensureNotNull(aggregateName))), 'javadoc', jd), 'aggregateRoot', aggregateRoot), 'commands', buildMap()));
14798
14778
  this.o45_1.n44('aggregates', aggregateName, this.p45_1.db());
14799
14779
  var name = this.p45_1.db().p1('name');
14800
14780
  var location = 'aggregates.' + toString_1(name);
14801
14781
  this.r45_1 = location;
14802
- this.o45_1.y44(location, ZdlListenerUtils_getInstance().k46(ctx));
14803
- this.o45_1.y44(location + '.name', ZdlListenerUtils_getInstance().k46(ctx.j2v()));
14804
- this.o45_1.y44(location + '.aggregateRoot', ZdlListenerUtils_getInstance().k46(ctx.k2v()));
14782
+ this.o45_1.y44(location, ZdlListenerUtils_getInstance().g46(ctx));
14783
+ this.o45_1.y44(location + '.name', ZdlListenerUtils_getInstance().g46(ctx.j2v()));
14784
+ this.o45_1.y44(location + '.aggregateRoot', ZdlListenerUtils_getInstance().g46(ctx.k2v()));
14805
14785
  };
14806
14786
  protoOf(ZdlListenerImpl).z1m = function (ctx) {
14807
14787
  this.p45_1.ib();
@@ -14810,8 +14790,8 @@ protoOf(ZdlListenerImpl).z1m = function (ctx) {
14810
14790
  protoOf(ZdlListenerImpl).e1n = function (ctx) {
14811
14791
  var tmp = ZdlListenerUtils_getInstance();
14812
14792
  var tmp_0 = ctx.wm();
14813
- var aggregateName = ensureNotNull(tmp.l46((tmp_0 instanceof AggregateContext ? tmp_0 : THROW_CCE()).j2v()));
14814
- var commandName = ensureNotNull(ZdlListenerUtils_getInstance().l46(ctx.p2w()));
14793
+ var aggregateName = ensureNotNull(tmp.h46((tmp_0 instanceof AggregateContext ? tmp_0 : THROW_CCE()).j2v()));
14794
+ var commandName = ensureNotNull(ZdlListenerUtils_getInstance().h46(ctx.p2w()));
14815
14795
  var location = 'aggregates.' + aggregateName + '.commands.' + commandName;
14816
14796
  this.r45_1 = location;
14817
14797
  var tmp0_safe_receiver = ctx.q2w();
@@ -14820,21 +14800,21 @@ protoOf(ZdlListenerImpl).e1n = function (ctx) {
14820
14800
  var tmp2_safe_receiver = ctx.q2w();
14821
14801
  var parameterIsOptional = !((tmp2_safe_receiver == null ? null : tmp2_safe_receiver.m2x()) == null);
14822
14802
  var withEvents = getServiceMethodEvents(this, location, ctx.r2w());
14823
- var jd = ZdlListenerUtils_getInstance().o46(ZdlListenerUtils_getInstance().m46([ctx.z20(), ctx.q2f()]));
14803
+ var jd = ZdlListenerUtils_getInstance().k46(ZdlListenerUtils_getInstance().i46([ctx.z20(), ctx.q2f()]));
14824
14804
  var method = with_0(with_0(with_0(with_0(with_0(with_0(with_0(buildMap(), 'name', commandName), 'aggregateName', aggregateName), 'parameter', parameter), 'parameterIsOptional', parameterIsOptional), 'transition', null), 'withEvents', withEvents), 'javadoc', jd);
14825
14805
  appendTo(this.p45_1.db(), 'commands', commandName, method);
14826
14806
  this.p45_1.gb(method);
14827
- this.o45_1.y44(location, ZdlListenerUtils_getInstance().k46(ctx));
14828
- this.o45_1.y44(location + '.name', ZdlListenerUtils_getInstance().k46(ctx.p2w()));
14829
- this.o45_1.y44(location + '.parameter', ZdlListenerUtils_getInstance().k46(ctx.q2w()));
14807
+ this.o45_1.y44(location, ZdlListenerUtils_getInstance().g46(ctx));
14808
+ this.o45_1.y44(location + '.name', ZdlListenerUtils_getInstance().g46(ctx.p2w()));
14809
+ this.o45_1.y44(location + '.parameter', ZdlListenerUtils_getInstance().g46(ctx.q2w()));
14830
14810
  };
14831
14811
  protoOf(ZdlListenerImpl).f1n = function (ctx) {
14832
14812
  var transitionOption = JSONPath_instance.k44(this.p45_1.db(), 'options.transition');
14833
14813
  if (!(transitionOption == null)) {
14834
14814
  var tmp = ZdlListenerUtils_getInstance();
14835
14815
  var tmp_0 = ctx.wm();
14836
- var aggregateName = ensureNotNull(tmp.l46((tmp_0 instanceof AggregateContext ? tmp_0 : THROW_CCE()).j2v()));
14837
- var commandName = ensureNotNull(ZdlListenerUtils_getInstance().l46(ctx.p2w()));
14816
+ var aggregateName = ensureNotNull(tmp.h46((tmp_0 instanceof AggregateContext ? tmp_0 : THROW_CCE()).j2v()));
14817
+ var commandName = ensureNotNull(ZdlListenerUtils_getInstance().h46(ctx.p2w()));
14838
14818
  var location = 'aggregates.' + aggregateName + '.commands.' + commandName;
14839
14819
  // Inline function 'kotlin.collections.get' call
14840
14820
  var fromValue = (isInterface(transitionOption, KtMap) ? transitionOption : THROW_CCE()).p1('from');
@@ -14859,32 +14839,47 @@ protoOf(ZdlListenerImpl).f1n = function (ctx) {
14859
14839
  }
14860
14840
  var fromStates = tmp_1;
14861
14841
  // Inline function 'kotlin.collections.get' call
14862
- var tmp1_safe_receiver = (isInterface(transitionOption, KtMap) ? transitionOption : THROW_CCE()).p1('to');
14863
- var toState = tmp1_safe_receiver == null ? null : toString_0(tmp1_safe_receiver);
14842
+ var toValue = (isInterface(transitionOption, KtMap) ? transitionOption : THROW_CCE()).p1('to');
14843
+ var tmp_2;
14844
+ if (!(toValue == null) ? isInterface(toValue, KtList) : false) {
14845
+ // Inline function 'kotlin.collections.map' call
14846
+ // Inline function 'kotlin.collections.mapTo' call
14847
+ var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(toValue, 10));
14848
+ var _iterator__ex2g4s_0 = toValue.g();
14849
+ while (_iterator__ex2g4s_0.h()) {
14850
+ var item_0 = _iterator__ex2g4s_0.i();
14851
+ var tmp$ret$5 = toString_1(item_0);
14852
+ destination_0.f(tmp$ret$5);
14853
+ }
14854
+ tmp_2 = destination_0;
14855
+ } else {
14856
+ tmp_2 = toValue == null ? null : toString_0(toValue);
14857
+ }
14858
+ var toStates = tmp_2;
14864
14859
  var tmp0 = this.p45_1.db();
14865
14860
  var tmp2 = 'transition';
14866
14861
  // Inline function 'kotlin.collections.set' call
14867
- var value = with_0(with_0(buildMap(), 'from', fromStates), 'to', toState);
14862
+ var value = with_0(with_0(buildMap(), 'from', fromStates), 'to', toStates);
14868
14863
  tmp0.t1(tmp2, value);
14869
14864
  }
14870
14865
  this.p45_1.ib();
14871
- var tmp_2 = ZdlListenerUtils_getInstance();
14872
- var tmp_3 = ctx.wm();
14873
- var aggregateName_0 = ensureNotNull(tmp_2.l46((tmp_3 instanceof AggregateContext ? tmp_3 : THROW_CCE()).j2v()));
14866
+ var tmp_3 = ZdlListenerUtils_getInstance();
14867
+ var tmp_4 = ctx.wm();
14868
+ var aggregateName_0 = ensureNotNull(tmp_3.h46((tmp_4 instanceof AggregateContext ? tmp_4 : THROW_CCE()).j2v()));
14874
14869
  this.r45_1 = 'aggregates.' + aggregateName_0;
14875
14870
  };
14876
14871
  protoOf(ZdlListenerImpl).k1n = function (ctx) {
14877
- var serviceName = ensureNotNull(ZdlListenerUtils_getInstance().l46(ctx.x2x()));
14878
- var serviceJavadoc = ZdlListenerUtils_getInstance().o46(ctx.z20());
14879
- var serviceAggregates = ZdlListenerUtils_getInstance().r46(ctx.y2x(), ',');
14880
- this.p45_1.gb(with_0(with_0(with_0(with_0(with_0(buildMap(), 'name', serviceName), 'className', ZdlListenerUtils_getInstance().e46(serviceName)), 'javadoc', serviceJavadoc), 'aggregates', serviceAggregates), 'methods', buildMap()));
14872
+ var serviceName = ensureNotNull(ZdlListenerUtils_getInstance().h46(ctx.x2x()));
14873
+ var serviceJavadoc = ZdlListenerUtils_getInstance().k46(ctx.z20());
14874
+ var serviceAggregates = ZdlListenerUtils_getInstance().n46(ctx.y2x(), ',');
14875
+ this.p45_1.gb(with_0(with_0(with_0(with_0(with_0(buildMap(), 'name', serviceName), 'className', ZdlListenerUtils_getInstance().a46(serviceName)), 'javadoc', serviceJavadoc), 'aggregates', serviceAggregates), 'methods', buildMap()));
14881
14876
  this.o45_1.n44('services', serviceName, this.p45_1.db());
14882
14877
  var name = this.p45_1.db().p1('name');
14883
14878
  var location = 'services.' + toString_1(name);
14884
14879
  this.r45_1 = location;
14885
- this.o45_1.y44(location, ZdlListenerUtils_getInstance().k46(ctx));
14886
- this.o45_1.y44(location + '.name', ZdlListenerUtils_getInstance().k46(ctx.x2x()));
14887
- this.o45_1.y44(location + '.aggregates', ZdlListenerUtils_getInstance().k46(ctx.y2x()));
14880
+ this.o45_1.y44(location, ZdlListenerUtils_getInstance().g46(ctx));
14881
+ this.o45_1.y44(location + '.name', ZdlListenerUtils_getInstance().g46(ctx.x2x()));
14882
+ this.o45_1.y44(location + '.aggregates', ZdlListenerUtils_getInstance().g46(ctx.y2x()));
14888
14883
  };
14889
14884
  protoOf(ZdlListenerImpl).l1n = function (ctx) {
14890
14885
  this.p45_1.ib();
@@ -14893,8 +14888,8 @@ protoOf(ZdlListenerImpl).l1n = function (ctx) {
14893
14888
  protoOf(ZdlListenerImpl).q1n = function (ctx) {
14894
14889
  var tmp = ZdlListenerUtils_getInstance();
14895
14890
  var tmp_0 = ctx.wm();
14896
- var serviceName = ensureNotNull(tmp.l46((tmp_0 instanceof ServiceContext ? tmp_0 : THROW_CCE()).x2x()));
14897
- var methodName = ensureNotNull(ZdlListenerUtils_getInstance().l46(ctx.d2z()));
14891
+ var serviceName = ensureNotNull(tmp.h46((tmp_0 instanceof ServiceContext ? tmp_0 : THROW_CCE()).x2x()));
14892
+ var methodName = ensureNotNull(ZdlListenerUtils_getInstance().h46(ctx.d2z()));
14898
14893
  var location = 'services.' + serviceName + '.methods.' + methodName;
14899
14894
  this.r45_1 = location;
14900
14895
  var naturalId = !(ctx.e2z() == null) ? true : null;
@@ -14914,22 +14909,22 @@ protoOf(ZdlListenerImpl).q1n = function (ctx) {
14914
14909
  var tmp7_safe_receiver = ctx.h2z();
14915
14910
  var returnTypeIsOptional = !((tmp7_safe_receiver == null ? null : tmp7_safe_receiver.m2x()) == null);
14916
14911
  var withEvents = getServiceMethodEvents(this, location, ctx.r2w());
14917
- var jd = ZdlListenerUtils_getInstance().o46(ZdlListenerUtils_getInstance().m46([ctx.z20(), ctx.q2f()]));
14912
+ var jd = ZdlListenerUtils_getInstance().k46(ZdlListenerUtils_getInstance().i46([ctx.z20(), ctx.q2f()]));
14918
14913
  var method = with_0(with_0(with_0(with_0(with_0(with_0(with_0(with_0(with_0(with_0(with_0(with_0(with_0(buildMap(), 'name', methodName), 'serviceName', serviceName), 'naturalId', naturalId), 'paramId', methodParamId), 'paramIdIsOptional', methodParamIdIsOptional), 'parameter', methodParameter), 'parameterIsOptional', methodParameterIsOptional), 'returnType', returnType), 'returnTypeIsArray', returnTypeIsArray), 'returnTypeIsOptional', returnTypeIsOptional), 'transition', null), 'withEvents', withEvents), 'javadoc', jd);
14919
14914
  appendTo(this.p45_1.db(), 'methods', methodName, method);
14920
14915
  this.p45_1.gb(method);
14921
- this.o45_1.y44(location, ZdlListenerUtils_getInstance().k46(ctx));
14922
- this.o45_1.y44(location + '.name', ZdlListenerUtils_getInstance().k46(ctx.d2z()));
14923
- this.o45_1.y44(location + '.parameter', ZdlListenerUtils_getInstance().k46(ctx.g2z()));
14924
- this.o45_1.y44(location + '.returnType', ZdlListenerUtils_getInstance().k46(ctx.h2z()));
14916
+ this.o45_1.y44(location, ZdlListenerUtils_getInstance().g46(ctx));
14917
+ this.o45_1.y44(location + '.name', ZdlListenerUtils_getInstance().g46(ctx.d2z()));
14918
+ this.o45_1.y44(location + '.parameter', ZdlListenerUtils_getInstance().g46(ctx.g2z()));
14919
+ this.o45_1.y44(location + '.returnType', ZdlListenerUtils_getInstance().g46(ctx.h2z()));
14925
14920
  };
14926
14921
  protoOf(ZdlListenerImpl).r1n = function (ctx) {
14927
14922
  var transitionOption = JSONPath_instance.k44(this.p45_1.db(), 'options.transition');
14928
14923
  if (!(transitionOption == null)) {
14929
14924
  var tmp = ZdlListenerUtils_getInstance();
14930
14925
  var tmp_0 = ctx.wm();
14931
- var serviceName = ensureNotNull(tmp.l46((tmp_0 instanceof ServiceContext ? tmp_0 : THROW_CCE()).x2x()));
14932
- var methodName = ensureNotNull(ZdlListenerUtils_getInstance().l46(ctx.d2z()));
14926
+ var serviceName = ensureNotNull(tmp.h46((tmp_0 instanceof ServiceContext ? tmp_0 : THROW_CCE()).x2x()));
14927
+ var methodName = ensureNotNull(ZdlListenerUtils_getInstance().h46(ctx.d2z()));
14933
14928
  var location = 'services.' + serviceName + '.methods.' + methodName;
14934
14929
  // Inline function 'kotlin.collections.get' call
14935
14930
  var fromValue = (isInterface(transitionOption, KtMap) ? transitionOption : THROW_CCE()).p1('from');
@@ -14954,25 +14949,40 @@ protoOf(ZdlListenerImpl).r1n = function (ctx) {
14954
14949
  }
14955
14950
  var fromStates = tmp_1;
14956
14951
  // Inline function 'kotlin.collections.get' call
14957
- var tmp1_safe_receiver = (isInterface(transitionOption, KtMap) ? transitionOption : THROW_CCE()).p1('to');
14958
- var toState = tmp1_safe_receiver == null ? null : toString_0(tmp1_safe_receiver);
14952
+ var toValue = (isInterface(transitionOption, KtMap) ? transitionOption : THROW_CCE()).p1('to');
14953
+ var tmp_2;
14954
+ if (!(toValue == null) ? isInterface(toValue, KtList) : false) {
14955
+ // Inline function 'kotlin.collections.map' call
14956
+ // Inline function 'kotlin.collections.mapTo' call
14957
+ var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(toValue, 10));
14958
+ var _iterator__ex2g4s_0 = toValue.g();
14959
+ while (_iterator__ex2g4s_0.h()) {
14960
+ var item_0 = _iterator__ex2g4s_0.i();
14961
+ var tmp$ret$5 = toString_1(item_0);
14962
+ destination_0.f(tmp$ret$5);
14963
+ }
14964
+ tmp_2 = destination_0;
14965
+ } else {
14966
+ tmp_2 = toValue == null ? null : toString_0(toValue);
14967
+ }
14968
+ var toStates = tmp_2;
14959
14969
  var tmp0 = this.p45_1.db();
14960
14970
  var tmp2 = 'transition';
14961
14971
  // Inline function 'kotlin.collections.set' call
14962
- var value = with_0(with_0(buildMap(), 'from', fromStates), 'to', toState);
14972
+ var value = with_0(with_0(buildMap(), 'from', fromStates), 'to', toStates);
14963
14973
  tmp0.t1(tmp2, value);
14964
14974
  }
14965
14975
  this.p45_1.ib();
14966
- var tmp_2 = ZdlListenerUtils_getInstance();
14967
- var tmp_3 = ctx.wm();
14968
- var serviceName_0 = ensureNotNull(tmp_2.l46((tmp_3 instanceof ServiceContext ? tmp_3 : THROW_CCE()).x2x()));
14976
+ var tmp_3 = ZdlListenerUtils_getInstance();
14977
+ var tmp_4 = ctx.wm();
14978
+ var serviceName_0 = ensureNotNull(tmp_3.h46((tmp_4 instanceof ServiceContext ? tmp_4 : THROW_CCE()).x2x()));
14969
14979
  this.r45_1 = 'services.' + serviceName_0;
14970
14980
  };
14971
14981
  protoOf(ZdlListenerImpl).s1l = function (ctx) {
14972
14982
  var name = ctx.r2o().bh();
14973
- var jd = ZdlListenerUtils_getInstance().o46(ctx.z20());
14974
- var kebab = ZdlListenerUtils_getInstance().g46(name);
14975
- this.p45_1.gb(with_0(with_0(with_0(with_0(with_0(with_0(buildMap(), 'name', name), 'className', ensureNotNull(ZdlListenerUtils_getInstance().e46(name))), 'type', 'events'), 'kebabCase', kebab), 'javadoc', jd), 'fields', buildMap()));
14983
+ var jd = ZdlListenerUtils_getInstance().k46(ctx.z20());
14984
+ var kebab = ZdlListenerUtils_getInstance().c46(name);
14985
+ this.p45_1.gb(with_0(with_0(with_0(with_0(with_0(with_0(buildMap(), 'name', name), 'className', ensureNotNull(ZdlListenerUtils_getInstance().a46(name))), 'type', 'events'), 'kebabCase', kebab), 'javadoc', jd), 'fields', buildMap()));
14976
14986
  this.o45_1.n44('events', name, this.p45_1.db());
14977
14987
  this.q45_1 = 'events';
14978
14988
  };
@@ -14981,7 +14991,7 @@ protoOf(ZdlListenerImpl).t1l = function (ctx) {
14981
14991
  };
14982
14992
  protoOf(ZdlListenerImpl).k1l = function (ctx) {
14983
14993
  var name = ctx.b2n().bh();
14984
- var jd = ZdlListenerUtils_getInstance().o46(ctx.z20());
14994
+ var jd = ZdlListenerUtils_getInstance().k46(ctx.z20());
14985
14995
  this.p45_1.gb(with_0(processEntity(this, name, jd, null), 'type', 'inputs'));
14986
14996
  this.o45_1.n44('inputs', name, this.p45_1.db());
14987
14997
  this.q45_1 = 'inputs';
@@ -14991,7 +15001,7 @@ protoOf(ZdlListenerImpl).l1l = function (ctx) {
14991
15001
  };
14992
15002
  protoOf(ZdlListenerImpl).o1l = function (ctx) {
14993
15003
  var name = ctx.w2n().bh();
14994
- var jd = ZdlListenerUtils_getInstance().o46(ctx.z20());
15004
+ var jd = ZdlListenerUtils_getInstance().k46(ctx.z20());
14995
15005
  this.p45_1.gb(with_0(processEntity(this, name, jd, null), 'type', 'outputs'));
14996
15006
  this.o45_1.n44('outputs', name, this.p45_1.db());
14997
15007
  this.q45_1 = 'outputs';
@@ -15010,12 +15020,12 @@ protoOf(ZdlListenerImpl).er = function (node) {
15010
15020
  };
15011
15021
  function ZdlListenerUtils() {
15012
15022
  ZdlListenerUtils_instance = this;
15013
- this.d46_1 = Inflector_instance;
15023
+ this.z45_1 = Inflector_instance;
15014
15024
  }
15015
- protoOf(ZdlListenerUtils).l46 = function (ctx) {
15025
+ protoOf(ZdlListenerUtils).h46 = function (ctx) {
15016
15026
  return ctx == null ? null : ctx.bh();
15017
15027
  };
15018
- protoOf(ZdlListenerUtils).j46 = function (ctx) {
15028
+ protoOf(ZdlListenerUtils).f46 = function (ctx) {
15019
15029
  if (ctx == null)
15020
15030
  return null;
15021
15031
  var tmp0_safe_receiver = ctx.c1v();
@@ -15030,25 +15040,25 @@ protoOf(ZdlListenerUtils).j46 = function (ctx) {
15030
15040
  null;
15031
15041
  else {
15032
15042
  // Inline function 'kotlin.let' call
15033
- return ZdlListenerUtils_getInstance().t46(tmp1_safe_receiver.bh(), "'");
15043
+ return ZdlListenerUtils_getInstance().p46(tmp1_safe_receiver.bh(), "'");
15034
15044
  }
15035
15045
  var tmp2_safe_receiver = ctx.e1v();
15036
15046
  if (tmp2_safe_receiver == null)
15037
15047
  null;
15038
15048
  else {
15039
15049
  // Inline function 'kotlin.let' call
15040
- return ZdlListenerUtils_getInstance().t46(tmp2_safe_receiver.bh(), '"');
15050
+ return ZdlListenerUtils_getInstance().p46(tmp2_safe_receiver.bh(), '"');
15041
15051
  }
15042
15052
  var tmp3_safe_receiver = ctx.f1v();
15043
15053
  if (tmp3_safe_receiver == null)
15044
15054
  null;
15045
15055
  else {
15046
15056
  // Inline function 'kotlin.let' call
15047
- return ZdlListenerUtils_getInstance().u46(tmp3_safe_receiver.bh());
15057
+ return ZdlListenerUtils_getInstance().q46(tmp3_safe_receiver.bh());
15048
15058
  }
15049
15059
  return ctx.bh();
15050
15060
  };
15051
- protoOf(ZdlListenerUtils).q46 = function (ctx) {
15061
+ protoOf(ZdlListenerUtils).m46 = function (ctx) {
15052
15062
  if (ctx == null)
15053
15063
  return null;
15054
15064
  var tmp0_safe_receiver = ctx.c1v();
@@ -15063,21 +15073,21 @@ protoOf(ZdlListenerUtils).q46 = function (ctx) {
15063
15073
  null;
15064
15074
  else {
15065
15075
  // Inline function 'kotlin.let' call
15066
- return ZdlListenerUtils_getInstance().t46(tmp1_safe_receiver.bh(), "'");
15076
+ return ZdlListenerUtils_getInstance().p46(tmp1_safe_receiver.bh(), "'");
15067
15077
  }
15068
15078
  var tmp2_safe_receiver = ctx.e1v();
15069
15079
  if (tmp2_safe_receiver == null)
15070
15080
  null;
15071
15081
  else {
15072
15082
  // Inline function 'kotlin.let' call
15073
- return ZdlListenerUtils_getInstance().t46(tmp2_safe_receiver.bh(), '"');
15083
+ return ZdlListenerUtils_getInstance().p46(tmp2_safe_receiver.bh(), '"');
15074
15084
  }
15075
15085
  var tmp3_safe_receiver = ctx.f1v();
15076
15086
  if (tmp3_safe_receiver == null)
15077
15087
  null;
15078
15088
  else {
15079
15089
  // Inline function 'kotlin.let' call
15080
- return ZdlListenerUtils_getInstance().u46(tmp3_safe_receiver.bh());
15090
+ return ZdlListenerUtils_getInstance().q46(tmp3_safe_receiver.bh());
15081
15091
  }
15082
15092
  if (ctx.q1v() == null)
15083
15093
  null;
@@ -15097,12 +15107,12 @@ protoOf(ZdlListenerUtils).q46 = function (ctx) {
15097
15107
  return false;
15098
15108
  return ctx.bh();
15099
15109
  };
15100
- protoOf(ZdlListenerUtils).n46 = function (ctx) {
15110
+ protoOf(ZdlListenerUtils).j46 = function (ctx) {
15101
15111
  if (ctx == null)
15102
15112
  return true;
15103
- return this.p46(ctx.i1z());
15113
+ return this.l46(ctx.i1z());
15104
15114
  };
15105
- protoOf(ZdlListenerUtils).p46 = function (complexValue) {
15115
+ protoOf(ZdlListenerUtils).l46 = function (complexValue) {
15106
15116
  if (complexValue == null)
15107
15117
  return true;
15108
15118
  var tmp0_safe_receiver = complexValue.c1u();
@@ -15110,21 +15120,21 @@ protoOf(ZdlListenerUtils).p46 = function (complexValue) {
15110
15120
  null;
15111
15121
  else {
15112
15122
  // Inline function 'kotlin.let' call
15113
- return ZdlListenerUtils_getInstance().v46(tmp0_safe_receiver);
15123
+ return ZdlListenerUtils_getInstance().r46(tmp0_safe_receiver);
15114
15124
  }
15115
- var array = this.w46(complexValue.d1u());
15116
- var obj = this.x46(complexValue.e1u());
15117
- return this.m46([array, obj, true]);
15125
+ var array = this.s46(complexValue.d1u());
15126
+ var obj = this.t46(complexValue.e1u());
15127
+ return this.i46([array, obj, true]);
15118
15128
  };
15119
- protoOf(ZdlListenerUtils).v46 = function (value) {
15129
+ protoOf(ZdlListenerUtils).r46 = function (value) {
15120
15130
  if (value == null)
15121
15131
  return true;
15122
- var obj = this.y46(value.p1u());
15123
- var array = this.z46(value.q1u());
15124
- var simple = this.q46(value.r1u());
15125
- return this.m46([obj, array, simple, true]);
15132
+ var obj = this.u46(value.p1u());
15133
+ var array = this.v46(value.q1u());
15134
+ var simple = this.m46(value.r1u());
15135
+ return this.i46([obj, array, simple, true]);
15126
15136
  };
15127
- protoOf(ZdlListenerUtils).t46 = function (text, quote) {
15137
+ protoOf(ZdlListenerUtils).p46 = function (text, quote) {
15128
15138
  var escape = '\\\\';
15129
15139
  // Inline function 'kotlin.text.replace' call
15130
15140
  var tmp0 = Regex_init_$Create$('^' + Companion_getInstance().y8(quote)).j9(text, '');
@@ -15133,10 +15143,10 @@ protoOf(ZdlListenerUtils).t46 = function (text, quote) {
15133
15143
  // Inline function 'kotlin.text.replace' call
15134
15144
  return Regex_init_$Create$(Companion_getInstance().y8(quote) + '$').j9(tmp0_0, '');
15135
15145
  };
15136
- protoOf(ZdlListenerUtils).u46 = function (text) {
15146
+ protoOf(ZdlListenerUtils).q46 = function (text) {
15137
15147
  return trimIndent(removeSuffix(removePrefix(text, '"""'), '"""'));
15138
15148
  };
15139
- protoOf(ZdlListenerUtils).y46 = function (ctx) {
15149
+ protoOf(ZdlListenerUtils).u46 = function (ctx) {
15140
15150
  if (ctx == null)
15141
15151
  return null;
15142
15152
  var map = buildMap();
@@ -15146,12 +15156,12 @@ protoOf(ZdlListenerUtils).y46 = function (ctx) {
15146
15156
  var element = _iterator__ex2g4s.i();
15147
15157
  // Inline function 'kotlin.let' call
15148
15158
  var it = element.s1r();
15149
- var tmp$ret$1 = toString_1(ZdlListenerUtils_getInstance().j46(it));
15150
- map.t1(tmp$ret$1, ZdlListenerUtils_getInstance().v46(element.c1u()));
15159
+ var tmp$ret$1 = toString_1(ZdlListenerUtils_getInstance().f46(it));
15160
+ map.t1(tmp$ret$1, ZdlListenerUtils_getInstance().r46(element.c1u()));
15151
15161
  }
15152
15162
  return map;
15153
15163
  };
15154
- protoOf(ZdlListenerUtils).x46 = function (ctx) {
15164
+ protoOf(ZdlListenerUtils).t46 = function (ctx) {
15155
15165
  if (ctx == null)
15156
15166
  return null;
15157
15167
  var map = buildMap();
@@ -15161,12 +15171,12 @@ protoOf(ZdlListenerUtils).x46 = function (ctx) {
15161
15171
  var element = _iterator__ex2g4s.i();
15162
15172
  // Inline function 'kotlin.let' call
15163
15173
  var it = element.s1r();
15164
- var tmp$ret$1 = toString_1(ZdlListenerUtils_getInstance().j46(it));
15165
- map.t1(tmp$ret$1, ZdlListenerUtils_getInstance().v46(element.c1u()));
15174
+ var tmp$ret$1 = toString_1(ZdlListenerUtils_getInstance().f46(it));
15175
+ map.t1(tmp$ret$1, ZdlListenerUtils_getInstance().r46(element.c1u()));
15166
15176
  }
15167
15177
  return map;
15168
15178
  };
15169
- protoOf(ZdlListenerUtils).z46 = function (ctx) {
15179
+ protoOf(ZdlListenerUtils).v46 = function (ctx) {
15170
15180
  if (ctx == null)
15171
15181
  return null;
15172
15182
  // Inline function 'kotlin.collections.mutableListOf' call
@@ -15175,11 +15185,11 @@ protoOf(ZdlListenerUtils).z46 = function (ctx) {
15175
15185
  var _iterator__ex2g4s = ctx.c1u().g();
15176
15186
  while (_iterator__ex2g4s.h()) {
15177
15187
  var element = _iterator__ex2g4s.i();
15178
- list.f(ZdlListenerUtils_getInstance().v46(element));
15188
+ list.f(ZdlListenerUtils_getInstance().r46(element));
15179
15189
  }
15180
15190
  return list;
15181
15191
  };
15182
- protoOf(ZdlListenerUtils).w46 = function (ctx) {
15192
+ protoOf(ZdlListenerUtils).s46 = function (ctx) {
15183
15193
  if (ctx == null)
15184
15194
  return null;
15185
15195
  // Inline function 'kotlin.collections.mutableListOf' call
@@ -15188,11 +15198,11 @@ protoOf(ZdlListenerUtils).w46 = function (ctx) {
15188
15198
  var _iterator__ex2g4s = ctx.r1u().g();
15189
15199
  while (_iterator__ex2g4s.h()) {
15190
15200
  var element = _iterator__ex2g4s.i();
15191
- list.f(ZdlListenerUtils_getInstance().q46(element));
15201
+ list.f(ZdlListenerUtils_getInstance().m46(element));
15192
15202
  }
15193
15203
  return list;
15194
15204
  };
15195
- protoOf(ZdlListenerUtils).r46 = function (ctx, split_0) {
15205
+ protoOf(ZdlListenerUtils).n46 = function (ctx, split_0) {
15196
15206
  if (ctx == null)
15197
15207
  return null;
15198
15208
  // Inline function 'kotlin.collections.map' call
@@ -15208,22 +15218,22 @@ protoOf(ZdlListenerUtils).r46 = function (ctx, split_0) {
15208
15218
  }
15209
15219
  return destination;
15210
15220
  };
15211
- protoOf(ZdlListenerUtils).i46 = function (name) {
15212
- return this.d46_1.e44(name);
15213
- };
15214
15221
  protoOf(ZdlListenerUtils).e46 = function (name) {
15215
- return this.d46_1.f44(name);
15222
+ return this.z45_1.e44(name);
15216
15223
  };
15217
- protoOf(ZdlListenerUtils).f46 = function (name) {
15218
- return this.d46_1.h44(name);
15224
+ protoOf(ZdlListenerUtils).a46 = function (name) {
15225
+ return this.z45_1.f44(name);
15219
15226
  };
15220
- protoOf(ZdlListenerUtils).g46 = function (name) {
15221
- return this.d46_1.j44(name);
15227
+ protoOf(ZdlListenerUtils).b46 = function (name) {
15228
+ return this.z45_1.h44(name);
15222
15229
  };
15223
- protoOf(ZdlListenerUtils).h46 = function (name) {
15224
- return this.d46_1.i44(name);
15230
+ protoOf(ZdlListenerUtils).c46 = function (name) {
15231
+ return this.z45_1.j44(name);
15225
15232
  };
15226
- protoOf(ZdlListenerUtils).m46 = function (args) {
15233
+ protoOf(ZdlListenerUtils).d46 = function (name) {
15234
+ return this.z45_1.i44(name);
15235
+ };
15236
+ protoOf(ZdlListenerUtils).i46 = function (args) {
15227
15237
  var tmp$ret$1;
15228
15238
  $l$block: {
15229
15239
  // Inline function 'kotlin.collections.firstOrNull' call
@@ -15241,10 +15251,10 @@ protoOf(ZdlListenerUtils).m46 = function (args) {
15241
15251
  }
15242
15252
  return tmp$ret$1;
15243
15253
  };
15244
- protoOf(ZdlListenerUtils).o46 = function (javadoc) {
15254
+ protoOf(ZdlListenerUtils).k46 = function (javadoc) {
15245
15255
  if (javadoc == null)
15246
15256
  return null;
15247
- var text = this.l46(javadoc instanceof ParserRuleContext ? javadoc : THROW_CCE());
15257
+ var text = this.h46(javadoc instanceof ParserRuleContext ? javadoc : THROW_CCE());
15248
15258
  var tmp;
15249
15259
  if (text == null) {
15250
15260
  tmp = null;
@@ -15278,7 +15288,7 @@ protoOf(ZdlListenerUtils).o46 = function (javadoc) {
15278
15288
  }
15279
15289
  return tmp_2;
15280
15290
  };
15281
- protoOf(ZdlListenerUtils).k46 = function (ctx) {
15291
+ protoOf(ZdlListenerUtils).g46 = function (ctx) {
15282
15292
  if (ctx == null)
15283
15293
  return null;
15284
15294
  var stopCharOffset = 0;
@@ -15288,7 +15298,7 @@ protoOf(ZdlListenerUtils).k46 = function (ctx) {
15288
15298
  // Inline function 'kotlin.intArrayOf' call
15289
15299
  return new Int32Array([ensureNotNull(ctx.rq_1).ai(), ensureNotNull(ctx.sq_1).bi() + 1 | 0, ensureNotNull(ctx.rq_1).wh(), ensureNotNull(ctx.rq_1).yh(), ensureNotNull(ctx.sq_1).wh(), ensureNotNull(ctx.sq_1).yh() + stopCharOffset | 0]);
15290
15300
  };
15291
- protoOf(ZdlListenerUtils).s46 = function (serviceName, entities) {
15301
+ protoOf(ZdlListenerUtils).o46 = function (serviceName, entities) {
15292
15302
  var methods = buildMap();
15293
15303
  var _iterator__ex2g4s = entities.g();
15294
15304
  while (_iterator__ex2g4s.h()) {
@@ -15296,7 +15306,7 @@ protoOf(ZdlListenerUtils).s46 = function (serviceName, entities) {
15296
15306
  // Inline function 'kotlin.text.trim' call
15297
15307
  var tmp$ret$0 = toString_0(trim(isCharSequence(entity) ? entity : THROW_CCE()));
15298
15308
  // Inline function 'kotlin.collections.forEach' call
15299
- var _iterator__ex2g4s_0 = this.a47(serviceName, tmp$ret$0).g();
15309
+ var _iterator__ex2g4s_0 = this.w46(serviceName, tmp$ret$0).g();
15300
15310
  while (_iterator__ex2g4s_0.h()) {
15301
15311
  var element = _iterator__ex2g4s_0.i();
15302
15312
  methods.t1(toString_1(element.p1('name')), element);
@@ -15304,18 +15314,18 @@ protoOf(ZdlListenerUtils).s46 = function (serviceName, entities) {
15304
15314
  }
15305
15315
  return methods;
15306
15316
  };
15307
- protoOf(ZdlListenerUtils).a47 = function (serviceName, entity) {
15317
+ protoOf(ZdlListenerUtils).w46 = function (serviceName, entity) {
15308
15318
  // Inline function 'kotlin.text.lowercase' call
15309
15319
  // Inline function 'kotlin.js.asDynamic' call
15310
15320
  var tmp$ret$1 = entity.toLowerCase();
15311
- var path = '/' + this.d46_1.j44(this.d46_1.e44(tmp$ret$1));
15312
- var entityIdPath = path + '/{' + this.d46_1.h44(entity) + 'Id}';
15321
+ var path = '/' + this.z45_1.j44(this.z45_1.e44(tmp$ret$1));
15322
+ var entityIdPath = path + '/{' + this.z45_1.h44(entity) + 'Id}';
15313
15323
  // Inline function 'kotlin.collections.mutableListOf' call
15314
15324
  var crudMethods = ArrayList_init_$Create$();
15315
15325
  crudMethods.f(with_0(with_0(with_0(with_0(with_0(with_0(buildMap(), 'name', 'create' + entity), 'serviceName', serviceName), 'parameter', entity), 'returnType', entity), 'options', with_0(buildMap(), 'post', path)), 'optionsList', listOf_0(mapOf([to('name', 'post'), to('value', path)]))));
15316
15326
  crudMethods.f(with_0(with_0(with_0(with_0(with_0(with_0(with_0(with_0(buildMap(), 'name', 'update' + entity), 'serviceName', serviceName), 'paramId', 'id'), 'parameter', entity), 'returnType', entity), 'returnTypeIsOptional', true), 'options', with_0(buildMap(), 'put', entityIdPath)), 'optionsList', listOf_0(mapOf([to('name', 'put'), to('value', entityIdPath)]))));
15317
15327
  crudMethods.f(with_0(with_0(with_0(with_0(with_0(with_0(with_0(buildMap(), 'name', 'get' + entity), 'serviceName', serviceName), 'paramId', 'id'), 'returnType', entity), 'returnTypeIsOptional', true), 'options', with_0(buildMap(), 'get', entityIdPath)), 'optionsList', listOf_0(mapOf([to('name', 'get'), to('value', entityIdPath)]))));
15318
- crudMethods.f(with_0(with_0(with_0(with_0(with_0(with_0(with_0(with_0(buildMap(), 'name', 'list' + this.i46(entity)), 'serviceName', serviceName), 'paginated', true), 'returnType', entity), 'returnTypeIsArray', true), 'options', with_0(buildMap(), 'paginated', true)), 'options', with_0(buildMap(), 'get', path)), 'optionsList', listOf_0(mapOf([to('name', 'get'), to('value', path)]))));
15328
+ crudMethods.f(with_0(with_0(with_0(with_0(with_0(with_0(with_0(with_0(buildMap(), 'name', 'list' + this.e46(entity)), 'serviceName', serviceName), 'paginated', true), 'returnType', entity), 'returnTypeIsArray', true), 'options', with_0(buildMap(), 'paginated', true)), 'options', with_0(buildMap(), 'get', path)), 'optionsList', listOf_0(mapOf([to('name', 'get'), to('value', path)]))));
15319
15329
  crudMethods.f(with_0(with_0(with_0(with_0(with_0(buildMap(), 'name', 'delete' + entity), 'serviceName', serviceName), 'paramId', 'id'), 'options', with_0(buildMap(), 'delete', entityIdPath)), 'optionsList', listOf_0(mapOf([to('name', 'delete'), to('value', entityIdPath)]))));
15320
15330
  return crudMethods;
15321
15331
  };
@@ -15716,7 +15726,7 @@ function validateLifecycle($this, model, aggregateKey, aggregate, aggregateRoot)
15716
15726
  }
15717
15727
  function validateCommandTransition($this, model, aggregateKey, methodName, method, enumValues) {
15718
15728
  var fromStates = JSONPath_instance.k44(method, 'transition.from');
15719
- var toState = JSONPath_instance.k44(method, 'transition.to');
15729
+ var toStates = transitionStates($this, method, 'transition.to');
15720
15730
  if (fromStates == null)
15721
15731
  null;
15722
15732
  else {
@@ -15733,8 +15743,21 @@ function validateCommandTransition($this, model, aggregateKey, methodName, metho
15733
15743
  }
15734
15744
  }
15735
15745
  }
15736
- if (!(toState == null) && !enumValues.j1(toState)) {
15737
- model.a45(path($this, ['aggregates', aggregateKey, 'commands', methodName == null ? '' : methodName, 'transition', 'to']), toState, '%s is not a valid state value');
15746
+ if (toStates == null)
15747
+ null;
15748
+ else {
15749
+ // Inline function 'kotlin.collections.forEachIndexed' call
15750
+ var index_0 = 0;
15751
+ var _iterator__ex2g4s_0 = toStates.g();
15752
+ while (_iterator__ex2g4s_0.h()) {
15753
+ var item_0 = _iterator__ex2g4s_0.i();
15754
+ var _unary__edvuaz_0 = index_0;
15755
+ index_0 = _unary__edvuaz_0 + 1 | 0;
15756
+ var i_0 = checkIndexOverflow(_unary__edvuaz_0);
15757
+ if (!enumValues.j1(item_0)) {
15758
+ model.a45(path($this, ['aggregates', aggregateKey, 'commands', methodName == null ? '' : methodName, 'transition', 'to', '' + i_0]), item_0, '%s is not a valid state value');
15759
+ }
15760
+ }
15738
15761
  }
15739
15762
  }
15740
15763
  function validateLifecycles($this, model) {
@@ -16006,7 +16029,7 @@ function validateServices($this, model) {
16006
16029
  function validateServiceMethodTransition($this, model, serviceKey, methodName, method, serviceAggregates) {
16007
16030
  var mPath = path($this, ['services', serviceKey, 'methods', methodName == null ? '' : methodName]);
16008
16031
  var fromStates = JSONPath_instance.k44(method, 'transition.from');
16009
- var toState = JSONPath_instance.k44(method, 'transition.to');
16032
+ var toStates = transitionStates($this, method, 'transition.to');
16010
16033
  var tmp;
16011
16034
  if (serviceAggregates.j() === 1) {
16012
16035
  tmp = serviceAggregates.k(0);
@@ -16043,13 +16066,50 @@ function validateServiceMethodTransition($this, model, serviceKey, methodName, m
16043
16066
  }
16044
16067
  }
16045
16068
  }
16046
- if (!(toState == null) && !enumValues.j1(toState)) {
16047
- model.a45(path($this, ['services', serviceKey, 'methods', methodName == null ? '' : methodName, 'options', 'transition', 'value', 'to']), toState, '%s is not a valid state value');
16069
+ if (toStates == null)
16070
+ null;
16071
+ else {
16072
+ // Inline function 'kotlin.collections.forEachIndexed' call
16073
+ var index_0 = 0;
16074
+ var _iterator__ex2g4s_0 = toStates.g();
16075
+ while (_iterator__ex2g4s_0.h()) {
16076
+ var item_0 = _iterator__ex2g4s_0.i();
16077
+ var _unary__edvuaz_0 = index_0;
16078
+ index_0 = _unary__edvuaz_0 + 1 | 0;
16079
+ var i = checkIndexOverflow(_unary__edvuaz_0);
16080
+ if (!enumValues.j1(item_0)) {
16081
+ model.a45(path($this, ['services', serviceKey, 'methods', methodName == null ? '' : methodName, 'options', 'transition', 'value', 'to', '' + i]), item_0, '%s is not a valid state value');
16082
+ }
16083
+ }
16048
16084
  }
16049
16085
  }
16050
16086
  function path($this, path) {
16051
16087
  return joinToString_0(path, '.');
16052
16088
  }
16089
+ function transitionStates($this, method, property) {
16090
+ var value = JSONPath_instance.k44(method, property);
16091
+ var tmp;
16092
+ if (!(value == null) ? isInterface(value, KtList) : false) {
16093
+ // Inline function 'kotlin.collections.filterIsInstance' call
16094
+ // Inline function 'kotlin.collections.filterIsInstanceTo' call
16095
+ var destination = ArrayList_init_$Create$();
16096
+ var _iterator__ex2g4s = value.g();
16097
+ while (_iterator__ex2g4s.h()) {
16098
+ var element = _iterator__ex2g4s.i();
16099
+ if (!(element == null) ? typeof element === 'string' : false) {
16100
+ destination.f(element);
16101
+ }
16102
+ }
16103
+ tmp = destination;
16104
+ } else {
16105
+ if (!(value == null) ? typeof value === 'string' : false) {
16106
+ tmp = listOf_0(value);
16107
+ } else {
16108
+ tmp = null;
16109
+ }
16110
+ }
16111
+ return tmp;
16112
+ }
16053
16113
  function isStandardFieldType($this, fieldType) {
16054
16114
  return !(fieldType == null) && ($this.u45_1.j1(fieldType) || $this.v45_1.j1(fieldType));
16055
16115
  }
@@ -16107,716 +16167,6 @@ protoOf(ZdlModelValidator).y45 = function (model) {
16107
16167
  validateLifecycles(this, model);
16108
16168
  return model;
16109
16169
  };
16110
- function labelText($this, text) {
16111
- return replace_0(replace_0($this.c47(text), '[', ''), ']', '');
16112
- }
16113
- function fieldMembers($this, type) {
16114
- // Inline function 'kotlin.collections.map' call
16115
- var this_0 = section(type, 'fields').r1();
16116
- // Inline function 'kotlin.collections.mapTo' call
16117
- var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
16118
- var _iterator__ex2g4s = this_0.g();
16119
- while (_iterator__ex2g4s.h()) {
16120
- var item = _iterator__ex2g4s.i();
16121
- var field = map(item);
16122
- var tmp = field.p1('type');
16123
- var tmp0_elvis_lhs = (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : null;
16124
- var fieldType = (tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs) + (equals(field.p1('isArray'), true) ? '[]' : '');
16125
- var tmp_0 = field.p1('name');
16126
- var tmp1_elvis_lhs = (!(tmp_0 == null) ? typeof tmp_0 === 'string' : false) ? tmp_0 : null;
16127
- var tmp$ret$0 = member($this, fieldType + ' ' + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs));
16128
- destination.f(tmp$ret$0);
16129
- }
16130
- return destination;
16131
- }
16132
- function fieldLinks($this, source, type, declared, allTypes) {
16133
- // Inline function 'kotlin.collections.mapNotNull' call
16134
- var tmp0 = section(type, 'fields').r1();
16135
- // Inline function 'kotlin.collections.mapNotNullTo' call
16136
- var destination = ArrayList_init_$Create$();
16137
- // Inline function 'kotlin.collections.forEach' call
16138
- var _iterator__ex2g4s = tmp0.g();
16139
- while (_iterator__ex2g4s.h()) {
16140
- var element = _iterator__ex2g4s.i();
16141
- var tmp$ret$0;
16142
- $l$block_0: {
16143
- var field = map(element);
16144
- var tmp = field.p1('type');
16145
- var tmp0_elvis_lhs = (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : null;
16146
- var tmp_0;
16147
- if (tmp0_elvis_lhs == null) {
16148
- tmp$ret$0 = null;
16149
- break $l$block_0;
16150
- } else {
16151
- tmp_0 = tmp0_elvis_lhs;
16152
- }
16153
- var target = tmp_0;
16154
- if (target === source || !declared.n1(target)) {
16155
- tmp$ret$0 = null;
16156
- break $l$block_0;
16157
- }
16158
- var embedded = equals(section(map(allTypes.p1(target)), 'options').p1('embedded'), true);
16159
- var arrow = embedded ? '*--' : '-->';
16160
- var cardinality = equals(field.p1('isArray'), true) ? '"*" ' : '';
16161
- var tmp_1 = Companion_getInstance_7().d47(source);
16162
- var tmp_2 = Companion_getInstance_7().d47(target);
16163
- var tmp_3 = Companion_getInstance_7();
16164
- var tmp_4 = field.p1('name');
16165
- var tmp1_elvis_lhs = (!(tmp_4 == null) ? typeof tmp_4 === 'string' : false) ? tmp_4 : null;
16166
- tmp$ret$0 = tmp_1 + ' ' + arrow + ' ' + cardinality + tmp_2 + ' : ' + tmp_3.c47(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
16167
- }
16168
- var tmp0_safe_receiver = tmp$ret$0;
16169
- if (tmp0_safe_receiver == null)
16170
- null;
16171
- else {
16172
- // Inline function 'kotlin.let' call
16173
- destination.f(tmp0_safe_receiver);
16174
- }
16175
- }
16176
- return destination;
16177
- }
16178
- function classBlock($this, name, stereotype, members) {
16179
- // Inline function 'kotlin.text.buildString' call
16180
- // Inline function 'kotlin.apply' call
16181
- var this_0 = StringBuilder_init_$Create$();
16182
- $l$block: {
16183
- var identifier = Companion_getInstance_7().d47(name);
16184
- var label = labelText(Companion_getInstance_7(), name);
16185
- if (!(identifier === name)) {
16186
- this_0.u6(' class ').u6(identifier).u6('["').u6(label).u6('"]\n');
16187
- }
16188
- if (stereotype == null && members.l()) {
16189
- if (identifier === name) {
16190
- this_0.u6(' class ').u6(identifier).v6(_Char___init__impl__6a9atx(10));
16191
- }
16192
- break $l$block;
16193
- }
16194
- this_0.u6(' class ').u6(identifier).u6(' {\n');
16195
- if (stereotype == null)
16196
- null;
16197
- else {
16198
- // Inline function 'kotlin.let' call
16199
- this_0.u6(' <<').u6(stereotype).u6('>>\n');
16200
- }
16201
- // Inline function 'kotlin.collections.filter' call
16202
- // Inline function 'kotlin.collections.filterTo' call
16203
- var destination = ArrayList_init_$Create$();
16204
- var _iterator__ex2g4s = members.g();
16205
- while (_iterator__ex2g4s.h()) {
16206
- var element = _iterator__ex2g4s.i();
16207
- // Inline function 'kotlin.text.isNotBlank' call
16208
- if (!isBlank(element)) {
16209
- destination.f(element);
16210
- }
16211
- }
16212
- // Inline function 'kotlin.collections.forEach' call
16213
- var _iterator__ex2g4s_0 = destination.g();
16214
- while (_iterator__ex2g4s_0.h()) {
16215
- var element_0 = _iterator__ex2g4s_0.i();
16216
- this_0.u6(' ').u6(element_0).v6(_Char___init__impl__6a9atx(10));
16217
- }
16218
- this_0.u6(' }\n');
16219
- }
16220
- return this_0.toString();
16221
- }
16222
- function method($this, name, params, returnType, withEvents) {
16223
- var events = renderEvents($this, withEvents);
16224
- var tmp;
16225
- if (events == null) {
16226
- tmp = null;
16227
- } else {
16228
- // Inline function 'kotlin.let' call
16229
- tmp = 'withEvents ' + events;
16230
- }
16231
- var tail = joinToString(listOfNotNull([returnType, tmp]), ' ');
16232
- var tmp_0 = Companion_getInstance_7();
16233
- var tmp_1 = name + '(' + joinToString(params, ', ') + ')';
16234
- var tmp_2;
16235
- // Inline function 'kotlin.text.isEmpty' call
16236
- if (charSequenceLength(tail) === 0) {
16237
- tmp_2 = '';
16238
- } else {
16239
- tmp_2 = ' ' + tail;
16240
- }
16241
- return tmp_0.c47(tmp_1 + tmp_2);
16242
- }
16243
- function member($this, text) {
16244
- return Companion_getInstance_7().c47(text);
16245
- }
16246
- function renderEvents($this, withEvents) {
16247
- var tmp0_elvis_lhs = (!(withEvents == null) ? isInterface(withEvents, KtList) : false) ? withEvents : null;
16248
- var tmp;
16249
- if (tmp0_elvis_lhs == null) {
16250
- return null;
16251
- } else {
16252
- tmp = tmp0_elvis_lhs;
16253
- }
16254
- var list = tmp;
16255
- if (list.l())
16256
- return null;
16257
- return joinToString(list, ' ', VOID, VOID, VOID, VOID, ZdlToMermaidClassDiagramTransformer$renderEvents$lambda);
16258
- }
16259
- function flattenEvents($this, withEvents) {
16260
- // Inline function 'kotlin.collections.orEmpty' call
16261
- var tmp0_elvis_lhs = (!(withEvents == null) ? isInterface(withEvents, KtList) : false) ? withEvents : null;
16262
- // Inline function 'kotlin.collections.flatMap' call
16263
- var tmp0 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
16264
- // Inline function 'kotlin.collections.flatMapTo' call
16265
- var destination = ArrayList_init_$Create$();
16266
- var _iterator__ex2g4s = tmp0.g();
16267
- while (_iterator__ex2g4s.h()) {
16268
- var element = _iterator__ex2g4s.i();
16269
- var tmp;
16270
- if (!(element == null) ? isInterface(element, KtList) : false) {
16271
- // Inline function 'kotlin.collections.mapNotNull' call
16272
- // Inline function 'kotlin.collections.mapNotNullTo' call
16273
- var destination_0 = ArrayList_init_$Create$();
16274
- // Inline function 'kotlin.collections.forEach' call
16275
- var _iterator__ex2g4s_0 = element.g();
16276
- while (_iterator__ex2g4s_0.h()) {
16277
- var element_0 = _iterator__ex2g4s_0.i();
16278
- var tmp0_safe_receiver = (!(element_0 == null) ? typeof element_0 === 'string' : false) ? element_0 : null;
16279
- if (tmp0_safe_receiver == null)
16280
- null;
16281
- else {
16282
- // Inline function 'kotlin.let' call
16283
- destination_0.f(tmp0_safe_receiver);
16284
- }
16285
- }
16286
- tmp = destination_0;
16287
- } else {
16288
- if (!(element == null) ? typeof element === 'string' : false) {
16289
- tmp = listOf_0(element);
16290
- } else {
16291
- tmp = emptyList();
16292
- }
16293
- }
16294
- var list = tmp;
16295
- addAll(destination, list);
16296
- }
16297
- return destination;
16298
- }
16299
- function Companion_5() {
16300
- Companion_instance_5 = this;
16301
- this.b47_1 = setOf(['classDiagram', 'class', 'namespace', 'direction', 'click', 'link', 'callback', 'call', 'href', 'note', 'style', 'classDef', 'cssClass', 'end', 'accTitle', 'accDescr', 'title']);
16302
- }
16303
- protoOf(Companion_5).d47 = function (name) {
16304
- // Inline function 'kotlin.text.replace' call
16305
- var identifier = Regex_init_$Create$('[^A-Za-z0-9_]').j9(name, '_');
16306
- var tmp;
16307
- // Inline function 'kotlin.text.isEmpty' call
16308
- var this_0 = identifier;
16309
- if (charSequenceLength(this_0) === 0) {
16310
- tmp = true;
16311
- } else {
16312
- tmp = isDigit(charCodeAt(identifier, 0));
16313
- }
16314
- if (tmp)
16315
- identifier = '_' + identifier;
16316
- var tmp0 = this.b47_1;
16317
- var tmp$ret$2;
16318
- $l$block_0: {
16319
- // Inline function 'kotlin.collections.any' call
16320
- var tmp_0;
16321
- if (isInterface(tmp0, Collection)) {
16322
- tmp_0 = tmp0.l();
16323
- } else {
16324
- tmp_0 = false;
16325
- }
16326
- if (tmp_0) {
16327
- tmp$ret$2 = false;
16328
- break $l$block_0;
16329
- }
16330
- var _iterator__ex2g4s = tmp0.g();
16331
- while (_iterator__ex2g4s.h()) {
16332
- var element = _iterator__ex2g4s.i();
16333
- if (equals_0(element, identifier, true)) {
16334
- tmp$ret$2 = true;
16335
- break $l$block_0;
16336
- }
16337
- }
16338
- tmp$ret$2 = false;
16339
- }
16340
- if (tmp$ret$2)
16341
- identifier = identifier + '_';
16342
- return identifier;
16343
- };
16344
- protoOf(Companion_5).c47 = function (text) {
16345
- // Inline function 'kotlin.text.replace' call
16346
- var tmp0 = Regex_init_$Create$('[\\r\\n]+').j9(text, ' ');
16347
- // Inline function 'kotlin.text.replace' call
16348
- // Inline function 'kotlin.text.trim' call
16349
- var this_0 = Regex_init_$Create$('[{}<>"\'`~;#%:$*\\\\]').j9(tmp0, '');
16350
- return toString_0(trim(isCharSequence(this_0) ? this_0 : THROW_CCE()));
16351
- };
16352
- var Companion_instance_5;
16353
- function Companion_getInstance_7() {
16354
- if (Companion_instance_5 == null)
16355
- new Companion_5();
16356
- return Companion_instance_5;
16357
- }
16358
- function ZdlToMermaidClassDiagramTransformer$transform$lambda(it) {
16359
- return Companion_getInstance_7().c47(it);
16360
- }
16361
- function ZdlToMermaidClassDiagramTransformer$renderEvents$lambda(event) {
16362
- var tmp;
16363
- if (!(event == null) ? isInterface(event, KtList) : false) {
16364
- tmp = joinToString(event, ' or ', VOID, VOID, VOID, VOID, ZdlToMermaidClassDiagramTransformer$renderEvents$lambda$lambda);
16365
- } else {
16366
- tmp = toString_1(event);
16367
- }
16368
- return tmp;
16369
- }
16370
- function ZdlToMermaidClassDiagramTransformer$renderEvents$lambda$lambda(it) {
16371
- return toString_1(it);
16372
- }
16373
- function ZdlToMermaidClassDiagramTransformer() {
16374
- Companion_getInstance_7();
16375
- }
16376
- protoOf(ZdlToMermaidClassDiagramTransformer).c46 = function (model) {
16377
- var aggregates = section(model, 'aggregates');
16378
- var entities = section(model, 'entities');
16379
- var enums = section(model, 'enums');
16380
- var inputs = section(model, 'inputs');
16381
- var outputs = section(model, 'outputs');
16382
- var events = section(model, 'events');
16383
- var services = section(model, 'services');
16384
- // Inline function 'kotlin.collections.linkedMapOf' call
16385
- var declared = LinkedHashMap_init_$Create$();
16386
- // Inline function 'kotlin.collections.forEach' call
16387
- var _iterator__ex2g4s = aggregates.q1().g();
16388
- while (_iterator__ex2g4s.h()) {
16389
- var element = _iterator__ex2g4s.i();
16390
- // Inline function 'kotlin.collections.set' call
16391
- var value = 'aggregates';
16392
- declared.t1(element, value);
16393
- }
16394
- // Inline function 'kotlin.collections.forEach' call
16395
- var _iterator__ex2g4s_0 = entities.q1().g();
16396
- while (_iterator__ex2g4s_0.h()) {
16397
- var element_0 = _iterator__ex2g4s_0.i();
16398
- // Inline function 'kotlin.collections.getOrPut' call
16399
- var value_0 = declared.p1(element_0);
16400
- var tmp;
16401
- if (value_0 == null) {
16402
- var answer = 'entities';
16403
- declared.t1(element_0, answer);
16404
- tmp = answer;
16405
- } else {
16406
- tmp = value_0;
16407
- }
16408
- }
16409
- // Inline function 'kotlin.collections.forEach' call
16410
- var _iterator__ex2g4s_1 = enums.q1().g();
16411
- while (_iterator__ex2g4s_1.h()) {
16412
- var element_1 = _iterator__ex2g4s_1.i();
16413
- // Inline function 'kotlin.collections.getOrPut' call
16414
- var value_1 = declared.p1(element_1);
16415
- var tmp_0;
16416
- if (value_1 == null) {
16417
- var answer_0 = 'enums';
16418
- declared.t1(element_1, answer_0);
16419
- tmp_0 = answer_0;
16420
- } else {
16421
- tmp_0 = value_1;
16422
- }
16423
- }
16424
- // Inline function 'kotlin.collections.forEach' call
16425
- var _iterator__ex2g4s_2 = inputs.q1().g();
16426
- while (_iterator__ex2g4s_2.h()) {
16427
- var element_2 = _iterator__ex2g4s_2.i();
16428
- // Inline function 'kotlin.collections.getOrPut' call
16429
- var value_2 = declared.p1(element_2);
16430
- var tmp_1;
16431
- if (value_2 == null) {
16432
- var answer_1 = 'inputs';
16433
- declared.t1(element_2, answer_1);
16434
- tmp_1 = answer_1;
16435
- } else {
16436
- tmp_1 = value_2;
16437
- }
16438
- }
16439
- // Inline function 'kotlin.collections.forEach' call
16440
- var _iterator__ex2g4s_3 = outputs.q1().g();
16441
- while (_iterator__ex2g4s_3.h()) {
16442
- var element_3 = _iterator__ex2g4s_3.i();
16443
- // Inline function 'kotlin.collections.getOrPut' call
16444
- var value_3 = declared.p1(element_3);
16445
- var tmp_2;
16446
- if (value_3 == null) {
16447
- var answer_2 = 'outputs';
16448
- declared.t1(element_3, answer_2);
16449
- tmp_2 = answer_2;
16450
- } else {
16451
- tmp_2 = value_3;
16452
- }
16453
- }
16454
- // Inline function 'kotlin.collections.forEach' call
16455
- var _iterator__ex2g4s_4 = events.q1().g();
16456
- while (_iterator__ex2g4s_4.h()) {
16457
- var element_4 = _iterator__ex2g4s_4.i();
16458
- // Inline function 'kotlin.collections.getOrPut' call
16459
- var value_4 = declared.p1(element_4);
16460
- var tmp_3;
16461
- if (value_4 == null) {
16462
- var answer_3 = 'events';
16463
- declared.t1(element_4, answer_3);
16464
- tmp_3 = answer_3;
16465
- } else {
16466
- tmp_3 = value_4;
16467
- }
16468
- }
16469
- // Inline function 'kotlin.collections.linkedMapOf' call
16470
- // Inline function 'kotlin.apply' call
16471
- var this_0 = LinkedHashMap_init_$Create$();
16472
- this_0.u1(events);
16473
- this_0.u1(outputs);
16474
- this_0.u1(inputs);
16475
- this_0.u1(enums);
16476
- this_0.u1(entities);
16477
- var allTypes = this_0;
16478
- // Inline function 'kotlin.collections.mapNotNull' call
16479
- var tmp0 = aggregates.r1();
16480
- // Inline function 'kotlin.collections.mapNotNullTo' call
16481
- var destination = ArrayList_init_$Create$();
16482
- // Inline function 'kotlin.collections.forEach' call
16483
- var _iterator__ex2g4s_5 = tmp0.g();
16484
- while (_iterator__ex2g4s_5.h()) {
16485
- var element_5 = _iterator__ex2g4s_5.i();
16486
- var tmp_4 = map(element_5).p1('aggregateRoot');
16487
- var tmp0_safe_receiver = (!(tmp_4 == null) ? typeof tmp_4 === 'string' : false) ? tmp_4 : null;
16488
- if (tmp0_safe_receiver == null)
16489
- null;
16490
- else {
16491
- // Inline function 'kotlin.let' call
16492
- destination.f(tmp0_safe_receiver);
16493
- }
16494
- }
16495
- var aggregateRoots = toSet(destination);
16496
- // Inline function 'kotlin.collections.mutableListOf' call
16497
- var classes = ArrayList_init_$Create$();
16498
- var links = LinkedHashSet_init_$Create$();
16499
- // Inline function 'kotlin.collections.iterator' call
16500
- var _iterator__ex2g4s_6 = aggregates.s1().g();
16501
- while (_iterator__ex2g4s_6.h()) {
16502
- var _destruct__k2r9zo = _iterator__ex2g4s_6.i();
16503
- // Inline function 'kotlin.collections.component1' call
16504
- var name = _destruct__k2r9zo.l1();
16505
- // Inline function 'kotlin.collections.component2' call
16506
- var aggregate = _destruct__k2r9zo.m1();
16507
- // Inline function 'kotlin.collections.map' call
16508
- var this_1 = section(map(aggregate), 'commands').r1();
16509
- // Inline function 'kotlin.collections.mapTo' call
16510
- var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
16511
- var _iterator__ex2g4s_7 = this_1.g();
16512
- while (_iterator__ex2g4s_7.h()) {
16513
- var item = _iterator__ex2g4s_7.i();
16514
- var c = map(item);
16515
- var tmp_5 = c.p1('parameter');
16516
- var tmp0_safe_receiver_0 = (!(tmp_5 == null) ? typeof tmp_5 === 'string' : false) ? tmp_5 : null;
16517
- var tmp_6;
16518
- if (tmp0_safe_receiver_0 == null) {
16519
- tmp_6 = null;
16520
- } else {
16521
- // Inline function 'kotlin.let' call
16522
- tmp_6 = tmp0_safe_receiver_0 + (equals(c.p1('parameterIsOptional'), true) ? '?' : '');
16523
- }
16524
- var parameter = tmp_6;
16525
- var tmp_7 = c.p1('name');
16526
- var tmp1_elvis_lhs = (!(tmp_7 == null) ? typeof tmp_7 === 'string' : false) ? tmp_7 : null;
16527
- var tmp$ret$40 = method(this, tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs, listOfNotNull_0(parameter), null, c.p1('withEvents'));
16528
- destination_0.f(tmp$ret$40);
16529
- }
16530
- var members = destination_0;
16531
- // Inline function 'kotlin.collections.plusAssign' call
16532
- var element_6 = classBlock(this, name, 'aggregate', members);
16533
- classes.f(element_6);
16534
- var tmp_8 = map(aggregate).p1('aggregateRoot');
16535
- var tmp0_safe_receiver_1 = (!(tmp_8 == null) ? typeof tmp_8 === 'string' : false) ? tmp_8 : null;
16536
- if (tmp0_safe_receiver_1 == null)
16537
- null;
16538
- else {
16539
- // Inline function 'kotlin.let' call
16540
- if (entities.n1(tmp0_safe_receiver_1)) {
16541
- // Inline function 'kotlin.collections.plusAssign' call
16542
- var element_7 = Companion_getInstance_7().d47(name) + ' *-- ' + Companion_getInstance_7().d47(tmp0_safe_receiver_1);
16543
- links.f(element_7);
16544
- }
16545
- }
16546
- }
16547
- // Inline function 'kotlin.collections.iterator' call
16548
- var _iterator__ex2g4s_8 = entities.s1().g();
16549
- while (_iterator__ex2g4s_8.h()) {
16550
- var _destruct__k2r9zo_0 = _iterator__ex2g4s_8.i();
16551
- // Inline function 'kotlin.collections.component1' call
16552
- var name_0 = _destruct__k2r9zo_0.l1();
16553
- // Inline function 'kotlin.collections.component2' call
16554
- var entity = _destruct__k2r9zo_0.m1();
16555
- var e = map(entity);
16556
- var stereotype = aggregateRoots.j1(name_0) || equals(section(e, 'options').p1('aggregate'), true) ? 'aggregate' : equals(section(e, 'options').p1('embedded'), true) ? 'embedded' : null;
16557
- // Inline function 'kotlin.collections.plusAssign' call
16558
- var element_8 = classBlock(this, name_0, stereotype, fieldMembers(this, e));
16559
- classes.f(element_8);
16560
- // Inline function 'kotlin.collections.plusAssign' call
16561
- var elements = fieldLinks(this, name_0, e, declared, allTypes);
16562
- addAll(links, elements);
16563
- }
16564
- // Inline function 'kotlin.collections.iterator' call
16565
- var _iterator__ex2g4s_9 = enums.s1().g();
16566
- while (_iterator__ex2g4s_9.h()) {
16567
- var _destruct__k2r9zo_1 = _iterator__ex2g4s_9.i();
16568
- // Inline function 'kotlin.collections.component1' call
16569
- var name_1 = _destruct__k2r9zo_1.l1();
16570
- // Inline function 'kotlin.collections.component2' call
16571
- var enum_0 = _destruct__k2r9zo_1.m1();
16572
- // Inline function 'kotlin.collections.map' call
16573
- var this_2 = section(map(enum_0), 'values').r1();
16574
- // Inline function 'kotlin.collections.mapTo' call
16575
- var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_2, 10));
16576
- var _iterator__ex2g4s_10 = this_2.g();
16577
- while (_iterator__ex2g4s_10.h()) {
16578
- var item_0 = _iterator__ex2g4s_10.i();
16579
- var value_5 = map(item_0);
16580
- var tmp_9 = value_5.p1('name');
16581
- var tmp0_elvis_lhs = (!(tmp_9 == null) ? typeof tmp_9 === 'string' : false) ? tmp_9 : null;
16582
- var valueName = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
16583
- var tmp1_safe_receiver = value_5.p1('value');
16584
- var literal = tmp1_safe_receiver == null ? null : toString_0(tmp1_safe_receiver);
16585
- var tmp$ret$55 = literal == null ? member(this, valueName) : member(this, valueName + ' = ' + literal);
16586
- destination_1.f(tmp$ret$55);
16587
- }
16588
- var members_0 = destination_1;
16589
- // Inline function 'kotlin.collections.plusAssign' call
16590
- var element_9 = classBlock(this, name_1, 'enumeration', members_0);
16591
- classes.f(element_9);
16592
- }
16593
- var _iterator__ex2g4s_11 = listOf([to(inputs, 'input'), to(outputs, 'output'), to(events, 'event')]).g();
16594
- while (_iterator__ex2g4s_11.h()) {
16595
- var _destruct__k2r9zo_2 = _iterator__ex2g4s_11.i();
16596
- var collection = _destruct__k2r9zo_2.sb();
16597
- var stereotype_0 = _destruct__k2r9zo_2.tb();
16598
- // Inline function 'kotlin.collections.iterator' call
16599
- var _iterator__ex2g4s_12 = collection.s1().g();
16600
- while (_iterator__ex2g4s_12.h()) {
16601
- var _destruct__k2r9zo_3 = _iterator__ex2g4s_12.i();
16602
- // Inline function 'kotlin.collections.component1' call
16603
- var name_2 = _destruct__k2r9zo_3.l1();
16604
- // Inline function 'kotlin.collections.component2' call
16605
- var type = _destruct__k2r9zo_3.m1();
16606
- // Inline function 'kotlin.collections.plusAssign' call
16607
- var element_10 = classBlock(this, name_2, stereotype_0, fieldMembers(this, map(type)));
16608
- classes.f(element_10);
16609
- // Inline function 'kotlin.collections.plusAssign' call
16610
- var elements_0 = fieldLinks(this, name_2, map(type), declared, allTypes);
16611
- addAll(links, elements_0);
16612
- }
16613
- }
16614
- // Inline function 'kotlin.collections.iterator' call
16615
- var _iterator__ex2g4s_13 = services.s1().g();
16616
- while (_iterator__ex2g4s_13.h()) {
16617
- var _destruct__k2r9zo_4 = _iterator__ex2g4s_13.i();
16618
- // Inline function 'kotlin.collections.component1' call
16619
- var name_3 = _destruct__k2r9zo_4.l1();
16620
- // Inline function 'kotlin.collections.component2' call
16621
- var service = _destruct__k2r9zo_4.m1();
16622
- var s = map(service);
16623
- // Inline function 'kotlin.collections.map' call
16624
- var this_3 = section(s, 'methods').r1();
16625
- // Inline function 'kotlin.collections.mapTo' call
16626
- var destination_2 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_3, 10));
16627
- var _iterator__ex2g4s_14 = this_3.g();
16628
- while (_iterator__ex2g4s_14.h()) {
16629
- var item_1 = _iterator__ex2g4s_14.i();
16630
- var tmp$ret$67 = map(item_1);
16631
- destination_2.f(tmp$ret$67);
16632
- }
16633
- var methods = destination_2;
16634
- // Inline function 'kotlin.collections.map' call
16635
- // Inline function 'kotlin.collections.mapTo' call
16636
- var destination_3 = ArrayList_init_$Create$_0(collectionSizeOrDefault(methods, 10));
16637
- var _iterator__ex2g4s_15 = methods.g();
16638
- while (_iterator__ex2g4s_15.h()) {
16639
- var item_2 = _iterator__ex2g4s_15.i();
16640
- var tmp_10;
16641
- if (item_2.p1('paramId') == null) {
16642
- tmp_10 = null;
16643
- } else {
16644
- // Inline function 'kotlin.let' call
16645
- tmp_10 = 'id' + (equals(item_2.p1('paramIdIsOptional'), true) ? '?' : '');
16646
- }
16647
- var tmp_11 = tmp_10;
16648
- var tmp_12 = item_2.p1('parameter');
16649
- var tmp1_safe_receiver_0 = (!(tmp_12 == null) ? typeof tmp_12 === 'string' : false) ? tmp_12 : null;
16650
- var tmp_13;
16651
- if (tmp1_safe_receiver_0 == null) {
16652
- tmp_13 = null;
16653
- } else {
16654
- // Inline function 'kotlin.let' call
16655
- tmp_13 = tmp1_safe_receiver_0 + (equals(item_2.p1('parameterIsOptional'), true) ? '?' : '');
16656
- }
16657
- var params = listOfNotNull([tmp_11, tmp_13]);
16658
- var tmp_14 = item_2.p1('returnType');
16659
- var tmp2_safe_receiver = (!(tmp_14 == null) ? typeof tmp_14 === 'string' : false) ? tmp_14 : null;
16660
- var tmp_15;
16661
- if (tmp2_safe_receiver == null) {
16662
- tmp_15 = null;
16663
- } else {
16664
- // Inline function 'kotlin.let' call
16665
- tmp_15 = tmp2_safe_receiver + (equals(item_2.p1('returnTypeIsArray'), true) ? '[]' : '') + (equals(item_2.p1('returnTypeIsOptional'), true) ? '?' : '');
16666
- }
16667
- var returnType = tmp_15;
16668
- var tmp_16 = item_2.p1('name');
16669
- var tmp3_elvis_lhs = (!(tmp_16 == null) ? typeof tmp_16 === 'string' : false) ? tmp_16 : null;
16670
- var tmp$ret$76 = method(this, tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs, params, returnType, item_2.p1('withEvents'));
16671
- destination_3.f(tmp$ret$76);
16672
- }
16673
- var members_1 = destination_3;
16674
- // Inline function 'kotlin.collections.plusAssign' call
16675
- var element_11 = classBlock(this, name_3, 'service', members_1);
16676
- classes.f(element_11);
16677
- var tmp_17 = s.p1('aggregates');
16678
- // Inline function 'kotlin.collections.orEmpty' call
16679
- var tmp0_elvis_lhs_0 = (!(tmp_17 == null) ? isInterface(tmp_17, KtList) : false) ? tmp_17 : null;
16680
- var _iterator__ex2g4s_16 = (tmp0_elvis_lhs_0 == null ? emptyList() : tmp0_elvis_lhs_0).g();
16681
- $l$loop: while (_iterator__ex2g4s_16.h()) {
16682
- var aggregate_0 = _iterator__ex2g4s_16.i();
16683
- var tmp1_elvis_lhs_0 = (!(aggregate_0 == null) ? typeof aggregate_0 === 'string' : false) ? aggregate_0 : null;
16684
- var tmp_18;
16685
- if (tmp1_elvis_lhs_0 == null) {
16686
- continue $l$loop;
16687
- } else {
16688
- tmp_18 = tmp1_elvis_lhs_0;
16689
- }
16690
- var target = tmp_18;
16691
- if (declared.n1(target)) {
16692
- // Inline function 'kotlin.collections.plusAssign' call
16693
- var element_12 = Companion_getInstance_7().d47(name_3) + ' ..> ' + Companion_getInstance_7().d47(target);
16694
- links.f(element_12);
16695
- }
16696
- }
16697
- var _iterator__ex2g4s_17 = methods.g();
16698
- while (_iterator__ex2g4s_17.h()) {
16699
- var m = _iterator__ex2g4s_17.i();
16700
- var tmp_19 = m.p1('parameter');
16701
- var tmp_20 = (!(tmp_19 == null) ? typeof tmp_19 === 'string' : false) ? tmp_19 : null;
16702
- var tmp_21 = m.p1('returnType');
16703
- var types = plus(listOfNotNull([tmp_20, (!(tmp_21 == null) ? typeof tmp_21 === 'string' : false) ? tmp_21 : null]), flattenEvents(this, m.p1('withEvents')));
16704
- var _iterator__ex2g4s_18 = types.g();
16705
- $l$loop_0: while (_iterator__ex2g4s_18.h()) {
16706
- var type_0 = _iterator__ex2g4s_18.i();
16707
- var tmp2_elvis_lhs = declared.p1(type_0);
16708
- var tmp_22;
16709
- if (tmp2_elvis_lhs == null) {
16710
- continue $l$loop_0;
16711
- } else {
16712
- tmp_22 = tmp2_elvis_lhs;
16713
- }
16714
- var kind = tmp_22;
16715
- switch (kind) {
16716
- case 'inputs':
16717
- case 'outputs':
16718
- case 'events':
16719
- // Inline function 'kotlin.collections.plusAssign' call
16720
-
16721
- var element_13 = Companion_getInstance_7().d47(name_3) + ' ..> ' + Companion_getInstance_7().d47(type_0);
16722
- links.f(element_13);
16723
- break;
16724
- }
16725
- }
16726
- }
16727
- }
16728
- var relationships = section(model, 'relationships');
16729
- // Inline function 'kotlin.collections.iterator' call
16730
- var _iterator__ex2g4s_19 = relationships.s1().g();
16731
- $l$loop_1: while (_iterator__ex2g4s_19.h()) {
16732
- var _destruct__k2r9zo_5 = _iterator__ex2g4s_19.i();
16733
- // Inline function 'kotlin.collections.component1' call
16734
- var relationshipType = _destruct__k2r9zo_5.l1();
16735
- // Inline function 'kotlin.collections.component2' call
16736
- var byName = _destruct__k2r9zo_5.m1();
16737
- var tmp_23;
16738
- switch (relationshipType) {
16739
- case 'OneToOne':
16740
- tmp_23 = to('1', '1');
16741
- break;
16742
- case 'OneToMany':
16743
- tmp_23 = to('1', '*');
16744
- break;
16745
- case 'ManyToOne':
16746
- tmp_23 = to('*', '1');
16747
- break;
16748
- case 'ManyToMany':
16749
- tmp_23 = to('*', '*');
16750
- break;
16751
- default:
16752
- continue $l$loop_1;
16753
- }
16754
- var _destruct__k2r9zo_6 = tmp_23;
16755
- var fromCardinality = _destruct__k2r9zo_6.sb();
16756
- var toCardinality = _destruct__k2r9zo_6.tb();
16757
- var _iterator__ex2g4s_20 = map(byName).r1().g();
16758
- $l$loop_3: while (_iterator__ex2g4s_20.h()) {
16759
- var relationship = _iterator__ex2g4s_20.i();
16760
- var r = map(relationship);
16761
- var tmp_24 = r.p1('from');
16762
- var tmp4_elvis_lhs = (!(tmp_24 == null) ? typeof tmp_24 === 'string' : false) ? tmp_24 : null;
16763
- var tmp_25;
16764
- if (tmp4_elvis_lhs == null) {
16765
- continue $l$loop_3;
16766
- } else {
16767
- tmp_25 = tmp4_elvis_lhs;
16768
- }
16769
- var from = tmp_25;
16770
- var tmp_26 = r.p1('to');
16771
- var tmp5_elvis_lhs = (!(tmp_26 == null) ? typeof tmp_26 === 'string' : false) ? tmp_26 : null;
16772
- var tmp_27;
16773
- if (tmp5_elvis_lhs == null) {
16774
- continue $l$loop_3;
16775
- } else {
16776
- tmp_27 = tmp5_elvis_lhs;
16777
- }
16778
- var to_0 = tmp_27;
16779
- var tmp_28 = r.p1('injectedFieldInFrom');
16780
- var fromField = (!(tmp_28 == null) ? typeof tmp_28 === 'string' : false) ? tmp_28 : null;
16781
- var tmp_29 = r.p1('injectedFieldInTo');
16782
- var toField = (!(tmp_29 == null) ? typeof tmp_29 === 'string' : false) ? tmp_29 : null;
16783
- var arrow = !(fromField == null) && toField == null ? '-->' : fromField == null && !(toField == null) ? '<--' : '--';
16784
- var tmp_30 = listOfNotNull([fromField, toField]);
16785
- var label = joinToString(tmp_30, ' / ', VOID, VOID, VOID, VOID, ZdlToMermaidClassDiagramTransformer$transform$lambda);
16786
- var suffix = isBlank(label) ? '' : ' : ' + label;
16787
- // Inline function 'kotlin.collections.plusAssign' call
16788
- var element_14 = Companion_getInstance_7().d47(from) + ' "' + fromCardinality + '" ' + arrow + ' "' + toCardinality + '" ' + Companion_getInstance_7().d47(to_0) + suffix;
16789
- links.f(element_14);
16790
- }
16791
- }
16792
- // Inline function 'kotlin.text.buildString' call
16793
- // Inline function 'kotlin.apply' call
16794
- var this_4 = StringBuilder_init_$Create$();
16795
- this_4.u6('classDiagram\n');
16796
- var _iterator__ex2g4s_21 = classes.g();
16797
- while (_iterator__ex2g4s_21.h()) {
16798
- var block = _iterator__ex2g4s_21.i();
16799
- this_4.u6(block);
16800
- }
16801
- var _iterator__ex2g4s_22 = links.g();
16802
- while (_iterator__ex2g4s_22.h()) {
16803
- var link = _iterator__ex2g4s_22.i();
16804
- this_4.u6(' ').u6(link).v6(_Char___init__impl__6a9atx(10));
16805
- }
16806
- if (classes.l() && links.l()) {
16807
- this_4.u6(' note "No types declared"\n');
16808
- }
16809
- return this_4.toString();
16810
- };
16811
- function map(_this__u8e3s4) {
16812
- var tmp0_elvis_lhs = (!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, KtMap) : false) ? _this__u8e3s4 : null;
16813
- return tmp0_elvis_lhs == null ? emptyMap() : tmp0_elvis_lhs;
16814
- }
16815
- function section(_this__u8e3s4, key) {
16816
- var tmp = _this__u8e3s4.p1(key);
16817
- var tmp0_elvis_lhs = (!(tmp == null) ? isInterface(tmp, KtMap) : false) ? tmp : null;
16818
- return tmp0_elvis_lhs == null ? emptyMap() : tmp0_elvis_lhs;
16819
- }
16820
16170
  function problem_0($this, path, value, error) {
16821
16171
  var location = getLocation_0($this, path);
16822
16172
  var message = replace_0(error, '%s', value == null ? '' : value);
@@ -16828,28 +16178,28 @@ function getLocation_0($this, path) {
16828
16178
  }
16829
16179
  function ZflModel(delegate) {
16830
16180
  delegate = delegate === VOID ? buildMap() : delegate;
16831
- this.e47_1 = delegate;
16181
+ this.x46_1 = delegate;
16832
16182
  // Inline function 'kotlin.collections.mutableListOf' call
16833
16183
  var tmp$ret$0 = ArrayList_init_$Create$();
16834
- putEntry(this.e47_1, 'imports', tmp$ret$0);
16835
- putEntry(this.e47_1, 'config', buildMap());
16836
- putEntry(this.e47_1, 'systems', buildMap());
16837
- putEntry(this.e47_1, 'flows', buildMap());
16838
- putEntry(this.e47_1, 'locations', buildMap());
16184
+ putEntry(this.x46_1, 'imports', tmp$ret$0);
16185
+ putEntry(this.x46_1, 'config', buildMap());
16186
+ putEntry(this.x46_1, 'systems', buildMap());
16187
+ putEntry(this.x46_1, 'flows', buildMap());
16188
+ putEntry(this.x46_1, 'locations', buildMap());
16839
16189
  // Inline function 'kotlin.collections.mutableListOf' call
16840
16190
  var tmp$ret$1 = ArrayList_init_$Create$();
16841
- putEntry(this.e47_1, 'problems', tmp$ret$1);
16191
+ putEntry(this.x46_1, 'problems', tmp$ret$1);
16842
16192
  }
16843
16193
  protoOf(ZflModel).n44 = function (collection, key, value) {
16844
- appendTo(this.e47_1, collection, key, value);
16194
+ appendTo(this.x46_1, collection, key, value);
16845
16195
  return this;
16846
16196
  };
16847
16197
  protoOf(ZflModel).p44 = function (collection, value) {
16848
- appendToList(this.e47_1, collection, value);
16198
+ appendToList(this.x46_1, collection, value);
16849
16199
  return this;
16850
16200
  };
16851
16201
  protoOf(ZflModel).x44 = function () {
16852
- var tmp = this.e47_1.p1('problems');
16202
+ var tmp = this.x46_1.p1('problems');
16853
16203
  return (!(tmp == null) ? isInterface(tmp, KtMutableList) : false) ? tmp : THROW_CCE();
16854
16204
  };
16855
16205
  protoOf(ZflModel).y44 = function (location, positions) {
@@ -16860,7 +16210,7 @@ protoOf(ZflModel).y44 = function (location, positions) {
16860
16210
  protoOf(ZflModel).a45 = function (path, value, error) {
16861
16211
  try {
16862
16212
  var p = problem_0(this, path, value, error);
16863
- var tmp = this.e47_1.p1('problems');
16213
+ var tmp = this.x46_1.p1('problems');
16864
16214
  ((!(tmp == null) ? isInterface(tmp, KtMutableList) : false) ? tmp : THROW_CCE()).f(p);
16865
16215
  } catch ($p) {
16866
16216
  if ($p instanceof Exception) {
@@ -16872,32 +16222,32 @@ protoOf(ZflModel).a45 = function (path, value, error) {
16872
16222
  }
16873
16223
  };
16874
16224
  protoOf(ZflModel).b45 = function (key, value) {
16875
- return this.e47_1.t1(key, value);
16225
+ return this.x46_1.t1(key, value);
16876
16226
  };
16877
16227
  protoOf(ZflModel).t1 = function (key, value) {
16878
16228
  var tmp = (!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE();
16879
16229
  return this.b45(tmp, (value == null ? true : !(value == null)) ? value : THROW_CCE());
16880
16230
  };
16881
16231
  protoOf(ZflModel).c45 = function (from) {
16882
- this.e47_1.u1(from);
16232
+ this.x46_1.u1(from);
16883
16233
  };
16884
16234
  protoOf(ZflModel).u1 = function (from) {
16885
16235
  return this.c45(from);
16886
16236
  };
16887
16237
  protoOf(ZflModel).q1 = function () {
16888
- return this.e47_1.q1();
16238
+ return this.x46_1.q1();
16889
16239
  };
16890
16240
  protoOf(ZflModel).r1 = function () {
16891
- return this.e47_1.r1();
16241
+ return this.x46_1.r1();
16892
16242
  };
16893
16243
  protoOf(ZflModel).s1 = function () {
16894
- return this.e47_1.s1();
16244
+ return this.x46_1.s1();
16895
16245
  };
16896
16246
  protoOf(ZflModel).l = function () {
16897
- return this.e47_1.l();
16247
+ return this.x46_1.l();
16898
16248
  };
16899
16249
  protoOf(ZflModel).d45 = function (key) {
16900
- return this.e47_1.n1(key);
16250
+ return this.x46_1.n1(key);
16901
16251
  };
16902
16252
  protoOf(ZflModel).n1 = function (key) {
16903
16253
  if (!(!(key == null) ? typeof key === 'string' : false))
@@ -16905,7 +16255,7 @@ protoOf(ZflModel).n1 = function (key) {
16905
16255
  return this.d45((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
16906
16256
  };
16907
16257
  protoOf(ZflModel).u9 = function (key) {
16908
- return this.e47_1.p1(key);
16258
+ return this.x46_1.p1(key);
16909
16259
  };
16910
16260
  protoOf(ZflModel).p1 = function (key) {
16911
16261
  if (!(!(key == null) ? typeof key === 'string' : false))
@@ -16913,20 +16263,20 @@ protoOf(ZflModel).p1 = function (key) {
16913
16263
  return this.u9((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
16914
16264
  };
16915
16265
  protoOf(ZflModel).j = function () {
16916
- return this.e47_1.j();
16266
+ return this.x46_1.j();
16917
16267
  };
16918
16268
  function ZflParseResult(tree, tokens, syntaxProblems) {
16919
- this.f47_1 = tree;
16920
- this.g47_1 = tokens;
16921
- this.h47_1 = syntaxProblems;
16269
+ this.y46_1 = tree;
16270
+ this.z46_1 = tokens;
16271
+ this.a47_1 = syntaxProblems;
16922
16272
  }
16923
16273
  protoOf(ZflParseResult).toString = function () {
16924
- return 'ZflParseResult(tree=' + this.f47_1.toString() + ', tokens=' + toString_0(this.g47_1) + ', syntaxProblems=' + toString_0(this.h47_1) + ')';
16274
+ return 'ZflParseResult(tree=' + this.y46_1.toString() + ', tokens=' + toString_0(this.z46_1) + ', syntaxProblems=' + toString_0(this.a47_1) + ')';
16925
16275
  };
16926
16276
  protoOf(ZflParseResult).hashCode = function () {
16927
- var result = hashCode(this.f47_1);
16928
- result = imul(result, 31) + hashCode(this.g47_1) | 0;
16929
- result = imul(result, 31) + hashCode(this.h47_1) | 0;
16277
+ var result = hashCode(this.y46_1);
16278
+ result = imul(result, 31) + hashCode(this.z46_1) | 0;
16279
+ result = imul(result, 31) + hashCode(this.a47_1) | 0;
16930
16280
  return result;
16931
16281
  };
16932
16282
  protoOf(ZflParseResult).equals = function (other) {
@@ -16934,20 +16284,20 @@ protoOf(ZflParseResult).equals = function (other) {
16934
16284
  return true;
16935
16285
  if (!(other instanceof ZflParseResult))
16936
16286
  return false;
16937
- if (!equals(this.f47_1, other.f47_1))
16287
+ if (!equals(this.y46_1, other.y46_1))
16938
16288
  return false;
16939
- if (!equals(this.g47_1, other.g47_1))
16289
+ if (!equals(this.z46_1, other.z46_1))
16940
16290
  return false;
16941
- if (!equals(this.h47_1, other.h47_1))
16291
+ if (!equals(this.a47_1, other.a47_1))
16942
16292
  return false;
16943
16293
  return true;
16944
16294
  };
16945
16295
  function ZflParser$parse$1($syntaxProblems) {
16946
- this.i47_1 = $syntaxProblems;
16296
+ this.b47_1 = $syntaxProblems;
16947
16297
  BaseErrorListener.call(this);
16948
16298
  }
16949
16299
  protoOf(ZflParser$parse$1).vf = function (recognizer, offendingSymbol, line, charPositionInLine, msg, e) {
16950
- var tmp0 = this.i47_1;
16300
+ var tmp0 = this.b47_1;
16951
16301
  var tmp = to('path', 'syntax');
16952
16302
  // Inline function 'kotlin.intArrayOf' call
16953
16303
  var tmp$ret$0 = new Int32Array([0, 0, line, charPositionInLine, line, charPositionInLine]);
@@ -16969,17 +16319,17 @@ protoOf(ZflParser_0).m45 = function (input) {
16969
16319
  var zflRoot = parser.j43();
16970
16320
  return new ZflParseResult(zflRoot, tokens, syntaxProblems);
16971
16321
  };
16972
- protoOf(ZflParser_0).j47 = function (model, sourceName) {
16322
+ protoOf(ZflParser_0).c47 = function (model, sourceName) {
16973
16323
  var parseResult = this.m45(model);
16974
16324
  var listener = new ZflListenerImpl();
16975
16325
  // Inline function 'kotlin.collections.set' call
16976
- listener.k47_1.t1('source', sourceName);
16326
+ listener.d47_1.t1('source', sourceName);
16977
16327
  try {
16978
- Companion_getInstance_0().o1e_1.p1e(listener, parseResult.f47_1);
16328
+ Companion_getInstance_0().o1e_1.p1e(listener, parseResult.y46_1);
16979
16329
  } catch ($p) {
16980
16330
  if ($p instanceof Exception) {
16981
16331
  var e = $p;
16982
- var tmp = listener.k47_1.x44();
16332
+ var tmp = listener.d47_1.x44();
16983
16333
  var tmp_0 = to('path', 'parser');
16984
16334
  // Inline function 'kotlin.intArrayOf' call
16985
16335
  var tmp$ret$1 = new Int32Array([0, 0, 1, 0, 1, 0]);
@@ -16992,16 +16342,16 @@ protoOf(ZflParser_0).j47 = function (model, sourceName) {
16992
16342
  }
16993
16343
  }
16994
16344
  // Inline function 'kotlin.collections.forEach' call
16995
- var _iterator__ex2g4s = parseResult.h47_1.g();
16345
+ var _iterator__ex2g4s = parseResult.a47_1.g();
16996
16346
  while (_iterator__ex2g4s.h()) {
16997
16347
  var element = _iterator__ex2g4s.i();
16998
- listener.k47_1.x44().f(toMutableMap(element));
16348
+ listener.d47_1.x44().f(toMutableMap(element));
16999
16349
  }
17000
- return listener.k47_1;
16350
+ return listener.d47_1;
17001
16351
  };
17002
- protoOf(ZflParser_0).m47 = function (model, sourceName, $super) {
16352
+ protoOf(ZflParser_0).f47 = function (model, sourceName, $super) {
17003
16353
  sourceName = sourceName === VOID ? '<zfl>' : sourceName;
17004
- return $super === VOID ? this.j47(model, sourceName) : $super.j47.call(this, model, sourceName);
16354
+ return $super === VOID ? this.c47(model, sourceName) : $super.c47.call(this, model, sourceName);
17005
16355
  };
17006
16356
  function getOptions($this, ctx) {
17007
16357
  var options = buildMap();
@@ -17014,7 +16364,7 @@ function getOptions($this, ctx) {
17014
16364
  while (_iterator__ex2g4s.h()) {
17015
16365
  var element = _iterator__ex2g4s.i();
17016
16366
  var name = replace_0(element.v2b().bh(), '@', '');
17017
- var value = ZflListenerUtils_getInstance().o47(element.w2b());
16367
+ var value = ZflListenerUtils_getInstance().h47(element.w2b());
17018
16368
  // Inline function 'kotlin.collections.set' call
17019
16369
  options.t1(name, value);
17020
16370
  }
@@ -17024,7 +16374,7 @@ function getOptions($this, ctx) {
17024
16374
  function getOutcomeEvents($this, ctx) {
17025
16375
  if (ctx == null)
17026
16376
  return null;
17027
- return ZflListenerUtils_getInstance().r46(ctx, ',');
16377
+ return ZflListenerUtils_getInstance().n46(ctx, ',');
17028
16378
  }
17029
16379
  function getOrCreateAction($this, flow, actionName, jd) {
17030
16380
  // Inline function 'kotlin.collections.getOrPut' call
@@ -17051,7 +16401,7 @@ function getOrCreateAction($this, flow, actionName, jd) {
17051
16401
  }
17052
16402
  var tmp_2 = with_0(buildMap(), 'name', actionName);
17053
16403
  var tmp_3 = ZflListenerUtils_getInstance();
17054
- var tmp_4 = with_0(with_0(with_0(tmp_2, 'className', tmp_3.e46(actionName == null ? '' : actionName)), 'javadoc', jd), 'options', buildMap());
16404
+ var tmp_4 = with_0(with_0(with_0(tmp_2, 'className', tmp_3.a46(actionName == null ? '' : actionName)), 'javadoc', jd), 'options', buildMap());
17055
16405
  // Inline function 'kotlin.collections.mutableListOf' call
17056
16406
  var tmp$ret$4 = ArrayList_init_$Create$();
17057
16407
  var tmp_5 = with_0(tmp_4, 'steps', tmp$ret$4);
@@ -17150,7 +16500,7 @@ function createOccurrence($this, flow, actionName, description, triggers, option
17150
16500
  var tmp$ret$9 = ArrayList_init_$Create$();
17151
16501
  var occurrence = with_0(tmp_8, 'responseDetails', tmp$ret$9);
17152
16502
  occurrences.f(occurrence);
17153
- $this.k47_1.y44(locationPath, locations);
16503
+ $this.d47_1.y44(locationPath, locations);
17154
16504
  return occurrence;
17155
16505
  }
17156
16506
  function mergeOccurrence($this, action, occurrence) {
@@ -17196,7 +16546,7 @@ function appendStep($this, action, step) {
17196
16546
  }
17197
16547
  function registerCommand($this, systemName, serviceName, commandName) {
17198
16548
  // Inline function 'kotlin.collections.getOrPut' call
17199
- var this_0 = $this.k47_1;
16549
+ var this_0 = $this.d47_1;
17200
16550
  var value = this_0.p1('systems');
17201
16551
  var tmp;
17202
16552
  if (value == null) {
@@ -17266,133 +16616,133 @@ function registerCommand($this, systemName, serviceName, commandName) {
17266
16616
  (isInterface(tmp_9, MutableCollection) ? tmp_9 : THROW_CCE()).f(commandName);
17267
16617
  }
17268
16618
  function ZflListenerImpl$enterFlow_when$$inlined$groupingBy$1($this) {
17269
- this.p47_1 = $this;
16619
+ this.i47_1 = $this;
17270
16620
  }
17271
16621
  protoOf(ZflListenerImpl$enterFlow_when$$inlined$groupingBy$1).t2 = function () {
17272
- return this.p47_1.g();
16622
+ return this.i47_1.g();
17273
16623
  };
17274
- protoOf(ZflListenerImpl$enterFlow_when$$inlined$groupingBy$1).q47 = function (element) {
16624
+ protoOf(ZflListenerImpl$enterFlow_when$$inlined$groupingBy$1).j47 = function (element) {
17275
16625
  return element;
17276
16626
  };
17277
16627
  protoOf(ZflListenerImpl$enterFlow_when$$inlined$groupingBy$1).u2 = function (element) {
17278
- return this.q47((element == null ? true : !(element == null)) ? element : THROW_CCE());
16628
+ return this.j47((element == null ? true : !(element == null)) ? element : THROW_CCE());
17279
16629
  };
17280
16630
  function ZflListenerImpl() {
17281
16631
  ZflBaseListener.call(this);
17282
- this.k47_1 = new ZflModel();
17283
- this.l47_1 = ArrayDeque_init_$Create$();
16632
+ this.d47_1 = new ZflModel();
16633
+ this.e47_1 = ArrayDeque_init_$Create$();
17284
16634
  }
17285
16635
  protoOf(ZflListenerImpl).q35 = function (ctx) {
17286
16636
  };
17287
16637
  protoOf(ZflListenerImpl).y35 = function (ctx) {
17288
- this.k47_1.b45('javadoc', ZflListenerUtils_getInstance().o46(ctx));
16638
+ this.d47_1.b45('javadoc', ZflListenerUtils_getInstance().k46(ctx));
17289
16639
  };
17290
16640
  protoOf(ZflListenerImpl).s35 = function (ctx) {
17291
- var tmp = with_0(buildMap(), 'key', ZflListenerUtils_getInstance().l46(ctx.x1q()));
16641
+ var tmp = with_0(buildMap(), 'key', ZflListenerUtils_getInstance().h46(ctx.x1q()));
17292
16642
  var tmp_0 = ZflListenerUtils_getInstance();
17293
16643
  var tmp0_safe_receiver = ctx.w1q();
17294
- this.k47_1.p44('imports', with_0(tmp, 'value', tmp_0.r47(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.s1r())));
16644
+ this.d47_1.p44('imports', with_0(tmp, 'value', tmp_0.k47(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.s1r())));
17295
16645
  };
17296
16646
  protoOf(ZflListenerImpl).k37 = function (ctx) {
17297
16647
  var name = ctx.h1z().bh();
17298
- var value = ZflListenerUtils_getInstance().s47(ctx.i1z());
17299
- this.k47_1.n44('config', name, value);
16648
+ var value = ZflListenerUtils_getInstance().l47(ctx.i1z());
16649
+ this.d47_1.n44('config', name, value);
17300
16650
  };
17301
16651
  protoOf(ZflListenerImpl).o38 = function (ctx) {
17302
- var name = ZflListenerUtils_getInstance().l46(ctx.m3r());
17303
- var jd = ZflListenerUtils_getInstance().o46(ctx.z20());
17304
- var tmp = with_0(with_0(with_0(with_0(with_0(with_0(with_0(buildMap(), 'name', name), 'className', ZflListenerUtils_getInstance().e46(ensureNotNull(name))), 'javadoc', jd), 'options', buildMap()), 'systems', buildMap()), 'starts', buildMap()), 'actions', buildMap());
16652
+ var name = ZflListenerUtils_getInstance().h46(ctx.m3r());
16653
+ var jd = ZflListenerUtils_getInstance().k46(ctx.z20());
16654
+ var tmp = with_0(with_0(with_0(with_0(with_0(with_0(with_0(buildMap(), 'name', name), 'className', ZflListenerUtils_getInstance().a46(ensureNotNull(name))), 'javadoc', jd), 'options', buildMap()), 'systems', buildMap()), 'starts', buildMap()), 'actions', buildMap());
17305
16655
  // Inline function 'kotlin.collections.mutableListOf' call
17306
16656
  var tmp$ret$0 = ArrayList_init_$Create$();
17307
- this.l47_1.gb(with_0(with_0(tmp, 'whens', tmp$ret$0), 'end', buildMap()));
17308
- this.k47_1.n44('flows', name, this.l47_1.db());
16657
+ this.e47_1.gb(with_0(with_0(tmp, 'whens', tmp$ret$0), 'end', buildMap()));
16658
+ this.d47_1.n44('flows', name, this.e47_1.db());
17309
16659
  var flowLocation = 'flows.' + name;
17310
- this.k47_1.y44(flowLocation, ZflListenerUtils_getInstance().k46(ctx));
17311
- this.k47_1.y44(flowLocation + '.name', ZflListenerUtils_getInstance().k46(ctx.m3r()));
16660
+ this.d47_1.y44(flowLocation, ZflListenerUtils_getInstance().g46(ctx));
16661
+ this.d47_1.y44(flowLocation + '.name', ZflListenerUtils_getInstance().g46(ctx.m3r()));
17312
16662
  };
17313
16663
  protoOf(ZflListenerImpl).p38 = function (ctx) {
17314
- this.l47_1.ib();
16664
+ this.e47_1.ib();
17315
16665
  };
17316
16666
  protoOf(ZflListenerImpl).o37 = function (ctx) {
17317
16667
  var name = replace_0(ctx.v2b().bh(), '@', '');
17318
- var value = ZflListenerUtils_getInstance().o47(ctx.w2b());
16668
+ var value = ZflListenerUtils_getInstance().h47(ctx.w2b());
17319
16669
  // Inline function 'kotlin.collections.isNotEmpty' call
17320
- if (!this.l47_1.l()) {
17321
- appendTo(this.l47_1.db(), 'options', name, value);
17322
- appendToList(this.l47_1.db(), 'optionsList', with_0(with_0(buildMap(), 'name', name), 'value', value));
16670
+ if (!this.e47_1.l()) {
16671
+ appendTo(this.e47_1.db(), 'options', name, value);
16672
+ appendToList(this.e47_1.db(), 'optionsList', with_0(with_0(buildMap(), 'name', name), 'value', value));
17323
16673
  }
17324
16674
  };
17325
16675
  protoOf(ZflListenerImpl).u37 = function (ctx) {
17326
- this.k47_1.y44('systems', ZflListenerUtils_getInstance().k46(ctx));
16676
+ this.d47_1.y44('systems', ZflListenerUtils_getInstance().g46(ctx));
17327
16677
  };
17328
16678
  protoOf(ZflListenerImpl).w37 = function (ctx) {
17329
- var name = ZflListenerUtils_getInstance().l46(ctx.w3n());
17330
- var jd = ZflListenerUtils_getInstance().o46(ctx.z20());
16679
+ var name = ZflListenerUtils_getInstance().h46(ctx.w3n());
16680
+ var jd = ZflListenerUtils_getInstance().k46(ctx.z20());
17331
16681
  var tmp = with_0(with_0(with_0(with_0(with_0(buildMap(), 'name', name), 'javadoc', jd), 'options', buildMap()), 'zdl', null), 'services', buildMap());
17332
16682
  // Inline function 'kotlin.collections.mutableListOf' call
17333
16683
  var tmp$ret$0 = ArrayList_init_$Create$();
17334
- this.l47_1.gb(with_0(tmp, 'events', tmp$ret$0));
17335
- this.k47_1.y44('systems.' + name, ZflListenerUtils_getInstance().k46(ctx));
17336
- this.k47_1.y44('systems.' + name + '.name', ZflListenerUtils_getInstance().k46(ctx.w3n()));
17337
- var tmp_0 = this.k47_1.u9('systems');
16684
+ this.e47_1.gb(with_0(tmp, 'events', tmp$ret$0));
16685
+ this.d47_1.y44('systems.' + name, ZflListenerUtils_getInstance().g46(ctx));
16686
+ this.d47_1.y44('systems.' + name + '.name', ZflListenerUtils_getInstance().g46(ctx.w3n()));
16687
+ var tmp_0 = this.d47_1.u9('systems');
17338
16688
  var tmp0 = (!(tmp_0 == null) ? isInterface(tmp_0, KtMutableMap) : false) ? tmp_0 : THROW_CCE();
17339
16689
  var tmp2 = ensureNotNull(name);
17340
16690
  // Inline function 'kotlin.collections.set' call
17341
- var value = this.l47_1.db();
16691
+ var value = this.e47_1.db();
17342
16692
  tmp0.t1(tmp2, value);
17343
16693
  };
17344
16694
  protoOf(ZflListenerImpl).x37 = function (ctx) {
17345
- this.l47_1.ib();
16695
+ this.e47_1.ib();
17346
16696
  };
17347
16697
  protoOf(ZflListenerImpl).e38 = function (ctx) {
17348
- var serviceName = !(ctx.l3p() == null) ? ZflListenerUtils_getInstance().l46(ctx.l3p()) : 'DefaultService';
17349
- var tmp = with_0(with_0(with_0(buildMap(), 'name', serviceName), 'options', buildMap()), 'aggregates', ZflListenerUtils_getInstance().r46(ctx.m3p(), ','));
16698
+ var serviceName = !(ctx.l3p() == null) ? ZflListenerUtils_getInstance().h46(ctx.l3p()) : 'DefaultService';
16699
+ var tmp = with_0(with_0(with_0(buildMap(), 'name', serviceName), 'options', buildMap()), 'aggregates', ZflListenerUtils_getInstance().n46(ctx.m3p(), ','));
17350
16700
  // Inline function 'kotlin.collections.mutableSetOf' call
17351
16701
  var tmp$ret$0 = LinkedHashSet_init_$Create$();
17352
16702
  var service = with_0(tmp, 'commands', tmp$ret$0);
17353
- this.l47_1.gb(service);
17354
- var system = this.l47_1.k(this.l47_1.ab_1 - 2 | 0);
16703
+ this.e47_1.gb(service);
16704
+ var system = this.e47_1.k(this.e47_1.ab_1 - 2 | 0);
17355
16705
  var tmp_0 = system.p1('services');
17356
16706
  var tmp0 = (!(tmp_0 == null) ? isInterface(tmp_0, KtMutableMap) : false) ? tmp_0 : THROW_CCE();
17357
16707
  // Inline function 'kotlin.collections.set' call
17358
16708
  var key = ensureNotNull(serviceName);
17359
16709
  tmp0.t1(key, service);
17360
16710
  var systemName = system.p1('name');
17361
- this.k47_1.y44('systems.' + toString_1(systemName) + '.services.' + serviceName, ZflListenerUtils_getInstance().k46(ctx));
17362
- this.k47_1.y44('systems.' + toString_1(systemName) + '.services.' + serviceName + '.name', ZflListenerUtils_getInstance().k46(ctx.l3p()));
16711
+ this.d47_1.y44('systems.' + toString_1(systemName) + '.services.' + serviceName, ZflListenerUtils_getInstance().g46(ctx));
16712
+ this.d47_1.y44('systems.' + toString_1(systemName) + '.services.' + serviceName + '.name', ZflListenerUtils_getInstance().g46(ctx.l3p()));
17363
16713
  };
17364
16714
  protoOf(ZflListenerImpl).f38 = function (ctx) {
17365
- this.l47_1.ib();
16715
+ this.e47_1.ib();
17366
16716
  };
17367
16717
  protoOf(ZflListenerImpl).k38 = function (ctx) {
17368
- var commands = ZflListenerUtils_getInstance().r46(ctx.r3q(), ',');
17369
- var tmp0 = this.l47_1.db();
16718
+ var commands = ZflListenerUtils_getInstance().n46(ctx.r3q(), ',');
16719
+ var tmp0 = this.e47_1.db();
17370
16720
  // Inline function 'kotlin.collections.set' call
17371
16721
  var key = 'commands';
17372
16722
  tmp0.t1(key, commands);
17373
16723
  };
17374
16724
  protoOf(ZflListenerImpl).u38 = function (ctx) {
17375
- var name = ZflListenerUtils_getInstance().l46(ctx.r3s());
17376
- var jd = ZflListenerUtils_getInstance().o46(ctx.z20());
17377
- var start = with_0(with_0(with_0(with_0(with_0(buildMap(), 'name', name), 'className', ZflListenerUtils_getInstance().e46(ensureNotNull(name))), 'javadoc', jd), 'options', buildMap()), 'fields', buildMap());
17378
- this.l47_1.gb(start);
17379
- var flow = this.l47_1.k(this.l47_1.ab_1 - 2 | 0);
16725
+ var name = ZflListenerUtils_getInstance().h46(ctx.r3s());
16726
+ var jd = ZflListenerUtils_getInstance().k46(ctx.z20());
16727
+ var start = with_0(with_0(with_0(with_0(with_0(buildMap(), 'name', name), 'className', ZflListenerUtils_getInstance().a46(ensureNotNull(name))), 'javadoc', jd), 'options', buildMap()), 'fields', buildMap());
16728
+ this.e47_1.gb(start);
16729
+ var flow = this.e47_1.k(this.e47_1.ab_1 - 2 | 0);
17380
16730
  var tmp = flow.p1('starts');
17381
16731
  // Inline function 'kotlin.collections.set' call
17382
16732
  ((!(tmp == null) ? isInterface(tmp, KtMutableMap) : false) ? tmp : THROW_CCE()).t1(name, start);
17383
- this.k47_1.y44('starts.' + name, ZflListenerUtils_getInstance().k46(ctx));
17384
- this.k47_1.y44('starts.' + name + '.name', ZflListenerUtils_getInstance().k46(ctx.r3s()));
16733
+ this.d47_1.y44('starts.' + name, ZflListenerUtils_getInstance().g46(ctx));
16734
+ this.d47_1.y44('starts.' + name + '.name', ZflListenerUtils_getInstance().g46(ctx.r3s()));
17385
16735
  };
17386
16736
  protoOf(ZflListenerImpl).v38 = function (ctx) {
17387
- this.l47_1.ib();
16737
+ this.e47_1.ib();
17388
16738
  };
17389
16739
  protoOf(ZflListenerImpl).a37 = function (ctx) {
17390
- var name = ZflListenerUtils_getInstance().l46(ctx.h1z());
16740
+ var name = ZflListenerUtils_getInstance().h46(ctx.h1z());
17391
16741
  var type = !(ctx.n2f() == null) && !(ctx.n2f().w2g() == null) ? ensureNotNull(ctx.n2f().w2g()).bh() : null;
17392
16742
  var isArray = !(ctx.n2f().x2g() == null);
17393
- var jd = ZflListenerUtils_getInstance().o46(ZflListenerUtils_getInstance().m46([ctx.z20(), ctx.q2f()]));
16743
+ var jd = ZflListenerUtils_getInstance().k46(ZflListenerUtils_getInstance().i46([ctx.z20(), ctx.q2f()]));
17394
16744
  var field = with_0(with_0(with_0(with_0(with_0(buildMap(), 'name', name), 'type', type), 'isArray', isArray), 'javadoc', jd), 'options', buildMap());
17395
- appendTo(this.l47_1.db(), 'fields', ensureNotNull(name), field);
16745
+ appendTo(this.e47_1.db(), 'fields', ensureNotNull(name), field);
17396
16746
  };
17397
16747
  protoOf(ZflListenerImpl).y38 = function (ctx) {
17398
16748
  // Inline function 'kotlin.collections.mutableListOf' call
@@ -17424,7 +16774,7 @@ protoOf(ZflListenerImpl).y38 = function (ctx) {
17424
16774
  triggerSeparator = groupSeparator;
17425
16775
  }
17426
16776
  triggerGroups.f(with_0(with_0(with_0(with_0(buildMap(), 'events', events), 'separator', groupSeparator), 'hasMixedSeparators', hasMixedSeparators), 'hasTrailingSeparator', hasTrailingSeparator));
17427
- collectedTriggers.q(events);
16777
+ collectedTriggers.p(events);
17428
16778
  }
17429
16779
  // Inline function 'kotlin.collections.groupingBy' call
17430
16780
  var tmp$ret$5 = new ZflListenerImpl$enterFlow_when$$inlined$groupingBy$1(collectedTriggers);
@@ -17441,73 +16791,73 @@ protoOf(ZflListenerImpl).y38 = function (ctx) {
17441
16791
  }
17442
16792
  var duplicateTriggers = result.q1();
17443
16793
  var triggers = distinct(collectedTriggers);
17444
- var actionName = ZflListenerUtils_getInstance().l46(ctx.n3t());
17445
- var flow = this.l47_1.db();
16794
+ var actionName = ZflListenerUtils_getInstance().h46(ctx.n3t());
16795
+ var flow = this.e47_1.db();
17446
16796
  var tmp = flow.p1('name');
17447
16797
  var flowName = (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : THROW_CCE();
17448
- var occurrence = createOccurrence(this, flow, actionName, ZflListenerUtils_getInstance().o46(ctx.z20()), triggers, getOptions(this, ctx.t2q()), false, ZflListenerUtils_getInstance().k46(ctx));
17449
- var whenBlock = with_0(with_0(with_0(with_0(with_0(with_0(with_0(buildMap(), 'triggers', triggers), 'triggerGroups', triggerGroups), 'triggerSeparator', triggerSeparator), 'action', actionName), 'javadoc', ZflListenerUtils_getInstance().o46(ctx.z20())), 'options', getOptions(this, ctx.t2q())), 'occurrence', occurrence);
17450
- this.l47_1.gb(whenBlock);
16798
+ var occurrence = createOccurrence(this, flow, actionName, ZflListenerUtils_getInstance().k46(ctx.z20()), triggers, getOptions(this, ctx.t2q()), false, ZflListenerUtils_getInstance().g46(ctx));
16799
+ var whenBlock = with_0(with_0(with_0(with_0(with_0(with_0(with_0(buildMap(), 'triggers', triggers), 'triggerGroups', triggerGroups), 'triggerSeparator', triggerSeparator), 'action', actionName), 'javadoc', ZflListenerUtils_getInstance().k46(ctx.z20())), 'options', getOptions(this, ctx.t2q())), 'occurrence', occurrence);
16800
+ this.e47_1.gb(whenBlock);
17451
16801
  var tmp_0 = flow.p1('whens');
17452
16802
  var whens = (!(tmp_0 == null) ? isInterface(tmp_0, KtMutableList) : false) ? tmp_0 : THROW_CCE();
17453
16803
  whens.f(whenBlock);
17454
- this.k47_1.y44('flows.' + flowName + '.whens[' + (whens.j() - 1 | 0) + ']', ZflListenerUtils_getInstance().k46(ctx));
17455
- this.k47_1.y44('flows.' + flowName + '.whens[' + (whens.j() - 1 | 0) + '].triggers', ZflListenerUtils_getInstance().k46(ctx.m3t()));
16804
+ this.d47_1.y44('flows.' + flowName + '.whens[' + (whens.j() - 1 | 0) + ']', ZflListenerUtils_getInstance().g46(ctx));
16805
+ this.d47_1.y44('flows.' + flowName + '.whens[' + (whens.j() - 1 | 0) + '].triggers', ZflListenerUtils_getInstance().g46(ctx.m3t()));
17456
16806
  var triggerPath = 'flows.' + flowName + '.whens[' + (whens.j() - 1 | 0) + '].triggers';
17457
16807
  // Inline function 'kotlin.collections.forEach' call
17458
16808
  var _iterator__ex2g4s_2 = triggerGroups.g();
17459
16809
  while (_iterator__ex2g4s_2.h()) {
17460
16810
  var element = _iterator__ex2g4s_2.i();
17461
16811
  if (equals(element.p1('hasMixedSeparators'), true)) {
17462
- this.k47_1.a45(triggerPath, null, 'Mixed separators are not allowed in when triggers');
16812
+ this.d47_1.a45(triggerPath, null, 'Mixed separators are not allowed in when triggers');
17463
16813
  }
17464
16814
  if (equals(element.p1('hasTrailingSeparator'), true)) {
17465
- this.k47_1.a45(triggerPath, null, 'Trailing separators are not allowed in when triggers');
16815
+ this.d47_1.a45(triggerPath, null, 'Trailing separators are not allowed in when triggers');
17466
16816
  }
17467
16817
  }
17468
16818
  // Inline function 'kotlin.collections.forEach' call
17469
16819
  var _iterator__ex2g4s_3 = duplicateTriggers.g();
17470
16820
  while (_iterator__ex2g4s_3.h()) {
17471
16821
  var element_0 = _iterator__ex2g4s_3.i();
17472
- this.k47_1.a45(triggerPath, element_0, "Duplicate trigger event '%s' in when clause");
16822
+ this.d47_1.a45(triggerPath, element_0, "Duplicate trigger event '%s' in when clause");
17473
16823
  }
17474
16824
  };
17475
16825
  protoOf(ZflListenerImpl).z38 = function (ctx) {
17476
- this.l47_1.ib();
16826
+ this.e47_1.ib();
17477
16827
  };
17478
16828
  protoOf(ZflListenerImpl).i39 = function (ctx) {
17479
- var flow = this.l47_1.db();
17480
- var actionName = ZflListenerUtils_getInstance().l46(ctx.n3t());
17481
- this.l47_1.gb(createOccurrence(this, flow, actionName, ZflListenerUtils_getInstance().o46(ctx.z20()), emptyList(), getOptions(this, ctx.t2q()), true, ZflListenerUtils_getInstance().k46(ctx)));
16829
+ var flow = this.e47_1.db();
16830
+ var actionName = ZflListenerUtils_getInstance().h46(ctx.n3t());
16831
+ this.e47_1.gb(createOccurrence(this, flow, actionName, ZflListenerUtils_getInstance().k46(ctx.z20()), emptyList(), getOptions(this, ctx.t2q()), true, ZflListenerUtils_getInstance().g46(ctx)));
17482
16832
  };
17483
16833
  protoOf(ZflListenerImpl).j39 = function (ctx) {
17484
- var occurrence = this.l47_1.db();
17485
- var flow = this.l47_1.k(this.l47_1.ab_1 - 2 | 0);
16834
+ var occurrence = this.e47_1.db();
16835
+ var flow = this.e47_1.k(this.e47_1.ab_1 - 2 | 0);
17486
16836
  var tmp = occurrence.p1('name');
17487
16837
  mergeOccurrence(this, getOrCreateAction(this, flow, (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : null, null), occurrence);
17488
- this.l47_1.ib();
16838
+ this.e47_1.ib();
17489
16839
  };
17490
16840
  protoOf(ZflListenerImpl).k39 = function (ctx) {
17491
- var current = this.l47_1.eb();
16841
+ var current = this.e47_1.eb();
17492
16842
  if (!(current == null) && current.n1('triggers') && current.n1('action')) {
17493
16843
  var tmp = current.p1('occurrence');
17494
- this.l47_1.gb((!(tmp == null) ? isInterface(tmp, KtMutableMap) : false) ? tmp : THROW_CCE());
16844
+ this.e47_1.gb((!(tmp == null) ? isInterface(tmp, KtMutableMap) : false) ? tmp : THROW_CCE());
17495
16845
  }
17496
16846
  };
17497
16847
  protoOf(ZflListenerImpl).l39 = function (ctx) {
17498
- var current = this.l47_1.eb();
17499
- if (!(current == null) && current.n1('steps') && this.l47_1.ab_1 >= 2) {
17500
- var maybeWhen = this.l47_1.k(this.l47_1.ab_1 - 2 | 0);
16848
+ var current = this.e47_1.eb();
16849
+ if (!(current == null) && current.n1('steps') && this.e47_1.ab_1 >= 2) {
16850
+ var maybeWhen = this.e47_1.k(this.e47_1.ab_1 - 2 | 0);
17501
16851
  if (maybeWhen.n1('triggers') && maybeWhen.n1('action')) {
17502
- var flow = this.l47_1.k(this.l47_1.ab_1 - 3 | 0);
16852
+ var flow = this.e47_1.k(this.e47_1.ab_1 - 3 | 0);
17503
16853
  var tmp = current.p1('name');
17504
16854
  mergeOccurrence(this, getOrCreateAction(this, flow, (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : null, null), current);
17505
- this.l47_1.ib();
16855
+ this.e47_1.ib();
17506
16856
  }
17507
16857
  }
17508
16858
  };
17509
16859
  protoOf(ZflListenerImpl).o39 = function (ctx) {
17510
- var action = this.l47_1.db();
16860
+ var action = this.e47_1.db();
17511
16861
  // Inline function 'kotlin.collections.mapNotNull' call
17512
16862
  var tmp0 = ctx.u3w().k3z();
17513
16863
  // Inline function 'kotlin.collections.mapNotNullTo' call
@@ -17516,7 +16866,7 @@ protoOf(ZflListenerImpl).o39 = function (ctx) {
17516
16866
  var _iterator__ex2g4s = tmp0.g();
17517
16867
  while (_iterator__ex2g4s.h()) {
17518
16868
  var element = _iterator__ex2g4s.i();
17519
- var tmp0_safe_receiver = ZflListenerUtils_getInstance().l46(element);
16869
+ var tmp0_safe_receiver = ZflListenerUtils_getInstance().h46(element);
17520
16870
  if (tmp0_safe_receiver == null)
17521
16871
  null;
17522
16872
  else {
@@ -17548,16 +16898,16 @@ protoOf(ZflListenerImpl).o39 = function (ctx) {
17548
16898
  registerCommand(this, systemName, tmp, (!(tmp_0 == null) ? typeof tmp_0 === 'string' : false) ? tmp_0 : null);
17549
16899
  };
17550
16900
  protoOf(ZflListenerImpl).q39 = function (ctx) {
17551
- appendStep(this, this.l47_1.db(), with_0(with_0(with_0(buildMap(), 'type', 'call'), 'async', !(ctx.f3x() == null)), 'action', ZflListenerUtils_getInstance().l46(ctx.n3t())));
16901
+ appendStep(this, this.e47_1.db(), with_0(with_0(with_0(buildMap(), 'type', 'call'), 'async', !(ctx.f3x() == null)), 'action', ZflListenerUtils_getInstance().h46(ctx.n3t())));
17552
16902
  };
17553
16903
  protoOf(ZflListenerImpl).s39 = function (ctx) {
17554
- var endOutcome = ZflListenerUtils_getInstance().l46(ctx.q3x());
16904
+ var endOutcome = ZflListenerUtils_getInstance().h46(ctx.q3x());
17555
16905
  var step = with_0(with_0(buildMap(), 'type', 'on'), 'endOutcome', endOutcome);
17556
16906
  if (!(ctx.r3x() == null)) {
17557
16907
  // Inline function 'kotlin.collections.set' call
17558
16908
  step.t1('kind', 'call');
17559
16909
  // Inline function 'kotlin.collections.set' call
17560
- var value = ZflListenerUtils_getInstance().l46(ctx.n3t());
16910
+ var value = ZflListenerUtils_getInstance().h46(ctx.n3t());
17561
16911
  step.t1('action', value);
17562
16912
  } else if (!(ctx.s3x() == null)) {
17563
16913
  var options = getOptions(this, ctx.t2q());
@@ -17577,7 +16927,7 @@ protoOf(ZflListenerImpl).s39 = function (ctx) {
17577
16927
  var _iterator__ex2g4s = tmp0.g();
17578
16928
  while (_iterator__ex2g4s.h()) {
17579
16929
  var element = _iterator__ex2g4s.i();
17580
- var tmp0_safe_receiver = ZflListenerUtils_getInstance().l46(element);
16930
+ var tmp0_safe_receiver = ZflListenerUtils_getInstance().h46(element);
17581
16931
  if (tmp0_safe_receiver == null)
17582
16932
  null;
17583
16933
  else {
@@ -17611,10 +16961,10 @@ protoOf(ZflListenerImpl).s39 = function (ctx) {
17611
16961
  var value_2 = tmp_1;
17612
16962
  step.t1('outcome', value_2);
17613
16963
  }
17614
- appendStep(this, this.l47_1.db(), step);
16964
+ appendStep(this, this.e47_1.db(), step);
17615
16965
  };
17616
16966
  protoOf(ZflListenerImpl).u39 = function (ctx) {
17617
- var action = this.l47_1.db();
16967
+ var action = this.e47_1.db();
17618
16968
  var options = getOptions(this, ctx.t2q());
17619
16969
  var tmp = options.p1('outcome');
17620
16970
  var outcome = (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : null;
@@ -17627,7 +16977,7 @@ protoOf(ZflListenerImpl).u39 = function (ctx) {
17627
16977
  var _iterator__ex2g4s = tmp0.g();
17628
16978
  while (_iterator__ex2g4s.h()) {
17629
16979
  var element = _iterator__ex2g4s.i();
17630
- var tmp0_safe_receiver = ZflListenerUtils_getInstance().l46(element);
16980
+ var tmp0_safe_receiver = ZflListenerUtils_getInstance().h46(element);
17631
16981
  if (tmp0_safe_receiver == null)
17632
16982
  null;
17633
16983
  else {
@@ -17660,15 +17010,15 @@ protoOf(ZflListenerImpl).u39 = function (ctx) {
17660
17010
  }
17661
17011
  };
17662
17012
  protoOf(ZflListenerImpl).g3a = function (ctx) {
17663
- var end = with_0(with_0(buildMap(), 'endOutcomes', buildMap()), 'javadoc', ZflListenerUtils_getInstance().o46(ctx.z20()));
17664
- this.l47_1.gb(end);
17665
- var flow = this.l47_1.k(this.l47_1.ab_1 - 2 | 0);
17013
+ var end = with_0(with_0(buildMap(), 'endOutcomes', buildMap()), 'javadoc', ZflListenerUtils_getInstance().k46(ctx.z20()));
17014
+ this.e47_1.gb(end);
17015
+ var flow = this.e47_1.k(this.e47_1.ab_1 - 2 | 0);
17666
17016
  // Inline function 'kotlin.collections.set' call
17667
17017
  flow.t1('end', end);
17668
- this.k47_1.y44('flows.' + toString_1(flow.p1('name')) + '.end', ZflListenerUtils_getInstance().k46(ctx));
17018
+ this.d47_1.y44('flows.' + toString_1(flow.p1('name')) + '.end', ZflListenerUtils_getInstance().g46(ctx));
17669
17019
  };
17670
17020
  protoOf(ZflListenerImpl).h3a = function (ctx) {
17671
- this.l47_1.ib();
17021
+ this.e47_1.ib();
17672
17022
  };
17673
17023
  protoOf(ZflListenerImpl).i3a = function (ctx) {
17674
17024
  var endOutcomes = buildMap();
@@ -17683,7 +17033,7 @@ protoOf(ZflListenerImpl).i3a = function (ctx) {
17683
17033
  with_0(endOutcomes, outcomeName, outcomeEvents);
17684
17034
  }
17685
17035
  }
17686
- appendToWithMap(this.l47_1.db(), 'endOutcomes', endOutcomes);
17036
+ appendToWithMap(this.e47_1.db(), 'endOutcomes', endOutcomes);
17687
17037
  };
17688
17038
  protoOf(ZflListenerImpl).ar = function (ctx) {
17689
17039
  protoOf(ZflBaseListener).ar.call(this, ctx);
@@ -17696,12 +17046,12 @@ protoOf(ZflListenerImpl).er = function (node) {
17696
17046
  };
17697
17047
  function ZflListenerUtils() {
17698
17048
  ZflListenerUtils_instance = this;
17699
- this.n47_1 = Inflector_instance;
17049
+ this.g47_1 = Inflector_instance;
17700
17050
  }
17701
- protoOf(ZflListenerUtils).l46 = function (ctx) {
17051
+ protoOf(ZflListenerUtils).h46 = function (ctx) {
17702
17052
  return ctx == null ? null : ctx.bh();
17703
17053
  };
17704
- protoOf(ZflListenerUtils).r47 = function (ctx) {
17054
+ protoOf(ZflListenerUtils).k47 = function (ctx) {
17705
17055
  if (ctx == null)
17706
17056
  return null;
17707
17057
  var tmp0_safe_receiver = ctx.c1v();
@@ -17716,18 +17066,18 @@ protoOf(ZflListenerUtils).r47 = function (ctx) {
17716
17066
  null;
17717
17067
  else {
17718
17068
  // Inline function 'kotlin.let' call
17719
- return ZflListenerUtils_getInstance().t46(tmp1_safe_receiver.bh(), "'");
17069
+ return ZflListenerUtils_getInstance().p46(tmp1_safe_receiver.bh(), "'");
17720
17070
  }
17721
17071
  var tmp2_safe_receiver = ctx.e1v();
17722
17072
  if (tmp2_safe_receiver == null)
17723
17073
  null;
17724
17074
  else {
17725
17075
  // Inline function 'kotlin.let' call
17726
- return ZflListenerUtils_getInstance().t46(tmp2_safe_receiver.bh(), '"');
17076
+ return ZflListenerUtils_getInstance().p46(tmp2_safe_receiver.bh(), '"');
17727
17077
  }
17728
17078
  return ctx.bh();
17729
17079
  };
17730
- protoOf(ZflListenerUtils).t47 = function (ctx) {
17080
+ protoOf(ZflListenerUtils).m47 = function (ctx) {
17731
17081
  if (ctx == null)
17732
17082
  return null;
17733
17083
  var tmp0_safe_receiver = ctx.c1v();
@@ -17742,14 +17092,14 @@ protoOf(ZflListenerUtils).t47 = function (ctx) {
17742
17092
  null;
17743
17093
  else {
17744
17094
  // Inline function 'kotlin.let' call
17745
- return ZflListenerUtils_getInstance().t46(tmp1_safe_receiver.bh(), "'");
17095
+ return ZflListenerUtils_getInstance().p46(tmp1_safe_receiver.bh(), "'");
17746
17096
  }
17747
17097
  var tmp2_safe_receiver = ctx.e1v();
17748
17098
  if (tmp2_safe_receiver == null)
17749
17099
  null;
17750
17100
  else {
17751
17101
  // Inline function 'kotlin.let' call
17752
- return ZflListenerUtils_getInstance().t46(tmp2_safe_receiver.bh(), '"');
17102
+ return ZflListenerUtils_getInstance().p46(tmp2_safe_receiver.bh(), '"');
17753
17103
  }
17754
17104
  if (ctx.q1v() == null)
17755
17105
  null;
@@ -17769,12 +17119,12 @@ protoOf(ZflListenerUtils).t47 = function (ctx) {
17769
17119
  return false;
17770
17120
  return ctx.bh();
17771
17121
  };
17772
- protoOf(ZflListenerUtils).o47 = function (ctx) {
17122
+ protoOf(ZflListenerUtils).h47 = function (ctx) {
17773
17123
  if (ctx == null)
17774
17124
  return true;
17775
- return this.s47(ctx.i1z());
17125
+ return this.l47(ctx.i1z());
17776
17126
  };
17777
- protoOf(ZflListenerUtils).s47 = function (complexValue) {
17127
+ protoOf(ZflListenerUtils).l47 = function (complexValue) {
17778
17128
  if (complexValue == null)
17779
17129
  return true;
17780
17130
  var tmp0_safe_receiver = complexValue.c1u();
@@ -17782,21 +17132,21 @@ protoOf(ZflListenerUtils).s47 = function (complexValue) {
17782
17132
  null;
17783
17133
  else {
17784
17134
  // Inline function 'kotlin.let' call
17785
- return ZflListenerUtils_getInstance().u47(tmp0_safe_receiver);
17135
+ return ZflListenerUtils_getInstance().n47(tmp0_safe_receiver);
17786
17136
  }
17787
- var array = this.v47(complexValue.d1u());
17788
- var obj = this.w47(complexValue.e1u());
17789
- return this.m46([array, obj, true]);
17137
+ var array = this.o47(complexValue.d1u());
17138
+ var obj = this.p47(complexValue.e1u());
17139
+ return this.i46([array, obj, true]);
17790
17140
  };
17791
- protoOf(ZflListenerUtils).u47 = function (value) {
17141
+ protoOf(ZflListenerUtils).n47 = function (value) {
17792
17142
  if (value == null)
17793
17143
  return true;
17794
- var obj = this.x47(value.p1u());
17795
- var array = this.y47(value.q1u());
17796
- var simple = this.t47(value.r1u());
17797
- return this.m46([obj, array, simple, true]);
17144
+ var obj = this.q47(value.p1u());
17145
+ var array = this.r47(value.q1u());
17146
+ var simple = this.m47(value.r1u());
17147
+ return this.i46([obj, array, simple, true]);
17798
17148
  };
17799
- protoOf(ZflListenerUtils).t46 = function (text, quote) {
17149
+ protoOf(ZflListenerUtils).p46 = function (text, quote) {
17800
17150
  var escape = '\\\\';
17801
17151
  // Inline function 'kotlin.text.replace' call
17802
17152
  var tmp0 = Regex_init_$Create$('^' + Companion_getInstance().y8(quote)).j9(text, '');
@@ -17805,7 +17155,7 @@ protoOf(ZflListenerUtils).t46 = function (text, quote) {
17805
17155
  // Inline function 'kotlin.text.replace' call
17806
17156
  return Regex_init_$Create$(Companion_getInstance().y8(quote) + '$').j9(tmp0_0, '');
17807
17157
  };
17808
- protoOf(ZflListenerUtils).x47 = function (ctx) {
17158
+ protoOf(ZflListenerUtils).q47 = function (ctx) {
17809
17159
  if (ctx == null)
17810
17160
  return null;
17811
17161
  var map = buildMap();
@@ -17815,12 +17165,12 @@ protoOf(ZflListenerUtils).x47 = function (ctx) {
17815
17165
  var element = _iterator__ex2g4s.i();
17816
17166
  // Inline function 'kotlin.let' call
17817
17167
  var it = element.s1r();
17818
- var tmp$ret$1 = toString_1(ZflListenerUtils_getInstance().r47(it));
17819
- map.t1(tmp$ret$1, ZflListenerUtils_getInstance().u47(element.c1u()));
17168
+ var tmp$ret$1 = toString_1(ZflListenerUtils_getInstance().k47(it));
17169
+ map.t1(tmp$ret$1, ZflListenerUtils_getInstance().n47(element.c1u()));
17820
17170
  }
17821
17171
  return map;
17822
17172
  };
17823
- protoOf(ZflListenerUtils).w47 = function (ctx) {
17173
+ protoOf(ZflListenerUtils).p47 = function (ctx) {
17824
17174
  if (ctx == null)
17825
17175
  return null;
17826
17176
  var map = buildMap();
@@ -17830,12 +17180,12 @@ protoOf(ZflListenerUtils).w47 = function (ctx) {
17830
17180
  var element = _iterator__ex2g4s.i();
17831
17181
  // Inline function 'kotlin.let' call
17832
17182
  var it = element.s1r();
17833
- var tmp$ret$1 = toString_1(ZflListenerUtils_getInstance().r47(it));
17834
- map.t1(tmp$ret$1, ZflListenerUtils_getInstance().u47(element.c1u()));
17183
+ var tmp$ret$1 = toString_1(ZflListenerUtils_getInstance().k47(it));
17184
+ map.t1(tmp$ret$1, ZflListenerUtils_getInstance().n47(element.c1u()));
17835
17185
  }
17836
17186
  return map;
17837
17187
  };
17838
- protoOf(ZflListenerUtils).y47 = function (ctx) {
17188
+ protoOf(ZflListenerUtils).r47 = function (ctx) {
17839
17189
  if (ctx == null)
17840
17190
  return null;
17841
17191
  // Inline function 'kotlin.collections.mutableListOf' call
@@ -17844,11 +17194,11 @@ protoOf(ZflListenerUtils).y47 = function (ctx) {
17844
17194
  var _iterator__ex2g4s = ctx.c1u().g();
17845
17195
  while (_iterator__ex2g4s.h()) {
17846
17196
  var element = _iterator__ex2g4s.i();
17847
- list.f(ZflListenerUtils_getInstance().u47(element));
17197
+ list.f(ZflListenerUtils_getInstance().n47(element));
17848
17198
  }
17849
17199
  return list;
17850
17200
  };
17851
- protoOf(ZflListenerUtils).v47 = function (ctx) {
17201
+ protoOf(ZflListenerUtils).o47 = function (ctx) {
17852
17202
  if (ctx == null)
17853
17203
  return null;
17854
17204
  // Inline function 'kotlin.collections.mutableListOf' call
@@ -17857,11 +17207,11 @@ protoOf(ZflListenerUtils).v47 = function (ctx) {
17857
17207
  var _iterator__ex2g4s = ctx.r1u().g();
17858
17208
  while (_iterator__ex2g4s.h()) {
17859
17209
  var element = _iterator__ex2g4s.i();
17860
- list.f(ZflListenerUtils_getInstance().t47(element));
17210
+ list.f(ZflListenerUtils_getInstance().m47(element));
17861
17211
  }
17862
17212
  return list;
17863
17213
  };
17864
- protoOf(ZflListenerUtils).r46 = function (ctx, split_0) {
17214
+ protoOf(ZflListenerUtils).n46 = function (ctx, split_0) {
17865
17215
  if (ctx == null)
17866
17216
  return null;
17867
17217
  // Inline function 'kotlin.collections.map' call
@@ -17877,10 +17227,10 @@ protoOf(ZflListenerUtils).r46 = function (ctx, split_0) {
17877
17227
  }
17878
17228
  return destination;
17879
17229
  };
17880
- protoOf(ZflListenerUtils).e46 = function (name) {
17881
- return this.n47_1.f44(name);
17230
+ protoOf(ZflListenerUtils).a46 = function (name) {
17231
+ return this.g47_1.f44(name);
17882
17232
  };
17883
- protoOf(ZflListenerUtils).m46 = function (args) {
17233
+ protoOf(ZflListenerUtils).i46 = function (args) {
17884
17234
  var tmp$ret$1;
17885
17235
  $l$block: {
17886
17236
  // Inline function 'kotlin.collections.firstOrNull' call
@@ -17898,10 +17248,10 @@ protoOf(ZflListenerUtils).m46 = function (args) {
17898
17248
  }
17899
17249
  return tmp$ret$1;
17900
17250
  };
17901
- protoOf(ZflListenerUtils).o46 = function (javadoc) {
17251
+ protoOf(ZflListenerUtils).k46 = function (javadoc) {
17902
17252
  if (javadoc == null)
17903
17253
  return null;
17904
- var text = this.l46(javadoc instanceof ParserRuleContext ? javadoc : THROW_CCE());
17254
+ var text = this.h46(javadoc instanceof ParserRuleContext ? javadoc : THROW_CCE());
17905
17255
  var tmp;
17906
17256
  if (text == null) {
17907
17257
  tmp = null;
@@ -17935,7 +17285,7 @@ protoOf(ZflListenerUtils).o46 = function (javadoc) {
17935
17285
  }
17936
17286
  return tmp_2;
17937
17287
  };
17938
- protoOf(ZflListenerUtils).k46 = function (ctx) {
17288
+ protoOf(ZflListenerUtils).g46 = function (ctx) {
17939
17289
  if (ctx == null)
17940
17290
  return null;
17941
17291
  var stopCharOffset = 0;
@@ -17958,12 +17308,9 @@ function parseZdl(input) {
17958
17308
  }
17959
17309
  function parseZfl(input) {
17960
17310
  var parser = new ZflParser_0();
17961
- var model = parser.m47(input);
17311
+ var model = parser.f47(input);
17962
17312
  return convertToPlain(isInterface(model, KtMap) ? model : THROW_CCE());
17963
17313
  }
17964
- function generateMermaidFromZdl(input) {
17965
- return (new GenerateMermaidFromZdl()).b46(input);
17966
- }
17967
17314
  function convertToPlain(value) {
17968
17315
  var tmp;
17969
17316
  if (value == null) {
@@ -18022,7 +17369,6 @@ Companion_instance_4 = new Companion_4();
18022
17369
  export {
18023
17370
  parseZdl as parseZdl,
18024
17371
  parseZfl as parseZfl,
18025
- generateMermaidFromZdl as generateMermaidFromZdl,
18026
17372
  };
18027
17373
  //endregion
18028
17374