@flock/wirespec 0.19.0-RC.2 → 0.19.0-RC.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/arrow-arrow-atomic.mjs +12 -12
  2. package/arrow-arrow-core.mjs +163 -163
  3. package/clikt-clikt-mordant.mjs +80 -80
  4. package/clikt-clikt.mjs +1570 -1570
  5. package/colormath-root-colormath.mjs +444 -444
  6. package/kotest-kotest-property.mjs +605 -1435
  7. package/kotest-kotest-property.mjs.map +1 -1
  8. package/kotest-property-arbs.mjs +0 -478
  9. package/kotest-property-arbs.mjs.map +1 -1
  10. package/kotlin-kotlin-stdlib.mjs +2478 -2738
  11. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  12. package/kotlin-openapi-bindings.mjs +4926 -4926
  13. package/kotlin-openapi-bindings.mjs.map +1 -1
  14. package/kotlin-rgxgen.mjs +1819 -1819
  15. package/kotlinx-io-kotlinx-io-core.mjs +440 -440
  16. package/kotlinx-serialization-kotlinx-serialization-core.mjs +1792 -1792
  17. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1395 -1395
  18. package/mordant-mordant.mjs +1362 -1362
  19. package/package.json +1 -1
  20. package/wirespec-src-compiler-core.mjs +1541 -1541
  21. package/wirespec-src-compiler-emitters-java.mjs +387 -387
  22. package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
  23. package/wirespec-src-compiler-emitters-kotlin.mjs +341 -341
  24. package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
  25. package/wirespec-src-compiler-emitters-python.mjs +371 -371
  26. package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
  27. package/wirespec-src-compiler-emitters-rust.mjs +416 -416
  28. package/wirespec-src-compiler-emitters-scala.mjs +168 -168
  29. package/wirespec-src-compiler-emitters-typescript.mjs +471 -471
  30. package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
  31. package/wirespec-src-compiler-emitters-wirespec.mjs +87 -87
  32. package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
  33. package/wirespec-src-compiler-ir.mjs +3672 -3672
  34. package/wirespec-src-compiler-lib.mjs +418 -418
  35. package/wirespec-src-compiler-lib.mjs.map +1 -1
  36. package/wirespec-src-converter-avro.mjs +512 -512
  37. package/wirespec-src-converter-openapi.mjs +772 -772
  38. package/wirespec-src-converter-openapi.mjs.map +1 -1
  39. package/wirespec-src-integration-kotest.mjs +490 -572
  40. package/wirespec-src-integration-kotest.mjs.map +1 -1
  41. package/wirespec-src-plugin-arguments.mjs +185 -185
  42. package/wirespec-src-plugin-cli.mjs +106 -106
  43. package/wirespec-src-plugin-npm.d.mts +1 -1
  44. package/wirespec-src-plugin-npm.mjs +40 -40
  45. package/wirespec-src-tools-generator.mjs +35 -35
