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
|
@@ -27,388 +27,6 @@ var update = add("45c40d67", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
27
27
|
|
|
28
28
|
/***/ }),
|
|
29
29
|
|
|
30
|
-
/***/ 110:
|
|
31
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
32
|
-
|
|
33
|
-
"use strict";
|
|
34
|
-
__webpack_require__.r(__webpack_exports__);
|
|
35
|
-
/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(284);
|
|
36
|
-
/* module decorator */ module = __webpack_require__.hmd(module);
|
|
37
|
-
|
|
38
|
-
!function (t, e) {
|
|
39
|
-
"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();
|
|
40
|
-
}(undefined, function () {
|
|
41
|
-
"use strict";
|
|
42
|
-
|
|
43
|
-
var t = 1e3,
|
|
44
|
-
e = 6e4,
|
|
45
|
-
n = 36e5,
|
|
46
|
-
r = "millisecond",
|
|
47
|
-
i = "second",
|
|
48
|
-
s = "minute",
|
|
49
|
-
u = "hour",
|
|
50
|
-
a = "day",
|
|
51
|
-
o = "week",
|
|
52
|
-
c = "month",
|
|
53
|
-
f = "quarter",
|
|
54
|
-
h = "year",
|
|
55
|
-
d = "date",
|
|
56
|
-
l = "Invalid Date",
|
|
57
|
-
$ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
|
|
58
|
-
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,
|
|
59
|
-
M = {
|
|
60
|
-
name: "en",
|
|
61
|
-
weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
|
|
62
|
-
months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
|
|
63
|
-
ordinal: function ordinal(t) {
|
|
64
|
-
var e = ["th", "st", "nd", "rd"],
|
|
65
|
-
n = t % 100;
|
|
66
|
-
return "[" + t + (e[(n - 20) % 10] || e[n] || e[0]) + "]";
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
m = function m(t, e, n) {
|
|
70
|
-
var r = String(t);
|
|
71
|
-
return !r || r.length >= e ? t : "" + Array(e + 1 - r.length).join(n) + t;
|
|
72
|
-
},
|
|
73
|
-
v = {
|
|
74
|
-
s: m,
|
|
75
|
-
z: function z(t) {
|
|
76
|
-
var e = -t.utcOffset(),
|
|
77
|
-
n = Math.abs(e),
|
|
78
|
-
r = Math.floor(n / 60),
|
|
79
|
-
i = n % 60;
|
|
80
|
-
return (e <= 0 ? "+" : "-") + m(r, 2, "0") + ":" + m(i, 2, "0");
|
|
81
|
-
},
|
|
82
|
-
m: function t(e, n) {
|
|
83
|
-
if (e.date() < n.date()) return -t(n, e);
|
|
84
|
-
var r = 12 * (n.year() - e.year()) + (n.month() - e.month()),
|
|
85
|
-
i = e.clone().add(r, c),
|
|
86
|
-
s = n - i < 0,
|
|
87
|
-
u = e.clone().add(r + (s ? -1 : 1), c);
|
|
88
|
-
return +(-(r + (n - i) / (s ? i - u : u - i)) || 0);
|
|
89
|
-
},
|
|
90
|
-
a: function a(t) {
|
|
91
|
-
return t < 0 ? Math.ceil(t) || 0 : Math.floor(t);
|
|
92
|
-
},
|
|
93
|
-
p: function p(t) {
|
|
94
|
-
return {
|
|
95
|
-
M: c,
|
|
96
|
-
y: h,
|
|
97
|
-
w: o,
|
|
98
|
-
d: a,
|
|
99
|
-
D: d,
|
|
100
|
-
h: u,
|
|
101
|
-
m: s,
|
|
102
|
-
s: i,
|
|
103
|
-
ms: r,
|
|
104
|
-
Q: f
|
|
105
|
-
}[t] || String(t || "").toLowerCase().replace(/s$/, "");
|
|
106
|
-
},
|
|
107
|
-
u: function u(t) {
|
|
108
|
-
return void 0 === t;
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
g = "en",
|
|
112
|
-
D = {};
|
|
113
|
-
D[g] = M;
|
|
114
|
-
var p = "$isDayjsObject",
|
|
115
|
-
S = function S(t) {
|
|
116
|
-
return t instanceof _ || !(!t || !t[p]);
|
|
117
|
-
},
|
|
118
|
-
w = function t(e, n, r) {
|
|
119
|
-
var i;
|
|
120
|
-
if (!e) return g;
|
|
121
|
-
if ("string" == typeof e) {
|
|
122
|
-
var s = e.toLowerCase();
|
|
123
|
-
D[s] && (i = s), n && (D[s] = n, i = s);
|
|
124
|
-
var u = e.split("-");
|
|
125
|
-
if (!i && u.length > 1) return t(u[0]);
|
|
126
|
-
} else {
|
|
127
|
-
var a = e.name;
|
|
128
|
-
D[a] = e, i = a;
|
|
129
|
-
}
|
|
130
|
-
return !r && i && (g = i), i || !r && g;
|
|
131
|
-
},
|
|
132
|
-
O = function O(t, e) {
|
|
133
|
-
if (S(t)) return t.clone();
|
|
134
|
-
var n = "object" == (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(e) ? e : {};
|
|
135
|
-
return n.date = t, n.args = arguments, new _(n);
|
|
136
|
-
},
|
|
137
|
-
b = v;
|
|
138
|
-
b.l = w, b.i = S, b.w = function (t, e) {
|
|
139
|
-
return O(t, {
|
|
140
|
-
locale: e.$L,
|
|
141
|
-
utc: e.$u,
|
|
142
|
-
x: e.$x,
|
|
143
|
-
$offset: e.$offset
|
|
144
|
-
});
|
|
145
|
-
};
|
|
146
|
-
var _ = function () {
|
|
147
|
-
function M(t) {
|
|
148
|
-
this.$L = w(t.locale, null, !0), this.parse(t), this.$x = this.$x || t.x || {}, this[p] = !0;
|
|
149
|
-
}
|
|
150
|
-
var m = M.prototype;
|
|
151
|
-
return m.parse = function (t) {
|
|
152
|
-
this.$d = function (t) {
|
|
153
|
-
var e = t.date,
|
|
154
|
-
n = t.utc;
|
|
155
|
-
if (null === e) return new Date(NaN);
|
|
156
|
-
if (b.u(e)) return new Date();
|
|
157
|
-
if (e instanceof Date) return new Date(e);
|
|
158
|
-
if ("string" == typeof e && !/Z$/i.test(e)) {
|
|
159
|
-
var r = e.match($);
|
|
160
|
-
if (r) {
|
|
161
|
-
var i = r[2] - 1 || 0,
|
|
162
|
-
s = (r[7] || "0").substring(0, 3);
|
|
163
|
-
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);
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
return new Date(e);
|
|
167
|
-
}(t), this.init();
|
|
168
|
-
}, m.init = function () {
|
|
169
|
-
var t = this.$d;
|
|
170
|
-
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();
|
|
171
|
-
}, m.$utils = function () {
|
|
172
|
-
return b;
|
|
173
|
-
}, m.isValid = function () {
|
|
174
|
-
return !(this.$d.toString() === l);
|
|
175
|
-
}, m.isSame = function (t, e) {
|
|
176
|
-
var n = O(t);
|
|
177
|
-
return this.startOf(e) <= n && n <= this.endOf(e);
|
|
178
|
-
}, m.isAfter = function (t, e) {
|
|
179
|
-
return O(t) < this.startOf(e);
|
|
180
|
-
}, m.isBefore = function (t, e) {
|
|
181
|
-
return this.endOf(e) < O(t);
|
|
182
|
-
}, m.$g = function (t, e, n) {
|
|
183
|
-
return b.u(t) ? this[e] : this.set(n, t);
|
|
184
|
-
}, m.unix = function () {
|
|
185
|
-
return Math.floor(this.valueOf() / 1e3);
|
|
186
|
-
}, m.valueOf = function () {
|
|
187
|
-
return this.$d.getTime();
|
|
188
|
-
}, m.startOf = function (t, e) {
|
|
189
|
-
var n = this,
|
|
190
|
-
r = !!b.u(e) || e,
|
|
191
|
-
f = b.p(t),
|
|
192
|
-
l = function l(t, e) {
|
|
193
|
-
var i = b.w(n.$u ? Date.UTC(n.$y, e, t) : new Date(n.$y, e, t), n);
|
|
194
|
-
return r ? i : i.endOf(a);
|
|
195
|
-
},
|
|
196
|
-
$ = function $(t, e) {
|
|
197
|
-
return b.w(n.toDate()[t].apply(n.toDate("s"), (r ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e)), n);
|
|
198
|
-
},
|
|
199
|
-
y = this.$W,
|
|
200
|
-
M = this.$M,
|
|
201
|
-
m = this.$D,
|
|
202
|
-
v = "set" + (this.$u ? "UTC" : "");
|
|
203
|
-
switch (f) {
|
|
204
|
-
case h:
|
|
205
|
-
return r ? l(1, 0) : l(31, 11);
|
|
206
|
-
case c:
|
|
207
|
-
return r ? l(1, M) : l(0, M + 1);
|
|
208
|
-
case o:
|
|
209
|
-
var g = this.$locale().weekStart || 0,
|
|
210
|
-
D = (y < g ? y + 7 : y) - g;
|
|
211
|
-
return l(r ? m - D : m + (6 - D), M);
|
|
212
|
-
case a:
|
|
213
|
-
case d:
|
|
214
|
-
return $(v + "Hours", 0);
|
|
215
|
-
case u:
|
|
216
|
-
return $(v + "Minutes", 1);
|
|
217
|
-
case s:
|
|
218
|
-
return $(v + "Seconds", 2);
|
|
219
|
-
case i:
|
|
220
|
-
return $(v + "Milliseconds", 3);
|
|
221
|
-
default:
|
|
222
|
-
return this.clone();
|
|
223
|
-
}
|
|
224
|
-
}, m.endOf = function (t) {
|
|
225
|
-
return this.startOf(t, !1);
|
|
226
|
-
}, m.$set = function (t, e) {
|
|
227
|
-
var n,
|
|
228
|
-
o = b.p(t),
|
|
229
|
-
f = "set" + (this.$u ? "UTC" : ""),
|
|
230
|
-
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],
|
|
231
|
-
$ = o === a ? this.$D + (e - this.$W) : e;
|
|
232
|
-
if (o === c || o === h) {
|
|
233
|
-
var y = this.clone().set(d, 1);
|
|
234
|
-
y.$d[l]($), y.init(), this.$d = y.set(d, Math.min(this.$D, y.daysInMonth())).$d;
|
|
235
|
-
} else l && this.$d[l]($);
|
|
236
|
-
return this.init(), this;
|
|
237
|
-
}, m.set = function (t, e) {
|
|
238
|
-
return this.clone().$set(t, e);
|
|
239
|
-
}, m.get = function (t) {
|
|
240
|
-
return this[b.p(t)]();
|
|
241
|
-
}, m.add = function (r, f) {
|
|
242
|
-
var d,
|
|
243
|
-
l = this;
|
|
244
|
-
r = Number(r);
|
|
245
|
-
var $ = b.p(f),
|
|
246
|
-
y = function y(t) {
|
|
247
|
-
var e = O(l);
|
|
248
|
-
return b.w(e.date(e.date() + Math.round(t * r)), l);
|
|
249
|
-
};
|
|
250
|
-
if ($ === c) return this.set(c, this.$M + r);
|
|
251
|
-
if ($ === h) return this.set(h, this.$y + r);
|
|
252
|
-
if ($ === a) return y(1);
|
|
253
|
-
if ($ === o) return y(7);
|
|
254
|
-
var M = (d = {}, d[s] = e, d[u] = n, d[i] = t, d)[$] || 1,
|
|
255
|
-
m = this.$d.getTime() + r * M;
|
|
256
|
-
return b.w(m, this);
|
|
257
|
-
}, m.subtract = function (t, e) {
|
|
258
|
-
return this.add(-1 * t, e);
|
|
259
|
-
}, m.format = function (t) {
|
|
260
|
-
var e = this,
|
|
261
|
-
n = this.$locale();
|
|
262
|
-
if (!this.isValid()) return n.invalidDate || l;
|
|
263
|
-
var r = t || "YYYY-MM-DDTHH:mm:ssZ",
|
|
264
|
-
i = b.z(this),
|
|
265
|
-
s = this.$H,
|
|
266
|
-
u = this.$m,
|
|
267
|
-
a = this.$M,
|
|
268
|
-
o = n.weekdays,
|
|
269
|
-
c = n.months,
|
|
270
|
-
f = n.meridiem,
|
|
271
|
-
h = function h(t, n, i, s) {
|
|
272
|
-
return t && (t[n] || t(e, r)) || i[n].slice(0, s);
|
|
273
|
-
},
|
|
274
|
-
d = function d(t) {
|
|
275
|
-
return b.s(s % 12 || 12, t, "0");
|
|
276
|
-
},
|
|
277
|
-
$ = f || function (t, e, n) {
|
|
278
|
-
var r = t < 12 ? "AM" : "PM";
|
|
279
|
-
return n ? r.toLowerCase() : r;
|
|
280
|
-
};
|
|
281
|
-
return r.replace(y, function (t, r) {
|
|
282
|
-
return r || function (t) {
|
|
283
|
-
switch (t) {
|
|
284
|
-
case "YY":
|
|
285
|
-
return String(e.$y).slice(-2);
|
|
286
|
-
case "YYYY":
|
|
287
|
-
return b.s(e.$y, 4, "0");
|
|
288
|
-
case "M":
|
|
289
|
-
return a + 1;
|
|
290
|
-
case "MM":
|
|
291
|
-
return b.s(a + 1, 2, "0");
|
|
292
|
-
case "MMM":
|
|
293
|
-
return h(n.monthsShort, a, c, 3);
|
|
294
|
-
case "MMMM":
|
|
295
|
-
return h(c, a);
|
|
296
|
-
case "D":
|
|
297
|
-
return e.$D;
|
|
298
|
-
case "DD":
|
|
299
|
-
return b.s(e.$D, 2, "0");
|
|
300
|
-
case "d":
|
|
301
|
-
return String(e.$W);
|
|
302
|
-
case "dd":
|
|
303
|
-
return h(n.weekdaysMin, e.$W, o, 2);
|
|
304
|
-
case "ddd":
|
|
305
|
-
return h(n.weekdaysShort, e.$W, o, 3);
|
|
306
|
-
case "dddd":
|
|
307
|
-
return o[e.$W];
|
|
308
|
-
case "H":
|
|
309
|
-
return String(s);
|
|
310
|
-
case "HH":
|
|
311
|
-
return b.s(s, 2, "0");
|
|
312
|
-
case "h":
|
|
313
|
-
return d(1);
|
|
314
|
-
case "hh":
|
|
315
|
-
return d(2);
|
|
316
|
-
case "a":
|
|
317
|
-
return $(s, u, !0);
|
|
318
|
-
case "A":
|
|
319
|
-
return $(s, u, !1);
|
|
320
|
-
case "m":
|
|
321
|
-
return String(u);
|
|
322
|
-
case "mm":
|
|
323
|
-
return b.s(u, 2, "0");
|
|
324
|
-
case "s":
|
|
325
|
-
return String(e.$s);
|
|
326
|
-
case "ss":
|
|
327
|
-
return b.s(e.$s, 2, "0");
|
|
328
|
-
case "SSS":
|
|
329
|
-
return b.s(e.$ms, 3, "0");
|
|
330
|
-
case "Z":
|
|
331
|
-
return i;
|
|
332
|
-
}
|
|
333
|
-
return null;
|
|
334
|
-
}(t) || i.replace(":", "");
|
|
335
|
-
});
|
|
336
|
-
}, m.utcOffset = function () {
|
|
337
|
-
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
338
|
-
}, m.diff = function (r, d, l) {
|
|
339
|
-
var $,
|
|
340
|
-
y = this,
|
|
341
|
-
M = b.p(d),
|
|
342
|
-
m = O(r),
|
|
343
|
-
v = (m.utcOffset() - this.utcOffset()) * e,
|
|
344
|
-
g = this - m,
|
|
345
|
-
D = function D() {
|
|
346
|
-
return b.m(y, m);
|
|
347
|
-
};
|
|
348
|
-
switch (M) {
|
|
349
|
-
case h:
|
|
350
|
-
$ = D() / 12;
|
|
351
|
-
break;
|
|
352
|
-
case c:
|
|
353
|
-
$ = D();
|
|
354
|
-
break;
|
|
355
|
-
case f:
|
|
356
|
-
$ = D() / 3;
|
|
357
|
-
break;
|
|
358
|
-
case o:
|
|
359
|
-
$ = (g - v) / 6048e5;
|
|
360
|
-
break;
|
|
361
|
-
case a:
|
|
362
|
-
$ = (g - v) / 864e5;
|
|
363
|
-
break;
|
|
364
|
-
case u:
|
|
365
|
-
$ = g / n;
|
|
366
|
-
break;
|
|
367
|
-
case s:
|
|
368
|
-
$ = g / e;
|
|
369
|
-
break;
|
|
370
|
-
case i:
|
|
371
|
-
$ = g / t;
|
|
372
|
-
break;
|
|
373
|
-
default:
|
|
374
|
-
$ = g;
|
|
375
|
-
}
|
|
376
|
-
return l ? $ : b.a($);
|
|
377
|
-
}, m.daysInMonth = function () {
|
|
378
|
-
return this.endOf(c).$D;
|
|
379
|
-
}, m.$locale = function () {
|
|
380
|
-
return D[this.$L];
|
|
381
|
-
}, m.locale = function (t, e) {
|
|
382
|
-
if (!t) return this.$L;
|
|
383
|
-
var n = this.clone(),
|
|
384
|
-
r = w(t, e, !0);
|
|
385
|
-
return r && (n.$L = r), n;
|
|
386
|
-
}, m.clone = function () {
|
|
387
|
-
return b.w(this.$d, this);
|
|
388
|
-
}, m.toDate = function () {
|
|
389
|
-
return new Date(this.valueOf());
|
|
390
|
-
}, m.toJSON = function () {
|
|
391
|
-
return this.isValid() ? this.toISOString() : null;
|
|
392
|
-
}, m.toISOString = function () {
|
|
393
|
-
return this.$d.toISOString();
|
|
394
|
-
}, m.toString = function () {
|
|
395
|
-
return this.$d.toUTCString();
|
|
396
|
-
}, M;
|
|
397
|
-
}(),
|
|
398
|
-
k = _.prototype;
|
|
399
|
-
return O.prototype = k, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", c], ["$y", h], ["$D", d]].forEach(function (t) {
|
|
400
|
-
k[t[1]] = function (e) {
|
|
401
|
-
return this.$g(e, t[0], t[1]);
|
|
402
|
-
};
|
|
403
|
-
}), O.extend = function (t, e) {
|
|
404
|
-
return t.$i || (t(e, _, O), t.$i = !0), O;
|
|
405
|
-
}, O.locale = w, O.isDayjs = S, O.unix = function (t) {
|
|
406
|
-
return O(1e3 * t);
|
|
407
|
-
}, O.en = D[g], O.Ls = D, O.p = {}, O;
|
|
408
|
-
});
|
|
409
|
-
|
|
410
|
-
/***/ }),
|
|
411
|
-
|
|
412
30
|
/***/ 258:
|
|
413
31
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
414
32
|
|
|
@@ -683,26 +301,6 @@ function applyToTag (styleElement, obj) {
|
|
|
683
301
|
"use strict";
|
|
684
302
|
module.exports = __WEBPACK_EXTERNAL_MODULE__274__;
|
|
685
303
|
|
|
686
|
-
/***/ }),
|
|
687
|
-
|
|
688
|
-
/***/ 284:
|
|
689
|
-
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
690
|
-
|
|
691
|
-
"use strict";
|
|
692
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
693
|
-
/* harmony export */ A: function() { return /* binding */ _typeof; }
|
|
694
|
-
/* harmony export */ });
|
|
695
|
-
function _typeof(o) {
|
|
696
|
-
"@babel/helpers - typeof";
|
|
697
|
-
|
|
698
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
699
|
-
return typeof o;
|
|
700
|
-
} : function (o) {
|
|
701
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
702
|
-
}, _typeof(o);
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
|
|
706
304
|
/***/ }),
|
|
707
305
|
|
|
708
306
|
/***/ 314:
|
|
@@ -838,73 +436,6 @@ module.exports = function (url, options) {
|
|
|
838
436
|
|
|
839
437
|
/***/ }),
|
|
840
438
|
|
|
841
|
-
/***/ 436:
|
|
842
|
-
/***/ (function(module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
843
|
-
|
|
844
|
-
"use strict";
|
|
845
|
-
/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(284);
|
|
846
|
-
/* module decorator */ module = __webpack_require__.hmd(module);
|
|
847
|
-
|
|
848
|
-
!function (e, _) {
|
|
849
|
-
"object" == (typeof exports === "undefined" ? "undefined" : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(exports)) && "undefined" != "object" ? module.exports = _(__webpack_require__(110)) : "function" == typeof define && __webpack_require__.amdO ? define(["dayjs"], _) : (e = "undefined" != typeof globalThis ? globalThis : e || self).dayjs_locale_zh_cn = _(e.dayjs);
|
|
850
|
-
}(undefined, function (e) {
|
|
851
|
-
"use strict";
|
|
852
|
-
|
|
853
|
-
function _(e) {
|
|
854
|
-
return e && "object" == (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(e) && "default" in e ? e : {
|
|
855
|
-
default: e
|
|
856
|
-
};
|
|
857
|
-
}
|
|
858
|
-
var t = _(e),
|
|
859
|
-
d = {
|
|
860
|
-
name: "zh-cn",
|
|
861
|
-
weekdays: "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),
|
|
862
|
-
weekdaysShort: "周日_周一_周二_周三_周四_周五_周六".split("_"),
|
|
863
|
-
weekdaysMin: "日_一_二_三_四_五_六".split("_"),
|
|
864
|
-
months: "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),
|
|
865
|
-
monthsShort: "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
|
|
866
|
-
ordinal: function ordinal(e, _) {
|
|
867
|
-
return "W" === _ ? e + "周" : e + "日";
|
|
868
|
-
},
|
|
869
|
-
weekStart: 1,
|
|
870
|
-
yearStart: 4,
|
|
871
|
-
formats: {
|
|
872
|
-
LT: "HH:mm",
|
|
873
|
-
LTS: "HH:mm:ss",
|
|
874
|
-
L: "YYYY/MM/DD",
|
|
875
|
-
LL: "YYYY年M月D日",
|
|
876
|
-
LLL: "YYYY年M月D日Ah点mm分",
|
|
877
|
-
LLLL: "YYYY年M月D日ddddAh点mm分",
|
|
878
|
-
l: "YYYY/M/D",
|
|
879
|
-
ll: "YYYY年M月D日",
|
|
880
|
-
lll: "YYYY年M月D日 HH:mm",
|
|
881
|
-
llll: "YYYY年M月D日dddd HH:mm"
|
|
882
|
-
},
|
|
883
|
-
relativeTime: {
|
|
884
|
-
future: "%s内",
|
|
885
|
-
past: "%s前",
|
|
886
|
-
s: "几秒",
|
|
887
|
-
m: "1 分钟",
|
|
888
|
-
mm: "%d 分钟",
|
|
889
|
-
h: "1 小时",
|
|
890
|
-
hh: "%d 小时",
|
|
891
|
-
d: "1 天",
|
|
892
|
-
dd: "%d 天",
|
|
893
|
-
M: "1 个月",
|
|
894
|
-
MM: "%d 个月",
|
|
895
|
-
y: "1 年",
|
|
896
|
-
yy: "%d 年"
|
|
897
|
-
},
|
|
898
|
-
meridiem: function meridiem(e, _) {
|
|
899
|
-
var t = 100 * e + _;
|
|
900
|
-
return t < 600 ? "凌晨" : t < 900 ? "早上" : t < 1100 ? "上午" : t < 1300 ? "中午" : t < 1800 ? "下午" : "晚上";
|
|
901
|
-
}
|
|
902
|
-
};
|
|
903
|
-
return t.default.locale(d, null, !0), d;
|
|
904
|
-
});
|
|
905
|
-
|
|
906
|
-
/***/ }),
|
|
907
|
-
|
|
908
439
|
/***/ 515:
|
|
909
440
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
910
441
|
|
|
@@ -924,30 +455,6 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".message-wrapper[data-v-03109883]{disp
|
|
|
924
455
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
925
456
|
|
|
926
457
|
|
|
927
|
-
/***/ }),
|
|
928
|
-
|
|
929
|
-
/***/ 527:
|
|
930
|
-
/***/ (function(module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
931
|
-
|
|
932
|
-
"use strict";
|
|
933
|
-
/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(284);
|
|
934
|
-
/* module decorator */ module = __webpack_require__.hmd(module);
|
|
935
|
-
|
|
936
|
-
!function (e, t) {
|
|
937
|
-
"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();
|
|
938
|
-
}(undefined, function () {
|
|
939
|
-
"use strict";
|
|
940
|
-
|
|
941
|
-
return function (e, t) {
|
|
942
|
-
t.prototype.weekday = function (e) {
|
|
943
|
-
var t = this.$locale().weekStart || 0,
|
|
944
|
-
i = this.$W,
|
|
945
|
-
n = (i < t ? i + 7 : i) - t;
|
|
946
|
-
return this.$utils().u(e) ? n : this.subtract(n, "day").add(e, "day");
|
|
947
|
-
};
|
|
948
|
-
};
|
|
949
|
-
});
|
|
950
|
-
|
|
951
458
|
/***/ }),
|
|
952
459
|
|
|
953
460
|
/***/ 601:
|
|
@@ -1644,16 +1151,13 @@ window && (window.CryptoJSTest = CryptoJS);
|
|
|
1644
1151
|
/******/ // Create a new module (and put it into the cache)
|
|
1645
1152
|
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
1646
1153
|
/******/ id: moduleId,
|
|
1647
|
-
/******/ loaded
|
|
1154
|
+
/******/ // no module.loaded needed
|
|
1648
1155
|
/******/ exports: {}
|
|
1649
1156
|
/******/ };
|
|
1650
1157
|
/******/
|
|
1651
1158
|
/******/ // Execute the module function
|
|
1652
1159
|
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
1653
1160
|
/******/
|
|
1654
|
-
/******/ // Flag the module as loaded
|
|
1655
|
-
/******/ module.loaded = true;
|
|
1656
|
-
/******/
|
|
1657
1161
|
/******/ // Return the exports of the module
|
|
1658
1162
|
/******/ return module.exports;
|
|
1659
1163
|
/******/ }
|
|
@@ -1662,11 +1166,6 @@ window && (window.CryptoJSTest = CryptoJS);
|
|
|
1662
1166
|
/******/ __webpack_require__.m = __webpack_modules__;
|
|
1663
1167
|
/******/
|
|
1664
1168
|
/************************************************************************/
|
|
1665
|
-
/******/ /* webpack/runtime/amd options */
|
|
1666
|
-
/******/ !function() {
|
|
1667
|
-
/******/ __webpack_require__.amdO = {};
|
|
1668
|
-
/******/ }();
|
|
1669
|
-
/******/
|
|
1670
1169
|
/******/ /* webpack/runtime/compat get default export */
|
|
1671
1170
|
/******/ !function() {
|
|
1672
1171
|
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
@@ -1691,21 +1190,6 @@ window && (window.CryptoJSTest = CryptoJS);
|
|
|
1691
1190
|
/******/ };
|
|
1692
1191
|
/******/ }();
|
|
1693
1192
|
/******/
|
|
1694
|
-
/******/ /* webpack/runtime/harmony module decorator */
|
|
1695
|
-
/******/ !function() {
|
|
1696
|
-
/******/ __webpack_require__.hmd = function(module) {
|
|
1697
|
-
/******/ module = Object.create(module);
|
|
1698
|
-
/******/ if (!module.children) module.children = [];
|
|
1699
|
-
/******/ Object.defineProperty(module, 'exports', {
|
|
1700
|
-
/******/ enumerable: true,
|
|
1701
|
-
/******/ set: function() {
|
|
1702
|
-
/******/ throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);
|
|
1703
|
-
/******/ }
|
|
1704
|
-
/******/ });
|
|
1705
|
-
/******/ return module;
|
|
1706
|
-
/******/ };
|
|
1707
|
-
/******/ }();
|
|
1708
|
-
/******/
|
|
1709
1193
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
1710
1194
|
/******/ !function() {
|
|
1711
1195
|
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
@@ -1868,16 +1352,25 @@ var staticRenderFns = [function () {
|
|
|
1868
1352
|
|
|
1869
1353
|
;// ./package/SpeechRecognition/index.vue?vue&type=template&id=0c23a6db&scoped=true
|
|
1870
1354
|
|
|
1871
|
-
|
|
1872
|
-
|
|
1355
|
+
;// ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
1356
|
+
function typeof_typeof(o) {
|
|
1357
|
+
"@babel/helpers - typeof";
|
|
1358
|
+
|
|
1359
|
+
return typeof_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
1360
|
+
return typeof o;
|
|
1361
|
+
} : function (o) {
|
|
1362
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
1363
|
+
}, typeof_typeof(o);
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1873
1366
|
;// ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
1874
1367
|
|
|
1875
1368
|
function toPrimitive(t, r) {
|
|
1876
|
-
if ("object" != (
|
|
1369
|
+
if ("object" != typeof_typeof(t) || !t) return t;
|
|
1877
1370
|
var e = t[Symbol.toPrimitive];
|
|
1878
1371
|
if (void 0 !== e) {
|
|
1879
1372
|
var i = e.call(t, r || "default");
|
|
1880
|
-
if ("object" != (
|
|
1373
|
+
if ("object" != typeof_typeof(i)) return i;
|
|
1881
1374
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1882
1375
|
}
|
|
1883
1376
|
return ("string" === r ? String : Number)(t);
|
|
@@ -1888,7 +1381,7 @@ function toPrimitive(t, r) {
|
|
|
1888
1381
|
|
|
1889
1382
|
function toPropertyKey(t) {
|
|
1890
1383
|
var i = toPrimitive(t, "string");
|
|
1891
|
-
return "symbol" == (
|
|
1384
|
+
return "symbol" == typeof_typeof(i) ? i : i + "";
|
|
1892
1385
|
}
|
|
1893
1386
|
|
|
1894
1387
|
;// ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
@@ -3014,7 +2507,7 @@ var kindOfTest = function kindOfTest(type) {
|
|
|
3014
2507
|
};
|
|
3015
2508
|
var typeOfTest = function typeOfTest(type) {
|
|
3016
2509
|
return function (thing) {
|
|
3017
|
-
return (
|
|
2510
|
+
return typeof_typeof(thing) === type;
|
|
3018
2511
|
};
|
|
3019
2512
|
};
|
|
3020
2513
|
|
|
@@ -3107,7 +2600,7 @@ var isNumber = typeOfTest('number');
|
|
|
3107
2600
|
* @returns {boolean} True if value is an Object, otherwise false
|
|
3108
2601
|
*/
|
|
3109
2602
|
var isObject = function isObject(thing) {
|
|
3110
|
-
return thing !== null && (
|
|
2603
|
+
return thing !== null && typeof_typeof(thing) === 'object';
|
|
3111
2604
|
};
|
|
3112
2605
|
|
|
3113
2606
|
/**
|
|
@@ -3249,7 +2742,7 @@ function forEach(obj, fn) {
|
|
|
3249
2742
|
var l;
|
|
3250
2743
|
|
|
3251
2744
|
// Force an array if not already something iterable
|
|
3252
|
-
if ((
|
|
2745
|
+
if (typeof_typeof(obj) !== 'object') {
|
|
3253
2746
|
/*eslint no-param-reassign:0*/
|
|
3254
2747
|
obj = [obj];
|
|
3255
2748
|
}
|
|
@@ -3937,7 +3430,7 @@ function toFormData(obj, formData, options) {
|
|
|
3937
3430
|
*/
|
|
3938
3431
|
function defaultVisitor(value, key, path) {
|
|
3939
3432
|
var arr = value;
|
|
3940
|
-
if (value && !path && (
|
|
3433
|
+
if (value && !path && typeof_typeof(value) === 'object') {
|
|
3941
3434
|
if (utils.endsWith(key, '{}')) {
|
|
3942
3435
|
// eslint-disable-next-line no-param-reassign
|
|
3943
3436
|
key = metaTokens ? key : key.slice(0, -2);
|
|
@@ -4213,7 +3706,7 @@ var InterceptorManager = /*#__PURE__*/function () {
|
|
|
4213
3706
|
;// ./node_modules/axios/lib/platform/common/utils.js
|
|
4214
3707
|
|
|
4215
3708
|
var hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
|
|
4216
|
-
var _navigator = (typeof navigator === "undefined" ? "undefined" : (
|
|
3709
|
+
var _navigator = (typeof navigator === "undefined" ? "undefined" : typeof_typeof(navigator)) === 'object' && navigator || undefined;
|
|
4217
3710
|
|
|
4218
3711
|
/**
|
|
4219
3712
|
* Determine if we're running in a standard browser environment
|
|
@@ -6298,7 +5791,7 @@ var validators = {};
|
|
|
6298
5791
|
// eslint-disable-next-line func-names
|
|
6299
5792
|
['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function (type, i) {
|
|
6300
5793
|
validators[type] = function validator(thing) {
|
|
6301
|
-
return (
|
|
5794
|
+
return typeof_typeof(thing) === type || 'a' + (i < 1 ? 'n ' : ' ') + type;
|
|
6302
5795
|
};
|
|
6303
5796
|
});
|
|
6304
5797
|
var deprecatedWarnings = {};
|
|
@@ -6349,7 +5842,7 @@ validators.spelling = function spelling(correctSpelling) {
|
|
|
6349
5842
|
*/
|
|
6350
5843
|
|
|
6351
5844
|
function assertOptions(options, schema, allowUnknown) {
|
|
6352
|
-
if ((
|
|
5845
|
+
if (typeof_typeof(options) !== 'object') {
|
|
6353
5846
|
throw new core_AxiosError('options must be an object', core_AxiosError.ERR_BAD_OPTION_VALUE);
|
|
6354
5847
|
}
|
|
6355
5848
|
var keys = Object.keys(options);
|
|
@@ -7028,21 +6521,10 @@ var Tx = /*#__PURE__*/function () {
|
|
|
7028
6521
|
}]);
|
|
7029
6522
|
}();
|
|
7030
6523
|
|
|
7031
|
-
// EXTERNAL MODULE: ./node_modules/dayjs/dayjs.min.js
|
|
7032
|
-
var dayjs_min = __webpack_require__(110);
|
|
7033
|
-
// EXTERNAL MODULE: ./node_modules/dayjs/locale/zh-cn.js
|
|
7034
|
-
var zh_cn = __webpack_require__(436);
|
|
7035
|
-
// EXTERNAL MODULE: ./node_modules/dayjs/plugin/weekday.js
|
|
7036
|
-
var weekday = __webpack_require__(527);
|
|
7037
6524
|
;// ./package/SpeechRecognition/utils/DateUtil.js
|
|
7038
|
-
|
|
7039
|
-
|
|
7040
|
-
|
|
7041
|
-
dayjs_min["default"].extend(weekday/* default */.A);
|
|
7042
|
-
dayjs_min["default"].locale('zh-cn');
|
|
7043
6525
|
var getTimeSlot = function getTimeSlot() {
|
|
7044
|
-
var
|
|
7045
|
-
var hour =
|
|
6526
|
+
var date = new Date();
|
|
6527
|
+
var hour = date.getHours();
|
|
7046
6528
|
var timeSlot = '';
|
|
7047
6529
|
switch (true) {
|
|
7048
6530
|
case hour < 6:
|