@doordeck/doordeck-headless-sdk 0.195.0 → 0.197.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,27 +1,27 @@
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.$_$.sf;
4
+ var Exception = kotlin_kotlin.$_$.vf;
5
5
  var VOID = kotlin_kotlin.$_$.b;
6
6
  var Exception_init_$Init$ = kotlin_kotlin.$_$.j2;
7
- var captureStack = kotlin_kotlin.$_$.la;
8
- var protoOf = kotlin_kotlin.$_$.zb;
9
- var initMetadataForClass = kotlin_kotlin.$_$.cb;
7
+ var captureStack = kotlin_kotlin.$_$.oa;
8
+ var protoOf = kotlin_kotlin.$_$.cc;
9
+ var initMetadataForClass = kotlin_kotlin.$_$.fb;
10
10
  var Unit_instance = kotlin_kotlin.$_$.z;
11
11
  var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.a;
12
- var initMetadataForInterface = kotlin_kotlin.$_$.gb;
12
+ var initMetadataForInterface = kotlin_kotlin.$_$.jb;
13
13
  var parseAndSortHeader = kotlin_io_ktor_ktor_http.$_$.u1;
14
14
  var forName = kotlin_io_ktor_ktor_io.$_$.u;
15
15
  var isSupported = kotlin_io_ktor_ktor_io.$_$.v;
16
- var equals = kotlin_kotlin.$_$.ua;
17
- var FunctionAdapter = kotlin_kotlin.$_$.ha;
18
- var isInterface = kotlin_kotlin.$_$.rb;
16
+ var equals = kotlin_kotlin.$_$.xa;
17
+ var FunctionAdapter = kotlin_kotlin.$_$.ka;
18
+ var isInterface = kotlin_kotlin.$_$.ub;
19
19
  var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d1;
20
- var hashCode = kotlin_kotlin.$_$.bb;
21
- var CoroutineImpl = kotlin_kotlin.$_$.l9;
22
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.v8;
23
- var initMetadataForLambda = kotlin_kotlin.$_$.hb;
24
- var initMetadataForCoroutine = kotlin_kotlin.$_$.eb;
20
+ var hashCode = kotlin_kotlin.$_$.eb;
21
+ var CoroutineImpl = kotlin_kotlin.$_$.o9;
22
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.y8;
23
+ var initMetadataForLambda = kotlin_kotlin.$_$.kb;
24
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.hb;
25
25
  var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e1;
26
26
  var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j;
27
27
  var NullBody_instance = kotlin_io_ktor_ktor_http.$_$.a;
@@ -39,10 +39,10 @@
39
39
  configuration = tmp;
40
40
  var tmp_0;
41
41
  if ($super === VOID) {
42
- this.d3l(contentType, converter, configuration);
42
+ this.r3l(contentType, converter, configuration);
43
43
  tmp_0 = Unit_instance;
44
44
  } else {
45
- tmp_0 = $super.d3l.call(this, contentType, converter, configuration);
45
+ tmp_0 = $super.r3l.call(this, contentType, converter, configuration);
46
46
  }
47
47
  return tmp_0;
48
48
  }
@@ -71,7 +71,7 @@
71
71
  return tmp.i9();
72
72
  }
73
73
  function suitableCharset(_this__u8e3s4, defaultCharset) {
74
- defaultCharset = defaultCharset === VOID ? Charsets_getInstance().x1x_1 : defaultCharset;
74
+ defaultCharset = defaultCharset === VOID ? Charsets_getInstance().t1x_1 : defaultCharset;
75
75
  var tmp0_elvis_lhs = suitableCharsetOrNull(_this__u8e3s4, defaultCharset);
76
76
  return tmp0_elvis_lhs == null ? defaultCharset : tmp0_elvis_lhs;
77
77
  }
@@ -81,8 +81,8 @@
81
81
  function Configuration() {
82
82
  }
83
83
  function suitableCharsetOrNull(_this__u8e3s4, defaultCharset) {
84
- defaultCharset = defaultCharset === VOID ? Charsets_getInstance().x1x_1 : defaultCharset;
85
- var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.l2m('Accept-Charset')).t();
84
+ defaultCharset = defaultCharset === VOID ? Charsets_getInstance().t1x_1 : defaultCharset;
85
+ var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.l2n('Accept-Charset')).t();
86
86
  while (_iterator__ex2g4s.u()) {
87
87
  var charset = _iterator__ex2g4s.v().bg();
88
88
  if (charset === '*')
@@ -93,13 +93,13 @@
93
93
  return null;
94
94
  }
95
95
  function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
96
- this.f3l_1 = function_0;
96
+ this.t3l_1 = function_0;
97
97
  }
98
- protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).x1d = function (value, $completion) {
99
- return this.f3l_1(value, $completion);
98
+ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).t1d = function (value, $completion) {
99
+ return this.t3l_1(value, $completion);
100
100
  };
101
101
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).q3 = function () {
102
- return this.f3l_1;
102
+ return this.t3l_1;
103
103
  };
