@doordeck/doordeck-headless-sdk 0.194.0 → 0.195.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,12 +3,12 @@
3
3
  //region block: imports
4
4
  var Exception = kotlin_kotlin.$_$.sf;
5
5
  var VOID = kotlin_kotlin.$_$.b;
6
- var Exception_init_$Init$ = kotlin_kotlin.$_$.l1;
6
+ var Exception_init_$Init$ = kotlin_kotlin.$_$.j2;
7
7
  var captureStack = kotlin_kotlin.$_$.la;
8
8
  var protoOf = kotlin_kotlin.$_$.zb;
9
9
  var initMetadataForClass = kotlin_kotlin.$_$.cb;
10
- var Unit_instance = kotlin_kotlin.$_$.c5;
11
- var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.o;
10
+ var Unit_instance = kotlin_kotlin.$_$.z;
11
+ var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.a;
12
12
  var initMetadataForInterface = kotlin_kotlin.$_$.gb;
13
13
  var parseAndSortHeader = kotlin_io_ktor_ktor_http.$_$.u1;
14
14
  var forName = kotlin_io_ktor_ktor_io.$_$.u;
@@ -19,12 +19,11 @@
19
19
  var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d1;
20
20
  var hashCode = kotlin_kotlin.$_$.bb;
21
21
  var CoroutineImpl = kotlin_kotlin.$_$.l9;
22
- var THROW_CCE = kotlin_kotlin.$_$.zf;
23
22
  var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.v8;
24
23
  var initMetadataForLambda = kotlin_kotlin.$_$.hb;
25
24
  var initMetadataForCoroutine = kotlin_kotlin.$_$.eb;
26
25
  var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e1;
27
- var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d;
26
+ var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j;
28
27
  var NullBody_instance = kotlin_io_ktor_ktor_http.$_$.a;
29
28
  //endregion
30
29
  //region block: pre-declaration
@@ -40,10 +39,10 @@
40
39
  configuration = tmp;
41
40
  var tmp_0;
42
41
  if ($super === VOID) {
43
- this.h3l(contentType, converter, configuration);
42
+ this.d3l(contentType, converter, configuration);
44
43
  tmp_0 = Unit_instance;
45
44
  } else {
46
- tmp_0 = $super.h3l.call(this, contentType, converter, configuration);
45
+ tmp_0 = $super.d3l.call(this, contentType, converter, configuration);
47
46
  }
48
47
  return tmp_0;
49
48
  }
@@ -72,7 +71,7 @@
72
71
  return tmp.i9();
73
72
  }
74
73
  function suitableCharset(_this__u8e3s4, defaultCharset) {
75
- defaultCharset = defaultCharset === VOID ? Charsets_getInstance().b1y_1 : defaultCharset;
74
+ defaultCharset = defaultCharset === VOID ? Charsets_getInstance().x1x_1 : defaultCharset;
76
75
  var tmp0_elvis_lhs = suitableCharsetOrNull(_this__u8e3s4, defaultCharset);
77
76
  return tmp0_elvis_lhs == null ? defaultCharset : tmp0_elvis_lhs;
78
77
  }
@@ -82,10 +81,10 @@
82
81
  function Configuration() {
83
82
  }
84
83
  function suitableCharsetOrNull(_this__u8e3s4, defaultCharset) {
85
- defaultCharset = defaultCharset === VOID ? Charsets_getInstance().b1y_1 : defaultCharset;
86
- var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.p2m('Accept-Charset')).t();
84
+ defaultCharset = defaultCharset === VOID ? Charsets_getInstance().x1x_1 : defaultCharset;
85
+ var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.l2m('Accept-Charset')).t();
87
86
  while (_iterator__ex2g4s.u()) {
88
- var charset = _iterator__ex2g4s.v().fg();
87
+ var charset = _iterator__ex2g4s.v().bg();
89
88
  if (charset === '*')
90
89
  return defaultCharset;
91
90
  else if (isSupported(Charsets_getInstance(), charset))
@@ -94,13 +93,13 @@
94
93
  return null;
95
94
  }
96
95
  function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
97
- this.j3l_1 = function_0;
96
+ this.f3l_1 = function_0;
98
97
  }
99
- protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).b1e = function (value, $completion) {
100
- return this.j3l_1(value, $completion);
98
+ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).x1d = function (value, $completion) {
99
+ return this.f3l_1(value, $completion);
101
100
  };
102
101
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).q3 = function () {
103
- return this.j3l_1;
102
+ return this.f3l_1;
104
103
  };
105
104
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
106
105
  var tmp;
@@ -121,20 +120,20 @@
121
120
  return hashCode(this.q3());
122
121
  };
123
122
  function deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
124
- this.s3l_1 = $$this$unsafeFlow;
125
- this.t3l_1 = $charset;
126
- this.u3l_1 = $typeInfo;
127
- this.v3l_1 = $body;
123
+ this.o3l_1 = $$this$unsafeFlow;
124
+ this.p3l_1 = $charset;
125
+ this.q3l_1 = $typeInfo;
126
+ this.r3l_1 = $body;
128
127
  CoroutineImpl.call(this, resultContinuation);
