yxspeechrecognition 1.1.2 → 1.1.4
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/YxSpeechRecognition.common.js +338 -827
- package/YxSpeechRecognition.common.js.map +1 -1
- package/YxSpeechRecognition.umd.js +352 -841
- package/YxSpeechRecognition.umd.js.map +1 -1
- package/YxSpeechRecognition.umd.min.js +2 -2
- package/YxSpeechRecognition.umd.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/******/ (function() { // webpackBootstrap
|
|
2
2
|
/******/ var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 211:
|
|
5
5
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6
6
|
|
|
7
7
|
"use strict";
|
|
@@ -15,27 +15,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15
15
|
|
|
16
16
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
17
17
|
// Module
|
|
18
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".message-wrapper[data-v-
|
|
18
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".message-wrapper[data-v-08153425]{display:flex;gap:.1rem;padding-right:calc(var(--444b7b41)*.29)}.message-content[data-v-08153425]{flex:1}.message-content-inner[data-v-08153425]{box-sizing:border-box;padding:calc(var(--444b7b41)*.38);display:flex;flex-direction:column}.message-content-inner[data-v-08153425]:after,.message-content-inner[data-v-08153425]:before{content:\"\";display:block;position:absolute}.message-content__text[data-v-08153425]{font-size:calc(var(--444b7b41)*1);line-height:calc(var(--444b7b41)*1.5);color:#fff}.message-avatar[data-v-08153425]{width:calc(var(--444b7b41)*2.1);height:calc(var(--444b7b41)*2.1);border-radius:100%;box-sizing:border-box;overflow:hidden;flex-shrink:0}.message-avatar img[data-v-08153425]{background-color:hsla(0,0%,100%,0);width:100%;height:100%}.message-type__none[data-v-08153425]{margin-top:.21rem}.message-type__to .message-content[data-v-08153425]{display:flex;justify-content:flex-end;margin-left:calc(var(--444b7b41)*.49)}.message-type__from .message-content[data-v-08153425]{display:flex;justify-content:flex-start;margin-right:calc(var(--444b7b41)*.45)}.message-type__to .message-content-inner[data-v-08153425]{background-color:rgba(98,183,0,.85);box-shadow:inset 0 0 calc(var(--444b7b41)*.57) 0 #fff3b4;border-radius:calc(var(--444b7b41)*.27);position:relative;margin-right:calc(var(--444b7b41)*.45)}.message-type__to .message-content-inner[data-v-08153425]:after{border-top:calc(var(--444b7b41)*.25) solid transparent;border-bottom:calc(var(--444b7b41)*.25) solid transparent;border-left:calc(var(--444b7b41)*.5) solid rgba(98,183,0,.85);transform:translateX(calc(var(--444b7b41)*.43));right:0;top:calc(var(--444b7b41)*.48)}.message-type__from .message-content-inner[data-v-08153425]{background-color:rgba(70,61,255,.85);box-shadow:inset 0 0 calc(var(--444b7b41)*.57) 0 #d4d9ff;border-radius:calc(var(--444b7b41)*.27);position:relative;margin-left:calc(var(--444b7b41)*.49)}.message-type__from .message-content-inner[data-v-08153425]:before{border-top:calc(var(--444b7b41)*.25) solid transparent;border-bottom:calc(var(--444b7b41)*.25) solid transparent;border-right:calc(var(--444b7b41)*.5) solid rgba(70,61,255,.85);transform:translateX(calc(var(--444b7b41)*-.46));left:0;top:calc(var(--444b7b41)*.48)}.message-type__to .message-avatar[data-v-08153425]{overflow:hidden}.message-type__none .message-content-inner[data-v-08153425]{background-color:#fff;position:relative;margin-left:.15rem}", ""]);
|
|
19
19
|
// Exports
|
|
20
20
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
/***/ }),
|
|
24
|
-
|
|
25
|
-
/***/ 193:
|
|
26
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
27
|
-
|
|
28
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
29
|
-
|
|
30
|
-
// load the styles
|
|
31
|
-
var content = __webpack_require__(75);
|
|
32
|
-
if(content.__esModule) content = content.default;
|
|
33
|
-
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
34
|
-
if(content.locals) module.exports = content.locals;
|
|
35
|
-
// add the styles to the DOM
|
|
36
|
-
var add = (__webpack_require__(459)/* ["default"] */ .A)
|
|
37
|
-
var update = add("71332bf9", content, true, {"sourceMap":false,"shadowMode":false});
|
|
38
|
-
|
|
39
23
|
/***/ }),
|
|
40
24
|
|
|
41
25
|
/***/ 280:
|
|
@@ -493,284 +477,6 @@ module.exports = function (i) {
|
|
|
493
477
|
|
|
494
478
|
/***/ }),
|
|
495
479
|
|
|
496
|
-
/***/ 633:
|
|
497
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
498
|
-
|
|
499
|
-
var _typeof = (__webpack_require__(738)["default"]);
|
|
500
|
-
function _regeneratorRuntime() {
|
|
501
|
-
"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
502
|
-
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
|
503
|
-
return r;
|
|
504
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
505
|
-
var t,
|
|
506
|
-
r = {},
|
|
507
|
-
e = Object.prototype,
|
|
508
|
-
n = e.hasOwnProperty,
|
|
509
|
-
o = "function" == typeof Symbol ? Symbol : {},
|
|
510
|
-
i = o.iterator || "@@iterator",
|
|
511
|
-
a = o.asyncIterator || "@@asyncIterator",
|
|
512
|
-
u = o.toStringTag || "@@toStringTag";
|
|
513
|
-
function c(t, r, e, n) {
|
|
514
|
-
Object.defineProperty(t, r, {
|
|
515
|
-
value: e,
|
|
516
|
-
enumerable: !n,
|
|
517
|
-
configurable: !n,
|
|
518
|
-
writable: !n
|
|
519
|
-
});
|
|
520
|
-
}
|
|
521
|
-
try {
|
|
522
|
-
c({}, "");
|
|
523
|
-
} catch (t) {
|
|
524
|
-
c = function c(t, r, e) {
|
|
525
|
-
return t[r] = e;
|
|
526
|
-
};
|
|
527
|
-
}
|
|
528
|
-
function h(r, e, n, o) {
|
|
529
|
-
var i = e && e.prototype instanceof Generator ? e : Generator,
|
|
530
|
-
a = Object.create(i.prototype);
|
|
531
|
-
return c(a, "_invoke", function (r, e, n) {
|
|
532
|
-
var o = 1;
|
|
533
|
-
return function (i, a) {
|
|
534
|
-
if (3 === o) throw Error("Generator is already running");
|
|
535
|
-
if (4 === o) {
|
|
536
|
-
if ("throw" === i) throw a;
|
|
537
|
-
return {
|
|
538
|
-
value: t,
|
|
539
|
-
done: !0
|
|
540
|
-
};
|
|
541
|
-
}
|
|
542
|
-
for (n.method = i, n.arg = a;;) {
|
|
543
|
-
var u = n.delegate;
|
|
544
|
-
if (u) {
|
|
545
|
-
var c = d(u, n);
|
|
546
|
-
if (c) {
|
|
547
|
-
if (c === f) continue;
|
|
548
|
-
return c;
|
|
549
|
-
}
|
|
550
|
-
}
|
|
551
|
-
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
|
552
|
-
if (1 === o) throw o = 4, n.arg;
|
|
553
|
-
n.dispatchException(n.arg);
|
|
554
|
-
} else "return" === n.method && n.abrupt("return", n.arg);
|
|
555
|
-
o = 3;
|
|
556
|
-
var h = s(r, e, n);
|
|
557
|
-
if ("normal" === h.type) {
|
|
558
|
-
if (o = n.done ? 4 : 2, h.arg === f) continue;
|
|
559
|
-
return {
|
|
560
|
-
value: h.arg,
|
|
561
|
-
done: n.done
|
|
562
|
-
};
|
|
563
|
-
}
|
|
564
|
-
"throw" === h.type && (o = 4, n.method = "throw", n.arg = h.arg);
|
|
565
|
-
}
|
|
566
|
-
};
|
|
567
|
-
}(r, n, new Context(o || [])), !0), a;
|
|
568
|
-
}
|
|
569
|
-
function s(t, r, e) {
|
|
570
|
-
try {
|
|
571
|
-
return {
|
|
572
|
-
type: "normal",
|
|
573
|
-
arg: t.call(r, e)
|
|
574
|
-
};
|
|
575
|
-
} catch (t) {
|
|
576
|
-
return {
|
|
577
|
-
type: "throw",
|
|
578
|
-
arg: t
|
|
579
|
-
};
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
|
-
r.wrap = h;
|
|
583
|
-
var f = {};
|
|
584
|
-
function Generator() {}
|
|
585
|
-
function GeneratorFunction() {}
|
|
586
|
-
function GeneratorFunctionPrototype() {}
|
|
587
|
-
var l = {};
|
|
588
|
-
c(l, i, function () {
|
|
589
|
-
return this;
|
|
590
|
-
});
|
|
591
|
-
var p = Object.getPrototypeOf,
|
|
592
|
-
y = p && p(p(x([])));
|
|
593
|
-
y && y !== e && n.call(y, i) && (l = y);
|
|
594
|
-
var v = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(l);
|
|
595
|
-
function g(t) {
|
|
596
|
-
["next", "throw", "return"].forEach(function (r) {
|
|
597
|
-
c(t, r, function (t) {
|
|
598
|
-
return this._invoke(r, t);
|
|
599
|
-
});
|
|
600
|
-
});
|
|
601
|
-
}
|
|
602
|
-
function AsyncIterator(t, r) {
|
|
603
|
-
function e(o, i, a, u) {
|
|
604
|
-
var c = s(t[o], t, i);
|
|
605
|
-
if ("throw" !== c.type) {
|
|
606
|
-
var h = c.arg,
|
|
607
|
-
f = h.value;
|
|
608
|
-
return f && "object" == _typeof(f) && n.call(f, "__await") ? r.resolve(f.__await).then(function (t) {
|
|
609
|
-
e("next", t, a, u);
|
|
610
|
-
}, function (t) {
|
|
611
|
-
e("throw", t, a, u);
|
|
612
|
-
}) : r.resolve(f).then(function (t) {
|
|
613
|
-
h.value = t, a(h);
|
|
614
|
-
}, function (t) {
|
|
615
|
-
return e("throw", t, a, u);
|
|
616
|
-
});
|
|
617
|
-
}
|
|
618
|
-
u(c.arg);
|
|
619
|
-
}
|
|
620
|
-
var o;
|
|
621
|
-
c(this, "_invoke", function (t, n) {
|
|
622
|
-
function i() {
|
|
623
|
-
return new r(function (r, o) {
|
|
624
|
-
e(t, n, r, o);
|
|
625
|
-
});
|
|
626
|
-
}
|
|
627
|
-
return o = o ? o.then(i, i) : i();
|
|
628
|
-
}, !0);
|
|
629
|
-
}
|
|
630
|
-
function d(r, e) {
|
|
631
|
-
var n = e.method,
|
|
632
|
-
o = r.i[n];
|
|
633
|
-
if (o === t) return e.delegate = null, "throw" === n && r.i["return"] && (e.method = "return", e.arg = t, d(r, e), "throw" === e.method) || "return" !== n && (e.method = "throw", e.arg = new TypeError("The iterator does not provide a '" + n + "' method")), f;
|
|
634
|
-
var i = s(o, r.i, e.arg);
|
|
635
|
-
if ("throw" === i.type) return e.method = "throw", e.arg = i.arg, e.delegate = null, f;
|
|
636
|
-
var a = i.arg;
|
|
637
|
-
return a ? a.done ? (e[r.r] = a.value, e.next = r.n, "return" !== e.method && (e.method = "next", e.arg = t), e.delegate = null, f) : a : (e.method = "throw", e.arg = new TypeError("iterator result is not an object"), e.delegate = null, f);
|
|
638
|
-
}
|
|
639
|
-
function w(t) {
|
|
640
|
-
this.tryEntries.push(t);
|
|
641
|
-
}
|
|
642
|
-
function m(r) {
|
|
643
|
-
var e = r[4] || {};
|
|
644
|
-
e.type = "normal", e.arg = t, r[4] = e;
|
|
645
|
-
}
|
|
646
|
-
function Context(t) {
|
|
647
|
-
this.tryEntries = [[-1]], t.forEach(w, this), this.reset(!0);
|
|
648
|
-
}
|
|
649
|
-
function x(r) {
|
|
650
|
-
if (null != r) {
|
|
651
|
-
var e = r[i];
|
|
652
|
-
if (e) return e.call(r);
|
|
653
|
-
if ("function" == typeof r.next) return r;
|
|
654
|
-
if (!isNaN(r.length)) {
|
|
655
|
-
var o = -1,
|
|
656
|
-
a = function e() {
|
|
657
|
-
for (; ++o < r.length;) if (n.call(r, o)) return e.value = r[o], e.done = !1, e;
|
|
658
|
-
return e.value = t, e.done = !0, e;
|
|
659
|
-
};
|
|
660
|
-
return a.next = a;
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
throw new TypeError(_typeof(r) + " is not iterable");
|
|
664
|
-
}
|
|
665
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype, c(v, "constructor", GeneratorFunctionPrototype), c(GeneratorFunctionPrototype, "constructor", GeneratorFunction), c(GeneratorFunctionPrototype, u, GeneratorFunction.displayName = "GeneratorFunction"), r.isGeneratorFunction = function (t) {
|
|
666
|
-
var r = "function" == typeof t && t.constructor;
|
|
667
|
-
return !!r && (r === GeneratorFunction || "GeneratorFunction" === (r.displayName || r.name));
|
|
668
|
-
}, r.mark = function (t) {
|
|
669
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, c(t, u, "GeneratorFunction")), t.prototype = Object.create(v), t;
|
|
670
|
-
}, r.awrap = function (t) {
|
|
671
|
-
return {
|
|
672
|
-
__await: t
|
|
673
|
-
};
|
|
674
|
-
}, g(AsyncIterator.prototype), c(AsyncIterator.prototype, a, function () {
|
|
675
|
-
return this;
|
|
676
|
-
}), r.AsyncIterator = AsyncIterator, r.async = function (t, e, n, o, i) {
|
|
677
|
-
void 0 === i && (i = Promise);
|
|
678
|
-
var a = new AsyncIterator(h(t, e, n, o), i);
|
|
679
|
-
return r.isGeneratorFunction(e) ? a : a.next().then(function (t) {
|
|
680
|
-
return t.done ? t.value : a.next();
|
|
681
|
-
});
|
|
682
|
-
}, g(v), c(v, u, "Generator"), c(v, i, function () {
|
|
683
|
-
return this;
|
|
684
|
-
}), c(v, "toString", function () {
|
|
685
|
-
return "[object Generator]";
|
|
686
|
-
}), r.keys = function (t) {
|
|
687
|
-
var r = Object(t),
|
|
688
|
-
e = [];
|
|
689
|
-
for (var n in r) e.unshift(n);
|
|
690
|
-
return function t() {
|
|
691
|
-
for (; e.length;) if ((n = e.pop()) in r) return t.value = n, t.done = !1, t;
|
|
692
|
-
return t.done = !0, t;
|
|
693
|
-
};
|
|
694
|
-
}, r.values = x, Context.prototype = {
|
|
695
|
-
constructor: Context,
|
|
696
|
-
reset: function reset(r) {
|
|
697
|
-
if (this.prev = this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(m), !r) for (var e in this) "t" === e.charAt(0) && n.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = t);
|
|
698
|
-
},
|
|
699
|
-
stop: function stop() {
|
|
700
|
-
this.done = !0;
|
|
701
|
-
var t = this.tryEntries[0][4];
|
|
702
|
-
if ("throw" === t.type) throw t.arg;
|
|
703
|
-
return this.rval;
|
|
704
|
-
},
|
|
705
|
-
dispatchException: function dispatchException(r) {
|
|
706
|
-
if (this.done) throw r;
|
|
707
|
-
var e = this;
|
|
708
|
-
function n(t) {
|
|
709
|
-
a.type = "throw", a.arg = r, e.next = t;
|
|
710
|
-
}
|
|
711
|
-
for (var o = e.tryEntries.length - 1; o >= 0; --o) {
|
|
712
|
-
var i = this.tryEntries[o],
|
|
713
|
-
a = i[4],
|
|
714
|
-
u = this.prev,
|
|
715
|
-
c = i[1],
|
|
716
|
-
h = i[2];
|
|
717
|
-
if (-1 === i[0]) return n("end"), !1;
|
|
718
|
-
if (!c && !h) throw Error("try statement without catch or finally");
|
|
719
|
-
if (null != i[0] && i[0] <= u) {
|
|
720
|
-
if (u < c) return this.method = "next", this.arg = t, n(c), !0;
|
|
721
|
-
if (u < h) return n(h), !1;
|
|
722
|
-
}
|
|
723
|
-
}
|
|
724
|
-
},
|
|
725
|
-
abrupt: function abrupt(t, r) {
|
|
726
|
-
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
727
|
-
var n = this.tryEntries[e];
|
|
728
|
-
if (n[0] > -1 && n[0] <= this.prev && this.prev < n[2]) {
|
|
729
|
-
var o = n;
|
|
730
|
-
break;
|
|
731
|
-
}
|
|
732
|
-
}
|
|
733
|
-
o && ("break" === t || "continue" === t) && o[0] <= r && r <= o[2] && (o = null);
|
|
734
|
-
var i = o ? o[4] : {};
|
|
735
|
-
return i.type = t, i.arg = r, o ? (this.method = "next", this.next = o[2], f) : this.complete(i);
|
|
736
|
-
},
|
|
737
|
-
complete: function complete(t, r) {
|
|
738
|
-
if ("throw" === t.type) throw t.arg;
|
|
739
|
-
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 && r && (this.next = r), f;
|
|
740
|
-
},
|
|
741
|
-
finish: function finish(t) {
|
|
742
|
-
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
743
|
-
var e = this.tryEntries[r];
|
|
744
|
-
if (e[2] === t) return this.complete(e[4], e[3]), m(e), f;
|
|
745
|
-
}
|
|
746
|
-
},
|
|
747
|
-
"catch": function _catch(t) {
|
|
748
|
-
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
749
|
-
var e = this.tryEntries[r];
|
|
750
|
-
if (e[0] === t) {
|
|
751
|
-
var n = e[4];
|
|
752
|
-
if ("throw" === n.type) {
|
|
753
|
-
var o = n.arg;
|
|
754
|
-
m(e);
|
|
755
|
-
}
|
|
756
|
-
return o;
|
|
757
|
-
}
|
|
758
|
-
}
|
|
759
|
-
throw Error("illegal catch attempt");
|
|
760
|
-
},
|
|
761
|
-
delegateYield: function delegateYield(r, e, n) {
|
|
762
|
-
return this.delegate = {
|
|
763
|
-
i: x(r),
|
|
764
|
-
r: e,
|
|
765
|
-
n: n
|
|
766
|
-
}, "next" === this.method && (this.arg = t), f;
|
|
767
|
-
}
|
|
768
|
-
}, r;
|
|
769
|
-
}
|
|
770
|
-
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
771
|
-
|
|
772
|
-
/***/ }),
|
|
773
|
-
|
|
774
480
|
/***/ 671:
|
|
775
481
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
776
482
|
|
|
@@ -1062,44 +768,6 @@ window && (window.CryptoJSTest = CryptoJS);
|
|
|
1062
768
|
"use strict";
|
|
1063
769
|
module.exports = "data:image/png;base64,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";
|
|
1064
770
|
|
|
1065
|
-
/***/ }),
|
|
1066
|
-
|
|
1067
|
-
/***/ 738:
|
|
1068
|
-
/***/ (function(module) {
|
|
1069
|
-
|
|
1070
|
-
function _typeof(o) {
|
|
1071
|
-
"@babel/helpers - typeof";
|
|
1072
|
-
|
|
1073
|
-
return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
1074
|
-
return typeof o;
|
|
1075
|
-
} : function (o) {
|
|
1076
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
1077
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o);
|
|
1078
|
-
}
|
|
1079
|
-
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1080
|
-
|
|
1081
|
-
/***/ }),
|
|
1082
|
-
|
|
1083
|
-
/***/ 756:
|
|
1084
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1085
|
-
|
|
1086
|
-
// TODO(Babel 8): Remove this file.
|
|
1087
|
-
|
|
1088
|
-
var runtime = __webpack_require__(633)();
|
|
1089
|
-
module.exports = runtime;
|
|
1090
|
-
|
|
1091
|
-
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
|
1092
|
-
try {
|
|
1093
|
-
regeneratorRuntime = runtime;
|
|
1094
|
-
} catch (accidentalStrictMode) {
|
|
1095
|
-
if (typeof globalThis === "object") {
|
|
1096
|
-
globalThis.regeneratorRuntime = runtime;
|
|
1097
|
-
} else {
|
|
1098
|
-
Function("r", "regeneratorRuntime = r")(runtime);
|
|
1099
|
-
}
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
771
|
/***/ }),
|
|
1104
772
|
|
|
1105
773
|
/***/ 780:
|
|
@@ -1116,6 +784,22 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABX
|
|
|
1116
784
|
"use strict";
|
|
1117
785
|
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABYCAMAAABGS8AGAAAC+lBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////J4P8UW7f41rtWRjJ2rf/////+/v9QlKHbwKLX6P/4+//M4v/r8//8/f/2+v/o8f/e7P/c6//b6v/P5P/9/f7K4P7T5v8bYbvI3/9+sv9tXkz6/P/h7f/U5v8kaMNaSjfv9f/t9f/N4v+Muv91rP5zq/331boXXbn107iQvf/C2/5upvpxqflpovbx2MUfZL8YXrrdwqRfUD9cTTmz0v+hx//H3v3h6vb38u7V3e6YvOuQtulFhNszdc5Phcuqt8hDfcgubcAiZbtZmrmgqbZhn6qHt//4+/z09/vM3/vp8fiwzvVln/Jgmu/Y5+tZlerZ3ehXkue7zuZNi+Fqmtqzw9lmotjk2tdilNZhkc+hxszs2csqbsg9eMYpasDn07/21r6Ds7zvzrTszLCdpLDnyK2ZoKrkxqlamqaXnaXbwKPHq5LCpY21m4VwaGCHclxsWkZYSDSmyv+XwP94r//l7/6tzv78+vjN3vjF2/i40/jn7vfb5fRwqvNmoPPn8PLT4PGgwu+/0+65zumzyujT5OdSj+Wow+SmweRppeKbueCVtd/g2959p95vntvw5Nc/f9d6otZynNPo2dKwvtJtmdJsmNI5etJWjNFoltBLg8pfnsczcsTz18LRyMIhZbzy0bZyqLPhyLFSlqjfxadUlqPOsZeEg4R9e3iiiXGSgW9sZFppX1O71v6awv681vquzvqixffD2PWDtfXv8PSryvOgwe690Optp+rc3OJ/qeHz6uDy6uC4yeDE29+91tt+sdpSi9jb1NVvqNRbkNOmyM8vccqMucGJtr/ey7zAvLzizbZ4rLbpzLVZma/Xw67hwajbvKLHsqCKjI+ulH2qkHmbg2yGd2hybGSQeWN0YUxjV0l5KC0lAAAAInRSTlMA7sIrBvr46+Pf3dzJxa+onZOIgHx3bWVeXFFQKSMgBdLRppE8rQAABtJJREFUWMOk1jlvGlEUhuGBeF8xGLBZvBxd9I00ww4yhcFiKSwqFyBZSkXj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";
|
|
1118
786
|
|
|
787
|
+
/***/ }),
|
|
788
|
+
|
|
789
|
+
/***/ 825:
|
|
790
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
791
|
+
|
|
792
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
793
|
+
|
|
794
|
+
// load the styles
|
|
795
|
+
var content = __webpack_require__(211);
|
|
796
|
+
if(content.__esModule) content = content.default;
|
|
797
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
798
|
+
if(content.locals) module.exports = content.locals;
|
|
799
|
+
// add the styles to the DOM
|
|
800
|
+
var add = (__webpack_require__(459)/* ["default"] */ .A)
|
|
801
|
+
var update = add("343a41cd", content, true, {"sourceMap":false,"shadowMode":false});
|
|
802
|
+
|
|
1119
803
|
/***/ })
|
|
1120
804
|
|
|
1121
805
|
/******/ });
|
|
@@ -1334,79 +1018,6 @@ var staticRenderFns = [function () {
|
|
|
1334
1018
|
|
|
1335
1019
|
;// ./package/SpeechRecognition/index.vue?vue&type=template&id=643faf61&scoped=true
|
|
1336
1020
|
|
|
1337
|
-
;// ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
1338
|
-
function typeof_typeof(o) {
|
|
1339
|
-
"@babel/helpers - typeof";
|
|
1340
|
-
|
|
1341
|
-
return typeof_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
1342
|
-
return typeof o;
|
|
1343
|
-
} : function (o) {
|
|
1344
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
1345
|
-
}, typeof_typeof(o);
|
|
1346
|
-
}
|
|
1347
|
-
|
|
1348
|
-
;// ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
1349
|
-
|
|
1350
|
-
function toPrimitive(t, r) {
|
|
1351
|
-
if ("object" != typeof_typeof(t) || !t) return t;
|
|
1352
|
-
var e = t[Symbol.toPrimitive];
|
|
1353
|
-
if (void 0 !== e) {
|
|
1354
|
-
var i = e.call(t, r || "default");
|
|
1355
|
-
if ("object" != typeof_typeof(i)) return i;
|
|
1356
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1357
|
-
}
|
|
1358
|
-
return ("string" === r ? String : Number)(t);
|
|
1359
|
-
}
|
|
1360
|
-
|
|
1361
|
-
;// ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
function toPropertyKey(t) {
|
|
1365
|
-
var i = toPrimitive(t, "string");
|
|
1366
|
-
return "symbol" == typeof_typeof(i) ? i : i + "";
|
|
1367
|
-
}
|
|
1368
|
-
|
|
1369
|
-
;// ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
1370
|
-
|
|
1371
|
-
function _defineProperty(e, r, t) {
|
|
1372
|
-
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
1373
|
-
value: t,
|
|
1374
|
-
enumerable: !0,
|
|
1375
|
-
configurable: !0,
|
|
1376
|
-
writable: !0
|
|
1377
|
-
}) : e[r] = t, e;
|
|
1378
|
-
}
|
|
1379
|
-
|
|
1380
|
-
;// ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
1381
|
-
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
1382
|
-
try {
|
|
1383
|
-
var i = n[a](c),
|
|
1384
|
-
u = i.value;
|
|
1385
|
-
} catch (n) {
|
|
1386
|
-
return void e(n);
|
|
1387
|
-
}
|
|
1388
|
-
i.done ? t(u) : Promise.resolve(u).then(r, o);
|
|
1389
|
-
}
|
|
1390
|
-
function _asyncToGenerator(n) {
|
|
1391
|
-
return function () {
|
|
1392
|
-
var t = this,
|
|
1393
|
-
e = arguments;
|
|
1394
|
-
return new Promise(function (r, o) {
|
|
1395
|
-
var a = n.apply(t, e);
|
|
1396
|
-
function _next(n) {
|
|
1397
|
-
asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
|
|
1398
|
-
}
|
|
1399
|
-
function _throw(n) {
|
|
1400
|
-
asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
|
|
1401
|
-
}
|
|
1402
|
-
_next(void 0);
|
|
1403
|
-
});
|
|
1404
|
-
};
|
|
1405
|
-
}
|
|
1406
|
-
|
|
1407
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
|
|
1408
|
-
var regenerator = __webpack_require__(756);
|
|
1409
|
-
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
|
1410
1021
|
// EXTERNAL MODULE: ./package/SpeechRecognition/utils/speech/cryptojs.js
|
|
1411
1022
|
var cryptojs = __webpack_require__(672);
|
|
1412
1023
|
;// ./package/SpeechRecognition/utils/speech/getSignature.js
|
|
@@ -1443,71 +1054,19 @@ function signCallback(signStr) {
|
|
|
1443
1054
|
/* harmony default export */ var getSignature = (signCallback);
|
|
1444
1055
|
|
|
1445
1056
|
/** 获取签名 end */
|
|
1446
|
-
;// ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
1447
|
-
function _classCallCheck(a, n) {
|
|
1448
|
-
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
1449
|
-
}
|
|
1450
|
-
|
|
1451
|
-
;// ./node_modules/@babel/runtime/helpers/esm/createClass.js
|
|
1452
|
-
|
|
1453
|
-
function _defineProperties(e, r) {
|
|
1454
|
-
for (var t = 0; t < r.length; t++) {
|
|
1455
|
-
var o = r[t];
|
|
1456
|
-
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);
|
|
1457
|
-
}
|
|
1458
|
-
}
|
|
1459
|
-
function _createClass(e, r, t) {
|
|
1460
|
-
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
1461
|
-
writable: !1
|
|
1462
|
-
}), e;
|
|
1463
|
-
}
|
|
1464
|
-
|
|
1465
|
-
;// ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
1466
|
-
function _arrayLikeToArray(r, a) {
|
|
1467
|
-
(null == a || a > r.length) && (a = r.length);
|
|
1468
|
-
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
1469
|
-
return n;
|
|
1470
|
-
}
|
|
1471
|
-
|
|
1472
|
-
;// ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
1473
|
-
|
|
1474
|
-
function _arrayWithoutHoles(r) {
|
|
1475
|
-
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
|
1476
|
-
}
|
|
1477
|
-
|
|
1478
|
-
;// ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
1479
|
-
function _iterableToArray(r) {
|
|
1480
|
-
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
1481
|
-
}
|
|
1482
|
-
|
|
1483
|
-
;// ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
1484
|
-
|
|
1485
|
-
function _unsupportedIterableToArray(r, a) {
|
|
1486
|
-
if (r) {
|
|
1487
|
-
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
1488
|
-
var t = {}.toString.call(r).slice(8, -1);
|
|
1489
|
-
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
1490
|
-
}
|
|
1491
|
-
}
|
|
1492
|
-
|
|
1493
|
-
;// ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
1494
|
-
function _nonIterableSpread() {
|
|
1495
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1496
|
-
}
|
|
1497
|
-
|
|
1498
|
-
;// ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
function toConsumableArray_toConsumableArray(r) {
|
|
1504
|
-
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
1505
|
-
}
|
|
1506
|
-
|
|
1507
1057
|
;// ./package/SpeechRecognition/utils/speech/webrecorder.js
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1058
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
1059
|
+
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
1060
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
1061
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
1062
|
+
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
1063
|
+
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
1064
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
1065
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
1066
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
1067
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
1068
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
1069
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
1511
1070
|
var audioWorkletCode = "\nclass MyProcessor extends AudioWorkletProcessor {\n constructor(options) {\n super(options);\n this.audioData = [];\n this.nextUpdateFrame = 40;\n }\n\n get intervalInFrames() {\n return 200 / 1000 * sampleRate;\n }\n\n process(inputs) {\n // \u53BB\u5904\u7406\u97F3\u9891\u6570\u636E\n // eslint-disable-next-line no-undef\n if (inputs[0][0]) {\n const output = ".concat(to16kHz, "(inputs[0][0], sampleRate);\n const audioData = ").concat(to16BitPCM, "(output);\n const data = [...new Int8Array(audioData.buffer)];\n this.audioData = this.audioData.concat(data);\n this.nextUpdateFrame -= inputs[0][0].length;\n if (this.nextUpdateFrame < 0) {\n this.nextUpdateFrame += this.intervalInFrames;\n this.port.postMessage({\n audioData: new Int8Array(this.audioData)\n });\n this.audioData = [];\n }\n return true;\n }\n }\n}\n\nregisterProcessor('my-processor', MyProcessor);\n");
|
|
1512
1071
|
var audioWorkletBlobURL = window.URL.createObjectURL(new Blob([audioWorkletCode], {
|
|
1513
1072
|
type: 'text/javascript'
|
|
@@ -1636,7 +1195,7 @@ var WebRecorder = /*#__PURE__*/function () {
|
|
|
1636
1195
|
var inputData = e.inputBuffer.getChannelData(0);
|
|
1637
1196
|
var output = to16kHz(inputData, _this.audioContext.sampleRate);
|
|
1638
1197
|
var audioData = to16BitPCM(output);
|
|
1639
|
-
(_this$audioData = _this.audioData).push.apply(_this$audioData,
|
|
1198
|
+
(_this$audioData = _this.audioData).push.apply(_this$audioData, _toConsumableArray(new Int8Array(audioData.buffer)));
|
|
1640
1199
|
if (_this.audioData.length > 6400) {
|
|
1641
1200
|
var audioDataArray = new Int8Array(_this.audioData);
|
|
1642
1201
|
_this.OnReceivedData(audioDataArray);
|
|
@@ -1685,67 +1244,29 @@ var WebRecorder = /*#__PURE__*/function () {
|
|
|
1685
1244
|
}();
|
|
1686
1245
|
|
|
1687
1246
|
window && (window.WebRecorder = WebRecorder);
|
|
1688
|
-
;// ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
|
1689
|
-
function _arrayWithHoles(r) {
|
|
1690
|
-
if (Array.isArray(r)) return r;
|
|
1691
|
-
}
|
|
1692
|
-
|
|
1693
|
-
;// ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
|
1694
|
-
function _iterableToArrayLimit(r, l) {
|
|
1695
|
-
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
1696
|
-
if (null != t) {
|
|
1697
|
-
var e,
|
|
1698
|
-
n,
|
|
1699
|
-
i,
|
|
1700
|
-
u,
|
|
1701
|
-
a = [],
|
|
1702
|
-
f = !0,
|
|
1703
|
-
o = !1;
|
|
1704
|
-
try {
|
|
1705
|
-
if (i = (t = t.call(r)).next, 0 === l) {
|
|
1706
|
-
if (Object(t) !== t) return;
|
|
1707
|
-
f = !1;
|
|
1708
|
-
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
1709
|
-
} catch (r) {
|
|
1710
|
-
o = !0, n = r;
|
|
1711
|
-
} finally {
|
|
1712
|
-
try {
|
|
1713
|
-
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
|
|
1714
|
-
} finally {
|
|
1715
|
-
if (o) throw n;
|
|
1716
|
-
}
|
|
1717
|
-
}
|
|
1718
|
-
return a;
|
|
1719
|
-
}
|
|
1720
|
-
}
|
|
1721
|
-
|
|
1722
|
-
;// ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
|
1723
|
-
function _nonIterableRest() {
|
|
1724
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1725
|
-
}
|
|
1726
|
-
|
|
1727
|
-
;// ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
function _slicedToArray(r, e) {
|
|
1733
|
-
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
1734
|
-
}
|
|
1735
|
-
|
|
1736
1247
|
;// ./package/SpeechRecognition/utils/speech/speechrecognizer.js
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1248
|
+
function speechrecognizer_typeof(o) { "@babel/helpers - typeof"; return speechrecognizer_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, speechrecognizer_typeof(o); }
|
|
1249
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || speechrecognizer_unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
1250
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
1251
|
+
function speechrecognizer_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return speechrecognizer_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? speechrecognizer_arrayLikeToArray(r, a) : void 0; } }
|
|
1252
|
+
function speechrecognizer_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
1253
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
1254
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
1742
1255
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1743
1256
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1744
|
-
|
|
1257
|
+
function _defineProperty(e, r, t) { return (r = speechrecognizer_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
1258
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return r; }; var t, r = {}, e = Object.prototype, n = e.hasOwnProperty, o = "function" == typeof Symbol ? Symbol : {}, i = o.iterator || "@@iterator", a = o.asyncIterator || "@@asyncIterator", u = o.toStringTag || "@@toStringTag"; function c(t, r, e, n) { return Object.defineProperty(t, r, { value: e, enumerable: !n, configurable: !n, writable: !n }); } try { c({}, ""); } catch (t) { c = function c(t, r, e) { return t[r] = e; }; } function h(r, e, n, o) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype); return c(a, "_invoke", function (r, e, n) { var o = 1; return function (i, a) { if (3 === o) throw Error("Generator is already running"); if (4 === o) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var u = n.delegate; if (u) { var c = d(u, n); if (c) { if (c === f) continue; return c; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (1 === o) throw o = 4, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = 3; var h = s(r, e, n); if ("normal" === h.type) { if (o = n.done ? 4 : 2, h.arg === f) continue; return { value: h.arg, done: n.done }; } "throw" === h.type && (o = 4, n.method = "throw", n.arg = h.arg); } }; }(r, n, new Context(o || [])), !0), a; } function s(t, r, e) { try { return { type: "normal", arg: t.call(r, e) }; } catch (t) { return { type: "throw", arg: t }; } } r.wrap = h; var f = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var l = {}; c(l, i, function () { return this; }); var p = Object.getPrototypeOf, y = p && p(p(x([]))); y && y !== e && n.call(y, i) && (l = y); var v = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(l); function g(t) { ["next", "throw", "return"].forEach(function (r) { c(t, r, function (t) { return this._invoke(r, t); }); }); } function AsyncIterator(t, r) { function e(o, i, a, u) { var c = s(t[o], t, i); if ("throw" !== c.type) { var h = c.arg, f = h.value; return f && "object" == speechrecognizer_typeof(f) && n.call(f, "__await") ? r.resolve(f.__await).then(function (t) { e("next", t, a, u); }, function (t) { e("throw", t, a, u); }) : r.resolve(f).then(function (t) { h.value = t, a(h); }, function (t) { return e("throw", t, a, u); }); } u(c.arg); } var o; c(this, "_invoke", function (t, n) { function i() { return new r(function (r, o) { e(t, n, r, o); }); } return o = o ? o.then(i, i) : i(); }, !0); } function d(r, e) { var n = e.method, o = r.i[n]; if (o === t) return e.delegate = null, "throw" === n && r.i.return && (e.method = "return", e.arg = t, d(r, e), "throw" === e.method) || "return" !== n && (e.method = "throw", e.arg = new TypeError("The iterator does not provide a '" + n + "' method")), f; var i = s(o, r.i, e.arg); if ("throw" === i.type) return e.method = "throw", e.arg = i.arg, e.delegate = null, f; var a = i.arg; return a ? a.done ? (e[r.r] = a.value, e.next = r.n, "return" !== e.method && (e.method = "next", e.arg = t), e.delegate = null, f) : a : (e.method = "throw", e.arg = new TypeError("iterator result is not an object"), e.delegate = null, f); } function w(t) { this.tryEntries.push(t); } function m(r) { var e = r[4] || {}; e.type = "normal", e.arg = t, r[4] = e; } function Context(t) { this.tryEntries = [[-1]], t.forEach(w, this), this.reset(!0); } function x(r) { if (null != r) { var e = r[i]; if (e) return e.call(r); if ("function" == typeof r.next) return r; if (!isNaN(r.length)) { var o = -1, a = function e() { for (; ++o < r.length;) if (n.call(r, o)) return e.value = r[o], e.done = !1, e; return e.value = t, e.done = !0, e; }; return a.next = a; } } throw new TypeError(speechrecognizer_typeof(r) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, c(v, "constructor", GeneratorFunctionPrototype), c(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = c(GeneratorFunctionPrototype, u, "GeneratorFunction"), r.isGeneratorFunction = function (t) { var r = "function" == typeof t && t.constructor; return !!r && (r === GeneratorFunction || "GeneratorFunction" === (r.displayName || r.name)); }, r.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, c(t, u, "GeneratorFunction")), t.prototype = Object.create(v), t; }, r.awrap = function (t) { return { __await: t }; }, g(AsyncIterator.prototype), c(AsyncIterator.prototype, a, function () { return this; }), r.AsyncIterator = AsyncIterator, r.async = function (t, e, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(h(t, e, n, o), i); return r.isGeneratorFunction(e) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, g(v), c(v, u, "Generator"), c(v, i, function () { return this; }), c(v, "toString", function () { return "[object Generator]"; }), r.keys = function (t) { var r = Object(t), e = []; for (var n in r) e.unshift(n); return function t() { for (; e.length;) if ((n = e.pop()) in r) return t.value = n, t.done = !1, t; return t.done = !0, t; }; }, r.values = x, Context.prototype = { constructor: Context, reset: function reset(r) { if (this.prev = this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(m), !r) for (var e in this) "t" === e.charAt(0) && n.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0][4]; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(r) { if (this.done) throw r; var e = this; function n(t) { a.type = "throw", a.arg = r, e.next = t; } for (var o = e.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i[4], u = this.prev, c = i[1], h = i[2]; if (-1 === i[0]) return n("end"), !1; if (!c && !h) throw Error("try statement without catch or finally"); if (null != i[0] && i[0] <= u) { if (u < c) return this.method = "next", this.arg = t, n(c), !0; if (u < h) return n(h), !1; } } }, abrupt: function abrupt(t, r) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var n = this.tryEntries[e]; if (n[0] > -1 && n[0] <= this.prev && this.prev < n[2]) { var o = n; break; } } o && ("break" === t || "continue" === t) && o[0] <= r && r <= o[2] && (o = null); var i = o ? o[4] : {}; return i.type = t, i.arg = r, o ? (this.method = "next", this.next = o[2], f) : this.complete(i); }, complete: function complete(t, r) { if ("throw" === t.type) throw t.arg; 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 && r && (this.next = r), f; }, finish: function finish(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[2] === t) return this.complete(e[4], e[3]), m(e), f; } }, catch: function _catch(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[0] === t) { var n = e[4]; if ("throw" === n.type) { var o = n.arg; m(e); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(r, e, n) { return this.delegate = { i: x(r), r: e, n: n }, "next" === this.method && (this.arg = t), f; } }, r; }
|
|
1259
|
+
function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
1260
|
+
function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
1261
|
+
function speechrecognizer_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
1262
|
+
function speechrecognizer_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, speechrecognizer_toPropertyKey(o.key), o); } }
|
|
1263
|
+
function speechrecognizer_createClass(e, r, t) { return r && speechrecognizer_defineProperties(e.prototype, r), t && speechrecognizer_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
1264
|
+
function speechrecognizer_toPropertyKey(t) { var i = speechrecognizer_toPrimitive(t, "string"); return "symbol" == speechrecognizer_typeof(i) ? i : i + ""; }
|
|
1265
|
+
function speechrecognizer_toPrimitive(t, r) { if ("object" != speechrecognizer_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != speechrecognizer_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
1745
1266
|
|
|
1746
1267
|
var NewCredential = /*#__PURE__*/function () {
|
|
1747
1268
|
function NewCredential(query) {
|
|
1748
|
-
|
|
1269
|
+
speechrecognizer_classCallCheck(this, NewCredential);
|
|
1749
1270
|
this.config = {
|
|
1750
1271
|
appid: query.appid,
|
|
1751
1272
|
secretid: query.secretid,
|
|
@@ -1753,7 +1274,7 @@ var NewCredential = /*#__PURE__*/function () {
|
|
|
1753
1274
|
};
|
|
1754
1275
|
this.query = query || null;
|
|
1755
1276
|
}
|
|
1756
|
-
return
|
|
1277
|
+
return speechrecognizer_createClass(NewCredential, [{
|
|
1757
1278
|
key: "formatSignString",
|
|
1758
1279
|
value: function formatSignString(params) {
|
|
1759
1280
|
var strParam = '';
|
|
@@ -1773,14 +1294,14 @@ var NewCredential = /*#__PURE__*/function () {
|
|
|
1773
1294
|
}, {
|
|
1774
1295
|
key: "createQuery",
|
|
1775
1296
|
value: function () {
|
|
1776
|
-
var _createQuery = _asyncToGenerator(/*#__PURE__*/
|
|
1297
|
+
var _createQuery = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
1777
1298
|
var params, time, guid, getServerTime, _getServerTime, serverTime;
|
|
1778
|
-
return
|
|
1299
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
1779
1300
|
while (1) switch (_context2.prev = _context2.next) {
|
|
1780
1301
|
case 0:
|
|
1781
1302
|
_getServerTime = function _getServerTime3() {
|
|
1782
|
-
_getServerTime = _asyncToGenerator(/*#__PURE__*/
|
|
1783
|
-
return
|
|
1303
|
+
_getServerTime = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
1304
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
1784
1305
|
while (1) switch (_context.prev = _context.next) {
|
|
1785
1306
|
case 0:
|
|
1786
1307
|
return _context.abrupt("return", new Promise(function (resolve, reject) {
|
|
@@ -1855,9 +1376,9 @@ var NewCredential = /*#__PURE__*/function () {
|
|
|
1855
1376
|
}, {
|
|
1856
1377
|
key: "getSignStr",
|
|
1857
1378
|
value: function () {
|
|
1858
|
-
var _getSignStr = _asyncToGenerator(/*#__PURE__*/
|
|
1379
|
+
var _getSignStr = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
|
|
1859
1380
|
var queryStr;
|
|
1860
|
-
return
|
|
1381
|
+
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
1861
1382
|
while (1) switch (_context3.prev = _context3.next) {
|
|
1862
1383
|
case 0:
|
|
1863
1384
|
_context3.next = 2;
|
|
@@ -1880,7 +1401,7 @@ var NewCredential = /*#__PURE__*/function () {
|
|
|
1880
1401
|
}();
|
|
1881
1402
|
var SpeechRecognizer = /*#__PURE__*/function () {
|
|
1882
1403
|
function SpeechRecognizer(params) {
|
|
1883
|
-
|
|
1404
|
+
speechrecognizer_classCallCheck(this, SpeechRecognizer);
|
|
1884
1405
|
this.appid = params.appid || '';
|
|
1885
1406
|
this.secretid = params.secretid || '';
|
|
1886
1407
|
this.socket = null;
|
|
@@ -1892,7 +1413,7 @@ var SpeechRecognizer = /*#__PURE__*/function () {
|
|
|
1892
1413
|
this.isRecognizeComplete = false; // 当前是否识别结束
|
|
1893
1414
|
}
|
|
1894
1415
|
// 暂停识别,关闭连接
|
|
1895
|
-
return
|
|
1416
|
+
return speechrecognizer_createClass(SpeechRecognizer, [{
|
|
1896
1417
|
key: "stop",
|
|
1897
1418
|
value: function stop() {
|
|
1898
1419
|
if (this.socket && this.socket.readyState === 1) {
|
|
@@ -1910,9 +1431,9 @@ var SpeechRecognizer = /*#__PURE__*/function () {
|
|
|
1910
1431
|
}, {
|
|
1911
1432
|
key: "getUrl",
|
|
1912
1433
|
value: function () {
|
|
1913
|
-
var _getUrl = _asyncToGenerator(/*#__PURE__*/
|
|
1434
|
+
var _getUrl = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
|
|
1914
1435
|
var asr, signStr;
|
|
1915
|
-
return
|
|
1436
|
+
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
1916
1437
|
while (1) switch (_context4.prev = _context4.next) {
|
|
1917
1438
|
case 0:
|
|
1918
1439
|
// if (!this.appid || !this.secretid) {
|
|
@@ -1939,10 +1460,10 @@ var SpeechRecognizer = /*#__PURE__*/function () {
|
|
|
1939
1460
|
}, {
|
|
1940
1461
|
key: "start",
|
|
1941
1462
|
value: function () {
|
|
1942
|
-
var _start = _asyncToGenerator(/*#__PURE__*/
|
|
1463
|
+
var _start = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
|
|
1943
1464
|
var _this = this;
|
|
1944
1465
|
var url, self, TIConfig, servicepath, headers, urlParams;
|
|
1945
|
-
return
|
|
1466
|
+
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
1946
1467
|
while (1) switch (_context5.prev = _context5.next) {
|
|
1947
1468
|
case 0:
|
|
1948
1469
|
_context5.next = 2;
|
|
@@ -2113,13 +1634,17 @@ var SpeechRecognizer = /*#__PURE__*/function () {
|
|
|
2113
1634
|
|
|
2114
1635
|
window && (window.SpeechRecognizer = SpeechRecognizer);
|
|
2115
1636
|
;// ./package/SpeechRecognition/utils/speech/webaudiospeechrecognizer.js
|
|
2116
|
-
|
|
2117
|
-
|
|
1637
|
+
function webaudiospeechrecognizer_typeof(o) { "@babel/helpers - typeof"; return webaudiospeechrecognizer_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, webaudiospeechrecognizer_typeof(o); }
|
|
1638
|
+
function webaudiospeechrecognizer_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
1639
|
+
function webaudiospeechrecognizer_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, webaudiospeechrecognizer_toPropertyKey(o.key), o); } }
|
|
1640
|
+
function webaudiospeechrecognizer_createClass(e, r, t) { return r && webaudiospeechrecognizer_defineProperties(e.prototype, r), t && webaudiospeechrecognizer_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
1641
|
+
function webaudiospeechrecognizer_toPropertyKey(t) { var i = webaudiospeechrecognizer_toPrimitive(t, "string"); return "symbol" == webaudiospeechrecognizer_typeof(i) ? i : i + ""; }
|
|
1642
|
+
function webaudiospeechrecognizer_toPrimitive(t, r) { if ("object" != webaudiospeechrecognizer_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != webaudiospeechrecognizer_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
2118
1643
|
|
|
2119
1644
|
|
|
2120
1645
|
var WebAudioSpeechRecognizer = /*#__PURE__*/function () {
|
|
2121
1646
|
function WebAudioSpeechRecognizer(params) {
|
|
2122
|
-
|
|
1647
|
+
webaudiospeechrecognizer_classCallCheck(this, WebAudioSpeechRecognizer);
|
|
2123
1648
|
this.params = params;
|
|
2124
1649
|
this.recorder = null;
|
|
2125
1650
|
this.speechRecognizer = null;
|
|
@@ -2127,7 +1652,7 @@ var WebAudioSpeechRecognizer = /*#__PURE__*/function () {
|
|
|
2127
1652
|
this.audioData = [];
|
|
2128
1653
|
this.timer = null;
|
|
2129
1654
|
}
|
|
2130
|
-
return
|
|
1655
|
+
return webaudiospeechrecognizer_createClass(WebAudioSpeechRecognizer, [{
|
|
2131
1656
|
key: "start",
|
|
2132
1657
|
value: function start() {
|
|
2133
1658
|
var _this = this;
|
|
@@ -2238,17 +1763,16 @@ var WebAudioSpeechRecognizer = /*#__PURE__*/function () {
|
|
|
2238
1763
|
}();
|
|
2239
1764
|
|
|
2240
1765
|
window && (window.WebAudioSpeechRecognizer = WebAudioSpeechRecognizer);
|
|
2241
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/Message.vue?vue&type=template&id=
|
|
2242
|
-
var
|
|
1766
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/Message.vue?vue&type=template&id=08153425&scoped=true
|
|
1767
|
+
var Messagevue_type_template_id_08153425_scoped_true_render = function render() {
|
|
2243
1768
|
var _vm = this,
|
|
2244
|
-
_c = _vm._self._c
|
|
2245
|
-
_setup = _vm._self._setupProxy;
|
|
1769
|
+
_c = _vm._self._c;
|
|
2246
1770
|
return _c('div', {
|
|
2247
1771
|
staticClass: "message-wrapper",
|
|
2248
1772
|
class: {
|
|
2249
|
-
'message-type__from': _vm.type ===
|
|
2250
|
-
'message-type__to': _vm.type ===
|
|
2251
|
-
'message-type__none': _vm.type ===
|
|
1773
|
+
'message-type__from': _vm.type === _vm.IMessageType.FROM,
|
|
1774
|
+
'message-type__to': _vm.type === _vm.IMessageType.TO,
|
|
1775
|
+
'message-type__none': _vm.type === _vm.IMessageType.NONE
|
|
2252
1776
|
}
|
|
2253
1777
|
}, [_c('div', {
|
|
2254
1778
|
staticClass: "message-avatar message-avatar__from"
|
|
@@ -2256,7 +1780,7 @@ var Messagevue_type_template_id_03109883_scoped_true_render = function render()
|
|
|
2256
1780
|
directives: [{
|
|
2257
1781
|
name: "show",
|
|
2258
1782
|
rawName: "v-show",
|
|
2259
|
-
value: _vm.type ===
|
|
1783
|
+
value: _vm.type === _vm.IMessageType.FROM,
|
|
2260
1784
|
expression: "type === IMessageType.FROM"
|
|
2261
1785
|
}],
|
|
2262
1786
|
attrs: {
|
|
@@ -2275,7 +1799,7 @@ var Messagevue_type_template_id_03109883_scoped_true_render = function render()
|
|
|
2275
1799
|
directives: [{
|
|
2276
1800
|
name: "show",
|
|
2277
1801
|
rawName: "v-show",
|
|
2278
|
-
value: _vm.type ===
|
|
1802
|
+
value: _vm.type === _vm.IMessageType.TO,
|
|
2279
1803
|
expression: "type === IMessageType.TO"
|
|
2280
1804
|
}],
|
|
2281
1805
|
attrs: {
|
|
@@ -2283,57 +1807,72 @@ var Messagevue_type_template_id_03109883_scoped_true_render = function render()
|
|
|
2283
1807
|
}
|
|
2284
1808
|
})])]);
|
|
2285
1809
|
};
|
|
2286
|
-
var
|
|
1810
|
+
var Messagevue_type_template_id_08153425_scoped_true_staticRenderFns = [];
|
|
2287
1811
|
|
|
2288
|
-
;// ./package/SpeechRecognition/cpts/Message.vue?vue&type=template&id=
|
|
1812
|
+
;// ./package/SpeechRecognition/cpts/Message.vue?vue&type=template&id=08153425&scoped=true
|
|
2289
1813
|
|
|
2290
1814
|
;// external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
2291
1815
|
var external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject = require("vue");
|
|
2292
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/Message.vue?vue&type=script&
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
/* harmony default export */ var Messagevue_type_script_setup_true_lang_js = ({
|
|
2296
|
-
__name: 'Message',
|
|
1816
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/Message.vue?vue&type=script&lang=js
|
|
1817
|
+
var __default__ = {
|
|
2297
1818
|
props: {
|
|
2298
|
-
type:
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
1819
|
+
type: {
|
|
1820
|
+
type: String,
|
|
1821
|
+
default: ""
|
|
1822
|
+
},
|
|
1823
|
+
content: {
|
|
1824
|
+
type: String,
|
|
1825
|
+
default: ""
|
|
1826
|
+
},
|
|
1827
|
+
contentStyle: {
|
|
1828
|
+
type: String,
|
|
1829
|
+
default: ""
|
|
1830
|
+
},
|
|
1831
|
+
size: {
|
|
1832
|
+
type: String,
|
|
1833
|
+
default: ""
|
|
1834
|
+
}
|
|
2302
1835
|
},
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
"
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
var IMessageType = {
|
|
2311
|
-
NONE: "NONE",
|
|
2312
|
-
FROM: "FROM",
|
|
2313
|
-
TO: "TO"
|
|
1836
|
+
data: function data() {
|
|
1837
|
+
return {
|
|
1838
|
+
IMessageType: {
|
|
1839
|
+
NONE: "NONE",
|
|
1840
|
+
FROM: "FROM",
|
|
1841
|
+
TO: "TO"
|
|
1842
|
+
}
|
|
2314
1843
|
};
|
|
2315
|
-
|
|
1844
|
+
},
|
|
1845
|
+
computed: {
|
|
1846
|
+
htmlFontSize: function htmlFontSize() {
|
|
2316
1847
|
var fontSize = "42px";
|
|
2317
|
-
if (
|
|
1848
|
+
if (this.size == "medium") {
|
|
2318
1849
|
fontSize = "28px";
|
|
2319
1850
|
} else {
|
|
2320
1851
|
fontSize = "42px";
|
|
2321
1852
|
}
|
|
2322
1853
|
return fontSize;
|
|
2323
|
-
}
|
|
1854
|
+
}
|
|
1855
|
+
}
|
|
1856
|
+
};
|
|
1857
|
+
|
|
1858
|
+
var __injectCSSVars__ = function __injectCSSVars__() {
|
|
1859
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.useCssVars)(function (_vm, _setup) {
|
|
2324
1860
|
return {
|
|
2325
|
-
|
|
2326
|
-
IMessageType: IMessageType,
|
|
2327
|
-
props: props,
|
|
2328
|
-
htmlFontSize: htmlFontSize
|
|
1861
|
+
"444b7b41": _vm.htmlFontSize
|
|
2329
1862
|
};
|
|
2330
|
-
}
|
|
2331
|
-
}
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
1863
|
+
});
|
|
1864
|
+
};
|
|
1865
|
+
var __setup__ = __default__.setup;
|
|
1866
|
+
__default__.setup = __setup__ ? function (props, ctx) {
|
|
1867
|
+
__injectCSSVars__();
|
|
1868
|
+
return __setup__(props, ctx);
|
|
1869
|
+
} : __injectCSSVars__;
|
|
1870
|
+
/* harmony default export */ var Messagevue_type_script_lang_js = (__default__);
|
|
1871
|
+
;// ./package/SpeechRecognition/cpts/Message.vue?vue&type=script&lang=js
|
|
1872
|
+
/* harmony default export */ var cpts_Messagevue_type_script_lang_js = (Messagevue_type_script_lang_js);
|
|
1873
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/cpts/Message.vue?vue&type=style&index=0&id=08153425&prod&lang=scss&scoped=true
|
|
1874
|
+
var Messagevue_type_style_index_0_id_08153425_prod_lang_scss_scoped_true = __webpack_require__(825);
|
|
1875
|
+
;// ./package/SpeechRecognition/cpts/Message.vue?vue&type=style&index=0&id=08153425&prod&lang=scss&scoped=true
|
|
2337
1876
|
|
|
2338
1877
|
;// ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
2339
1878
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -2443,12 +1982,12 @@ function normalizeComponent(
|
|
|
2443
1982
|
/* normalize component */
|
|
2444
1983
|
|
|
2445
1984
|
var component = normalizeComponent(
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
1985
|
+
cpts_Messagevue_type_script_lang_js,
|
|
1986
|
+
Messagevue_type_template_id_08153425_scoped_true_render,
|
|
1987
|
+
Messagevue_type_template_id_08153425_scoped_true_staticRenderFns,
|
|
2449
1988
|
false,
|
|
2450
1989
|
null,
|
|
2451
|
-
"
|
|
1990
|
+
"08153425",
|
|
2452
1991
|
null
|
|
2453
1992
|
|
|
2454
1993
|
)
|
|
@@ -2465,8 +2004,13 @@ function bind(fn, thisArg) {
|
|
|
2465
2004
|
;// ./node_modules/axios/lib/utils.js
|
|
2466
2005
|
|
|
2467
2006
|
|
|
2468
|
-
|
|
2469
|
-
|
|
2007
|
+
function utils_slicedToArray(r, e) { return utils_arrayWithHoles(r) || utils_iterableToArrayLimit(r, e) || utils_unsupportedIterableToArray(r, e) || utils_nonIterableRest(); }
|
|
2008
|
+
function utils_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
2009
|
+
function utils_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return utils_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? utils_arrayLikeToArray(r, a) : void 0; } }
|
|
2010
|
+
function utils_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
2011
|
+
function utils_iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
2012
|
+
function utils_arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
2013
|
+
function utils_typeof(o) { "@babel/helpers - typeof"; return utils_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, utils_typeof(o); }
|
|
2470
2014
|
|
|
2471
2015
|
|
|
2472
2016
|
// utils is a library of generic helper functions non-specific to axios
|
|
@@ -2489,7 +2033,7 @@ var kindOfTest = function kindOfTest(type) {
|
|
|
2489
2033
|
};
|
|
2490
2034
|
var typeOfTest = function typeOfTest(type) {
|
|
2491
2035
|
return function (thing) {
|
|
2492
|
-
return
|
|
2036
|
+
return utils_typeof(thing) === type;
|
|
2493
2037
|
};
|
|
2494
2038
|
};
|
|
2495
2039
|
|
|
@@ -2582,7 +2126,7 @@ var isNumber = typeOfTest('number');
|
|
|
2582
2126
|
* @returns {boolean} True if value is an Object, otherwise false
|
|
2583
2127
|
*/
|
|
2584
2128
|
var isObject = function isObject(thing) {
|
|
2585
|
-
return thing !== null &&
|
|
2129
|
+
return thing !== null && utils_typeof(thing) === 'object';
|
|
2586
2130
|
};
|
|
2587
2131
|
|
|
2588
2132
|
/**
|
|
@@ -2680,7 +2224,7 @@ var isFormData = function isFormData(thing) {
|
|
|
2680
2224
|
*/
|
|
2681
2225
|
var isURLSearchParams = kindOfTest('URLSearchParams');
|
|
2682
2226
|
var _map = ['ReadableStream', 'Request', 'Response', 'Headers'].map(kindOfTest),
|
|
2683
|
-
_map2 =
|
|
2227
|
+
_map2 = utils_slicedToArray(_map, 4),
|
|
2684
2228
|
isReadableStream = _map2[0],
|
|
2685
2229
|
isRequest = _map2[1],
|
|
2686
2230
|
isResponse = _map2[2],
|
|
@@ -2724,7 +2268,7 @@ function forEach(obj, fn) {
|
|
|
2724
2268
|
var l;
|
|
2725
2269
|
|
|
2726
2270
|
// Force an array if not already something iterable
|
|
2727
|
-
if (
|
|
2271
|
+
if (utils_typeof(obj) !== 'object') {
|
|
2728
2272
|
/*eslint no-param-reassign:0*/
|
|
2729
2273
|
obj = [obj];
|
|
2730
2274
|
}
|
|
@@ -3276,7 +2820,7 @@ AxiosError.from = function (error, code, config, request, response, customProps)
|
|
|
3276
2820
|
;// ./node_modules/axios/lib/helpers/toFormData.js
|
|
3277
2821
|
|
|
3278
2822
|
|
|
3279
|
-
|
|
2823
|
+
function toFormData_typeof(o) { "@babel/helpers - typeof"; return toFormData_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, toFormData_typeof(o); }
|
|
3280
2824
|
|
|
3281
2825
|
|
|
3282
2826
|
// temporary hotfix to avoid circular references until AxiosURLSearchParams is refactored
|
|
@@ -3412,7 +2956,7 @@ function toFormData(obj, formData, options) {
|
|
|
3412
2956
|
*/
|
|
3413
2957
|
function defaultVisitor(value, key, path) {
|
|
3414
2958
|
var arr = value;
|
|
3415
|
-
if (value && !path &&
|
|
2959
|
+
if (value && !path && toFormData_typeof(value) === 'object') {
|
|
3416
2960
|
if (utils.endsWith(key, '{}')) {
|
|
3417
2961
|
// eslint-disable-next-line no-param-reassign
|
|
3418
2962
|
key = metaTokens ? key : key.slice(0, -2);
|
|
@@ -3572,12 +3116,16 @@ function buildURL(url, params, options) {
|
|
|
3572
3116
|
;// ./node_modules/axios/lib/core/InterceptorManager.js
|
|
3573
3117
|
|
|
3574
3118
|
|
|
3575
|
-
|
|
3576
|
-
|
|
3119
|
+
function InterceptorManager_typeof(o) { "@babel/helpers - typeof"; return InterceptorManager_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, InterceptorManager_typeof(o); }
|
|
3120
|
+
function InterceptorManager_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
3121
|
+
function InterceptorManager_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, InterceptorManager_toPropertyKey(o.key), o); } }
|
|
3122
|
+
function InterceptorManager_createClass(e, r, t) { return r && InterceptorManager_defineProperties(e.prototype, r), t && InterceptorManager_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
3123
|
+
function InterceptorManager_toPropertyKey(t) { var i = InterceptorManager_toPrimitive(t, "string"); return "symbol" == InterceptorManager_typeof(i) ? i : i + ""; }
|
|
3124
|
+
function InterceptorManager_toPrimitive(t, r) { if ("object" != InterceptorManager_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != InterceptorManager_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
3577
3125
|
|
|
3578
3126
|
var InterceptorManager = /*#__PURE__*/function () {
|
|
3579
3127
|
function InterceptorManager() {
|
|
3580
|
-
|
|
3128
|
+
InterceptorManager_classCallCheck(this, InterceptorManager);
|
|
3581
3129
|
this.handlers = [];
|
|
3582
3130
|
}
|
|
3583
3131
|
|
|
@@ -3589,7 +3137,7 @@ var InterceptorManager = /*#__PURE__*/function () {
|
|
|
3589
3137
|
*
|
|
3590
3138
|
* @return {Number} An ID used to remove interceptor later
|
|
3591
3139
|
*/
|
|
3592
|
-
return
|
|
3140
|
+
return InterceptorManager_createClass(InterceptorManager, [{
|
|
3593
3141
|
key: "use",
|
|
3594
3142
|
value: function use(fulfilled, rejected, options) {
|
|
3595
3143
|
this.handlers.push({
|
|
@@ -3686,9 +3234,9 @@ var InterceptorManager = /*#__PURE__*/function () {
|
|
|
3686
3234
|
protocols: ['http', 'https', 'file', 'blob', 'url', 'data']
|
|
3687
3235
|
});
|
|
3688
3236
|
;// ./node_modules/axios/lib/platform/common/utils.js
|
|
3689
|
-
|
|
3237
|
+
function common_utils_typeof(o) { "@babel/helpers - typeof"; return common_utils_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, common_utils_typeof(o); }
|
|
3690
3238
|
var hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
|
|
3691
|
-
var _navigator = (typeof navigator === "undefined" ? "undefined" :
|
|
3239
|
+
var _navigator = (typeof navigator === "undefined" ? "undefined" : common_utils_typeof(navigator)) === 'object' && navigator || undefined;
|
|
3692
3240
|
|
|
3693
3241
|
/**
|
|
3694
3242
|
* Determine if we're running in a standard browser environment
|
|
@@ -3726,9 +3274,12 @@ var hasStandardBrowserWebWorkerEnv = function () {
|
|
|
3726
3274
|
var origin = hasBrowserEnv && window.location.href || 'http://localhost';
|
|
3727
3275
|
|
|
3728
3276
|
;// ./node_modules/axios/lib/platform/index.js
|
|
3729
|
-
|
|
3277
|
+
function platform_typeof(o) { "@babel/helpers - typeof"; return platform_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, platform_typeof(o); }
|
|
3730
3278
|
function platform_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3731
|
-
function platform_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? platform_ownKeys(Object(t), !0).forEach(function (r) {
|
|
3279
|
+
function platform_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? platform_ownKeys(Object(t), !0).forEach(function (r) { platform_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : platform_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
3280
|
+
function platform_defineProperty(e, r, t) { return (r = platform_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
3281
|
+
function platform_toPropertyKey(t) { var i = platform_toPrimitive(t, "string"); return "symbol" == platform_typeof(i) ? i : i + ""; }
|
|
3282
|
+
function platform_toPrimitive(t, r) { if ("object" != platform_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != platform_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
3732
3283
|
|
|
3733
3284
|
|
|
3734
3285
|
/* harmony default export */ var platform = (platform_objectSpread(platform_objectSpread({}, common_utils_namespaceObject), browser));
|
|
@@ -4008,13 +3559,23 @@ var ignoreDuplicateOf = utils.toObjectSet(['age', 'authorization', 'content-leng
|
|
|
4008
3559
|
;// ./node_modules/axios/lib/core/AxiosHeaders.js
|
|
4009
3560
|
|
|
4010
3561
|
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
3562
|
+
function AxiosHeaders_typeof(o) { "@babel/helpers - typeof"; return AxiosHeaders_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, AxiosHeaders_typeof(o); }
|
|
3563
|
+
function AxiosHeaders_slicedToArray(r, e) { return AxiosHeaders_arrayWithHoles(r) || AxiosHeaders_iterableToArrayLimit(r, e) || AxiosHeaders_unsupportedIterableToArray(r, e) || AxiosHeaders_nonIterableRest(); }
|
|
3564
|
+
function AxiosHeaders_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3565
|
+
function AxiosHeaders_iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
3566
|
+
function AxiosHeaders_arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
3567
|
+
function AxiosHeaders_toConsumableArray(r) { return AxiosHeaders_arrayWithoutHoles(r) || AxiosHeaders_iterableToArray(r) || AxiosHeaders_unsupportedIterableToArray(r) || AxiosHeaders_nonIterableSpread(); }
|
|
3568
|
+
function AxiosHeaders_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3569
|
+
function AxiosHeaders_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
3570
|
+
function AxiosHeaders_arrayWithoutHoles(r) { if (Array.isArray(r)) return AxiosHeaders_arrayLikeToArray(r); }
|
|
4015
3571
|
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = AxiosHeaders_unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
|
|
4016
3572
|
function AxiosHeaders_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return AxiosHeaders_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? AxiosHeaders_arrayLikeToArray(r, a) : void 0; } }
|
|
4017
3573
|
function AxiosHeaders_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
3574
|
+
function AxiosHeaders_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
3575
|
+
function AxiosHeaders_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, AxiosHeaders_toPropertyKey(o.key), o); } }
|
|
3576
|
+
function AxiosHeaders_createClass(e, r, t) { return r && AxiosHeaders_defineProperties(e.prototype, r), t && AxiosHeaders_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
3577
|
+
function AxiosHeaders_toPropertyKey(t) { var i = AxiosHeaders_toPrimitive(t, "string"); return "symbol" == AxiosHeaders_typeof(i) ? i : i + ""; }
|
|
3578
|
+
function AxiosHeaders_toPrimitive(t, r) { if ("object" != AxiosHeaders_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != AxiosHeaders_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
4018
3579
|
|
|
4019
3580
|
|
|
4020
3581
|
var $internals = Symbol('internals');
|
|
@@ -4072,10 +3633,10 @@ function buildAccessors(obj, header) {
|
|
|
4072
3633
|
}
|
|
4073
3634
|
var AxiosHeaders = /*#__PURE__*/function () {
|
|
4074
3635
|
function AxiosHeaders(headers) {
|
|
4075
|
-
|
|
3636
|
+
AxiosHeaders_classCallCheck(this, AxiosHeaders);
|
|
4076
3637
|
headers && this.set(headers);
|
|
4077
3638
|
}
|
|
4078
|
-
return
|
|
3639
|
+
return AxiosHeaders_createClass(AxiosHeaders, [{
|
|
4079
3640
|
key: "set",
|
|
4080
3641
|
value: function set(header, valueOrRewrite, rewrite) {
|
|
4081
3642
|
var self = this;
|
|
@@ -4110,7 +3671,7 @@ var AxiosHeaders = /*#__PURE__*/function () {
|
|
|
4110
3671
|
if (!utils.isArray(entry)) {
|
|
4111
3672
|
throw TypeError('Object iterator must return a key-value pair');
|
|
4112
3673
|
}
|
|
4113
|
-
obj[key = entry[0]] = (dest = obj[key]) ? utils.isArray(dest) ? [].concat(
|
|
3674
|
+
obj[key = entry[0]] = (dest = obj[key]) ? utils.isArray(dest) ? [].concat(AxiosHeaders_toConsumableArray(dest), [entry[1]]) : [dest, entry[1]] : entry[1];
|
|
4114
3675
|
}
|
|
4115
3676
|
} catch (err) {
|
|
4116
3677
|
_iterator.e(err);
|
|
@@ -4242,7 +3803,7 @@ var AxiosHeaders = /*#__PURE__*/function () {
|
|
|
4242
3803
|
key: "toString",
|
|
4243
3804
|
value: function toString() {
|
|
4244
3805
|
return Object.entries(this.toJSON()).map(function (_ref) {
|
|
4245
|
-
var _ref2 =
|
|
3806
|
+
var _ref2 = AxiosHeaders_slicedToArray(_ref, 2),
|
|
4246
3807
|
header = _ref2[0],
|
|
4247
3808
|
value = _ref2[1];
|
|
4248
3809
|
return header + ': ' + value;
|
|
@@ -4487,7 +4048,10 @@ function throttle(fn, freq) {
|
|
|
4487
4048
|
}
|
|
4488
4049
|
/* harmony default export */ var helpers_throttle = (throttle);
|
|
4489
4050
|
;// ./node_modules/axios/lib/helpers/progressEventReducer.js
|
|
4490
|
-
|
|
4051
|
+
function progressEventReducer_typeof(o) { "@babel/helpers - typeof"; return progressEventReducer_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, progressEventReducer_typeof(o); }
|
|
4052
|
+
function progressEventReducer_defineProperty(e, r, t) { return (r = progressEventReducer_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
4053
|
+
function progressEventReducer_toPropertyKey(t) { var i = progressEventReducer_toPrimitive(t, "string"); return "symbol" == progressEventReducer_typeof(i) ? i : i + ""; }
|
|
4054
|
+
function progressEventReducer_toPrimitive(t, r) { if ("object" != progressEventReducer_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != progressEventReducer_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
4491
4055
|
|
|
4492
4056
|
|
|
4493
4057
|
|
|
@@ -4502,7 +4066,7 @@ var progressEventReducer = function progressEventReducer(listener, isDownloadStr
|
|
|
4502
4066
|
var rate = _speedometer(progressBytes);
|
|
4503
4067
|
var inRange = loaded <= total;
|
|
4504
4068
|
bytesNotified = loaded;
|
|
4505
|
-
var data =
|
|
4069
|
+
var data = progressEventReducer_defineProperty({
|
|
4506
4070
|
loaded: loaded,
|
|
4507
4071
|
total: total,
|
|
4508
4072
|
progress: total ? loaded / total : undefined,
|
|
@@ -4535,15 +4099,6 @@ var asyncDecorator = function asyncDecorator(fn) {
|
|
|
4535
4099
|
});
|
|
4536
4100
|
};
|
|
4537
4101
|
};
|
|
4538
|
-
;// ./node_modules/@babel/runtime/helpers/esm/toArray.js
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
function _toArray(r) {
|
|
4544
|
-
return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest();
|
|
4545
|
-
}
|
|
4546
|
-
|
|
4547
4102
|
;// ./node_modules/axios/lib/helpers/isURLSameOrigin.js
|
|
4548
4103
|
|
|
4549
4104
|
/* harmony default export */ var isURLSameOrigin = (platform.hasStandardBrowserEnv ? function (origin, isMSIE) {
|
|
@@ -4640,9 +4195,12 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
|
4640
4195
|
;// ./node_modules/axios/lib/core/mergeConfig.js
|
|
4641
4196
|
|
|
4642
4197
|
|
|
4643
|
-
|
|
4198
|
+
function mergeConfig_typeof(o) { "@babel/helpers - typeof"; return mergeConfig_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, mergeConfig_typeof(o); }
|
|
4644
4199
|
function mergeConfig_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4645
|
-
function mergeConfig_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? mergeConfig_ownKeys(Object(t), !0).forEach(function (r) {
|
|
4200
|
+
function mergeConfig_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? mergeConfig_ownKeys(Object(t), !0).forEach(function (r) { mergeConfig_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : mergeConfig_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4201
|
+
function mergeConfig_defineProperty(e, r, t) { return (r = mergeConfig_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
4202
|
+
function mergeConfig_toPropertyKey(t) { var i = mergeConfig_toPrimitive(t, "string"); return "symbol" == mergeConfig_typeof(i) ? i : i + ""; }
|
|
4203
|
+
function mergeConfig_toPrimitive(t, r) { if ("object" != mergeConfig_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != mergeConfig_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
4646
4204
|
|
|
4647
4205
|
|
|
4648
4206
|
var headersToObject = function headersToObject(thing) {
|
|
@@ -4749,8 +4307,15 @@ function mergeConfig(config1, config2) {
|
|
|
4749
4307
|
return config;
|
|
4750
4308
|
}
|
|
4751
4309
|
;// ./node_modules/axios/lib/helpers/resolveConfig.js
|
|
4752
|
-
|
|
4753
|
-
|
|
4310
|
+
function resolveConfig_toConsumableArray(r) { return resolveConfig_arrayWithoutHoles(r) || resolveConfig_iterableToArray(r) || resolveConfig_unsupportedIterableToArray(r) || resolveConfig_nonIterableSpread(); }
|
|
4311
|
+
function resolveConfig_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
4312
|
+
function resolveConfig_arrayWithoutHoles(r) { if (Array.isArray(r)) return resolveConfig_arrayLikeToArray(r); }
|
|
4313
|
+
function _toArray(r) { return resolveConfig_arrayWithHoles(r) || resolveConfig_iterableToArray(r) || resolveConfig_unsupportedIterableToArray(r) || resolveConfig_nonIterableRest(); }
|
|
4314
|
+
function resolveConfig_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
4315
|
+
function resolveConfig_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return resolveConfig_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? resolveConfig_arrayLikeToArray(r, a) : void 0; } }
|
|
4316
|
+
function resolveConfig_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
4317
|
+
function resolveConfig_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
4318
|
+
function resolveConfig_arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
4754
4319
|
|
|
4755
4320
|
|
|
4756
4321
|
|
|
@@ -4786,7 +4351,7 @@ function mergeConfig(config1, config2) {
|
|
|
4786
4351
|
_ref2 = _toArray(_ref),
|
|
4787
4352
|
type = _ref2[0],
|
|
4788
4353
|
tokens = _ref2.slice(1);
|
|
4789
|
-
headers.setContentType([type || 'multipart/form-data'].concat(
|
|
4354
|
+
headers.setContentType([type || 'multipart/form-data'].concat(resolveConfig_toConsumableArray(tokens)).join('; '));
|
|
4790
4355
|
}
|
|
4791
4356
|
}
|
|
4792
4357
|
|
|
@@ -4807,7 +4372,12 @@ function mergeConfig(config1, config2) {
|
|
|
4807
4372
|
return newConfig;
|
|
4808
4373
|
});
|
|
4809
4374
|
;// ./node_modules/axios/lib/adapters/xhr.js
|
|
4810
|
-
|
|
4375
|
+
function xhr_slicedToArray(r, e) { return xhr_arrayWithHoles(r) || xhr_iterableToArrayLimit(r, e) || xhr_unsupportedIterableToArray(r, e) || xhr_nonIterableRest(); }
|
|
4376
|
+
function xhr_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
4377
|
+
function xhr_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return xhr_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? xhr_arrayLikeToArray(r, a) : void 0; } }
|
|
4378
|
+
function xhr_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
4379
|
+
function xhr_iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
4380
|
+
function xhr_arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
4811
4381
|
|
|
4812
4382
|
|
|
4813
4383
|
|
|
@@ -4948,7 +4518,7 @@ var isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
4948
4518
|
// Handle progress if needed
|
|
4949
4519
|
if (onDownloadProgress) {
|
|
4950
4520
|
var _progressEventReducer = progressEventReducer(onDownloadProgress, true);
|
|
4951
|
-
var _progressEventReducer2 =
|
|
4521
|
+
var _progressEventReducer2 = xhr_slicedToArray(_progressEventReducer, 2);
|
|
4952
4522
|
downloadThrottled = _progressEventReducer2[0];
|
|
4953
4523
|
flushDownload = _progressEventReducer2[1];
|
|
4954
4524
|
request.addEventListener('progress', downloadThrottled);
|
|
@@ -4957,7 +4527,7 @@ var isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
4957
4527
|
// Not all browsers support upload events
|
|
4958
4528
|
if (onUploadProgress && request.upload) {
|
|
4959
4529
|
var _progressEventReducer3 = progressEventReducer(onUploadProgress);
|
|
4960
|
-
var _progressEventReducer4 =
|
|
4530
|
+
var _progressEventReducer4 = xhr_slicedToArray(_progressEventReducer3, 2);
|
|
4961
4531
|
uploadThrottled = _progressEventReducer4[0];
|
|
4962
4532
|
flushUpload = _progressEventReducer4[1];
|
|
4963
4533
|
request.upload.addEventListener('progress', uploadThrottled);
|
|
@@ -5032,123 +4602,22 @@ var composeSignals = function composeSignals(signals, timeout) {
|
|
|
5032
4602
|
}
|
|
5033
4603
|
};
|
|
5034
4604
|
/* harmony default export */ var helpers_composeSignals = (composeSignals);
|
|
5035
|
-
;// ./node_modules/@babel/runtime/helpers/esm/OverloadYield.js
|
|
5036
|
-
function _OverloadYield(e, d) {
|
|
5037
|
-
this.v = e, this.k = d;
|
|
5038
|
-
}
|
|
5039
|
-
|
|
5040
|
-
;// ./node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js
|
|
5041
|
-
|
|
5042
|
-
function _wrapAsyncGenerator(e) {
|
|
5043
|
-
return function () {
|
|
5044
|
-
return new AsyncGenerator(e.apply(this, arguments));
|
|
5045
|
-
};
|
|
5046
|
-
}
|
|
5047
|
-
function AsyncGenerator(e) {
|
|
5048
|
-
var r, t;
|
|
5049
|
-
function resume(r, t) {
|
|
5050
|
-
try {
|
|
5051
|
-
var n = e[r](t),
|
|
5052
|
-
o = n.value,
|
|
5053
|
-
u = o instanceof _OverloadYield;
|
|
5054
|
-
Promise.resolve(u ? o.v : o).then(function (t) {
|
|
5055
|
-
if (u) {
|
|
5056
|
-
var i = "return" === r ? "return" : "next";
|
|
5057
|
-
if (!o.k || t.done) return resume(i, t);
|
|
5058
|
-
t = e[i](t).value;
|
|
5059
|
-
}
|
|
5060
|
-
settle(n.done ? "return" : "normal", t);
|
|
5061
|
-
}, function (e) {
|
|
5062
|
-
resume("throw", e);
|
|
5063
|
-
});
|
|
5064
|
-
} catch (e) {
|
|
5065
|
-
settle("throw", e);
|
|
5066
|
-
}
|
|
5067
|
-
}
|
|
5068
|
-
function settle(e, n) {
|
|
5069
|
-
switch (e) {
|
|
5070
|
-
case "return":
|
|
5071
|
-
r.resolve({
|
|
5072
|
-
value: n,
|
|
5073
|
-
done: !0
|
|
5074
|
-
});
|
|
5075
|
-
break;
|
|
5076
|
-
case "throw":
|
|
5077
|
-
r.reject(n);
|
|
5078
|
-
break;
|
|
5079
|
-
default:
|
|
5080
|
-
r.resolve({
|
|
5081
|
-
value: n,
|
|
5082
|
-
done: !1
|
|
5083
|
-
});
|
|
5084
|
-
}
|
|
5085
|
-
(r = r.next) ? resume(r.key, r.arg) : t = null;
|
|
5086
|
-
}
|
|
5087
|
-
this._invoke = function (e, n) {
|
|
5088
|
-
return new Promise(function (o, u) {
|
|
5089
|
-
var i = {
|
|
5090
|
-
key: e,
|
|
5091
|
-
arg: n,
|
|
5092
|
-
resolve: o,
|
|
5093
|
-
reject: u,
|
|
5094
|
-
next: null
|
|
5095
|
-
};
|
|
5096
|
-
t ? t = t.next = i : (r = t = i, resume(e, n));
|
|
5097
|
-
});
|
|
5098
|
-
}, "function" != typeof e["return"] && (this["return"] = void 0);
|
|
5099
|
-
}
|
|
5100
|
-
AsyncGenerator.prototype["function" == typeof Symbol && Symbol.asyncIterator || "@@asyncIterator"] = function () {
|
|
5101
|
-
return this;
|
|
5102
|
-
}, AsyncGenerator.prototype.next = function (e) {
|
|
5103
|
-
return this._invoke("next", e);
|
|
5104
|
-
}, AsyncGenerator.prototype["throw"] = function (e) {
|
|
5105
|
-
return this._invoke("throw", e);
|
|
5106
|
-
}, AsyncGenerator.prototype["return"] = function (e) {
|
|
5107
|
-
return this._invoke("return", e);
|
|
5108
|
-
};
|
|
5109
|
-
|
|
5110
|
-
;// ./node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js
|
|
5111
|
-
|
|
5112
|
-
function _awaitAsyncGenerator(e) {
|
|
5113
|
-
return new _OverloadYield(e, 0);
|
|
5114
|
-
}
|
|
5115
|
-
|
|
5116
|
-
;// ./node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js
|
|
5117
|
-
|
|
5118
|
-
function _asyncGeneratorDelegate(t) {
|
|
5119
|
-
var e = {},
|
|
5120
|
-
n = !1;
|
|
5121
|
-
function pump(e, r) {
|
|
5122
|
-
return n = !0, r = new Promise(function (n) {
|
|
5123
|
-
n(t[e](r));
|
|
5124
|
-
}), {
|
|
5125
|
-
done: !1,
|
|
5126
|
-
value: new _OverloadYield(r, 1)
|
|
5127
|
-
};
|
|
5128
|
-
}
|
|
5129
|
-
return e["undefined" != typeof Symbol && Symbol.iterator || "@@iterator"] = function () {
|
|
5130
|
-
return this;
|
|
5131
|
-
}, e.next = function (t) {
|
|
5132
|
-
return n ? (n = !1, t) : pump("next", t);
|
|
5133
|
-
}, "function" == typeof t["throw"] && (e["throw"] = function (t) {
|
|
5134
|
-
if (n) throw n = !1, t;
|
|
5135
|
-
return pump("throw", t);
|
|
5136
|
-
}), "function" == typeof t["return"] && (e["return"] = function (t) {
|
|
5137
|
-
return n ? (n = !1, t) : pump("return", t);
|
|
5138
|
-
}), e;
|
|
5139
|
-
}
|
|
5140
|
-
|
|
5141
4605
|
;// ./node_modules/axios/lib/helpers/trackStream.js
|
|
5142
|
-
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
4606
|
+
function trackStream_typeof(o) { "@babel/helpers - typeof"; return trackStream_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, trackStream_typeof(o); }
|
|
4607
|
+
function trackStream_asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
4608
|
+
function trackStream_asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { trackStream_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { trackStream_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
4609
|
+
function trackStream_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ trackStream_regeneratorRuntime = function _regeneratorRuntime() { return r; }; var t, r = {}, e = Object.prototype, n = e.hasOwnProperty, o = "function" == typeof Symbol ? Symbol : {}, i = o.iterator || "@@iterator", a = o.asyncIterator || "@@asyncIterator", u = o.toStringTag || "@@toStringTag"; function c(t, r, e, n) { return Object.defineProperty(t, r, { value: e, enumerable: !n, configurable: !n, writable: !n }); } try { c({}, ""); } catch (t) { c = function c(t, r, e) { return t[r] = e; }; } function h(r, e, n, o) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype); return c(a, "_invoke", function (r, e, n) { var o = 1; return function (i, a) { if (3 === o) throw Error("Generator is already running"); if (4 === o) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var u = n.delegate; if (u) { var c = d(u, n); if (c) { if (c === f) continue; return c; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (1 === o) throw o = 4, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = 3; var h = s(r, e, n); if ("normal" === h.type) { if (o = n.done ? 4 : 2, h.arg === f) continue; return { value: h.arg, done: n.done }; } "throw" === h.type && (o = 4, n.method = "throw", n.arg = h.arg); } }; }(r, n, new Context(o || [])), !0), a; } function s(t, r, e) { try { return { type: "normal", arg: t.call(r, e) }; } catch (t) { return { type: "throw", arg: t }; } } r.wrap = h; var f = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var l = {}; c(l, i, function () { return this; }); var p = Object.getPrototypeOf, y = p && p(p(x([]))); y && y !== e && n.call(y, i) && (l = y); var v = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(l); function g(t) { ["next", "throw", "return"].forEach(function (r) { c(t, r, function (t) { return this._invoke(r, t); }); }); } function AsyncIterator(t, r) { function e(o, i, a, u) { var c = s(t[o], t, i); if ("throw" !== c.type) { var h = c.arg, f = h.value; return f && "object" == trackStream_typeof(f) && n.call(f, "__await") ? r.resolve(f.__await).then(function (t) { e("next", t, a, u); }, function (t) { e("throw", t, a, u); }) : r.resolve(f).then(function (t) { h.value = t, a(h); }, function (t) { return e("throw", t, a, u); }); } u(c.arg); } var o; c(this, "_invoke", function (t, n) { function i() { return new r(function (r, o) { e(t, n, r, o); }); } return o = o ? o.then(i, i) : i(); }, !0); } function d(r, e) { var n = e.method, o = r.i[n]; if (o === t) return e.delegate = null, "throw" === n && r.i.return && (e.method = "return", e.arg = t, d(r, e), "throw" === e.method) || "return" !== n && (e.method = "throw", e.arg = new TypeError("The iterator does not provide a '" + n + "' method")), f; var i = s(o, r.i, e.arg); if ("throw" === i.type) return e.method = "throw", e.arg = i.arg, e.delegate = null, f; var a = i.arg; return a ? a.done ? (e[r.r] = a.value, e.next = r.n, "return" !== e.method && (e.method = "next", e.arg = t), e.delegate = null, f) : a : (e.method = "throw", e.arg = new TypeError("iterator result is not an object"), e.delegate = null, f); } function w(t) { this.tryEntries.push(t); } function m(r) { var e = r[4] || {}; e.type = "normal", e.arg = t, r[4] = e; } function Context(t) { this.tryEntries = [[-1]], t.forEach(w, this), this.reset(!0); } function x(r) { if (null != r) { var e = r[i]; if (e) return e.call(r); if ("function" == typeof r.next) return r; if (!isNaN(r.length)) { var o = -1, a = function e() { for (; ++o < r.length;) if (n.call(r, o)) return e.value = r[o], e.done = !1, e; return e.value = t, e.done = !0, e; }; return a.next = a; } } throw new TypeError(trackStream_typeof(r) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, c(v, "constructor", GeneratorFunctionPrototype), c(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = c(GeneratorFunctionPrototype, u, "GeneratorFunction"), r.isGeneratorFunction = function (t) { var r = "function" == typeof t && t.constructor; return !!r && (r === GeneratorFunction || "GeneratorFunction" === (r.displayName || r.name)); }, r.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, c(t, u, "GeneratorFunction")), t.prototype = Object.create(v), t; }, r.awrap = function (t) { return { __await: t }; }, g(AsyncIterator.prototype), c(AsyncIterator.prototype, a, function () { return this; }), r.AsyncIterator = AsyncIterator, r.async = function (t, e, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(h(t, e, n, o), i); return r.isGeneratorFunction(e) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, g(v), c(v, u, "Generator"), c(v, i, function () { return this; }), c(v, "toString", function () { return "[object Generator]"; }), r.keys = function (t) { var r = Object(t), e = []; for (var n in r) e.unshift(n); return function t() { for (; e.length;) if ((n = e.pop()) in r) return t.value = n, t.done = !1, t; return t.done = !0, t; }; }, r.values = x, Context.prototype = { constructor: Context, reset: function reset(r) { if (this.prev = this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(m), !r) for (var e in this) "t" === e.charAt(0) && n.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0][4]; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(r) { if (this.done) throw r; var e = this; function n(t) { a.type = "throw", a.arg = r, e.next = t; } for (var o = e.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i[4], u = this.prev, c = i[1], h = i[2]; if (-1 === i[0]) return n("end"), !1; if (!c && !h) throw Error("try statement without catch or finally"); if (null != i[0] && i[0] <= u) { if (u < c) return this.method = "next", this.arg = t, n(c), !0; if (u < h) return n(h), !1; } } }, abrupt: function abrupt(t, r) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var n = this.tryEntries[e]; if (n[0] > -1 && n[0] <= this.prev && this.prev < n[2]) { var o = n; break; } } o && ("break" === t || "continue" === t) && o[0] <= r && r <= o[2] && (o = null); var i = o ? o[4] : {}; return i.type = t, i.arg = r, o ? (this.method = "next", this.next = o[2], f) : this.complete(i); }, complete: function complete(t, r) { if ("throw" === t.type) throw t.arg; 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 && r && (this.next = r), f; }, finish: function finish(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[2] === t) return this.complete(e[4], e[3]), m(e), f; } }, catch: function _catch(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[0] === t) { var n = e[4]; if ("throw" === n.type) { var o = n.arg; m(e); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(r, e, n) { return this.delegate = { i: x(r), r: e, n: n }, "next" === this.method && (this.arg = t), f; } }, r; }
|
|
4610
|
+
function _wrapAsyncGenerator(e) { return function () { return new AsyncGenerator(e.apply(this, arguments)); }; }
|
|
4611
|
+
function AsyncGenerator(e) { var r, t; function resume(r, t) { try { var n = e[r](t), o = n.value, u = o instanceof _OverloadYield; Promise.resolve(u ? o.v : o).then(function (t) { if (u) { var i = "return" === r ? "return" : "next"; if (!o.k || t.done) return resume(i, t); t = e[i](t).value; } settle(n.done ? "return" : "normal", t); }, function (e) { resume("throw", e); }); } catch (e) { settle("throw", e); } } function settle(e, n) { switch (e) { case "return": r.resolve({ value: n, done: !0 }); break; case "throw": r.reject(n); break; default: r.resolve({ value: n, done: !1 }); } (r = r.next) ? resume(r.key, r.arg) : t = null; } this._invoke = function (e, n) { return new Promise(function (o, u) { var i = { key: e, arg: n, resolve: o, reject: u, next: null }; t ? t = t.next = i : (r = t = i, resume(e, n)); }); }, "function" != typeof e.return && (this.return = void 0); }
|
|
4612
|
+
AsyncGenerator.prototype["function" == typeof Symbol && Symbol.asyncIterator || "@@asyncIterator"] = function () { return this; }, AsyncGenerator.prototype.next = function (e) { return this._invoke("next", e); }, AsyncGenerator.prototype.throw = function (e) { return this._invoke("throw", e); }, AsyncGenerator.prototype.return = function (e) { return this._invoke("return", e); };
|
|
4613
|
+
function _awaitAsyncGenerator(e) { return new _OverloadYield(e, 0); }
|
|
4614
|
+
function _asyncGeneratorDelegate(t) { var e = {}, n = !1; function pump(e, r) { return n = !0, r = new Promise(function (n) { n(t[e](r)); }), { done: !1, value: new _OverloadYield(r, 1) }; } return e["undefined" != typeof Symbol && Symbol.iterator || "@@iterator"] = function () { return this; }, e.next = function (t) { return n ? (n = !1, t) : pump("next", t); }, "function" == typeof t.throw && (e.throw = function (t) { if (n) throw n = !1, t; return pump("throw", t); }), "function" == typeof t.return && (e.return = function (t) { return n ? (n = !1, t) : pump("return", t); }), e; }
|
|
4615
|
+
function _OverloadYield(e, d) { this.v = e, this.k = d; }
|
|
5147
4616
|
function _asyncIterator(r) { var n, t, o, e = 2; for ("undefined" != typeof Symbol && (t = Symbol.asyncIterator, o = Symbol.iterator); e--;) { if (t && null != (n = r[t])) return n.call(r); if (o && null != (n = r[o])) return new AsyncFromSyncIterator(n.call(r)); t = "@@asyncIterator", o = "@@iterator"; } throw new TypeError("Object is not async iterable"); }
|
|
5148
4617
|
function AsyncFromSyncIterator(r) { function AsyncFromSyncIteratorContinuation(r) { if (Object(r) !== r) return Promise.reject(new TypeError(r + " is not an object.")); var n = r.done; return Promise.resolve(r.value).then(function (r) { return { value: r, done: n }; }); } return AsyncFromSyncIterator = function AsyncFromSyncIterator(r) { this.s = r, this.n = r.next; }, AsyncFromSyncIterator.prototype = { s: null, n: null, next: function next() { return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments)); }, return: function _return(r) { var n = this.s.return; return void 0 === n ? Promise.resolve({ value: r, done: !0 }) : AsyncFromSyncIteratorContinuation(n.apply(this.s, arguments)); }, throw: function _throw(r) { var n = this.s.return; return void 0 === n ? Promise.reject(r) : AsyncFromSyncIteratorContinuation(n.apply(this.s, arguments)); } }, new AsyncFromSyncIterator(r); }
|
|
5149
|
-
var streamChunk = /*#__PURE__*/
|
|
4618
|
+
var streamChunk = /*#__PURE__*/trackStream_regeneratorRuntime().mark(function streamChunk(chunk, chunkSize) {
|
|
5150
4619
|
var len, pos, end;
|
|
5151
|
-
return
|
|
4620
|
+
return trackStream_regeneratorRuntime().wrap(function streamChunk$(_context) {
|
|
5152
4621
|
while (1) switch (_context.prev = _context.next) {
|
|
5153
4622
|
case 0:
|
|
5154
4623
|
len = chunk.byteLength;
|
|
@@ -5181,9 +4650,9 @@ var streamChunk = /*#__PURE__*/regenerator.mark(function streamChunk(chunk, chun
|
|
|
5181
4650
|
}, streamChunk);
|
|
5182
4651
|
});
|
|
5183
4652
|
var readBytes = /*#__PURE__*/function () {
|
|
5184
|
-
var _ref = _wrapAsyncGenerator(/*#__PURE__*/
|
|
4653
|
+
var _ref = _wrapAsyncGenerator(/*#__PURE__*/trackStream_regeneratorRuntime().mark(function _callee(iterable, chunkSize) {
|
|
5185
4654
|
var _iteratorAbruptCompletion, _didIteratorError, _iteratorError, _iterator, _step, chunk;
|
|
5186
|
-
return
|
|
4655
|
+
return trackStream_regeneratorRuntime().wrap(function _callee$(_context2) {
|
|
5187
4656
|
while (1) switch (_context2.prev = _context2.next) {
|
|
5188
4657
|
case 0:
|
|
5189
4658
|
_iteratorAbruptCompletion = false;
|
|
@@ -5243,9 +4712,9 @@ var readBytes = /*#__PURE__*/function () {
|
|
|
5243
4712
|
};
|
|
5244
4713
|
}();
|
|
5245
4714
|
var readStream = /*#__PURE__*/function () {
|
|
5246
|
-
var _ref2 = _wrapAsyncGenerator(/*#__PURE__*/
|
|
4715
|
+
var _ref2 = _wrapAsyncGenerator(/*#__PURE__*/trackStream_regeneratorRuntime().mark(function _callee2(stream) {
|
|
5247
4716
|
var reader, _yield$_awaitAsyncGen, done, value;
|
|
5248
|
-
return
|
|
4717
|
+
return trackStream_regeneratorRuntime().wrap(function _callee2$(_context3) {
|
|
5249
4718
|
while (1) switch (_context3.prev = _context3.next) {
|
|
5250
4719
|
case 0:
|
|
5251
4720
|
if (!stream[Symbol.asyncIterator]) {
|
|
@@ -5304,9 +4773,9 @@ var trackStream = function trackStream(stream, chunkSize, onProgress, onFinish)
|
|
|
5304
4773
|
};
|
|
5305
4774
|
return new ReadableStream({
|
|
5306
4775
|
pull: function pull(controller) {
|
|
5307
|
-
return
|
|
4776
|
+
return trackStream_asyncToGenerator(/*#__PURE__*/trackStream_regeneratorRuntime().mark(function _callee3() {
|
|
5308
4777
|
var _yield$iterator$next, _done, value, len, loadedBytes;
|
|
5309
|
-
return
|
|
4778
|
+
return trackStream_regeneratorRuntime().wrap(function _callee3$(_context4) {
|
|
5310
4779
|
while (1) switch (_context4.prev = _context4.next) {
|
|
5311
4780
|
case 0:
|
|
5312
4781
|
_context4.prev = 0;
|
|
@@ -5353,12 +4822,21 @@ var trackStream = function trackStream(stream, chunkSize, onProgress, onFinish)
|
|
|
5353
4822
|
});
|
|
5354
4823
|
};
|
|
5355
4824
|
;// ./node_modules/axios/lib/adapters/fetch.js
|
|
5356
|
-
|
|
5357
|
-
|
|
5358
|
-
|
|
4825
|
+
function fetch_typeof(o) { "@babel/helpers - typeof"; return fetch_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, fetch_typeof(o); }
|
|
5359
4826
|
function fetch_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5360
|
-
function fetch_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? fetch_ownKeys(Object(t), !0).forEach(function (r) {
|
|
5361
|
-
|
|
4827
|
+
function fetch_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? fetch_ownKeys(Object(t), !0).forEach(function (r) { fetch_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : fetch_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4828
|
+
function fetch_defineProperty(e, r, t) { return (r = fetch_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
4829
|
+
function fetch_toPropertyKey(t) { var i = fetch_toPrimitive(t, "string"); return "symbol" == fetch_typeof(i) ? i : i + ""; }
|
|
4830
|
+
function fetch_toPrimitive(t, r) { if ("object" != fetch_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != fetch_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
4831
|
+
function fetch_slicedToArray(r, e) { return fetch_arrayWithHoles(r) || fetch_iterableToArrayLimit(r, e) || fetch_unsupportedIterableToArray(r, e) || fetch_nonIterableRest(); }
|
|
4832
|
+
function fetch_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
4833
|
+
function fetch_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return fetch_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? fetch_arrayLikeToArray(r, a) : void 0; } }
|
|
4834
|
+
function fetch_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
4835
|
+
function fetch_iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
4836
|
+
function fetch_arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
4837
|
+
function fetch_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ fetch_regeneratorRuntime = function _regeneratorRuntime() { return r; }; var t, r = {}, e = Object.prototype, n = e.hasOwnProperty, o = "function" == typeof Symbol ? Symbol : {}, i = o.iterator || "@@iterator", a = o.asyncIterator || "@@asyncIterator", u = o.toStringTag || "@@toStringTag"; function c(t, r, e, n) { return Object.defineProperty(t, r, { value: e, enumerable: !n, configurable: !n, writable: !n }); } try { c({}, ""); } catch (t) { c = function c(t, r, e) { return t[r] = e; }; } function h(r, e, n, o) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype); return c(a, "_invoke", function (r, e, n) { var o = 1; return function (i, a) { if (3 === o) throw Error("Generator is already running"); if (4 === o) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var u = n.delegate; if (u) { var c = d(u, n); if (c) { if (c === f) continue; return c; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (1 === o) throw o = 4, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = 3; var h = s(r, e, n); if ("normal" === h.type) { if (o = n.done ? 4 : 2, h.arg === f) continue; return { value: h.arg, done: n.done }; } "throw" === h.type && (o = 4, n.method = "throw", n.arg = h.arg); } }; }(r, n, new Context(o || [])), !0), a; } function s(t, r, e) { try { return { type: "normal", arg: t.call(r, e) }; } catch (t) { return { type: "throw", arg: t }; } } r.wrap = h; var f = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var l = {}; c(l, i, function () { return this; }); var p = Object.getPrototypeOf, y = p && p(p(x([]))); y && y !== e && n.call(y, i) && (l = y); var v = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(l); function g(t) { ["next", "throw", "return"].forEach(function (r) { c(t, r, function (t) { return this._invoke(r, t); }); }); } function AsyncIterator(t, r) { function e(o, i, a, u) { var c = s(t[o], t, i); if ("throw" !== c.type) { var h = c.arg, f = h.value; return f && "object" == fetch_typeof(f) && n.call(f, "__await") ? r.resolve(f.__await).then(function (t) { e("next", t, a, u); }, function (t) { e("throw", t, a, u); }) : r.resolve(f).then(function (t) { h.value = t, a(h); }, function (t) { return e("throw", t, a, u); }); } u(c.arg); } var o; c(this, "_invoke", function (t, n) { function i() { return new r(function (r, o) { e(t, n, r, o); }); } return o = o ? o.then(i, i) : i(); }, !0); } function d(r, e) { var n = e.method, o = r.i[n]; if (o === t) return e.delegate = null, "throw" === n && r.i.return && (e.method = "return", e.arg = t, d(r, e), "throw" === e.method) || "return" !== n && (e.method = "throw", e.arg = new TypeError("The iterator does not provide a '" + n + "' method")), f; var i = s(o, r.i, e.arg); if ("throw" === i.type) return e.method = "throw", e.arg = i.arg, e.delegate = null, f; var a = i.arg; return a ? a.done ? (e[r.r] = a.value, e.next = r.n, "return" !== e.method && (e.method = "next", e.arg = t), e.delegate = null, f) : a : (e.method = "throw", e.arg = new TypeError("iterator result is not an object"), e.delegate = null, f); } function w(t) { this.tryEntries.push(t); } function m(r) { var e = r[4] || {}; e.type = "normal", e.arg = t, r[4] = e; } function Context(t) { this.tryEntries = [[-1]], t.forEach(w, this), this.reset(!0); } function x(r) { if (null != r) { var e = r[i]; if (e) return e.call(r); if ("function" == typeof r.next) return r; if (!isNaN(r.length)) { var o = -1, a = function e() { for (; ++o < r.length;) if (n.call(r, o)) return e.value = r[o], e.done = !1, e; return e.value = t, e.done = !0, e; }; return a.next = a; } } throw new TypeError(fetch_typeof(r) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, c(v, "constructor", GeneratorFunctionPrototype), c(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = c(GeneratorFunctionPrototype, u, "GeneratorFunction"), r.isGeneratorFunction = function (t) { var r = "function" == typeof t && t.constructor; return !!r && (r === GeneratorFunction || "GeneratorFunction" === (r.displayName || r.name)); }, r.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, c(t, u, "GeneratorFunction")), t.prototype = Object.create(v), t; }, r.awrap = function (t) { return { __await: t }; }, g(AsyncIterator.prototype), c(AsyncIterator.prototype, a, function () { return this; }), r.AsyncIterator = AsyncIterator, r.async = function (t, e, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(h(t, e, n, o), i); return r.isGeneratorFunction(e) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, g(v), c(v, u, "Generator"), c(v, i, function () { return this; }), c(v, "toString", function () { return "[object Generator]"; }), r.keys = function (t) { var r = Object(t), e = []; for (var n in r) e.unshift(n); return function t() { for (; e.length;) if ((n = e.pop()) in r) return t.value = n, t.done = !1, t; return t.done = !0, t; }; }, r.values = x, Context.prototype = { constructor: Context, reset: function reset(r) { if (this.prev = this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(m), !r) for (var e in this) "t" === e.charAt(0) && n.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0][4]; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(r) { if (this.done) throw r; var e = this; function n(t) { a.type = "throw", a.arg = r, e.next = t; } for (var o = e.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i[4], u = this.prev, c = i[1], h = i[2]; if (-1 === i[0]) return n("end"), !1; if (!c && !h) throw Error("try statement without catch or finally"); if (null != i[0] && i[0] <= u) { if (u < c) return this.method = "next", this.arg = t, n(c), !0; if (u < h) return n(h), !1; } } }, abrupt: function abrupt(t, r) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var n = this.tryEntries[e]; if (n[0] > -1 && n[0] <= this.prev && this.prev < n[2]) { var o = n; break; } } o && ("break" === t || "continue" === t) && o[0] <= r && r <= o[2] && (o = null); var i = o ? o[4] : {}; return i.type = t, i.arg = r, o ? (this.method = "next", this.next = o[2], f) : this.complete(i); }, complete: function complete(t, r) { if ("throw" === t.type) throw t.arg; 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 && r && (this.next = r), f; }, finish: function finish(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[2] === t) return this.complete(e[4], e[3]), m(e), f; } }, catch: function _catch(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[0] === t) { var n = e[4]; if ("throw" === n.type) { var o = n.arg; m(e); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(r, e, n) { return this.delegate = { i: x(r), r: e, n: n }, "next" === this.method && (this.arg = t), f; } }, r; }
|
|
4838
|
+
function fetch_asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
4839
|
+
function fetch_asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { fetch_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { fetch_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
5362
4840
|
|
|
5363
4841
|
|
|
5364
4842
|
|
|
@@ -5377,8 +4855,8 @@ var encodeText = isFetchSupported && (typeof TextEncoder === 'function' ? functi
|
|
|
5377
4855
|
return encoder.encode(str);
|
|
5378
4856
|
};
|
|
5379
4857
|
}(new TextEncoder()) : (/*#__PURE__*/function () {
|
|
5380
|
-
var _ref =
|
|
5381
|
-
return
|
|
4858
|
+
var _ref = fetch_asyncToGenerator(/*#__PURE__*/fetch_regeneratorRuntime().mark(function _callee(str) {
|
|
4859
|
+
return fetch_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
5382
4860
|
while (1) switch (_context.prev = _context.next) {
|
|
5383
4861
|
case 0:
|
|
5384
4862
|
_context.t0 = Uint8Array;
|
|
@@ -5438,9 +4916,9 @@ isFetchSupported && function (res) {
|
|
|
5438
4916
|
});
|
|
5439
4917
|
}(new Response());
|
|
5440
4918
|
var getBodyLength = /*#__PURE__*/function () {
|
|
5441
|
-
var _ref2 =
|
|
4919
|
+
var _ref2 = fetch_asyncToGenerator(/*#__PURE__*/fetch_regeneratorRuntime().mark(function _callee2(body) {
|
|
5442
4920
|
var _request;
|
|
5443
|
-
return
|
|
4921
|
+
return fetch_regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
5444
4922
|
while (1) switch (_context2.prev = _context2.next) {
|
|
5445
4923
|
case 0:
|
|
5446
4924
|
if (!(body == null)) {
|
|
@@ -5496,9 +4974,9 @@ var getBodyLength = /*#__PURE__*/function () {
|
|
|
5496
4974
|
};
|
|
5497
4975
|
}();
|
|
5498
4976
|
var resolveBodyLength = /*#__PURE__*/function () {
|
|
5499
|
-
var _ref3 =
|
|
4977
|
+
var _ref3 = fetch_asyncToGenerator(/*#__PURE__*/fetch_regeneratorRuntime().mark(function _callee3(headers, body) {
|
|
5500
4978
|
var length;
|
|
5501
|
-
return
|
|
4979
|
+
return fetch_regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
5502
4980
|
while (1) switch (_context3.prev = _context3.next) {
|
|
5503
4981
|
case 0:
|
|
5504
4982
|
length = utils.toFiniteNumber(headers.getContentLength());
|
|
@@ -5514,9 +4992,9 @@ var resolveBodyLength = /*#__PURE__*/function () {
|
|
|
5514
4992
|
};
|
|
5515
4993
|
}();
|
|
5516
4994
|
/* harmony default export */ var adapters_fetch = (isFetchSupported && (/*#__PURE__*/function () {
|
|
5517
|
-
var _ref4 =
|
|
4995
|
+
var _ref4 = fetch_asyncToGenerator(/*#__PURE__*/fetch_regeneratorRuntime().mark(function _callee4(config) {
|
|
5518
4996
|
var _resolveConfig, url, method, data, signal, cancelToken, timeout, onDownloadProgress, onUploadProgress, responseType, headers, _resolveConfig$withCr, withCredentials, fetchOptions, composedSignal, request, unsubscribe, requestContentLength, _request, contentTypeHeader, _progressEventDecorat, _progressEventDecorat2, onProgress, flush, isCredentialsSupported, response, isStreamResponse, options, responseContentLength, _ref5, _ref6, _onProgress, _flush, responseData;
|
|
5519
|
-
return
|
|
4997
|
+
return fetch_regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
5520
4998
|
while (1) switch (_context4.prev = _context4.next) {
|
|
5521
4999
|
case 0:
|
|
5522
5000
|
_resolveConfig = resolveConfig(config), url = _resolveConfig.url, method = _resolveConfig.method, data = _resolveConfig.data, signal = _resolveConfig.signal, cancelToken = _resolveConfig.cancelToken, timeout = _resolveConfig.timeout, onDownloadProgress = _resolveConfig.onDownloadProgress, onUploadProgress = _resolveConfig.onUploadProgress, responseType = _resolveConfig.responseType, headers = _resolveConfig.headers, _resolveConfig$withCr = _resolveConfig.withCredentials, withCredentials = _resolveConfig$withCr === void 0 ? 'same-origin' : _resolveConfig$withCr, fetchOptions = _resolveConfig.fetchOptions;
|
|
@@ -5550,7 +5028,7 @@ var resolveBodyLength = /*#__PURE__*/function () {
|
|
|
5550
5028
|
headers.setContentType(contentTypeHeader);
|
|
5551
5029
|
}
|
|
5552
5030
|
if (_request.body) {
|
|
5553
|
-
_progressEventDecorat = progressEventDecorator(requestContentLength, progressEventReducer(asyncDecorator(onUploadProgress))), _progressEventDecorat2 =
|
|
5031
|
+
_progressEventDecorat = progressEventDecorator(requestContentLength, progressEventReducer(asyncDecorator(onUploadProgress))), _progressEventDecorat2 = fetch_slicedToArray(_progressEventDecorat, 2), onProgress = _progressEventDecorat2[0], flush = _progressEventDecorat2[1];
|
|
5554
5032
|
data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
|
|
5555
5033
|
}
|
|
5556
5034
|
case 15:
|
|
@@ -5580,7 +5058,7 @@ var resolveBodyLength = /*#__PURE__*/function () {
|
|
|
5580
5058
|
options[prop] = response[prop];
|
|
5581
5059
|
});
|
|
5582
5060
|
responseContentLength = utils.toFiniteNumber(response.headers.get('content-length'));
|
|
5583
|
-
_ref5 = onDownloadProgress && progressEventDecorator(responseContentLength, progressEventReducer(asyncDecorator(onDownloadProgress), true)) || [], _ref6 =
|
|
5061
|
+
_ref5 = onDownloadProgress && progressEventDecorator(responseContentLength, progressEventReducer(asyncDecorator(onDownloadProgress), true)) || [], _ref6 = fetch_slicedToArray(_ref5, 2), _onProgress = _ref6[0], _flush = _ref6[1];
|
|
5584
5062
|
response = new Response(trackStream(response.body, DEFAULT_CHUNK_SIZE, _onProgress, function () {
|
|
5585
5063
|
_flush && _flush();
|
|
5586
5064
|
unsubscribe && unsubscribe();
|
|
@@ -5629,7 +5107,12 @@ var resolveBodyLength = /*#__PURE__*/function () {
|
|
|
5629
5107
|
};
|
|
5630
5108
|
}()));
|
|
5631
5109
|
;// ./node_modules/axios/lib/adapters/adapters.js
|
|
5632
|
-
|
|
5110
|
+
function adapters_slicedToArray(r, e) { return adapters_arrayWithHoles(r) || adapters_iterableToArrayLimit(r, e) || adapters_unsupportedIterableToArray(r, e) || adapters_nonIterableRest(); }
|
|
5111
|
+
function adapters_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
5112
|
+
function adapters_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return adapters_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? adapters_arrayLikeToArray(r, a) : void 0; } }
|
|
5113
|
+
function adapters_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
5114
|
+
function adapters_iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
5115
|
+
function adapters_arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
5633
5116
|
|
|
5634
5117
|
|
|
5635
5118
|
|
|
@@ -5685,7 +5168,7 @@ var isResolvedHandle = function isResolvedHandle(adapter) {
|
|
|
5685
5168
|
}
|
|
5686
5169
|
if (!adapter) {
|
|
5687
5170
|
var reasons = Object.entries(rejectedReasons).map(function (_ref) {
|
|
5688
|
-
var _ref2 =
|
|
5171
|
+
var _ref2 = adapters_slicedToArray(_ref, 2),
|
|
5689
5172
|
id = _ref2[0],
|
|
5690
5173
|
state = _ref2[1];
|
|
5691
5174
|
return "adapter ".concat(id, " ") + (state === false ? 'is not supported by the environment' : 'is not available in the build');
|
|
@@ -5765,7 +5248,7 @@ var VERSION = "1.9.0";
|
|
|
5765
5248
|
;// ./node_modules/axios/lib/helpers/validator.js
|
|
5766
5249
|
|
|
5767
5250
|
|
|
5768
|
-
|
|
5251
|
+
function validator_typeof(o) { "@babel/helpers - typeof"; return validator_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, validator_typeof(o); }
|
|
5769
5252
|
|
|
5770
5253
|
|
|
5771
5254
|
var validators = {};
|
|
@@ -5773,7 +5256,7 @@ var validators = {};
|
|
|
5773
5256
|
// eslint-disable-next-line func-names
|
|
5774
5257
|
['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function (type, i) {
|
|
5775
5258
|
validators[type] = function validator(thing) {
|
|
5776
|
-
return
|
|
5259
|
+
return validator_typeof(thing) === type || 'a' + (i < 1 ? 'n ' : ' ') + type;
|
|
5777
5260
|
};
|
|
5778
5261
|
});
|
|
5779
5262
|
var deprecatedWarnings = {};
|
|
@@ -5824,7 +5307,7 @@ validators.spelling = function spelling(correctSpelling) {
|
|
|
5824
5307
|
*/
|
|
5825
5308
|
|
|
5826
5309
|
function assertOptions(options, schema, allowUnknown) {
|
|
5827
|
-
if (
|
|
5310
|
+
if (validator_typeof(options) !== 'object') {
|
|
5828
5311
|
throw new core_AxiosError('options must be an object', core_AxiosError.ERR_BAD_OPTION_VALUE);
|
|
5829
5312
|
}
|
|
5830
5313
|
var keys = Object.keys(options);
|
|
@@ -5852,10 +5335,15 @@ function assertOptions(options, schema, allowUnknown) {
|
|
|
5852
5335
|
;// ./node_modules/axios/lib/core/Axios.js
|
|
5853
5336
|
|
|
5854
5337
|
|
|
5855
|
-
|
|
5856
|
-
|
|
5857
|
-
|
|
5858
|
-
|
|
5338
|
+
function Axios_typeof(o) { "@babel/helpers - typeof"; return Axios_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, Axios_typeof(o); }
|
|
5339
|
+
function Axios_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ Axios_regeneratorRuntime = function _regeneratorRuntime() { return r; }; var t, r = {}, e = Object.prototype, n = e.hasOwnProperty, o = "function" == typeof Symbol ? Symbol : {}, i = o.iterator || "@@iterator", a = o.asyncIterator || "@@asyncIterator", u = o.toStringTag || "@@toStringTag"; function c(t, r, e, n) { return Object.defineProperty(t, r, { value: e, enumerable: !n, configurable: !n, writable: !n }); } try { c({}, ""); } catch (t) { c = function c(t, r, e) { return t[r] = e; }; } function h(r, e, n, o) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype); return c(a, "_invoke", function (r, e, n) { var o = 1; return function (i, a) { if (3 === o) throw Error("Generator is already running"); if (4 === o) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var u = n.delegate; if (u) { var c = d(u, n); if (c) { if (c === f) continue; return c; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (1 === o) throw o = 4, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = 3; var h = s(r, e, n); if ("normal" === h.type) { if (o = n.done ? 4 : 2, h.arg === f) continue; return { value: h.arg, done: n.done }; } "throw" === h.type && (o = 4, n.method = "throw", n.arg = h.arg); } }; }(r, n, new Context(o || [])), !0), a; } function s(t, r, e) { try { return { type: "normal", arg: t.call(r, e) }; } catch (t) { return { type: "throw", arg: t }; } } r.wrap = h; var f = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var l = {}; c(l, i, function () { return this; }); var p = Object.getPrototypeOf, y = p && p(p(x([]))); y && y !== e && n.call(y, i) && (l = y); var v = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(l); function g(t) { ["next", "throw", "return"].forEach(function (r) { c(t, r, function (t) { return this._invoke(r, t); }); }); } function AsyncIterator(t, r) { function e(o, i, a, u) { var c = s(t[o], t, i); if ("throw" !== c.type) { var h = c.arg, f = h.value; return f && "object" == Axios_typeof(f) && n.call(f, "__await") ? r.resolve(f.__await).then(function (t) { e("next", t, a, u); }, function (t) { e("throw", t, a, u); }) : r.resolve(f).then(function (t) { h.value = t, a(h); }, function (t) { return e("throw", t, a, u); }); } u(c.arg); } var o; c(this, "_invoke", function (t, n) { function i() { return new r(function (r, o) { e(t, n, r, o); }); } return o = o ? o.then(i, i) : i(); }, !0); } function d(r, e) { var n = e.method, o = r.i[n]; if (o === t) return e.delegate = null, "throw" === n && r.i.return && (e.method = "return", e.arg = t, d(r, e), "throw" === e.method) || "return" !== n && (e.method = "throw", e.arg = new TypeError("The iterator does not provide a '" + n + "' method")), f; var i = s(o, r.i, e.arg); if ("throw" === i.type) return e.method = "throw", e.arg = i.arg, e.delegate = null, f; var a = i.arg; return a ? a.done ? (e[r.r] = a.value, e.next = r.n, "return" !== e.method && (e.method = "next", e.arg = t), e.delegate = null, f) : a : (e.method = "throw", e.arg = new TypeError("iterator result is not an object"), e.delegate = null, f); } function w(t) { this.tryEntries.push(t); } function m(r) { var e = r[4] || {}; e.type = "normal", e.arg = t, r[4] = e; } function Context(t) { this.tryEntries = [[-1]], t.forEach(w, this), this.reset(!0); } function x(r) { if (null != r) { var e = r[i]; if (e) return e.call(r); if ("function" == typeof r.next) return r; if (!isNaN(r.length)) { var o = -1, a = function e() { for (; ++o < r.length;) if (n.call(r, o)) return e.value = r[o], e.done = !1, e; return e.value = t, e.done = !0, e; }; return a.next = a; } } throw new TypeError(Axios_typeof(r) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, c(v, "constructor", GeneratorFunctionPrototype), c(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = c(GeneratorFunctionPrototype, u, "GeneratorFunction"), r.isGeneratorFunction = function (t) { var r = "function" == typeof t && t.constructor; return !!r && (r === GeneratorFunction || "GeneratorFunction" === (r.displayName || r.name)); }, r.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, c(t, u, "GeneratorFunction")), t.prototype = Object.create(v), t; }, r.awrap = function (t) { return { __await: t }; }, g(AsyncIterator.prototype), c(AsyncIterator.prototype, a, function () { return this; }), r.AsyncIterator = AsyncIterator, r.async = function (t, e, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(h(t, e, n, o), i); return r.isGeneratorFunction(e) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, g(v), c(v, u, "Generator"), c(v, i, function () { return this; }), c(v, "toString", function () { return "[object Generator]"; }), r.keys = function (t) { var r = Object(t), e = []; for (var n in r) e.unshift(n); return function t() { for (; e.length;) if ((n = e.pop()) in r) return t.value = n, t.done = !1, t; return t.done = !0, t; }; }, r.values = x, Context.prototype = { constructor: Context, reset: function reset(r) { if (this.prev = this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(m), !r) for (var e in this) "t" === e.charAt(0) && n.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0][4]; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(r) { if (this.done) throw r; var e = this; function n(t) { a.type = "throw", a.arg = r, e.next = t; } for (var o = e.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i[4], u = this.prev, c = i[1], h = i[2]; if (-1 === i[0]) return n("end"), !1; if (!c && !h) throw Error("try statement without catch or finally"); if (null != i[0] && i[0] <= u) { if (u < c) return this.method = "next", this.arg = t, n(c), !0; if (u < h) return n(h), !1; } } }, abrupt: function abrupt(t, r) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var n = this.tryEntries[e]; if (n[0] > -1 && n[0] <= this.prev && this.prev < n[2]) { var o = n; break; } } o && ("break" === t || "continue" === t) && o[0] <= r && r <= o[2] && (o = null); var i = o ? o[4] : {}; return i.type = t, i.arg = r, o ? (this.method = "next", this.next = o[2], f) : this.complete(i); }, complete: function complete(t, r) { if ("throw" === t.type) throw t.arg; 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 && r && (this.next = r), f; }, finish: function finish(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[2] === t) return this.complete(e[4], e[3]), m(e), f; } }, catch: function _catch(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[0] === t) { var n = e[4]; if ("throw" === n.type) { var o = n.arg; m(e); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(r, e, n) { return this.delegate = { i: x(r), r: e, n: n }, "next" === this.method && (this.arg = t), f; } }, r; }
|
|
5340
|
+
function Axios_asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
5341
|
+
function Axios_asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { Axios_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { Axios_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
5342
|
+
function Axios_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
5343
|
+
function Axios_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, Axios_toPropertyKey(o.key), o); } }
|
|
5344
|
+
function Axios_createClass(e, r, t) { return r && Axios_defineProperties(e.prototype, r), t && Axios_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
5345
|
+
function Axios_toPropertyKey(t) { var i = Axios_toPrimitive(t, "string"); return "symbol" == Axios_typeof(i) ? i : i + ""; }
|
|
5346
|
+
function Axios_toPrimitive(t, r) { if ("object" != Axios_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != Axios_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
5859
5347
|
|
|
5860
5348
|
|
|
5861
5349
|
|
|
@@ -5875,7 +5363,7 @@ var Axios_validators = validator.validators;
|
|
|
5875
5363
|
*/
|
|
5876
5364
|
var Axios = /*#__PURE__*/function () {
|
|
5877
5365
|
function Axios(instanceConfig) {
|
|
5878
|
-
|
|
5366
|
+
Axios_classCallCheck(this, Axios);
|
|
5879
5367
|
this.defaults = instanceConfig || {};
|
|
5880
5368
|
this.interceptors = {
|
|
5881
5369
|
request: new core_InterceptorManager(),
|
|
@@ -5891,12 +5379,12 @@ var Axios = /*#__PURE__*/function () {
|
|
|
5891
5379
|
*
|
|
5892
5380
|
* @returns {Promise} The Promise to be fulfilled
|
|
5893
5381
|
*/
|
|
5894
|
-
return
|
|
5382
|
+
return Axios_createClass(Axios, [{
|
|
5895
5383
|
key: "request",
|
|
5896
5384
|
value: (function () {
|
|
5897
|
-
var _request2 =
|
|
5385
|
+
var _request2 = Axios_asyncToGenerator(/*#__PURE__*/Axios_regeneratorRuntime().mark(function _callee(configOrUrl, config) {
|
|
5898
5386
|
var dummy, stack;
|
|
5899
|
-
return
|
|
5387
|
+
return Axios_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
5900
5388
|
while (1) switch (_context.prev = _context.next) {
|
|
5901
5389
|
case 0:
|
|
5902
5390
|
_context.prev = 0;
|
|
@@ -6089,8 +5577,12 @@ utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
|
|
|
6089
5577
|
;// ./node_modules/axios/lib/cancel/CancelToken.js
|
|
6090
5578
|
|
|
6091
5579
|
|
|
6092
|
-
|
|
6093
|
-
|
|
5580
|
+
function CancelToken_typeof(o) { "@babel/helpers - typeof"; return CancelToken_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, CancelToken_typeof(o); }
|
|
5581
|
+
function CancelToken_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
5582
|
+
function CancelToken_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, CancelToken_toPropertyKey(o.key), o); } }
|
|
5583
|
+
function CancelToken_createClass(e, r, t) { return r && CancelToken_defineProperties(e.prototype, r), t && CancelToken_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
5584
|
+
function CancelToken_toPropertyKey(t) { var i = CancelToken_toPrimitive(t, "string"); return "symbol" == CancelToken_typeof(i) ? i : i + ""; }
|
|
5585
|
+
function CancelToken_toPrimitive(t, r) { if ("object" != CancelToken_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != CancelToken_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
6094
5586
|
|
|
6095
5587
|
|
|
6096
5588
|
/**
|
|
@@ -6102,7 +5594,7 @@ utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
|
|
|
6102
5594
|
*/
|
|
6103
5595
|
var CancelToken = /*#__PURE__*/function () {
|
|
6104
5596
|
function CancelToken(executor) {
|
|
6105
|
-
|
|
5597
|
+
CancelToken_classCallCheck(this, CancelToken);
|
|
6106
5598
|
if (typeof executor !== 'function') {
|
|
6107
5599
|
throw new TypeError('executor must be a function.');
|
|
6108
5600
|
}
|
|
@@ -6148,7 +5640,7 @@ var CancelToken = /*#__PURE__*/function () {
|
|
|
6148
5640
|
/**
|
|
6149
5641
|
* Throws a `CanceledError` if cancellation has been requested.
|
|
6150
5642
|
*/
|
|
6151
|
-
return
|
|
5643
|
+
return CancelToken_createClass(CancelToken, [{
|
|
6152
5644
|
key: "throwIfRequested",
|
|
6153
5645
|
value: function throwIfRequested() {
|
|
6154
5646
|
if (this.reason) {
|
|
@@ -6266,7 +5758,12 @@ function isAxiosError(payload) {
|
|
|
6266
5758
|
return utils.isObject(payload) && payload.isAxiosError === true;
|
|
6267
5759
|
}
|
|
6268
5760
|
;// ./node_modules/axios/lib/helpers/HttpStatusCode.js
|
|
6269
|
-
|
|
5761
|
+
function HttpStatusCode_slicedToArray(r, e) { return HttpStatusCode_arrayWithHoles(r) || HttpStatusCode_iterableToArrayLimit(r, e) || HttpStatusCode_unsupportedIterableToArray(r, e) || HttpStatusCode_nonIterableRest(); }
|
|
5762
|
+
function HttpStatusCode_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
5763
|
+
function HttpStatusCode_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return HttpStatusCode_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? HttpStatusCode_arrayLikeToArray(r, a) : void 0; } }
|
|
5764
|
+
function HttpStatusCode_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
5765
|
+
function HttpStatusCode_iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
5766
|
+
function HttpStatusCode_arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
6270
5767
|
var HttpStatusCode = {
|
|
6271
5768
|
Continue: 100,
|
|
6272
5769
|
SwitchingProtocols: 101,
|
|
@@ -6333,7 +5830,7 @@ var HttpStatusCode = {
|
|
|
6333
5830
|
NetworkAuthenticationRequired: 511
|
|
6334
5831
|
};
|
|
6335
5832
|
Object.entries(HttpStatusCode).forEach(function (_ref) {
|
|
6336
|
-
var _ref2 =
|
|
5833
|
+
var _ref2 = HttpStatusCode_slicedToArray(_ref, 2),
|
|
6337
5834
|
key = _ref2[0],
|
|
6338
5835
|
value = _ref2[1];
|
|
6339
5836
|
HttpStatusCode[value] = key;
|
|
@@ -6460,14 +5957,18 @@ request.interceptors.response.use(function (resp) {
|
|
|
6460
5957
|
});
|
|
6461
5958
|
/* harmony default export */ var gridRequest = (request);
|
|
6462
5959
|
;// ./package/SpeechRecognition/api/Tx.js
|
|
6463
|
-
|
|
6464
|
-
|
|
5960
|
+
function Tx_typeof(o) { "@babel/helpers - typeof"; return Tx_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, Tx_typeof(o); }
|
|
5961
|
+
function Tx_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
5962
|
+
function Tx_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, Tx_toPropertyKey(o.key), o); } }
|
|
5963
|
+
function Tx_createClass(e, r, t) { return r && Tx_defineProperties(e.prototype, r), t && Tx_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
5964
|
+
function Tx_toPropertyKey(t) { var i = Tx_toPrimitive(t, "string"); return "symbol" == Tx_typeof(i) ? i : i + ""; }
|
|
5965
|
+
function Tx_toPrimitive(t, r) { if ("object" != Tx_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != Tx_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
6465
5966
|
|
|
6466
5967
|
var Tx = /*#__PURE__*/function () {
|
|
6467
5968
|
function Tx() {
|
|
6468
|
-
|
|
5969
|
+
Tx_classCallCheck(this, Tx);
|
|
6469
5970
|
}
|
|
6470
|
-
return
|
|
5971
|
+
return Tx_createClass(Tx, null, [{
|
|
6471
5972
|
key: "TextToVoice",
|
|
6472
5973
|
value: function TextToVoice(text) {
|
|
6473
5974
|
return gridRequest.post("/dxwh/gateway/TextToVoice", {
|
|
@@ -6543,13 +6044,19 @@ var base64ToArrayBuffer = function base64ToArrayBuffer(base64) {
|
|
|
6543
6044
|
return bytes.buffer;
|
|
6544
6045
|
};
|
|
6545
6046
|
;// ./node_modules/pinyin-pro/dist/index.mjs
|
|
6546
|
-
|
|
6547
|
-
|
|
6548
|
-
|
|
6549
|
-
|
|
6047
|
+
function dist_toConsumableArray(r) { return dist_arrayWithoutHoles(r) || dist_iterableToArray(r) || dist_unsupportedIterableToArray(r) || dist_nonIterableSpread(); }
|
|
6048
|
+
function dist_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
6049
|
+
function dist_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
6050
|
+
function dist_arrayWithoutHoles(r) { if (Array.isArray(r)) return dist_arrayLikeToArray(r); }
|
|
6550
6051
|
function dist_createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = dist_unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
|
|
6551
6052
|
function dist_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return dist_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? dist_arrayLikeToArray(r, a) : void 0; } }
|
|
6552
6053
|
function dist_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
6054
|
+
function dist_typeof(o) { "@babel/helpers - typeof"; return dist_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, dist_typeof(o); }
|
|
6055
|
+
function dist_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
6056
|
+
function dist_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, dist_toPropertyKey(o.key), o); } }
|
|
6057
|
+
function dist_createClass(e, r, t) { return r && dist_defineProperties(e.prototype, r), t && dist_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
6058
|
+
function dist_toPropertyKey(t) { var i = dist_toPrimitive(t, "string"); return "symbol" == dist_typeof(i) ? i : i + ""; }
|
|
6059
|
+
function dist_toPrimitive(t, r) { if ("object" != dist_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != dist_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
6553
6060
|
var DoubleUnicodePrefixReg = /^[\uD800-\uDBFF]$/;
|
|
6554
6061
|
var DoubleUnicodeSuffixReg = /^[\uDC00-\uDFFF]$/;
|
|
6555
6062
|
var DoubleUnicodeReg = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g;
|
|
@@ -6588,11 +6095,11 @@ function splitString(text) {
|
|
|
6588
6095
|
}
|
|
6589
6096
|
var FastDictFactory = /*#__PURE__*/function () {
|
|
6590
6097
|
function FastDictFactory() {
|
|
6591
|
-
|
|
6098
|
+
dist_classCallCheck(this, FastDictFactory);
|
|
6592
6099
|
this.NumberDICT = [];
|
|
6593
6100
|
this.StringDICT = new Map();
|
|
6594
6101
|
}
|
|
6595
|
-
return
|
|
6102
|
+
return dist_createClass(FastDictFactory, [{
|
|
6596
6103
|
key: "get",
|
|
6597
6104
|
value: function get(word) {
|
|
6598
6105
|
if (word.length > 1) {
|
|
@@ -15506,10 +15013,10 @@ var TokenizationAlgorithm;
|
|
|
15506
15013
|
TokenizationAlgorithm[TokenizationAlgorithm["MaxProbability"] = 2] = "MaxProbability";
|
|
15507
15014
|
TokenizationAlgorithm[TokenizationAlgorithm["MinTokenization"] = 3] = "MinTokenization";
|
|
15508
15015
|
})(TokenizationAlgorithm || (TokenizationAlgorithm = {}));
|
|
15509
|
-
var TrieNode = /*#__PURE__*/
|
|
15016
|
+
var TrieNode = /*#__PURE__*/dist_createClass(function TrieNode(parent) {
|
|
15510
15017
|
var prefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
|
|
15511
15018
|
var key = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "";
|
|
15512
|
-
|
|
15019
|
+
dist_classCallCheck(this, TrieNode);
|
|
15513
15020
|
this.children = new Map();
|
|
15514
15021
|
this.fail = null;
|
|
15515
15022
|
this.patterns = [];
|
|
@@ -15519,12 +15026,12 @@ var TrieNode = /*#__PURE__*/_createClass(function TrieNode(parent) {
|
|
|
15519
15026
|
});
|
|
15520
15027
|
var AC = /*#__PURE__*/function () {
|
|
15521
15028
|
function AC() {
|
|
15522
|
-
|
|
15029
|
+
dist_classCallCheck(this, AC);
|
|
15523
15030
|
this.dictMap = new Map();
|
|
15524
15031
|
this.queues = [];
|
|
15525
15032
|
this.root = new TrieNode(null);
|
|
15526
15033
|
}
|
|
15527
|
-
return
|
|
15034
|
+
return dist_createClass(AC, [{
|
|
15528
15035
|
key: "build",
|
|
15529
15036
|
value: function build(patternList) {
|
|
15530
15037
|
this.buildTrie(patternList);
|
|
@@ -15701,7 +15208,7 @@ var AC = /*#__PURE__*/function () {
|
|
|
15701
15208
|
}
|
|
15702
15209
|
}]);
|
|
15703
15210
|
}(); // 常规匹配
|
|
15704
|
-
var PatternsNormal = [].concat(
|
|
15211
|
+
var PatternsNormal = [].concat(dist_toConsumableArray(Pattern5), dist_toConsumableArray(Pattern4), dist_toConsumableArray(Pattern3), dist_toConsumableArray(Pattern2), dist_toConsumableArray(PatternNumberDict), dist_toConsumableArray(PatternSurname));
|
|
15705
15212
|
var acTree = new AC();
|
|
15706
15213
|
acTree.build(PatternsNormal);
|
|
15707
15214
|
var customDict = {};
|
|
@@ -16237,7 +15744,7 @@ var originDictMap = new Map();
|
|
|
16237
15744
|
function addDict(dict, options) {
|
|
16238
15745
|
var patterns = [];
|
|
16239
15746
|
// string 类型时:options 为 name()
|
|
16240
|
-
var name =
|
|
15747
|
+
var name = dist_typeof(options) === "object" ? options.name : options;
|
|
16241
15748
|
var dictName = name || DefaultName;
|
|
16242
15749
|
var dict1Handle = (options === null || options === void 0 ? void 0 : options.dict1) || "add";
|
|
16243
15750
|
for (var word in dict) {
|
|
@@ -16449,7 +15956,7 @@ var matchAboveStart = function matchAboveStart(text, pinyin$1, options) {
|
|
|
16449
15956
|
});
|
|
16450
15957
|
// 非中文匹配
|
|
16451
15958
|
if (words[_i3 - 1] === pinyin$1[_j - 1]) {
|
|
16452
|
-
var matches = [].concat(
|
|
15959
|
+
var matches = [].concat(dist_toConsumableArray(dp[_i3 - 1][_j - 1]), [_i3 - 1]);
|
|
16453
15960
|
// 记录最长的可匹配下标数组
|
|
16454
15961
|
if (!dp[_i3][_j] || matches.length > dp[_i3][_j].length) {
|
|
16455
15962
|
dp[_i3][_j] = matches;
|
|
@@ -16484,7 +15991,7 @@ var matchAboveStart = function matchAboveStart(text, pinyin$1, options) {
|
|
|
16484
15991
|
if (last) {
|
|
16485
15992
|
return {
|
|
16486
15993
|
v: {
|
|
16487
|
-
v: [].concat(
|
|
15994
|
+
v: [].concat(dist_toConsumableArray(dp[_i3 - 1][_j - 1]), [_i3 - 1])
|
|
16488
15995
|
}
|
|
16489
15996
|
};
|
|
16490
15997
|
}
|
|
@@ -16494,7 +16001,7 @@ var matchAboveStart = function matchAboveStart(text, pinyin$1, options) {
|
|
|
16494
16001
|
if (precision === "start") {
|
|
16495
16002
|
muls.forEach(function (py) {
|
|
16496
16003
|
var end = _j;
|
|
16497
|
-
var matches = [].concat(
|
|
16004
|
+
var matches = [].concat(dist_toConsumableArray(dp[_i3 - 1][_j - 1]), [_i3 - 1]);
|
|
16498
16005
|
while (end <= pinyin$1.length && py.startsWith(pinyin$1.slice(_j - 1, end))) {
|
|
16499
16006
|
if (!dp[_i3][end] || matches.length > dp[_i3][end].length) {
|
|
16500
16007
|
dp[_i3][end] = matches;
|
|
@@ -16508,7 +16015,7 @@ var matchAboveStart = function matchAboveStart(text, pinyin$1, options) {
|
|
|
16508
16015
|
if (muls.some(function (py) {
|
|
16509
16016
|
return py[0] === pinyin$1[_j - 1];
|
|
16510
16017
|
})) {
|
|
16511
|
-
var _matches = [].concat(
|
|
16018
|
+
var _matches = [].concat(dist_toConsumableArray(dp[_i3 - 1][_j - 1]), [_i3 - 1]);
|
|
16512
16019
|
// 记录最长的可匹配下标数组
|
|
16513
16020
|
if (!dp[_i3][_j] || _matches.length > dp[_i3][_j].length) {
|
|
16514
16021
|
dp[_i3][_j] = _matches;
|
|
@@ -16520,7 +16027,7 @@ var matchAboveStart = function matchAboveStart(text, pinyin$1, options) {
|
|
|
16520
16027
|
return py === pinyin$1.slice(_j - 1, _j - 1 + py.length);
|
|
16521
16028
|
});
|
|
16522
16029
|
if (completeMatch) {
|
|
16523
|
-
var _matches2 = [].concat(
|
|
16030
|
+
var _matches2 = [].concat(dist_toConsumableArray(dp[_i3 - 1][_j - 1]), [_i3 - 1]);
|
|
16524
16031
|
var endIndex = _j - 1 + completeMatch.length;
|
|
16525
16032
|
// 记录最长的可匹配下标数组
|
|
16526
16033
|
if (!dp[_i3][endIndex] || _matches2.length > dp[_i3][endIndex].length) {
|
|
@@ -16759,7 +16266,7 @@ var toneMap = {
|
|
|
16759
16266
|
*/
|
|
16760
16267
|
function convert(pinyin, options) {
|
|
16761
16268
|
options = Object.assign(Object.assign({}, DefaultConvertOptions), options || {});
|
|
16762
|
-
var originType =
|
|
16269
|
+
var originType = dist_typeof(pinyin);
|
|
16763
16270
|
if (typeof pinyin === 'string') {
|
|
16764
16271
|
pinyin = pinyin.split(options.separator);
|
|
16765
16272
|
}
|
|
@@ -17071,18 +16578,22 @@ var onQuit = function onQuit(opt) {
|
|
|
17071
16578
|
|
|
17072
16579
|
// export { wakeUpState, wakeUpState as default }
|
|
17073
16580
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=script&lang=js
|
|
17074
|
-
|
|
17075
|
-
|
|
17076
|
-
|
|
16581
|
+
function SpeechRecognitionvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return SpeechRecognitionvue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, SpeechRecognitionvue_type_script_lang_js_typeof(o); }
|
|
16582
|
+
function SpeechRecognitionvue_type_script_lang_js_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ SpeechRecognitionvue_type_script_lang_js_regeneratorRuntime = function _regeneratorRuntime() { return r; }; var t, r = {}, e = Object.prototype, n = e.hasOwnProperty, o = "function" == typeof Symbol ? Symbol : {}, i = o.iterator || "@@iterator", a = o.asyncIterator || "@@asyncIterator", u = o.toStringTag || "@@toStringTag"; function c(t, r, e, n) { return Object.defineProperty(t, r, { value: e, enumerable: !n, configurable: !n, writable: !n }); } try { c({}, ""); } catch (t) { c = function c(t, r, e) { return t[r] = e; }; } function h(r, e, n, o) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype); return c(a, "_invoke", function (r, e, n) { var o = 1; return function (i, a) { if (3 === o) throw Error("Generator is already running"); if (4 === o) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var u = n.delegate; if (u) { var c = d(u, n); if (c) { if (c === f) continue; return c; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (1 === o) throw o = 4, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = 3; var h = s(r, e, n); if ("normal" === h.type) { if (o = n.done ? 4 : 2, h.arg === f) continue; return { value: h.arg, done: n.done }; } "throw" === h.type && (o = 4, n.method = "throw", n.arg = h.arg); } }; }(r, n, new Context(o || [])), !0), a; } function s(t, r, e) { try { return { type: "normal", arg: t.call(r, e) }; } catch (t) { return { type: "throw", arg: t }; } } r.wrap = h; var f = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var l = {}; c(l, i, function () { return this; }); var p = Object.getPrototypeOf, y = p && p(p(x([]))); y && y !== e && n.call(y, i) && (l = y); var v = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(l); function g(t) { ["next", "throw", "return"].forEach(function (r) { c(t, r, function (t) { return this._invoke(r, t); }); }); } function AsyncIterator(t, r) { function e(o, i, a, u) { var c = s(t[o], t, i); if ("throw" !== c.type) { var h = c.arg, f = h.value; return f && "object" == SpeechRecognitionvue_type_script_lang_js_typeof(f) && n.call(f, "__await") ? r.resolve(f.__await).then(function (t) { e("next", t, a, u); }, function (t) { e("throw", t, a, u); }) : r.resolve(f).then(function (t) { h.value = t, a(h); }, function (t) { return e("throw", t, a, u); }); } u(c.arg); } var o; c(this, "_invoke", function (t, n) { function i() { return new r(function (r, o) { e(t, n, r, o); }); } return o = o ? o.then(i, i) : i(); }, !0); } function d(r, e) { var n = e.method, o = r.i[n]; if (o === t) return e.delegate = null, "throw" === n && r.i.return && (e.method = "return", e.arg = t, d(r, e), "throw" === e.method) || "return" !== n && (e.method = "throw", e.arg = new TypeError("The iterator does not provide a '" + n + "' method")), f; var i = s(o, r.i, e.arg); if ("throw" === i.type) return e.method = "throw", e.arg = i.arg, e.delegate = null, f; var a = i.arg; return a ? a.done ? (e[r.r] = a.value, e.next = r.n, "return" !== e.method && (e.method = "next", e.arg = t), e.delegate = null, f) : a : (e.method = "throw", e.arg = new TypeError("iterator result is not an object"), e.delegate = null, f); } function w(t) { this.tryEntries.push(t); } function m(r) { var e = r[4] || {}; e.type = "normal", e.arg = t, r[4] = e; } function Context(t) { this.tryEntries = [[-1]], t.forEach(w, this), this.reset(!0); } function x(r) { if (null != r) { var e = r[i]; if (e) return e.call(r); if ("function" == typeof r.next) return r; if (!isNaN(r.length)) { var o = -1, a = function e() { for (; ++o < r.length;) if (n.call(r, o)) return e.value = r[o], e.done = !1, e; return e.value = t, e.done = !0, e; }; return a.next = a; } } throw new TypeError(SpeechRecognitionvue_type_script_lang_js_typeof(r) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, c(v, "constructor", GeneratorFunctionPrototype), c(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = c(GeneratorFunctionPrototype, u, "GeneratorFunction"), r.isGeneratorFunction = function (t) { var r = "function" == typeof t && t.constructor; return !!r && (r === GeneratorFunction || "GeneratorFunction" === (r.displayName || r.name)); }, r.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, c(t, u, "GeneratorFunction")), t.prototype = Object.create(v), t; }, r.awrap = function (t) { return { __await: t }; }, g(AsyncIterator.prototype), c(AsyncIterator.prototype, a, function () { return this; }), r.AsyncIterator = AsyncIterator, r.async = function (t, e, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(h(t, e, n, o), i); return r.isGeneratorFunction(e) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, g(v), c(v, u, "Generator"), c(v, i, function () { return this; }), c(v, "toString", function () { return "[object Generator]"; }), r.keys = function (t) { var r = Object(t), e = []; for (var n in r) e.unshift(n); return function t() { for (; e.length;) if ((n = e.pop()) in r) return t.value = n, t.done = !1, t; return t.done = !0, t; }; }, r.values = x, Context.prototype = { constructor: Context, reset: function reset(r) { if (this.prev = this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(m), !r) for (var e in this) "t" === e.charAt(0) && n.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0][4]; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(r) { if (this.done) throw r; var e = this; function n(t) { a.type = "throw", a.arg = r, e.next = t; } for (var o = e.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i[4], u = this.prev, c = i[1], h = i[2]; if (-1 === i[0]) return n("end"), !1; if (!c && !h) throw Error("try statement without catch or finally"); if (null != i[0] && i[0] <= u) { if (u < c) return this.method = "next", this.arg = t, n(c), !0; if (u < h) return n(h), !1; } } }, abrupt: function abrupt(t, r) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var n = this.tryEntries[e]; if (n[0] > -1 && n[0] <= this.prev && this.prev < n[2]) { var o = n; break; } } o && ("break" === t || "continue" === t) && o[0] <= r && r <= o[2] && (o = null); var i = o ? o[4] : {}; return i.type = t, i.arg = r, o ? (this.method = "next", this.next = o[2], f) : this.complete(i); }, complete: function complete(t, r) { if ("throw" === t.type) throw t.arg; 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 && r && (this.next = r), f; }, finish: function finish(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[2] === t) return this.complete(e[4], e[3]), m(e), f; } }, catch: function _catch(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[0] === t) { var n = e[4]; if ("throw" === n.type) { var o = n.arg; m(e); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(r, e, n) { return this.delegate = { i: x(r), r: e, n: n }, "next" === this.method && (this.arg = t), f; } }, r; }
|
|
17077
16583
|
function SpeechRecognitionvue_type_script_lang_js_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
17078
|
-
function SpeechRecognitionvue_type_script_lang_js_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? SpeechRecognitionvue_type_script_lang_js_ownKeys(Object(t), !0).forEach(function (r) {
|
|
16584
|
+
function SpeechRecognitionvue_type_script_lang_js_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? SpeechRecognitionvue_type_script_lang_js_ownKeys(Object(t), !0).forEach(function (r) { SpeechRecognitionvue_type_script_lang_js_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : SpeechRecognitionvue_type_script_lang_js_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16585
|
+
function SpeechRecognitionvue_type_script_lang_js_defineProperty(e, r, t) { return (r = SpeechRecognitionvue_type_script_lang_js_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
16586
|
+
function SpeechRecognitionvue_type_script_lang_js_toPropertyKey(t) { var i = SpeechRecognitionvue_type_script_lang_js_toPrimitive(t, "string"); return "symbol" == SpeechRecognitionvue_type_script_lang_js_typeof(i) ? i : i + ""; }
|
|
16587
|
+
function SpeechRecognitionvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != SpeechRecognitionvue_type_script_lang_js_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != SpeechRecognitionvue_type_script_lang_js_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
16588
|
+
function SpeechRecognitionvue_type_script_lang_js_asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
16589
|
+
function SpeechRecognitionvue_type_script_lang_js_asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { SpeechRecognitionvue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { SpeechRecognitionvue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
17079
16590
|
|
|
17080
16591
|
|
|
17081
16592
|
|
|
17082
16593
|
|
|
17083
16594
|
|
|
17084
16595
|
|
|
17085
|
-
var
|
|
16596
|
+
var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
17086
16597
|
name: "yx-speech-recognition",
|
|
17087
16598
|
components: {
|
|
17088
16599
|
Message: Message
|
|
@@ -17210,9 +16721,9 @@ var __default__ = {
|
|
|
17210
16721
|
},
|
|
17211
16722
|
updateSession: function updateSession(opt) {
|
|
17212
16723
|
var _this2 = this;
|
|
17213
|
-
return
|
|
16724
|
+
return SpeechRecognitionvue_type_script_lang_js_asyncToGenerator(/*#__PURE__*/SpeechRecognitionvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
17214
16725
|
var messages, res, type, content, _messages, voice_id, session_id, formData, _res, code, msg, obj, _content, standard_back, command_type;
|
|
17215
|
-
return
|
|
16726
|
+
return SpeechRecognitionvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
17216
16727
|
while (1) switch (_context.prev = _context.next) {
|
|
17217
16728
|
case 0:
|
|
17218
16729
|
messages = opt.messages, res = opt.res;
|
|
@@ -17335,9 +16846,9 @@ var __default__ = {
|
|
|
17335
16846
|
},
|
|
17336
16847
|
// 语音播放
|
|
17337
16848
|
handlePlayTTS: function handlePlayTTS(opt) {
|
|
17338
|
-
return
|
|
16849
|
+
return SpeechRecognitionvue_type_script_lang_js_asyncToGenerator(/*#__PURE__*/SpeechRecognitionvue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
|
|
17339
16850
|
var content, onEnded, res, arrayBuffer, blob, url, audio;
|
|
17340
|
-
return
|
|
16851
|
+
return SpeechRecognitionvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
17341
16852
|
while (1) switch (_context2.prev = _context2.next) {
|
|
17342
16853
|
case 0:
|
|
17343
16854
|
_context2.prev = 0;
|
|
@@ -17505,19 +17016,19 @@ var __default__ = {
|
|
|
17505
17016
|
}
|
|
17506
17017
|
};
|
|
17507
17018
|
|
|
17508
|
-
var
|
|
17019
|
+
var SpeechRecognitionvue_type_script_lang_js_injectCSSVars_ = function __injectCSSVars__() {
|
|
17509
17020
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.useCssVars)(function (_vm, _setup) {
|
|
17510
17021
|
return {
|
|
17511
17022
|
"578fe822": _vm.htmlFontSize
|
|
17512
17023
|
};
|
|
17513
17024
|
});
|
|
17514
17025
|
};
|
|
17515
|
-
var
|
|
17516
|
-
|
|
17517
|
-
|
|
17518
|
-
return
|
|
17519
|
-
} :
|
|
17520
|
-
/* harmony default export */ var SpeechRecognitionvue_type_script_lang_js = (
|
|
17026
|
+
var SpeechRecognitionvue_type_script_lang_js_setup_ = SpeechRecognitionvue_type_script_lang_js_default_.setup;
|
|
17027
|
+
SpeechRecognitionvue_type_script_lang_js_default_.setup = SpeechRecognitionvue_type_script_lang_js_setup_ ? function (props, ctx) {
|
|
17028
|
+
SpeechRecognitionvue_type_script_lang_js_injectCSSVars_();
|
|
17029
|
+
return SpeechRecognitionvue_type_script_lang_js_setup_(props, ctx);
|
|
17030
|
+
} : SpeechRecognitionvue_type_script_lang_js_injectCSSVars_;
|
|
17031
|
+
/* harmony default export */ var SpeechRecognitionvue_type_script_lang_js = (SpeechRecognitionvue_type_script_lang_js_default_);
|
|
17521
17032
|
;// ./package/SpeechRecognition/index.vue?vue&type=script&lang=js
|
|
17522
17033
|
/* harmony default export */ var package_SpeechRecognitionvue_type_script_lang_js = (SpeechRecognitionvue_type_script_lang_js);
|
|
17523
17034
|
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=643faf61&prod&lang=scss&scoped=true
|