@plasmicpkgs/plasmic-basic-components 0.0.274 → 0.0.276
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/plasmic-basic-components.cjs.development.js +136 -316
- package/dist/plasmic-basic-components.cjs.development.js.map +1 -1
- package/dist/plasmic-basic-components.cjs.production.min.js +1 -1
- package/dist/plasmic-basic-components.cjs.production.min.js.map +1 -1
- package/dist/plasmic-basic-components.esm.js +136 -316
- package/dist/plasmic-basic-components.esm.js.map +1 -1
- package/package.json +3 -3
|
@@ -132,306 +132,130 @@ function _objectWithoutPropertiesLoose(r, e) {
|
|
|
132
132
|
}
|
|
133
133
|
return t;
|
|
134
134
|
}
|
|
135
|
-
function
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
return o(a, "_invoke", {
|
|
170
|
-
value: makeInvokeMethod(t, r, c)
|
|
171
|
-
}), a;
|
|
172
|
-
}
|
|
173
|
-
function tryCatch(t, e, r) {
|
|
174
|
-
try {
|
|
175
|
-
return {
|
|
176
|
-
type: "normal",
|
|
177
|
-
arg: t.call(e, r)
|
|
178
|
-
};
|
|
179
|
-
} catch (t) {
|
|
180
|
-
return {
|
|
181
|
-
type: "throw",
|
|
182
|
-
arg: t
|
|
183
|
-
};
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
e.wrap = wrap;
|
|
187
|
-
var h = "suspendedStart",
|
|
188
|
-
l = "suspendedYield",
|
|
189
|
-
f = "executing",
|
|
190
|
-
s = "completed",
|
|
191
|
-
y = {};
|
|
192
|
-
function Generator() {}
|
|
193
|
-
function GeneratorFunction() {}
|
|
194
|
-
function GeneratorFunctionPrototype() {}
|
|
195
|
-
var p = {};
|
|
196
|
-
define(p, a, function () {
|
|
197
|
-
return this;
|
|
198
|
-
});
|
|
199
|
-
var d = Object.getPrototypeOf,
|
|
200
|
-
v = d && d(d(values([])));
|
|
201
|
-
v && v !== r && n.call(v, a) && (p = v);
|
|
202
|
-
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
|
203
|
-
function defineIteratorMethods(t) {
|
|
204
|
-
["next", "throw", "return"].forEach(function (e) {
|
|
205
|
-
define(t, e, function (t) {
|
|
206
|
-
return this._invoke(e, t);
|
|
207
|
-
});
|
|
208
|
-
});
|
|
209
|
-
}
|
|
210
|
-
function AsyncIterator(t, e) {
|
|
211
|
-
function invoke(r, o, i, a) {
|
|
212
|
-
var c = tryCatch(t[r], t, o);
|
|
213
|
-
if ("throw" !== c.type) {
|
|
214
|
-
var u = c.arg,
|
|
215
|
-
h = u.value;
|
|
216
|
-
return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
|
217
|
-
invoke("next", t, i, a);
|
|
218
|
-
}, function (t) {
|
|
219
|
-
invoke("throw", t, i, a);
|
|
220
|
-
}) : e.resolve(h).then(function (t) {
|
|
221
|
-
u.value = t, i(u);
|
|
222
|
-
}, function (t) {
|
|
223
|
-
return invoke("throw", t, i, a);
|
|
224
|
-
});
|
|
225
|
-
}
|
|
226
|
-
a(c.arg);
|
|
227
|
-
}
|
|
228
|
-
var r;
|
|
229
|
-
o(this, "_invoke", {
|
|
230
|
-
value: function (t, n) {
|
|
231
|
-
function callInvokeWithMethodAndArg() {
|
|
232
|
-
return new e(function (e, r) {
|
|
233
|
-
invoke(t, n, e, r);
|
|
234
|
-
});
|
|
135
|
+
function _regenerator() {
|
|
136
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
137
|
+
var e,
|
|
138
|
+
t,
|
|
139
|
+
r = "function" == typeof Symbol ? Symbol : {},
|
|
140
|
+
n = r.iterator || "@@iterator",
|
|
141
|
+
o = r.toStringTag || "@@toStringTag";
|
|
142
|
+
function i(r, n, o, i) {
|
|
143
|
+
var c = n && n.prototype instanceof Generator ? n : Generator,
|
|
144
|
+
u = Object.create(c.prototype);
|
|
145
|
+
return _regeneratorDefine(u, "_invoke", function (r, n, o) {
|
|
146
|
+
var i,
|
|
147
|
+
c,
|
|
148
|
+
u,
|
|
149
|
+
f = 0,
|
|
150
|
+
p = o || [],
|
|
151
|
+
y = !1,
|
|
152
|
+
G = {
|
|
153
|
+
p: 0,
|
|
154
|
+
n: 0,
|
|
155
|
+
v: e,
|
|
156
|
+
a: d,
|
|
157
|
+
f: d.bind(e, 4),
|
|
158
|
+
d: function (t, r) {
|
|
159
|
+
return i = t, c = 0, u = e, G.n = r, a;
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
function d(r, n) {
|
|
163
|
+
for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
|
|
164
|
+
var o,
|
|
165
|
+
i = p[t],
|
|
166
|
+
d = G.p,
|
|
167
|
+
l = i[2];
|
|
168
|
+
r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
|
|
235
169
|
}
|
|
236
|
-
|
|
170
|
+
if (o || r > 1) return a;
|
|
171
|
+
throw y = !0, n;
|
|
237
172
|
}
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
173
|
+
return function (o, p, l) {
|
|
174
|
+
if (f > 1) throw TypeError("Generator is already running");
|
|
175
|
+
for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {
|
|
176
|
+
i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
|
|
177
|
+
try {
|
|
178
|
+
if (f = 2, i) {
|
|
179
|
+
if (c || (o = "next"), t = i[o]) {
|
|
180
|
+
if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object");
|
|
181
|
+
if (!t.done) return t;
|
|
182
|
+
u = t.value, c < 2 && (c = 0);
|
|
183
|
+
} else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1);
|
|
184
|
+
i = e;
|
|
185
|
+
} else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;
|
|
186
|
+
} catch (t) {
|
|
187
|
+
i = e, c = 1, u = t;
|
|
188
|
+
} finally {
|
|
189
|
+
f = 1;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
246
192
|
return {
|
|
247
193
|
value: t,
|
|
248
|
-
done:
|
|
194
|
+
done: y
|
|
249
195
|
};
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
var c = n.delegate;
|
|
253
|
-
if (c) {
|
|
254
|
-
var u = maybeInvokeDelegate(c, n);
|
|
255
|
-
if (u) {
|
|
256
|
-
if (u === y) continue;
|
|
257
|
-
return u;
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
|
261
|
-
if (o === h) throw o = s, n.arg;
|
|
262
|
-
n.dispatchException(n.arg);
|
|
263
|
-
} else "return" === n.method && n.abrupt("return", n.arg);
|
|
264
|
-
o = f;
|
|
265
|
-
var p = tryCatch(e, r, n);
|
|
266
|
-
if ("normal" === p.type) {
|
|
267
|
-
if (o = n.done ? s : l, p.arg === y) continue;
|
|
268
|
-
return {
|
|
269
|
-
value: p.arg,
|
|
270
|
-
done: n.done
|
|
271
|
-
};
|
|
272
|
-
}
|
|
273
|
-
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
|
274
|
-
}
|
|
275
|
-
};
|
|
196
|
+
};
|
|
197
|
+
}(r, o, i), !0), u;
|
|
276
198
|
}
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
199
|
+
var a = {};
|
|
200
|
+
function Generator() {}
|
|
201
|
+
function GeneratorFunction() {}
|
|
202
|
+
function GeneratorFunctionPrototype() {}
|
|
203
|
+
t = Object.getPrototypeOf;
|
|
204
|
+
var c = [][n] ? t(t([][n]())) : (_regeneratorDefine(t = {}, n, function () {
|
|
205
|
+
return this;
|
|
206
|
+
}), t),
|
|
207
|
+
u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
|
|
208
|
+
function f(e) {
|
|
209
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e;
|
|
285
210
|
}
|
|
286
|
-
function
|
|
287
|
-
|
|
288
|
-
|
|
211
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine(u), _regeneratorDefine(u, o, "Generator"), _regeneratorDefine(u, n, function () {
|
|
212
|
+
return this;
|
|
213
|
+
}), _regeneratorDefine(u, "toString", function () {
|
|
214
|
+
return "[object Generator]";
|
|
215
|
+
}), (_regenerator = function () {
|
|
216
|
+
return {
|
|
217
|
+
w: i,
|
|
218
|
+
m: f
|
|
289
219
|
};
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
tryLoc: "root"
|
|
299
|
-
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
|
220
|
+
})();
|
|
221
|
+
}
|
|
222
|
+
function _regeneratorDefine(e, r, n, t) {
|
|
223
|
+
var i = Object.defineProperty;
|
|
224
|
+
try {
|
|
225
|
+
i({}, "", {});
|
|
226
|
+
} catch (e) {
|
|
227
|
+
i = 0;
|
|
300
228
|
}
|
|
301
|
-
function
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
if (!isNaN(e.length)) {
|
|
307
|
-
var o = -1,
|
|
308
|
-
i = function next() {
|
|
309
|
-
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
|
310
|
-
return next.value = t, next.done = !0, next;
|
|
311
|
-
};
|
|
312
|
-
return i.next = i;
|
|
313
|
-
}
|
|
229
|
+
_regeneratorDefine = function (e, r, n, t) {
|
|
230
|
+
function o(r, n) {
|
|
231
|
+
_regeneratorDefine(e, r, function (e) {
|
|
232
|
+
return this._invoke(r, n, e);
|
|
233
|
+
});
|
|
314
234
|
}
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
return {
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
void 0 === i && (i = Promise);
|
|
336
|
-
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
|
337
|
-
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
|
338
|
-
return t.done ? t.value : a.next();
|
|
339
|
-
});
|
|
340
|
-
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
|
341
|
-
return this;
|
|
342
|
-
}), define(g, "toString", function () {
|
|
343
|
-
return "[object Generator]";
|
|
344
|
-
}), e.keys = function (t) {
|
|
345
|
-
var e = Object(t),
|
|
346
|
-
r = [];
|
|
347
|
-
for (var n in e) r.push(n);
|
|
348
|
-
return r.reverse(), function next() {
|
|
349
|
-
for (; r.length;) {
|
|
350
|
-
var t = r.pop();
|
|
351
|
-
if (t in e) return next.value = t, next.done = !1, next;
|
|
235
|
+
r ? i ? i(e, r, {
|
|
236
|
+
value: n,
|
|
237
|
+
enumerable: !t,
|
|
238
|
+
configurable: !t,
|
|
239
|
+
writable: !t
|
|
240
|
+
}) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
|
|
241
|
+
}, _regeneratorDefine(e, r, n, t);
|
|
242
|
+
}
|
|
243
|
+
function _regeneratorValues(e) {
|
|
244
|
+
if (null != e) {
|
|
245
|
+
var t = e["function" == typeof Symbol && Symbol.iterator || "@@iterator"],
|
|
246
|
+
r = 0;
|
|
247
|
+
if (t) return t.call(e);
|
|
248
|
+
if ("function" == typeof e.next) return e;
|
|
249
|
+
if (!isNaN(e.length)) return {
|
|
250
|
+
next: function () {
|
|
251
|
+
return e && r >= e.length && (e = void 0), {
|
|
252
|
+
value: e && e[r++],
|
|
253
|
+
done: !e
|
|
254
|
+
};
|
|
352
255
|
}
|
|
353
|
-
return next.done = !0, next;
|
|
354
256
|
};
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
reset: function (e) {
|
|
358
|
-
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);
|
|
359
|
-
},
|
|
360
|
-
stop: function () {
|
|
361
|
-
this.done = !0;
|
|
362
|
-
var t = this.tryEntries[0].completion;
|
|
363
|
-
if ("throw" === t.type) throw t.arg;
|
|
364
|
-
return this.rval;
|
|
365
|
-
},
|
|
366
|
-
dispatchException: function (e) {
|
|
367
|
-
if (this.done) throw e;
|
|
368
|
-
var r = this;
|
|
369
|
-
function handle(n, o) {
|
|
370
|
-
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
|
371
|
-
}
|
|
372
|
-
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
|
373
|
-
var i = this.tryEntries[o],
|
|
374
|
-
a = i.completion;
|
|
375
|
-
if ("root" === i.tryLoc) return handle("end");
|
|
376
|
-
if (i.tryLoc <= this.prev) {
|
|
377
|
-
var c = n.call(i, "catchLoc"),
|
|
378
|
-
u = n.call(i, "finallyLoc");
|
|
379
|
-
if (c && u) {
|
|
380
|
-
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
381
|
-
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
382
|
-
} else if (c) {
|
|
383
|
-
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
384
|
-
} else {
|
|
385
|
-
if (!u) throw Error("try statement without catch or finally");
|
|
386
|
-
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
},
|
|
391
|
-
abrupt: function (t, e) {
|
|
392
|
-
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
393
|
-
var o = this.tryEntries[r];
|
|
394
|
-
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
|
395
|
-
var i = o;
|
|
396
|
-
break;
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
|
400
|
-
var a = i ? i.completion : {};
|
|
401
|
-
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
|
402
|
-
},
|
|
403
|
-
complete: function (t, e) {
|
|
404
|
-
if ("throw" === t.type) throw t.arg;
|
|
405
|
-
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;
|
|
406
|
-
},
|
|
407
|
-
finish: function (t) {
|
|
408
|
-
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
409
|
-
var r = this.tryEntries[e];
|
|
410
|
-
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
|
411
|
-
}
|
|
412
|
-
},
|
|
413
|
-
catch: function (t) {
|
|
414
|
-
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
415
|
-
var r = this.tryEntries[e];
|
|
416
|
-
if (r.tryLoc === t) {
|
|
417
|
-
var n = r.completion;
|
|
418
|
-
if ("throw" === n.type) {
|
|
419
|
-
var o = n.arg;
|
|
420
|
-
resetTryEntry(r);
|
|
421
|
-
}
|
|
422
|
-
return o;
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
throw Error("illegal catch attempt");
|
|
426
|
-
},
|
|
427
|
-
delegateYield: function (e, r, n) {
|
|
428
|
-
return this.delegate = {
|
|
429
|
-
iterator: values(e),
|
|
430
|
-
resultName: r,
|
|
431
|
-
nextLoc: n
|
|
432
|
-
}, "next" === this.method && (this.arg = t), y;
|
|
433
|
-
}
|
|
434
|
-
}, e;
|
|
257
|
+
}
|
|
258
|
+
throw new TypeError(typeof e + " is not iterable");
|
|
435
259
|
}
|
|
436
260
|
|
|
437
261
|
var _excluded = ["tag", "className", "children", "propSelectors"],
|
|
@@ -717,15 +541,15 @@ function Embed(_ref) {
|
|
|
717
541
|
}
|
|
718
542
|
// Load scripts sequentially one at a time, since later scripts can depend on earlier ones.
|
|
719
543
|
var cleanup = false;
|
|
720
|
-
_asyncToGenerator(/*#__PURE__*/
|
|
544
|
+
_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
|
|
721
545
|
var _loop, _ret, _i, _Array$from;
|
|
722
|
-
return
|
|
723
|
-
while (1) switch (_context2.
|
|
546
|
+
return _regenerator().w(function (_context2) {
|
|
547
|
+
while (1) switch (_context2.n) {
|
|
724
548
|
case 0:
|
|
725
|
-
_loop = /*#__PURE__*/
|
|
549
|
+
_loop = /*#__PURE__*/_regenerator().m(function _loop() {
|
|
726
550
|
var oldScript, newScript;
|
|
727
|
-
return
|
|
728
|
-
while (1) switch (_context.
|
|
551
|
+
return _regenerator().w(function (_context) {
|
|
552
|
+
while (1) switch (_context.n) {
|
|
729
553
|
case 0:
|
|
730
554
|
oldScript = _Array$from[_i];
|
|
731
555
|
newScript = document.createElement("script"); // This doesn't actually have the effect we want, we need to explicitly wait on the load event, since all
|
|
@@ -738,52 +562,48 @@ function Embed(_ref) {
|
|
|
738
562
|
ensure(oldScript.parentNode).replaceChild(newScript, oldScript);
|
|
739
563
|
// Only scripts with src will ever fire a load event.
|
|
740
564
|
if (!newScript.src) {
|
|
741
|
-
_context.
|
|
565
|
+
_context.n = 2;
|
|
742
566
|
break;
|
|
743
567
|
}
|
|
744
|
-
_context.
|
|
568
|
+
_context.n = 1;
|
|
745
569
|
return new Promise(function (resolve) {
|
|
746
570
|
return newScript.addEventListener("load", resolve);
|
|
747
571
|
});
|
|
748
|
-
case
|
|
572
|
+
case 1:
|
|
749
573
|
if (!cleanup) {
|
|
750
|
-
_context.
|
|
574
|
+
_context.n = 2;
|
|
751
575
|
break;
|
|
752
576
|
}
|
|
753
|
-
return _context.
|
|
577
|
+
return _context.a(2, {
|
|
754
578
|
v: void 0
|
|
755
579
|
});
|
|
756
|
-
case
|
|
757
|
-
|
|
758
|
-
return _context.stop();
|
|
580
|
+
case 2:
|
|
581
|
+
return _context.a(2);
|
|
759
582
|
}
|
|
760
583
|
}, _loop);
|
|
761
584
|
});
|
|
762
585
|
_i = 0, _Array$from = Array.from(ensure(rootElt.current).querySelectorAll("script"));
|
|
763
|
-
case
|
|
586
|
+
case 1:
|
|
764
587
|
if (!(_i < _Array$from.length)) {
|
|
765
|
-
_context2.
|
|
588
|
+
_context2.n = 4;
|
|
766
589
|
break;
|
|
767
590
|
}
|
|
768
|
-
return _context2.
|
|
769
|
-
case
|
|
770
|
-
_ret = _context2.
|
|
591
|
+
return _context2.d(_regeneratorValues(_loop()), 2);
|
|
592
|
+
case 2:
|
|
593
|
+
_ret = _context2.v;
|
|
771
594
|
if (!_ret) {
|
|
772
|
-
_context2.
|
|
595
|
+
_context2.n = 3;
|
|
773
596
|
break;
|
|
774
597
|
}
|
|
775
|
-
return _context2.
|
|
776
|
-
case
|
|
598
|
+
return _context2.a(2, _ret.v);
|
|
599
|
+
case 3:
|
|
777
600
|
_i++;
|
|
778
|
-
_context2.
|
|
601
|
+
_context2.n = 1;
|
|
779
602
|
break;
|
|
780
|
-
case
|
|
781
|
-
return _context2.
|
|
603
|
+
case 4:
|
|
604
|
+
return _context2.a(2, function () {
|
|
782
605
|
cleanup = true;
|
|
783
606
|
});
|
|
784
|
-
case 11:
|
|
785
|
-
case "end":
|
|
786
|
-
return _context2.stop();
|
|
787
607
|
}
|
|
788
608
|
}, _callee);
|
|
789
609
|
}))();
|