129
128
  }
130
- protoOf(deserialize$o$collect$slambda).y3l = function (value, $completion) {
131
- var tmp = this.z3l(value, $completion);
129
+ protoOf(deserialize$o$collect$slambda).u3l = function (value, $completion) {
130
+ var tmp = this.v3l(value, $completion);
132
131
  tmp.c9_1 = Unit_instance;
133
132
  tmp.d9_1 = null;
134
133
  return tmp.i9();
135
134
  };
136
135
  protoOf(deserialize$o$collect$slambda).u9 = function (p1, $completion) {
137
- return this.y3l((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
136
+ return this.u3l(p1, $completion);
138
137
  };
139
138
  protoOf(deserialize$o$collect$slambda).i9 = function () {
140
139
  var suspendResult = this.c9_1;
@@ -144,11 +143,11 @@
144
143
  switch (tmp) {
145
144
  case 0:
146
145
  this.b9_1 = 3;
147
- var tmp0 = this.s3l_1;
148
- var tmp2 = this.w3l_1;
149
- this.x3l_1 = tmp0;
146
+ var tmp0 = this.o3l_1;
147
+ var tmp2 = this.s3l_1;
148
+ this.t3l_1 = tmp0;
150
149
  this.a9_1 = 1;
151
- suspendResult = tmp2.a3m(this.t3l_1, this.u3l_1, this.v3l_1, this);
150
+ suspendResult = tmp2.w3l(this.p3l_1, this.q3l_1, this.r3l_1, this);
152
151
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
153
152
  return suspendResult;
154
153
  }
@@ -157,7 +156,7 @@
157
156
  case 1:
158
157
  var ARGUMENT = suspendResult;
159
158
  this.a9_1 = 2;
160
- suspendResult = this.x3l_1.b1e(ARGUMENT, this);
159
+ suspendResult = this.t3l_1.x1d(ARGUMENT, this);
161
160
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
162
161
  return suspendResult;
163
162
  }
@@ -179,23 +178,23 @@
179
178
  }
180
179
  while (true);
181
180
  };
182
- protoOf(deserialize$o$collect$slambda).z3l = function (value, completion) {
183
- var i = new deserialize$o$collect$slambda(this.s3l_1, this.t3l_1, this.u3l_1, this.v3l_1, completion);
184
- i.w3l_1 = value;
181
+ protoOf(deserialize$o$collect$slambda).v3l = function (value, completion) {
182
+ var i = new deserialize$o$collect$slambda(this.o3l_1, this.p3l_1, this.q3l_1, this.r3l_1, completion);
183
+ i.s3l_1 = value;
185
184
  return i;
186
185
  };
187
186
  function deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
188
187
  var i = new deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation);
189
188
  var l = function (value, $completion) {
190
- return i.y3l(value, $completion);
189
+ return i.u3l(value, $completion);
191
190
  };
192
191
  l.$arity = 1;
193
192
  return l;
194
193
  }
195
194
  function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
196
195
  CoroutineImpl.call(this, resultContinuation);
197
- this.j3m_1 = _this__u8e3s4;
198
- this.k3m_1 = collector;
196
+ this.f3m_1 = _this__u8e3s4;
197
+ this.g3m_1 = collector;
199
198
  }