@@ -1,57 +1,25 @@
1
1
  import {
2
- arbitrary1ik44attdm5sy as arbitrary,
3
- Companion_instance21ufaak2k5re2 as Companion_instance,
4
- email3ic8oj0n0oyrf as email,
5
- ipAddressV4jthf5xa96f07 as ipAddressV4,
6
- maptmwiddfug6qu as map,
7
- ArbitraryBuilderContext36lhfoq8yjoa7 as ArbitraryBuilderContext,
8
- RandomSource31setsds6o53y as RandomSource,
9
- Companion_instance3s3n1oxamd1r4 as Companion_instance_0,
10
- int2h4godnt2s0rr as int,
11
- next3ubxtqgi6adv7 as next,
12
- long1rc5doehwhlin as long,
13
- element2c9vnyy5405af as element,
14
- byte3rz7pgzhi6m64 as byte,
15
- byteArray2qqx36w76cyb0 as byteArray,
16
- boolean22whamdaxmlpn as boolean,
17
- float3e4skrs0ychqj as float,
18
- doubletnd0mywl30ny as double,
19
- } from './kotest-kotest-property.mjs';
20
- import {
21
- firstName10domhrpcz62y as firstName,
22
- lastName17i5kkh04v6of as lastName,
23
- nameuaz1e9clrjz1 as name,
24
- usernames31yblbqvo7oif as usernames,
25
- domain1vt3g0b27hby6 as domain,
26
- color63ahufy180jy as color,
27
- } from './kotest-property-arbs.mjs';
28
- import {
29
- StringBuilder_init_$Create$39ouzl6b47q8d as StringBuilder_init_$Create$,
30
- _Char___init__impl__6a9atx1csff5kwtduxl as _Char___init__impl__6a9atx,
31
- Char__plus_impl_qi7pgjyhbgymrgrgr1 as Char__plus_impl_qi7pgj,
32
- Unit_instance28fytmsmm6r23 as Unit_instance,
33
- CoroutineImpl2sn3kjnwmfr10 as CoroutineImpl,
34
- protoOf180f3jzyo7rfj as protoOf,
35
- THROW_CCE2g6jy02ryeudk as THROW_CCE,
36
- isInterface3d6p8outrmvmk as isInterface,
37
- charCodeAt1yspne1d8erbm as charCodeAt,
38
- toString3dhdjl9yf50de as toString,
39
- initMetadataForLambda3af3he42mmnh as initMetadataForLambda,
40
- VOID3gxj6tk5isa35 as VOID,
41
- to2cs3ny02qtbcb as to,
42
- mapOf1xd03cq9cnmy8 as mapOf,
43
2
  initMetadataForInterface1egvbzx539z91 as initMetadataForInterface,
44
- toString1pkumu07cwy4m as toString_0,
3
+ toString1pkumu07cwy4m as toString,
4
+ protoOf180f3jzyo7rfj as protoOf,
45
5
  getStringHashCode26igk1bx568vk as getStringHashCode,
46
6
  hashCodeq5arwsb9dgti as hashCode,
47
7
  equals2au1ep9vhcato as equals,
48
8
  initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
49
- toString30pk9tzaqopn as toString_1,
9
+ VOID3gxj6tk5isa35 as VOID,
10
+ toString30pk9tzaqopn as toString_0,
50
11
  getNumberHashCode2l4nbdcihl25f as getNumberHashCode,
51
- Long2qws0ah9gnpki as Long,
12
+ initMetadataForObject1cxne3s9w65el as initMetadataForObject,
13
+ ArrayList_init_$Create$1jemgvhi5v0js as ArrayList_init_$Create$,
52
14
  LinkedHashMap_init_$Create$3t495nfs82xn as LinkedHashMap_init_$Create$,
53
- toMapcf6xfku344cz as toMap,
15
+ Unit_instance28fytmsmm6r23 as Unit_instance,
16
+ NoSuchElementException_init_$Create$1nrjqowkbsvwu as NoSuchElementException_init_$Create$,
17
+ compareTo3ankvs086tmwq as compareTo,
54
18
  joinToString1cxrrlmo0chqs as joinToString,
19
+ IllegalStateException_init_$Create$2429fvs1h56dm as IllegalStateException_init_$Create$,
20
+ singleo93pzdgfc557 as single,
21
+ noWhenBranchMatchedException2a6r7ubxgky5j as noWhenBranchMatchedException,
22
+ Long2qws0ah9gnpki as Long,
55
23
  fromInt1lka3ktyu79a4 as fromInt,
56
24
  bitwiseXor10gmbxn4rolze as bitwiseXor,
57
25
  plus20p0vtfmu0596 as plus,
@@ -63,16 +31,16 @@ import {
63
31
  toLongkk4waq8msp1k as toLong,
64
32
  toIntOrNull3w2d066r9pvwm as toIntOrNull,
65
33
  toLongOrNullutqivezb0wx1 as toLongOrNull,
66
- IllegalStateException_init_$Create$2429fvs1h56dm as IllegalStateException_init_$Create$,
67
34
  listOfvhqybd2zx248 as listOf,
68
35
  dropLast1vpiyky649o34 as dropLast,
69
36
  Collection1k04j3hzsbod0 as Collection,
70
- KtMap140uvy3s5zad8 as KtMap,
71
- noWhenBranchMatchedException2a6r7ubxgky5j as noWhenBranchMatchedException,
72
- mapOf2zpbbmyqk8xpf as mapOf_0,
37
+ isInterface3d6p8outrmvmk as isInterface,
38
+ to2cs3ny02qtbcb as to,
39
+ mapOf2zpbbmyqk8xpf as mapOf,
40
+ THROW_CCE2g6jy02ryeudk as THROW_CCE,
73
41
  until1jbpn0z3f8lbg as until,
74
42
  collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault,
75
- ArrayList_init_$Create$3ivpeip4ouddx as ArrayList_init_$Create$,
43
+ ArrayList_init_$Create$3ivpeip4ouddx as ArrayList_init_$Create$_0,
76
44
  emptyList1g2z5xcrvp2zy as emptyList,
77
45
  ArrayDeque_init_$Create$2zj52gw2joiw7 as ArrayDeque_init_$Create$,
78
46
  toList383f556t1dixk as toList,
@@ -88,16 +56,29 @@ import {
88
56
  mapCapacity1h45rc3eh9p2l as mapCapacity,
89
57
  coerceAtLeast2bkz8m9ik7hep as coerceAtLeast,
90
58
  LinkedHashMap_init_$Create$1s75e1k23v4xj as LinkedHashMap_init_$Create$_0,
59
+ KtMap140uvy3s5zad8 as KtMap,
91
60
  KtList3hktaavzmj137 as KtList,
92
61
  toNumberlmbpvqo27r53 as toNumber,
93
62
  copyToArray2j022khrow2yi as copyToArray,
94
63
  } from './kotlin-kotlin-stdlib.mjs';
64
+ import {
65
+ Companion_instance3s3n1oxamd1r4 as Companion_instance,
66
+ Companion_instance21ufaak2k5re2 as Companion_instance_0,
67
+ int2h4godnt2s0rr as int,
68
+ next3ubxtqgi6adv7 as next,
69
+ long1rc5doehwhlin as long,
70
+ element2c9vnyy5405af as element,
71
+ byte3rz7pgzhi6m64 as byte,
72
+ byteArray2qqx36w76cyb0 as byteArray,
73
+ boolean22whamdaxmlpn as boolean,
74
+ float3e4skrs0ychqj as float,
75
+ doubletnd0mywl30ny as double,
76
+ } from './kotest-kotest-property.mjs';
95
77
  import { Companion_instance1r96eeuvb7uhy as Companion_instance_1 } from './kotlin-rgxgen.mjs';
96
78
  //region block: imports
97
79
  var imul = Math.imul;
98
80
  //endregion
99
81
  //region block: pre-declaration
100
- initMetadataForLambda(uuidArb$slambda, CoroutineImpl, VOID, [2]);
101
82
  initMetadataForInterface(KotestField, 'KotestField');
102
83
  initMetadataForClass(KotestFieldString, 'KotestFieldString', VOID, VOID, [KotestField]);
103
84
  initMetadataForClass(KotestFieldInteger64, 'KotestFieldInteger64', VOID, VOID, [KotestField]);
@@ -112,192 +93,30 @@ initMetadataForClass(KotestFieldArray, 'KotestFieldArray', VOID, VOID, [KotestFi
112
93
  initMetadataForClass(KotestFieldNullable, 'KotestFieldNullable', VOID, VOID, [KotestField]);
113
94
  initMetadataForClass(KotestFieldShape, 'KotestFieldShape', VOID, VOID, [KotestField]);
114
95
  initMetadataForClass(KotestFieldDict, 'KotestFieldDict', VOID, VOID, [KotestField]);
96
+ initMetadataForObject(IdentityRefinedWrapper, 'IdentityRefinedWrapper');
97
+ initMetadataForClass(OverrideRegistry, 'OverrideRegistry', OverrideRegistry);
98
+ initMetadataForClass(FieldKey, 'FieldKey');
99
+ initMetadataForClass(Literal, 'Literal');
100
+ initMetadataForObject(Wildcard, 'Wildcard');
115
101
  initMetadataForClass(KotestWirespecGeneratorBuilder, 'KotestWirespecGeneratorBuilder');
102
+ initMetadataForClass(ParentFrame, 'ParentFrame');
116
103
  initMetadataForClass(PendingSeed, 'PendingSeed');
117
104
  initMetadataForClass(Capture, 'Capture');
118
105
  initMetadataForClass(KotestWirespecGenerator, 'KotestWirespecGenerator');
119
106
  initMetadataForClass(KotestWirespecGeneratorJs, 'KotestWirespecGeneratorJs');
120
107
  //endregion
121
- function get_DEFAULT_ARBS() {
122
- _init_properties_DefaultArbs_kt__g2g7w1();
123
- return DEFAULT_ARBS;
124
- }
125
- var DEFAULT_ARBS;
126
- function uuidArb() {
127
- _init_properties_DefaultArbs_kt__g2g7w1();
128
- return arbitrary(uuidArb$slambda_0(null));
129
- }
130
- function DEFAULT_ARBS$lambda() {
131
- _init_properties_DefaultArbs_kt__g2g7w1();
132
- return email(Companion_instance);
133
- }
134
- function DEFAULT_ARBS$lambda_0() {
135
- _init_properties_DefaultArbs_kt__g2g7w1();
136
- return ipAddressV4(Companion_instance);
137
- }
138
- function DEFAULT_ARBS$lambda_1() {
139
- _init_properties_DefaultArbs_kt__g2g7w1();
140
- return uuidArb();
141
- }
142
- function DEFAULT_ARBS$lambda_2() {
143
- _init_properties_DefaultArbs_kt__g2g7w1();
144
- var tmp = firstName(Companion_instance);
145
- return map(tmp, DEFAULT_ARBS$lambda$lambda);
146
- }
147
- function DEFAULT_ARBS$lambda$lambda(it) {
148
- _init_properties_DefaultArbs_kt__g2g7w1();
149
- return it.e64_1;
150
- }
151
- function DEFAULT_ARBS$lambda_3() {
152
- _init_properties_DefaultArbs_kt__g2g7w1();
153
- var tmp = lastName(Companion_instance);
154
- return map(tmp, DEFAULT_ARBS$lambda$lambda_0);
155
- }
156
- function DEFAULT_ARBS$lambda$lambda_0(it) {
157
- _init_properties_DefaultArbs_kt__g2g7w1();
158
- return it.f64_1;
159
- }
160
- function DEFAULT_ARBS$lambda_4() {
161
- _init_properties_DefaultArbs_kt__g2g7w1();
162
- var tmp = name(Companion_instance);
163
- return map(tmp, DEFAULT_ARBS$lambda$lambda_1);
164
- }
165
- function DEFAULT_ARBS$lambda$lambda_1(it) {
166
- _init_properties_DefaultArbs_kt__g2g7w1();
167
- return it.g64_1.e64_1 + ' ' + it.h64_1.f64_1;
168
- }
169
- function DEFAULT_ARBS$lambda_5() {
170
- _init_properties_DefaultArbs_kt__g2g7w1();
171
- var tmp = name(Companion_instance);
172
- return map(tmp, DEFAULT_ARBS$lambda$lambda_2);
173
- }
174
- function DEFAULT_ARBS$lambda$lambda_2(it) {
175
- _init_properties_DefaultArbs_kt__g2g7w1();
176
- return it.g64_1.e64_1 + ' ' + it.h64_1.f64_1;
177
- }
178
- function DEFAULT_ARBS$lambda_6() {
179
- _init_properties_DefaultArbs_kt__g2g7w1();
180
- var tmp = usernames(Companion_instance);
181
- return map(tmp, DEFAULT_ARBS$lambda$lambda_3);
182
- }
183
- function DEFAULT_ARBS$lambda$lambda_3(it) {
184
- _init_properties_DefaultArbs_kt__g2g7w1();
185
- return it.e65_1;
186
- }
187
- function DEFAULT_ARBS$lambda_7() {
188
- _init_properties_DefaultArbs_kt__g2g7w1();
189
- var tmp = domain(Companion_instance);
190
- return map(tmp, DEFAULT_ARBS$lambda$lambda_4);
191
- }
192
- function DEFAULT_ARBS$lambda$lambda_4(it) {
193
- _init_properties_DefaultArbs_kt__g2g7w1();
194
- return it.r63_1;
195
- }
196
- function DEFAULT_ARBS$lambda_8() {
197
- _init_properties_DefaultArbs_kt__g2g7w1();
198
- var tmp = color(Companion_instance);
199
- return map(tmp, DEFAULT_ARBS$lambda$lambda_5);
200
- }
201
- function DEFAULT_ARBS$lambda$lambda_5(it) {
202
- _init_properties_DefaultArbs_kt__g2g7w1();
203
- return it.q63_1;
204
- }
205
- function invoke$hex(r, n) {
206
- // Inline function 'kotlin.text.buildString' call
207
- // Inline function 'kotlin.apply' call
208
- var this_0 = StringBuilder_init_$Create$(n);
209
- // Inline function 'kotlin.repeat' call
210
- var inductionVariable = 0;
211
- if (inductionVariable < n)
212
- do {
213
- var index = inductionVariable;
214
- inductionVariable = inductionVariable + 1 | 0;
215
- var v = r.j1(16);
216
- this_0.s(v < 10 ? Char__plus_impl_qi7pgj(_Char___init__impl__6a9atx(48), v) : Char__plus_impl_qi7pgj(_Char___init__impl__6a9atx(97), v - 10 | 0));
217
- }
218
- while (inductionVariable < n);
219
- return this_0.toString();
220
- }
221
- function uuidArb$slambda(resultContinuation) {
222
- CoroutineImpl.call(this, resultContinuation);
223
- }
224
- protoOf(uuidArb$slambda).a60 = function ($this$arbitrary, rs, $completion) {
225
- var tmp = this.e5u($this$arbitrary, rs, $completion);
226
- tmp.k9_1 = Unit_instance;
227
- tmp.l9_1 = null;
228
- return tmp.q9();
229
- };
230
- protoOf(uuidArb$slambda).w9 = function (p1, p2, $completion) {
231
- var tmp = (!(p1 == null) ? isInterface(p1, ArbitraryBuilderContext) : false) ? p1 : THROW_CCE();
232
- return this.a60(tmp, p2 instanceof RandomSource ? p2 : THROW_CCE(), $completion);
233
- };
234
- protoOf(uuidArb$slambda).q9 = function () {
235
- var suspendResult = this.k9_1;
236
- $sm: do
237
- try {
238
- var tmp = this.i9_1;
239
- if (tmp === 0) {
240
- this.j9_1 = 1;
241
- var r = this.z65_1.r5r_1;
242
- var timeLow = invoke$hex(r, 8);
243
- var timeMid = invoke$hex(r, 4);
244
- var timeHi = '4' + invoke$hex(r, 3);
245
- var variant = charCodeAt('89ab', r.j1(4));
246
- var other = invoke$hex(r, 3);
247
- var clockSeq = toString(variant) + other;
248
- var node = invoke$hex(r, 12);
249
- return timeLow + '-' + timeMid + '-' + timeHi + '-' + clockSeq + '-' + node;
250
- } else if (tmp === 1) {
251
- throw this.l9_1;
252
- }
253
- } catch ($p) {
254
- var e = $p;
255
- throw e;
256
- }
257
- while (true);
258
- };
259
- protoOf(uuidArb$slambda).e5u = function ($this$arbitrary, rs, completion) {
260
- var i = new uuidArb$slambda(completion);
261
- i.y65_1 = $this$arbitrary;
262
- i.z65_1 = rs;
263
- return i;
264
- };
265
- function uuidArb$slambda_0(resultContinuation) {
266
- var i = new uuidArb$slambda(resultContinuation);
267
- var l = function ($this$arbitrary, rs, $completion) {
268
- return i.a60($this$arbitrary, rs, $completion);
269
- };
270
- l.$arity = 2;
271
- return l;
272
- }
273
- var properties_initialized_DefaultArbs_kt_a0b75f;
274
- function _init_properties_DefaultArbs_kt__g2g7w1() {
275
- if (!properties_initialized_DefaultArbs_kt_a0b75f) {
276
- properties_initialized_DefaultArbs_kt_a0b75f = true;
277
- var tmp = to('email', DEFAULT_ARBS$lambda);
278
- var tmp_0 = to('ipAddress', DEFAULT_ARBS$lambda_0);
279
- var tmp_1 = to('uuid', DEFAULT_ARBS$lambda_1);
280
- var tmp_2 = to('firstName', DEFAULT_ARBS$lambda_2);
281
- var tmp_3 = to('lastName', DEFAULT_ARBS$lambda_3);
282
- var tmp_4 = to('fullName', DEFAULT_ARBS$lambda_4);
283
- var tmp_5 = to('name', DEFAULT_ARBS$lambda_5);
284
- var tmp_6 = to('username', DEFAULT_ARBS$lambda_6);
285
- var tmp_7 = to('domain', DEFAULT_ARBS$lambda_7);
286
- DEFAULT_ARBS = mapOf([tmp, tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp_6, tmp_7, to('color', DEFAULT_ARBS$lambda_8)]);
287
- }
288
- }
289
108
  function KotestField() {
290
109
  }
291
110
  function KotestFieldString(regex, annotations) {
292
- this.a66_1 = regex;
293
- this.b66_1 = annotations;
111
+ this.r5z_1 = regex;
112
+ this.s5z_1 = annotations;
294
113
  }
295
114
  protoOf(KotestFieldString).toString = function () {
296
- return 'KotestFieldString(regex=' + this.a66_1 + ', annotations=' + toString_0(this.b66_1) + ')';
115
+ return 'KotestFieldString(regex=' + this.r5z_1 + ', annotations=' + toString(this.s5z_1) + ')';
297
116
  };
298
117
  protoOf(KotestFieldString).hashCode = function () {
299
- var result = this.a66_1 == null ? 0 : getStringHashCode(this.a66_1);
300
- result = imul(result, 31) + hashCode(this.b66_1) | 0;
118
+ var result = this.r5z_1 == null ? 0 : getStringHashCode(this.r5z_1);
119
+ result = imul(result, 31) + hashCode(this.s5z_1) | 0;
301
120
  return result;
302
121
  };
303
122
  protoOf(KotestFieldString).equals = function (other) {
@@ -305,24 +124,24 @@ protoOf(KotestFieldString).equals = function (other) {
305
124
  return true;
306
125
  if (!(other instanceof KotestFieldString))
307
126
  return false;
308
- if (!(this.a66_1 == other.a66_1))
127
+ if (!(this.r5z_1 == other.r5z_1))
309
128
  return false;
310
- if (!equals(this.b66_1, other.b66_1))
129
+ if (!equals(this.s5z_1, other.s5z_1))
311
130
  return false;
312
131
  return true;
313
132
  };
314
133
  function KotestFieldInteger64(min, max, annotations) {
315
- this.c66_1 = min;
316
- this.d66_1 = max;
317
- this.e66_1 = annotations;
134
+ this.t5z_1 = min;
135
+ this.u5z_1 = max;
136
+ this.v5z_1 = annotations;
318
137
  }
319
138
  protoOf(KotestFieldInteger64).toString = function () {
320
- return 'KotestFieldInteger64(min=' + toString_1(this.c66_1) + ', max=' + toString_1(this.d66_1) + ', annotations=' + toString_0(this.e66_1) + ')';
139
+ return 'KotestFieldInteger64(min=' + toString_0(this.t5z_1) + ', max=' + toString_0(this.u5z_1) + ', annotations=' + toString(this.v5z_1) + ')';
321
140
  };
322
141
  protoOf(KotestFieldInteger64).hashCode = function () {
323
- var result = this.c66_1 == null ? 0 : this.c66_1.hashCode();
324
- result = imul(result, 31) + (this.d66_1 == null ? 0 : this.d66_1.hashCode()) | 0;
325
- result = imul(result, 31) + hashCode(this.e66_1) | 0;
142
+ var result = this.t5z_1 == null ? 0 : this.t5z_1.hashCode();
143
+ result = imul(result, 31) + (this.u5z_1 == null ? 0 : this.u5z_1.hashCode()) | 0;
144
+ result = imul(result, 31) + hashCode(this.v5z_1) | 0;
326
145
  return result;
327
146
  };
328
147
  protoOf(KotestFieldInteger64).equals = function (other) {
@@ -330,26 +149,26 @@ protoOf(KotestFieldInteger64).equals = function (other) {
330
149
  return true;
331
150
  if (!(other instanceof KotestFieldInteger64))
332
151
  return false;
333
- if (!equals(this.c66_1, other.c66_1))
152
+ if (!equals(this.t5z_1, other.t5z_1))
334
153
  return false;
335
- if (!equals(this.d66_1, other.d66_1))
154
+ if (!equals(this.u5z_1, other.u5z_1))
336
155
  return false;
337
- if (!equals(this.e66_1, other.e66_1))
156
+ if (!equals(this.v5z_1, other.v5z_1))
338
157
  return false;
339
158
  return true;
340
159
  };
341
160
  function KotestFieldInteger32(min, max, annotations) {
342
- this.f66_1 = min;
343
- this.g66_1 = max;
344
- this.h66_1 = annotations;
161
+ this.w5z_1 = min;
162
+ this.x5z_1 = max;
163
+ this.y5z_1 = annotations;
345
164
  }
346
165
  protoOf(KotestFieldInteger32).toString = function () {
347
- return 'KotestFieldInteger32(min=' + this.f66_1 + ', max=' + this.g66_1 + ', annotations=' + toString_0(this.h66_1) + ')';
166
+ return 'KotestFieldInteger32(min=' + this.w5z_1 + ', max=' + this.x5z_1 + ', annotations=' + toString(this.y5z_1) + ')';
348
167
  };
349
168
  protoOf(KotestFieldInteger32).hashCode = function () {
350
- var result = this.f66_1 == null ? 0 : this.f66_1;
351
- result = imul(result, 31) + (this.g66_1 == null ? 0 : this.g66_1) | 0;
352
- result = imul(result, 31) + hashCode(this.h66_1) | 0;
169
+ var result = this.w5z_1 == null ? 0 : this.w5z_1;
170
+ result = imul(result, 31) + (this.x5z_1 == null ? 0 : this.x5z_1) | 0;
171
+ result = imul(result, 31) + hashCode(this.y5z_1) | 0;
353
172
  return result;
354
173
  };
355
174
  protoOf(KotestFieldInteger32).equals = function (other) {
@@ -357,26 +176,26 @@ protoOf(KotestFieldInteger32).equals = function (other) {
357
176
  return true;
358
177
  if (!(other instanceof KotestFieldInteger32))
359
178
  return false;
360
- if (!(this.f66_1 == other.f66_1))
179
+ if (!(this.w5z_1 == other.w5z_1))
361
180
  return false;
362
- if (!(this.g66_1 == other.g66_1))
181
+ if (!(this.x5z_1 == other.x5z_1))
363
182
  return false;
364
- if (!equals(this.h66_1, other.h66_1))
183
+ if (!equals(this.y5z_1, other.y5z_1))
365
184
  return false;
366
185
  return true;
367
186
  };
368
187
  function KotestFieldNumber64(min, max, annotations) {
369
- this.i66_1 = min;
370
- this.j66_1 = max;
371
- this.k66_1 = annotations;
188
+ this.z5z_1 = min;
189
+ this.a60_1 = max;
190
+ this.b60_1 = annotations;
372
191
  }
373
192
  protoOf(KotestFieldNumber64).toString = function () {
374
- return 'KotestFieldNumber64(min=' + this.i66_1 + ', max=' + this.j66_1 + ', annotations=' + toString_0(this.k66_1) + ')';
193
+ return 'KotestFieldNumber64(min=' + this.z5z_1 + ', max=' + this.a60_1 + ', annotations=' + toString(this.b60_1) + ')';
375
194
  };
376
195
  protoOf(KotestFieldNumber64).hashCode = function () {
377
- var result = this.i66_1 == null ? 0 : getNumberHashCode(this.i66_1);
378
- result = imul(result, 31) + (this.j66_1 == null ? 0 : getNumberHashCode(this.j66_1)) | 0;
379
- result = imul(result, 31) + hashCode(this.k66_1) | 0;
196
+ var result = this.z5z_1 == null ? 0 : getNumberHashCode(this.z5z_1);
197
+ result = imul(result, 31) + (this.a60_1 == null ? 0 : getNumberHashCode(this.a60_1)) | 0;
198
+ result = imul(result, 31) + hashCode(this.b60_1) | 0;
380
199
  return result;
381
200
  };
382
201
  protoOf(KotestFieldNumber64).equals = function (other) {
@@ -384,26 +203,26 @@ protoOf(KotestFieldNumber64).equals = function (other) {
384
203
  return true;
385
204
  if (!(other instanceof KotestFieldNumber64))
386
205
  return false;
387
- if (!equals(this.i66_1, other.i66_1))
206
+ if (!equals(this.z5z_1, other.z5z_1))
388
207
  return false;
389
- if (!equals(this.j66_1, other.j66_1))
208
+ if (!equals(this.a60_1, other.a60_1))
390
209
  return false;
391
- if (!equals(this.k66_1, other.k66_1))
210
+ if (!equals(this.b60_1, other.b60_1))
392
211
  return false;
393
212
  return true;
394
213
  };
395
214
  function KotestFieldNumber32(min, max, annotations) {
396
- this.l66_1 = min;
397
- this.m66_1 = max;
398
- this.n66_1 = annotations;
215
+ this.c60_1 = min;
216
+ this.d60_1 = max;
217
+ this.e60_1 = annotations;
399
218
  }
400
219
  protoOf(KotestFieldNumber32).toString = function () {
401
- return 'KotestFieldNumber32(min=' + this.l66_1 + ', max=' + this.m66_1 + ', annotations=' + toString_0(this.n66_1) + ')';
220
+ return 'KotestFieldNumber32(min=' + this.c60_1 + ', max=' + this.d60_1 + ', annotations=' + toString(this.e60_1) + ')';
402
221
  };
403
222
  protoOf(KotestFieldNumber32).hashCode = function () {
404
- var result = this.l66_1 == null ? 0 : getNumberHashCode(this.l66_1);
405
- result = imul(result, 31) + (this.m66_1 == null ? 0 : getNumberHashCode(this.m66_1)) | 0;
406
- result = imul(result, 31) + hashCode(this.n66_1) | 0;
223
+ var result = this.c60_1 == null ? 0 : getNumberHashCode(this.c60_1);
224
+ result = imul(result, 31) + (this.d60_1 == null ? 0 : getNumberHashCode(this.d60_1)) | 0;
225
+ result = imul(result, 31) + hashCode(this.e60_1) | 0;
407
226
  return result;
408
227
  };
409
228
  protoOf(KotestFieldNumber32).equals = function (other) {
@@ -411,62 +230,62 @@ protoOf(KotestFieldNumber32).equals = function (other) {
411
230
  return true;
412
231
  if (!(other instanceof KotestFieldNumber32))
413
232
  return false;
414
- if (!equals(this.l66_1, other.l66_1))
233
+ if (!equals(this.c60_1, other.c60_1))
415
234
  return false;
416
- if (!equals(this.m66_1, other.m66_1))
235
+ if (!equals(this.d60_1, other.d60_1))
417
236
  return false;
418
- if (!equals(this.n66_1, other.n66_1))
237
+ if (!equals(this.e60_1, other.e60_1))
419
238
  return false;
420
239
  return true;
421
240
  };
422
241
  function KotestFieldBoolean(annotations) {
423
- this.o66_1 = annotations;
242
+ this.f60_1 = annotations;
424
243
  }
425
244
  protoOf(KotestFieldBoolean).toString = function () {
426
- return 'KotestFieldBoolean(annotations=' + toString_0(this.o66_1) + ')';
245
+ return 'KotestFieldBoolean(annotations=' + toString(this.f60_1) + ')';
427
246
  };
428
247
  protoOf(KotestFieldBoolean).hashCode = function () {
429
- return hashCode(this.o66_1);
248
+ return hashCode(this.f60_1);
430
249
  };
431
250
  protoOf(KotestFieldBoolean).equals = function (other) {
432
251
  if (this === other)
433
252
  return true;
434
253
  if (!(other instanceof KotestFieldBoolean))
435
254
  return false;
436
- if (!equals(this.o66_1, other.o66_1))
255
+ if (!equals(this.f60_1, other.f60_1))
437
256
  return false;
438
257
  return true;
439
258
  };
440
259
  function KotestFieldBytes(annotations) {
441
- this.p66_1 = annotations;
260
+ this.g60_1 = annotations;
442
261
  }
443
262
  protoOf(KotestFieldBytes).toString = function () {
444
- return 'KotestFieldBytes(annotations=' + toString_0(this.p66_1) + ')';
263
+ return 'KotestFieldBytes(annotations=' + toString(this.g60_1) + ')';
445
264
  };
446
265
  protoOf(KotestFieldBytes).hashCode = function () {
447
- return hashCode(this.p66_1);
266
+ return hashCode(this.g60_1);
448
267
  };
449
268
  protoOf(KotestFieldBytes).equals = function (other) {
450
269
  if (this === other)
451
270
  return true;
452
271
  if (!(other instanceof KotestFieldBytes))
453
272
  return false;
454
- if (!equals(this.p66_1, other.p66_1))
273
+ if (!equals(this.g60_1, other.g60_1))
455
274
  return false;
456
275
  return true;
457
276
  };
458
277
  function KotestFieldEnum(values, annotations, type) {
459
- this.q66_1 = values;
460
- this.r66_1 = annotations;
461
- this.s66_1 = type;
278
+ this.h60_1 = values;
279
+ this.i60_1 = annotations;
280
+ this.j60_1 = type;
462
281
  }
463
282
  protoOf(KotestFieldEnum).toString = function () {
464
- return 'KotestFieldEnum(values=' + toString_0(this.q66_1) + ', annotations=' + toString_0(this.r66_1) + ', type=' + toString_0(this.s66_1) + ')';
283
+ return 'KotestFieldEnum(values=' + toString(this.h60_1) + ', annotations=' + toString(this.i60_1) + ', type=' + toString(this.j60_1) + ')';
465
284
  };
466
285
  protoOf(KotestFieldEnum).hashCode = function () {
467
- var result = hashCode(this.q66_1);
468
- result = imul(result, 31) + hashCode(this.r66_1) | 0;
469
- result = imul(result, 31) + hashCode(this.s66_1) | 0;
286
+ var result = hashCode(this.h60_1);
287
+ result = imul(result, 31) + hashCode(this.i60_1) | 0;
288
+ result = imul(result, 31) + hashCode(this.j60_1) | 0;
470
289
  return result;
471
290
  };
472
291
  protoOf(KotestFieldEnum).equals = function (other) {
@@ -474,26 +293,26 @@ protoOf(KotestFieldEnum).equals = function (other) {
474
293
  return true;
475
294
  if (!(other instanceof KotestFieldEnum))
476
295
  return false;
477
- if (!equals(this.q66_1, other.q66_1))
296
+ if (!equals(this.h60_1, other.h60_1))
478
297
  return false;
479
- if (!equals(this.r66_1, other.r66_1))
298
+ if (!equals(this.i60_1, other.i60_1))
480
299
  return false;
481
- if (!equals(this.s66_1, other.s66_1))
300
+ if (!equals(this.j60_1, other.j60_1))
482
301
  return false;
483
302
  return true;
484
303
  };
485
304
  function KotestFieldUnion(variants, annotations, type) {
486
- this.t66_1 = variants;
487
- this.u66_1 = annotations;
488
- this.v66_1 = type;
305
+ this.k60_1 = variants;
306
+ this.l60_1 = annotations;
307
+ this.m60_1 = type;
489
308
  }
490
309
  protoOf(KotestFieldUnion).toString = function () {
491
- return 'KotestFieldUnion(variants=' + toString_0(this.t66_1) + ', annotations=' + toString_0(this.u66_1) + ', type=' + toString_0(this.v66_1) + ')';
310
+ return 'KotestFieldUnion(variants=' + toString(this.k60_1) + ', annotations=' + toString(this.l60_1) + ', type=' + toString(this.m60_1) + ')';
492
311
  };
493
312
  protoOf(KotestFieldUnion).hashCode = function () {
494
- var result = hashCode(this.t66_1);
495
- result = imul(result, 31) + hashCode(this.u66_1) | 0;
496
- result = imul(result, 31) + hashCode(this.v66_1) | 0;
313
+ var result = hashCode(this.k60_1);
314
+ result = imul(result, 31) + hashCode(this.l60_1) | 0;
315
+ result = imul(result, 31) + hashCode(this.m60_1) | 0;
497
316
  return result;
498
317
  };
499
318
  protoOf(KotestFieldUnion).equals = function (other) {
@@ -501,62 +320,62 @@ protoOf(KotestFieldUnion).equals = function (other) {
501
320
  return true;
502
321
  if (!(other instanceof KotestFieldUnion))
503
322
  return false;
504
- if (!equals(this.t66_1, other.t66_1))
323
+ if (!equals(this.k60_1, other.k60_1))
505
324
  return false;
506
- if (!equals(this.u66_1, other.u66_1))
325
+ if (!equals(this.l60_1, other.l60_1))
507
326
  return false;
508
- if (!equals(this.v66_1, other.v66_1))
327
+ if (!equals(this.m60_1, other.m60_1))
509
328
  return false;
510
329
  return true;
511
330
  };
512
331
  function KotestFieldArray(generate) {
513
- this.w66_1 = generate;
332
+ this.n60_1 = generate;
514
333
  }
515
334
  protoOf(KotestFieldArray).toString = function () {
516
- return 'KotestFieldArray(generate=' + toString_0(this.w66_1) + ')';
335
+ return 'KotestFieldArray(generate=' + toString(this.n60_1) + ')';
517
336
  };
518
337
  protoOf(KotestFieldArray).hashCode = function () {
519
- return hashCode(this.w66_1);
338
+ return hashCode(this.n60_1);
520
339
  };
521
340
  protoOf(KotestFieldArray).equals = function (other) {
522
341
  if (this === other)
523
342
  return true;
524
343
  if (!(other instanceof KotestFieldArray))
525
344
  return false;
526
- if (!equals(this.w66_1, other.w66_1))
345
+ if (!equals(this.n60_1, other.n60_1))
527
346
  return false;
528
347
  return true;
529
348
  };
530
349
  function KotestFieldNullable(generate) {
531
- this.x66_1 = generate;
350
+ this.o60_1 = generate;
532
351
  }
533
352
  protoOf(KotestFieldNullable).toString = function () {
534
- return 'KotestFieldNullable(generate=' + toString_0(this.x66_1) + ')';
353
+ return 'KotestFieldNullable(generate=' + toString(this.o60_1) + ')';
535
354
  };
536
355
  protoOf(KotestFieldNullable).hashCode = function () {
537
- return hashCode(this.x66_1);
356
+ return hashCode(this.o60_1);
538
357
  };
539
358
  protoOf(KotestFieldNullable).equals = function (other) {
540
359
  if (this === other)
541
360
  return true;
542
361
  if (!(other instanceof KotestFieldNullable))
543
362
  return false;
544
- if (!equals(this.x66_1, other.x66_1))
363
+ if (!equals(this.o60_1, other.o60_1))
545
364
  return false;
546
365
  return true;
547
366
  };
548
367
  function KotestFieldShape(annotations, generate, type) {
549
- this.y66_1 = annotations;
550
- this.z66_1 = generate;
551
- this.a67_1 = type;
368
+ this.p60_1 = annotations;
369
+ this.q60_1 = generate;
370
+ this.r60_1 = type;
552
371
  }
553
372
  protoOf(KotestFieldShape).toString = function () {
554
- return 'KotestFieldShape(annotations=' + toString_0(this.y66_1) + ', generate=' + toString_0(this.z66_1) + ', type=' + toString_0(this.a67_1) + ')';
373
+ return 'KotestFieldShape(annotations=' + toString(this.p60_1) + ', generate=' + toString(this.q60_1) + ', type=' + toString(this.r60_1) + ')';
555
374
  };
556
375
  protoOf(KotestFieldShape).hashCode = function () {
557
- var result = hashCode(this.y66_1);
558
- result = imul(result, 31) + hashCode(this.z66_1) | 0;
559
- result = imul(result, 31) + hashCode(this.a67_1) | 0;
376
+ var result = hashCode(this.p60_1);
377
+ result = imul(result, 31) + hashCode(this.q60_1) | 0;
378
+ result = imul(result, 31) + hashCode(this.r60_1) | 0;
560
379
  return result;
561
380
  };
562
381
  protoOf(KotestFieldShape).equals = function (other) {
@@ -564,34 +383,162 @@ protoOf(KotestFieldShape).equals = function (other) {
564
383
  return true;
565
384
  if (!(other instanceof KotestFieldShape))
566
385
  return false;
567
- if (!equals(this.y66_1, other.y66_1))
386
+ if (!equals(this.p60_1, other.p60_1))
568
387
  return false;
569
- if (!equals(this.z66_1, other.z66_1))
388
+ if (!equals(this.q60_1, other.q60_1))
570
389
  return false;
571
- if (!equals(this.a67_1, other.a67_1))
390
+ if (!equals(this.r60_1, other.r60_1))
572
391
  return false;
573
392
  return true;
574
393
  };
575
394
  function KotestFieldDict(generate) {
576
- this.b67_1 = generate;
395
+ this.s60_1 = generate;
577
396
  }
578
397
  protoOf(KotestFieldDict).toString = function () {
579
- return 'KotestFieldDict(generate=' + toString_0(this.b67_1) + ')';
398
+ return 'KotestFieldDict(generate=' + toString(this.s60_1) + ')';
580
399
  };
581
400
  protoOf(KotestFieldDict).hashCode = function () {
582
- return hashCode(this.b67_1);
401
+ return hashCode(this.s60_1);
583
402
  };
584
403
  protoOf(KotestFieldDict).equals = function (other) {
585
404
  if (this === other)
586
405
  return true;
587
406
  if (!(other instanceof KotestFieldDict))
588
407
  return false;
589
- if (!equals(this.b67_1, other.b67_1))
408
+ if (!equals(this.s60_1, other.s60_1))
590
409
  return false;
591
410
  return true;
592
411
  };
593
- function kotestGenerator(seed, block) {
412
+ function IdentityRefinedWrapper() {
413
+ }
414
+ protoOf(IdentityRefinedWrapper).t60 = function (drawn, field, path) {
415
+ return drawn;
416
+ };
417
+ var IdentityRefinedWrapper_instance;
418
+ function IdentityRefinedWrapper_getInstance() {
419
+ return IdentityRefinedWrapper_instance;
420
+ }
421
+ function OverrideRegistry$findPath$lambda(it) {
422
+ return it.tf_1.toString();
423
+ }
424
+ function OverrideRegistry() {
425
+ var tmp = this;
426
+ // Inline function 'kotlin.collections.mutableListOf' call
427
+ tmp.u60_1 = ArrayList_init_$Create$();
428
+ var tmp_0 = this;
429
+ // Inline function 'kotlin.collections.mutableMapOf' call
430
+ tmp_0.v60_1 = LinkedHashMap_init_$Create$();
431
+ }
432
+ protoOf(OverrideRegistry).w60 = function (path) {
433
+ // Inline function 'kotlin.collections.filter' call
434
+ var tmp0 = this.u60_1;
435
+ // Inline function 'kotlin.collections.filterTo' call
436
+ var destination = ArrayList_init_$Create$();
437
+ var _iterator__ex2g4s = tmp0.t();
438
+ while (_iterator__ex2g4s.u()) {
439
+ var element = _iterator__ex2g4s.v();
440
+ var pattern = element.kf();
441
+ if (pattern.z60(path)) {
442
+ destination.x(element);
443
+ }
444
+ }
445
+ var matches = destination;
446
+ if (matches.r())
447
+ return null;
448
+ // Inline function 'kotlin.collections.maxOf' call
449
+ var iterator = matches.t();
450
+ if (!iterator.u())
451
+ throw NoSuchElementException_init_$Create$();
452
+ var maxValue = iterator.v().tf_1.y60_1;
453
+ while (iterator.u()) {
454
+ var v = iterator.v().tf_1.y60_1;
455
+ if (compareTo(maxValue, v) < 0) {
456
+ maxValue = v;
457
+ }
458
+ }
459
+ var maxSpec = maxValue;
460
+ // Inline function 'kotlin.collections.filter' call
461
+ // Inline function 'kotlin.collections.filterTo' call
462
+ var destination_0 = ArrayList_init_$Create$();
463
+ var _iterator__ex2g4s_0 = matches.t();
464
+ while (_iterator__ex2g4s_0.u()) {
465
+ var element_0 = _iterator__ex2g4s_0.v();
466
+ if (element_0.tf_1.y60_1 === maxSpec) {
467
+ destination_0.x(element_0);
468
+ }
469
+ }
470
+ var best = destination_0;
471
+ if (best.a1() > 1) {
472
+ var tmp = 'Ambiguous path overrides for ' + joinToString(path, '/') + ': ';
473
+ // Inline function 'kotlin.error' call
474
+ var message = tmp + joinToString(best, ', ', VOID, VOID, VOID, VOID, OverrideRegistry$findPath$lambda);
475
+ throw IllegalStateException_init_$Create$(toString(message));
476
+ }
477
+ return single(best).uf_1;
478
+ };
479
+ protoOf(OverrideRegistry).a61 = function (key) {
480
+ return this.v60_1.q2(key);
481
+ };
482
+ function FieldKey(parentTypeName, fieldName) {
483
+ this.b61_1 = parentTypeName;
484
+ this.c61_1 = fieldName;
485
+ }
486
+ protoOf(FieldKey).toString = function () {
487
+ return 'FieldKey(parentTypeName=' + this.b61_1 + ', fieldName=' + this.c61_1 + ')';
488
+ };
489
+ protoOf(FieldKey).hashCode = function () {
490
+ var result = getStringHashCode(this.b61_1);
491
+ result = imul(result, 31) + getStringHashCode(this.c61_1) | 0;
492
+ return result;
493
+ };
494
+ protoOf(FieldKey).equals = function (other) {
495
+ if (this === other)
496
+ return true;
497
+ if (!(other instanceof FieldKey))
498
+ return false;
499
+ if (!(this.b61_1 === other.b61_1))
500
+ return false;
501
+ if (!(this.c61_1 === other.c61_1))
502
+ return false;
503
+ return true;
504
+ };
505
+ function PathPattern$toString$lambda(it) {
506
+ var tmp;
507
+ if (it instanceof Literal) {
508
+ tmp = it.d61_1;
509
+ } else {
510
+ if (equals(it, Wildcard_instance)) {
511
+ tmp = '*';
512
+ } else {
513
+ noWhenBranchMatchedException();
514
+ }
515
+ }
516
+ return tmp;
517
+ }
518
+ function Literal() {
519
+ }
520
+ function Wildcard() {
521
+ }
522
+ protoOf(Wildcard).toString = function () {
523
+ return 'Wildcard';
524
+ };
525
+ protoOf(Wildcard).hashCode = function () {
526
+ return -359688756;
527
+ };
528
+ protoOf(Wildcard).equals = function (other) {
529
+ if (this === other)
530
+ return true;
531
+ if (!(other instanceof Wildcard))
532
+ return false;
533
+ return true;
534
+ };
535
+ var Wildcard_instance;
536
+ function Wildcard_getInstance() {
537
+ return Wildcard_instance;
538
+ }
539
+ function kotestGenerator(seed, refinedWrapper, block) {
594
540
  seed = seed === VOID ? new Long(0, 0) : seed;
541
+ refinedWrapper = refinedWrapper === VOID ? IdentityRefinedWrapper_instance : refinedWrapper;
595
542
  var tmp;
596
543
  if (block === VOID) {
597
544
  tmp = kotestGenerator$lambda;
@@ -601,49 +548,43 @@ function kotestGenerator(seed, block) {
601
548
  block = tmp;
602
549
  // Inline function 'kotlin.apply' call
603
550
  var this_0 = new KotestWirespecGeneratorBuilder();
604
- // Inline function 'kotlin.collections.forEach' call
605
- // Inline function 'kotlin.collections.iterator' call
606
- var _iterator__ex2g4s = get_DEFAULT_ARBS().l1().t();
607
- while (_iterator__ex2g4s.u()) {
608
- var element = _iterator__ex2g4s.v();
609
- // Inline function 'kotlin.collections.component1' call
610
- var name = element.m1();
611
- // Inline function 'kotlin.collections.component2' call
612
- var factory = element.n1();
613
- this_0.d67(name, factory);
614
- }
615
551
  block(this_0);
616
552
  var builder = this_0;
617
- return new KotestWirespecGenerator(seed, builder.e67());
553
+ return new KotestWirespecGenerator(seed, builder.e61_1, refinedWrapper);
618
554
  }
619
555
  function KotestWirespecGeneratorBuilder() {
620
- var tmp = this;
621
- // Inline function 'kotlin.collections.mutableMapOf' call
622
- tmp.c67_1 = LinkedHashMap_init_$Create$();
556
+ this.e61_1 = new OverrideRegistry();
557
+ }
558
+ function ParentFrame(typeName) {
559
+ this.f61_1 = typeName;
623
560
  }
624
- protoOf(KotestWirespecGeneratorBuilder).d67 = function (name, factory) {
625
- var tmp0 = this.c67_1;
626
- // Inline function 'kotlin.text.lowercase' call
627
- // Inline function 'kotlin.js.asDynamic' call
628
- // Inline function 'kotlin.collections.set' call
629
- var key = name.toLowerCase();
630
- tmp0.d3(key, factory);
561
+ protoOf(ParentFrame).toString = function () {
562
+ return 'ParentFrame(typeName=' + this.f61_1 + ')';
563
+ };
564
+ protoOf(ParentFrame).hashCode = function () {
565
+ return getStringHashCode(this.f61_1);
631
566
  };
632
- protoOf(KotestWirespecGeneratorBuilder).e67 = function () {
633
- return toMap(this.c67_1);
567
+ protoOf(ParentFrame).equals = function (other) {
568
+ if (this === other)
569
+ return true;
570
+ if (!(other instanceof ParentFrame))
571
+ return false;
572
+ if (!(this.f61_1 === other.f61_1))
573
+ return false;
574
+ return true;
634
575
  };
635
576
  function PendingSeed(value, target, pathPrefix) {
636
- this.f67_1 = value;
637
- this.g67_1 = target;
638
- this.h67_1 = pathPrefix;
577
+ this.g61_1 = value;
578
+ this.h61_1 = target;
579
+ this.i61_1 = pathPrefix;
639
580
  }
640
581
  protoOf(PendingSeed).toString = function () {
641
- return 'PendingSeed(value=' + this.f67_1 + ', target=' + this.g67_1 + ', pathPrefix=' + toString_0(this.h67_1) + ')';
582
+ return 'PendingSeed(value=' + this.g61_1 + ', target=' + this.h61_1 + ', pathPrefix=' + toString(this.i61_1) + ')';
642
583
  };
643
584
  protoOf(PendingSeed).hashCode = function () {
644
- var result = getStringHashCode(this.f67_1);
645
- result = imul(result, 31) + getStringHashCode(this.g67_1) | 0;
646
- result = imul(result, 31) + hashCode(this.h67_1) | 0;
585
+ var result = getStringHashCode(this.g61_1);
586
+ result = imul(result, 31) + getStringHashCode(this.h61_1) | 0;
587
+ result = imul(result, 31) + hashCode(this.i61_1) | 0;
647
588
  return result;
648
589
  };
649
590
  protoOf(PendingSeed).equals = function (other) {
@@ -651,24 +592,24 @@ protoOf(PendingSeed).equals = function (other) {
651
592
  return true;
652
593
  if (!(other instanceof PendingSeed))
653
594
  return false;
654
- if (!(this.f67_1 === other.f67_1))
595
+ if (!(this.g61_1 === other.g61_1))
655
596
  return false;
656
- if (!(this.g67_1 === other.g67_1))
597
+ if (!(this.h61_1 === other.h61_1))
657
598
  return false;
658
- if (!equals(this.h67_1, other.h67_1))
599
+ if (!equals(this.i61_1, other.i61_1))
659
600
  return false;
660
601
  return true;
661
602
  };
662
603
  function Capture(shapePath, fieldName) {
663
- this.i67_1 = shapePath;
664
- this.j67_1 = fieldName;
665
- this.k67_1 = null;
604
+ this.j61_1 = shapePath;
605
+ this.k61_1 = fieldName;
606
+ this.l61_1 = null;
666
607
  }
667
608
  function rsFor($this, path) {
668
- return Companion_instance_0.p63(bitwiseXor($this.l67_1, fromInt(getStringHashCode(joinToString(path, '/')))));
609
+ return Companion_instance.q5z(bitwiseXor($this.m61_1, fromInt(getStringHashCode(joinToString(path, '/')))));
669
610
  }
670
611
  function captureSeedIfMatches($this, path, field) {
671
- var tmp0_elvis_lhs = $this.o67_1.cf();
612
+ var tmp0_elvis_lhs = $this.q61_1.xe();
672
613
  var tmp;
673
614
  if (tmp0_elvis_lhs == null) {
674
615
  return null;
@@ -676,16 +617,16 @@ function captureSeedIfMatches($this, path, field) {
676
617
  tmp = tmp0_elvis_lhs;
677
618
  }
678
619
  var capture = tmp;
679
- if (!(capture.k67_1 == null))
620
+ if (!(capture.l61_1 == null))
680
621
  return null;
681
- var expectedPrefix = plus(capture.i67_1, capture.j67_1);
682
- if (path.b1() < expectedPrefix.b1() || !equals(path.r2(0, expectedPrefix.b1()), expectedPrefix))
622
+ var expectedPrefix = plus(capture.j61_1, capture.k61_1);
623
+ if (path.a1() < expectedPrefix.a1() || !equals(path.m2(0, expectedPrefix.a1()), expectedPrefix))
683
624
  return null;
684
625
  var rs = rsFor($this, path);
685
626
  var tmp_0;
686
627
  if (field instanceof KotestFieldString) {
687
628
  var tmp_1;
688
- if (field.a66_1 == null) {
629
+ if (field.r5z_1 == null) {
689
630
  tmp_1 = null;
690
631
  } else {
691
632
  // Inline function 'kotlin.let' call
@@ -701,28 +642,28 @@ function captureSeedIfMatches($this, path, field) {
701
642
  tmp_2 = tmp3_elvis_lhs;
702
643
  }
703
644
  var prefix = tmp_2;
704
- var tmp4_elvis_lhs = field.a66_1;
645
+ var tmp4_elvis_lhs = field.r5z_1;
705
646
  var regex = tmp4_elvis_lhs == null ? '\\w{8}' : tmp4_elvis_lhs;
706
- var value = prefix + Companion_instance_1.k4f(regex).t4f(rs.r5r_1);
707
- capture.k67_1 = value;
647
+ var value = prefix + Companion_instance_1.s4e(regex).b4f(rs.z5q_1);
648
+ capture.l61_1 = value;
708
649
  tmp_0 = value;
709
650
  } else {
710
651
  if (field instanceof KotestFieldInteger64) {
711
- var tmp5_elvis_lhs = field.c66_1;
652
+ var tmp5_elvis_lhs = field.t5z_1;
712
653
  var lo = tmp5_elvis_lhs == null ? new Long(0, 0) : tmp5_elvis_lhs;
713
- var tmp6_elvis_lhs = field.d66_1;
654
+ var tmp6_elvis_lhs = field.u5z_1;
714
655
  var hi = tmp6_elvis_lhs == null ? new Long(-1, 2147483647) : tmp6_elvis_lhs;
715
- var value_0 = next(long(Companion_instance, longRangeToLong(lo, hi)), rs);
716
- capture.k67_1 = value_0.toString();
656
+ var value_0 = next(long(Companion_instance_0, longRangeToLong(lo, hi)), rs);
657
+ capture.l61_1 = value_0.toString();
717
658
  tmp_0 = value_0;
718
659
  } else {
719
660
  if (field instanceof KotestFieldInteger32) {
720
- var tmp7_elvis_lhs = field.f66_1;
661
+ var tmp7_elvis_lhs = field.w5z_1;
721
662
  var lo_0 = tmp7_elvis_lhs == null ? 0 : tmp7_elvis_lhs;
722
- var tmp8_elvis_lhs = field.g66_1;
663
+ var tmp8_elvis_lhs = field.x5z_1;
723
664
  var hi_0 = tmp8_elvis_lhs == null ? 2147483647 : tmp8_elvis_lhs;
724
- var value_1 = next(int(Companion_instance, numberRangeToNumber(lo_0, hi_0)), rs);
725
- capture.k67_1 = value_1.toString();
665
+ var value_1 = next(int(Companion_instance_0, numberRangeToNumber(lo_0, hi_0)), rs);
666
+ capture.l61_1 = value_1.toString();
726
667
  tmp_0 = value_1;
727
668
  } else {
728
669
  tmp_0 = null;
@@ -732,7 +673,7 @@ function captureSeedIfMatches($this, path, field) {
732
673
  return tmp_0;
733
674
  }
734
675
  function consumePendingSeedIfMatches($this, path, field) {
735
- var tmp0_elvis_lhs = $this.n67_1.cf();
676
+ var tmp0_elvis_lhs = $this.p61_1.xe();
736
677
  var tmp;
737
678
  if (tmp0_elvis_lhs == null) {
738
679
  return null;
@@ -740,24 +681,24 @@ function consumePendingSeedIfMatches($this, path, field) {
740
681
  tmp = tmp0_elvis_lhs;
741
682
  }
742
683
  var pending = tmp;
743
- if (!(path.b1() === (pending.h67_1.b1() + 1 | 0)))
684
+ if (!(path.a1() === (pending.i61_1.a1() + 1 | 0)))
744
685
  return null;
745
- if (!(last(path) === pending.g67_1))
686
+ if (!(last(path) === pending.h61_1))
746
687
  return null;
747
- if (!equals(path.r2(0, pending.h67_1.b1()), pending.h67_1))
688
+ if (!equals(path.m2(0, pending.i61_1.a1()), pending.i61_1))
748
689
  return null;
749
690
  var tmp_0;
750
691
  if (field instanceof KotestFieldString) {
751
- $this.n67_1.gf();
752
- tmp_0 = pending.f67_1;
692
+ $this.p61_1.bf();
693
+ tmp_0 = pending.g61_1;
753
694
  } else {
754
695
  if (field instanceof KotestFieldInteger64) {
755
- $this.n67_1.gf();
756
- tmp_0 = toLong(pending.f67_1);
696
+ $this.p61_1.bf();
697
+ tmp_0 = toLong(pending.g61_1);
757
698
  } else {
758
699
  if (field instanceof KotestFieldInteger32) {
759
- $this.n67_1.gf();
760
- tmp_0 = toInt(pending.f67_1);
700
+ $this.p61_1.bf();
701
+ tmp_0 = toInt(pending.g61_1);
761
702
  } else {
762
703
  tmp_0 = null;
763
704
  }
@@ -785,72 +726,99 @@ function seedAnnotationValueFor($this, field, candidate) {
785
726
  function generateSeededShape($this, path, field, seedFieldName) {
786
727
  var tmp0_safe_receiver = lastOrNull(path);
787
728
  var isArrayContext = !((tmp0_safe_receiver == null ? null : toIntOrNull(tmp0_safe_receiver)) == null);
788
- if (isArrayContext && $this.o67_1.r()) {
729
+ if (isArrayContext && $this.q61_1.r()) {
789
730
  var capture = new Capture(path, seedFieldName);
790
731
  // Inline function 'community.flock.wirespec.integration.kotest.withFrame' call
791
- var stack = $this.o67_1;
792
- var mark = stack.ze_1;
793
- stack.ef(capture);
732
+ var stack = $this.q61_1;
733
+ var mark = stack.ue_1;
734
+ stack.ze(capture);
794
735
  var tmp;
795
736
  try {
796
- // Inline function 'community.flock.wirespec.integration.kotest.KotestWirespecGenerator.withShapeDepth' call
797
- $this.p67_1 = $this.p67_1 + 1 | 0;
737
+ // Inline function 'community.flock.wirespec.integration.kotest.KotestWirespecGenerator.withParentFrame' call
738
+ var frame = new ParentFrame(toString(field.r60_1));
739
+ $this.s61_1.ze(frame);
798
740
  var tmp_0;
799
741
  try {
800
- tmp_0 = field.z66_1(path);
742
+ // Inline function 'community.flock.wirespec.integration.kotest.KotestWirespecGenerator.withShapeDepth' call
743
+ $this.r61_1 = $this.r61_1 + 1 | 0;
744
+ var tmp_1;
745
+ try {
746
+ tmp_1 = field.q60_1(path);
747
+ }finally {
748
+ $this.r61_1 = $this.r61_1 - 1 | 0;
749
+ }
750
+ tmp_0 = tmp_1;
801
751
  }finally {
802
- $this.p67_1 = $this.p67_1 - 1 | 0;
752
+ $this.s61_1.bf();
803
753
  }
804
- var tmp0_elvis_lhs = capture.k67_1;
805
- var tmp_1;
754
+ var tmp0_elvis_lhs = capture.l61_1;
755
+ var tmp_2;
806
756
  if (tmp0_elvis_lhs == null) {
807
- var message = 'Failed to capture @Seed value at ' + toString_0(path) + ' for field ' + seedFieldName;
808
- throw IllegalStateException_init_$Create$(toString_0(message));
757
+ var message = 'Failed to capture @Seed value at ' + toString(path) + ' for field ' + seedFieldName;
758
+ throw IllegalStateException_init_$Create$(toString(message));
809
759
  } else {
810
- tmp_1 = tmp0_elvis_lhs;
760
+ tmp_2 = tmp0_elvis_lhs;
811
761
  }
812
- tmp = tmp_1;
762
+ tmp = tmp_2;
813
763
  }finally {
814
- while (stack.ze_1 > mark) {
815
- stack.gf();
764
+ while (stack.ue_1 > mark) {
765
+ stack.bf();
816
766
  }
817
767
  }
818
768
  var seed = tmp;
819
- return field.z66_1(listOf(seed));
769
+ // Inline function 'community.flock.wirespec.integration.kotest.KotestWirespecGenerator.withParentFrame' call
770
+ var frame_0 = new ParentFrame(toString(field.r60_1));
771
+ $this.s61_1.ze(frame_0);
772
+ var tmp_3;
773
+ try {
774
+ tmp_3 = field.q60_1(listOf(seed));
775
+ }finally {
776
+ $this.s61_1.bf();
777
+ }
778
+ return tmp_3;
820
779
  }
821
780
  var tmp1_elvis_lhs = lastOrNull(dropLast(path, 1));
822
- var tmp_2;
781
+ var tmp_4;
823
782
  if (tmp1_elvis_lhs == null) {
824
783
  return null;
825
784
  } else {
826
- tmp_2 = tmp1_elvis_lhs;
785
+ tmp_4 = tmp1_elvis_lhs;
827
786
  }
828
- var candidate = tmp_2;
829
- var tmp0 = $this.n67_1;
787
+ var candidate = tmp_4;
788
+ var tmp0 = $this.p61_1;
830
789
  // Inline function 'community.flock.wirespec.integration.kotest.withFrame' call
831
- var frame = new PendingSeed(candidate, seedFieldName, path);
832
- var mark_0 = tmp0.ze_1;
833
- tmp0.ef(frame);
834
- var tmp_3;
790
+ var frame_1 = new PendingSeed(candidate, seedFieldName, path);
791
+ var mark_0 = tmp0.ue_1;
792
+ tmp0.ze(frame_1);
793
+ var tmp_5;
835
794
  try {
836
- // Inline function 'community.flock.wirespec.integration.kotest.KotestWirespecGenerator.withShapeDepth' call
837
- $this.p67_1 = $this.p67_1 + 1 | 0;
838
- var tmp_4;
795
+ // Inline function 'community.flock.wirespec.integration.kotest.KotestWirespecGenerator.withParentFrame' call
796
+ var frame_2 = new ParentFrame(toString(field.r60_1));
797
+ $this.s61_1.ze(frame_2);
798
+ var tmp_6;
839
799
  try {
840
- tmp_4 = field.z66_1(path);
800
+ // Inline function 'community.flock.wirespec.integration.kotest.KotestWirespecGenerator.withShapeDepth' call
801
+ $this.r61_1 = $this.r61_1 + 1 | 0;
802
+ var tmp_7;
803
+ try {
804
+ tmp_7 = field.q60_1(path);
805
+ }finally {
806
+ $this.r61_1 = $this.r61_1 - 1 | 0;
807
+ }
808
+ tmp_6 = tmp_7;
841
809
  }finally {
842
- $this.p67_1 = $this.p67_1 - 1 | 0;
810
+ $this.s61_1.bf();
843
811
  }
844
- tmp_3 = tmp_4;
812
+ tmp_5 = tmp_6;
845
813
  }finally {
846
- while (tmp0.ze_1 > mark_0) {
847
- tmp0.gf();
814
+ while (tmp0.ue_1 > mark_0) {
815
+ tmp0.bf();
848
816
  }
849
817
  }
850
- return tmp_3;
818
+ return tmp_5;
851
819
  }
852
820
  function seedFieldNameOf($this, field) {
853
- var tmp0 = field.y66_1.l1();
821
+ var tmp0 = field.p60_1.k1();
854
822
  var tmp$ret$4;
855
823
  $l$block_1: {
856
824
  // Inline function 'kotlin.collections.firstOrNull' call
@@ -858,7 +826,7 @@ function seedFieldNameOf($this, field) {
858
826
  while (_iterator__ex2g4s.u()) {
859
827
  var element = _iterator__ex2g4s.v();
860
828
  // Inline function 'kotlin.collections.component2' call
861
- var anns = element.n1();
829
+ var anns = element.m1();
862
830
  var tmp$ret$1;
863
831
  $l$block_0: {
864
832
  // Inline function 'kotlin.collections.any' call
@@ -875,7 +843,7 @@ function seedFieldNameOf($this, field) {
875
843
  var _iterator__ex2g4s_0 = anns.t();
876
844
  while (_iterator__ex2g4s_0.u()) {
877
845
  var element_0 = _iterator__ex2g4s_0.v();
878
- if (equals(element_0.v2('name'), 'Seed')) {
846
+ if (equals(element_0.q2('name'), 'Seed')) {
879
847
  tmp$ret$1 = true;
880
848
  break $l$block_0;
881
849
  }
@@ -890,48 +858,14 @@ function seedFieldNameOf($this, field) {
890
858
  tmp$ret$4 = null;
891
859
  }
892
860
  var tmp0_safe_receiver = tmp$ret$4;
893
- return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.m1();
894
- }
895
- function namedGeneratorOrNull($this, _this__u8e3s4) {
896
- var tmp$ret$1;
897
- $l$block: {
898
- // Inline function 'kotlin.collections.firstOrNull' call
899
- var _iterator__ex2g4s = _this__u8e3s4.t();
900
- while (_iterator__ex2g4s.u()) {
901
- var element = _iterator__ex2g4s.v();
902
- if (equals(element.v2('name'), 'Generator')) {
903
- tmp$ret$1 = element;
904
- break $l$block;
905
- }
906
- }
907
- tmp$ret$1 = null;
908
- }
909
- var tmp0_safe_receiver = tmp$ret$1;
910
- var tmp;
911
- if (tmp0_safe_receiver == null) {
912
- tmp = null;
913
- } else {
914
- // Inline function 'kotlin.let' call
915
- var tmp_0 = tmp0_safe_receiver.v2('parameters');
916
- var tmp0_safe_receiver_0 = (!(tmp_0 == null) ? isInterface(tmp_0, KtMap) : false) ? tmp_0 : null;
917
- var tmp_1;
918
- if (tmp0_safe_receiver_0 == null) {
919
- tmp_1 = null;
920
- } else {
921
- // Inline function 'kotlin.collections.get' call
922
- tmp_1 = (isInterface(tmp0_safe_receiver_0, KtMap) ? tmp0_safe_receiver_0 : THROW_CCE()).v2('default');
923
- }
924
- var tmp_2 = tmp_1;
925
- tmp = (!(tmp_2 == null) ? typeof tmp_2 === 'string' : false) ? tmp_2 : null;
926
- }
927
- return tmp;
861
+ return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l1();
928
862
  }
929
863
  function generateLeaf($this, field, path) {
930
864
  var rs = rsFor($this, path);
931
865
  var tmp;
932
866
  if (field instanceof KotestFieldString) {
933
867
  var tmp_0;
934
- if (field.a66_1 == null) {
868
+ if (field.r5z_1 == null) {
935
869
  tmp_0 = null;
936
870
  } else {
937
871
  // Inline function 'kotlin.let' call
@@ -947,73 +881,73 @@ function generateLeaf($this, field, path) {
947
881
  tmp_1 = tmp2_elvis_lhs;
948
882
  }
949
883
  var prefix = tmp_1;
950
- var tmp3_elvis_lhs = field.a66_1;
884
+ var tmp3_elvis_lhs = field.r5z_1;
951
885
  var regex = tmp3_elvis_lhs == null ? '\\w{8}' : tmp3_elvis_lhs;
952
- var tmp_2 = prefix + Companion_instance_1.k4f(regex).t4f(rs.r5r_1);
886
+ var tmp_2 = prefix + Companion_instance_1.s4e(regex).b4f(rs.z5q_1);
953
887
  tmp = !(tmp_2 == null) ? tmp_2 : THROW_CCE();
954
888
  } else {
955
889
  if (field instanceof KotestFieldInteger64) {
956
- var tmp4_elvis_lhs = field.c66_1;
890
+ var tmp4_elvis_lhs = field.t5z_1;
957
891
  var lo = tmp4_elvis_lhs == null ? new Long(0, -2147483648) : tmp4_elvis_lhs;
958
- var tmp5_elvis_lhs = field.d66_1;
892
+ var tmp5_elvis_lhs = field.u5z_1;
959
893
  var hi = tmp5_elvis_lhs == null ? new Long(-1, 2147483647) : tmp5_elvis_lhs;
960
- var tmp_3 = next(long(Companion_instance, longRangeToLong(lo, hi)), rs);
894
+ var tmp_3 = next(long(Companion_instance_0, longRangeToLong(lo, hi)), rs);
961
895
  tmp = !(tmp_3 == null) ? tmp_3 : THROW_CCE();
962
896
  } else {
963
897
  if (field instanceof KotestFieldInteger32) {
964
- var tmp6_elvis_lhs = field.f66_1;
898
+ var tmp6_elvis_lhs = field.w5z_1;
965
899
  var lo_0 = tmp6_elvis_lhs == null ? -2147483648 : tmp6_elvis_lhs;
966
- var tmp7_elvis_lhs = field.g66_1;
900
+ var tmp7_elvis_lhs = field.x5z_1;
967
901
  var hi_0 = tmp7_elvis_lhs == null ? 2147483647 : tmp7_elvis_lhs;
968
- var tmp_4 = next(int(Companion_instance, numberRangeToNumber(lo_0, hi_0)), rs);
902
+ var tmp_4 = next(int(Companion_instance_0, numberRangeToNumber(lo_0, hi_0)), rs);
969
903
  tmp = !(tmp_4 == null) ? tmp_4 : THROW_CCE();
970
904
  } else {
971
905
  if (field instanceof KotestFieldNumber64) {
972
- var tmp8_elvis_lhs = field.i66_1;
906
+ var tmp8_elvis_lhs = field.z5z_1;
973
907
  var lo_1 = tmp8_elvis_lhs == null ? -1000000.0 : tmp8_elvis_lhs;
974
- var tmp9_elvis_lhs = field.j66_1;
908
+ var tmp9_elvis_lhs = field.a60_1;
975
909
  var hi_1 = tmp9_elvis_lhs == null ? 1000000.0 : tmp9_elvis_lhs;
976
- var tmp_5 = next(double(Companion_instance, lo_1, hi_1), rs);
910
+ var tmp_5 = next(double(Companion_instance_0, lo_1, hi_1), rs);
977
911
  tmp = !(tmp_5 == null) ? tmp_5 : THROW_CCE();
978
912
  } else {
979
913
  if (field instanceof KotestFieldNumber32) {
980
- var tmp10_elvis_lhs = field.l66_1;
914
+ var tmp10_elvis_lhs = field.c60_1;
981
915
  var lo_2 = tmp10_elvis_lhs == null ? -1000000.0 : tmp10_elvis_lhs;
982
- var tmp11_elvis_lhs = field.m66_1;
916
+ var tmp11_elvis_lhs = field.d60_1;
983
917
  var hi_2 = tmp11_elvis_lhs == null ? 1000000.0 : tmp11_elvis_lhs;
984
- var tmp_6 = next(float(Companion_instance, lo_2, hi_2), rs);
918
+ var tmp_6 = next(float(Companion_instance_0, lo_2, hi_2), rs);
985
919
  tmp = !(tmp_6 == null) ? tmp_6 : THROW_CCE();
986
920
  } else {
987
921
  if (field instanceof KotestFieldBoolean) {
988
- var tmp_7 = next(boolean(Companion_instance), rs);
922
+ var tmp_7 = next(boolean(Companion_instance_0), rs);
989
923
  tmp = !(tmp_7 == null) ? tmp_7 : THROW_CCE();
990
924
  } else {
991
925
  if (field instanceof KotestFieldBytes) {
992
- var tmp_8 = next(byteArray(Companion_instance, int(Companion_instance, numberRangeToNumber(0, 16)), byte(Companion_instance)), rs);
926
+ var tmp_8 = next(byteArray(Companion_instance_0, int(Companion_instance_0, numberRangeToNumber(0, 16)), byte(Companion_instance_0)), rs);
993
927
  tmp = !(tmp_8 == null) ? tmp_8 : THROW_CCE();
994
928
  } else {
995
929
  if (field instanceof KotestFieldEnum) {
996
- var tmp_9 = next(element(Companion_instance, field.q66_1), rs);
930
+ var tmp_9 = next(element(Companion_instance_0, field.h60_1), rs);
997
931
  tmp = !(tmp_9 == null) ? tmp_9 : THROW_CCE();
998
932
  } else {
999
933
  if (field instanceof KotestFieldUnion) {
1000
- var tmp_10 = next(element(Companion_instance, field.t66_1), rs);
934
+ var tmp_10 = next(element(Companion_instance_0, field.k60_1), rs);
1001
935
  tmp = !(tmp_10 == null) ? tmp_10 : THROW_CCE();
1002
936
  } else {
1003
937
  if (field instanceof KotestFieldArray) {
1004
- var size = next(int(Companion_instance, numberRangeToNumber(1, 10)), rs);
938
+ var size = next(int(Companion_instance_0, numberRangeToNumber(1, 10)), rs);
1005
939
  // Inline function 'kotlin.collections.map' call
1006
940
  var this_0 = until(0, size);
1007
941
  // Inline function 'kotlin.collections.mapTo' call
1008
- var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
1009
- var inductionVariable = this_0.u1_1;
1010
- var last = this_0.v1_1;
942
+ var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
943
+ var inductionVariable = this_0.p1_1;
944
+ var last = this_0.q1_1;
1011
945
  if (inductionVariable <= last)
1012
946
  do {
1013
947
  var item = inductionVariable;
1014
948
  inductionVariable = inductionVariable + 1 | 0;
1015
949
  var i = item;
1016
- var tmp$ret$3 = field.w66_1(plus(path, '' + i));
950
+ var tmp$ret$3 = field.n60_1(plus(path, '' + i));
1017
951
  destination.x(tmp$ret$3);
1018
952
  }
1019
953
  while (!(item === last));
@@ -1021,16 +955,25 @@ function generateLeaf($this, field, path) {
1021
955
  tmp = !(tmp_11 == null) ? tmp_11 : THROW_CCE();
1022
956
  } else {
1023
957
  if (field instanceof KotestFieldNullable) {
1024
- var tmp_12 = field.x66_1(path);
958
+ var tmp_12 = field.o60_1(path);
1025
959
  tmp = !(tmp_12 == null) ? tmp_12 : THROW_CCE();
1026
960
  } else {
1027
961
  if (field instanceof KotestFieldShape) {
1028
- var tmp_13 = field.z66_1(path);
1029
- tmp = !(tmp_13 == null) ? tmp_13 : THROW_CCE();
962
+ // Inline function 'community.flock.wirespec.integration.kotest.KotestWirespecGenerator.withParentFrame' call
963
+ var frame = new ParentFrame(toString(field.r60_1));
964
+ $this.s61_1.ze(frame);
965
+ var tmp_13;
966
+ try {
967
+ tmp_13 = field.q60_1(path);
968
+ }finally {
969
+ $this.s61_1.bf();
970
+ }
971
+ var tmp_14 = tmp_13;
972
+ tmp = !(tmp_14 == null) ? tmp_14 : THROW_CCE();
1030
973
  } else {
1031
974
  if (field instanceof KotestFieldDict) {
1032
- var tmp_14 = mapOf_0(to('a', field.b67_1(plus(path, 'a'))));
1033
- tmp = !(tmp_14 == null) ? tmp_14 : THROW_CCE();
975
+ var tmp_15 = mapOf(to('a', field.s60_1(plus(path, 'a'))));
976
+ tmp = !(tmp_15 == null) ? tmp_15 : THROW_CCE();
1034
977
  } else {
1035
978
  noWhenBranchMatchedException();
1036
979
  }
@@ -1051,31 +994,31 @@ function generateLeaf($this, field, path) {
1051
994
  function fieldAnnotations($this, _this__u8e3s4) {
1052
995
  var tmp;
1053
996
  if (_this__u8e3s4 instanceof KotestFieldString) {
1054
- tmp = _this__u8e3s4.b66_1;
997
+ tmp = _this__u8e3s4.s5z_1;
1055
998
  } else {
1056
999
  if (_this__u8e3s4 instanceof KotestFieldInteger64) {
1057
- tmp = _this__u8e3s4.e66_1;
1000
+ tmp = _this__u8e3s4.v5z_1;
1058
1001
  } else {
1059
1002
  if (_this__u8e3s4 instanceof KotestFieldInteger32) {
1060
- tmp = _this__u8e3s4.h66_1;
1003
+ tmp = _this__u8e3s4.y5z_1;
1061
1004
  } else {
1062
1005
  if (_this__u8e3s4 instanceof KotestFieldNumber64) {
1063
- tmp = _this__u8e3s4.k66_1;
1006
+ tmp = _this__u8e3s4.b60_1;
1064
1007
  } else {
1065
1008
  if (_this__u8e3s4 instanceof KotestFieldNumber32) {
1066
- tmp = _this__u8e3s4.n66_1;
1009
+ tmp = _this__u8e3s4.e60_1;
1067
1010
  } else {
1068
1011
  if (_this__u8e3s4 instanceof KotestFieldBoolean) {
1069
- tmp = _this__u8e3s4.o66_1;
1012
+ tmp = _this__u8e3s4.f60_1;
1070
1013
  } else {
1071
1014
  if (_this__u8e3s4 instanceof KotestFieldBytes) {
1072
- tmp = _this__u8e3s4.p66_1;
1015
+ tmp = _this__u8e3s4.g60_1;
1073
1016
  } else {
1074
1017
  if (_this__u8e3s4 instanceof KotestFieldEnum) {
1075
- tmp = _this__u8e3s4.r66_1;
1018
+ tmp = _this__u8e3s4.i60_1;
1076
1019
  } else {
1077
1020
  if (_this__u8e3s4 instanceof KotestFieldUnion) {
1078
- tmp = _this__u8e3s4.u66_1;
1021
+ tmp = _this__u8e3s4.l60_1;
1079
1022
  } else {
1080
1023
  tmp = emptyList();
1081
1024
  }
@@ -1089,14 +1032,16 @@ function fieldAnnotations($this, _this__u8e3s4) {
1089
1032
  }
1090
1033
  return tmp;
1091
1034
  }
1092
- function KotestWirespecGenerator(baseSeed, namedArbs) {
1093
- this.l67_1 = baseSeed;
1094
- this.m67_1 = namedArbs;
1095
- this.n67_1 = ArrayDeque_init_$Create$();
1096
- this.o67_1 = ArrayDeque_init_$Create$();
1097
- this.p67_1 = 0;
1035
+ function KotestWirespecGenerator(baseSeed, overrides, refinedWrapper) {
1036
+ this.m61_1 = baseSeed;
1037
+ this.n61_1 = overrides;
1038
+ this.o61_1 = refinedWrapper;
1039
+ this.p61_1 = ArrayDeque_init_$Create$();
1040
+ this.q61_1 = ArrayDeque_init_$Create$();
1041
+ this.r61_1 = 0;
1042
+ this.s61_1 = ArrayDeque_init_$Create$();
1098
1043
  }
1099
- protoOf(KotestWirespecGenerator).q67 = function (path, field) {
1044
+ protoOf(KotestWirespecGenerator).t61 = function (path, field) {
1100
1045
  var tmp0_safe_receiver = captureSeedIfMatches(this, path, field);
1101
1046
  if (tmp0_safe_receiver == null)
1102
1047
  null;
@@ -1113,7 +1058,7 @@ protoOf(KotestWirespecGenerator).q67 = function (path, field) {
1113
1058
  }
1114
1059
  var annotations = fieldAnnotations(this, field);
1115
1060
  var tmp;
1116
- if (this.p67_1 === 0) {
1061
+ if (this.r61_1 === 0) {
1117
1062
  var tmp$ret$2;
1118
1063
  $l$block_0: {
1119
1064
  // Inline function 'kotlin.collections.any' call
@@ -1130,7 +1075,7 @@ protoOf(KotestWirespecGenerator).q67 = function (path, field) {
1130
1075
  var _iterator__ex2g4s = annotations.t();
1131
1076
  while (_iterator__ex2g4s.u()) {
1132
1077
  var element = _iterator__ex2g4s.v();
1133
- if (equals(element.v2('name'), 'Seed')) {
1078
+ if (equals(element.q2('name'), 'Seed')) {
1134
1079
  tmp$ret$2 = true;
1135
1080
  break $l$block_0;
1136
1081
  }
@@ -1158,7 +1103,7 @@ protoOf(KotestWirespecGenerator).q67 = function (path, field) {
1158
1103
  }
1159
1104
  }
1160
1105
  var tmp_2;
1161
- if (this.p67_1 === 0) {
1106
+ if (this.r61_1 === 0) {
1162
1107
  tmp_2 = field instanceof KotestFieldShape;
1163
1108
  } else {
1164
1109
  tmp_2 = false;
@@ -1179,25 +1124,27 @@ protoOf(KotestWirespecGenerator).q67 = function (path, field) {
1179
1124
  }
1180
1125
  }
1181
1126
  }
1182
- var tmp4_safe_receiver = namedGeneratorOrNull(this, annotations);
1127
+ var tmp4_safe_receiver = this.n61_1.w60(path);
1183
1128
  if (tmp4_safe_receiver == null)
1184
1129
  null;
1185
1130
  else {
1186
1131
  // Inline function 'kotlin.let' call
1187
- // Inline function 'kotlin.text.lowercase' call
1188
- // Inline function 'kotlin.js.asDynamic' call
1189
- var tmp$ret$11 = tmp4_safe_receiver.toLowerCase();
1190
- var tmp0_elvis_lhs = this.m67_1.v2(tmp$ret$11);
1191
- var tmp_4;
1192
- if (tmp0_elvis_lhs == null) {
1193
- var message = "Unknown @Generator name: '" + tmp4_safe_receiver + '\' \u2014 register it via kotestGenerator { register("' + tmp4_safe_receiver + '") { \u2026 } }';
1194
- throw IllegalStateException_init_$Create$(toString_0(message));
1195
- } else {
1196
- tmp_4 = tmp0_elvis_lhs;
1132
+ var drawn = next(tmp4_safe_receiver(), rsFor(this, path));
1133
+ var tmp_4 = this.o61_1.t60(drawn, field, path);
1134
+ return (tmp_4 == null ? true : !(tmp_4 == null)) ? tmp_4 : THROW_CCE();
1135
+ }
1136
+ var parent = this.s61_1.xe();
1137
+ var leafName = lastOrNull(path);
1138
+ if (!(parent == null) && !(leafName == null)) {
1139
+ var tmp5_safe_receiver = this.n61_1.a61(new FieldKey(parent.f61_1, leafName));
1140
+ if (tmp5_safe_receiver == null)
1141
+ null;
1142
+ else {
1143
+ // Inline function 'kotlin.let' call
1144
+ var drawn_0 = next(tmp5_safe_receiver(), rsFor(this, path));
1145
+ var tmp_5 = this.o61_1.t60(drawn_0, field, path);
1146
+ return (tmp_5 == null ? true : !(tmp_5 == null)) ? tmp_5 : THROW_CCE();
1197
1147
  }
1198
- var factory = tmp_4;
1199
- var tmp_5 = next(factory(), rsFor(this, path));
1200
- return !(tmp_5 == null) ? tmp_5 : THROW_CCE();
1201
1148
  }
1202
1149
  return generateLeaf(this, field, path);
1203
1150
  };
@@ -1205,18 +1152,16 @@ function kotestGenerator$lambda(_this__u8e3s4) {
1205
1152
  return Unit_instance;
1206
1153
  }
1207
1154
  function KotestWirespecGeneratorJs(inner) {
1208
- this.r67_1 = inner;
1155
+ this.u61_1 = inner;
1209
1156
  }
1210
1157
  protoOf(KotestWirespecGeneratorJs).generate = function (path, field) {
1211
1158
  var kotlinField = jsToKotestField(field);
1212
1159
  var tmp = toList(path);
1213
- var result = this.r67_1.q67(tmp, isInterface(kotlinField, KotestField) ? kotlinField : THROW_CCE());
1160
+ var result = this.u61_1.t61(tmp, isInterface(kotlinField, KotestField) ? kotlinField : THROW_CCE());
1214
1161
  return kotlinToJs(result);
1215
1162
  };
1216
- function kotestWirespecGeneratorJs(seed, registrations) {
1217
- registrations = registrations === VOID ? null : registrations;
1218
- var tmp = fromInt(seed);
1219
- var inner = kotestGenerator(tmp, kotestWirespecGeneratorJs$lambda(registrations));
1163
+ function kotestWirespecGeneratorJs(seed) {
1164
+ var inner = kotestGenerator(fromInt(seed));
1220
1165
  return new KotestWirespecGeneratorJs(inner);
1221
1166
  }
1222
1167
  function jsToKotestField(field) {
@@ -1270,13 +1215,13 @@ function jsToKotestField(field) {
1270
1215
  // Inline function 'kotlin.js.unsafeCast' call
1271
1216
 
1272
1217
  var tmp$ret$0 = field.values;
1273
- tmp_0 = new KotestFieldEnum(toList(tmp$ret$0), jsAnnotationsToKotlin(field.annotations), createKType(PrimitiveClasses_getInstance().mb(), arrayOf([]), false));
1218
+ tmp_0 = new KotestFieldEnum(toList(tmp$ret$0), jsAnnotationsToKotlin(field.annotations), createKType(PrimitiveClasses_getInstance().hb(), arrayOf([]), false));
1274
1219
  break;
1275
1220
  case 'union':
1276
1221
  // Inline function 'kotlin.js.unsafeCast' call
1277
1222
 
1278
1223
  var tmp$ret$1 = field.variants;
1279
- tmp_0 = new KotestFieldUnion(toList(tmp$ret$1), jsAnnotationsToKotlin(field.annotations), createKType(PrimitiveClasses_getInstance().mb(), arrayOf([]), false));
1224
+ tmp_0 = new KotestFieldUnion(toList(tmp$ret$1), jsAnnotationsToKotlin(field.annotations), createKType(PrimitiveClasses_getInstance().hb(), arrayOf([]), false));
1280
1225
  break;
1281
1226
  case 'array':
1282
1227
  // Inline function 'kotlin.js.unsafeCast' call
@@ -1295,7 +1240,7 @@ function jsToKotestField(field) {
1295
1240
 
1296
1241
  var jsGen_1 = field.generate;
1297
1242
  var tmp_14 = jsShapeAnnotationsToKotlin(field.annotations);
1298
- tmp_0 = new KotestFieldShape(tmp_14, jsToKotestField$lambda_1(jsGen_1), createKType(PrimitiveClasses_getInstance().bb(), arrayOf([]), false));
1243
+ tmp_0 = new KotestFieldShape(tmp_14, jsToKotestField$lambda_1(jsGen_1), createKType(PrimitiveClasses_getInstance().wa(), arrayOf([]), false));
1299
1244
  break;
1300
1245
  case 'dict':
1301
1246
  // Inline function 'kotlin.js.unsafeCast' call
@@ -1305,7 +1250,7 @@ function jsToKotestField(field) {
1305
1250
  break;
1306
1251
  default:
1307
1252
  var message = "Unknown KotestField kind: '" + kind + "'";
1308
- throw IllegalStateException_init_$Create$(toString_0(message));
1253
+ throw IllegalStateException_init_$Create$(toString(message));
1309
1254
  }
1310
1255
  return tmp_0;
1311
1256
  }
@@ -1316,7 +1261,7 @@ function jsAnnotationsToKotlin(jsAnns) {
1316
1261
  var arr = jsAnns;
1317
1262
  // Inline function 'kotlin.collections.map' call
1318
1263
  // Inline function 'kotlin.collections.mapTo' call
1319
- var destination = ArrayList_init_$Create$(arr.length);
1264
+ var destination = ArrayList_init_$Create$_0(arr.length);
1320
1265
  var inductionVariable = 0;
1321
1266
  var last = arr.length;
1322
1267
  while (inductionVariable < last) {
@@ -1341,7 +1286,7 @@ function jsShapeAnnotationsToKotlin(jsAnns) {
1341
1286
  var element = keys[inductionVariable];
1342
1287
  inductionVariable = inductionVariable + 1 | 0;
1343
1288
  var tmp$ret$0 = jsAnnotationsToKotlin(jsAnns[element]);
1344
- result.d3(element, tmp$ret$0);
1289
+ result.y2(element, tmp$ret$0);
1345
1290
  }
1346
1291
  return result;
1347
1292
  }
@@ -1357,7 +1302,7 @@ function jsObjToKotlinMap(obj) {
1357
1302
  var element = keys[inductionVariable];
1358
1303
  inductionVariable = inductionVariable + 1 | 0;
1359
1304
  var tmp$ret$0 = jsValueToAny(obj[element]);
1360
- result.d3(element, tmp$ret$0);
1305
+ result.y2(element, tmp$ret$0);
1361
1306
  }
1362
1307
  return result;
1363
1308
  }
@@ -1369,14 +1314,14 @@ function jsValueToAny(v) {
1369
1314
  var tmp_1;
1370
1315
  if (v == null) {
1371
1316
  var message = 'Unexpected null in annotation value';
1372
- throw IllegalStateException_init_$Create$(toString_0(message));
1317
+ throw IllegalStateException_init_$Create$(toString(message));
1373
1318
  } else {
1374
1319
  var tmp_2 = Array.isArray(v);
1375
1320
  if ((!(tmp_2 == null) ? typeof tmp_2 === 'boolean' : false) ? tmp_2 : THROW_CCE()) {
1376
1321
  // Inline function 'kotlin.js.unsafeCast' call
1377
1322
  // Inline function 'kotlin.collections.map' call
1378
1323
  // Inline function 'kotlin.collections.mapTo' call
1379
- var destination = ArrayList_init_$Create$(v.length);
1324
+ var destination = ArrayList_init_$Create$_0(v.length);
1380
1325
  var inductionVariable = 0;
1381
1326
  var last = v.length;
1382
1327
  while (inductionVariable < last) {
@@ -1415,13 +1360,13 @@ function kotlinToJs(value) {
1415
1360
  if (isInterface(value, KtMap)) {
1416
1361
  var obj = {};
1417
1362
  // Inline function 'kotlin.collections.iterator' call
1418
- var _iterator__ex2g4s_0 = value.l1().t();
1363
+ var _iterator__ex2g4s_0 = value.k1().t();
1419
1364
  while (_iterator__ex2g4s_0.u()) {
1420
1365
  var _destruct__k2r9zo = _iterator__ex2g4s_0.v();
1421
1366
  // Inline function 'kotlin.collections.component1' call
1422
- var k = _destruct__k2r9zo.m1();
1367
+ var k = _destruct__k2r9zo.l1();
1423
1368
  // Inline function 'kotlin.collections.component2' call
1424
- var v = _destruct__k2r9zo.n1();
1369
+ var v = _destruct__k2r9zo.m1();
1425
1370
  obj[(!(k == null) ? typeof k === 'string' : false) ? k : THROW_CCE()] = kotlinToJs(v);
1426
1371
  }
1427
1372
  tmp = obj;
@@ -1432,37 +1377,6 @@ function kotlinToJs(value) {
1432
1377
  }
1433
1378
  return tmp;
1434
1379
  }
1435
- function kotestWirespecGeneratorJs$lambda$lambda$lambda($factory) {
1436
- return function (it) {
1437
- return $factory(it);
1438
- };
1439
- }
1440
- function kotestWirespecGeneratorJs$lambda$lambda($factory) {
1441
- return function () {
1442
- var tmp = int(Companion_instance, numberRangeToNumber(0, 2147483647));
1443
- return map(tmp, kotestWirespecGeneratorJs$lambda$lambda$lambda($factory));
1444
- };
1445
- }
1446
- function kotestWirespecGeneratorJs$lambda($registrations) {
1447
- return function ($this$kotestGenerator) {
1448
- var tmp;
1449
- if ($registrations != null) {
1450
- var tmp_0 = Object.keys($registrations);
1451
- var keys = (!(tmp_0 == null) ? isArray(tmp_0) : false) ? tmp_0 : THROW_CCE();
1452
- var inductionVariable = 0;
1453
- var last = keys.length;
1454
- while (inductionVariable < last) {
1455
- var key = keys[inductionVariable];
1456
- inductionVariable = inductionVariable + 1 | 0;
1457
- // Inline function 'kotlin.js.unsafeCast' call
1458
- var factory = $registrations[key];
1459
- $this$kotestGenerator.d67(key, kotestWirespecGeneratorJs$lambda$lambda(factory));
1460
- }
1461
- tmp = Unit_instance;
1462
- }
1463
- return Unit_instance;
1464
- };
1465
- }
1466
1380
  function jsToKotestField$lambda($jsGen) {
1467
1381
  return function (p) {
1468
1382
  // Inline function 'kotlin.collections.toTypedArray' call
@@ -1471,8 +1385,8 @@ function jsToKotestField$lambda($jsGen) {
1471
1385
  var tmp0_elvis_lhs = !(tmp == null) ? tmp : null;
1472
1386
  var tmp_0;
1473
1387
  if (tmp0_elvis_lhs == null) {
1474
- var message = 'array element callback returned null at path ' + toString_0(p);
1475
- throw IllegalStateException_init_$Create$(toString_0(message));
1388
+ var message = 'array element callback returned null at path ' + toString(p);
1389
+ throw IllegalStateException_init_$Create$(toString(message));
1476
1390
  } else {
1477
1391
  tmp_0 = tmp0_elvis_lhs;
1478
1392
  }
@@ -1487,8 +1401,8 @@ function jsToKotestField$lambda_0($jsGen) {
1487
1401
  var tmp0_elvis_lhs = !(tmp == null) ? tmp : null;
1488
1402
  var tmp_0;
1489
1403
  if (tmp0_elvis_lhs == null) {
1490
- var message = 'nullable inner callback returned null at path ' + toString_0(p);
1491
- throw IllegalStateException_init_$Create$(toString_0(message));
1404
+ var message = 'nullable inner callback returned null at path ' + toString(p);
1405
+ throw IllegalStateException_init_$Create$(toString(message));
1492
1406
  } else {
1493
1407
  tmp_0 = tmp0_elvis_lhs;
1494
1408
  }
@@ -1503,8 +1417,8 @@ function jsToKotestField$lambda_1($jsGen) {
1503
1417
  var tmp0_elvis_lhs = !(tmp == null) ? tmp : null;
1504
1418
  var tmp_0;
1505
1419
  if (tmp0_elvis_lhs == null) {
1506
- var message = 'shape callback returned null at path ' + toString_0(p);
1507
- throw IllegalStateException_init_$Create$(toString_0(message));
1420
+ var message = 'shape callback returned null at path ' + toString(p);
1421
+ throw IllegalStateException_init_$Create$(toString(message));
1508
1422
  } else {
1509
1423
  tmp_0 = tmp0_elvis_lhs;
1510
1424
  }
@@ -1519,14 +1433,18 @@ function jsToKotestField$lambda_2($jsGen) {
1519
1433
  var tmp0_elvis_lhs = !(tmp == null) ? tmp : null;
1520
1434
  var tmp_0;
1521
1435
  if (tmp0_elvis_lhs == null) {
1522
- var message = 'dict value callback returned null at path ' + toString_0(p);
1523
- throw IllegalStateException_init_$Create$(toString_0(message));
1436
+ var message = 'dict value callback returned null at path ' + toString(p);
1437
+ throw IllegalStateException_init_$Create$(toString(message));
1524
1438
  } else {
1525
1439
  tmp_0 = tmp0_elvis_lhs;
1526
1440
  }
1527
1441
  return tmp_0;
1528
1442
  };
1529
1443
  }
1444
+ //region block: init
1445
+ IdentityRefinedWrapper_instance = new IdentityRefinedWrapper();
1446
+ Wildcard_instance = new Wildcard();
1447
+ //endregion
1530
1448
  //region block: exports
1531
1449
  export {
1532
1450
  KotestWirespecGeneratorJs as KotestWirespecGeneratorJs,