@hero-design/rn 8.54.0 → 8.55.1-rc2.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.
package/es/index.js CHANGED
@@ -12,341 +12,363 @@ import PagerView from 'react-native-pager-view';
12
12
  import { EventEmitter } from 'events';
13
13
  import { WebView } from 'react-native-webview';
14
14
 
15
- function ownKeys(object, enumerableOnly) {
16
- var keys = Object.keys(object);
17
- if (Object.getOwnPropertySymbols) {
18
- var symbols = Object.getOwnPropertySymbols(object);
19
- enumerableOnly && (symbols = symbols.filter(function (sym) {
20
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
21
- })), keys.push.apply(keys, symbols);
15
+ function _iterableToArrayLimit(r, l) {
16
+ var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
17
+ if (null != t) {
18
+ var e,
19
+ n,
20
+ i,
21
+ u,
22
+ a = [],
23
+ f = !0,
24
+ o = !1;
25
+ try {
26
+ if (i = (t = t.call(r)).next, 0 === l) {
27
+ if (Object(t) !== t) return;
28
+ f = !1;
29
+ } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
30
+ } catch (r) {
31
+ o = !0, n = r;
32
+ } finally {
33
+ try {
34
+ if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
35
+ } finally {
36
+ if (o) throw n;
37
+ }
38
+ }
39
+ return a;
22
40
  }
23
- return keys;
24
41
  }
25
- function _objectSpread2(target) {
26
- for (var i = 1; i < arguments.length; i++) {
27
- var source = null != arguments[i] ? arguments[i] : {};
28
- i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
29
- _defineProperty(target, key, source[key]);
30
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
31
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
42
+ function ownKeys(e, r) {
43
+ var t = Object.keys(e);
44
+ if (Object.getOwnPropertySymbols) {
45
+ var o = Object.getOwnPropertySymbols(e);
46
+ r && (o = o.filter(function (r) {
47
+ return Object.getOwnPropertyDescriptor(e, r).enumerable;
48
+ })), t.push.apply(t, o);
49
+ }
50
+ return t;
51
+ }
52
+ function _objectSpread2(e) {
53
+ for (var r = 1; r < arguments.length; r++) {
54
+ var t = null != arguments[r] ? arguments[r] : {};
55
+ r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
56
+ _defineProperty(e, r, t[r]);
57
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
58
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
32
59
  });
33
60
  }
34
- return target;
61
+ return e;
35
62
  }
36
63
  function _regeneratorRuntime() {
37
64
  _regeneratorRuntime = function () {
38
- return exports;
65
+ return e;
39
66
  };
40
- var exports = {},
41
- Op = Object.prototype,
42
- hasOwn = Op.hasOwnProperty,
43
- defineProperty = Object.defineProperty || function (obj, key, desc) {
44
- obj[key] = desc.value;
67
+ var t,
68
+ e = {},
69
+ r = Object.prototype,
70
+ n = r.hasOwnProperty,
71
+ o = Object.defineProperty || function (t, e, r) {
72
+ t[e] = r.value;
45
73
  },
46
- $Symbol = "function" == typeof Symbol ? Symbol : {},
47
- iteratorSymbol = $Symbol.iterator || "@@iterator",
48
- asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
49
- toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
50
- function define(obj, key, value) {
51
- return Object.defineProperty(obj, key, {
52
- value: value,
74
+ i = "function" == typeof Symbol ? Symbol : {},
75
+ a = i.iterator || "@@iterator",
76
+ c = i.asyncIterator || "@@asyncIterator",
77
+ u = i.toStringTag || "@@toStringTag";
78
+ function define(t, e, r) {
79
+ return Object.defineProperty(t, e, {
80
+ value: r,
53
81
  enumerable: !0,
54
82
  configurable: !0,
55
83
  writable: !0
56
- }), obj[key];
84
+ }), t[e];
57
85
  }
58
86
  try {
59
87
  define({}, "");
60
- } catch (err) {
61
- define = function (obj, key, value) {
62
- return obj[key] = value;
88
+ } catch (t) {
89
+ define = function (t, e, r) {
90
+ return t[e] = r;
63
91
  };
64
92
  }
65
- function wrap(innerFn, outerFn, self, tryLocsList) {
66
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
67
- generator = Object.create(protoGenerator.prototype),
68
- context = new Context(tryLocsList || []);
69
- return defineProperty(generator, "_invoke", {
70
- value: makeInvokeMethod(innerFn, self, context)
71
- }), generator;
93
+ function wrap(t, e, r, n) {
94
+ var i = e && e.prototype instanceof Generator ? e : Generator,
95
+ a = Object.create(i.prototype),
96
+ c = new Context(n || []);
97
+ return o(a, "_invoke", {
98
+ value: makeInvokeMethod(t, r, c)
99
+ }), a;
72
100
  }
73
- function tryCatch(fn, obj, arg) {
101
+ function tryCatch(t, e, r) {
74
102
  try {
75
103
  return {
76
104
  type: "normal",
77
- arg: fn.call(obj, arg)
105
+ arg: t.call(e, r)
78
106
  };
79
- } catch (err) {
107
+ } catch (t) {
80
108
  return {
81
109
  type: "throw",
82
- arg: err
110
+ arg: t
83
111
  };
84
112
  }
85
113
  }
86
- exports.wrap = wrap;
87
- var ContinueSentinel = {};
114
+ e.wrap = wrap;
115
+ var h = "suspendedStart",
116
+ l = "suspendedYield",
117
+ f = "executing",
118
+ s = "completed",
119
+ y = {};
88
120
  function Generator() {}
89
121
  function GeneratorFunction() {}
90
122
  function GeneratorFunctionPrototype() {}
91
- var IteratorPrototype = {};
92
- define(IteratorPrototype, iteratorSymbol, function () {
123
+ var p = {};
124
+ define(p, a, function () {
93
125
  return this;
94
126
  });
95
- var getProto = Object.getPrototypeOf,
96
- NativeIteratorPrototype = getProto && getProto(getProto(values([])));
97
- NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
98
- var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
99
- function defineIteratorMethods(prototype) {
100
- ["next", "throw", "return"].forEach(function (method) {
101
- define(prototype, method, function (arg) {
102
- return this._invoke(method, arg);
127
+ var d = Object.getPrototypeOf,
128
+ v = d && d(d(values([])));
129
+ v && v !== r && n.call(v, a) && (p = v);
130
+ var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
131
+ function defineIteratorMethods(t) {
132
+ ["next", "throw", "return"].forEach(function (e) {
133
+ define(t, e, function (t) {
134
+ return this._invoke(e, t);
103
135
  });
104
136
  });
105
137
  }
106
- function AsyncIterator(generator, PromiseImpl) {
107
- function invoke(method, arg, resolve, reject) {
108
- var record = tryCatch(generator[method], generator, arg);
109
- if ("throw" !== record.type) {
110
- var result = record.arg,
111
- value = result.value;
112
- return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
113
- invoke("next", value, resolve, reject);
114
- }, function (err) {
115
- invoke("throw", err, resolve, reject);
116
- }) : PromiseImpl.resolve(value).then(function (unwrapped) {
117
- result.value = unwrapped, resolve(result);
118
- }, function (error) {
119
- return invoke("throw", error, resolve, reject);
138
+ function AsyncIterator(t, e) {
139
+ function invoke(r, o, i, a) {
140
+ var c = tryCatch(t[r], t, o);
141
+ if ("throw" !== c.type) {
142
+ var u = c.arg,
143
+ h = u.value;
144
+ return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
145
+ invoke("next", t, i, a);
146
+ }, function (t) {
147
+ invoke("throw", t, i, a);
148
+ }) : e.resolve(h).then(function (t) {
149
+ u.value = t, i(u);
150
+ }, function (t) {
151
+ return invoke("throw", t, i, a);
120
152
  });
121
153
  }
122
- reject(record.arg);
154
+ a(c.arg);
123
155
  }
124
- var previousPromise;
125
- defineProperty(this, "_invoke", {
126
- value: function (method, arg) {
156
+ var r;
157
+ o(this, "_invoke", {
158
+ value: function (t, n) {
127
159
  function callInvokeWithMethodAndArg() {
128
- return new PromiseImpl(function (resolve, reject) {
129
- invoke(method, arg, resolve, reject);
160
+ return new e(function (e, r) {
161
+ invoke(t, n, e, r);
130
162
  });
131
163
  }
132
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
164
+ return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
133
165
  }
134
166
  });
135
167
  }
136
- function makeInvokeMethod(innerFn, self, context) {
137
- var state = "suspendedStart";
138
- return function (method, arg) {
139
- if ("executing" === state) throw new Error("Generator is already running");
140
- if ("completed" === state) {
141
- if ("throw" === method) throw arg;
142
- return doneResult();
143
- }
144
- for (context.method = method, context.arg = arg;;) {
145
- var delegate = context.delegate;
146
- if (delegate) {
147
- var delegateResult = maybeInvokeDelegate(delegate, context);
148
- if (delegateResult) {
149
- if (delegateResult === ContinueSentinel) continue;
150
- return delegateResult;
168
+ function makeInvokeMethod(e, r, n) {
169
+ var o = h;
170
+ return function (i, a) {
171
+ if (o === f) throw new Error("Generator is already running");
172
+ if (o === s) {
173
+ if ("throw" === i) throw a;
174
+ return {
175
+ value: t,
176
+ done: !0
177
+ };
178
+ }
179
+ for (n.method = i, n.arg = a;;) {
180
+ var c = n.delegate;
181
+ if (c) {
182
+ var u = maybeInvokeDelegate(c, n);
183
+ if (u) {
184
+ if (u === y) continue;
185
+ return u;
151
186
  }
152
187
  }
153
- if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
154
- if ("suspendedStart" === state) throw state = "completed", context.arg;
155
- context.dispatchException(context.arg);
156
- } else "return" === context.method && context.abrupt("return", context.arg);
157
- state = "executing";
158
- var record = tryCatch(innerFn, self, context);
159
- if ("normal" === record.type) {
160
- if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
188
+ if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
189
+ if (o === h) throw o = s, n.arg;
190
+ n.dispatchException(n.arg);
191
+ } else "return" === n.method && n.abrupt("return", n.arg);
192
+ o = f;
193
+ var p = tryCatch(e, r, n);
194
+ if ("normal" === p.type) {
195
+ if (o = n.done ? s : l, p.arg === y) continue;
161
196
  return {
162
- value: record.arg,
163
- done: context.done
197
+ value: p.arg,
198
+ done: n.done
164
199
  };
165
200
  }
166
- "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
201
+ "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
167
202
  }
168
203
  };
169
204
  }
170
- function maybeInvokeDelegate(delegate, context) {
171
- var method = delegate.iterator[context.method];
172
- if (undefined === method) {
173
- if (context.delegate = null, "throw" === context.method) {
174
- if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel;
175
- context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method");
176
- }
177
- return ContinueSentinel;
178
- }
179
- var record = tryCatch(method, delegate.iterator, context.arg);
180
- if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
181
- var info = record.arg;
182
- return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
183
- }
184
- function pushTryEntry(locs) {
185
- var entry = {
186
- tryLoc: locs[0]
205
+ function maybeInvokeDelegate(e, r) {
206
+ var n = r.method,
207
+ o = e.iterator[n];
208
+ if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
209
+ var i = tryCatch(o, e.iterator, r.arg);
210
+ if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
211
+ var a = i.arg;
212
+ return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
213
+ }
214
+ function pushTryEntry(t) {
215
+ var e = {
216
+ tryLoc: t[0]
187
217
  };
188
- 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
218
+ 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
189
219
  }
190
- function resetTryEntry(entry) {
191
- var record = entry.completion || {};
192
- record.type = "normal", delete record.arg, entry.completion = record;
220
+ function resetTryEntry(t) {
221
+ var e = t.completion || {};
222
+ e.type = "normal", delete e.arg, t.completion = e;
193
223
  }
194
- function Context(tryLocsList) {
224
+ function Context(t) {
195
225
  this.tryEntries = [{
196
226
  tryLoc: "root"
197
- }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
198
- }
199
- function values(iterable) {
200
- if (iterable) {
201
- var iteratorMethod = iterable[iteratorSymbol];
202
- if (iteratorMethod) return iteratorMethod.call(iterable);
203
- if ("function" == typeof iterable.next) return iterable;
204
- if (!isNaN(iterable.length)) {
205
- var i = -1,
206
- next = function next() {
207
- for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
208
- return next.value = undefined, next.done = !0, next;
227
+ }], t.forEach(pushTryEntry, this), this.reset(!0);
228
+ }
229
+ function values(e) {
230
+ if (e || "" === e) {
231
+ var r = e[a];
232
+ if (r) return r.call(e);
233
+ if ("function" == typeof e.next) return e;
234
+ if (!isNaN(e.length)) {
235
+ var o = -1,
236
+ i = function next() {
237
+ for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
238
+ return next.value = t, next.done = !0, next;
209
239
  };
210
- return next.next = next;
240
+ return i.next = i;
211
241
  }
212
242
  }
213
- return {
214
- next: doneResult
215
- };
216
- }
217
- function doneResult() {
218
- return {
219
- value: undefined,
220
- done: !0
221
- };
243
+ throw new TypeError(typeof e + " is not iterable");
222
244
  }
223
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
245
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
224
246
  value: GeneratorFunctionPrototype,
225
247
  configurable: !0
226
- }), defineProperty(GeneratorFunctionPrototype, "constructor", {
248
+ }), o(GeneratorFunctionPrototype, "constructor", {
227
249
  value: GeneratorFunction,
228
250
  configurable: !0
229
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
230
- var ctor = "function" == typeof genFun && genFun.constructor;
231
- return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
232
- }, exports.mark = function (genFun) {
233
- return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
234
- }, exports.awrap = function (arg) {
251
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
252
+ var e = "function" == typeof t && t.constructor;
253
+ return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
254
+ }, e.mark = function (t) {
255
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
256
+ }, e.awrap = function (t) {
235
257
  return {
236
- __await: arg
258
+ __await: t
237
259
  };
238
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
260
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
239
261
  return this;
240
- }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
241
- void 0 === PromiseImpl && (PromiseImpl = Promise);
242
- var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
243
- return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
244
- return result.done ? result.value : iter.next();
262
+ }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
263
+ void 0 === i && (i = Promise);
264
+ var a = new AsyncIterator(wrap(t, r, n, o), i);
265
+ return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
266
+ return t.done ? t.value : a.next();
245
267
  });
246
- }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
268
+ }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
247
269
  return this;
248
- }), define(Gp, "toString", function () {
270
+ }), define(g, "toString", function () {
249
271
  return "[object Generator]";
250
- }), exports.keys = function (val) {
251
- var object = Object(val),
252
- keys = [];
253
- for (var key in object) keys.push(key);
254
- return keys.reverse(), function next() {
255
- for (; keys.length;) {
256
- var key = keys.pop();
257
- if (key in object) return next.value = key, next.done = !1, next;
272
+ }), e.keys = function (t) {
273
+ var e = Object(t),
274
+ r = [];
275
+ for (var n in e) r.push(n);
276
+ return r.reverse(), function next() {
277
+ for (; r.length;) {
278
+ var t = r.pop();
279
+ if (t in e) return next.value = t, next.done = !1, next;
258
280
  }
259
281
  return next.done = !0, next;
260
282
  };
261
- }, exports.values = values, Context.prototype = {
283
+ }, e.values = values, Context.prototype = {
262
284
  constructor: Context,
263
- reset: function (skipTempReset) {
264
- if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
285
+ reset: function (e) {
286
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
265
287
  },
266
288
  stop: function () {
267
289
  this.done = !0;
268
- var rootRecord = this.tryEntries[0].completion;
269
- if ("throw" === rootRecord.type) throw rootRecord.arg;
290
+ var t = this.tryEntries[0].completion;
291
+ if ("throw" === t.type) throw t.arg;
270
292
  return this.rval;
271
293
  },
272
- dispatchException: function (exception) {
273
- if (this.done) throw exception;
274
- var context = this;
275
- function handle(loc, caught) {
276
- return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
277
- }
278
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
279
- var entry = this.tryEntries[i],
280
- record = entry.completion;
281
- if ("root" === entry.tryLoc) return handle("end");
282
- if (entry.tryLoc <= this.prev) {
283
- var hasCatch = hasOwn.call(entry, "catchLoc"),
284
- hasFinally = hasOwn.call(entry, "finallyLoc");
285
- if (hasCatch && hasFinally) {
286
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
287
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
288
- } else if (hasCatch) {
289
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
294
+ dispatchException: function (e) {
295
+ if (this.done) throw e;
296
+ var r = this;
297
+ function handle(n, o) {
298
+ return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
299
+ }
300
+ for (var o = this.tryEntries.length - 1; o >= 0; --o) {
301
+ var i = this.tryEntries[o],
302
+ a = i.completion;
303
+ if ("root" === i.tryLoc) return handle("end");
304
+ if (i.tryLoc <= this.prev) {
305
+ var c = n.call(i, "catchLoc"),
306
+ u = n.call(i, "finallyLoc");
307
+ if (c && u) {
308
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
309
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
310
+ } else if (c) {
311
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
290
312
  } else {
291
- if (!hasFinally) throw new Error("try statement without catch or finally");
292
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
313
+ if (!u) throw new Error("try statement without catch or finally");
314
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
293
315
  }
294
316
  }
295
317
  }
296
318
  },
297
- abrupt: function (type, arg) {
298
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
299
- var entry = this.tryEntries[i];
300
- if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
301
- var finallyEntry = entry;
319
+ abrupt: function (t, e) {
320
+ for (var r = this.tryEntries.length - 1; r >= 0; --r) {
321
+ var o = this.tryEntries[r];
322
+ if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
323
+ var i = o;
302
324
  break;
303
325
  }
304
326
  }
305
- finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
306
- var record = finallyEntry ? finallyEntry.completion : {};
307
- return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
327
+ i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
328
+ var a = i ? i.completion : {};
329
+ return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
308
330
  },
309
- complete: function (record, afterLoc) {
310
- if ("throw" === record.type) throw record.arg;
311
- return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
331
+ complete: function (t, e) {
332
+ if ("throw" === t.type) throw t.arg;
333
+ return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
312
334
  },
313
- finish: function (finallyLoc) {
314
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
315
- var entry = this.tryEntries[i];
316
- if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
335
+ finish: function (t) {
336
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
337
+ var r = this.tryEntries[e];
338
+ if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
317
339
  }
318
340
  },
319
- catch: function (tryLoc) {
320
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
321
- var entry = this.tryEntries[i];
322
- if (entry.tryLoc === tryLoc) {
323
- var record = entry.completion;
324
- if ("throw" === record.type) {
325
- var thrown = record.arg;
326
- resetTryEntry(entry);
341
+ catch: function (t) {
342
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
343
+ var r = this.tryEntries[e];
344
+ if (r.tryLoc === t) {
345
+ var n = r.completion;
346
+ if ("throw" === n.type) {
347
+ var o = n.arg;
348
+ resetTryEntry(r);
327
349
  }
328
- return thrown;
350
+ return o;
329
351
  }
330
352
  }
331
353
  throw new Error("illegal catch attempt");
332
354
  },
333
- delegateYield: function (iterable, resultName, nextLoc) {
355
+ delegateYield: function (e, r, n) {
334
356
  return this.delegate = {
335
- iterator: values(iterable),
336
- resultName: resultName,
337
- nextLoc: nextLoc
338
- }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
357
+ iterator: values(e),
358
+ resultName: r,
359
+ nextLoc: n
360
+ }, "next" === this.method && (this.arg = t), y;
339
361
  }
340
- }, exports;
362
+ }, e;
341
363
  }
342
- function _typeof(obj) {
364
+ function _typeof(o) {
343
365
  "@babel/helpers - typeof";
344
366
 
345
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
346
- return typeof obj;
347
- } : function (obj) {
348
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
349
- }, _typeof(obj);
367
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
368
+ return typeof o;
369
+ } : function (o) {
370
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
371
+ }, _typeof(o);
350
372
  }
351
373
  function _classCallCheck(instance, Constructor) {
352
374
  if (!(instance instanceof Constructor)) {
@@ -359,7 +381,7 @@ function _defineProperties(target, props) {
359
381
  descriptor.enumerable = descriptor.enumerable || false;
360
382
  descriptor.configurable = true;
361
383
  if ("value" in descriptor) descriptor.writable = true;
362
- Object.defineProperty(target, descriptor.key, descriptor);
384
+ Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
363
385
  }
364
386
  }
365
387
  function _createClass(Constructor, protoProps, staticProps) {
@@ -371,6 +393,7 @@ function _createClass(Constructor, protoProps, staticProps) {
371
393
  return Constructor;
372
394
  }
373
395
  function _defineProperty(obj, key, value) {
396
+ key = _toPropertyKey(key);
374
397
  if (key in obj) {
375
398
  Object.defineProperty(obj, key, {
376
399
  value: value,
@@ -442,30 +465,6 @@ function _arrayWithHoles(arr) {
442
465
  function _iterableToArray(iter) {
443
466
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
444
467
  }
445
- function _iterableToArrayLimit(arr, i) {
446
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
447
- if (_i == null) return;
448
- var _arr = [];
449
- var _n = true;
450
- var _d = false;
451
- var _s, _e;
452
- try {
453
- for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
454
- _arr.push(_s.value);
455
- if (i && _arr.length === i) break;
456
- }
457
- } catch (err) {
458
- _d = true;
459
- _e = err;
460
- } finally {
461
- try {
462
- if (!_n && _i["return"] != null) _i["return"]();
463
- } finally {
464
- if (_d) throw _e;
465
- }
466
- }
467
- return _arr;
468
- }
469
468
  function _unsupportedIterableToArray(o, minLen) {
470
469
  if (!o) return;
471
470
  if (typeof o === "string") return _arrayLikeToArray(o, minLen);
@@ -536,6 +535,20 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
536
535
  }
537
536
  };
538
537
  }
538
+ function _toPrimitive(input, hint) {
539
+ if (typeof input !== "object" || input === null) return input;
540
+ var prim = input[Symbol.toPrimitive];
541
+ if (prim !== undefined) {
542
+ var res = prim.call(input, hint || "default");
543
+ if (typeof res !== "object") return res;
544
+ throw new TypeError("@@toPrimitive must return a primitive value.");
545
+ }
546
+ return (hint === "string" ? String : Number)(input);
547
+ }
548
+ function _toPropertyKey(arg) {
549
+ var key = _toPrimitive(arg, "string");
550
+ return typeof key === "symbol" ? key : String(key);
551
+ }
539
552
 
540
553
  var BASE_BORDER_WIDTH = 1;
541
554
  var BASE_SPACE = 8;
@@ -3220,13 +3233,14 @@ var getTabsTheme = function getTabsTheme(theme) {
3220
3233
  itemVerticalPadding: theme.space.small,
3221
3234
  itemMargin: theme.space.smallMedium,
3222
3235
  outlineHorizontalPadding: theme.space.small,
3223
- outlineVerticalPadding: theme.space.xsmall
3236
+ outlineVerticalPadding: theme.space.xsmall,
3237
+ tabIndicatorBottom: -theme.space.xxsmall
3224
3238
  };
3225
3239
  var radii = {
3226
3240
  outline: theme.radii.xlarge
3227
3241
  };
3228
3242
  var borderWidths = {
3229
- headerBottom: theme.borderWidths.base
3243
+ headerBottom: theme.borderWidths.medium
3230
3244
  };
3231
3245
  var sizes = {
3232
3246
  indicator: theme.sizes.xxsmall
@@ -17198,7 +17212,7 @@ var StyledIndicator = index$a(Animated.View)(function (_ref3) {
17198
17212
  height: theme.__hd__.tabs.sizes.indicator,
17199
17213
  backgroundColor: theme.__hd__.tabs.colors.indicator,
17200
17214
  position: 'absolute',
17201
- bottom: 0
17215
+ bottom: theme.__hd__.tabs.space.tabIndicatorBottom
17202
17216
  };
17203
17217
  });
17204
17218
  var StyledBadgeWrapper = index$a(View)({