200
199
  protoOf($collectCOROUTINE$).i9 = function () {
201
200
  var suspendResult = this.c9_1;
@@ -205,10 +204,10 @@
205
204
  switch (tmp) {
206
205
  case 0:
207
206
  this.b9_1 = 2;
208
- var $this$unsafeFlow = this.k3m_1;
207
+ var $this$unsafeFlow = this.g3m_1;
209
208
  this.a9_1 = 1;
210
- var tmp_0 = deserialize$o$collect$slambda_0($this$unsafeFlow, this.j3m_1.m3m_1, this.j3m_1.n3m_1, this.j3m_1.o3m_1, null);
211
- suspendResult = this.j3m_1.l3m_1.d1e(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
209
+ var tmp_0 = deserialize$o$collect$slambda_0($this$unsafeFlow, this.f3m_1.i3m_1, this.f3m_1.j3m_1, this.f3m_1.k3m_1, null);
210
+ suspendResult = this.f3m_1.h3m_1.z1d(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
212
211
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
213
212
  return suspendResult;
214
213
  }
@@ -231,32 +230,32 @@
231
230
  while (true);
232
231
  };
233
232
  function deserialize$$inlined$map$1($this, $charset, $typeInfo, $body) {
234
- this.l3m_1 = $this;
235
- this.m3m_1 = $charset;
236
- this.n3m_1 = $typeInfo;
237
- this.o3m_1 = $body;
233
+ this.h3m_1 = $this;
234
+ this.i3m_1 = $charset;
235
+ this.j3m_1 = $typeInfo;
236
+ this.k3m_1 = $body;
238
237
  }
239
- protoOf(deserialize$$inlined$map$1).c1e = function (collector, $completion) {
238
+ protoOf(deserialize$$inlined$map$1).y1d = function (collector, $completion) {
240
239
  var tmp = new $collectCOROUTINE$(this, collector, $completion);
241
240
  tmp.c9_1 = Unit_instance;
242
241
  tmp.d9_1 = null;
243
242
  return tmp.i9();
244
243
  };
245
- protoOf(deserialize$$inlined$map$1).d1e = function (collector, $completion) {
246
- return this.c1e(collector, $completion);
244
+ protoOf(deserialize$$inlined$map$1).z1d = function (collector, $completion) {
245
+ return this.y1d(collector, $completion);
247
246
  };
248
247
  function deserialize$slambda($body, resultContinuation) {
249
- this.x3m_1 = $body;
248
+ this.t3m_1 = $body;
250
249
  CoroutineImpl.call(this, resultContinuation);
251
250
  }
252
- protoOf(deserialize$slambda).z3m = function (it, $completion) {
253
- var tmp = this.z3l(it, $completion);
251
+ protoOf(deserialize$slambda).v3m = function (it, $completion) {
252
+ var tmp = this.v3l(it, $completion);
254
253
  tmp.c9_1 = Unit_instance;
255
254
  tmp.d9_1 = null;
256
255
  return tmp.i9();
257
256
  };
258
257
  protoOf(deserialize$slambda).u9 = function (p1, $completion) {
259
- return this.z3m((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
258
+ return this.v3m(p1, $completion);
260
259
  };
261
260
  protoOf(deserialize$slambda).i9 = function () {
262
261
  var suspendResult = this.c9_1;
@@ -265,7 +264,7 @@
265
264
  var tmp = this.a9_1;
266
265
  if (tmp === 0) {
267
266
  this.b9_1 = 1;
268
- return !(this.y3m_1 == null) || this.x3m_1.e1o();
267
+ return !(this.u3m_1 == null) || this.t3m_1.a1o();
269
268
  } else if (tmp === 1) {
270
269
  throw this.d9_1;
271
270
  }
@@ -275,25 +274,25 @@
275
274
  }
276
275
  while (true);
277
276
  };
278
- protoOf(deserialize$slambda).z3l = function (it, completion) {
279
- var i = new deserialize$slambda(this.x3m_1, completion);
280
- i.y3m_1 = it;
277
+ protoOf(deserialize$slambda).v3l = function (it, completion) {
278
+ var i = new deserialize$slambda(this.t3m_1, completion);
279
+ i.u3m_1 = it;
281
280
  return i;
282
281
  };
283
282
  function deserialize$slambda_0($body, resultContinuation) {
284
283
  var i = new deserialize$slambda($body, resultContinuation);
285
284
  var l = function (it, $completion) {
286
- return i.z3m(it, $completion);
285
+ return i.v3m(it, $completion);
287
286
  };
288
287
  l.$arity = 1;
289
288
  return l;
290
289
  }
291
290
  function $deserializeCOROUTINE$(_this__u8e3s4, body, typeInfo, charset, resultContinuation) {
292
291
  CoroutineImpl.call(this, resultContinuation);
293
- this.d3l_1 = _this__u8e3s4;
294
- this.e3l_1 = body;
295
- this.f3l_1 = typeInfo;
296
- this.g3l_1 = charset;
292
+ this.z3k_1 = _this__u8e3s4;
293
+ this.a3l_1 = body;
294
+ this.b3l_1 = typeInfo;
295
+ this.c3l_1 = charset;
297
296
  }
298
297
  protoOf($deserializeCOROUTINE$).i9 = function () {
299
298
  var suspendResult = this.c9_1;
@@ -304,9 +303,9 @@
304
303
  case 0:
305
304
  this.b9_1 = 2;
306
305
  this.a9_1 = 1;
307
- var this_0 = asFlow(this.d3l_1);
308
- var tmp_0 = new deserialize$$inlined$map$1(this_0, this.g3l_1, this.f3l_1, this.e3l_1);
309
- suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.e3l_1, null), this);
306
+ var this_0 = asFlow(this.z3k_1);
307
+ var tmp_0 = new deserialize$$inlined$map$1(this_0, this.c3l_1, this.b3l_1, this.a3l_1);
308
+ suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.a3l_1, null), this);
310
309
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
311
310
  return suspendResult;
312
311
  }
@@ -318,14 +317,14 @@
318
317
  if (!(result == null)) {
319
318
  tmp_1 = result;
320
319
  } else {
321
- if (!this.e3l_1.e1o()) {
322
- tmp_1 = this.e3l_1;
320
+ if (!this.a3l_1.a1o()) {
321
+ tmp_1 = this.a3l_1;
323
322
  } else {
324
- var tmp0_safe_receiver = this.f3l_1.b2s_1;
323
+ var tmp0_safe_receiver = this.b3l_1.x2r_1;
325
324
  if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l()) === true) {
326
325
  tmp_1 = NullBody_instance;
327
326
  } else {
328
- throw new ContentConvertException('No suitable converter found for ' + this.f3l_1.toString());
327
+ throw new ContentConvertException('No suitable converter found for ' + this.b3l_1.toString());
329
328
  }
330
329
  }
331
330
  }