yxspeechrecognition 1.1.0 → 1.1.1
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 +24 -542
- package/YxSpeechRecognition.common.js.map +1 -1
- package/YxSpeechRecognition.umd.js +24 -542
- 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
|
@@ -36,26 +36,6 @@ if(content.locals) module.exports = content.locals;
|
|
|
36
36
|
var add = (__webpack_require__(459)/* ["default"] */ .A)
|
|
37
37
|
var update = add("71332bf9", content, true, {"sourceMap":false,"shadowMode":false});
|
|
38
38
|
|
|
39
|
-
/***/ }),
|
|
40
|
-
|
|
41
|
-
/***/ 284:
|
|
42
|
-
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
43
|
-
|
|
44
|
-
"use strict";
|
|
45
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
46
|
-
/* harmony export */ A: function() { return /* binding */ _typeof; }
|
|
47
|
-
/* harmony export */ });
|
|
48
|
-
function _typeof(o) {
|
|
49
|
-
"@babel/helpers - typeof";
|
|
50
|
-
|
|
51
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
52
|
-
return typeof o;
|
|
53
|
-
} : function (o) {
|
|
54
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
55
|
-
}, _typeof(o);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
|
|
59
39
|
/***/ }),
|
|
60
40
|
|
|
61
41
|
/***/ 314:
|
|
@@ -158,30 +138,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADy
|
|
|
158
138
|
|
|
159
139
|
/***/ }),
|
|
160
140
|
|
|
161
|
-
/***/ 361:
|
|
162
|
-
/***/ (function(module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
163
|
-
|
|
164
|
-
"use strict";
|
|
165
|
-
/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(284);
|
|
166
|
-
/* module decorator */ module = __webpack_require__.hmd(module);
|
|
167
|
-
|
|
168
|
-
!function (e, t) {
|
|
169
|
-
"object" == (typeof exports === "undefined" ? "undefined" : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(exports)) && "undefined" != "object" ? module.exports = t() : "function" == typeof define && __webpack_require__.amdO ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).dayjs_plugin_weekday = t();
|
|
170
|
-
}(undefined, function () {
|
|
171
|
-
"use strict";
|
|
172
|
-
|
|
173
|
-
return function (e, t) {
|
|
174
|
-
t.prototype.weekday = function (e) {
|
|
175
|
-
var t = this.$locale().weekStart || 0,
|
|
176
|
-
i = this.$W,
|
|
177
|
-
n = (i < t ? i + 7 : i) - t;
|
|
178
|
-
return this.$utils().u(e) ? n : this.subtract(n, "day").add(e, "day");
|
|
179
|
-
};
|
|
180
|
-
};
|
|
181
|
-
});
|
|
182
|
-
|
|
183
|
-
/***/ }),
|
|
184
|
-
|
|
185
141
|
/***/ 417:
|
|
186
142
|
/***/ (function(module) {
|
|
187
143
|
|
|
@@ -481,455 +437,6 @@ function applyToTag (styleElement, obj) {
|
|
|
481
437
|
}
|
|
482
438
|
|
|
483
439
|
|
|
484
|
-
/***/ }),
|
|
485
|
-
|
|
486
|
-
/***/ 514:
|
|
487
|
-
/***/ (function(module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
488
|
-
|
|
489
|
-
"use strict";
|
|
490
|
-
/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(284);
|
|
491
|
-
/* module decorator */ module = __webpack_require__.hmd(module);
|
|
492
|
-
|
|
493
|
-
!function (e, _) {
|
|
494
|
-
"object" == (typeof exports === "undefined" ? "undefined" : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(exports)) && "undefined" != "object" ? module.exports = _(__webpack_require__(576)) : "function" == typeof define && __webpack_require__.amdO ? define(["dayjs"], _) : (e = "undefined" != typeof globalThis ? globalThis : e || self).dayjs_locale_zh_cn = _(e.dayjs);
|
|
495
|
-
}(undefined, function (e) {
|
|
496
|
-
"use strict";
|
|
497
|
-
|
|
498
|
-
function _(e) {
|
|
499
|
-
return e && "object" == (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(e) && "default" in e ? e : {
|
|
500
|
-
default: e
|
|
501
|
-
};
|
|
502
|
-
}
|
|
503
|
-
var t = _(e),
|
|
504
|
-
d = {
|
|
505
|
-
name: "zh-cn",
|
|
506
|
-
weekdays: "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),
|
|
507
|
-
weekdaysShort: "周日_周一_周二_周三_周四_周五_周六".split("_"),
|
|
508
|
-
weekdaysMin: "日_一_二_三_四_五_六".split("_"),
|
|
509
|
-
months: "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),
|
|
510
|
-
monthsShort: "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
|
|
511
|
-
ordinal: function ordinal(e, _) {
|
|
512
|
-
return "W" === _ ? e + "周" : e + "日";
|
|
513
|
-
},
|
|
514
|
-
weekStart: 1,
|
|
515
|
-
yearStart: 4,
|
|
516
|
-
formats: {
|
|
517
|
-
LT: "HH:mm",
|
|
518
|
-
LTS: "HH:mm:ss",
|
|
519
|
-
L: "YYYY/MM/DD",
|
|
520
|
-
LL: "YYYY年M月D日",
|
|
521
|
-
LLL: "YYYY年M月D日Ah点mm分",
|
|
522
|
-
LLLL: "YYYY年M月D日ddddAh点mm分",
|
|
523
|
-
l: "YYYY/M/D",
|
|
524
|
-
ll: "YYYY年M月D日",
|
|
525
|
-
lll: "YYYY年M月D日 HH:mm",
|
|
526
|
-
llll: "YYYY年M月D日dddd HH:mm"
|
|
527
|
-
},
|
|
528
|
-
relativeTime: {
|
|
529
|
-
future: "%s内",
|
|
530
|
-
past: "%s前",
|
|
531
|
-
s: "几秒",
|
|
532
|
-
m: "1 分钟",
|
|
533
|
-
mm: "%d 分钟",
|
|
534
|
-
h: "1 小时",
|
|
535
|
-
hh: "%d 小时",
|
|
536
|
-
d: "1 天",
|
|
537
|
-
dd: "%d 天",
|
|
538
|
-
M: "1 个月",
|
|
539
|
-
MM: "%d 个月",
|
|
540
|
-
y: "1 年",
|
|
541
|
-
yy: "%d 年"
|
|
542
|
-
},
|
|
543
|
-
meridiem: function meridiem(e, _) {
|
|
544
|
-
var t = 100 * e + _;
|
|
545
|
-
return t < 600 ? "凌晨" : t < 900 ? "早上" : t < 1100 ? "上午" : t < 1300 ? "中午" : t < 1800 ? "下午" : "晚上";
|
|
546
|
-
}
|
|
547
|
-
};
|
|
548
|
-
return t.default.locale(d, null, !0), d;
|
|
549
|
-
});
|
|
550
|
-
|
|
551
|
-
/***/ }),
|
|
552
|
-
|
|
553
|
-
/***/ 576:
|
|
554
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
555
|
-
|
|
556
|
-
"use strict";
|
|
557
|
-
__webpack_require__.r(__webpack_exports__);
|
|
558
|
-
/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(284);
|
|
559
|
-
/* module decorator */ module = __webpack_require__.hmd(module);
|
|
560
|
-
|
|
561
|
-
!function (t, e) {
|
|
562
|
-
"object" == (typeof exports === "undefined" ? "undefined" : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(exports)) && "undefined" != "object" ? module.exports = e() : "function" == typeof define && __webpack_require__.amdO ? define(e) : (t = "undefined" != typeof globalThis ? globalThis : t || self).dayjs = e();
|
|
563
|
-
}(undefined, function () {
|
|
564
|
-
"use strict";
|
|
565
|
-
|
|
566
|
-
var t = 1e3,
|
|
567
|
-
e = 6e4,
|
|
568
|
-
n = 36e5,
|
|
569
|
-
r = "millisecond",
|
|
570
|
-
i = "second",
|
|
571
|
-
s = "minute",
|
|
572
|
-
u = "hour",
|
|
573
|
-
a = "day",
|
|
574
|
-
o = "week",
|
|
575
|
-
c = "month",
|
|
576
|
-
f = "quarter",
|
|
577
|
-
h = "year",
|
|
578
|
-
d = "date",
|
|
579
|
-
l = "Invalid Date",
|
|
580
|
-
$ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
|
|
581
|
-
y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,
|
|
582
|
-
M = {
|
|
583
|
-
name: "en",
|
|
584
|
-
weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
|
|
585
|
-
months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
|
|
586
|
-
ordinal: function ordinal(t) {
|
|
587
|
-
var e = ["th", "st", "nd", "rd"],
|
|
588
|
-
n = t % 100;
|
|
589
|
-
return "[" + t + (e[(n - 20) % 10] || e[n] || e[0]) + "]";
|
|
590
|
-
}
|
|
591
|
-
},
|
|
592
|
-
m = function m(t, e, n) {
|
|
593
|
-
var r = String(t);
|
|
594
|
-
return !r || r.length >= e ? t : "" + Array(e + 1 - r.length).join(n) + t;
|
|
595
|
-
},
|
|
596
|
-
v = {
|
|
597
|
-
s: m,
|
|
598
|
-
z: function z(t) {
|
|
599
|
-
var e = -t.utcOffset(),
|
|
600
|
-
n = Math.abs(e),
|
|
601
|
-
r = Math.floor(n / 60),
|
|
602
|
-
i = n % 60;
|
|
603
|
-
return (e <= 0 ? "+" : "-") + m(r, 2, "0") + ":" + m(i, 2, "0");
|
|
604
|
-
},
|
|
605
|
-
m: function t(e, n) {
|
|
606
|
-
if (e.date() < n.date()) return -t(n, e);
|
|
607
|
-
var r = 12 * (n.year() - e.year()) + (n.month() - e.month()),
|
|
608
|
-
i = e.clone().add(r, c),
|
|
609
|
-
s = n - i < 0,
|
|
610
|
-
u = e.clone().add(r + (s ? -1 : 1), c);
|
|
611
|
-
return +(-(r + (n - i) / (s ? i - u : u - i)) || 0);
|
|
612
|
-
},
|
|
613
|
-
a: function a(t) {
|
|
614
|
-
return t < 0 ? Math.ceil(t) || 0 : Math.floor(t);
|
|
615
|
-
},
|
|
616
|
-
p: function p(t) {
|
|
617
|
-
return {
|
|
618
|
-
M: c,
|
|
619
|
-
y: h,
|
|
620
|
-
w: o,
|
|
621
|
-
d: a,
|
|
622
|
-
D: d,
|
|
623
|
-
h: u,
|
|
624
|
-
m: s,
|
|
625
|
-
s: i,
|
|
626
|
-
ms: r,
|
|
627
|
-
Q: f
|
|
628
|
-
}[t] || String(t || "").toLowerCase().replace(/s$/, "");
|
|
629
|
-
},
|
|
630
|
-
u: function u(t) {
|
|
631
|
-
return void 0 === t;
|
|
632
|
-
}
|
|
633
|
-
},
|
|
634
|
-
g = "en",
|
|
635
|
-
D = {};
|
|
636
|
-
D[g] = M;
|
|
637
|
-
var p = "$isDayjsObject",
|
|
638
|
-
S = function S(t) {
|
|
639
|
-
return t instanceof _ || !(!t || !t[p]);
|
|
640
|
-
},
|
|
641
|
-
w = function t(e, n, r) {
|
|
642
|
-
var i;
|
|
643
|
-
if (!e) return g;
|
|
644
|
-
if ("string" == typeof e) {
|
|
645
|
-
var s = e.toLowerCase();
|
|
646
|
-
D[s] && (i = s), n && (D[s] = n, i = s);
|
|
647
|
-
var u = e.split("-");
|
|
648
|
-
if (!i && u.length > 1) return t(u[0]);
|
|
649
|
-
} else {
|
|
650
|
-
var a = e.name;
|
|
651
|
-
D[a] = e, i = a;
|
|
652
|
-
}
|
|
653
|
-
return !r && i && (g = i), i || !r && g;
|
|
654
|
-
},
|
|
655
|
-
O = function O(t, e) {
|
|
656
|
-
if (S(t)) return t.clone();
|
|
657
|
-
var n = "object" == (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(e) ? e : {};
|
|
658
|
-
return n.date = t, n.args = arguments, new _(n);
|
|
659
|
-
},
|
|
660
|
-
b = v;
|
|
661
|
-
b.l = w, b.i = S, b.w = function (t, e) {
|
|
662
|
-
return O(t, {
|
|
663
|
-
locale: e.$L,
|
|
664
|
-
utc: e.$u,
|
|
665
|
-
x: e.$x,
|
|
666
|
-
$offset: e.$offset
|
|
667
|
-
});
|
|
668
|
-
};
|
|
669
|
-
var _ = function () {
|
|
670
|
-
function M(t) {
|
|
671
|
-
this.$L = w(t.locale, null, !0), this.parse(t), this.$x = this.$x || t.x || {}, this[p] = !0;
|
|
672
|
-
}
|
|
673
|
-
var m = M.prototype;
|
|
674
|
-
return m.parse = function (t) {
|
|
675
|
-
this.$d = function (t) {
|
|
676
|
-
var e = t.date,
|
|
677
|
-
n = t.utc;
|
|
678
|
-
if (null === e) return new Date(NaN);
|
|
679
|
-
if (b.u(e)) return new Date();
|
|
680
|
-
if (e instanceof Date) return new Date(e);
|
|
681
|
-
if ("string" == typeof e && !/Z$/i.test(e)) {
|
|
682
|
-
var r = e.match($);
|
|
683
|
-
if (r) {
|
|
684
|
-
var i = r[2] - 1 || 0,
|
|
685
|
-
s = (r[7] || "0").substring(0, 3);
|
|
686
|
-
return n ? new Date(Date.UTC(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, s)) : new Date(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, s);
|
|
687
|
-
}
|
|
688
|
-
}
|
|
689
|
-
return new Date(e);
|
|
690
|
-
}(t), this.init();
|
|
691
|
-
}, m.init = function () {
|
|
692
|
-
var t = this.$d;
|
|
693
|
-
this.$y = t.getFullYear(), this.$M = t.getMonth(), this.$D = t.getDate(), this.$W = t.getDay(), this.$H = t.getHours(), this.$m = t.getMinutes(), this.$s = t.getSeconds(), this.$ms = t.getMilliseconds();
|
|
694
|
-
}, m.$utils = function () {
|
|
695
|
-
return b;
|
|
696
|
-
}, m.isValid = function () {
|
|
697
|
-
return !(this.$d.toString() === l);
|
|
698
|
-
}, m.isSame = function (t, e) {
|
|
699
|
-
var n = O(t);
|
|
700
|
-
return this.startOf(e) <= n && n <= this.endOf(e);
|
|
701
|
-
}, m.isAfter = function (t, e) {
|
|
702
|
-
return O(t) < this.startOf(e);
|
|
703
|
-
}, m.isBefore = function (t, e) {
|
|
704
|
-
return this.endOf(e) < O(t);
|
|
705
|
-
}, m.$g = function (t, e, n) {
|
|
706
|
-
return b.u(t) ? this[e] : this.set(n, t);
|
|
707
|
-
}, m.unix = function () {
|
|
708
|
-
return Math.floor(this.valueOf() / 1e3);
|
|
709
|
-
}, m.valueOf = function () {
|
|
710
|
-
return this.$d.getTime();
|
|
711
|
-
}, m.startOf = function (t, e) {
|
|
712
|
-
var n = this,
|
|
713
|
-
r = !!b.u(e) || e,
|
|
714
|
-
f = b.p(t),
|
|
715
|
-
l = function l(t, e) {
|
|
716
|
-
var i = b.w(n.$u ? Date.UTC(n.$y, e, t) : new Date(n.$y, e, t), n);
|
|
717
|
-
return r ? i : i.endOf(a);
|
|
718
|
-
},
|
|
719
|
-
$ = function $(t, e) {
|
|
720
|
-
return b.w(n.toDate()[t].apply(n.toDate("s"), (r ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e)), n);
|
|
721
|
-
},
|
|
722
|
-
y = this.$W,
|
|
723
|
-
M = this.$M,
|
|
724
|
-
m = this.$D,
|
|
725
|
-
v = "set" + (this.$u ? "UTC" : "");
|
|
726
|
-
switch (f) {
|
|
727
|
-
case h:
|
|
728
|
-
return r ? l(1, 0) : l(31, 11);
|
|
729
|
-
case c:
|
|
730
|
-
return r ? l(1, M) : l(0, M + 1);
|
|
731
|
-
case o:
|
|
732
|
-
var g = this.$locale().weekStart || 0,
|
|
733
|
-
D = (y < g ? y + 7 : y) - g;
|
|
734
|
-
return l(r ? m - D : m + (6 - D), M);
|
|
735
|
-
case a:
|
|
736
|
-
case d:
|
|
737
|
-
return $(v + "Hours", 0);
|
|
738
|
-
case u:
|
|
739
|
-
return $(v + "Minutes", 1);
|
|
740
|
-
case s:
|
|
741
|
-
return $(v + "Seconds", 2);
|
|
742
|
-
case i:
|
|
743
|
-
return $(v + "Milliseconds", 3);
|
|
744
|
-
default:
|
|
745
|
-
return this.clone();
|
|
746
|
-
}
|
|
747
|
-
}, m.endOf = function (t) {
|
|
748
|
-
return this.startOf(t, !1);
|
|
749
|
-
}, m.$set = function (t, e) {
|
|
750
|
-
var n,
|
|
751
|
-
o = b.p(t),
|
|
752
|
-
f = "set" + (this.$u ? "UTC" : ""),
|
|
753
|
-
l = (n = {}, n[a] = f + "Date", n[d] = f + "Date", n[c] = f + "Month", n[h] = f + "FullYear", n[u] = f + "Hours", n[s] = f + "Minutes", n[i] = f + "Seconds", n[r] = f + "Milliseconds", n)[o],
|
|
754
|
-
$ = o === a ? this.$D + (e - this.$W) : e;
|
|
755
|
-
if (o === c || o === h) {
|
|
756
|
-
var y = this.clone().set(d, 1);
|
|
757
|
-
y.$d[l]($), y.init(), this.$d = y.set(d, Math.min(this.$D, y.daysInMonth())).$d;
|
|
758
|
-
} else l && this.$d[l]($);
|
|
759
|
-
return this.init(), this;
|
|
760
|
-
}, m.set = function (t, e) {
|
|
761
|
-
return this.clone().$set(t, e);
|
|
762
|
-
}, m.get = function (t) {
|
|
763
|
-
return this[b.p(t)]();
|
|
764
|
-
}, m.add = function (r, f) {
|
|
765
|
-
var d,
|
|
766
|
-
l = this;
|
|
767
|
-
r = Number(r);
|
|
768
|
-
var $ = b.p(f),
|
|
769
|
-
y = function y(t) {
|
|
770
|
-
var e = O(l);
|
|
771
|
-
return b.w(e.date(e.date() + Math.round(t * r)), l);
|
|
772
|
-
};
|
|
773
|
-
if ($ === c) return this.set(c, this.$M + r);
|
|
774
|
-
if ($ === h) return this.set(h, this.$y + r);
|
|
775
|
-
if ($ === a) return y(1);
|
|
776
|
-
if ($ === o) return y(7);
|
|
777
|
-
var M = (d = {}, d[s] = e, d[u] = n, d[i] = t, d)[$] || 1,
|
|
778
|
-
m = this.$d.getTime() + r * M;
|
|
779
|
-
return b.w(m, this);
|
|
780
|
-
}, m.subtract = function (t, e) {
|
|
781
|
-
return this.add(-1 * t, e);
|
|
782
|
-
}, m.format = function (t) {
|
|
783
|
-
var e = this,
|
|
784
|
-
n = this.$locale();
|
|
785
|
-
if (!this.isValid()) return n.invalidDate || l;
|
|
786
|
-
var r = t || "YYYY-MM-DDTHH:mm:ssZ",
|
|
787
|
-
i = b.z(this),
|
|
788
|
-
s = this.$H,
|
|
789
|
-
u = this.$m,
|
|
790
|
-
a = this.$M,
|
|
791
|
-
o = n.weekdays,
|
|
792
|
-
c = n.months,
|
|
793
|
-
f = n.meridiem,
|
|
794
|
-
h = function h(t, n, i, s) {
|
|
795
|
-
return t && (t[n] || t(e, r)) || i[n].slice(0, s);
|
|
796
|
-
},
|
|
797
|
-
d = function d(t) {
|
|
798
|
-
return b.s(s % 12 || 12, t, "0");
|
|
799
|
-
},
|
|
800
|
-
$ = f || function (t, e, n) {
|
|
801
|
-
var r = t < 12 ? "AM" : "PM";
|
|
802
|
-
return n ? r.toLowerCase() : r;
|
|
803
|
-
};
|
|
804
|
-
return r.replace(y, function (t, r) {
|
|
805
|
-
return r || function (t) {
|
|
806
|
-
switch (t) {
|
|
807
|
-
case "YY":
|
|
808
|
-
return String(e.$y).slice(-2);
|
|
809
|
-
case "YYYY":
|
|
810
|
-
return b.s(e.$y, 4, "0");
|
|
811
|
-
case "M":
|
|
812
|
-
return a + 1;
|
|
813
|
-
case "MM":
|
|
814
|
-
return b.s(a + 1, 2, "0");
|
|
815
|
-
case "MMM":
|
|
816
|
-
return h(n.monthsShort, a, c, 3);
|
|
817
|
-
case "MMMM":
|
|
818
|
-
return h(c, a);
|
|
819
|
-
case "D":
|
|
820
|
-
return e.$D;
|
|
821
|
-
case "DD":
|
|
822
|
-
return b.s(e.$D, 2, "0");
|
|
823
|
-
case "d":
|
|
824
|
-
return String(e.$W);
|
|
825
|
-
case "dd":
|
|
826
|
-
return h(n.weekdaysMin, e.$W, o, 2);
|
|
827
|
-
case "ddd":
|
|
828
|
-
return h(n.weekdaysShort, e.$W, o, 3);
|
|
829
|
-
case "dddd":
|
|
830
|
-
return o[e.$W];
|
|
831
|
-
case "H":
|
|
832
|
-
return String(s);
|
|
833
|
-
case "HH":
|
|
834
|
-
return b.s(s, 2, "0");
|
|
835
|
-
case "h":
|
|
836
|
-
return d(1);
|
|
837
|
-
case "hh":
|
|
838
|
-
return d(2);
|
|
839
|
-
case "a":
|
|
840
|
-
return $(s, u, !0);
|
|
841
|
-
case "A":
|
|
842
|
-
return $(s, u, !1);
|
|
843
|
-
case "m":
|
|
844
|
-
return String(u);
|
|
845
|
-
case "mm":
|
|
846
|
-
return b.s(u, 2, "0");
|
|
847
|
-
case "s":
|
|
848
|
-
return String(e.$s);
|
|
849
|
-
case "ss":
|
|
850
|
-
return b.s(e.$s, 2, "0");
|
|
851
|
-
case "SSS":
|
|
852
|
-
return b.s(e.$ms, 3, "0");
|
|
853
|
-
case "Z":
|
|
854
|
-
return i;
|
|
855
|
-
}
|
|
856
|
-
return null;
|
|
857
|
-
}(t) || i.replace(":", "");
|
|
858
|
-
});
|
|
859
|
-
}, m.utcOffset = function () {
|
|
860
|
-
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
861
|
-
}, m.diff = function (r, d, l) {
|
|
862
|
-
var $,
|
|
863
|
-
y = this,
|
|
864
|
-
M = b.p(d),
|
|
865
|
-
m = O(r),
|
|
866
|
-
v = (m.utcOffset() - this.utcOffset()) * e,
|
|
867
|
-
g = this - m,
|
|
868
|
-
D = function D() {
|
|
869
|
-
return b.m(y, m);
|
|
870
|
-
};
|
|
871
|
-
switch (M) {
|
|
872
|
-
case h:
|
|
873
|
-
$ = D() / 12;
|
|
874
|
-
break;
|
|
875
|
-
case c:
|
|
876
|
-
$ = D();
|
|
877
|
-
break;
|
|
878
|
-
case f:
|
|
879
|
-
$ = D() / 3;
|
|
880
|
-
break;
|
|
881
|
-
case o:
|
|
882
|
-
$ = (g - v) / 6048e5;
|
|
883
|
-
break;
|
|
884
|
-
case a:
|
|
885
|
-
$ = (g - v) / 864e5;
|
|
886
|
-
break;
|
|
887
|
-
case u:
|
|
888
|
-
$ = g / n;
|
|
889
|
-
break;
|
|
890
|
-
case s:
|
|
891
|
-
$ = g / e;
|
|
892
|
-
break;
|
|
893
|
-
case i:
|
|
894
|
-
$ = g / t;
|
|
895
|
-
break;
|
|
896
|
-
default:
|
|
897
|
-
$ = g;
|
|
898
|
-
}
|
|
899
|
-
return l ? $ : b.a($);
|
|
900
|
-
}, m.daysInMonth = function () {
|
|
901
|
-
return this.endOf(c).$D;
|
|
902
|
-
}, m.$locale = function () {
|
|
903
|
-
return D[this.$L];
|
|
904
|
-
}, m.locale = function (t, e) {
|
|
905
|
-
if (!t) return this.$L;
|
|
906
|
-
var n = this.clone(),
|
|
907
|
-
r = w(t, e, !0);
|
|
908
|
-
return r && (n.$L = r), n;
|
|
909
|
-
}, m.clone = function () {
|
|
910
|
-
return b.w(this.$d, this);
|
|
911
|
-
}, m.toDate = function () {
|
|
912
|
-
return new Date(this.valueOf());
|
|
913
|
-
}, m.toJSON = function () {
|
|
914
|
-
return this.isValid() ? this.toISOString() : null;
|
|
915
|
-
}, m.toISOString = function () {
|
|
916
|
-
return this.$d.toISOString();
|
|
917
|
-
}, m.toString = function () {
|
|
918
|
-
return this.$d.toUTCString();
|
|
919
|
-
}, M;
|
|
920
|
-
}(),
|
|
921
|
-
k = _.prototype;
|
|
922
|
-
return O.prototype = k, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", c], ["$y", h], ["$D", d]].forEach(function (t) {
|
|
923
|
-
k[t[1]] = function (e) {
|
|
924
|
-
return this.$g(e, t[0], t[1]);
|
|
925
|
-
};
|
|
926
|
-
}), O.extend = function (t, e) {
|
|
927
|
-
return t.$i || (t(e, _, O), t.$i = !0), O;
|
|
928
|
-
}, O.locale = w, O.isDayjs = S, O.unix = function (t) {
|
|
929
|
-
return O(1e3 * t);
|
|
930
|
-
}, O.en = D[g], O.Ls = D, O.p = {}, O;
|
|
931
|
-
});
|
|
932
|
-
|
|
933
440
|
/***/ }),
|
|
934
441
|
|
|
935
442
|
/***/ 584:
|
|
@@ -1626,16 +1133,13 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".yx-speech-recognition .icon[data-v-0c
|
|
|
1626
1133
|
/******/ // Create a new module (and put it into the cache)
|
|
1627
1134
|
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
1628
1135
|
/******/ id: moduleId,
|
|
1629
|
-
/******/ loaded
|
|
1136
|
+
/******/ // no module.loaded needed
|
|
1630
1137
|
/******/ exports: {}
|
|
1631
1138
|
/******/ };
|
|
1632
1139
|
/******/
|
|
1633
1140
|
/******/ // Execute the module function
|
|
1634
1141
|
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
1635
1142
|
/******/
|
|
1636
|
-
/******/ // Flag the module as loaded
|
|
1637
|
-
/******/ module.loaded = true;
|
|
1638
|
-
/******/
|
|
1639
1143
|
/******/ // Return the exports of the module
|
|
1640
1144
|
/******/ return module.exports;
|
|
1641
1145
|
/******/ }
|
|
@@ -1644,11 +1148,6 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".yx-speech-recognition .icon[data-v-0c
|
|
|
1644
1148
|
/******/ __webpack_require__.m = __webpack_modules__;
|
|
1645
1149
|
/******/
|
|
1646
1150
|
/************************************************************************/
|
|
1647
|
-
/******/ /* webpack/runtime/amd options */
|
|
1648
|
-
/******/ !function() {
|
|
1649
|
-
/******/ __webpack_require__.amdO = {};
|
|
1650
|
-
/******/ }();
|
|
1651
|
-
/******/
|
|
1652
1151
|
/******/ /* webpack/runtime/compat get default export */
|
|
1653
1152
|
/******/ !function() {
|
|
1654
1153
|
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
@@ -1673,21 +1172,6 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".yx-speech-recognition .icon[data-v-0c
|
|
|
1673
1172
|
/******/ };
|
|
1674
1173
|
/******/ }();
|
|
1675
1174
|
/******/
|
|
1676
|
-
/******/ /* webpack/runtime/harmony module decorator */
|
|
1677
|
-
/******/ !function() {
|
|
1678
|
-
/******/ __webpack_require__.hmd = function(module) {
|
|
1679
|
-
/******/ module = Object.create(module);
|
|
1680
|
-
/******/ if (!module.children) module.children = [];
|
|
1681
|
-
/******/ Object.defineProperty(module, 'exports', {
|
|
1682
|
-
/******/ enumerable: true,
|
|
1683
|
-
/******/ set: function() {
|
|
1684
|
-
/******/ throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);
|
|
1685
|
-
/******/ }
|
|
1686
|
-
/******/ });
|
|
1687
|
-
/******/ return module;
|
|
1688
|
-
/******/ };
|
|
1689
|
-
/******/ }();
|
|
1690
|
-
/******/
|
|
1691
1175
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
1692
1176
|
/******/ !function() {
|
|
1693
1177
|
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
@@ -1850,16 +1334,25 @@ var staticRenderFns = [function () {
|
|
|
1850
1334
|
|
|
1851
1335
|
;// ./package/SpeechRecognition/index.vue?vue&type=template&id=0c23a6db&scoped=true
|
|
1852
1336
|
|
|
1853
|
-
|
|
1854
|
-
|
|
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
|
+
|
|
1855
1348
|
;// ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
1856
1349
|
|
|
1857
1350
|
function toPrimitive(t, r) {
|
|
1858
|
-
if ("object" != (
|
|
1351
|
+
if ("object" != typeof_typeof(t) || !t) return t;
|
|
1859
1352
|
var e = t[Symbol.toPrimitive];
|
|
1860
1353
|
if (void 0 !== e) {
|
|
1861
1354
|
var i = e.call(t, r || "default");
|
|
1862
|
-
if ("object" != (
|
|
1355
|
+
if ("object" != typeof_typeof(i)) return i;
|
|
1863
1356
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1864
1357
|
}
|
|
1865
1358
|
return ("string" === r ? String : Number)(t);
|
|
@@ -1870,7 +1363,7 @@ function toPrimitive(t, r) {
|
|
|
1870
1363
|
|
|
1871
1364
|
function toPropertyKey(t) {
|
|
1872
1365
|
var i = toPrimitive(t, "string");
|
|
1873
|
-
return "symbol" == (
|
|
1366
|
+
return "symbol" == typeof_typeof(i) ? i : i + "";
|
|
1874
1367
|
}
|
|
1875
1368
|
|
|
1876
1369
|
;// ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
@@ -2996,7 +2489,7 @@ var kindOfTest = function kindOfTest(type) {
|
|
|
2996
2489
|
};
|
|
2997
2490
|
var typeOfTest = function typeOfTest(type) {
|
|
2998
2491
|
return function (thing) {
|
|
2999
|
-
return (
|
|
2492
|
+
return typeof_typeof(thing) === type;
|
|
3000
2493
|
};
|
|
3001
2494
|
};
|
|
3002
2495
|
|
|
@@ -3089,7 +2582,7 @@ var isNumber = typeOfTest('number');
|
|
|
3089
2582
|
* @returns {boolean} True if value is an Object, otherwise false
|
|
3090
2583
|
*/
|
|
3091
2584
|
var isObject = function isObject(thing) {
|
|
3092
|
-
return thing !== null && (
|
|
2585
|
+
return thing !== null && typeof_typeof(thing) === 'object';
|
|
3093
2586
|
};
|
|
3094
2587
|
|
|
3095
2588
|
/**
|
|
@@ -3231,7 +2724,7 @@ function forEach(obj, fn) {
|
|
|
3231
2724
|
var l;
|
|
3232
2725
|
|
|
3233
2726
|
// Force an array if not already something iterable
|
|
3234
|
-
if ((
|
|
2727
|
+
if (typeof_typeof(obj) !== 'object') {
|
|
3235
2728
|
/*eslint no-param-reassign:0*/
|
|
3236
2729
|
obj = [obj];
|
|
3237
2730
|
}
|
|
@@ -3919,7 +3412,7 @@ function toFormData(obj, formData, options) {
|
|
|
3919
3412
|
*/
|
|
3920
3413
|
function defaultVisitor(value, key, path) {
|
|
3921
3414
|
var arr = value;
|
|
3922
|
-
if (value && !path && (
|
|
3415
|
+
if (value && !path && typeof_typeof(value) === 'object') {
|
|
3923
3416
|
if (utils.endsWith(key, '{}')) {
|
|
3924
3417
|
// eslint-disable-next-line no-param-reassign
|
|
3925
3418
|
key = metaTokens ? key : key.slice(0, -2);
|
|
@@ -4195,7 +3688,7 @@ var InterceptorManager = /*#__PURE__*/function () {
|
|
|
4195
3688
|
;// ./node_modules/axios/lib/platform/common/utils.js
|
|
4196
3689
|
|
|
4197
3690
|
var hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
|
|
4198
|
-
var _navigator = (typeof navigator === "undefined" ? "undefined" : (
|
|
3691
|
+
var _navigator = (typeof navigator === "undefined" ? "undefined" : typeof_typeof(navigator)) === 'object' && navigator || undefined;
|
|
4199
3692
|
|
|
4200
3693
|
/**
|
|
4201
3694
|
* Determine if we're running in a standard browser environment
|
|
@@ -6280,7 +5773,7 @@ var validators = {};
|
|
|
6280
5773
|
// eslint-disable-next-line func-names
|
|
6281
5774
|
['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function (type, i) {
|
|
6282
5775
|
validators[type] = function validator(thing) {
|
|
6283
|
-
return (
|
|
5776
|
+
return typeof_typeof(thing) === type || 'a' + (i < 1 ? 'n ' : ' ') + type;
|
|
6284
5777
|
};
|
|
6285
5778
|
});
|
|
6286
5779
|
var deprecatedWarnings = {};
|
|
@@ -6331,7 +5824,7 @@ validators.spelling = function spelling(correctSpelling) {
|
|
|
6331
5824
|
*/
|
|
6332
5825
|
|
|
6333
5826
|
function assertOptions(options, schema, allowUnknown) {
|
|
6334
|
-
if ((
|
|
5827
|
+
if (typeof_typeof(options) !== 'object') {
|
|
6335
5828
|
throw new core_AxiosError('options must be an object', core_AxiosError.ERR_BAD_OPTION_VALUE);
|
|
6336
5829
|
}
|
|
6337
5830
|
var keys = Object.keys(options);
|
|
@@ -7010,21 +6503,10 @@ var Tx = /*#__PURE__*/function () {
|
|
|
7010
6503
|
}]);
|
|
7011
6504
|
}();
|
|
7012
6505
|
|
|
7013
|
-
// EXTERNAL MODULE: ./node_modules/dayjs/dayjs.min.js
|
|
7014
|
-
var dayjs_min = __webpack_require__(576);
|
|
7015
|
-
// EXTERNAL MODULE: ./node_modules/dayjs/locale/zh-cn.js
|
|
7016
|
-
var zh_cn = __webpack_require__(514);
|
|
7017
|
-
// EXTERNAL MODULE: ./node_modules/dayjs/plugin/weekday.js
|
|
7018
|
-
var weekday = __webpack_require__(361);
|
|
7019
6506
|
;// ./package/SpeechRecognition/utils/DateUtil.js
|
|
7020
|
-
|
|
7021
|
-
|
|
7022
|
-
|
|
7023
|
-
dayjs_min["default"].extend(weekday/* default */.A);
|
|
7024
|
-
dayjs_min["default"].locale('zh-cn');
|
|
7025
6507
|
var getTimeSlot = function getTimeSlot() {
|
|
7026
|
-
var
|
|
7027
|
-
var hour =
|
|
6508
|
+
var date = new Date();
|
|
6509
|
+
var hour = date.getHours();
|
|
7028
6510
|
var timeSlot = '';
|
|
7029
6511
|
switch (true) {
|
|
7030
6512
|
case hour < 6:
|