@dynamic-labs/react-native-extension 2.1.0-alpha.14 → 2.1.0-alpha.16

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.
package/index.js CHANGED
@@ -1,11 +1,11 @@
1
- import { useEffect, useRef } from 'react';
1
+ import { useEffect, useRef, useState } from 'react';
2
2
  import { WebView as WebView$1 } from 'react-native-webview';
3
- import { parseMessageTransportData } from '@dynamic-labs/message-transport';
3
+ import { parseMessageTransportData, createRequestChannel } from '@dynamic-labs/message-transport';
4
4
  import { Logger } from '@dynamic-labs/logger';
5
5
  import { StyleSheet } from 'react-native';
6
6
  import { jsx } from 'react/jsx-runtime';
7
7
 
8
- var version$1 = "2.1.0-alpha.14";
8
+ var version$1 = "2.1.0-alpha.16";
9
9
 
10
10
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
11
11
 
@@ -14,7 +14,7 @@ var check = function (it) {
14
14
  };
15
15
 
16
16
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
17
- var global$a =
17
+ var global$b =
18
18
  // eslint-disable-next-line es/no-global-this -- safe
19
19
  check(typeof globalThis == 'object' && globalThis) ||
20
20
  check(typeof window == 'object' && window) ||
@@ -26,7 +26,7 @@ var global$a =
26
26
 
27
27
  var objectGetOwnPropertyDescriptor = {};
28
28
 