104
104
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
105
105
  var tmp;
@@ -120,20 +120,20 @@
120
120
  return hashCode(this.q3());
121
121
  };
122
122
  function deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
123
- this.o3l_1 = $$this$unsafeFlow;
124
- this.p3l_1 = $charset;
125
- this.q3l_1 = $typeInfo;
126
- this.r3l_1 = $body;
123
+ this.c3m_1 = $$this$unsafeFlow;
124
+ this.d3m_1 = $charset;
125
+ this.e3m_1 = $typeInfo;
126
+ this.f3m_1 = $body;
127
127
  CoroutineImpl.call(this, resultContinuation);
128
128
  }
129
- protoOf(deserialize$o$collect$slambda).u3l = function (value, $completion) {
130
- var tmp = this.v3l(value, $completion);
129
+ protoOf(deserialize$o$collect$slambda).i3m = function (value, $completion) {
130
+ var tmp = this.j3m(value, $completion);
131
131
  tmp.c9_1 = Unit_instance;
132
132
  tmp.d9_1 = null;
133
133
  return tmp.i9();
134
134
  };
135
135
  protoOf(deserialize$o$collect$slambda).u9 = function (p1, $completion) {
136
- return this.u3l(p1, $completion);
136
+ return this.i3m(p1, $completion);
137
137
  };
138
138
  protoOf(deserialize$o$collect$slambda).i9 = function () {
139
139
  var suspendResult = this.c9_1;
@@ -143,11 +143,11 @@
143
143
  switch (tmp) {
144
144
  case 0:
145
145
  this.b9_1 = 3;
146
- var tmp0 = this.o3l_1;
147
- var tmp2 = this.s3l_1;
148
- this.t3l_1 = tmp0;
146
+ var tmp0 = this.c3m_1;
147
+ var tmp2 = this.g3m_1;
148
+ this.h3m_1 = tmp0;
149
149
  this.a9_1 = 1;
150
- suspendResult = tmp2.w3l(this.p3l_1, this.q3l_1, this.r3l_1, this);
150
+ suspendResult = tmp2.k3m(this.d3m_1, this.e3m_1, this.f3m_1, this);
151
151
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
152
152
  return suspendResult;
153
153
  }
@@ -156,7 +156,7 @@
156
156
  case 1:
157
157
  var ARGUMENT = suspendResult;
158
158
  this.a9_1 = 2;
159
- suspendResult = this.t3l_1.x1d(ARGUMENT, this);
159
+ suspendResult = this.h3m_1.t1d(ARGUMENT, this);
160
160
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
161
161
  return suspendResult;
162
162
  }
@@ -178,23 +178,23 @@
178
178
  }
179
179
  while (true);
180
180
  };
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;
181
+ protoOf(deserialize$o$collect$slambda).j3m = function (value, completion) {
182
+ var i = new deserialize$o$collect$slambda(this.c3m_1, this.d3m_1, this.e3m_1, this.f3m_1, completion);
183
+ i.g3m_1 = value;
184
184
  return i;
185
185
  };
186
186
  function deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
187
187
  var i = new deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation);
188
188
  var l = function (value, $completion) {
189
- return i.u3l(value, $completion);
189
+ return i.i3m(value, $completion);
190
190
  };
191
191
  l.$arity = 1;
192
192
  return l;
193
193
  }
194
194
  function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
195
195
  CoroutineImpl.call(this, resultContinuation);
196
- this.f3m_1 = _this__u8e3s4;
197
- this.g3m_1 = collector;
196
+ this.t3m_1 = _this__u8e3s4;
197
+ this.u3m_1 = collector;
198
198
  }
199
199
  protoOf($collectCOROUTINE$).i9 = function () {
200
200
  var suspendResult = this.c9_1;
@@ -204,10 +204,10 @@
204
204
  switch (tmp) {
205
205
  case 0:
206
206
  this.b9_1 = 2;
207
- var $this$unsafeFlow = this.g3m_1;
207
+ var $this$unsafeFlow = this.u3m_1;
208
208
  this.a9_1 = 1;
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);
209
+ var tmp_0 = deserialize$o$collect$slambda_0($this$unsafeFlow, this.t3m_1.w3m_1, this.t3m_1.x3m_1, this.t3m_1.y3m_1, null);
210
+ suspendResult = this.t3m_1.v3m_1.v1d(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
211
211
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
212
212
  return suspendResult;
213
213
  }
@@ -230,32 +230,32 @@
230
230
  while (true);
231
231
  };
232
232
  function deserialize$$inlined$map$1($this, $charset, $typeInfo, $body) {
233
- this.h3m_1 = $this;
234
- this.i3m_1 = $charset;
235
- this.j3m_1 = $typeInfo;
236
- this.k3m_1 = $body;
233
+ this.v3m_1 = $this;
234
+ this.w3m_1 = $charset;
235
+ this.x3m_1 = $typeInfo;
236
+ this.y3m_1 = $body;
237
237
  }
