@bigbinary/neeto-molecules 1.1.67 → 1.1.69

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.
Files changed (100) hide show
  1. package/dist/Breadcrumbs.js.map +1 -1
  2. package/dist/BrowserSupport.js +19 -19
  3. package/dist/BrowserSupport.js.map +1 -1
  4. package/dist/Builder.js +31 -31
  5. package/dist/Builder.js.map +1 -1
  6. package/dist/CalendarView.js +37 -38
  7. package/dist/CalendarView.js.map +1 -1
  8. package/dist/Codeblock.js +26 -27
  9. package/dist/Codeblock.js.map +1 -1
  10. package/dist/Columns.js +19 -19
  11. package/dist/Columns.js.map +1 -1
  12. package/dist/ConfirmationModal.js.map +1 -1
  13. package/dist/Container.js.map +1 -1
  14. package/dist/CopyToClipboardButton.js +26 -27
  15. package/dist/CopyToClipboardButton.js.map +1 -1
  16. package/dist/CustomDomain.js +31 -31
  17. package/dist/CustomDomain.js.map +1 -1
  18. package/dist/CustomDomainDashboard.js +37 -37
  19. package/dist/CustomDomainDashboard.js.map +1 -1
  20. package/dist/DateFormat.js.map +1 -1
  21. package/dist/DateRangeFilter.js +19 -19
  22. package/dist/DateRangeFilter.js.map +1 -1
  23. package/dist/DocumentEditor.js +29 -29
  24. package/dist/DocumentEditor.js.map +1 -1
  25. package/dist/DownloadMobileAppCallout.js.map +1 -1
  26. package/dist/DynamicVariables.js +8 -8
  27. package/dist/DynamicVariables.js.map +1 -1
  28. package/dist/EmailForm.js +33 -35
  29. package/dist/EmailForm.js.map +1 -1
  30. package/dist/EmailPreview.js.map +1 -1
  31. package/dist/ErrorPage.js.map +1 -1
  32. package/dist/Header.js +8 -8
  33. package/dist/Header.js.map +1 -1
  34. package/dist/IconPicker.js +19 -19
  35. package/dist/IconPicker.js.map +1 -1
  36. package/dist/ImageWithFallback.js +27 -27
  37. package/dist/ImageWithFallback.js.map +1 -1
  38. package/dist/InlineInput.js +235 -235
  39. package/dist/InlineInput.js.map +1 -1
  40. package/dist/IntegrationCard.js +10 -10
  41. package/dist/IntegrationCard.js.map +1 -1
  42. package/dist/IntegrationDisconnectAlert.js.map +1 -1
  43. package/dist/IntegrationWalkthroughModal.js.map +1 -1
  44. package/dist/IpRestriction.js +19 -19
  45. package/dist/IpRestriction.js.map +1 -1
  46. package/dist/KeyboardShortcuts.js +25 -25
  47. package/dist/KeyboardShortcuts.js.map +1 -1
  48. package/dist/LoginPage.js +227 -227
  49. package/dist/LoginPage.js.map +1 -1
  50. package/dist/MenuBar.js +8 -8
  51. package/dist/MenuBar.js.map +1 -1
  52. package/dist/Metadata.js +19 -19
  53. package/dist/Metadata.js.map +1 -1
  54. package/dist/MoreDropdown.js +10 -10
  55. package/dist/MoreDropdown.js.map +1 -1
  56. package/dist/NavigationHeader.js +29 -29
  57. package/dist/NavigationHeader.js.map +1 -1
  58. package/dist/NeetoWidget.js +148 -56
  59. package/dist/NeetoWidget.js.map +1 -1
  60. package/dist/PageLoader.js.map +1 -1
  61. package/dist/PhoneNumber.js +27 -27
  62. package/dist/PhoneNumber.js.map +1 -1
  63. package/dist/PublishBlock.js.map +1 -1
  64. package/dist/Rename.js +29 -29
  65. package/dist/Rename.js.map +1 -1
  66. package/dist/ResponsiveDevicePicker.js +30 -31
  67. package/dist/ResponsiveDevicePicker.js.map +1 -1
  68. package/dist/Schedule.js +40 -38
  69. package/dist/Schedule.js.map +1 -1
  70. package/dist/Scrollable.js +6 -6
  71. package/dist/Scrollable.js.map +1 -1
  72. package/dist/Search.js +25 -25
  73. package/dist/Search.js.map +1 -1
  74. package/dist/Security.js +10 -10
  75. package/dist/Security.js.map +1 -1
  76. package/dist/SendToFields.js +19 -19
  77. package/dist/SendToFields.js.map +1 -1
  78. package/dist/Settings.js +10 -10
  79. package/dist/Settings.js.map +1 -1
  80. package/dist/ShareViaEmail.js +27 -27
  81. package/dist/ShareViaEmail.js.map +1 -1
  82. package/dist/ShareViaLink.js +29 -29
  83. package/dist/ShareViaLink.js.map +1 -1
  84. package/dist/Sidebar.js +31 -31
  85. package/dist/Sidebar.js.map +1 -1
  86. package/dist/SubHeader.js +10 -10
  87. package/dist/SubHeader.js.map +1 -1
  88. package/dist/TableWrapper.js.map +1 -1
  89. package/dist/Taxonomy.js +35 -35
  90. package/dist/Taxonomy.js.map +1 -1
  91. package/dist/ThemeSidebar.js +243 -243
  92. package/dist/ThemeSidebar.js.map +1 -1
  93. package/dist/TimeFormat.js.map +1 -1
  94. package/dist/TimezoneMismatchModal.js +19 -19
  95. package/dist/TimezoneMismatchModal.js.map +1 -1
  96. package/dist/ToggleFeatureCard.js +29 -29
  97. package/dist/ToggleFeatureCard.js.map +1 -1
  98. package/package.json +19 -13
  99. package/src/translations/en.json +15 -3
  100. package/types/BrowserSupport.d.ts +22 -0