29
- var fails$9 = function (exec) {
29
+ var fails$b = function (exec) {
30
30
  try {
31
31
  return !!exec();
32
32
  } catch (error) {
@@ -34,17 +34,17 @@ var fails$9 = function (exec) {
34
34
  }
35
35
  };
36
36
 
37
- var fails$8 = fails$9;
37
+ var fails$a = fails$b;
38
38
 
39
39
  // Detect IE8's incomplete defineProperty implementation
40
- var descriptors = !fails$8(function () {
40
+ var descriptors = !fails$a(function () {
41
41
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
42
42
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
43
43
  });
44
44
 
45
- var fails$7 = fails$9;
45
+ var fails$9 = fails$b;
46
46
 
47
- var functionBindNative = !fails$7(function () {
47
+ var functionBindNative = !fails$9(function () {
48
48
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
49
49
  var test = (function () { /* empty */ }).bind();
50
50
  // eslint-disable-next-line no-prototype-builtins -- safe
@@ -53,10 +53,10 @@ var functionBindNative = !fails$7(function () {
53
53
 
54
54
  var NATIVE_BIND$1 = functionBindNative;
55
55
 
56
- var call$5 = Function.prototype.call;
56
+ var call$6 = Function.prototype.call;
57
57
 
58
- var functionCall = NATIVE_BIND$1 ? call$5.bind(call$5) : function () {
59
- return call$5.apply(call$5, arguments);
58
+ var functionCall = NATIVE_BIND$1 ? call$6.bind(call$6) : function () {
59
+ return call$6.apply(call$6, arguments);
60
60
  };
61
61
 
62
62
  var objectPropertyIsEnumerable = {};
@@ -75,7 +75,7 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
75
75
  return !!descriptor && descriptor.enumerable;
76
76
  } : $propertyIsEnumerable;
77
77
 
78
- var createPropertyDescriptor$2 = function (bitmap, value) {
78
+ var createPropertyDescriptor$3 = function (bitmap, value) {
79
79
  return {
80
80
  enumerable: !(bitmap & 1),
81
81
  configurable: !(bitmap & 2),
@@ -87,39 +87,39 @@ var createPropertyDescriptor$2 = function (bitmap, value) {
87
87
  var NATIVE_BIND = functionBindNative;
88
88
 
89
89
  var FunctionPrototype$1 = Function.prototype;
90
- var call$4 = FunctionPrototype$1.call;
91
- var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$4, call$4);
90
+ var call$5 = FunctionPrototype$1.call;
91
+ var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$5, call$5);
92
92
 
93
93
  var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
94
94
  return function () {
95
- return call$4.apply(fn, arguments);
95
+ return call$5.apply(fn, arguments);
96
96
  };
97
97
  };
98
98
 
99
- var uncurryThis$8 = functionUncurryThis;
99
+ var uncurryThis$9 = functionUncurryThis;
100
100
 
101
- var toString$1 = uncurryThis$8({}.toString);
102
- var stringSlice = uncurryThis$8(''.slice);
101
+ var toString$1 = uncurryThis$9({}.toString);
102
+ var stringSlice = uncurryThis$9(''.slice);
103
103
 
104
104
  var classofRaw = function (it) {
105
105
  return stringSlice(toString$1(it), 8, -1);
106
106
  };
107
107
 
108
- var uncurryThis$7 = functionUncurryThis;
109
- var fails$6 = fails$9;
108
+ var uncurryThis$8 = functionUncurryThis;
109
+ var fails$8 = fails$b;
110
110
  var classof = classofRaw;
111
111
 
112
- var $Object$2 = Object;
113
- var split = uncurryThis$7(''.split);
112
+ var $Object$3 = Object;
113
+ var split = uncurryThis$8(''.split);
114
114
 
115
115
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
116
- var indexedObject = fails$6(function () {
116
+ var indexedObject = fails$8(function () {
117
117
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
118
118
  // eslint-disable-next-line no-prototype-builtins -- safe
119
- return !$Object$2('z').propertyIsEnumerable(0);
119
+ return !$Object$3('z').propertyIsEnumerable(0);
120
120
  }) ? function (it) {
121
- return classof(it) == 'String' ? split(it, '') : $Object$2(it);
122
- } : $Object$2;
121
+ return classof(it) == 'String' ? split(it, '') : $Object$3(it);
122
+ } : $Object$3;
123
123
 
124
124
  // we can't use just `it == null` since of `document.all` special case
125
125
  // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
@@ -129,12 +129,12 @@ var isNullOrUndefined$2 = function (it) {
129
129
 
130
130
  var isNullOrUndefined$1 = isNullOrUndefined$2;
131
131
 
132
- var $TypeError$5 = TypeError;
132
+ var $TypeError$6 = TypeError;
133
133
 
134
134
  // `RequireObjectCoercible` abstract operation
135
135
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
136
136
  var requireObjectCoercible$2 = function (it) {
137
- if (isNullOrUndefined$1(it)) throw $TypeError$5("Can't call method on " + it);
137
+ if (isNullOrUndefined$1(it)) throw $TypeError$6("Can't call method on " + it);
138
138
  return it;
139
139
  };
140
140
 
@@ -142,7 +142,7 @@ var requireObjectCoercible$2 = function (it) {
142
142
  var IndexedObject$1 = indexedObject;
143
143
  var requireObjectCoercible$1 = requireObjectCoercible$2;
144
144
 
145
- var toIndexedObject$3 = function (it) {
145
+ var toIndexedObject$5 = function (it) {
146
146
  return IndexedObject$1(requireObjectCoercible$1(it));
147
147
  };
148
148
 
@@ -163,47 +163,47 @@ var documentAll$1 = $documentAll$1.all;
163
163
 
164
164
  // `IsCallable` abstract operation
165
165
  // https://tc39.es/ecma262/#sec-iscallable
166
- var isCallable$a = $documentAll$1.IS_HTMLDDA ? function (argument) {
166
+ var isCallable$e = $documentAll$1.IS_HTMLDDA ? function (argument) {
167
167
  return typeof argument == 'function' || argument === documentAll$1;
168
168
  } : function (argument) {
169
169
  return typeof argument == 'function';
170
170
  };
171
171
 
172
- var isCallable$9 = isCallable$a;
172
+ var isCallable$d = isCallable$e;
173
173
  var $documentAll = documentAll_1;
174
174
 
175
175
  var documentAll = $documentAll.all;
176
176
 
177
- var isObject$5 = $documentAll.IS_HTMLDDA ? function (it) {
178
- return typeof it == 'object' ? it !== null : isCallable$9(it) || it === documentAll;
177
+ var isObject$6 = $documentAll.IS_HTMLDDA ? function (it) {
178
+ return typeof it == 'object' ? it !== null : isCallable$d(it) || it === documentAll;
179
179
  } : function (it) {
180
- return typeof it == 'object' ? it !== null : isCallable$9(it);
180
+ return typeof it == 'object' ? it !== null : isCallable$d(it);
181
181
  };
182
182
 
183
- var global$9 = global$a;
184
- var isCallable$8 = isCallable$a;
183
+ var global$a = global$b;
184
+ var isCallable$c = isCallable$e;
185
185
 
186
186
  var aFunction = function (argument) {
187
- return isCallable$8(argument) ? argument : undefined;
187
+ return isCallable$c(argument) ? argument : undefined;
188
188
  };
189
189
 
190
- var getBuiltIn$3 = function (namespace, method) {
191
- return arguments.length < 2 ? aFunction(global$9[namespace]) : global$9[namespace] && global$9[namespace][method];
190
+ var getBuiltIn$4 = function (namespace, method) {
191
+ return arguments.length < 2 ? aFunction(global$a[namespace]) : global$a[namespace] && global$a[namespace][method];
192
192
  };
193
193
 
194
- var uncurryThis$6 = functionUncurryThis;
194
+ var uncurryThis$7 = functionUncurryThis;
195
195
 
196
- var objectIsPrototypeOf = uncurryThis$6({}.isPrototypeOf);
196
+ var objectIsPrototypeOf = uncurryThis$7({}.isPrototypeOf);
197
197
 
198
- var getBuiltIn$2 = getBuiltIn$3;
198
+ var getBuiltIn$3 = getBuiltIn$4;
199
199
 
200
- var engineUserAgent = getBuiltIn$2('navigator', 'userAgent') || '';
200
+ var engineUserAgent = getBuiltIn$3('navigator', 'userAgent') || '';
201
201
 
202
- var global$8 = global$a;
202
+ var global$9 = global$b;
203
203
  var userAgent = engineUserAgent;
204
204
 
205
- var process = global$8.process;
206
- var Deno = global$8.Deno;
205
+ var process = global$9.process;
206
+ var Deno = global$9.Deno;
207
207
  var versions = process && process.versions || Deno && Deno.version;
208
208
  var v8 = versions && versions.v8;
209
209
  var match, version;
@@ -230,10 +230,10 @@ var engineV8Version = version;
230
230
  /* eslint-disable es/no-symbol -- required for testing */
231
231
 
232
232
  var V8_VERSION = engineV8Version;
233
- var fails$5 = fails$9;
233
+ var fails$7 = fails$b;
234
234
 
235
235
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
236
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$5(function () {
236
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$7(function () {
237
237
  var symbol = Symbol();
238
238
  // Chrome 38 Symbol has incorrect toString conversion
239
239
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -250,39 +250,39 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
250
250
  && !Symbol.sham
251
251
  && typeof Symbol.iterator == 'symbol';
252
252
 
253
- var getBuiltIn$1 = getBuiltIn$3;
254
- var isCallable$7 = isCallable$a;
253
+ var getBuiltIn$2 = getBuiltIn$4;
254
+ var isCallable$b = isCallable$e;
255
255
  var isPrototypeOf = objectIsPrototypeOf;
256
256
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
257
257
 
258
- var $Object$1 = Object;
258
+ var $Object$2 = Object;
259
259
 
260
260
  var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
261
261
  return typeof it == 'symbol';
262
262
  } : function (it) {
263
- var $Symbol = getBuiltIn$1('Symbol');
264
- return isCallable$7($Symbol) && isPrototypeOf($Symbol.prototype, $Object$1(it));
263
+ var $Symbol = getBuiltIn$2('Symbol');
264
+ return isCallable$b($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it));
265
265
  };
266
266
 
267
- var $String$1 = String;
267
+ var $String$2 = String;
268
268
 
269
269
  var tryToString$1 = function (argument) {
270
270
  try {
271
- return $String$1(argument);
271
+ return $String$2(argument);
272
272
  } catch (error) {
273
273
  return 'Object';
274
274
  }
275
275
  };
276
276
 
277
- var isCallable$6 = isCallable$a;
277
+ var isCallable$a = isCallable$e;
278
278
  var tryToString = tryToString$1;
279
279
 
280
- var $TypeError$4 = TypeError;
280
+ var $TypeError$5 = TypeError;
281
281
 
282
282
  // `Assert: IsCallable(argument) is true`
283
283
  var aCallable$1 = function (argument) {
284
- if (isCallable$6(argument)) return argument;
285
- throw $TypeError$4(tryToString(argument) + ' is not a function');
284
+ if (isCallable$a(argument)) return argument;
285
+ throw $TypeError$5(tryToString(argument) + ' is not a function');
286
286
  };
287
287
 
288
288
  var aCallable = aCallable$1;
@@ -295,42 +295,42 @@ var getMethod$1 = function (V, P) {
295
295
  return isNullOrUndefined(func) ? undefined : aCallable(func);
296
296
  };
297
297
 
298
- var call$3 = functionCall;
299
- var isCallable$5 = isCallable$a;
300
- var isObject$4 = isObject$5;
298
+ var call$4 = functionCall;
299
+ var isCallable$9 = isCallable$e;
300
+ var isObject$5 = isObject$6;
301
301
 
302
- var $TypeError$3 = TypeError;
302
+ var $TypeError$4 = TypeError;
303
303
 
304
304
  // `OrdinaryToPrimitive` abstract operation
305
305
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
306
306
  var ordinaryToPrimitive$1 = function (input, pref) {
307
307
  var fn, val;
308
- if (pref === 'string' && isCallable$5(fn = input.toString) && !isObject$4(val = call$3(fn, input))) return val;
309
- if (isCallable$5(fn = input.valueOf) && !isObject$4(val = call$3(fn, input))) return val;
310
- if (pref !== 'string' && isCallable$5(fn = input.toString) && !isObject$4(val = call$3(fn, input))) return val;
311
- throw $TypeError$3("Can't convert object to primitive value");
308
+ if (pref === 'string' && isCallable$9(fn = input.toString) && !isObject$5(val = call$4(fn, input))) return val;
309
+ if (isCallable$9(fn = input.valueOf) && !isObject$5(val = call$4(fn, input))) return val;
310
+ if (pref !== 'string' && isCallable$9(fn = input.toString) && !isObject$5(val = call$4(fn, input))) return val;
311
+ throw $TypeError$4("Can't convert object to primitive value");
312
312
  };
313
313
 
314
314
  var shared$3 = {exports: {}};
315
315
 
316
- var global$7 = global$a;
316
+ var global$8 = global$b;
317
317
 
318
318
  // eslint-disable-next-line es/no-object-defineproperty -- safe
319
- var defineProperty$2 = Object.defineProperty;
319
+ var defineProperty$5 = Object.defineProperty;
320
320
 
321
321
  var defineGlobalProperty$3 = function (key, value) {
322
322
  try {
323
- defineProperty$2(global$7, key, { value: value, configurable: true, writable: true });
323
+ defineProperty$5(global$8, key, { value: value, configurable: true, writable: true });
324
324
  } catch (error) {
325
- global$7[key] = value;
325
+ global$8[key] = value;
326
326
  } return value;
327
327
  };
328
328
 
329
- var global$6 = global$a;
329
+ var global$7 = global$b;
330
330
  var defineGlobalProperty$2 = defineGlobalProperty$3;
331
331
 
332
332
  var SHARED = '__core-js_shared__';
333
- var store$3 = global$6[SHARED] || defineGlobalProperty$2(SHARED, {});
333
+ var store$3 = global$7[SHARED] || defineGlobalProperty$2(SHARED, {});
334
334
 
335
335
  var sharedStore = store$3;
336
336
 
@@ -348,52 +348,52 @@ var store$2 = sharedStore;
348
348
 
349
349
  var requireObjectCoercible = requireObjectCoercible$2;
350
350
 
351
- var $Object = Object;
351
+ var $Object$1 = Object;
352
352
 
353
353
  // `ToObject` abstract operation
354
354
  // https://tc39.es/ecma262/#sec-toobject
355
- var toObject$2 = function (argument) {
356
- return $Object(requireObjectCoercible(argument));
355
+ var toObject$3 = function (argument) {
356
+ return $Object$1(requireObjectCoercible(argument));
357
357
  };
358
358
 
359
- var uncurryThis$5 = functionUncurryThis;
360
- var toObject$1 = toObject$2;
359
+ var uncurryThis$6 = functionUncurryThis;
360
+ var toObject$2 = toObject$3;
361
361
 
362
- var hasOwnProperty = uncurryThis$5({}.hasOwnProperty);
362
+ var hasOwnProperty = uncurryThis$6({}.hasOwnProperty);
363
363
 
364
364
  // `HasOwnProperty` abstract operation
365
365
  // https://tc39.es/ecma262/#sec-hasownproperty
366
366
  // eslint-disable-next-line es/no-object-hasown -- safe
367
367
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
368
- return hasOwnProperty(toObject$1(it), key);
368
+ return hasOwnProperty(toObject$2(it), key);
369
369
  };
370
370
 
371
- var uncurryThis$4 = functionUncurryThis;
371
+ var uncurryThis$5 = functionUncurryThis;
372
372
 
373
373
  var id = 0;
374
374
  var postfix = Math.random();
375
- var toString = uncurryThis$4(1.0.toString);
375
+ var toString = uncurryThis$5(1.0.toString);
376
376
 
377
377
  var uid$2 = function (key) {
378
378
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
379
379
  };
380
380
 
381
- var global$5 = global$a;
381
+ var global$6 = global$b;
382
382
  var shared$2 = shared$3.exports;
383
- var hasOwn$6 = hasOwnProperty_1;
383
+ var hasOwn$8 = hasOwnProperty_1;
384
384
  var uid$1 = uid$2;
385
385
  var NATIVE_SYMBOL = symbolConstructorDetection;
386
386
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
387
387
 
388
388
  var WellKnownSymbolsStore = shared$2('wks');
389
- var Symbol$1 = global$5.Symbol;
389
+ var Symbol$1 = global$6.Symbol;
390
390
  var symbolFor = Symbol$1 && Symbol$1['for'];
391
391
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
392
392
 
393
- var wellKnownSymbol$1 = function (name) {
394
- if (!hasOwn$6(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
393
+ var wellKnownSymbol$6 = function (name) {
394
+ if (!hasOwn$8(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
395
395
  var description = 'Symbol.' + name;
396
- if (NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)) {
396
+ if (NATIVE_SYMBOL && hasOwn$8(Symbol$1, name)) {
397
397
  WellKnownSymbolsStore[name] = Symbol$1[name];
398
398
  } else if (USE_SYMBOL_AS_UID && symbolFor) {
399
399
  WellKnownSymbolsStore[name] = symbolFor(description);
@@ -403,27 +403,27 @@ var wellKnownSymbol$1 = function (name) {
403
403
  } return WellKnownSymbolsStore[name];
404
404
  };
405
405
 
406
- var call$2 = functionCall;
407
- var isObject$3 = isObject$5;
406
+ var call$3 = functionCall;
407
+ var isObject$4 = isObject$6;
408
408
  var isSymbol$1 = isSymbol$2;
409
409
  var getMethod = getMethod$1;
410
410
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
411
- var wellKnownSymbol = wellKnownSymbol$1;
411
+ var wellKnownSymbol$5 = wellKnownSymbol$6;
412
412
 
413
- var $TypeError$2 = TypeError;
414
- var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
413
+ var $TypeError$3 = TypeError;
414
+ var TO_PRIMITIVE = wellKnownSymbol$5('toPrimitive');
415
415
 
416
416
  // `ToPrimitive` abstract operation
417
417
  // https://tc39.es/ecma262/#sec-toprimitive
418
418
  var toPrimitive$1 = function (input, pref) {
419
- if (!isObject$3(input) || isSymbol$1(input)) return input;
419
+ if (!isObject$4(input) || isSymbol$1(input)) return input;
420
420
  var exoticToPrim = getMethod(input, TO_PRIMITIVE);
421
421
  var result;
422
422
  if (exoticToPrim) {
423
423
  if (pref === undefined) pref = 'default';
424
- result = call$2(exoticToPrim, input, pref);
425
- if (!isObject$3(result) || isSymbol$1(result)) return result;
426
- throw $TypeError$2("Can't convert object to primitive value");
424
+ result = call$3(exoticToPrim, input, pref);
425
+ if (!isObject$4(result) || isSymbol$1(result)) return result;
426
+ throw $TypeError$3("Can't convert object to primitive value");
427
427
  }
428
428
  if (pref === undefined) pref = 'number';
429
429
  return ordinaryToPrimitive(input, pref);
@@ -439,36 +439,36 @@ var toPropertyKey$2 = function (argument) {
439
439
  return isSymbol(key) ? key : key + '';
440
440
  };
441
441
 
442
- var global$4 = global$a;
443
- var isObject$2 = isObject$5;
442
+ var global$5 = global$b;
443
+ var isObject$3 = isObject$6;
444
444
 
445
- var document$1 = global$4.document;
445
+ var document$1 = global$5.document;
446
446
  // typeof document.createElement is 'object' in old IE
447
- var EXISTS$1 = isObject$2(document$1) && isObject$2(document$1.createElement);
447
+ var EXISTS$1 = isObject$3(document$1) && isObject$3(document$1.createElement);
448
448
 
449
- var documentCreateElement = function (it) {
449
+ var documentCreateElement$2 = function (it) {
450
450
  return EXISTS$1 ? document$1.createElement(it) : {};
451
451
  };
452
452
 
453
- var DESCRIPTORS$7 = descriptors;
454
- var fails$4 = fails$9;
455
- var createElement = documentCreateElement;
453
+ var DESCRIPTORS$9 = descriptors;
454
+ var fails$6 = fails$b;
455
+ var createElement = documentCreateElement$2;
456
456
 
457
457
  // Thanks to IE8 for its funny defineProperty
458
- var ie8DomDefine = !DESCRIPTORS$7 && !fails$4(function () {
458
+ var ie8DomDefine = !DESCRIPTORS$9 && !fails$6(function () {
459
459
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
460
460
  return Object.defineProperty(createElement('div'), 'a', {
461
461
  get: function () { return 7; }
462
462
  }).a != 7;
463
463
  });
464
464
 
465
- var DESCRIPTORS$6 = descriptors;
466
- var call$1 = functionCall;
465
+ var DESCRIPTORS$8 = descriptors;
466
+ var call$2 = functionCall;
467
467
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
468
- var createPropertyDescriptor$1 = createPropertyDescriptor$2;
469
- var toIndexedObject$2 = toIndexedObject$3;
468
+ var createPropertyDescriptor$2 = createPropertyDescriptor$3;
469
+ var toIndexedObject$4 = toIndexedObject$5;
470
470
  var toPropertyKey$1 = toPropertyKey$2;
471
- var hasOwn$5 = hasOwnProperty_1;
471
+ var hasOwn$7 = hasOwnProperty_1;
472
472
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
473
473
 
474
474
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -476,23 +476,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
476
476
 
477
477
  // `Object.getOwnPropertyDescriptor` method
478
478
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
479
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$6 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
480
- O = toIndexedObject$2(O);
479
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
480
+ O = toIndexedObject$4(O);
481
481
  P = toPropertyKey$1(P);
482
482
  if (IE8_DOM_DEFINE$1) try {
483
483
  return $getOwnPropertyDescriptor$1(O, P);
484
484
  } catch (error) { /* empty */ }
485
- if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call$1(propertyIsEnumerableModule$1.f, O, P), O[P]);
485
+ if (hasOwn$7(O, P)) return createPropertyDescriptor$2(!call$2(propertyIsEnumerableModule$1.f, O, P), O[P]);
486
486
  };
487
487
 
488
488
  var objectDefineProperty = {};
489
489
 
490
- var DESCRIPTORS$5 = descriptors;
491
- var fails$3 = fails$9;
490
+ var DESCRIPTORS$7 = descriptors;
491
+ var fails$5 = fails$b;
492
492
 
493
493
  // V8 ~ Chrome 36-
494
494
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
495
- var v8PrototypeDefineBug = DESCRIPTORS$5 && fails$3(function () {
495
+ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$5(function () {
496
496
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
497
497
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
498
498
  value: 42,
@@ -500,24 +500,24 @@ var v8PrototypeDefineBug = DESCRIPTORS$5 && fails$3(function () {
500
500
  }).prototype != 42;
501
501
  });
502
502
 
503
- var isObject$1 = isObject$5;
503
+ var isObject$2 = isObject$6;
504
504
 
505
- var $String = String;
506
- var $TypeError$1 = TypeError;
505
+ var $String$1 = String;
506
+ var $TypeError$2 = TypeError;
507
507
 
508
508
  // `Assert: Type(argument) is Object`
509
- var anObject$2 = function (argument) {
510
- if (isObject$1(argument)) return argument;
511
- throw $TypeError$1($String(argument) + ' is not an object');
509
+ var anObject$5 = function (argument) {
510
+ if (isObject$2(argument)) return argument;
511
+ throw $TypeError$2($String$1(argument) + ' is not an object');
512
512
  };
513
513
 
514
- var DESCRIPTORS$4 = descriptors;
514
+ var DESCRIPTORS$6 = descriptors;
515
515
  var IE8_DOM_DEFINE = ie8DomDefine;
516
- var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
517
- var anObject$1 = anObject$2;
516
+ var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
517
+ var anObject$4 = anObject$5;
518
518
  var toPropertyKey = toPropertyKey$2;
519
519
 
520
- var $TypeError = TypeError;
520
+ var $TypeError$1 = TypeError;
521
521
  // eslint-disable-next-line es/no-object-defineproperty -- safe
522
522
  var $defineProperty = Object.defineProperty;
523
523
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -528,10 +528,10 @@ var WRITABLE = 'writable';
528
528
 
529
529
  // `Object.defineProperty` method
530
530
  // https://tc39.es/ecma262/#sec-object.defineproperty
531
- objectDefineProperty.f = DESCRIPTORS$4 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
532
- anObject$1(O);
531
+ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
532
+ anObject$4(O);
533
533
  P = toPropertyKey(P);
534
- anObject$1(Attributes);
534
+ anObject$4(Attributes);
535
535
  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
536
536
  var current = $getOwnPropertyDescriptor(O, P);
537
537
  if (current && current[WRITABLE]) {
@@ -544,23 +544,23 @@ objectDefineProperty.f = DESCRIPTORS$4 ? V8_PROTOTYPE_DEFINE_BUG ? function defi
544
544
  }
545
545
  } return $defineProperty(O, P, Attributes);
546
546
  } : $defineProperty : function defineProperty(O, P, Attributes) {
547
- anObject$1(O);
547
+ anObject$4(O);
548
548
  P = toPropertyKey(P);
549
- anObject$1(Attributes);
549
+ anObject$4(Attributes);
550
550
  if (IE8_DOM_DEFINE) try {
551
551
  return $defineProperty(O, P, Attributes);
552
552
  } catch (error) { /* empty */ }
553
- if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');
553
+ if ('get' in Attributes || 'set' in Attributes) throw $TypeError$1('Accessors not supported');
554
554
  if ('value' in Attributes) O[P] = Attributes.value;
555
555
  return O;
556
556
  };
557
557
 
558
- var DESCRIPTORS$3 = descriptors;
559
- var definePropertyModule$2 = objectDefineProperty;
560
- var createPropertyDescriptor = createPropertyDescriptor$2;
558
+ var DESCRIPTORS$5 = descriptors;
559
+ var definePropertyModule$3 = objectDefineProperty;
560
+ var createPropertyDescriptor$1 = createPropertyDescriptor$3;
561
561
 
562
- var createNonEnumerableProperty$2 = DESCRIPTORS$3 ? function (object, key, value) {
563
- return definePropertyModule$2.f(object, key, createPropertyDescriptor(1, value));
562
+ var createNonEnumerableProperty$4 = DESCRIPTORS$5 ? function (object, key, value) {
563
+ return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value));
564
564
  } : function (object, key, value) {
565
565
  object[key] = value;
566
566
  return object;
@@ -568,17 +568,17 @@ var createNonEnumerableProperty$2 = DESCRIPTORS$3 ? function (object, key, value
568
568
 
569
569
  var makeBuiltIn$2 = {exports: {}};
570
570
 
571
- var DESCRIPTORS$2 = descriptors;
572
- var hasOwn$4 = hasOwnProperty_1;
571
+ var DESCRIPTORS$4 = descriptors;
572
+ var hasOwn$6 = hasOwnProperty_1;
573
573
 
574
574
  var FunctionPrototype = Function.prototype;
575
575
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
576
- var getDescriptor = DESCRIPTORS$2 && Object.getOwnPropertyDescriptor;
576
+ var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor;
577
577
 
578
- var EXISTS = hasOwn$4(FunctionPrototype, 'name');
578
+ var EXISTS = hasOwn$6(FunctionPrototype, 'name');
579
579
  // additional protection from minified / mangled / dropped function names
580
580
  var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
581
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$2 || (DESCRIPTORS$2 && getDescriptor(FunctionPrototype, 'name').configurable));
581
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype, 'name').configurable));
582
582
 
583
583
  var functionName = {
584
584
  EXISTS: EXISTS,
@@ -586,14 +586,14 @@ var functionName = {
586
586
  CONFIGURABLE: CONFIGURABLE
587
587
  };
588
588
 
589
- var uncurryThis$3 = functionUncurryThis;
590
- var isCallable$4 = isCallable$a;
589
+ var uncurryThis$4 = functionUncurryThis;
590
+ var isCallable$8 = isCallable$e;
591
591
  var store$1 = sharedStore;
592
592
 
593
- var functionToString = uncurryThis$3(Function.toString);
593
+ var functionToString = uncurryThis$4(Function.toString);
594
594
 
595
595
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
596
- if (!isCallable$4(store$1.inspectSource)) {
596
+ if (!isCallable$8(store$1.inspectSource)) {
597
597
  store$1.inspectSource = function (it) {
598
598
  return functionToString(it);
599
599
  };
@@ -601,36 +601,36 @@ if (!isCallable$4(store$1.inspectSource)) {
601
601
 
602
602
  var inspectSource$1 = store$1.inspectSource;
603
603
 
604
- var global$3 = global$a;
605
- var isCallable$3 = isCallable$a;
604
+ var global$4 = global$b;
605
+ var isCallable$7 = isCallable$e;
606
606
 
607
- var WeakMap$1 = global$3.WeakMap;
607
+ var WeakMap$1 = global$4.WeakMap;
608
608
 
609
- var weakMapBasicDetection = isCallable$3(WeakMap$1) && /native code/.test(String(WeakMap$1));
609
+ var weakMapBasicDetection = isCallable$7(WeakMap$1) && /native code/.test(String(WeakMap$1));
610
610
 
611
611
  var shared$1 = shared$3.exports;
612
612
  var uid = uid$2;
613
613
 
614
614
  var keys = shared$1('keys');
615
615
 
616
- var sharedKey$1 = function (key) {
616
+ var sharedKey$3 = function (key) {
617
617
  return keys[key] || (keys[key] = uid(key));
618
618
  };
619
619
 
620
- var hiddenKeys$3 = {};
620
+ var hiddenKeys$4 = {};
621
621
 
622
622
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
623
- var global$2 = global$a;
624
- var isObject = isObject$5;
625
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$2;
626
- var hasOwn$3 = hasOwnProperty_1;
623
+ var global$3 = global$b;
624
+ var isObject$1 = isObject$6;
625
+ var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
626
+ var hasOwn$5 = hasOwnProperty_1;
627
627
  var shared = sharedStore;
628
- var sharedKey = sharedKey$1;
629
- var hiddenKeys$2 = hiddenKeys$3;
628
+ var sharedKey$2 = sharedKey$3;
629
+ var hiddenKeys$3 = hiddenKeys$4;
630
630
 
631
631
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
632
- var TypeError$1 = global$2.TypeError;
633
- var WeakMap = global$2.WeakMap;
632
+ var TypeError$1 = global$3.TypeError;
633
+ var WeakMap = global$3.WeakMap;
634
634
  var set, get, has;
635
635
 
636
636
  var enforce = function (it) {
@@ -640,7 +640,7 @@ var enforce = function (it) {
640
640
  var getterFor = function (TYPE) {
641
641
  return function (it) {
642
642
  var state;
643
- if (!isObject(it) || (state = get(it)).type !== TYPE) {
643
+ if (!isObject$1(it) || (state = get(it)).type !== TYPE) {
644
644
  throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
645
645
  } return state;
646
646
  };
@@ -666,19 +666,19 @@ if (NATIVE_WEAK_MAP || shared.state) {
666
666
  return store.has(it);
667
667
  };
668
668
  } else {
669
- var STATE = sharedKey('state');
670
- hiddenKeys$2[STATE] = true;
669
+ var STATE = sharedKey$2('state');
670
+ hiddenKeys$3[STATE] = true;
671
671
  set = function (it, metadata) {
672
- if (hasOwn$3(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
672
+ if (hasOwn$5(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
673
673
  metadata.facade = it;
674
- createNonEnumerableProperty$1(it, STATE, metadata);
674
+ createNonEnumerableProperty$3(it, STATE, metadata);
675
675
  return metadata;
676
676
  };
677
677
  get = function (it) {
678
- return hasOwn$3(it, STATE) ? it[STATE] : {};
678
+ return hasOwn$5(it, STATE) ? it[STATE] : {};
679
679
  };
680
680
  has = function (it) {
681
- return hasOwn$3(it, STATE);
681
+ return hasOwn$5(it, STATE);
682
682
  };
683
683
  }
684
684
 
@@ -690,21 +690,21 @@ var internalState = {
690
690
  getterFor: getterFor
691
691
  };
692
692
 
693
- var fails$2 = fails$9;
694
- var isCallable$2 = isCallable$a;
695
- var hasOwn$2 = hasOwnProperty_1;
696
- var DESCRIPTORS$1 = descriptors;
697
- var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
693
+ var fails$4 = fails$b;
694
+ var isCallable$6 = isCallable$e;
695
+ var hasOwn$4 = hasOwnProperty_1;
696
+ var DESCRIPTORS$3 = descriptors;
697
+ var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
698
698
  var inspectSource = inspectSource$1;
699
- var InternalStateModule = internalState;
699
+ var InternalStateModule$1 = internalState;
700
700
 
701
- var enforceInternalState = InternalStateModule.enforce;
702
- var getInternalState = InternalStateModule.get;
701
+ var enforceInternalState = InternalStateModule$1.enforce;
702
+ var getInternalState$1 = InternalStateModule$1.get;
703
703
  // eslint-disable-next-line es/no-object-defineproperty -- safe
704
- var defineProperty$1 = Object.defineProperty;
704
+ var defineProperty$4 = Object.defineProperty;
705
705
 
706
- var CONFIGURABLE_LENGTH = DESCRIPTORS$1 && !fails$2(function () {
707
- return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
706
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$4(function () {
707
+ return defineProperty$4(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
708
708
  });
709
709
 
710
710
  var TEMPLATE = String(String).split('String');
@@ -715,21 +715,21 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
715
715
  }
716
716
  if (options && options.getter) name = 'get ' + name;
717
717
  if (options && options.setter) name = 'set ' + name;
718
- if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
719
- if (DESCRIPTORS$1) defineProperty$1(value, 'name', { value: name, configurable: true });
718
+ if (!hasOwn$4(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
719
+ if (DESCRIPTORS$3) defineProperty$4(value, 'name', { value: name, configurable: true });
720
720
  else value.name = name;
721
721
  }
722
- if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {
723
- defineProperty$1(value, 'length', { value: options.arity });
722
+ if (CONFIGURABLE_LENGTH && options && hasOwn$4(options, 'arity') && value.length !== options.arity) {
723
+ defineProperty$4(value, 'length', { value: options.arity });
724
724
  }
725
725
  try {
726
- if (options && hasOwn$2(options, 'constructor') && options.constructor) {
727
- if (DESCRIPTORS$1) defineProperty$1(value, 'prototype', { writable: false });
726
+ if (options && hasOwn$4(options, 'constructor') && options.constructor) {
727
+ if (DESCRIPTORS$3) defineProperty$4(value, 'prototype', { writable: false });
728
728
  // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
729
729
  } else if (value.prototype) value.prototype = undefined;
730
730
  } catch (error) { /* empty */ }
731
731
  var state = enforceInternalState(value);
732
- if (!hasOwn$2(state, 'source')) {
732
+ if (!hasOwn$4(state, 'source')) {
733
733
  state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
734
734
  } return value;
735
735
  };
@@ -737,19 +737,19 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
737
737
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
738
738
  // eslint-disable-next-line no-extend-native -- required
739
739
  Function.prototype.toString = makeBuiltIn$1(function toString() {
740
- return isCallable$2(this) && getInternalState(this).source || inspectSource(this);
740
+ return isCallable$6(this) && getInternalState$1(this).source || inspectSource(this);
741
741
  }, 'toString');
742
742
 
743
- var isCallable$1 = isCallable$a;
744
- var definePropertyModule$1 = objectDefineProperty;
743
+ var isCallable$5 = isCallable$e;
744
+ var definePropertyModule$2 = objectDefineProperty;
745
745
  var makeBuiltIn = makeBuiltIn$2.exports;
746
746
  var defineGlobalProperty$1 = defineGlobalProperty$3;
747
747
 
748
- var defineBuiltIn$1 = function (O, key, value, options) {
748
+ var defineBuiltIn$3 = function (O, key, value, options) {
749
749
  if (!options) options = {};
750
750
  var simple = options.enumerable;
751
751
  var name = options.name !== undefined ? options.name : key;
752
- if (isCallable$1(value)) makeBuiltIn(value, name, options);
752
+ if (isCallable$5(value)) makeBuiltIn(value, name, options);
753
753
  if (options.global) {
754
754
  if (simple) O[key] = value;
755
755
  else defineGlobalProperty$1(key, value);
@@ -759,7 +759,7 @@ var defineBuiltIn$1 = function (O, key, value, options) {
759
759
  else if (O[key]) simple = true;
760
760
  } catch (error) { /* empty */ }
761
761
  if (simple) O[key] = value;
762
- else definePropertyModule$1.f(O, key, {
762
+ else definePropertyModule$2.f(O, key, {
763
763
  value: value,
764
764
  enumerable: false,
765
765
  configurable: !options.nonConfigurable,
@@ -822,14 +822,14 @@ var lengthOfArrayLike$1 = function (obj) {
822
822
  return toLength(obj.length);
823
823
  };
824
824
 
825
- var toIndexedObject$1 = toIndexedObject$3;
825
+ var toIndexedObject$3 = toIndexedObject$5;
826
826
  var toAbsoluteIndex = toAbsoluteIndex$1;
827
827
  var lengthOfArrayLike = lengthOfArrayLike$1;
828
828
 
829
829
  // `Array.prototype.{ indexOf, includes }` methods implementation
830
830
  var createMethod = function (IS_INCLUDES) {
831
831
  return function ($this, el, fromIndex) {
832
- var O = toIndexedObject$1($this);
832
+ var O = toIndexedObject$3($this);
833
833
  var length = lengthOfArrayLike(O);
834
834
  var index = toAbsoluteIndex(fromIndex, length);
835
835
  var value;
@@ -855,29 +855,29 @@ var arrayIncludes = {
855
855
  indexOf: createMethod(false)
856
856
  };
857
857
 
858
- var uncurryThis$2 = functionUncurryThis;
859
- var hasOwn$1 = hasOwnProperty_1;
860
- var toIndexedObject = toIndexedObject$3;
858
+ var uncurryThis$3 = functionUncurryThis;
859
+ var hasOwn$3 = hasOwnProperty_1;
860
+ var toIndexedObject$2 = toIndexedObject$5;
861
861
  var indexOf = arrayIncludes.indexOf;
862
- var hiddenKeys$1 = hiddenKeys$3;
862
+ var hiddenKeys$2 = hiddenKeys$4;
863
863
 
864
- var push = uncurryThis$2([].push);
864
+ var push = uncurryThis$3([].push);
865
865
 
866
866
  var objectKeysInternal = function (object, names) {
867
- var O = toIndexedObject(object);
867
+ var O = toIndexedObject$2(object);
868
868
  var i = 0;
869
869
  var result = [];
870
870
  var key;
871
- for (key in O) !hasOwn$1(hiddenKeys$1, key) && hasOwn$1(O, key) && push(result, key);
871
+ for (key in O) !hasOwn$3(hiddenKeys$2, key) && hasOwn$3(O, key) && push(result, key);
872
872
  // Don't enum bug & hidden keys
873
- while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
873
+ while (names.length > i) if (hasOwn$3(O, key = names[i++])) {
874
874
  ~indexOf(result, key) || push(result, key);
875
875
  }
876
876
  return result;
877
877
  };
878
878
 
879
879
  // IE8- don't enum bug keys
880
- var enumBugKeys$2 = [
880
+ var enumBugKeys$3 = [
881
881
  'constructor',
882
882
  'hasOwnProperty',
883
883
  'isPrototypeOf',
@@ -888,15 +888,15 @@ var enumBugKeys$2 = [
888
888
  ];
889
889
 
890
890
  var internalObjectKeys$1 = objectKeysInternal;
891
- var enumBugKeys$1 = enumBugKeys$2;
891
+ var enumBugKeys$2 = enumBugKeys$3;
892
892
 
893
- var hiddenKeys = enumBugKeys$1.concat('length', 'prototype');
893
+ var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
894
894
 
895
895
  // `Object.getOwnPropertyNames` method
896
896
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
897
897
  // eslint-disable-next-line es/no-object-getownpropertynames -- safe
898
898
  objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
899
- return internalObjectKeys$1(O, hiddenKeys);
899
+ return internalObjectKeys$1(O, hiddenKeys$1);
900
900
  };
901
901
 
902
902
  var objectGetOwnPropertySymbols = {};
@@ -904,40 +904,40 @@ var objectGetOwnPropertySymbols = {};
904
904
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
905
905
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
906
906
 
907
- var getBuiltIn = getBuiltIn$3;
908
- var uncurryThis$1 = functionUncurryThis;
907
+ var getBuiltIn$1 = getBuiltIn$4;
908
+ var uncurryThis$2 = functionUncurryThis;
909
909
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
910
910
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
911
- var anObject = anObject$2;
911
+ var anObject$3 = anObject$5;
912
912
 
913
- var concat$1 = uncurryThis$1([].concat);
913
+ var concat$1 = uncurryThis$2([].concat);
914
914
 
915
915
  // all object keys, includes non-enumerable and symbols
916
- var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
917
- var keys = getOwnPropertyNamesModule.f(anObject(it));
916
+ var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
917
+ var keys = getOwnPropertyNamesModule.f(anObject$3(it));
918
918
  var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
919
919
  return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
920
920
  };
921
921
 
922
- var hasOwn = hasOwnProperty_1;
922
+ var hasOwn$2 = hasOwnProperty_1;
923
923
  var ownKeys = ownKeys$1;
924
924
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
925
- var definePropertyModule = objectDefineProperty;
925
+ var definePropertyModule$1 = objectDefineProperty;
926
926
 
927
927
  var copyConstructorProperties$1 = function (target, source, exceptions) {
928
928
  var keys = ownKeys(source);
929
- var defineProperty = definePropertyModule.f;
929
+ var defineProperty = definePropertyModule$1.f;
930
930
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
931
931
  for (var i = 0; i < keys.length; i++) {
932
932
  var key = keys[i];
933
- if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
933
+ if (!hasOwn$2(target, key) && !(exceptions && hasOwn$2(exceptions, key))) {
934
934
  defineProperty(target, key, getOwnPropertyDescriptor(source, key));
935
935
  }
936
936
  }
937
937
  };
938
938
 
939
- var fails$1 = fails$9;
940
- var isCallable = isCallable$a;
939
+ var fails$3 = fails$b;
940
+ var isCallable$4 = isCallable$e;
941
941
 
942
942
  var replacement = /#|\.prototype\./;
943
943
 
@@ -945,7 +945,7 @@ var isForced$1 = function (feature, detection) {
945
945
  var value = data[normalize(feature)];
946
946
  return value == POLYFILL ? true
947
947
  : value == NATIVE ? false
948
- : isCallable(detection) ? fails$1(detection)
948
+ : isCallable$4(detection) ? fails$3(detection)
949
949
  : !!detection;
950
950
  };
951
951
 
@@ -959,10 +959,10 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
959
959
 
960
960
  var isForced_1 = isForced$1;
961
961
 
962
- var global$1 = global$a;
962
+ var global$2 = global$b;
963
963
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
964
- var createNonEnumerableProperty = createNonEnumerableProperty$2;
965
- var defineBuiltIn = defineBuiltIn$1;
964
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
965
+ var defineBuiltIn$2 = defineBuiltIn$3;
966
966
  var defineGlobalProperty = defineGlobalProperty$3;
967
967
  var copyConstructorProperties = copyConstructorProperties$1;
968
968
  var isForced = isForced_1;
@@ -988,11 +988,11 @@ var _export = function (options, source) {
988
988
  var STATIC = options.stat;
989
989
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
990
990
  if (GLOBAL) {
991
- target = global$1;
991
+ target = global$2;
992
992
  } else if (STATIC) {
993
- target = global$1[TARGET] || defineGlobalProperty(TARGET, {});
993
+ target = global$2[TARGET] || defineGlobalProperty(TARGET, {});
994
994
  } else {
995
- target = (global$1[TARGET] || {}).prototype;
995
+ target = (global$2[TARGET] || {}).prototype;
996
996
  }
997
997
  if (target) for (key in source) {
998
998
  sourceProperty = source[key];
@@ -1008,46 +1008,46 @@ var _export = function (options, source) {
1008
1008
  }
1009
1009
  // add a flag to not completely full polyfills
1010
1010
  if (options.sham || (targetProperty && targetProperty.sham)) {
1011
- createNonEnumerableProperty(sourceProperty, 'sham', true);
1011
+ createNonEnumerableProperty$2(sourceProperty, 'sham', true);
1012
1012
  }
1013
- defineBuiltIn(target, key, sourceProperty, options);
1013
+ defineBuiltIn$2(target, key, sourceProperty, options);
1014
1014
  }
1015
1015
  };
1016
1016
 
1017
1017
  var internalObjectKeys = objectKeysInternal;
1018
- var enumBugKeys = enumBugKeys$2;
1018
+ var enumBugKeys$1 = enumBugKeys$3;
1019
1019
 
1020
1020
  // `Object.keys` method
1021
1021
  // https://tc39.es/ecma262/#sec-object.keys
1022
1022
  // eslint-disable-next-line es/no-object-keys -- safe
1023
- var objectKeys$1 = Object.keys || function keys(O) {
1024
- return internalObjectKeys(O, enumBugKeys);
1023
+ var objectKeys$2 = Object.keys || function keys(O) {
1024
+ return internalObjectKeys(O, enumBugKeys$1);
1025
1025
  };
1026
1026
 
1027
- var DESCRIPTORS = descriptors;
1028
- var uncurryThis = functionUncurryThis;
1029
- var call = functionCall;
1030
- var fails = fails$9;
1031
- var objectKeys = objectKeys$1;
1027
+ var DESCRIPTORS$2 = descriptors;
1028
+ var uncurryThis$1 = functionUncurryThis;
1029
+ var call$1 = functionCall;
1030
+ var fails$2 = fails$b;
1031
+ var objectKeys$1 = objectKeys$2;
1032
1032
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1033
1033
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
1034
- var toObject = toObject$2;
1034
+ var toObject$1 = toObject$3;
1035
1035
  var IndexedObject = indexedObject;
1036
1036
 
1037
1037
  // eslint-disable-next-line es/no-object-assign -- safe
1038
1038
  var $assign = Object.assign;
1039
1039
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1040
- var defineProperty = Object.defineProperty;
1041
- var concat = uncurryThis([].concat);
1040
+ var defineProperty$3 = Object.defineProperty;
1041
+ var concat = uncurryThis$1([].concat);
1042
1042
 
1043
1043
  // `Object.assign` method
1044
1044
  // https://tc39.es/ecma262/#sec-object.assign
1045
- var objectAssign = !$assign || fails(function () {
1045
+ var objectAssign = !$assign || fails$2(function () {
1046
1046
  // should have correct order of operations (Edge bug)
1047
- if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
1047
+ if (DESCRIPTORS$2 && $assign({ b: 1 }, $assign(defineProperty$3({}, 'a', {
1048
1048
  enumerable: true,
1049
1049
  get: function () {
1050
- defineProperty(this, 'b', {
1050
+ defineProperty$3(this, 'b', {
1051
1051
  value: 3,
1052
1052
  enumerable: false
1053
1053
  });
@@ -1061,33 +1061,33 @@ var objectAssign = !$assign || fails(function () {
1061
1061
  var alphabet = 'abcdefghijklmnopqrst';
1062
1062
  A[symbol] = 7;
1063
1063
  alphabet.split('').forEach(function (chr) { B[chr] = chr; });
1064
- return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;
1064
+ return $assign({}, A)[symbol] != 7 || objectKeys$1($assign({}, B)).join('') != alphabet;
1065
1065
  }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
1066
- var T = toObject(target);
1066
+ var T = toObject$1(target);
1067
1067
  var argumentsLength = arguments.length;
1068
1068
  var index = 1;
1069
1069
  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
1070
1070
  var propertyIsEnumerable = propertyIsEnumerableModule.f;
1071
1071
  while (argumentsLength > index) {
1072
1072
  var S = IndexedObject(arguments[index++]);
1073
- var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
1073
+ var keys = getOwnPropertySymbols ? concat(objectKeys$1(S), getOwnPropertySymbols(S)) : objectKeys$1(S);
1074
1074
  var length = keys.length;
1075
1075
  var j = 0;
1076
1076
  var key;
1077
1077
  while (length > j) {
1078
1078
  key = keys[j++];
1079
- if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
1079
+ if (!DESCRIPTORS$2 || call$1(propertyIsEnumerable, S, key)) T[key] = S[key];
1080
1080
  }
1081
1081
  } return T;
1082
1082
  } : $assign;
1083
1083
 
1084
- var $ = _export;
1084
+ var $$1 = _export;
1085
1085
  var assign = objectAssign;
1086
1086
 
1087
1087
  // `Object.assign` method
1088
1088
  // https://tc39.es/ecma262/#sec-object.assign
1089
1089
  // eslint-disable-next-line es/no-object-assign -- required for testing
1090
- $({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1090
+ $$1({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1091
1091
  assign: assign
1092
1092
  });
1093
1093
 
@@ -1141,6 +1141,542 @@ const useMessageTransportWebViewBridge = (core, webViewRef) => {
1141
1141
  };
1142
1142
  };
1143
1143
 
1144
+ var objectDefineProperties = {};
1145
+
1146
+ var DESCRIPTORS$1 = descriptors;
1147
+ var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1148
+ var definePropertyModule = objectDefineProperty;
1149
+ var anObject$2 = anObject$5;
1150
+ var toIndexedObject$1 = toIndexedObject$5;
1151
+ var objectKeys = objectKeys$2;
1152
+
1153
+ // `Object.defineProperties` method
1154
+ // https://tc39.es/ecma262/#sec-object.defineproperties
1155
+ // eslint-disable-next-line es/no-object-defineproperties -- safe
1156
+ objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1157
+ anObject$2(O);
1158
+ var props = toIndexedObject$1(Properties);
1159
+ var keys = objectKeys(Properties);
1160
+ var length = keys.length;
1161
+ var index = 0;
1162
+ var key;
1163
+ while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
1164
+ return O;
1165
+ };
1166
+
1167
+ var getBuiltIn = getBuiltIn$4;
1168
+
1169
+ var html$1 = getBuiltIn('document', 'documentElement');
1170
+
1171
+ /* global ActiveXObject -- old IE, WSH */
1172
+
1173
+ var anObject$1 = anObject$5;
1174
+ var definePropertiesModule = objectDefineProperties;
1175
+ var enumBugKeys = enumBugKeys$3;
1176
+ var hiddenKeys = hiddenKeys$4;
1177
+ var html = html$1;
1178
+ var documentCreateElement$1 = documentCreateElement$2;
1179
+ var sharedKey$1 = sharedKey$3;
1180
+
1181
+ var GT = '>';
1182
+ var LT = '<';
1183
+ var PROTOTYPE = 'prototype';
1184
+ var SCRIPT = 'script';
1185
+ var IE_PROTO$1 = sharedKey$1('IE_PROTO');
1186
+
1187
+ var EmptyConstructor = function () { /* empty */ };
1188
+
1189
+ var scriptTag = function (content) {
1190
+ return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
1191
+ };
1192
+
1193
+ // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
1194
+ var NullProtoObjectViaActiveX = function (activeXDocument) {
1195
+ activeXDocument.write(scriptTag(''));
1196
+ activeXDocument.close();
1197
+ var temp = activeXDocument.parentWindow.Object;
1198
+ activeXDocument = null; // avoid memory leak
1199
+ return temp;
1200
+ };
1201
+
1202
+ // Create object with fake `null` prototype: use iframe Object with cleared prototype
1203
+ var NullProtoObjectViaIFrame = function () {
1204
+ // Thrash, waste and sodomy: IE GC bug
1205
+ var iframe = documentCreateElement$1('iframe');
1206
+ var JS = 'java' + SCRIPT + ':';
1207
+ var iframeDocument;
1208
+ iframe.style.display = 'none';
1209
+ html.appendChild(iframe);
1210
+ // https://github.com/zloirock/core-js/issues/475
1211
+ iframe.src = String(JS);
1212
+ iframeDocument = iframe.contentWindow.document;
1213
+ iframeDocument.open();
1214
+ iframeDocument.write(scriptTag('document.F=Object'));
1215
+ iframeDocument.close();
1216
+ return iframeDocument.F;
1217
+ };
1218
+
1219
+ // Check for document.domain and active x support
1220
+ // No need to use active x approach when document.domain is not set
1221
+ // see https://github.com/es-shims/es5-shim/issues/150
1222
+ // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
1223
+ // avoid IE GC bug
1224
+ var activeXDocument;
1225
+ var NullProtoObject = function () {
1226
+ try {
1227
+ activeXDocument = new ActiveXObject('htmlfile');
1228
+ } catch (error) { /* ignore */ }
1229
+ NullProtoObject = typeof document != 'undefined'
1230
+ ? document.domain && activeXDocument
1231
+ ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1232
+ : NullProtoObjectViaIFrame()
1233
+ : NullProtoObjectViaActiveX(activeXDocument); // WSH
1234
+ var length = enumBugKeys.length;
1235
+ while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
1236
+ return NullProtoObject();
1237
+ };
1238
+
1239
+ hiddenKeys[IE_PROTO$1] = true;
1240
+
1241
+ // `Object.create` method
1242
+ // https://tc39.es/ecma262/#sec-object.create
1243
+ // eslint-disable-next-line es/no-object-create -- safe
1244
+ var objectCreate = Object.create || function create(O, Properties) {
1245
+ var result;
1246
+ if (O !== null) {
1247
+ EmptyConstructor[PROTOTYPE] = anObject$1(O);
1248
+ result = new EmptyConstructor();
1249
+ EmptyConstructor[PROTOTYPE] = null;
1250
+ // add "__proto__" for Object.getPrototypeOf polyfill
1251
+ result[IE_PROTO$1] = O;
1252
+ } else result = NullProtoObject();
1253
+ return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
1254
+ };
1255
+
1256
+ var wellKnownSymbol$4 = wellKnownSymbol$6;
1257
+ var create$1 = objectCreate;
1258
+ var defineProperty$2 = objectDefineProperty.f;
1259
+
1260
+ var UNSCOPABLES = wellKnownSymbol$4('unscopables');
1261
+ var ArrayPrototype = Array.prototype;
1262
+
1263
+ // Array.prototype[@@unscopables]
1264
+ // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1265
+ if (ArrayPrototype[UNSCOPABLES] == undefined) {
1266
+ defineProperty$2(ArrayPrototype, UNSCOPABLES, {
1267
+ configurable: true,
1268
+ value: create$1(null)
1269
+ });
1270
+ }
1271
+
1272
+ // add a key to Array.prototype[@@unscopables]
1273
+ var addToUnscopables$1 = function (key) {
1274
+ ArrayPrototype[UNSCOPABLES][key] = true;
1275
+ };
1276
+
1277
+ var iterators = {};
1278
+
1279
+ var fails$1 = fails$b;
1280
+
1281
+ var correctPrototypeGetter = !fails$1(function () {
1282
+ function F() { /* empty */ }
1283
+ F.prototype.constructor = null;
1284
+ // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
1285
+ return Object.getPrototypeOf(new F()) !== F.prototype;
1286
+ });
1287
+
1288
+ var hasOwn$1 = hasOwnProperty_1;
1289
+ var isCallable$3 = isCallable$e;
1290
+ var toObject = toObject$3;
1291
+ var sharedKey = sharedKey$3;
1292
+ var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1293
+
1294
+ var IE_PROTO = sharedKey('IE_PROTO');
1295
+ var $Object = Object;
1296
+ var ObjectPrototype = $Object.prototype;
1297
+
1298
+ // `Object.getPrototypeOf` method
1299
+ // https://tc39.es/ecma262/#sec-object.getprototypeof
1300
+ // eslint-disable-next-line es/no-object-getprototypeof -- safe
1301
+ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
1302
+ var object = toObject(O);
1303
+ if (hasOwn$1(object, IE_PROTO)) return object[IE_PROTO];
1304
+ var constructor = object.constructor;
1305
+ if (isCallable$3(constructor) && object instanceof constructor) {
1306
+ return constructor.prototype;
1307
+ } return object instanceof $Object ? ObjectPrototype : null;
1308
+ };
1309
+
1310
+ var fails = fails$b;
1311
+ var isCallable$2 = isCallable$e;
1312
+ var isObject = isObject$6;
1313
+ var getPrototypeOf$1 = objectGetPrototypeOf;
1314
+ var defineBuiltIn$1 = defineBuiltIn$3;
1315
+ var wellKnownSymbol$3 = wellKnownSymbol$6;
1316
+
1317
+ var ITERATOR$2 = wellKnownSymbol$3('iterator');
1318
+ var BUGGY_SAFARI_ITERATORS$1 = false;
1319
+
1320
+ // `%IteratorPrototype%` object
1321
+ // https://tc39.es/ecma262/#sec-%iteratorprototype%-object
1322
+ var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
1323
+
1324
+ /* eslint-disable es/no-array-prototype-keys -- safe */
1325
+ if ([].keys) {
1326
+ arrayIterator = [].keys();
1327
+ // Safari 8 has buggy iterators w/o `next`
1328
+ if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
1329
+ else {
1330
+ PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator));
1331
+ if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype;
1332
+ }
1333
+ }
1334
+
1335
+ var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails(function () {
1336
+ var test = {};
1337
+ // FF44- legacy iterators case
1338
+ return IteratorPrototype$2[ITERATOR$2].call(test) !== test;
1339
+ });
1340
+
1341
+ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
1342
+
1343
+ // `%IteratorPrototype%[@@iterator]()` method
1344
+ // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
1345
+ if (!isCallable$2(IteratorPrototype$2[ITERATOR$2])) {
1346
+ defineBuiltIn$1(IteratorPrototype$2, ITERATOR$2, function () {
1347
+ return this;
1348
+ });
1349
+ }
1350
+
1351
+ var iteratorsCore = {
1352
+ IteratorPrototype: IteratorPrototype$2,
1353
+ BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
1354
+ };
1355
+
1356
+ var defineProperty$1 = objectDefineProperty.f;
1357
+ var hasOwn = hasOwnProperty_1;
1358
+ var wellKnownSymbol$2 = wellKnownSymbol$6;
1359
+
1360
+ var TO_STRING_TAG$1 = wellKnownSymbol$2('toStringTag');
1361
+
1362
+ var setToStringTag$2 = function (target, TAG, STATIC) {
1363
+ if (target && !STATIC) target = target.prototype;
1364
+ if (target && !hasOwn(target, TO_STRING_TAG$1)) {
1365
+ defineProperty$1(target, TO_STRING_TAG$1, { configurable: true, value: TAG });
1366
+ }
1367
+ };
1368
+
1369
+ var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
1370
+ var create = objectCreate;
1371
+ var createPropertyDescriptor = createPropertyDescriptor$3;
1372
+ var setToStringTag$1 = setToStringTag$2;
1373
+ var Iterators$2 = iterators;
1374
+
1375
+ var returnThis$1 = function () { return this; };
1376
+
1377
+ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
1378
+ var TO_STRING_TAG = NAME + ' Iterator';
1379
+ IteratorConstructor.prototype = create(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
1380
+ setToStringTag$1(IteratorConstructor, TO_STRING_TAG, false);
1381
+ Iterators$2[TO_STRING_TAG] = returnThis$1;
1382
+ return IteratorConstructor;
1383
+ };
1384
+
1385
+ var isCallable$1 = isCallable$e;
1386
+
1387
+ var $String = String;
1388
+ var $TypeError = TypeError;
1389
+
1390
+ var aPossiblePrototype$1 = function (argument) {
1391
+ if (typeof argument == 'object' || isCallable$1(argument)) return argument;
1392
+ throw $TypeError("Can't set " + $String(argument) + ' as a prototype');
1393
+ };
1394
+
1395
+ /* eslint-disable no-proto -- safe */
1396
+
1397
+ var uncurryThis = functionUncurryThis;
1398
+ var anObject = anObject$5;
1399
+ var aPossiblePrototype = aPossiblePrototype$1;
1400
+
1401
+ // `Object.setPrototypeOf` method
1402
+ // https://tc39.es/ecma262/#sec-object.setprototypeof
1403
+ // Works with __proto__ only. Old v8 can't work with null proto objects.
1404
+ // eslint-disable-next-line es/no-object-setprototypeof -- safe
1405
+ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
1406
+ var CORRECT_SETTER = false;
1407
+ var test = {};
1408
+ var setter;
1409
+ try {
1410
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1411
+ setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
1412
+ setter(test, []);
1413
+ CORRECT_SETTER = test instanceof Array;
1414
+ } catch (error) { /* empty */ }
1415
+ return function setPrototypeOf(O, proto) {
1416
+ anObject(O);
1417
+ aPossiblePrototype(proto);
1418
+ if (CORRECT_SETTER) setter(O, proto);
1419
+ else O.__proto__ = proto;
1420
+ return O;
1421
+ };
1422
+ }() : undefined);
1423
+
1424
+ var $ = _export;
1425
+ var call = functionCall;
1426
+ var FunctionName = functionName;
1427
+ var isCallable = isCallable$e;
1428
+ var createIteratorConstructor = iteratorCreateConstructor;
1429
+ var getPrototypeOf = objectGetPrototypeOf;
1430
+ var setPrototypeOf = objectSetPrototypeOf;
1431
+ var setToStringTag = setToStringTag$2;
1432
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$4;
1433
+ var defineBuiltIn = defineBuiltIn$3;
1434
+ var wellKnownSymbol$1 = wellKnownSymbol$6;
1435
+ var Iterators$1 = iterators;
1436
+ var IteratorsCore = iteratorsCore;
1437
+
1438
+ var PROPER_FUNCTION_NAME = FunctionName.PROPER;
1439
+ var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
1440
+ var IteratorPrototype = IteratorsCore.IteratorPrototype;
1441
+ var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
1442
+ var ITERATOR$1 = wellKnownSymbol$1('iterator');
1443
+ var KEYS = 'keys';
1444
+ var VALUES = 'values';
1445
+ var ENTRIES = 'entries';
1446
+
1447
+ var returnThis = function () { return this; };
1448
+
1449
+ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
1450
+ createIteratorConstructor(IteratorConstructor, NAME, next);
1451
+
1452
+ var getIterationMethod = function (KIND) {
1453
+ if (KIND === DEFAULT && defaultIterator) return defaultIterator;
1454
+ if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];
1455
+ switch (KIND) {
1456
+ case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
1457
+ case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
1458
+ case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
1459
+ } return function () { return new IteratorConstructor(this); };
1460
+ };
1461
+
1462
+ var TO_STRING_TAG = NAME + ' Iterator';
1463
+ var INCORRECT_VALUES_NAME = false;
1464
+ var IterablePrototype = Iterable.prototype;
1465
+ var nativeIterator = IterablePrototype[ITERATOR$1]
1466
+ || IterablePrototype['@@iterator']
1467
+ || DEFAULT && IterablePrototype[DEFAULT];
1468
+ var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
1469
+ var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
1470
+ var CurrentIteratorPrototype, methods, KEY;
1471
+
1472
+ // fix native
1473
+ if (anyNativeIterator) {
1474
+ CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
1475
+ if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
1476
+ if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
1477
+ if (setPrototypeOf) {
1478
+ setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
1479
+ } else if (!isCallable(CurrentIteratorPrototype[ITERATOR$1])) {
1480
+ defineBuiltIn(CurrentIteratorPrototype, ITERATOR$1, returnThis);
1481
+ }
1482
+ }
1483
+ // Set @@toStringTag to native iterators
1484
+ setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true);
1485
+ }
1486
+ }
1487
+
1488
+ // fix Array.prototype.{ values, @@iterator }.name in V8 / FF
1489
+ if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
1490
+ if (CONFIGURABLE_FUNCTION_NAME) {
1491
+ createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
1492
+ } else {
1493
+ INCORRECT_VALUES_NAME = true;
1494
+ defaultIterator = function values() { return call(nativeIterator, this); };
1495
+ }
1496
+ }
1497
+
1498
+ // export additional methods
1499
+ if (DEFAULT) {
1500
+ methods = {
1501
+ values: getIterationMethod(VALUES),
1502
+ keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
1503
+ entries: getIterationMethod(ENTRIES)
1504
+ };
1505
+ if (FORCED) for (KEY in methods) {
1506
+ if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1507
+ defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
1508
+ }
1509
+ } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1510
+ }
1511
+
1512
+ // define iterator
1513
+ if (IterablePrototype[ITERATOR$1] !== defaultIterator) {
1514
+ defineBuiltIn(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT });
1515
+ }
1516
+ Iterators$1[NAME] = defaultIterator;
1517
+
1518
+ return methods;
1519
+ };
1520
+
1521
+ // `CreateIterResultObject` abstract operation
1522
+ // https://tc39.es/ecma262/#sec-createiterresultobject
1523
+ var createIterResultObject$1 = function (value, done) {
1524
+ return { value: value, done: done };
1525
+ };
1526
+
1527
+ var toIndexedObject = toIndexedObject$5;
1528
+ var addToUnscopables = addToUnscopables$1;
1529
+ var Iterators = iterators;
1530
+ var InternalStateModule = internalState;
1531
+ var defineProperty = objectDefineProperty.f;
1532
+ var defineIterator = iteratorDefine;
1533
+ var createIterResultObject = createIterResultObject$1;
1534
+ var DESCRIPTORS = descriptors;
1535
+
1536
+ var ARRAY_ITERATOR = 'Array Iterator';
1537
+ var setInternalState = InternalStateModule.set;
1538
+ var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
1539
+
1540
+ // `Array.prototype.entries` method
1541
+ // https://tc39.es/ecma262/#sec-array.prototype.entries
1542
+ // `Array.prototype.keys` method
1543
+ // https://tc39.es/ecma262/#sec-array.prototype.keys
1544
+ // `Array.prototype.values` method
1545
+ // https://tc39.es/ecma262/#sec-array.prototype.values
1546
+ // `Array.prototype[@@iterator]` method
1547
+ // https://tc39.es/ecma262/#sec-array.prototype-@@iterator
1548
+ // `CreateArrayIterator` internal method
1549
+ // https://tc39.es/ecma262/#sec-createarrayiterator
1550
+ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
1551
+ setInternalState(this, {
1552
+ type: ARRAY_ITERATOR,
1553
+ target: toIndexedObject(iterated), // target
1554
+ index: 0, // next index
1555
+ kind: kind // kind
1556
+ });
1557
+ // `%ArrayIteratorPrototype%.next` method
1558
+ // https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
1559
+ }, function () {
1560
+ var state = getInternalState(this);
1561
+ var target = state.target;
1562
+ var kind = state.kind;
1563
+ var index = state.index++;
1564
+ if (!target || index >= target.length) {
1565
+ state.target = undefined;
1566
+ return createIterResultObject(undefined, true);
1567
+ }
1568
+ if (kind == 'keys') return createIterResultObject(index, false);
1569
+ if (kind == 'values') return createIterResultObject(target[index], false);
1570
+ return createIterResultObject([index, target[index]], false);
1571
+ }, 'values');
1572
+
1573
+ // argumentsList[@@iterator] is %ArrayProto_values%
1574
+ // https://tc39.es/ecma262/#sec-createunmappedargumentsobject
1575
+ // https://tc39.es/ecma262/#sec-createmappedargumentsobject
1576
+ var values = Iterators.Arguments = Iterators.Array;
1577
+
1578
+ // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1579
+ addToUnscopables('keys');
1580
+ addToUnscopables('values');
1581
+ addToUnscopables('entries');
1582
+
1583
+ // V8 ~ Chrome 45- bug
1584
+ if (DESCRIPTORS && values.name !== 'values') try {
1585
+ defineProperty(values, 'name', { value: 'values' });
1586
+ } catch (error) { /* empty */ }
1587
+
1588
+ // iterable DOM collections
1589
+ // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
1590
+ var domIterables = {
1591
+ CSSRuleList: 0,
1592
+ CSSStyleDeclaration: 0,
1593
+ CSSValueList: 0,
1594
+ ClientRectList: 0,
1595
+ DOMRectList: 0,
1596
+ DOMStringList: 0,
1597
+ DOMTokenList: 1,
1598
+ DataTransferItemList: 0,
1599
+ FileList: 0,
1600
+ HTMLAllCollection: 0,
1601
+ HTMLCollection: 0,
1602
+ HTMLFormElement: 0,
1603
+ HTMLSelectElement: 0,
1604
+ MediaList: 0,
1605
+ MimeTypeArray: 0,
1606
+ NamedNodeMap: 0,
1607
+ NodeList: 1,
1608
+ PaintRequestList: 0,
1609
+ Plugin: 0,
1610
+ PluginArray: 0,
1611
+ SVGLengthList: 0,
1612
+ SVGNumberList: 0,
1613
+ SVGPathSegList: 0,
1614
+ SVGPointList: 0,
1615
+ SVGStringList: 0,
1616
+ SVGTransformList: 0,
1617
+ SourceBufferList: 0,
1618
+ StyleSheetList: 0,
1619
+ TextTrackCueList: 0,
1620
+ TextTrackList: 0,
1621
+ TouchList: 0
1622
+ };
1623
+
1624
+ // in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
1625
+ var documentCreateElement = documentCreateElement$2;
1626
+
1627
+ var classList = documentCreateElement('span').classList;
1628
+ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;
1629
+
1630
+ var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
1631
+
1632
+ var global$1 = global$b;
1633
+ var DOMIterables = domIterables;
1634
+ var DOMTokenListPrototype = domTokenListPrototype;
1635
+ var ArrayIteratorMethods = es_array_iterator;
1636
+ var createNonEnumerableProperty = createNonEnumerableProperty$4;
1637
+ var wellKnownSymbol = wellKnownSymbol$6;
1638
+
1639
+ var ITERATOR = wellKnownSymbol('iterator');
1640
+ var TO_STRING_TAG = wellKnownSymbol('toStringTag');
1641
+ var ArrayValues = ArrayIteratorMethods.values;
1642
+
1643
+ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1644
+ if (CollectionPrototype) {
1645
+ // some Chrome versions have non-configurable methods on DOMTokenList
1646
+ if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
1647
+ createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
1648
+ } catch (error) {
1649
+ CollectionPrototype[ITERATOR] = ArrayValues;
1650
+ }
1651
+ if (!CollectionPrototype[TO_STRING_TAG]) {
1652
+ createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);
1653
+ }
1654
+ if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
1655
+ // some Chrome versions have non-configurable methods on DOMTokenList
1656
+ if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
1657
+ createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
1658
+ } catch (error) {
1659
+ CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
1660
+ }
1661
+ }
1662
+ }
1663
+ };
1664
+
1665
+ for (var COLLECTION_NAME in DOMIterables) {
1666
+ handlePrototype(global$1[COLLECTION_NAME] && global$1[COLLECTION_NAME].prototype, COLLECTION_NAME);
1667
+ }
1668
+
1669
+ handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
1670
+
1671
+ const useWebViewVisibility = core => {
1672
+ const webViewVisibilityRequestChannelRef = useRef(createRequestChannel(core.messageTransport));
1673
+ const [visible, setVisible] = useState(false);
1674
+ useEffect(() => webViewVisibilityRequestChannelRef.current.handle('setVisibility', setVisible), [setVisible]);
1675
+ return {
1676
+ visible
1677
+ };
1678
+ };
1679
+
1144
1680
  const styles = StyleSheet.create({
1145
1681
  container: {
1146
1682
  backgroundColor: 'transparent',
@@ -1174,10 +1710,13 @@ const WebView = ({
1174
1710
  webviewDebuggingEnabled: _webviewDebuggingEnabled = false
1175
1711
  }) => {
1176
1712
  const webViewRef = useRef(null);
1713
+ const {
1714
+ visible
1715
+ } = useWebViewVisibility(core);
1177
1716
  const {
1178
1717
  onMessageHandler
1179
1718
  } = useMessageTransportWebViewBridge(core, webViewRef);
1180
- const containerStyles = [styles['container'], styles.hide];
1719
+ const containerStyles = [styles['container'], visible ? styles.show : styles.hide];
1181
1720
  return /*#__PURE__*/jsx(WebView$1, {
1182
1721
  ref: webViewRef,
1183
1722
  source: {
@@ -1187,7 +1726,8 @@ const WebView = ({
1187
1726
  style: styles['webview'],
1188
1727
  onMessage: onMessageHandler,
1189
1728
  hideKeyboardAccessoryView: true,
1190
- webviewDebuggingEnabled: _webviewDebuggingEnabled
1729
+ webviewDebuggingEnabled: _webviewDebuggingEnabled,
1730
+ onError: () => core.initialization.error = new Error('Could not load Dynamic WebView')
1191
1731
  }, 'webview');
1192
1732
  };
1193
1733
  const createWebView = props => {