238
- protoOf(deserialize$$inlined$map$1).y1d = function (collector, $completion) {
238
+ protoOf(deserialize$$inlined$map$1).u1d = function (collector, $completion) {
239
239
  var tmp = new $collectCOROUTINE$(this, collector, $completion);
240
240
  tmp.c9_1 = Unit_instance;
241
241
  tmp.d9_1 = null;
242
242
  return tmp.i9();
243
243
  };
244
- protoOf(deserialize$$inlined$map$1).z1d = function (collector, $completion) {
245
- return this.y1d(collector, $completion);
244
+ protoOf(deserialize$$inlined$map$1).v1d = function (collector, $completion) {
245
+ return this.u1d(collector, $completion);
246
246
  };
247
247
  function deserialize$slambda($body, resultContinuation) {
248
- this.t3m_1 = $body;
248
+ this.h3n_1 = $body;
249
249
  CoroutineImpl.call(this, resultContinuation);
250
250
  }
251
- protoOf(deserialize$slambda).v3m = function (it, $completion) {
252
- var tmp = this.v3l(it, $completion);
251
+ protoOf(deserialize$slambda).j3n = function (it, $completion) {
252
+ var tmp = this.j3m(it, $completion);
253
253
  tmp.c9_1 = Unit_instance;
254
254
  tmp.d9_1 = null;
255
255
  return tmp.i9();
256
256
  };
257
257
  protoOf(deserialize$slambda).u9 = function (p1, $completion) {
258
- return this.v3m(p1, $completion);
258
+ return this.j3n(p1, $completion);
259
259
  };
260
260
  protoOf(deserialize$slambda).i9 = function () {
261
261
  var suspendResult = this.c9_1;
@@ -264,7 +264,7 @@
264
264
  var tmp = this.a9_1;
265
265
  if (tmp === 0) {
266
266
  this.b9_1 = 1;
267
- return !(this.u3m_1 == null) || this.t3m_1.a1o();
267
+ return !(this.i3n_1 == null) || this.h3n_1.w1n();
268
268
  } else if (tmp === 1) {
269
269
  throw this.d9_1;
270
270
  }
@@ -274,25 +274,25 @@
274
274
  }
275
275
  while (true);
276
276
  };
277
- protoOf(deserialize$slambda).v3l = function (it, completion) {
278
- var i = new deserialize$slambda(this.t3m_1, completion);
279
- i.u3m_1 = it;
277
+ protoOf(deserialize$slambda).j3m = function (it, completion) {
278
+ var i = new deserialize$slambda(this.h3n_1, completion);
279
+ i.i3n_1 = it;
280
280
  return i;
281
281
  };
282
282
  function deserialize$slambda_0($body, resultContinuation) {
283
283
  var i = new deserialize$slambda($body, resultContinuation);
284
284
  var l = function (it, $completion) {
285
- return i.v3m(it, $completion);
285
+ return i.j3n(it, $completion);
286
286
  };
287
287
  l.$arity = 1;
288
288
  return l;
289
289
  }
290
290
  function $deserializeCOROUTINE$(_this__u8e3s4, body, typeInfo, charset, resultContinuation) {
291
291
  CoroutineImpl.call(this, resultContinuation);
292
- this.z3k_1 = _this__u8e3s4;
293
- this.a3l_1 = body;
294
- this.b3l_1 = typeInfo;
295
- this.c3l_1 = charset;
292
+ this.n3l_1 = _this__u8e3s4;
293
+ this.o3l_1 = body;
294
+ this.p3l_1 = typeInfo;
295
+ this.q3l_1 = charset;
296
296
  }
297
297
  protoOf($deserializeCOROUTINE$).i9 = function () {
298
298
  var suspendResult = this.c9_1;
@@ -303,9 +303,9 @@
303
303
  case 0:
304
304
  this.b9_1 = 2;
305
305
  this.a9_1 = 1;
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);
306
+ var this_0 = asFlow(this.n3l_1);
307
+ var tmp_0 = new deserialize$$inlined$map$1(this_0, this.q3l_1, this.p3l_1, this.o3l_1);
308
+ suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.o3l_1, null), this);
309
309
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
310
310
  return suspendResult;
311
311
  }
@@ -317,14 +317,14 @@
317
317
  if (!(result == null)) {
318
318
  tmp_1 = result;
319
319
  } else {
320
- if (!this.a3l_1.a1o()) {
321
- tmp_1 = this.a3l_1;
320
+ if (!this.o3l_1.w1n()) {
321
+ tmp_1 = this.o3l_1;
322
322
  } else {
323
- var tmp0_safe_receiver = this.b3l_1.x2r_1;
323
+ var tmp0_safe_receiver = this.p3l_1.l2s_1;
324
324
  if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l()) === true) {
325
325
  tmp_1 = NullBody_instance;
326
326
  } else {
327
- throw new ContentConvertException('No suitable converter found for ' + this.b3l_1.toString());
327
+ throw new ContentConvertException('No suitable converter found for ' + this.p3l_1.toString());
328
328
  }
329
329
  }
330
330
  }