@doordeck/doordeck-headless-sdk 0.201.0 → 0.202.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.$_$.xf;
4
+ var Exception = kotlin_kotlin.$_$.ag;
5
5
  var VOID = kotlin_kotlin.$_$.c;
6
- var Exception_init_$Init$ = kotlin_kotlin.$_$.k2;
7
- var captureStack = kotlin_kotlin.$_$.qa;
8
- var protoOf = kotlin_kotlin.$_$.ec;
9
- var initMetadataForClass = kotlin_kotlin.$_$.hb;
6
+ var Exception_init_$Init$ = kotlin_kotlin.$_$.l2;
7
+ var captureStack = kotlin_kotlin.$_$.sa;
8
+ var protoOf = kotlin_kotlin.$_$.gc;
9
+ var initMetadataForClass = kotlin_kotlin.$_$.jb;
10
10
  var Unit_instance = kotlin_kotlin.$_$.a1;
11
11
  var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.a;
12
- var initMetadataForInterface = kotlin_kotlin.$_$.lb;
12
+ var initMetadataForInterface = kotlin_kotlin.$_$.nb;
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.$_$.za;
17
- var FunctionAdapter = kotlin_kotlin.$_$.ma;
18
- var isInterface = kotlin_kotlin.$_$.wb;
16
+ var equals = kotlin_kotlin.$_$.bb;
17
+ var FunctionAdapter = kotlin_kotlin.$_$.oa;
18
+ var isInterface = kotlin_kotlin.$_$.yb;
19
19
  var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d1;
20
- var hashCode = kotlin_kotlin.$_$.gb;
21
- var CoroutineImpl = kotlin_kotlin.$_$.q9;
22
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.a9;
23
- var initMetadataForLambda = kotlin_kotlin.$_$.mb;
24
- var initMetadataForCoroutine = kotlin_kotlin.$_$.jb;
20
+ var hashCode = kotlin_kotlin.$_$.ib;
21
+ var CoroutineImpl = kotlin_kotlin.$_$.s9;
22
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.b9;
23
+ var initMetadataForLambda = kotlin_kotlin.$_$.ob;
24
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.lb;
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.t3l(contentType, converter, configuration);
42
+ this.j3n(contentType, converter, configuration);
43
43
  tmp_0 = Unit_instance;
44
44
  } else {
45
- tmp_0 = $super.t3l.call(this, contentType, converter, configuration);
45
+ tmp_0 = $super.j3n.call(this, contentType, converter, configuration);
46
46
  }
47
47
  return tmp_0;
48
48
  }
@@ -66,12 +66,12 @@
66
66
  }
67
67
  function deserialize(_this__u8e3s4, body, typeInfo, charset, $completion) {
68
68
  var tmp = new $deserializeCOROUTINE$(_this__u8e3s4, body, typeInfo, charset, $completion);
69
- tmp.c9_1 = Unit_instance;
70
- tmp.d9_1 = null;
71
- return tmp.i9();
69
+ tmp.f9_1 = Unit_instance;
70
+ tmp.g9_1 = null;
71
+ return tmp.l9();
72
72
  }
73
73
  function suitableCharset(_this__u8e3s4, defaultCharset) {
74
- defaultCharset = defaultCharset === VOID ? Charsets_getInstance().t1x_1 : defaultCharset;
74
+ defaultCharset = defaultCharset === VOID ? Charsets_getInstance().v1y_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,10 +81,10 @@
81
81
  function Configuration() {
82
82
  }
83
83
  function suitableCharsetOrNull(_this__u8e3s4, defaultCharset) {
84
- defaultCharset = defaultCharset === VOID ? Charsets_getInstance().t1x_1 : defaultCharset;
85
- var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.n2n('Accept-Charset')).t();
84
+ defaultCharset = defaultCharset === VOID ? Charsets_getInstance().v1y_1 : defaultCharset;
85
+ var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.p2o('Accept-Charset')).t();
86
86
  while (_iterator__ex2g4s.u()) {
87
- var charset = _iterator__ex2g4s.v().bg();
87
+ var charset = _iterator__ex2g4s.v().fg();
88
88
  if (charset === '*')
89
89
  return defaultCharset;
90
90
  else if (isSupported(Charsets_getInstance(), charset))
@@ -93,13 +93,13 @@
93
93
  return null;
94
94
  }
95
95
  function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
96
- this.v3l_1 = function_0;
96
+ this.l3n_1 = function_0;
97
97
  }
