@doordeck/doordeck-headless-sdk 0.161.0 → 0.163.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.
@@ -1,11 +1,11 @@
1
1
  (function (_, kotlin_kotlin, kotlin_io_ktor_ktor_io, kotlin_io_ktor_ktor_http, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core) {
2
2
  'use strict';
3
3
  //region block: imports
4
- var Exception = kotlin_kotlin.$_$.qf;
4
+ var Exception = kotlin_kotlin.$_$.pf;
5
5
  var VOID = kotlin_kotlin.$_$.b;
6
6
  var Exception_init_$Init$ = kotlin_kotlin.$_$.j1;
7
7
  var captureStack = kotlin_kotlin.$_$.ja;
8
- var protoOf = kotlin_kotlin.$_$.zb;
8
+ var protoOf = kotlin_kotlin.$_$.yb;
9
9
  var initMetadataForClass = kotlin_kotlin.$_$.za;
10
10
  var Unit_instance = kotlin_kotlin.$_$.z4;
11
11
  var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.o;
@@ -20,7 +20,7 @@
20
20
  var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.n;
21
21
  var hashCode = kotlin_kotlin.$_$.ya;
22
22
  var CoroutineImpl = kotlin_kotlin.$_$.h9;
23
- var THROW_CCE = kotlin_kotlin.$_$.yf;
23
+ var THROW_CCE = kotlin_kotlin.$_$.xf;
24
24
  var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.r8;
25
25
  var initMetadataForLambda = kotlin_kotlin.$_$.eb;
26
26
  var initMetadataForCoroutine = kotlin_kotlin.$_$.bb;
@@ -41,10 +41,10 @@
41
41
  configuration = tmp;
42
42
  var tmp_0;
43
43
  if ($super === VOID) {
44
- this.y54(contentType, converter, configuration);
44
+ this.p54(contentType, converter, configuration);
45
45
  tmp_0 = Unit_instance;
46
46
  } else {
47
- tmp_0 = $super.y54.call(this, contentType, converter, configuration);
47
+ tmp_0 = $super.p54.call(this, contentType, converter, configuration);
48
48
  }
49
49
  return tmp_0;
50
50
  }
@@ -73,7 +73,7 @@
73
73
  return tmp.c9();
74
74
  }
75
75
  function suitableCharset(_this__u8e3s4, defaultCharset) {
76
- defaultCharset = defaultCharset === VOID ? Charsets_getInstance().e1w_1 : defaultCharset;
76
+ defaultCharset = defaultCharset === VOID ? Charsets_getInstance().r1v_1 : defaultCharset;
77
77
  var tmp0_elvis_lhs = suitableCharsetOrNull(_this__u8e3s4, defaultCharset);
78
78
  return tmp0_elvis_lhs == null ? defaultCharset : tmp0_elvis_lhs;
79
79
  }
@@ -83,8 +83,8 @@
83
83
  function Configuration() {
84
84
  }
85
85
  function suitableCharsetOrNull(_this__u8e3s4, defaultCharset) {
86
- defaultCharset = defaultCharset === VOID ? Charsets_getInstance().e1w_1 : defaultCharset;
87
- var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.r2k(HttpHeaders_getInstance().m2t_1)).r();
86
+ defaultCharset = defaultCharset === VOID ? Charsets_getInstance().r1v_1 : defaultCharset;
87
+ var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.e2k(HttpHeaders_getInstance().z2s_1)).r();
88
88
  while (_iterator__ex2g4s.s()) {
89
89
  var charset = _iterator__ex2g4s.t().ig();
90
90
  if (charset === '*')
@@ -95,13 +95,13 @@
95
95
  return null;
96
96
  }
97
97
  function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
98
- this.a55_1 = function_0;
98
+ this.r54_1 = function_0;
99
99
  }
100
- protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).d1c = function (value, $completion) {
101
- return this.a55_1(value, $completion);
100
+ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).q1b = function (value, $completion) {
101
+ return this.r54_1(value, $completion);
102
102
  };
103
103
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).d3 = function () {
104
- return this.a55_1;
104
+ return this.r54_1;
105
105
  };
106
106
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
107
107
  var tmp;
@@ -122,20 +122,20 @@
122
122
  return hashCode(this.d3());
123
123
  };
124
124
  function deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
125
- this.j55_1 = $$this$unsafeFlow;
126
- this.k55_1 = $charset;
127
- this.l55_1 = $typeInfo;
128
- this.m55_1 = $body;
125
+ this.a55_1 = $$this$unsafeFlow;
126
+ this.b55_1 = $charset;
127
+ this.c55_1 = $typeInfo;
128
+ this.d55_1 = $body;
129
129
  CoroutineImpl.call(this, resultContinuation);
130
130
  }
