@bigbinary/neeto-molecules 1.1.67 → 1.1.68
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/dist/Breadcrumbs.js.map +1 -1
- package/dist/BrowserSupport.js +19 -19
- package/dist/BrowserSupport.js.map +1 -1
- package/dist/Builder.js +31 -31
- package/dist/Builder.js.map +1 -1
- package/dist/CalendarView.js +37 -38
- package/dist/CalendarView.js.map +1 -1
- package/dist/Codeblock.js +26 -27
- package/dist/Codeblock.js.map +1 -1
- package/dist/Columns.js +19 -19
- package/dist/Columns.js.map +1 -1
- package/dist/ConfirmationModal.js.map +1 -1
- package/dist/Container.js.map +1 -1
- package/dist/CopyToClipboardButton.js +26 -27
- package/dist/CopyToClipboardButton.js.map +1 -1
- package/dist/CustomDomain.js +31 -31
- package/dist/CustomDomain.js.map +1 -1
- package/dist/CustomDomainDashboard.js +37 -37
- package/dist/CustomDomainDashboard.js.map +1 -1
- package/dist/DateFormat.js.map +1 -1
- package/dist/DateRangeFilter.js +19 -19
- package/dist/DateRangeFilter.js.map +1 -1
- package/dist/DocumentEditor.js +29 -29
- package/dist/DocumentEditor.js.map +1 -1
- package/dist/DownloadMobileAppCallout.js.map +1 -1
- package/dist/DynamicVariables.js +8 -8
- package/dist/DynamicVariables.js.map +1 -1
- package/dist/EmailForm.js +33 -35
- package/dist/EmailForm.js.map +1 -1
- package/dist/EmailPreview.js.map +1 -1
- package/dist/ErrorPage.js.map +1 -1
- package/dist/Header.js +8 -8
- package/dist/Header.js.map +1 -1
- package/dist/IconPicker.js +19 -19
- package/dist/IconPicker.js.map +1 -1
- package/dist/ImageWithFallback.js +27 -27
- package/dist/ImageWithFallback.js.map +1 -1
- package/dist/InlineInput.js +235 -235
- package/dist/InlineInput.js.map +1 -1
- package/dist/IntegrationCard.js +10 -10
- package/dist/IntegrationCard.js.map +1 -1
- package/dist/IntegrationDisconnectAlert.js.map +1 -1
- package/dist/IntegrationWalkthroughModal.js.map +1 -1
- package/dist/IpRestriction.js +19 -19
- package/dist/IpRestriction.js.map +1 -1
- package/dist/KeyboardShortcuts.js +25 -25
- package/dist/KeyboardShortcuts.js.map +1 -1
- package/dist/LoginPage.js +227 -227
- package/dist/LoginPage.js.map +1 -1
- package/dist/MenuBar.js +8 -8
- package/dist/MenuBar.js.map +1 -1
- package/dist/Metadata.js +19 -19
- package/dist/Metadata.js.map +1 -1
- package/dist/MoreDropdown.js +10 -10
- package/dist/MoreDropdown.js.map +1 -1
- package/dist/NavigationHeader.js +29 -29
- package/dist/NavigationHeader.js.map +1 -1
- package/dist/NeetoWidget.js +148 -56
- package/dist/NeetoWidget.js.map +1 -1
- package/dist/PageLoader.js.map +1 -1
- package/dist/PhoneNumber.js +27 -27
- package/dist/PhoneNumber.js.map +1 -1
- package/dist/PublishBlock.js.map +1 -1
- package/dist/Rename.js +29 -29
- package/dist/Rename.js.map +1 -1
- package/dist/ResponsiveDevicePicker.js +30 -31
- package/dist/ResponsiveDevicePicker.js.map +1 -1
- package/dist/Schedule.js +32 -31
- package/dist/Schedule.js.map +1 -1
- package/dist/Scrollable.js +6 -6
- package/dist/Scrollable.js.map +1 -1
- package/dist/Search.js +25 -25
- package/dist/Search.js.map +1 -1
- package/dist/Security.js +10 -10
- package/dist/Security.js.map +1 -1
- package/dist/SendToFields.js +19 -19
- package/dist/SendToFields.js.map +1 -1
- package/dist/Settings.js +10 -10
- package/dist/Settings.js.map +1 -1
- package/dist/ShareViaEmail.js +27 -27
- package/dist/ShareViaEmail.js.map +1 -1
- package/dist/ShareViaLink.js +29 -29
- package/dist/ShareViaLink.js.map +1 -1
- package/dist/Sidebar.js +31 -31
- package/dist/Sidebar.js.map +1 -1
- package/dist/SubHeader.js +10 -10
- package/dist/SubHeader.js.map +1 -1
- package/dist/TableWrapper.js.map +1 -1
- package/dist/Taxonomy.js +35 -35
- package/dist/Taxonomy.js.map +1 -1
- package/dist/ThemeSidebar.js +243 -243
- package/dist/ThemeSidebar.js.map +1 -1
- package/dist/TimeFormat.js.map +1 -1
- package/dist/TimezoneMismatchModal.js +19 -19
- package/dist/TimezoneMismatchModal.js.map +1 -1
- package/dist/ToggleFeatureCard.js +29 -29
- package/dist/ToggleFeatureCard.js.map +1 -1
- package/package.json +19 -13
- package/src/translations/en.json +15 -3
- 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(
|
|
46
|
-
var
|
|
47
|
-
if (null !=
|
|
48
|
-
var
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
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 (
|
|
57
|
-
if (Object(
|
|
58
|
-
|
|
59
|
-
} else for (; !(
|
|
60
|
-
} catch (
|
|
61
|
-
|
|
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 (!
|
|
64
|
+
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
|
|
65
65
|
} finally {
|
|
66
|
-
if (
|
|
66
|
+
if (o) throw n;
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
return
|
|
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(
|
|
101
|
+
function _typeof(o) {
|
|
102
102
|
"@babel/helpers - typeof";
|
|
103
103
|
|
|
104
|
-
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
|
105
|
-
return typeof
|
|
106
|
-
} : function (
|
|
107
|
-
return
|
|
108
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(
|
|
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
|
|
117
|
+
return e;
|
|
118
118
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
119
|
-
var
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
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
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
function define(
|
|
130
|
-
return Object.defineProperty(
|
|
131
|
-
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
|
-
}),
|
|
136
|
+
}), t[e];
|
|
136
137
|
}
|
|
137
138
|
try {
|
|
138
139
|
define({}, "");
|
|
139
|
-
} catch (
|
|
140
|
-
define = function define(
|
|
141
|
-
return
|
|
140
|
+
} catch (t) {
|
|
141
|
+
define = function define(t, e, r) {
|
|
142
|
+
return t[e] = r;
|
|
142
143
|
};
|
|
143
144
|
}
|
|
144
|
-
function wrap(
|
|
145
|
-
var
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
return
|
|
149
|
-
value: makeInvokeMethod(
|
|
150
|
-
}),
|
|
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(
|
|
153
|
+
function tryCatch(t, e, r) {
|
|
153
154
|
try {
|
|
154
155
|
return {
|
|
155
156
|
type: "normal",
|
|
156
|
-
arg:
|
|
157
|
+
arg: t.call(e, r)
|
|
157
158
|
};
|
|
158
|
-
} catch (
|
|
159
|
+
} catch (t) {
|
|
159
160
|
return {
|
|
160
161
|
type: "throw",
|
|
161
|
-
arg:
|
|
162
|
+
arg: t
|
|
162
163
|
};
|
|
163
164
|
}
|
|
164
165
|
}
|
|
165
|
-
|
|
166
|
-
var
|
|
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
|
|
171
|
-
define(
|
|
175
|
+
var p = {};
|
|
176
|
+
define(p, a, function () {
|
|
172
177
|
return this;
|
|
173
178
|
});
|
|
174
|
-
var
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
var
|
|
178
|
-
function defineIteratorMethods(
|
|
179
|
-
["next", "throw", "return"].forEach(function (
|
|
180
|
-
define(
|
|
181
|
-
return this._invoke(
|
|
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(
|
|
186
|
-
function invoke(
|
|
187
|
-
var
|
|
188
|
-
if ("throw" !==
|
|
189
|
-
var
|
|
190
|
-
|
|
191
|
-
return
|
|
192
|
-
invoke("next",
|
|
193
|
-
}, function (
|
|
194
|
-
invoke("throw",
|
|
195
|
-
}) :
|
|
196
|
-
|
|
197
|
-
}, function (
|
|
198
|
-
return invoke("throw",
|
|
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
|
-
|
|
206
|
+
a(c.arg);
|
|
202
207
|
}
|
|
203
|
-
var
|
|
204
|
-
|
|
205
|
-
value: function value(
|
|
208
|
+
var r;
|
|
209
|
+
o(this, "_invoke", {
|
|
210
|
+
value: function value(t, n) {
|
|
206
211
|
function callInvokeWithMethodAndArg() {
|
|
207
|
-
return new
|
|
208
|
-
invoke(
|
|
212
|
+
return new e(function (e, r) {
|
|
213
|
+
invoke(t, n, e, r);
|
|
209
214
|
});
|
|
210
215
|
}
|
|
211
|
-
return
|
|
216
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
212
217
|
}
|
|
213
218
|
});
|
|
214
219
|
}
|
|
215
|
-
function makeInvokeMethod(
|
|
216
|
-
var
|
|
217
|
-
return function (
|
|
218
|
-
if (
|
|
219
|
-
if (
|
|
220
|
-
if ("throw" ===
|
|
221
|
-
return
|
|
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 (
|
|
224
|
-
var
|
|
225
|
-
if (
|
|
226
|
-
var
|
|
227
|
-
if (
|
|
228
|
-
if (
|
|
229
|
-
return
|
|
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" ===
|
|
233
|
-
if (
|
|
234
|
-
|
|
235
|
-
} else "return" ===
|
|
236
|
-
|
|
237
|
-
var
|
|
238
|
-
if ("normal" ===
|
|
239
|
-
if (
|
|
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:
|
|
242
|
-
done:
|
|
249
|
+
value: p.arg,
|
|
250
|
+
done: n.done
|
|
243
251
|
};
|
|
244
252
|
}
|
|
245
|
-
"throw" ===
|
|
253
|
+
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
|
246
254
|
}
|
|
247
255
|
};
|
|
248
256
|
}
|
|
249
|
-
function maybeInvokeDelegate(
|
|
250
|
-
var
|
|
251
|
-
|
|
252
|
-
if (
|
|
253
|
-
var
|
|
254
|
-
if ("throw" ===
|
|
255
|
-
var
|
|
256
|
-
return
|
|
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(
|
|
259
|
-
var
|
|
260
|
-
tryLoc:
|
|
266
|
+
function pushTryEntry(t) {
|
|
267
|
+
var e = {
|
|
268
|
+
tryLoc: t[0]
|
|
261
269
|
};
|
|
262
|
-
1 in
|
|
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(
|
|
265
|
-
var
|
|
266
|
-
|
|
272
|
+
function resetTryEntry(t) {
|
|
273
|
+
var e = t.completion || {};
|
|
274
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
|
267
275
|
}
|
|
268
|
-
function Context(
|
|
276
|
+
function Context(t) {
|
|
269
277
|
this.tryEntries = [{
|
|
270
278
|
tryLoc: "root"
|
|
271
|
-
}],
|
|
279
|
+
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
|
272
280
|
}
|
|
273
|
-
function values(
|
|
274
|
-
if (
|
|
275
|
-
var
|
|
276
|
-
if (
|
|
277
|
-
if ("function" == typeof
|
|
278
|
-
if (!isNaN(
|
|
279
|
-
var
|
|
280
|
-
|
|
281
|
-
for (; ++
|
|
282
|
-
return next.value =
|
|
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
|
|
292
|
+
return i.next = i;
|
|
285
293
|
}
|
|
286
294
|
}
|
|
287
|
-
|
|
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,
|
|
297
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
|
298
298
|
value: GeneratorFunctionPrototype,
|
|
299
299
|
configurable: !0
|
|
300
|
-
}),
|
|
300
|
+
}), o(GeneratorFunctionPrototype, "constructor", {
|
|
301
301
|
value: GeneratorFunction,
|
|
302
302
|
configurable: !0
|
|
303
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype,
|
|
304
|
-
var
|
|
305
|
-
return !!
|
|
306
|
-
},
|
|
307
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(
|
|
308
|
-
},
|
|
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:
|
|
310
|
+
__await: t
|
|
311
311
|
};
|
|
312
|
-
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype,
|
|
312
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
|
313
313
|
return this;
|
|
314
|
-
}),
|
|
315
|
-
void 0 ===
|
|
316
|
-
var
|
|
317
|
-
return
|
|
318
|
-
return
|
|
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(
|
|
320
|
+
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
|
321
321
|
return this;
|
|
322
|
-
}), define(
|
|
322
|
+
}), define(g, "toString", function () {
|
|
323
323
|
return "[object Generator]";
|
|
324
|
-
}),
|
|
325
|
-
var
|
|
326
|
-
|
|
327
|
-
for (var
|
|
328
|
-
return
|
|
329
|
-
for (;
|
|
330
|
-
var
|
|
331
|
-
if (
|
|
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
|
-
},
|
|
335
|
+
}, e.values = values, Context.prototype = {
|
|
336
336
|
constructor: Context,
|
|
337
|
-
reset: function reset(
|
|
338
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent =
|
|
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
|
|
343
|
-
if ("throw" ===
|
|
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(
|
|
347
|
-
if (this.done) throw
|
|
348
|
-
var
|
|
349
|
-
function handle(
|
|
350
|
-
return
|
|
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
|
|
353
|
-
var
|
|
354
|
-
|
|
355
|
-
if ("root" ===
|
|
356
|
-
if (
|
|
357
|
-
var
|
|
358
|
-
|
|
359
|
-
if (
|
|
360
|
-
if (this.prev <
|
|
361
|
-
if (this.prev <
|
|
362
|
-
} else if (
|
|
363
|
-
if (this.prev <
|
|
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 (!
|
|
366
|
-
if (this.prev <
|
|
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(
|
|
372
|
-
for (var
|
|
373
|
-
var
|
|
374
|
-
if (
|
|
375
|
-
var
|
|
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
|
-
|
|
380
|
-
var
|
|
381
|
-
return
|
|
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(
|
|
384
|
-
if ("throw" ===
|
|
385
|
-
return "break" ===
|
|
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(
|
|
388
|
-
for (var
|
|
389
|
-
var
|
|
390
|
-
if (
|
|
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(
|
|
394
|
-
for (var
|
|
395
|
-
var
|
|
396
|
-
if (
|
|
397
|
-
var
|
|
398
|
-
if ("throw" ===
|
|
399
|
-
var
|
|
400
|
-
resetTryEntry(
|
|
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
|
|
402
|
+
return o;
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
405
|
throw new Error("illegal catch attempt");
|
|
406
406
|
},
|
|
407
|
-
delegateYield: function delegateYield(
|
|
407
|
+
delegateYield: function delegateYield(e, r, n) {
|
|
408
408
|
return this.delegate = {
|
|
409
|
-
iterator: values(
|
|
410
|
-
resultName:
|
|
411
|
-
nextLoc:
|
|
412
|
-
}, "next" === this.method && (this.arg =
|
|
409
|
+
iterator: values(e),
|
|
410
|
+
resultName: r,
|
|
411
|
+
nextLoc: n
|
|
412
|
+
}, "next" === this.method && (this.arg = t), y;
|
|
413
413
|
}
|
|
414
|
-
},
|
|
414
|
+
}, e;
|
|
415
415
|
}
|
|
416
416
|
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
417
417
|
} (regeneratorRuntime$1));
|