package/dist/LoginPage.js CHANGED
@@ -42,31 +42,31 @@ function _arrayWithHoles(arr) {
42
42
  if (Array.isArray(arr)) return arr;
43
43
  }
44
44
 
45
- function _iterableToArrayLimit(arr, i) {
46
- var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
47
- if (null != _i) {
48
- var _s,
49
- _e,
50
- _x,
51
- _r,
52
- _arr = [],
53
- _n = !0,
54
- _d = !1;
45
+ function _iterableToArrayLimit(r, l) {
46
+ var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
47
+ if (null != t) {
48
+ var e,
49
+ n,
50
+ i,
51
+ u,
52
+ a = [],
53
+ f = !0,
54
+ o = !1;
55
55
  try {
56
- if (_x = (_i = _i.call(arr)).next, 0 === i) {
57
- if (Object(_i) !== _i) return;
58
- _n = !1;
59
- } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
60
- } catch (err) {
61
- _d = !0, _e = err;
56
+ if (i = (t = t.call(r)).next, 0 === l) {
57
+ if (Object(t) !== t) return;
58
+ f = !1;
59
+ } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
60
+ } catch (r) {
61
+ o = !0, n = r;
62
62
  } finally {
63
63
  try {
64
- if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
64
+ if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
65
65
  } finally {
66
- if (_d) throw _e;
66
+ if (o) throw n;
67
67
  }
68
68
  }
69
- return _arr;
69
+ return a;
70
70
  }
71
71
  }
72
72
 
@@ -98,14 +98,14 @@ var regeneratorRuntime$1 = {exports: {}};
98
98
  var _typeof = {exports: {}};
99
99
 
100
100
  (function (module) {
101
- function _typeof(obj) {
101
+ function _typeof(o) {
102
102
  "@babel/helpers - typeof";
103
103
 
104
- return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
105
- return typeof obj;
106
- } : function (obj) {
107
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
108
- }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
104
+ return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
105
+ return typeof o;
106
+ } : function (o) {
107
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
108
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
109
109
  }
110
110
  module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
111
111
  } (_typeof));
@@ -114,304 +114,304 @@ var _typeof = {exports: {}};
114
114
  var _typeof$1 = _typeof.exports["default"];
115
115
  function _regeneratorRuntime() {
116
116
  module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
117
- return exports;
117
+ return e;
118
118
  }, module.exports.__esModule = true, module.exports["default"] = module.exports;
119
- var exports = {},
120
- Op = Object.prototype,
121
- hasOwn = Op.hasOwnProperty,
122
- defineProperty = Object.defineProperty || function (obj, key, desc) {
123
- obj[key] = desc.value;
119
+ var t,
120
+ e = {},
121
+ r = Object.prototype,
122
+ n = r.hasOwnProperty,
123
+ o = Object.defineProperty || function (t, e, r) {
124
+ t[e] = r.value;
124
125
  },
125
- $Symbol = "function" == typeof Symbol ? Symbol : {},
126
- iteratorSymbol = $Symbol.iterator || "@@iterator",
127
- asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
128
- toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
129
- function define(obj, key, value) {
130
- return Object.defineProperty(obj, key, {
131
- value: value,
126
+ i = "function" == typeof Symbol ? Symbol : {},
127
+ a = i.iterator || "@@iterator",
128
+ c = i.asyncIterator || "@@asyncIterator",
129
+ u = i.toStringTag || "@@toStringTag";
130
+ function define(t, e, r) {
131
+ return Object.defineProperty(t, e, {
132
+ value: r,
132
133
  enumerable: !0,
133
134
  configurable: !0,
134
135
  writable: !0
135
- }), obj[key];
136
+ }), t[e];
136
137
  }
137
138
  try {
138
139
  define({}, "");
139
- } catch (err) {
140
- define = function define(obj, key, value) {
141
- return obj[key] = value;
140
+ } catch (t) {
141
+ define = function define(t, e, r) {
142
+ return t[e] = r;
142
143
  };
143
144
  }
144
- function wrap(innerFn, outerFn, self, tryLocsList) {
145
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
146
- generator = Object.create(protoGenerator.prototype),
147
- context = new Context(tryLocsList || []);
148
- return defineProperty(generator, "_invoke", {
149
- value: makeInvokeMethod(innerFn, self, context)
150
- }), generator;
145
+ function wrap(t, e, r, n) {
146
+ var i = e && e.prototype instanceof Generator ? e : Generator,
147
+ a = Object.create(i.prototype),
148
+ c = new Context(n || []);
149
+ return o(a, "_invoke", {
150
+ value: makeInvokeMethod(t, r, c)
151
+ }), a;
151
152
  }
152
- function tryCatch(fn, obj, arg) {
153
+ function tryCatch(t, e, r) {
153
154
  try {
154
155
  return {
155
156
  type: "normal",
156
- arg: fn.call(obj, arg)
157
+ arg: t.call(e, r)
157
158
  };
158
- } catch (err) {
159
+ } catch (t) {
159
160
  return {
160
161
  type: "throw",
161
- arg: err
162
+ arg: t
162
163
  };
163
164
  }
164
165
  }
165
- exports.wrap = wrap;
166
- var ContinueSentinel = {};
166
+ e.wrap = wrap;
167
+ var h = "suspendedStart",
168
+ l = "suspendedYield",
169
+ f = "executing",
170
+ s = "completed",
171
+ y = {};
167
172
  function Generator() {}
168
173
  function GeneratorFunction() {}
169
174
  function GeneratorFunctionPrototype() {}
170
- var IteratorPrototype = {};
171
- define(IteratorPrototype, iteratorSymbol, function () {
175
+ var p = {};
176
+ define(p, a, function () {
172
177
  return this;
173
178
  });
174
- var getProto = Object.getPrototypeOf,
175
- NativeIteratorPrototype = getProto && getProto(getProto(values([])));
176
- NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
177
- var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
178
- function defineIteratorMethods(prototype) {
179
- ["next", "throw", "return"].forEach(function (method) {
180
- define(prototype, method, function (arg) {
181
- return this._invoke(method, arg);
179
+ var d = Object.getPrototypeOf,
180
+ v = d && d(d(values([])));
181
+ v && v !== r && n.call(v, a) && (p = v);
182
+ var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
183
+ function defineIteratorMethods(t) {
184
+ ["next", "throw", "return"].forEach(function (e) {
185
+ define(t, e, function (t) {
186
+ return this._invoke(e, t);
182
187
  });
183
188
  });
184
189
  }
185
- function AsyncIterator(generator, PromiseImpl) {
186
- function invoke(method, arg, resolve, reject) {
187
- var record = tryCatch(generator[method], generator, arg);
188
- if ("throw" !== record.type) {
189
- var result = record.arg,
190
- value = result.value;
191
- return value && "object" == _typeof$1(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
192
- invoke("next", value, resolve, reject);
193
- }, function (err) {
194
- invoke("throw", err, resolve, reject);
195
- }) : PromiseImpl.resolve(value).then(function (unwrapped) {
196
- result.value = unwrapped, resolve(result);
197
- }, function (error) {
198
- return invoke("throw", error, resolve, reject);
190
+ function AsyncIterator(t, e) {
191
+ function invoke(r, o, i, a) {
192
+ var c = tryCatch(t[r], t, o);
193
+ if ("throw" !== c.type) {
194
+ var u = c.arg,
195
+ h = u.value;
196
+ return h && "object" == _typeof$1(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
197
+ invoke("next", t, i, a);
198
+ }, function (t) {
199
+ invoke("throw", t, i, a);
200
+ }) : e.resolve(h).then(function (t) {
201
+ u.value = t, i(u);
202
+ }, function (t) {
203
+ return invoke("throw", t, i, a);
199
204
  });
200
205
  }
201
- reject(record.arg);
206
+ a(c.arg);
202
207
  }
203
- var previousPromise;
204
- defineProperty(this, "_invoke", {
205
- value: function value(method, arg) {
208
+ var r;
209
+ o(this, "_invoke", {
210
+ value: function value(t, n) {
206
211
  function callInvokeWithMethodAndArg() {
207
- return new PromiseImpl(function (resolve, reject) {
208
- invoke(method, arg, resolve, reject);
212
+ return new e(function (e, r) {
213
+ invoke(t, n, e, r);
209
214
  });
210
215
  }
211
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
216
+ return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
212
217
  }
213
218
  });
214
219
  }
215
- function makeInvokeMethod(innerFn, self, context) {
216
- var state = "suspendedStart";
217
- return function (method, arg) {
218
- if ("executing" === state) throw new Error("Generator is already running");
219
- if ("completed" === state) {
220
- if ("throw" === method) throw arg;
221
- return doneResult();
220
+ function makeInvokeMethod(e, r, n) {
221
+ var o = h;
222
+ return function (i, a) {
223
+ if (o === f) throw new Error("Generator is already running");
224
+ if (o === s) {
225
+ if ("throw" === i) throw a;
226
+ return {
227
+ value: t,
228
+ done: !0
229
+ };
222
230
  }
223
- for (context.method = method, context.arg = arg;;) {
224
- var delegate = context.delegate;
225
- if (delegate) {
226
- var delegateResult = maybeInvokeDelegate(delegate, context);
227
- if (delegateResult) {
228
- if (delegateResult === ContinueSentinel) continue;
229
- return delegateResult;
231
+ for (n.method = i, n.arg = a;;) {
232
+ var c = n.delegate;
233
+ if (c) {
234
+ var u = maybeInvokeDelegate(c, n);
235
+ if (u) {
236
+ if (u === y) continue;
237
+ return u;
230
238
  }
231
239
  }
232
- if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
233
- if ("suspendedStart" === state) throw state = "completed", context.arg;
234
- context.dispatchException(context.arg);
235
- } else "return" === context.method && context.abrupt("return", context.arg);
236
- state = "executing";
237
- var record = tryCatch(innerFn, self, context);
238
- if ("normal" === record.type) {
239
- if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
240
+ if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
241
+ if (o === h) throw o = s, n.arg;
242
+ n.dispatchException(n.arg);
243
+ } else "return" === n.method && n.abrupt("return", n.arg);
244
+ o = f;
245
+ var p = tryCatch(e, r, n);
246
+ if ("normal" === p.type) {
247
+ if (o = n.done ? s : l, p.arg === y) continue;
240
248
  return {
241
- value: record.arg,
242
- done: context.done
249
+ value: p.arg,
250
+ done: n.done
243
251
  };
244
252
  }
245
- "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
253
+ "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
246
254
  }
247
255
  };
248
256
  }
249
- function maybeInvokeDelegate(delegate, context) {
250
- var methodName = context.method,
251
- method = delegate.iterator[methodName];
252
- if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
253
- var record = tryCatch(method, delegate.iterator, context.arg);
254
- if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
255
- var info = record.arg;
256
- 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);
257
+ function maybeInvokeDelegate(e, r) {
258
+ var n = r.method,
259
+ o = e.iterator[n];
260
+ 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;
261
+ var i = tryCatch(o, e.iterator, r.arg);
262
+ if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
263
+ var a = i.arg;
264
+ 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);
257
265
  }
258
- function pushTryEntry(locs) {
259
- var entry = {
260
- tryLoc: locs[0]
266
+ function pushTryEntry(t) {
267
+ var e = {
268
+ tryLoc: t[0]
261
269
  };
262
- 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
270
+ 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
263
271
  }
264
- function resetTryEntry(entry) {
265
- var record = entry.completion || {};
266
- record.type = "normal", delete record.arg, entry.completion = record;
272
+ function resetTryEntry(t) {
273
+ var e = t.completion || {};
274
+ e.type = "normal", delete e.arg, t.completion = e;
267
275
  }
268
- function Context(tryLocsList) {
276
+ function Context(t) {
269
277
  this.tryEntries = [{
270
278
  tryLoc: "root"
271
- }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
279
+ }], t.forEach(pushTryEntry, this), this.reset(!0);
272
280
  }
273
- function values(iterable) {
274
- if (iterable) {
275
- var iteratorMethod = iterable[iteratorSymbol];
276
- if (iteratorMethod) return iteratorMethod.call(iterable);
277
- if ("function" == typeof iterable.next) return iterable;
278
- if (!isNaN(iterable.length)) {
279
- var i = -1,
280
- next = function next() {
281
- for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
282
- return next.value = undefined, next.done = !0, next;
281
+ function values(e) {
282
+ if (e || "" === e) {
283
+ var r = e[a];
284
+ if (r) return r.call(e);
285
+ if ("function" == typeof e.next) return e;
286
+ if (!isNaN(e.length)) {
287
+ var o = -1,
288
+ i = function next() {
289
+ for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
290
+ return next.value = t, next.done = !0, next;
283
291
  };
284
- return next.next = next;
292
+ return i.next = i;
285
293
  }
286
294
  }
287
- return {
288
- next: doneResult
289
- };
290
- }
291
- function doneResult() {
292
- return {
293
- value: undefined,
294
- done: !0
295
- };
295
+ throw new TypeError(_typeof$1(e) + " is not iterable");
296
296
  }
297
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
297
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
298
298
  value: GeneratorFunctionPrototype,
299
299
  configurable: !0
300
- }), defineProperty(GeneratorFunctionPrototype, "constructor", {
300
+ }), o(GeneratorFunctionPrototype, "constructor", {
301
301
  value: GeneratorFunction,
302
302
  configurable: !0
303
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
304
- var ctor = "function" == typeof genFun && genFun.constructor;
305
- return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
306
- }, exports.mark = function (genFun) {
307
- return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
308
- }, exports.awrap = function (arg) {
303
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
304
+ var e = "function" == typeof t && t.constructor;
305
+ return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
306
+ }, e.mark = function (t) {
307
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
308
+ }, e.awrap = function (t) {
309
309
  return {
310
- __await: arg
310
+ __await: t
311
311
  };
312
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
312
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
313
313
  return this;
314
- }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
315
- void 0 === PromiseImpl && (PromiseImpl = Promise);
316
- var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
317
- return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
318
- return result.done ? result.value : iter.next();
314
+ }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
315
+ void 0 === i && (i = Promise);
316
+ var a = new AsyncIterator(wrap(t, r, n, o), i);
317
+ return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
318
+ return t.done ? t.value : a.next();
319
319
  });
320
- }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
320
+ }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
321
321
  return this;
322
- }), define(Gp, "toString", function () {
322
+ }), define(g, "toString", function () {
323
323
  return "[object Generator]";
324
- }), exports.keys = function (val) {
325
- var object = Object(val),
326
- keys = [];
327
- for (var key in object) keys.push(key);
328
- return keys.reverse(), function next() {
329
- for (; keys.length;) {
330
- var key = keys.pop();
331
- if (key in object) return next.value = key, next.done = !1, next;
324
+ }), e.keys = function (t) {
325
+ var e = Object(t),
326
+ r = [];
327
+ for (var n in e) r.push(n);
328
+ return r.reverse(), function next() {
329
+ for (; r.length;) {
330
+ var t = r.pop();
331
+ if (t in e) return next.value = t, next.done = !1, next;
332
332
  }
333
333
  return next.done = !0, next;
334
334
  };
335
- }, exports.values = values, Context.prototype = {
335
+ }, e.values = values, Context.prototype = {
336
336
  constructor: Context,
337
- reset: function reset(skipTempReset) {
338
- 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);
337
+ reset: function reset(e) {
338
+ 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);
339
339
  },
340
340
  stop: function stop() {
341
341
  this.done = !0;
342
- var rootRecord = this.tryEntries[0].completion;
343
- if ("throw" === rootRecord.type) throw rootRecord.arg;
342
+ var t = this.tryEntries[0].completion;
343
+ if ("throw" === t.type) throw t.arg;
344
344
  return this.rval;
345
345
  },
346
- dispatchException: function dispatchException(exception) {
347
- if (this.done) throw exception;
348
- var context = this;
349
- function handle(loc, caught) {
350
- return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
346
+ dispatchException: function dispatchException(e) {
347
+ if (this.done) throw e;
348
+ var r = this;
349
+ function handle(n, o) {
350
+ return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
351
351
  }
352
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
353
- var entry = this.tryEntries[i],
354
- record = entry.completion;
355
- if ("root" === entry.tryLoc) return handle("end");
356
- if (entry.tryLoc <= this.prev) {
357
- var hasCatch = hasOwn.call(entry, "catchLoc"),
358
- hasFinally = hasOwn.call(entry, "finallyLoc");
359
- if (hasCatch && hasFinally) {
360
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
361
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
362
- } else if (hasCatch) {
363
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
352
+ for (var o = this.tryEntries.length - 1; o >= 0; --o) {
353
+ var i = this.tryEntries[o],
354
+ a = i.completion;
355
+ if ("root" === i.tryLoc) return handle("end");
356
+ if (i.tryLoc <= this.prev) {
357
+ var c = n.call(i, "catchLoc"),
358
+ u = n.call(i, "finallyLoc");
359
+ if (c && u) {
360
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
361
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
362
+ } else if (c) {
363
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
364
364
  } else {
365
- if (!hasFinally) throw new Error("try statement without catch or finally");
366
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
365
+ if (!u) throw new Error("try statement without catch or finally");
366
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
367
367
  }
368
368
  }
369
369
  }
370
370
  },
371
- abrupt: function abrupt(type, arg) {
372
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
373
- var entry = this.tryEntries[i];
374
- if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
375
- var finallyEntry = entry;
371
+ abrupt: function abrupt(t, e) {
372
+ for (var r = this.tryEntries.length - 1; r >= 0; --r) {
373
+ var o = this.tryEntries[r];
374
+ if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
375
+ var i = o;
376
376
  break;
377
377
  }
378
378
  }
379
- finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
380
- var record = finallyEntry ? finallyEntry.completion : {};
381
- return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
379
+ i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
380
+ var a = i ? i.completion : {};
381
+ return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
382
382
  },
383
- complete: function complete(record, afterLoc) {
384
- if ("throw" === record.type) throw record.arg;
385
- 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;
383
+ complete: function complete(t, e) {
384
+ if ("throw" === t.type) throw t.arg;
385
+ 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;
386
386
  },
387
- finish: function finish(finallyLoc) {
388
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
389
- var entry = this.tryEntries[i];
390
- if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
387
+ finish: function finish(t) {
388
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
389
+ var r = this.tryEntries[e];
390
+ if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
391
391
  }
392
392
  },
393
- "catch": function _catch(tryLoc) {
394
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
395
- var entry = this.tryEntries[i];
396
- if (entry.tryLoc === tryLoc) {
397
- var record = entry.completion;
398
- if ("throw" === record.type) {
399
- var thrown = record.arg;
400
- resetTryEntry(entry);
393
+ "catch": function _catch(t) {
394
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
395
+ var r = this.tryEntries[e];
396
+ if (r.tryLoc === t) {
397
+ var n = r.completion;
398
+ if ("throw" === n.type) {
399
+ var o = n.arg;
400
+ resetTryEntry(r);
401
401
  }
402
- return thrown;
402
+ return o;
403
403
  }
404
404
  }
405
405
  throw new Error("illegal catch attempt");
406
406
  },
407
- delegateYield: function delegateYield(iterable, resultName, nextLoc) {
407
+ delegateYield: function delegateYield(e, r, n) {
408
408
  return this.delegate = {
409
- iterator: values(iterable),
410
- resultName: resultName,
411
- nextLoc: nextLoc
412
- }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
409
+ iterator: values(e),
410
+ resultName: r,
411
+ nextLoc: n
412
+ }, "next" === this.method && (this.arg = t), y;
413
413
  }
414
- }, exports;
414
+ }, e;
415
415
  }
416
416
  module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
417
417
  } (regeneratorRuntime$1));