131
- protoOf(deserialize$o$collect$slambda).p55 = function (value, $completion) {
132
- var tmp = this.q55(value, $completion);
131
+ protoOf(deserialize$o$collect$slambda).g55 = function (value, $completion) {
132
+ var tmp = this.h55(value, $completion);
133
133
  tmp.w8_1 = Unit_instance;
134
134
  tmp.x8_1 = null;
135
135
  return tmp.c9();
136
136
  };
137
137
  protoOf(deserialize$o$collect$slambda).o9 = function (p1, $completion) {
138
- return this.p55((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
138
+ return this.g55((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
139
139
  };
140
140
  protoOf(deserialize$o$collect$slambda).c9 = function () {
141
141
  var suspendResult = this.w8_1;
@@ -145,11 +145,11 @@
145
145
  switch (tmp) {
146
146
  case 0:
147
147
  this.v8_1 = 3;
148
- var tmp0 = this.j55_1;
149
- var tmp2 = this.n55_1;
150
- this.o55_1 = tmp0;
148
+ var tmp0 = this.a55_1;
149
+ var tmp2 = this.e55_1;
150
+ this.f55_1 = tmp0;
151
151
  this.u8_1 = 1;
152
- suspendResult = tmp2.r55(this.k55_1, this.l55_1, this.m55_1, this);
152
+ suspendResult = tmp2.i55(this.b55_1, this.c55_1, this.d55_1, this);
153
153
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
154
154
  return suspendResult;
155
155
  }
@@ -158,7 +158,7 @@
158
158
  case 1:
159
159
  var ARGUMENT = suspendResult;
160
160
  this.u8_1 = 2;
161
- suspendResult = this.o55_1.d1c(ARGUMENT, this);
161
+ suspendResult = this.f55_1.q1b(ARGUMENT, this);
162
162
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
163
163
  return suspendResult;
164
164
  }
@@ -180,23 +180,23 @@
180
180
  }
181
181
  while (true);
182
182
  };
183
- protoOf(deserialize$o$collect$slambda).q55 = function (value, completion) {
184
- var i = new deserialize$o$collect$slambda(this.j55_1, this.k55_1, this.l55_1, this.m55_1, completion);
185
- i.n55_1 = value;
183
+ protoOf(deserialize$o$collect$slambda).h55 = function (value, completion) {
184
+ var i = new deserialize$o$collect$slambda(this.a55_1, this.b55_1, this.c55_1, this.d55_1, completion);
185
+ i.e55_1 = value;
186
186
  return i;
187
187
  };
188
188
  function deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
189
189
  var i = new deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation);
190
190
  var l = function (value, $completion) {
191
- return i.p55(value, $completion);
191
+ return i.g55(value, $completion);
192
192
  };
193
193
  l.$arity = 1;
194
194
  return l;
195
195
  }
196
196
  function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
197
197
  CoroutineImpl.call(this, resultContinuation);
198
- this.a56_1 = _this__u8e3s4;
199
- this.b56_1 = collector;
198
+ this.r55_1 = _this__u8e3s4;
199
+ this.s55_1 = collector;
200
200
  }
201
201
  protoOf($collectCOROUTINE$).c9 = function () {
202
202
  var suspendResult = this.w8_1;
@@ -206,10 +206,10 @@
206
206
  switch (tmp) {
207
207
  case 0:
208
208
  this.v8_1 = 2;
209
- var $this$unsafeFlow = this.b56_1;
209
+ var $this$unsafeFlow = this.s55_1;
210
210
  this.u8_1 = 1;
211
- var tmp_0 = deserialize$o$collect$slambda_0($this$unsafeFlow, this.a56_1.d56_1, this.a56_1.e56_1, this.a56_1.f56_1, null);
212
- suspendResult = this.a56_1.c56_1.f1c(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
211
+ var tmp_0 = deserialize$o$collect$slambda_0($this$unsafeFlow, this.r55_1.u55_1, this.r55_1.v55_1, this.r55_1.w55_1, null);
212
+ suspendResult = this.r55_1.t55_1.s1b(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
213
213
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
214
214
  return suspendResult;
215
215
  }
@@ -232,32 +232,32 @@
232
232
  while (true);
233
233
  };
234
234
  function deserialize$$inlined$map$1($this, $charset, $typeInfo, $body) {
235
- this.c56_1 = $this;
236
- this.d56_1 = $charset;
237
- this.e56_1 = $typeInfo;
238
- this.f56_1 = $body;
235
+ this.t55_1 = $this;
236
+ this.u55_1 = $charset;
237
+ this.v55_1 = $typeInfo;
238
+ this.w55_1 = $body;
239
239
  }
240
- protoOf(deserialize$$inlined$map$1).e1c = function (collector, $completion) {
240
+ protoOf(deserialize$$inlined$map$1).r1b = function (collector, $completion) {
241
241
  var tmp = new $collectCOROUTINE$(this, collector, $completion);
242
242
  tmp.w8_1 = Unit_instance;
243
243
  tmp.x8_1 = null;
244
244
  return tmp.c9();
245
245
  };
246
- protoOf(deserialize$$inlined$map$1).f1c = function (collector, $completion) {
247
- return this.e1c(collector, $completion);
246
+ protoOf(deserialize$$inlined$map$1).s1b = function (collector, $completion) {
247
+ return this.r1b(collector, $completion);
248
248
  };
249
249
  function deserialize$slambda($body, resultContinuation) {
250
- this.o56_1 = $body;
250
+ this.f56_1 = $body;
251
251
  CoroutineImpl.call(this, resultContinuation);
252
252
  }
253
- protoOf(deserialize$slambda).q56 = function (it, $completion) {
254
- var tmp = this.q55(it, $completion);
253
+ protoOf(deserialize$slambda).h56 = function (it, $completion) {
254
+ var tmp = this.h55(it, $completion);
255
255
  tmp.w8_1 = Unit_instance;
256
256
  tmp.x8_1 = null;
257
257
  return tmp.c9();
258
258
  };
259
259
  protoOf(deserialize$slambda).o9 = function (p1, $completion) {
260
- return this.q56((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
260
+ return this.h56((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
261
261
  };
262
262
  protoOf(deserialize$slambda).c9 = function () {
263
263
  var suspendResult = this.w8_1;
@@ -266,7 +266,7 @@
266
266
  var tmp = this.u8_1;
267
267
  if (tmp === 0) {
268
268
  this.v8_1 = 1;
269
- return !(this.p56_1 == null) || this.o56_1.h1m();
269
+ return !(this.g56_1 == null) || this.f56_1.u1l();
270
270
  } else if (tmp === 1) {
271
271
  throw this.x8_1;
272
272
  }
@@ -276,25 +276,25 @@
276
276
  }
277
277
  while (true);
278
278
  };
279
- protoOf(deserialize$slambda).q55 = function (it, completion) {
280
- var i = new deserialize$slambda(this.o56_1, completion);
281
- i.p56_1 = it;
279
+ protoOf(deserialize$slambda).h55 = function (it, completion) {
280
+ var i = new deserialize$slambda(this.f56_1, completion);
281
+ i.g56_1 = it;
282
282
  return i;
283
283
  };
284
284
  function deserialize$slambda_0($body, resultContinuation) {
285
285
  var i = new deserialize$slambda($body, resultContinuation);
286
286
  var l = function (it, $completion) {
287
- return i.q56(it, $completion);
287
+ return i.h56(it, $completion);
288
288
  };
289
289
  l.$arity = 1;
290
290
  return l;
291
291
  }
292
292
  function $deserializeCOROUTINE$(_this__u8e3s4, body, typeInfo, charset, resultContinuation) {
293
293
  CoroutineImpl.call(this, resultContinuation);
294
- this.u54_1 = _this__u8e3s4;
295
- this.v54_1 = body;
296
- this.w54_1 = typeInfo;
297
- this.x54_1 = charset;
294
+ this.l54_1 = _this__u8e3s4;
295
+ this.m54_1 = body;
296
+ this.n54_1 = typeInfo;
297
+ this.o54_1 = charset;
298
298
  }
299
299
  protoOf($deserializeCOROUTINE$).c9 = function () {
300
300
  var suspendResult = this.w8_1;
@@ -305,9 +305,9 @@
305
305
  case 0:
306
306
  this.v8_1 = 2;
307
307
  this.u8_1 = 1;
308
- var this_0 = asFlow(this.u54_1);
309
- var tmp_0 = new deserialize$$inlined$map$1(this_0, this.x54_1, this.w54_1, this.v54_1);
310
- suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.v54_1, null), this);
308
+ var this_0 = asFlow(this.l54_1);
309
+ var tmp_0 = new deserialize$$inlined$map$1(this_0, this.o54_1, this.n54_1, this.m54_1);
310
+ suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.m54_1, null), this);
311
311
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
312
312
  return suspendResult;
313
313
  }
@@ -319,14 +319,14 @@
319
319
  if (!(result == null)) {
320
320
  tmp_1 = result;
321
321
  } else {
322
- if (!this.v54_1.h1m()) {
323
- tmp_1 = this.v54_1;
322
+ if (!this.m54_1.u1l()) {
323
+ tmp_1 = this.m54_1;
324
324
  } else {
325
- var tmp0_safe_receiver = this.w54_1.d2q_1;
325
+ var tmp0_safe_receiver = this.n54_1.q2p_1;
326
326
  if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.lb()) === true) {
327
327
  tmp_1 = NullBody_instance;
328
328
  } else {
329
- throw new ContentConvertException('No suitable converter found for ' + this.w54_1.toString());
329
+ throw new ContentConvertException('No suitable converter found for ' + this.n54_1.toString());
330
330
  }
331
331
  }
332
332
  }