98
- protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).t1d = function (value, $completion) {
99
- return this.v3l_1(value, $completion);
98
+ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).u1e = function (value, $completion) {
99
+ return this.l3n_1(value, $completion);
100
100
  };
101
101
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).q3 = function () {
102
- return this.v3l_1;
102
+ return this.l3n_1;
103
103
  };
104
104
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
105
105
  var tmp;
@@ -120,34 +120,34 @@
120
120
  return hashCode(this.q3());
121
121
  };
122
122
  function deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
123
- this.e3m_1 = $$this$unsafeFlow;
124
- this.f3m_1 = $charset;
125
- this.g3m_1 = $typeInfo;
126
- this.h3m_1 = $body;
123
+ this.u3n_1 = $$this$unsafeFlow;
124
+ this.v3n_1 = $charset;
125
+ this.w3n_1 = $typeInfo;
126
+ this.x3n_1 = $body;
127
127
  CoroutineImpl.call(this, resultContinuation);
128
128
  }
129
- protoOf(deserialize$o$collect$slambda).k3m = function (value, $completion) {
130
- var tmp = this.l3m(value, $completion);
131
- tmp.c9_1 = Unit_instance;
132
- tmp.d9_1 = null;
133
- return tmp.i9();
129
+ protoOf(deserialize$o$collect$slambda).a3o = function (value, $completion) {
130
+ var tmp = this.b3o(value, $completion);
131
+ tmp.f9_1 = Unit_instance;
132
+ tmp.g9_1 = null;
133
+ return tmp.l9();
134
134
  };
135
- protoOf(deserialize$o$collect$slambda).u9 = function (p1, $completion) {
136
- return this.k3m(p1, $completion);
135
+ protoOf(deserialize$o$collect$slambda).y9 = function (p1, $completion) {
136
+ return this.a3o(p1, $completion);
137
137
  };
138
- protoOf(deserialize$o$collect$slambda).i9 = function () {
139
- var suspendResult = this.c9_1;
138
+ protoOf(deserialize$o$collect$slambda).l9 = function () {
139
+ var suspendResult = this.f9_1;
140
140
  $sm: do
141
141
  try {
142
- var tmp = this.a9_1;
142
+ var tmp = this.d9_1;
143
143
  switch (tmp) {
144
144
  case 0:
145
- this.b9_1 = 3;
146
- var tmp0 = this.e3m_1;
147
- var tmp2 = this.i3m_1;
148
- this.j3m_1 = tmp0;
149
- this.a9_1 = 1;
150
- suspendResult = tmp2.m3m(this.f3m_1, this.g3m_1, this.h3m_1, this);
145
+ this.e9_1 = 3;
146
+ var tmp0 = this.u3n_1;
147
+ var tmp2 = this.y3n_1;
148
+ this.z3n_1 = tmp0;
149
+ this.d9_1 = 1;
150
+ suspendResult = tmp2.c3o(this.v3n_1, this.w3n_1, this.x3n_1, this);
151
151
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
152
152
  return suspendResult;
153
153
  }
@@ -155,8 +155,8 @@
155
155
  continue $sm;
156
156
  case 1:
157
157
  var ARGUMENT = suspendResult;
158
- this.a9_1 = 2;
159
- suspendResult = this.j3m_1.t1d(ARGUMENT, this);
158
+ this.d9_1 = 2;
159
+ suspendResult = this.z3n_1.u1e(ARGUMENT, this);
160
160
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
161
161
  return suspendResult;
162
162
  }
@@ -165,49 +165,49 @@
165
165
  case 2:
166
166
  return Unit_instance;
167
167
  case 3:
168
- throw this.d9_1;
168
+ throw this.g9_1;
169
169
  }
170
170
  } catch ($p) {
171
171
  var e = $p;
172
- if (this.b9_1 === 3) {
172
+ if (this.e9_1 === 3) {
173
173
  throw e;
174
174
  } else {
175
- this.a9_1 = this.b9_1;
176
- this.d9_1 = e;
175
+ this.d9_1 = this.e9_1;
176
+ this.g9_1 = e;
177
177
  }
178
178
  }
179
179
  while (true);
180
180
  };
181
- protoOf(deserialize$o$collect$slambda).l3m = function (value, completion) {
182
- var i = new deserialize$o$collect$slambda(this.e3m_1, this.f3m_1, this.g3m_1, this.h3m_1, completion);
183
- i.i3m_1 = value;
181
+ protoOf(deserialize$o$collect$slambda).b3o = function (value, completion) {
182
+ var i = new deserialize$o$collect$slambda(this.u3n_1, this.v3n_1, this.w3n_1, this.x3n_1, completion);
183
+ i.y3n_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.k3m(value, $completion);
189
+ return i.a3o(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.v3m_1 = _this__u8e3s4;
197
- this.w3m_1 = collector;
196
+ this.l3o_1 = _this__u8e3s4;
197
+ this.m3o_1 = collector;
198
198
  }
199
- protoOf($collectCOROUTINE$).i9 = function () {
200
- var suspendResult = this.c9_1;
199
+ protoOf($collectCOROUTINE$).l9 = function () {
200
+ var suspendResult = this.f9_1;
201
201
  $sm: do
202
202
  try {
203
- var tmp = this.a9_1;
203
+ var tmp = this.d9_1;
204
204
  switch (tmp) {
205
205
  case 0:
206
- this.b9_1 = 2;
207
- var $this$unsafeFlow = this.w3m_1;
208
- this.a9_1 = 1;
209
- var tmp_0 = deserialize$o$collect$slambda_0($this$unsafeFlow, this.v3m_1.y3m_1, this.v3m_1.z3m_1, this.v3m_1.a3n_1, null);
210
- suspendResult = this.v3m_1.x3m_1.v1d(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
206
+ this.e9_1 = 2;
207
+ var $this$unsafeFlow = this.m3o_1;
208
+ this.d9_1 = 1;
209
+ var tmp_0 = deserialize$o$collect$slambda_0($this$unsafeFlow, this.l3o_1.o3o_1, this.l3o_1.p3o_1, this.l3o_1.q3o_1, null);
210
+ suspendResult = this.l3o_1.n3o_1.w1e(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
211
211
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
212
212
  return suspendResult;
213
213
  }
@@ -216,57 +216,57 @@
216
216
  case 1:
217
217
  return Unit_instance;
218
218
  case 2:
219
- throw this.d9_1;
219
+ throw this.g9_1;
220
220
  }
221
221
  } catch ($p) {
222
222
  var e = $p;
223
- if (this.b9_1 === 2) {
223
+ if (this.e9_1 === 2) {
224
224
  throw e;
225
225
  } else {
226
- this.a9_1 = this.b9_1;
227
- this.d9_1 = e;
226
+ this.d9_1 = this.e9_1;
227
+ this.g9_1 = e;
228
228
  }
229
229
  }
230
230
  while (true);
231
231
  };
232
232
  function deserialize$$inlined$map$1($this, $charset, $typeInfo, $body) {
233
- this.x3m_1 = $this;
234
- this.y3m_1 = $charset;
235
- this.z3m_1 = $typeInfo;
236
- this.a3n_1 = $body;
233
+ this.n3o_1 = $this;
234
+ this.o3o_1 = $charset;
235
+ this.p3o_1 = $typeInfo;
236
+ this.q3o_1 = $body;
237
237
  }
238
- protoOf(deserialize$$inlined$map$1).u1d = function (collector, $completion) {
238
+ protoOf(deserialize$$inlined$map$1).v1e = function (collector, $completion) {
239
239
  var tmp = new $collectCOROUTINE$(this, collector, $completion);
240
- tmp.c9_1 = Unit_instance;
241
- tmp.d9_1 = null;
242
- return tmp.i9();
240
+ tmp.f9_1 = Unit_instance;
241
+ tmp.g9_1 = null;
242
+ return tmp.l9();
243
243
  };
244
- protoOf(deserialize$$inlined$map$1).v1d = function (collector, $completion) {
245
- return this.u1d(collector, $completion);
244
+ protoOf(deserialize$$inlined$map$1).w1e = function (collector, $completion) {
245
+ return this.v1e(collector, $completion);
246
246
  };
247
247
  function deserialize$slambda($body, resultContinuation) {
248
- this.j3n_1 = $body;
248
+ this.z3o_1 = $body;
249
249
  CoroutineImpl.call(this, resultContinuation);
250
250
  }
251
- protoOf(deserialize$slambda).l3n = function (it, $completion) {
252
- var tmp = this.l3m(it, $completion);
253
- tmp.c9_1 = Unit_instance;
254
- tmp.d9_1 = null;
255
- return tmp.i9();
251
+ protoOf(deserialize$slambda).b3p = function (it, $completion) {
252
+ var tmp = this.b3o(it, $completion);
253
+ tmp.f9_1 = Unit_instance;
254
+ tmp.g9_1 = null;
255
+ return tmp.l9();
256
256
  };
257
- protoOf(deserialize$slambda).u9 = function (p1, $completion) {
258
- return this.l3n(p1, $completion);
257
+ protoOf(deserialize$slambda).y9 = function (p1, $completion) {
258
+ return this.b3p(p1, $completion);
259
259
  };
260
- protoOf(deserialize$slambda).i9 = function () {
261
- var suspendResult = this.c9_1;
260
+ protoOf(deserialize$slambda).l9 = function () {
261
+ var suspendResult = this.f9_1;
262
262
  $sm: do
263
263
  try {
264
- var tmp = this.a9_1;
264
+ var tmp = this.d9_1;
265
265
  if (tmp === 0) {
266
- this.b9_1 = 1;
267
- return !(this.k3n_1 == null) || this.j3n_1.w1n();
266
+ this.e9_1 = 1;
267
+ return !(this.a3p_1 == null) || this.z3o_1.x1o();
268
268
  } else if (tmp === 1) {
269
- throw this.d9_1;
269
+ throw this.g9_1;
270
270
  }
271
271
  } catch ($p) {
272
272
  var e = $p;
@@ -274,38 +274,38 @@
274
274
  }
275
275
  while (true);
276
276
  };
277
- protoOf(deserialize$slambda).l3m = function (it, completion) {
278
- var i = new deserialize$slambda(this.j3n_1, completion);
279
- i.k3n_1 = it;
277
+ protoOf(deserialize$slambda).b3o = function (it, completion) {
278
+ var i = new deserialize$slambda(this.z3o_1, completion);
279
+ i.a3p_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.l3n(it, $completion);
285
+ return i.b3p(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.p3l_1 = _this__u8e3s4;
293
- this.q3l_1 = body;
294
- this.r3l_1 = typeInfo;
295
- this.s3l_1 = charset;
292
+ this.f3n_1 = _this__u8e3s4;
293
+ this.g3n_1 = body;
294
+ this.h3n_1 = typeInfo;
295
+ this.i3n_1 = charset;
296
296
  }
297
- protoOf($deserializeCOROUTINE$).i9 = function () {
298
- var suspendResult = this.c9_1;
297
+ protoOf($deserializeCOROUTINE$).l9 = function () {
298
+ var suspendResult = this.f9_1;
299
299
  $sm: do
300
300
  try {
301
- var tmp = this.a9_1;
301
+ var tmp = this.d9_1;
302
302
  switch (tmp) {
303
303
  case 0:
304
- this.b9_1 = 2;
305
- this.a9_1 = 1;
306
- var this_0 = asFlow(this.p3l_1);
307
- var tmp_0 = new deserialize$$inlined$map$1(this_0, this.s3l_1, this.r3l_1, this.q3l_1);
308
- suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.q3l_1, null), this);
304
+ this.e9_1 = 2;
305
+ this.d9_1 = 1;
306
+ var this_0 = asFlow(this.f3n_1);
307
+ var tmp_0 = new deserialize$$inlined$map$1(this_0, this.i3n_1, this.h3n_1, this.g3n_1);
308
+ suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.g3n_1, null), this);
309
309
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
310
310
  return suspendResult;
311
311
  }
@@ -317,29 +317,29 @@
317
317
  if (!(result == null)) {
318
318
  tmp_1 = result;
319
319
  } else {
320
- if (!this.q3l_1.w1n()) {
321
- tmp_1 = this.q3l_1;
320
+ if (!this.g3n_1.x1o()) {
321
+ tmp_1 = this.g3n_1;
322
322
  } else {
323
- var tmp0_safe_receiver = this.r3l_1.n2s_1;
323
+ var tmp0_safe_receiver = this.h3n_1.p2t_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.r3l_1.toString());
327
+ throw new ContentConvertException('No suitable converter found for ' + this.h3n_1.toString());
328
328
  }
329
329
  }
330
330
  }
331
331
 
332
332
  return tmp_1;
333
333
  case 2:
334
- throw this.d9_1;
334
+ throw this.g9_1;
335
335
  }
336
336
  } catch ($p) {
337
337
  var e = $p;
338
- if (this.b9_1 === 2) {
338
+ if (this.e9_1 === 2) {
339
339
  throw e;
340
340
  } else {
341
- this.a9_1 = this.b9_1;
342
- this.d9_1 = e;
341
+ this.d9_1 = this.e9_1;
342
+ this.g9_1 = e;
343
343
  }
344
344
  }
345
345
  while (true);