@genpact/genome.mfe.mgtwin-app 1.1.367-alpha → 1.1.369-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AssessmentAMA-da287167.mjs → AssessmentAMA-31d7a9c1.mjs} +4 -4
- package/dist/{AssessmentSimulation-f74a6523.mjs → AssessmentSimulation-88045bf5.mjs} +7 -7
- package/dist/{EditSkillAdminData-090afec5.mjs → EditSkillAdminData-289f40cb.mjs} +2 -2
- package/dist/{EditSkillData-7b5482ca.mjs → EditSkillData-8ee5d8a1.mjs} +2 -2
- package/dist/{HomeView-f47ba61f.mjs → HomeView-d540b993.mjs} +5 -5
- package/dist/{Loading-304087a3.mjs → Loading-2e206bd2.mjs} +1 -1
- package/dist/{LoadingSimulation-5659ffe2.mjs → LoadingSimulation-665ec785.mjs} +1 -1
- package/dist/{Modal-2e85e762.mjs → Modal-88f52435.mjs} +1 -1
- package/dist/{PaperAirplaneIcon-cd2420b0.mjs → PaperAirplaneIcon-c9491b82.mjs} +1 -1
- package/dist/{PromptTesting-b99f78de.mjs → PromptTesting-3612ba51.mjs} +3 -3
- package/dist/{SkillAutomation-30f262f2.mjs → SkillAutomation-b8fbb26a.mjs} +3 -3
- package/dist/{SkillData-a9f46904.mjs → SkillData-269f093b.mjs} +3 -3
- package/dist/{Testcase-7bd7ad4f.mjs → Testcase-d73b2bb0.mjs} +3 -3
- package/dist/{UnderMaintenance-a2cfce17.mjs → UnderMaintenance-f3f58679.mjs} +1 -1
- package/dist/{VoiceTestcase-3029e5db.mjs → VoiceTestcase-2f922d3b.mjs} +3 -3
- package/dist/{XMarkIcon-a975bcf1.mjs → XMarkIcon-30eb9228.mjs} +1 -1
- package/dist/{api-7256f760.mjs → api-0ef64eb6.mjs} +1 -1
- package/dist/{index.es-b59f0598.mjs → index.es-ab0fa3ef.mjs} +7 -7
- package/dist/{main-06141389.mjs → main-2ed54b98.mjs} +1163 -1163
- package/dist/mgtwin.es.min.js +1 -1
- package/dist/mgtwin.umd.min.js +50 -50
- package/dist/{voiceServices-2347e11e.mjs → voiceServices-50980eb7.mjs} +866 -866
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var ie = (t, e, r) => (
|
|
1
|
+
var rh = Object.defineProperty;
|
|
2
|
+
var nh = (t, e, r) => e in t ? rh(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
|
+
var ie = (t, e, r) => (nh(t, typeof e != "symbol" ? e + "" : e, r), r), Eo = (t, e, r) => {
|
|
4
4
|
if (!e.has(t))
|
|
5
5
|
throw TypeError("Cannot " + r);
|
|
6
6
|
};
|
|
@@ -9,20 +9,20 @@ var D = (t, e, r) => (Eo(t, e, "read from private field"), r ? r.call(t) : e.get
|
|
|
9
9
|
throw TypeError("Cannot add the same private member more than once");
|
|
10
10
|
e instanceof WeakSet ? e.add(t) : e.set(t, r);
|
|
11
11
|
}, jt = (t, e, r, i) => (Eo(t, e, "write to private field"), i ? i.call(t, r) : e.set(t, r), r);
|
|
12
|
-
import { r as De, k as
|
|
13
|
-
import { g as
|
|
14
|
-
import { c as N, a as
|
|
15
|
-
const
|
|
12
|
+
import { r as De, k as ip, u as sp, C as op, q as wn } from "./main-2ed54b98.mjs";
|
|
13
|
+
import { g as ap } from "./api-0ef64eb6.mjs";
|
|
14
|
+
import { c as N, a as ih } from "./_commonjsHelpers-92157f1b.mjs";
|
|
15
|
+
const cS = De(""), Io = ip(), ft = sp(), _e = De(!1), sh = "Xb7hH8MSUJpSbSDYk0k2", oh = De("");
|
|
16
16
|
let Fn = [];
|
|
17
|
-
const
|
|
17
|
+
const cp = De(!1);
|
|
18
18
|
let yt = !1, ae = null, Ue = null, ge = null, dt, ht, Kn, At;
|
|
19
|
-
|
|
20
|
-
console.log("Mounted voiceService11Labs"), ft.authToken = await
|
|
19
|
+
op(async () => {
|
|
20
|
+
console.log("Mounted voiceService11Labs"), ft.authToken = await pp();
|
|
21
21
|
});
|
|
22
|
-
const
|
|
22
|
+
const pp = async () => {
|
|
23
23
|
var t, e, r, i;
|
|
24
24
|
try {
|
|
25
|
-
const p = await
|
|
25
|
+
const p = await ap("/voiceTesting?ellevenLabs=true");
|
|
26
26
|
return console.log("response", (t = p == null ? void 0 : p.data) == null ? void 0 : t.token), (e = p == null ? void 0 : p.data) == null ? void 0 : e.token;
|
|
27
27
|
} catch (p) {
|
|
28
28
|
if (console.error(p), wn.isAxiosError(p)) {
|
|
@@ -31,29 +31,29 @@ const up = async () => {
|
|
|
31
31
|
} else
|
|
32
32
|
Io.setError("There was an issue while fetching data");
|
|
33
33
|
}
|
|
34
|
-
},
|
|
34
|
+
}, ah = () => {
|
|
35
35
|
At && At.disconnect(), ht && ht.disconnect(), Kn && Kn.disconnect(), dt && dt.close(), ge && ge.state === "recording" && ge.stop(), Ue && (Ue.getTracks().forEach((t) => t.stop()), Ue = null), _e.value = !1;
|
|
36
|
-
},
|
|
36
|
+
}, ch = (t, e = 0.09) => {
|
|
37
37
|
console.log("monitorMicDuringTTS called with threshold:", e), dt = new (window.AudioContext || window.webkitAudioContext)(), ht = dt.createAnalyser(), Kn = dt.createMediaStreamSource(Ue), At = dt.createScriptProcessor(2048, 1, 1), Kn.connect(ht), ht.connect(At), At.connect(dt.destination), At.onaudioprocess = () => {
|
|
38
38
|
const r = new Uint8Array(ht.frequencyBinCount);
|
|
39
39
|
ht.getByteFrequencyData(r);
|
|
40
40
|
const i = r.reduce((p, a) => p + a) / r.length;
|
|
41
|
-
console.log("Average volume:", i), console.log("threshold * 100:", e * 100), i > e * 100 && (t(), console.log("onInterrupt", t),
|
|
41
|
+
console.log("Average volume:", i), console.log("threshold * 100:", e * 100), i > e * 100 && (t(), console.log("onInterrupt", t), ah());
|
|
42
42
|
};
|
|
43
43
|
}, To = async () => {
|
|
44
|
-
|
|
45
|
-
},
|
|
44
|
+
cp.value = !0, _e.value = !0, console.log("Starting voice recognition with ElevenLabs"), ae && ae.pause(), Ue = await navigator.mediaDevices.getUserMedia({ audio: !0 }), await up();
|
|
45
|
+
}, up = async () => {
|
|
46
46
|
if (!Ue)
|
|
47
47
|
throw new Error("micStream is null");
|
|
48
48
|
ge = new MediaRecorder(Ue), Fn = [], console.log("Starting beginListening with ElevenLabs"), ge.ondataavailable = (t) => {
|
|
49
49
|
ae && ae.pause(), t.data.size > 0 && Fn.push(t.data), console.log("Audio chunk available:", Fn);
|
|
50
50
|
}, ge.onstop = async () => {
|
|
51
|
-
const t = new Blob(Fn, { type: "audio/webm" }), e = await
|
|
52
|
-
|
|
53
|
-
}, ge.start(), ae && ae.pause(),
|
|
51
|
+
const t = new Blob(Fn, { type: "audio/webm" }), e = await ph(t);
|
|
52
|
+
oh.value = e, console.log("Transcription:", e), ft.userSpeechText = ft.userSpeechText + e, cp.value = !1, console.log("micEnabled before stop:", _e.value), _e.value && await up();
|
|
53
|
+
}, ge.start(), ae && ae.pause(), uh(Ue, () => {
|
|
54
54
|
(ge == null ? void 0 : ge.state) === "recording" && ge.stop();
|
|
55
55
|
});
|
|
56
|
-
},
|
|
56
|
+
}, ph = async (t) => {
|
|
57
57
|
console.log("authToken 11labs", ft.authToken);
|
|
58
58
|
const e = new FormData();
|
|
59
59
|
e.append("file", t, "recording.webm"), e.append("model_id", "scribe_v1");
|
|
@@ -65,7 +65,7 @@ const up = async () => {
|
|
|
65
65
|
body: e
|
|
66
66
|
}), i = await r.json();
|
|
67
67
|
return r.ok ? (i == null ? void 0 : i.text) || "[No transcription result]" : (console.error("Transcription error:", i), "[Error in transcription]");
|
|
68
|
-
},
|
|
68
|
+
}, uh = (t, e, r = 1500, i = 0.08) => {
|
|
69
69
|
const p = new (window.AudioContext || window.webkitAudioContext)(), a = p.createAnalyser(), s = p.createMediaStreamSource(t), n = p.createScriptProcessor(2048, 1, 1);
|
|
70
70
|
a.smoothingTimeConstant = 0.8, a.fftSize = 1024, s.connect(a), a.connect(n), n.connect(p.destination);
|
|
71
71
|
let o = performance.now();
|
|
@@ -73,9 +73,9 @@ const up = async () => {
|
|
|
73
73
|
const c = new Uint8Array(a.frequencyBinCount);
|
|
74
74
|
a.getByteFrequencyData(c), c.reduce((d, h) => d + h) / c.length < i * 100 ? performance.now() - o > r && (e(), n.disconnect(), a.disconnect(), s.disconnect(), p.close()) : o = performance.now();
|
|
75
75
|
};
|
|
76
|
-
},
|
|
77
|
-
console.log("speakText11Labs called with text:", t), ft.authToken = await
|
|
78
|
-
const r = await (await fetch(`https://api.elevenlabs.io/v1/text-to-speech/${
|
|
76
|
+
}, pS = async (t) => {
|
|
77
|
+
console.log("speakText11Labs called with text:", t), ft.authToken = await pp(), ae && ae.pause(), yt = !0;
|
|
78
|
+
const r = await (await fetch(`https://api.elevenlabs.io/v1/text-to-speech/${sh}`, {
|
|
79
79
|
method: "POST",
|
|
80
80
|
headers: {
|
|
81
81
|
"xi-api-key": ft.authToken,
|
|
@@ -94,7 +94,7 @@ const up = async () => {
|
|
|
94
94
|
return ae = new Audio(i), new Promise((p) => {
|
|
95
95
|
ae && (ae.onended = async () => {
|
|
96
96
|
yt = !1, console.log("Audio is playing:", yt), _e.value ? (console.log("micEnabled before calling startrecognition:", _e.value), p(await To())) : p();
|
|
97
|
-
}, ae.play(), console.log("Audio is playing:", yt), console.log("micEnabled:", _e.value), _e.value &&
|
|
97
|
+
}, ae.play(), console.log("Audio is playing:", yt), console.log("micEnabled:", _e.value), _e.value && ch(() => {
|
|
98
98
|
ae && (ae.pause(), ae.currentTime = 0), yt = !1, console.log("monitorMicDuringTTS:", yt), console.log("micEnabled before calling startrecognition:", _e.value), To();
|
|
99
99
|
}));
|
|
100
100
|
});
|
|
@@ -103,12 +103,12 @@ var j;
|
|
|
103
103
|
(function(t) {
|
|
104
104
|
t.LOAD = "LOAD", t.EXEC = "EXEC", t.FFPROBE = "FFPROBE", t.WRITE_FILE = "WRITE_FILE", t.READ_FILE = "READ_FILE", t.DELETE_FILE = "DELETE_FILE", t.RENAME = "RENAME", t.CREATE_DIR = "CREATE_DIR", t.LIST_DIR = "LIST_DIR", t.DELETE_DIR = "DELETE_DIR", t.ERROR = "ERROR", t.DOWNLOAD = "DOWNLOAD", t.PROGRESS = "PROGRESS", t.LOG = "LOG", t.MOUNT = "MOUNT", t.UNMOUNT = "UNMOUNT";
|
|
105
105
|
})(j || (j = {}));
|
|
106
|
-
const
|
|
106
|
+
const dh = (() => {
|
|
107
107
|
let t = 0;
|
|
108
108
|
return () => t++;
|
|
109
|
-
})(),
|
|
109
|
+
})(), hh = new Error("ffmpeg is not loaded, call `await ffmpeg.load()` first"), lh = new Error("called FFmpeg.terminate()");
|
|
110
110
|
var de, Fe, we, lt, vt, Qn, oe;
|
|
111
|
-
class
|
|
111
|
+
class vh {
|
|
112
112
|
constructor() {
|
|
113
113
|
ze(this, de, null);
|
|
114
114
|
/**
|
|
@@ -159,11 +159,11 @@ class fh {
|
|
|
159
159
|
* Generic function to send messages to web worker.
|
|
160
160
|
*/
|
|
161
161
|
ze(this, oe, ({ type: e, data: r }, i = [], p) => D(this, de) ? new Promise((a, s) => {
|
|
162
|
-
const n =
|
|
162
|
+
const n = dh();
|
|
163
163
|
D(this, de) && D(this, de).postMessage({ id: n, type: e, data: r }, i), D(this, Fe)[n] = a, D(this, we)[n] = s, p == null || p.addEventListener("abort", () => {
|
|
164
164
|
s(new DOMException(`Message # ${n} was aborted`, "AbortError"));
|
|
165
165
|
}, { once: !0 });
|
|
166
|
-
}) : Promise.reject(
|
|
166
|
+
}) : Promise.reject(hh));
|
|
167
167
|
/**
|
|
168
168
|
* Loads ffmpeg-core inside web worker. It is required to call this method first
|
|
169
169
|
* as it initializes WebAssembly and other essential variables.
|
|
@@ -236,7 +236,7 @@ class fh {
|
|
|
236
236
|
ie(this, "terminate", () => {
|
|
237
237
|
const e = Object.keys(D(this, we));
|
|
238
238
|
for (const r of e)
|
|
239
|
-
D(this, we)[r](
|
|
239
|
+
D(this, we)[r](lh), delete D(this, we)[r], delete D(this, Fe)[r];
|
|
240
240
|
D(this, de) && (D(this, de).terminate(), jt(this, de, null), this.loaded = !1);
|
|
241
241
|
});
|
|
242
242
|
/**
|
|
@@ -347,7 +347,7 @@ var Ao;
|
|
|
347
347
|
(function(t) {
|
|
348
348
|
t.MEMFS = "MEMFS", t.NODEFS = "NODEFS", t.NODERAWFS = "NODERAWFS", t.IDBFS = "IDBFS", t.WORKERFS = "WORKERFS", t.PROXYFS = "PROXYFS";
|
|
349
349
|
})(Ao || (Ao = {}));
|
|
350
|
-
const
|
|
350
|
+
const fh = (t) => new Promise((e, r) => {
|
|
351
351
|
const i = new FileReader();
|
|
352
352
|
i.onload = () => {
|
|
353
353
|
const { result: p } = i;
|
|
@@ -356,89 +356,89 @@ const gh = (t) => new Promise((e, r) => {
|
|
|
356
356
|
var a, s;
|
|
357
357
|
r(Error(`File could not be read! Code=${((s = (a = p == null ? void 0 : p.target) == null ? void 0 : a.error) == null ? void 0 : s.code) || -1}`));
|
|
358
358
|
}, i.readAsArrayBuffer(t);
|
|
359
|
-
}),
|
|
359
|
+
}), gh = async (t) => {
|
|
360
360
|
let e;
|
|
361
361
|
if (typeof t == "string")
|
|
362
362
|
/data:_data\/([a-zA-Z]*);base64,([^"]*)/.test(t) ? e = atob(t.split(",")[1]).split("").map((r) => r.charCodeAt(0)) : e = await (await fetch(t)).arrayBuffer();
|
|
363
363
|
else if (t instanceof URL)
|
|
364
364
|
e = await (await fetch(t)).arrayBuffer();
|
|
365
365
|
else if (t instanceof File || t instanceof Blob)
|
|
366
|
-
e = await
|
|
366
|
+
e = await fh(t);
|
|
367
367
|
else
|
|
368
368
|
return new Uint8Array();
|
|
369
369
|
return new Uint8Array(e);
|
|
370
370
|
};
|
|
371
|
-
var Re = {}, vs = {}, Xn = {}, fs = {}, F = {}, Dt = {}, fe = {},
|
|
371
|
+
var Re = {}, vs = {}, Xn = {}, fs = {}, F = {}, Dt = {}, fe = {}, dp = {}, Zn = {}, Yn = {};
|
|
372
372
|
Object.defineProperty(Yn, "__esModule", {
|
|
373
373
|
value: !0
|
|
374
374
|
});
|
|
375
|
-
Yn.default =
|
|
375
|
+
Yn.default = Sh;
|
|
376
376
|
let xn;
|
|
377
|
-
const
|
|
378
|
-
function
|
|
377
|
+
const mh = new Uint8Array(16);
|
|
378
|
+
function Sh() {
|
|
379
379
|
if (!xn && (xn = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !xn))
|
|
380
380
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
381
|
-
return xn(
|
|
381
|
+
return xn(mh);
|
|
382
382
|
}
|
|
383
383
|
var $e = {}, mt = {}, ei = {};
|
|
384
384
|
Object.defineProperty(ei, "__esModule", {
|
|
385
385
|
value: !0
|
|
386
386
|
});
|
|
387
387
|
ei.default = void 0;
|
|
388
|
-
var
|
|
389
|
-
ei.default =
|
|
388
|
+
var Ch = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
|
|
389
|
+
ei.default = Ch;
|
|
390
390
|
Object.defineProperty(mt, "__esModule", {
|
|
391
391
|
value: !0
|
|
392
392
|
});
|
|
393
393
|
mt.default = void 0;
|
|
394
|
-
var
|
|
395
|
-
function
|
|
394
|
+
var yh = Rh(ei);
|
|
395
|
+
function Rh(t) {
|
|
396
396
|
return t && t.__esModule ? t : { default: t };
|
|
397
397
|
}
|
|
398
|
-
function
|
|
399
|
-
return typeof t == "string" &&
|
|
398
|
+
function Ph(t) {
|
|
399
|
+
return typeof t == "string" && yh.default.test(t);
|
|
400
400
|
}
|
|
401
|
-
var
|
|
402
|
-
mt.default =
|
|
401
|
+
var Eh = Ph;
|
|
402
|
+
mt.default = Eh;
|
|
403
403
|
Object.defineProperty($e, "__esModule", {
|
|
404
404
|
value: !0
|
|
405
405
|
});
|
|
406
406
|
$e.default = void 0;
|
|
407
|
-
$e.unsafeStringify =
|
|
408
|
-
var
|
|
409
|
-
function
|
|
407
|
+
$e.unsafeStringify = hp;
|
|
408
|
+
var Ih = Th(mt);
|
|
409
|
+
function Th(t) {
|
|
410
410
|
return t && t.__esModule ? t : { default: t };
|
|
411
411
|
}
|
|
412
412
|
const H = [];
|
|
413
413
|
for (let t = 0; t < 256; ++t)
|
|
414
414
|
H.push((t + 256).toString(16).slice(1));
|
|
415
|
-
function
|
|
415
|
+
function hp(t, e = 0) {
|
|
416
416
|
return H[t[e + 0]] + H[t[e + 1]] + H[t[e + 2]] + H[t[e + 3]] + "-" + H[t[e + 4]] + H[t[e + 5]] + "-" + H[t[e + 6]] + H[t[e + 7]] + "-" + H[t[e + 8]] + H[t[e + 9]] + "-" + H[t[e + 10]] + H[t[e + 11]] + H[t[e + 12]] + H[t[e + 13]] + H[t[e + 14]] + H[t[e + 15]];
|
|
417
417
|
}
|
|
418
|
-
function
|
|
419
|
-
const r =
|
|
420
|
-
if (!(0,
|
|
418
|
+
function Ah(t, e = 0) {
|
|
419
|
+
const r = hp(t, e);
|
|
420
|
+
if (!(0, Ih.default)(r))
|
|
421
421
|
throw TypeError("Stringified UUID is invalid");
|
|
422
422
|
return r;
|
|
423
423
|
}
|
|
424
|
-
var
|
|
425
|
-
$e.default =
|
|
424
|
+
var wh = Ah;
|
|
425
|
+
$e.default = wh;
|
|
426
426
|
Object.defineProperty(Zn, "__esModule", {
|
|
427
427
|
value: !0
|
|
428
428
|
});
|
|
429
429
|
Zn.default = void 0;
|
|
430
|
-
var
|
|
431
|
-
function
|
|
430
|
+
var _h = Mh(Yn), bh = $e;
|
|
431
|
+
function Mh(t) {
|
|
432
432
|
return t && t.__esModule ? t : { default: t };
|
|
433
433
|
}
|
|
434
434
|
let wo, gs, ms = 0, Ss = 0;
|
|
435
|
-
function
|
|
435
|
+
function Oh(t, e, r) {
|
|
436
436
|
let i = e && r || 0;
|
|
437
437
|
const p = e || new Array(16);
|
|
438
438
|
t = t || {};
|
|
439
439
|
let a = t.node || wo, s = t.clockseq !== void 0 ? t.clockseq : gs;
|
|
440
440
|
if (a == null || s == null) {
|
|
441
|
-
const h = t.random || (t.rng ||
|
|
441
|
+
const h = t.random || (t.rng || _h.default)();
|
|
442
442
|
a == null && (a = wo = [h[0] | 1, h[1], h[2], h[3], h[4], h[5]]), s == null && (s = gs = (h[6] << 8 | h[7]) & 16383);
|
|
443
443
|
}
|
|
444
444
|
let n = t.msecs !== void 0 ? t.msecs : Date.now(), o = t.nsecs !== void 0 ? t.nsecs : Ss + 1;
|
|
@@ -452,52 +452,52 @@ function Dh(t, e, r) {
|
|
|
452
452
|
p[i++] = d >>> 8 & 255, p[i++] = d & 255, p[i++] = d >>> 24 & 15 | 16, p[i++] = d >>> 16 & 255, p[i++] = s >>> 8 | 128, p[i++] = s & 255;
|
|
453
453
|
for (let h = 0; h < 6; ++h)
|
|
454
454
|
p[i + h] = a[h];
|
|
455
|
-
return e || (0,
|
|
455
|
+
return e || (0, bh.unsafeStringify)(p);
|
|
456
456
|
}
|
|
457
|
-
var
|
|
458
|
-
Zn.default =
|
|
457
|
+
var Dh = Oh;
|
|
458
|
+
Zn.default = Dh;
|
|
459
459
|
var ti = {}, Ve = {}, _n = {};
|
|
460
460
|
Object.defineProperty(_n, "__esModule", {
|
|
461
461
|
value: !0
|
|
462
462
|
});
|
|
463
463
|
_n.default = void 0;
|
|
464
|
-
var
|
|
465
|
-
function
|
|
464
|
+
var kh = Nh(mt);
|
|
465
|
+
function Nh(t) {
|
|
466
466
|
return t && t.__esModule ? t : { default: t };
|
|
467
467
|
}
|
|
468
|
-
function
|
|
469
|
-
if (!(0,
|
|
468
|
+
function zh(t) {
|
|
469
|
+
if (!(0, kh.default)(t))
|
|
470
470
|
throw TypeError("Invalid UUID");
|
|
471
471
|
let e;
|
|
472
472
|
const r = new Uint8Array(16);
|
|
473
473
|
return r[0] = (e = parseInt(t.slice(0, 8), 16)) >>> 24, r[1] = e >>> 16 & 255, r[2] = e >>> 8 & 255, r[3] = e & 255, r[4] = (e = parseInt(t.slice(9, 13), 16)) >>> 8, r[5] = e & 255, r[6] = (e = parseInt(t.slice(14, 18), 16)) >>> 8, r[7] = e & 255, r[8] = (e = parseInt(t.slice(19, 23), 16)) >>> 8, r[9] = e & 255, r[10] = (e = parseInt(t.slice(24, 36), 16)) / 1099511627776 & 255, r[11] = e / 4294967296 & 255, r[12] = e >>> 24 & 255, r[13] = e >>> 16 & 255, r[14] = e >>> 8 & 255, r[15] = e & 255, r;
|
|
474
474
|
}
|
|
475
|
-
var
|
|
476
|
-
_n.default =
|
|
475
|
+
var jh = zh;
|
|
476
|
+
_n.default = jh;
|
|
477
477
|
Object.defineProperty(Ve, "__esModule", {
|
|
478
478
|
value: !0
|
|
479
479
|
});
|
|
480
480
|
Ve.URL = Ve.DNS = void 0;
|
|
481
|
-
Ve.default =
|
|
482
|
-
var
|
|
483
|
-
function
|
|
481
|
+
Ve.default = xh;
|
|
482
|
+
var Lh = $e, Bh = qh(_n);
|
|
483
|
+
function qh(t) {
|
|
484
484
|
return t && t.__esModule ? t : { default: t };
|
|
485
485
|
}
|
|
486
|
-
function
|
|
486
|
+
function Fh(t) {
|
|
487
487
|
t = unescape(encodeURIComponent(t));
|
|
488
488
|
const e = [];
|
|
489
489
|
for (let r = 0; r < t.length; ++r)
|
|
490
490
|
e.push(t.charCodeAt(r));
|
|
491
491
|
return e;
|
|
492
492
|
}
|
|
493
|
-
const
|
|
494
|
-
Ve.DNS =
|
|
495
|
-
const
|
|
496
|
-
Ve.URL =
|
|
497
|
-
function
|
|
493
|
+
const lp = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
|
|
494
|
+
Ve.DNS = lp;
|
|
495
|
+
const vp = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
|
|
496
|
+
Ve.URL = vp;
|
|
497
|
+
function xh(t, e, r) {
|
|
498
498
|
function i(p, a, s, n) {
|
|
499
499
|
var o;
|
|
500
|
-
if (typeof p == "string" && (p =
|
|
500
|
+
if (typeof p == "string" && (p = Fh(p)), typeof a == "string" && (a = (0, Bh.default)(a)), ((o = a) === null || o === void 0 ? void 0 : o.length) !== 16)
|
|
501
501
|
throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");
|
|
502
502
|
let c = new Uint8Array(16 + p.length);
|
|
503
503
|
if (c.set(a), c.set(p, a.length), c = r(c), c[6] = c[6] & 15 | e, c[8] = c[8] & 63 | 128, s) {
|
|
@@ -506,29 +506,29 @@ function Uh(t, e, r) {
|
|
|
506
506
|
s[n + u] = c[u];
|
|
507
507
|
return s;
|
|
508
508
|
}
|
|
509
|
-
return (0,
|
|
509
|
+
return (0, Lh.unsafeStringify)(c);
|
|
510
510
|
}
|
|
511
511
|
try {
|
|
512
512
|
i.name = t;
|
|
513
513
|
} catch {
|
|
514
514
|
}
|
|
515
|
-
return i.DNS =
|
|
515
|
+
return i.DNS = lp, i.URL = vp, i;
|
|
516
516
|
}
|
|
517
517
|
var ri = {};
|
|
518
518
|
Object.defineProperty(ri, "__esModule", {
|
|
519
519
|
value: !0
|
|
520
520
|
});
|
|
521
521
|
ri.default = void 0;
|
|
522
|
-
function
|
|
522
|
+
function Uh(t) {
|
|
523
523
|
if (typeof t == "string") {
|
|
524
524
|
const e = unescape(encodeURIComponent(t));
|
|
525
525
|
t = new Uint8Array(e.length);
|
|
526
526
|
for (let r = 0; r < e.length; ++r)
|
|
527
527
|
t[r] = e.charCodeAt(r);
|
|
528
528
|
}
|
|
529
|
-
return Vh(Hh(
|
|
529
|
+
return Wh(Vh(Hh(t), t.length * 8));
|
|
530
530
|
}
|
|
531
|
-
function
|
|
531
|
+
function Wh(t) {
|
|
532
532
|
const e = [], r = t.length * 32, i = "0123456789abcdef";
|
|
533
533
|
for (let p = 0; p < r; p += 8) {
|
|
534
534
|
const a = t[p >> 5] >>> p % 32 & 255, s = parseInt(i.charAt(a >>> 4 & 15) + i.charAt(a & 15), 16);
|
|
@@ -536,11 +536,11 @@ function Vh(t) {
|
|
|
536
536
|
}
|
|
537
537
|
return e;
|
|
538
538
|
}
|
|
539
|
-
function
|
|
539
|
+
function fp(t) {
|
|
540
540
|
return (t + 64 >>> 9 << 4) + 14 + 1;
|
|
541
541
|
}
|
|
542
|
-
function
|
|
543
|
-
t[e >> 5] |= 128 << e % 32, t[
|
|
542
|
+
function Vh(t, e) {
|
|
543
|
+
t[e >> 5] |= 128 << e % 32, t[fp(e) - 1] = e;
|
|
544
544
|
let r = 1732584193, i = -271733879, p = -1732584194, a = 271733878;
|
|
545
545
|
for (let s = 0; s < t.length; s += 16) {
|
|
546
546
|
const n = r, o = i, c = p, u = a;
|
|
@@ -548,10 +548,10 @@ function Hh(t, e) {
|
|
|
548
548
|
}
|
|
549
549
|
return [r, i, p, a];
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function Hh(t) {
|
|
552
552
|
if (t.length === 0)
|
|
553
553
|
return [];
|
|
554
|
-
const e = t.length * 8, r = new Uint32Array(
|
|
554
|
+
const e = t.length * 8, r = new Uint32Array(fp(e));
|
|
555
555
|
for (let i = 0; i < e; i += 8)
|
|
556
556
|
r[i >> 5] |= (t[i / 8] & 255) << i % 32;
|
|
557
557
|
return r;
|
|
@@ -560,11 +560,11 @@ function xe(t, e) {
|
|
|
560
560
|
const r = (t & 65535) + (e & 65535);
|
|
561
561
|
return (t >> 16) + (e >> 16) + (r >> 16) << 16 | r & 65535;
|
|
562
562
|
}
|
|
563
|
-
function
|
|
563
|
+
function $h(t, e) {
|
|
564
564
|
return t << e | t >>> 32 - e;
|
|
565
565
|
}
|
|
566
566
|
function ni(t, e, r, i, p, a) {
|
|
567
|
-
return xe(
|
|
567
|
+
return xe($h(xe(xe(e, t), xe(i, a)), p), r);
|
|
568
568
|
}
|
|
569
569
|
function X(t, e, r, i, p, a, s) {
|
|
570
570
|
return ni(e & r | ~e & i, t, e, p, a, s);
|
|
@@ -578,58 +578,58 @@ function Y(t, e, r, i, p, a, s) {
|
|
|
578
578
|
function ee(t, e, r, i, p, a, s) {
|
|
579
579
|
return ni(r ^ (e | ~i), t, e, p, a, s);
|
|
580
580
|
}
|
|
581
|
-
var
|
|
582
|
-
ri.default =
|
|
581
|
+
var Kh = Uh;
|
|
582
|
+
ri.default = Kh;
|
|
583
583
|
Object.defineProperty(ti, "__esModule", {
|
|
584
584
|
value: !0
|
|
585
585
|
});
|
|
586
586
|
ti.default = void 0;
|
|
587
|
-
var
|
|
588
|
-
function
|
|
587
|
+
var Jh = gp(Ve), Gh = gp(ri);
|
|
588
|
+
function gp(t) {
|
|
589
589
|
return t && t.__esModule ? t : { default: t };
|
|
590
590
|
}
|
|
591
|
-
const
|
|
592
|
-
var
|
|
593
|
-
ti.default =
|
|
591
|
+
const Qh = (0, Jh.default)("v3", 48, Gh.default);
|
|
592
|
+
var Xh = Qh;
|
|
593
|
+
ti.default = Xh;
|
|
594
594
|
var ii = {}, si = {};
|
|
595
595
|
Object.defineProperty(si, "__esModule", {
|
|
596
596
|
value: !0
|
|
597
597
|
});
|
|
598
598
|
si.default = void 0;
|
|
599
|
-
const
|
|
600
|
-
var
|
|
601
|
-
randomUUID:
|
|
599
|
+
const Zh = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
600
|
+
var Yh = {
|
|
601
|
+
randomUUID: Zh
|
|
602
602
|
};
|
|
603
|
-
si.default =
|
|
603
|
+
si.default = Yh;
|
|
604
604
|
Object.defineProperty(ii, "__esModule", {
|
|
605
605
|
value: !0
|
|
606
606
|
});
|
|
607
607
|
ii.default = void 0;
|
|
608
|
-
var _o =
|
|
609
|
-
function
|
|
608
|
+
var _o = mp(si), el = mp(Yn), tl = $e;
|
|
609
|
+
function mp(t) {
|
|
610
610
|
return t && t.__esModule ? t : { default: t };
|
|
611
611
|
}
|
|
612
|
-
function
|
|
612
|
+
function rl(t, e, r) {
|
|
613
613
|
if (_o.default.randomUUID && !e && !t)
|
|
614
614
|
return _o.default.randomUUID();
|
|
615
615
|
t = t || {};
|
|
616
|
-
const i = t.random || (t.rng ||
|
|
616
|
+
const i = t.random || (t.rng || el.default)();
|
|
617
617
|
if (i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128, e) {
|
|
618
618
|
r = r || 0;
|
|
619
619
|
for (let p = 0; p < 16; ++p)
|
|
620
620
|
e[r + p] = i[p];
|
|
621
621
|
return e;
|
|
622
622
|
}
|
|
623
|
-
return (0,
|
|
623
|
+
return (0, tl.unsafeStringify)(i);
|
|
624
624
|
}
|
|
625
|
-
var
|
|
626
|
-
ii.default =
|
|
625
|
+
var nl = rl;
|
|
626
|
+
ii.default = nl;
|
|
627
627
|
var oi = {}, ai = {};
|
|
628
628
|
Object.defineProperty(ai, "__esModule", {
|
|
629
629
|
value: !0
|
|
630
630
|
});
|
|
631
631
|
ai.default = void 0;
|
|
632
|
-
function
|
|
632
|
+
function il(t, e, r, i) {
|
|
633
633
|
switch (t) {
|
|
634
634
|
case 0:
|
|
635
635
|
return e & r ^ ~e & i;
|
|
@@ -644,7 +644,7 @@ function sl(t, e, r, i) {
|
|
|
644
644
|
function Cs(t, e) {
|
|
645
645
|
return t << e | t >>> 32 - e;
|
|
646
646
|
}
|
|
647
|
-
function
|
|
647
|
+
function sl(t) {
|
|
648
648
|
const e = [1518500249, 1859775393, 2400959708, 3395469782], r = [1732584193, 4023233417, 2562383102, 271733878, 3285377520];
|
|
649
649
|
if (typeof t == "string") {
|
|
650
650
|
const s = unescape(encodeURIComponent(t));
|
|
@@ -670,49 +670,49 @@ function ol(t) {
|
|
|
670
670
|
n[l] = Cs(n[l - 3] ^ n[l - 8] ^ n[l - 14] ^ n[l - 16], 1);
|
|
671
671
|
let o = r[0], c = r[1], u = r[2], d = r[3], h = r[4];
|
|
672
672
|
for (let l = 0; l < 80; ++l) {
|
|
673
|
-
const f = Math.floor(l / 20), g = Cs(o, 5) +
|
|
673
|
+
const f = Math.floor(l / 20), g = Cs(o, 5) + il(f, c, u, d) + h + e[f] + n[l] >>> 0;
|
|
674
674
|
h = d, d = u, u = Cs(c, 30) >>> 0, c = o, o = g;
|
|
675
675
|
}
|
|
676
676
|
r[0] = r[0] + o >>> 0, r[1] = r[1] + c >>> 0, r[2] = r[2] + u >>> 0, r[3] = r[3] + d >>> 0, r[4] = r[4] + h >>> 0;
|
|
677
677
|
}
|
|
678
678
|
return [r[0] >> 24 & 255, r[0] >> 16 & 255, r[0] >> 8 & 255, r[0] & 255, r[1] >> 24 & 255, r[1] >> 16 & 255, r[1] >> 8 & 255, r[1] & 255, r[2] >> 24 & 255, r[2] >> 16 & 255, r[2] >> 8 & 255, r[2] & 255, r[3] >> 24 & 255, r[3] >> 16 & 255, r[3] >> 8 & 255, r[3] & 255, r[4] >> 24 & 255, r[4] >> 16 & 255, r[4] >> 8 & 255, r[4] & 255];
|
|
679
679
|
}
|
|
680
|
-
var
|
|
681
|
-
ai.default =
|
|
680
|
+
var ol = sl;
|
|
681
|
+
ai.default = ol;
|
|
682
682
|
Object.defineProperty(oi, "__esModule", {
|
|
683
683
|
value: !0
|
|
684
684
|
});
|
|
685
685
|
oi.default = void 0;
|
|
686
|
-
var
|
|
687
|
-
function
|
|
686
|
+
var al = Sp(Ve), cl = Sp(ai);
|
|
687
|
+
function Sp(t) {
|
|
688
688
|
return t && t.__esModule ? t : { default: t };
|
|
689
689
|
}
|
|
690
|
-
const
|
|
691
|
-
var
|
|
692
|
-
oi.default =
|
|
690
|
+
const pl = (0, al.default)("v5", 80, cl.default);
|
|
691
|
+
var ul = pl;
|
|
692
|
+
oi.default = ul;
|
|
693
693
|
var ci = {};
|
|
694
694
|
Object.defineProperty(ci, "__esModule", {
|
|
695
695
|
value: !0
|
|
696
696
|
});
|
|
697
697
|
ci.default = void 0;
|
|
698
|
-
var
|
|
699
|
-
ci.default =
|
|
698
|
+
var dl = "00000000-0000-0000-0000-000000000000";
|
|
699
|
+
ci.default = dl;
|
|
700
700
|
var pi = {};
|
|
701
701
|
Object.defineProperty(pi, "__esModule", {
|
|
702
702
|
value: !0
|
|
703
703
|
});
|
|
704
704
|
pi.default = void 0;
|
|
705
|
-
var
|
|
706
|
-
function
|
|
705
|
+
var hl = ll(mt);
|
|
706
|
+
function ll(t) {
|
|
707
707
|
return t && t.__esModule ? t : { default: t };
|
|
708
708
|
}
|
|
709
|
-
function
|
|
710
|
-
if (!(0,
|
|
709
|
+
function vl(t) {
|
|
710
|
+
if (!(0, hl.default)(t))
|
|
711
711
|
throw TypeError("Invalid UUID");
|
|
712
712
|
return parseInt(t.slice(14, 15), 16);
|
|
713
713
|
}
|
|
714
|
-
var
|
|
715
|
-
pi.default =
|
|
714
|
+
var fl = vl;
|
|
715
|
+
pi.default = fl;
|
|
716
716
|
(function(t) {
|
|
717
717
|
Object.defineProperty(t, "__esModule", {
|
|
718
718
|
value: !0
|
|
@@ -766,13 +766,13 @@ pi.default = gl;
|
|
|
766
766
|
function u(d) {
|
|
767
767
|
return d && d.__esModule ? d : { default: d };
|
|
768
768
|
}
|
|
769
|
-
})(
|
|
769
|
+
})(dp);
|
|
770
770
|
Object.defineProperty(fe, "__esModule", { value: !0 });
|
|
771
771
|
fe.createNoDashGuid = fe.createGuid = void 0;
|
|
772
|
-
const
|
|
773
|
-
fe.createGuid =
|
|
774
|
-
const
|
|
775
|
-
fe.createNoDashGuid =
|
|
772
|
+
const gl = dp, Cp = () => (0, gl.v4)();
|
|
773
|
+
fe.createGuid = Cp;
|
|
774
|
+
const ml = () => Cp().replace(new RegExp("-", "g"), "").toUpperCase();
|
|
775
|
+
fe.createNoDashGuid = ml;
|
|
776
776
|
(function(t) {
|
|
777
777
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.PlatformEvent = t.EventType = void 0;
|
|
778
778
|
const e = fe;
|
|
@@ -813,25 +813,25 @@ class kt extends js.PlatformEvent {
|
|
|
813
813
|
}
|
|
814
814
|
}
|
|
815
815
|
F.AudioSourceEvent = kt;
|
|
816
|
-
class
|
|
816
|
+
class Sl extends kt {
|
|
817
817
|
constructor(e) {
|
|
818
818
|
super("AudioSourceInitializingEvent", e);
|
|
819
819
|
}
|
|
820
820
|
}
|
|
821
|
-
F.AudioSourceInitializingEvent =
|
|
822
|
-
class
|
|
821
|
+
F.AudioSourceInitializingEvent = Sl;
|
|
822
|
+
class Cl extends kt {
|
|
823
823
|
constructor(e) {
|
|
824
824
|
super("AudioSourceReadyEvent", e);
|
|
825
825
|
}
|
|
826
826
|
}
|
|
827
|
-
F.AudioSourceReadyEvent =
|
|
828
|
-
class
|
|
827
|
+
F.AudioSourceReadyEvent = Cl;
|
|
828
|
+
class yl extends kt {
|
|
829
829
|
constructor(e) {
|
|
830
830
|
super("AudioSourceOffEvent", e);
|
|
831
831
|
}
|
|
832
832
|
}
|
|
833
|
-
F.AudioSourceOffEvent =
|
|
834
|
-
class
|
|
833
|
+
F.AudioSourceOffEvent = yl;
|
|
834
|
+
class Rl extends kt {
|
|
835
835
|
constructor(e, r) {
|
|
836
836
|
super("AudioSourceErrorEvent", e, js.EventType.Error), this.privError = r;
|
|
837
837
|
}
|
|
@@ -839,7 +839,7 @@ class Pl extends kt {
|
|
|
839
839
|
return this.privError;
|
|
840
840
|
}
|
|
841
841
|
}
|
|
842
|
-
F.AudioSourceErrorEvent =
|
|
842
|
+
F.AudioSourceErrorEvent = Rl;
|
|
843
843
|
class bn extends kt {
|
|
844
844
|
constructor(e, r, i) {
|
|
845
845
|
super(e, r), this.privAudioNodeId = i;
|
|
@@ -849,25 +849,25 @@ class bn extends kt {
|
|
|
849
849
|
}
|
|
850
850
|
}
|
|
851
851
|
F.AudioStreamNodeEvent = bn;
|
|
852
|
-
class
|
|
852
|
+
class Pl extends bn {
|
|
853
853
|
constructor(e, r) {
|
|
854
854
|
super("AudioStreamNodeAttachingEvent", e, r);
|
|
855
855
|
}
|
|
856
856
|
}
|
|
857
|
-
F.AudioStreamNodeAttachingEvent =
|
|
858
|
-
class
|
|
857
|
+
F.AudioStreamNodeAttachingEvent = Pl;
|
|
858
|
+
class El extends bn {
|
|
859
859
|
constructor(e, r) {
|
|
860
860
|
super("AudioStreamNodeAttachedEvent", e, r);
|
|
861
861
|
}
|
|
862
862
|
}
|
|
863
|
-
F.AudioStreamNodeAttachedEvent =
|
|
864
|
-
class
|
|
863
|
+
F.AudioStreamNodeAttachedEvent = El;
|
|
864
|
+
class Il extends bn {
|
|
865
865
|
constructor(e, r) {
|
|
866
866
|
super("AudioStreamNodeDetachedEvent", e, r);
|
|
867
867
|
}
|
|
868
868
|
}
|
|
869
|
-
F.AudioStreamNodeDetachedEvent =
|
|
870
|
-
class
|
|
869
|
+
F.AudioStreamNodeDetachedEvent = Il;
|
|
870
|
+
class Tl extends bn {
|
|
871
871
|
constructor(e, r, i) {
|
|
872
872
|
super("AudioStreamNodeErrorEvent", e, r), this.privError = i;
|
|
873
873
|
}
|
|
@@ -875,12 +875,12 @@ class Al extends bn {
|
|
|
875
875
|
return this.privError;
|
|
876
876
|
}
|
|
877
877
|
}
|
|
878
|
-
F.AudioStreamNodeErrorEvent =
|
|
878
|
+
F.AudioStreamNodeErrorEvent = Tl;
|
|
879
879
|
var x = {};
|
|
880
880
|
Object.defineProperty(x, "__esModule", { value: !0 });
|
|
881
881
|
x.ConnectionRedirectEvent = x.ConnectionMessageSentEvent = x.ConnectionMessageReceivedEvent = x.ConnectionEstablishErrorEvent = x.ConnectionErrorEvent = x.ConnectionClosedEvent = x.ConnectionEstablishedEvent = x.ConnectionStartEvent = x.ConnectionEvent = x.ServiceEvent = void 0;
|
|
882
882
|
const He = Dt;
|
|
883
|
-
class
|
|
883
|
+
class Al extends He.PlatformEvent {
|
|
884
884
|
constructor(e, r, i = He.EventType.Info) {
|
|
885
885
|
super(e, i), this.privJsonResult = r;
|
|
886
886
|
}
|
|
@@ -888,7 +888,7 @@ class wl extends He.PlatformEvent {
|
|
|
888
888
|
return this.privJsonResult;
|
|
889
889
|
}
|
|
890
890
|
}
|
|
891
|
-
x.ServiceEvent =
|
|
891
|
+
x.ServiceEvent = Al;
|
|
892
892
|
class ke extends He.PlatformEvent {
|
|
893
893
|
constructor(e, r, i = He.EventType.Info) {
|
|
894
894
|
super(e, i), this.privConnectionId = r;
|
|
@@ -898,7 +898,7 @@ class ke extends He.PlatformEvent {
|
|
|
898
898
|
}
|
|
899
899
|
}
|
|
900
900
|
x.ConnectionEvent = ke;
|
|
901
|
-
class
|
|
901
|
+
class wl extends ke {
|
|
902
902
|
constructor(e, r, i) {
|
|
903
903
|
super("ConnectionStartEvent", e), this.privUri = r, this.privHeaders = i;
|
|
904
904
|
}
|
|
@@ -909,14 +909,14 @@ class _l extends ke {
|
|
|
909
909
|
return this.privHeaders;
|
|
910
910
|
}
|
|
911
911
|
}
|
|
912
|
-
x.ConnectionStartEvent =
|
|
913
|
-
class
|
|
912
|
+
x.ConnectionStartEvent = wl;
|
|
913
|
+
class _l extends ke {
|
|
914
914
|
constructor(e) {
|
|
915
915
|
super("ConnectionEstablishedEvent", e);
|
|
916
916
|
}
|
|
917
917
|
}
|
|
918
|
-
x.ConnectionEstablishedEvent =
|
|
919
|
-
class
|
|
918
|
+
x.ConnectionEstablishedEvent = _l;
|
|
919
|
+
class bl extends ke {
|
|
920
920
|
constructor(e, r, i) {
|
|
921
921
|
super("ConnectionClosedEvent", e, He.EventType.Debug), this.privReason = i, this.privStatusCode = r;
|
|
922
922
|
}
|
|
@@ -927,8 +927,8 @@ class Ml extends ke {
|
|
|
927
927
|
return this.privStatusCode;
|
|
928
928
|
}
|
|
929
929
|
}
|
|
930
|
-
x.ConnectionClosedEvent =
|
|
931
|
-
class
|
|
930
|
+
x.ConnectionClosedEvent = bl;
|
|
931
|
+
class Ml extends ke {
|
|
932
932
|
constructor(e, r, i) {
|
|
933
933
|
super("ConnectionErrorEvent", e, He.EventType.Debug), this.privMessage = r, this.privType = i;
|
|
934
934
|
}
|
|
@@ -939,8 +939,8 @@ class Ol extends ke {
|
|
|
939
939
|
return this.privType;
|
|
940
940
|
}
|
|
941
941
|
}
|
|
942
|
-
x.ConnectionErrorEvent =
|
|
943
|
-
class
|
|
942
|
+
x.ConnectionErrorEvent = Ml;
|
|
943
|
+
class Ol extends ke {
|
|
944
944
|
constructor(e, r, i) {
|
|
945
945
|
super("ConnectionEstablishErrorEvent", e, He.EventType.Error), this.privStatusCode = r, this.privReason = i;
|
|
946
946
|
}
|
|
@@ -951,8 +951,8 @@ class Dl extends ke {
|
|
|
951
951
|
return this.privStatusCode;
|
|
952
952
|
}
|
|
953
953
|
}
|
|
954
|
-
x.ConnectionEstablishErrorEvent =
|
|
955
|
-
class
|
|
954
|
+
x.ConnectionEstablishErrorEvent = Ol;
|
|
955
|
+
class Dl extends ke {
|
|
956
956
|
constructor(e, r, i) {
|
|
957
957
|
super("ConnectionMessageReceivedEvent", e), this.privNetworkReceivedTime = r, this.privMessage = i;
|
|
958
958
|
}
|
|
@@ -963,8 +963,8 @@ class kl extends ke {
|
|
|
963
963
|
return this.privMessage;
|
|
964
964
|
}
|
|
965
965
|
}
|
|
966
|
-
x.ConnectionMessageReceivedEvent =
|
|
967
|
-
class
|
|
966
|
+
x.ConnectionMessageReceivedEvent = Dl;
|
|
967
|
+
class kl extends ke {
|
|
968
968
|
constructor(e, r, i) {
|
|
969
969
|
super("ConnectionMessageSentEvent", e), this.privNetworkSentTime = r, this.privMessage = i;
|
|
970
970
|
}
|
|
@@ -975,8 +975,8 @@ class Nl extends ke {
|
|
|
975
975
|
return this.privMessage;
|
|
976
976
|
}
|
|
977
977
|
}
|
|
978
|
-
x.ConnectionMessageSentEvent =
|
|
979
|
-
class
|
|
978
|
+
x.ConnectionMessageSentEvent = kl;
|
|
979
|
+
class Nl extends ke {
|
|
980
980
|
constructor(e, r, i, p) {
|
|
981
981
|
super("ConnectionRedirectEvent", e, He.EventType.Info), this.privRedirectUrl = r, this.privOriginalUrl = i, this.privContext = p;
|
|
982
982
|
}
|
|
@@ -990,11 +990,11 @@ class zl extends ke {
|
|
|
990
990
|
return this.privContext;
|
|
991
991
|
}
|
|
992
992
|
}
|
|
993
|
-
x.ConnectionRedirectEvent =
|
|
993
|
+
x.ConnectionRedirectEvent = Nl;
|
|
994
994
|
var Vs = {}, J = {};
|
|
995
995
|
Object.defineProperty(J, "__esModule", { value: !0 });
|
|
996
996
|
J.ObjectDisposedError = J.InvalidOperationError = J.ArgumentNullError = void 0;
|
|
997
|
-
class
|
|
997
|
+
class zl extends Error {
|
|
998
998
|
/**
|
|
999
999
|
* Creates an instance of ArgumentNullError.
|
|
1000
1000
|
*
|
|
@@ -1006,8 +1006,8 @@ class jl extends Error {
|
|
|
1006
1006
|
super(e), this.name = "ArgumentNull", this.message = e;
|
|
1007
1007
|
}
|
|
1008
1008
|
}
|
|
1009
|
-
J.ArgumentNullError =
|
|
1010
|
-
class
|
|
1009
|
+
J.ArgumentNullError = zl;
|
|
1010
|
+
class jl extends Error {
|
|
1011
1011
|
/**
|
|
1012
1012
|
* Creates an instance of InvalidOperationError.
|
|
1013
1013
|
*
|
|
@@ -1019,8 +1019,8 @@ class Ll extends Error {
|
|
|
1019
1019
|
super(e), this.name = "InvalidOperation", this.message = e;
|
|
1020
1020
|
}
|
|
1021
1021
|
}
|
|
1022
|
-
J.InvalidOperationError =
|
|
1023
|
-
class
|
|
1022
|
+
J.InvalidOperationError = jl;
|
|
1023
|
+
class Ll extends Error {
|
|
1024
1024
|
/**
|
|
1025
1025
|
* Creates an instance of ObjectDisposedError.
|
|
1026
1026
|
*
|
|
@@ -1033,7 +1033,7 @@ class Bl extends Error {
|
|
|
1033
1033
|
super(r), this.name = e + "ObjectDisposed", this.message = r;
|
|
1034
1034
|
}
|
|
1035
1035
|
}
|
|
1036
|
-
J.ObjectDisposedError =
|
|
1036
|
+
J.ObjectDisposedError = Ll;
|
|
1037
1037
|
(function(t) {
|
|
1038
1038
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ConnectionMessage = t.MessageType = void 0;
|
|
1039
1039
|
const e = J, r = fe;
|
|
@@ -1083,7 +1083,7 @@ J.ObjectDisposedError = Bl;
|
|
|
1083
1083
|
var ui = {};
|
|
1084
1084
|
Object.defineProperty(ui, "__esModule", { value: !0 });
|
|
1085
1085
|
ui.ConnectionOpenResponse = void 0;
|
|
1086
|
-
class
|
|
1086
|
+
class Bl {
|
|
1087
1087
|
constructor(e, r) {
|
|
1088
1088
|
this.privStatusCode = e, this.privReason = r;
|
|
1089
1089
|
}
|
|
@@ -1094,11 +1094,11 @@ class ql {
|
|
|
1094
1094
|
return this.privReason;
|
|
1095
1095
|
}
|
|
1096
1096
|
}
|
|
1097
|
-
ui.ConnectionOpenResponse =
|
|
1097
|
+
ui.ConnectionOpenResponse = Bl;
|
|
1098
1098
|
var di = {};
|
|
1099
1099
|
Object.defineProperty(di, "__esModule", { value: !0 });
|
|
1100
1100
|
di.DeferralMap = void 0;
|
|
1101
|
-
class
|
|
1101
|
+
class ql {
|
|
1102
1102
|
constructor() {
|
|
1103
1103
|
this.privMap = {};
|
|
1104
1104
|
}
|
|
@@ -1118,18 +1118,18 @@ class Fl {
|
|
|
1118
1118
|
}
|
|
1119
1119
|
}
|
|
1120
1120
|
}
|
|
1121
|
-
di.DeferralMap =
|
|
1121
|
+
di.DeferralMap = ql;
|
|
1122
1122
|
var gt = {};
|
|
1123
1123
|
Object.defineProperty(gt, "__esModule", { value: !0 });
|
|
1124
1124
|
gt.SendingAgentContextMessageEvent = gt.DialogEvent = void 0;
|
|
1125
1125
|
const bo = Dt;
|
|
1126
|
-
class
|
|
1126
|
+
class yp extends bo.PlatformEvent {
|
|
1127
1127
|
constructor(e, r = bo.EventType.Info) {
|
|
1128
1128
|
super(e, r);
|
|
1129
1129
|
}
|
|
1130
1130
|
}
|
|
1131
|
-
gt.DialogEvent =
|
|
1132
|
-
class
|
|
1131
|
+
gt.DialogEvent = yp;
|
|
1132
|
+
class Fl extends yp {
|
|
1133
1133
|
constructor(e) {
|
|
1134
1134
|
super("SendingAgentContextMessageEvent"), this.privAgentConfig = e;
|
|
1135
1135
|
}
|
|
@@ -1137,18 +1137,18 @@ class xl extends Rp {
|
|
|
1137
1137
|
return this.privAgentConfig;
|
|
1138
1138
|
}
|
|
1139
1139
|
}
|
|
1140
|
-
gt.SendingAgentContextMessageEvent =
|
|
1140
|
+
gt.SendingAgentContextMessageEvent = Fl;
|
|
1141
1141
|
var hi = {}, Mn = {};
|
|
1142
1142
|
Object.defineProperty(Mn, "__esModule", { value: !0 });
|
|
1143
1143
|
Mn.EventSource = void 0;
|
|
1144
|
-
const
|
|
1145
|
-
class
|
|
1144
|
+
const xl = J, Ul = fe;
|
|
1145
|
+
class Wl {
|
|
1146
1146
|
constructor(e) {
|
|
1147
1147
|
this.privEventListeners = {}, this.privIsDisposed = !1, this.privConsoleListener = void 0, this.privMetadata = e;
|
|
1148
1148
|
}
|
|
1149
1149
|
onEvent(e) {
|
|
1150
1150
|
if (this.isDisposed())
|
|
1151
|
-
throw new
|
|
1151
|
+
throw new xl.ObjectDisposedError("EventSource");
|
|
1152
1152
|
if (this.metadata)
|
|
1153
1153
|
for (const r in this.metadata)
|
|
1154
1154
|
r && e.metadata && (e.metadata[r] || (e.metadata[r] = this.metadata[r]));
|
|
@@ -1156,7 +1156,7 @@ class Vl {
|
|
|
1156
1156
|
r && this.privEventListeners[r] && this.privEventListeners[r](e);
|
|
1157
1157
|
}
|
|
1158
1158
|
attach(e) {
|
|
1159
|
-
const r = (0,
|
|
1159
|
+
const r = (0, Ul.createNoDashGuid)();
|
|
1160
1160
|
return this.privEventListeners[r] = e, {
|
|
1161
1161
|
detach: () => (delete this.privEventListeners[r], Promise.resolve())
|
|
1162
1162
|
};
|
|
@@ -1177,14 +1177,14 @@ class Vl {
|
|
|
1177
1177
|
return this.privMetadata;
|
|
1178
1178
|
}
|
|
1179
1179
|
}
|
|
1180
|
-
Mn.EventSource =
|
|
1180
|
+
Mn.EventSource = Wl;
|
|
1181
1181
|
Object.defineProperty(hi, "__esModule", { value: !0 });
|
|
1182
1182
|
hi.Events = void 0;
|
|
1183
|
-
const
|
|
1183
|
+
const Vl = J, Hl = Mn;
|
|
1184
1184
|
class In {
|
|
1185
1185
|
static setEventSource(e) {
|
|
1186
1186
|
if (!e)
|
|
1187
|
-
throw new
|
|
1187
|
+
throw new Vl.ArgumentNullError("eventSource");
|
|
1188
1188
|
In.privInstance = e;
|
|
1189
1189
|
}
|
|
1190
1190
|
static get instance() {
|
|
@@ -1192,15 +1192,17 @@ class In {
|
|
|
1192
1192
|
}
|
|
1193
1193
|
}
|
|
1194
1194
|
hi.Events = In;
|
|
1195
|
-
In.privInstance = new
|
|
1195
|
+
In.privInstance = new Hl.EventSource();
|
|
1196
|
+
var Rp = {};
|
|
1197
|
+
Object.defineProperty(Rp, "__esModule", { value: !0 });
|
|
1196
1198
|
var Pp = {};
|
|
1197
|
-
Object.defineProperty(Pp, "__esModule", { value: !0 });
|
|
1198
|
-
var Ep = {};
|
|
1199
1199
|
(function(t) {
|
|
1200
1200
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ConnectionState = void 0, function(e) {
|
|
1201
1201
|
e[e.None = 0] = "None", e[e.Connected = 1] = "Connected", e[e.Connecting = 2] = "Connecting", e[e.Disconnected = 3] = "Disconnected";
|
|
1202
1202
|
}(t.ConnectionState || (t.ConnectionState = {}));
|
|
1203
|
-
})(
|
|
1203
|
+
})(Pp);
|
|
1204
|
+
var Ep = {};
|
|
1205
|
+
Object.defineProperty(Ep, "__esModule", { value: !0 });
|
|
1204
1206
|
var Ip = {};
|
|
1205
1207
|
Object.defineProperty(Ip, "__esModule", { value: !0 });
|
|
1206
1208
|
var Tp = {};
|
|
@@ -1215,12 +1217,10 @@ var bp = {};
|
|
|
1215
1217
|
Object.defineProperty(bp, "__esModule", { value: !0 });
|
|
1216
1218
|
var Mp = {};
|
|
1217
1219
|
Object.defineProperty(Mp, "__esModule", { value: !0 });
|
|
1218
|
-
var Op = {};
|
|
1219
|
-
Object.defineProperty(Op, "__esModule", { value: !0 });
|
|
1220
1220
|
var On = {};
|
|
1221
1221
|
Object.defineProperty(On, "__esModule", { value: !0 });
|
|
1222
1222
|
On.List = void 0;
|
|
1223
|
-
const
|
|
1223
|
+
const $l = J;
|
|
1224
1224
|
class Le {
|
|
1225
1225
|
constructor(e) {
|
|
1226
1226
|
if (this.privSubscriptionIdCounter = 0, this.privAddSubscriptions = {}, this.privRemoveSubscriptions = {}, this.privDisposedSubscriptions = {}, this.privDisposeReason = null, this.privList = [], e)
|
|
@@ -1342,7 +1342,7 @@ class Le {
|
|
|
1342
1342
|
}
|
|
1343
1343
|
throwIfDisposed() {
|
|
1344
1344
|
if (this.isDisposed())
|
|
1345
|
-
throw new
|
|
1345
|
+
throw new $l.ObjectDisposedError("List", this.privDisposeReason);
|
|
1346
1346
|
}
|
|
1347
1347
|
triggerSubscriptions(e) {
|
|
1348
1348
|
if (e)
|
|
@@ -1495,7 +1495,7 @@ var En;
|
|
|
1495
1495
|
(function(t) {
|
|
1496
1496
|
t[t.Dequeue = 0] = "Dequeue", t[t.Peek = 1] = "Peek";
|
|
1497
1497
|
})(En || (En = {}));
|
|
1498
|
-
class
|
|
1498
|
+
class Kl {
|
|
1499
1499
|
constructor(e) {
|
|
1500
1500
|
this.privPromiseStore = new Rs.List(), this.privIsDrainInProgress = !1, this.privIsDisposing = !1, this.privDisposeReason = null, this.privList = e || new Rs.List(), this.privDetachables = [], this.privSubscribers = new Rs.List(), this.privDetachables.push(this.privList.onAdded(() => this.drain()));
|
|
1501
1501
|
}
|
|
@@ -1577,12 +1577,12 @@ class Jl {
|
|
|
1577
1577
|
throw new ys.InvalidOperationError("Queue disposing");
|
|
1578
1578
|
}
|
|
1579
1579
|
}
|
|
1580
|
-
Dn.Queue =
|
|
1580
|
+
Dn.Queue = Kl;
|
|
1581
1581
|
var li = {};
|
|
1582
1582
|
Object.defineProperty(li, "__esModule", { value: !0 });
|
|
1583
1583
|
li.RawWebsocketMessage = void 0;
|
|
1584
|
-
const Un = Vs, Lt = J,
|
|
1585
|
-
class
|
|
1584
|
+
const Un = Vs, Lt = J, Jl = fe;
|
|
1585
|
+
class Gl {
|
|
1586
1586
|
constructor(e, r, i) {
|
|
1587
1587
|
if (this.privPayload = null, !r)
|
|
1588
1588
|
throw new Lt.ArgumentNullError("payload");
|
|
@@ -1590,7 +1590,7 @@ class Ql {
|
|
|
1590
1590
|
throw new Lt.InvalidOperationError("Payload must be ArrayBuffer");
|
|
1591
1591
|
if (e === Un.MessageType.Text && typeof r != "string")
|
|
1592
1592
|
throw new Lt.InvalidOperationError("Payload must be a string");
|
|
1593
|
-
this.privMessageType = e, this.privPayload = r, this.privId = i || (0,
|
|
1593
|
+
this.privMessageType = e, this.privPayload = r, this.privId = i || (0, Jl.createNoDashGuid)();
|
|
1594
1594
|
}
|
|
1595
1595
|
get messageType() {
|
|
1596
1596
|
return this.privMessageType;
|
|
@@ -1612,11 +1612,11 @@ class Ql {
|
|
|
1612
1612
|
return this.privId;
|
|
1613
1613
|
}
|
|
1614
1614
|
}
|
|
1615
|
-
li.RawWebsocketMessage =
|
|
1615
|
+
li.RawWebsocketMessage = Gl;
|
|
1616
1616
|
var vi = {};
|
|
1617
1617
|
Object.defineProperty(vi, "__esModule", { value: !0 });
|
|
1618
1618
|
vi.RiffPcmEncoder = void 0;
|
|
1619
|
-
class
|
|
1619
|
+
class Ql {
|
|
1620
1620
|
constructor(e, r) {
|
|
1621
1621
|
this.privActualSampleRate = e, this.privDesiredSampleRate = r;
|
|
1622
1622
|
}
|
|
@@ -1654,14 +1654,14 @@ class Xl {
|
|
|
1654
1654
|
return s;
|
|
1655
1655
|
}
|
|
1656
1656
|
}
|
|
1657
|
-
vi.RiffPcmEncoder =
|
|
1657
|
+
vi.RiffPcmEncoder = Ql;
|
|
1658
1658
|
var fi = {};
|
|
1659
1659
|
Object.defineProperty(fi, "__esModule", { value: !0 });
|
|
1660
1660
|
fi.Stream = void 0;
|
|
1661
|
-
const Oo = J,
|
|
1662
|
-
class
|
|
1661
|
+
const Oo = J, Xl = fe, Do = Dn;
|
|
1662
|
+
class Zl {
|
|
1663
1663
|
constructor(e) {
|
|
1664
|
-
this.privIsWriteEnded = !1, this.privIsReadEnded = !1, this.privId = e || (0,
|
|
1664
|
+
this.privIsWriteEnded = !1, this.privIsReadEnded = !1, this.privId = e || (0, Xl.createNoDashGuid)(), this.privReaderQueue = new Do.Queue();
|
|
1665
1665
|
}
|
|
1666
1666
|
get isClosed() {
|
|
1667
1667
|
return this.privIsWriteEnded;
|
|
@@ -1699,7 +1699,7 @@ class Yl {
|
|
|
1699
1699
|
throw new Oo.InvalidOperationError("Stream closed");
|
|
1700
1700
|
}
|
|
1701
1701
|
}
|
|
1702
|
-
fi.Stream =
|
|
1702
|
+
fi.Stream = Zl;
|
|
1703
1703
|
var gi = {};
|
|
1704
1704
|
(function(t) {
|
|
1705
1705
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.TranslationStatus = void 0, function(e) {
|
|
@@ -1707,7 +1707,7 @@ var gi = {};
|
|
|
1707
1707
|
}(t.TranslationStatus || (t.TranslationStatus = {}));
|
|
1708
1708
|
})(gi);
|
|
1709
1709
|
var Bt = {}, ko;
|
|
1710
|
-
function
|
|
1710
|
+
function Yl() {
|
|
1711
1711
|
if (ko)
|
|
1712
1712
|
return Bt;
|
|
1713
1713
|
ko = 1, Object.defineProperty(Bt, "__esModule", { value: !0 }), Bt.ChunkedArrayBufferStream = void 0;
|
|
@@ -1742,8 +1742,8 @@ function ev() {
|
|
|
1742
1742
|
};
|
|
1743
1743
|
return Bt.ChunkedArrayBufferStream = e, Bt;
|
|
1744
1744
|
}
|
|
1745
|
-
var
|
|
1746
|
-
Object.defineProperty(
|
|
1745
|
+
var Op = {};
|
|
1746
|
+
Object.defineProperty(Op, "__esModule", { value: !0 });
|
|
1747
1747
|
var mi = {};
|
|
1748
1748
|
Object.defineProperty(mi, "__esModule", { value: !0 });
|
|
1749
1749
|
mi.Timeout = void 0;
|
|
@@ -1819,104 +1819,104 @@ class Q extends G.PlatformEvent {
|
|
|
1819
1819
|
}
|
|
1820
1820
|
}
|
|
1821
1821
|
z.OCSPEvent = Q;
|
|
1822
|
-
class
|
|
1822
|
+
class ev extends Q {
|
|
1823
1823
|
constructor(e) {
|
|
1824
1824
|
super("OCSPMemoryCacheHitEvent", G.EventType.Debug, e);
|
|
1825
1825
|
}
|
|
1826
1826
|
}
|
|
1827
|
-
z.OCSPMemoryCacheHitEvent =
|
|
1828
|
-
class
|
|
1827
|
+
z.OCSPMemoryCacheHitEvent = ev;
|
|
1828
|
+
class tv extends Q {
|
|
1829
1829
|
constructor(e) {
|
|
1830
1830
|
super("OCSPCacheMissEvent", G.EventType.Debug, e);
|
|
1831
1831
|
}
|
|
1832
1832
|
}
|
|
1833
|
-
z.OCSPCacheMissEvent =
|
|
1834
|
-
class
|
|
1833
|
+
z.OCSPCacheMissEvent = tv;
|
|
1834
|
+
class rv extends Q {
|
|
1835
1835
|
constructor(e) {
|
|
1836
1836
|
super("OCSPDiskCacheHitEvent", G.EventType.Debug, e);
|
|
1837
1837
|
}
|
|
1838
1838
|
}
|
|
1839
|
-
z.OCSPDiskCacheHitEvent =
|
|
1840
|
-
class
|
|
1839
|
+
z.OCSPDiskCacheHitEvent = rv;
|
|
1840
|
+
class nv extends Q {
|
|
1841
1841
|
constructor(e) {
|
|
1842
1842
|
super("OCSPCacheUpdateNeededEvent", G.EventType.Debug, e);
|
|
1843
1843
|
}
|
|
1844
1844
|
}
|
|
1845
|
-
z.OCSPCacheUpdateNeededEvent =
|
|
1846
|
-
class
|
|
1845
|
+
z.OCSPCacheUpdateNeededEvent = nv;
|
|
1846
|
+
class iv extends Q {
|
|
1847
1847
|
constructor(e) {
|
|
1848
1848
|
super("OCSPMemoryCacheStoreEvent", G.EventType.Debug, e);
|
|
1849
1849
|
}
|
|
1850
1850
|
}
|
|
1851
|
-
z.OCSPMemoryCacheStoreEvent =
|
|
1852
|
-
class
|
|
1851
|
+
z.OCSPMemoryCacheStoreEvent = iv;
|
|
1852
|
+
class sv extends Q {
|
|
1853
1853
|
constructor(e) {
|
|
1854
1854
|
super("OCSPDiskCacheStoreEvent", G.EventType.Debug, e);
|
|
1855
1855
|
}
|
|
1856
1856
|
}
|
|
1857
|
-
z.OCSPDiskCacheStoreEvent =
|
|
1858
|
-
class
|
|
1857
|
+
z.OCSPDiskCacheStoreEvent = sv;
|
|
1858
|
+
class ov extends Q {
|
|
1859
1859
|
constructor(e) {
|
|
1860
1860
|
super("OCSPCacheUpdateCompleteEvent", G.EventType.Debug, e);
|
|
1861
1861
|
}
|
|
1862
1862
|
}
|
|
1863
|
-
z.OCSPCacheUpdateCompleteEvent =
|
|
1864
|
-
class
|
|
1863
|
+
z.OCSPCacheUpdateCompleteEvent = ov;
|
|
1864
|
+
class av extends Q {
|
|
1865
1865
|
constructor() {
|
|
1866
1866
|
super("OCSPStapleReceivedEvent", G.EventType.Debug, "");
|
|
1867
1867
|
}
|
|
1868
1868
|
}
|
|
1869
|
-
z.OCSPStapleReceivedEvent =
|
|
1870
|
-
class
|
|
1869
|
+
z.OCSPStapleReceivedEvent = av;
|
|
1870
|
+
class cv extends Q {
|
|
1871
1871
|
constructor(e) {
|
|
1872
1872
|
super("OCSPWSUpgradeStartedEvent", G.EventType.Debug, e);
|
|
1873
1873
|
}
|
|
1874
1874
|
}
|
|
1875
|
-
z.OCSPWSUpgradeStartedEvent =
|
|
1876
|
-
class
|
|
1875
|
+
z.OCSPWSUpgradeStartedEvent = cv;
|
|
1876
|
+
class pv extends Q {
|
|
1877
1877
|
constructor(e, r) {
|
|
1878
1878
|
super("OCSPCacheEntryExpiredEvent", G.EventType.Debug, e), this.privExpireTime = r;
|
|
1879
1879
|
}
|
|
1880
1880
|
}
|
|
1881
|
-
z.OCSPCacheEntryExpiredEvent =
|
|
1882
|
-
class
|
|
1881
|
+
z.OCSPCacheEntryExpiredEvent = pv;
|
|
1882
|
+
class uv extends Q {
|
|
1883
1883
|
constructor(e, r, i) {
|
|
1884
1884
|
super("OCSPCacheEntryNeedsRefreshEvent", G.EventType.Debug, e), this.privExpireTime = i, this.privStartTime = r;
|
|
1885
1885
|
}
|
|
1886
1886
|
}
|
|
1887
|
-
z.OCSPCacheEntryNeedsRefreshEvent =
|
|
1888
|
-
class
|
|
1887
|
+
z.OCSPCacheEntryNeedsRefreshEvent = uv;
|
|
1888
|
+
class dv extends Q {
|
|
1889
1889
|
constructor(e, r, i) {
|
|
1890
1890
|
super("OCSPCacheHitEvent", G.EventType.Debug, e), this.privExpireTime = i, this.privExpireTimeString = new Date(i).toLocaleDateString(), this.privStartTime = r, this.privStartTimeString = new Date(r).toLocaleTimeString();
|
|
1891
1891
|
}
|
|
1892
1892
|
}
|
|
1893
|
-
z.OCSPCacheHitEvent =
|
|
1894
|
-
class
|
|
1893
|
+
z.OCSPCacheHitEvent = dv;
|
|
1894
|
+
class hv extends Q {
|
|
1895
1895
|
constructor(e, r) {
|
|
1896
1896
|
super("OCSPVerificationFailedEvent", G.EventType.Debug, e), this.privError = r;
|
|
1897
1897
|
}
|
|
1898
1898
|
}
|
|
1899
|
-
z.OCSPVerificationFailedEvent =
|
|
1900
|
-
class
|
|
1899
|
+
z.OCSPVerificationFailedEvent = hv;
|
|
1900
|
+
class lv extends Q {
|
|
1901
1901
|
constructor(e, r) {
|
|
1902
1902
|
super("OCSPCacheFetchErrorEvent", G.EventType.Debug, e), this.privError = r;
|
|
1903
1903
|
}
|
|
1904
1904
|
}
|
|
1905
|
-
z.OCSPCacheFetchErrorEvent =
|
|
1906
|
-
class
|
|
1905
|
+
z.OCSPCacheFetchErrorEvent = lv;
|
|
1906
|
+
class vv extends Q {
|
|
1907
1907
|
constructor(e) {
|
|
1908
1908
|
super("OCSPResponseRetrievedEvent", G.EventType.Debug, e);
|
|
1909
1909
|
}
|
|
1910
1910
|
}
|
|
1911
|
-
z.OCSPResponseRetrievedEvent =
|
|
1912
|
-
class
|
|
1911
|
+
z.OCSPResponseRetrievedEvent = vv;
|
|
1912
|
+
class fv extends Q {
|
|
1913
1913
|
constructor(e, r) {
|
|
1914
1914
|
super("OCSPCacheUpdateErrorEvent", G.EventType.Debug, e), this.privError = r;
|
|
1915
1915
|
}
|
|
1916
1916
|
}
|
|
1917
|
-
z.OCSPCacheUpdateErrorEvent =
|
|
1917
|
+
z.OCSPCacheUpdateErrorEvent = fv;
|
|
1918
1918
|
var qt = {}, No;
|
|
1919
|
-
function
|
|
1919
|
+
function gv() {
|
|
1920
1920
|
if (No)
|
|
1921
1921
|
return qt;
|
|
1922
1922
|
No = 1, Object.defineProperty(qt, "__esModule", { value: !0 }), qt.BackgroundEvent = void 0;
|
|
@@ -1944,11 +1944,11 @@ function A() {
|
|
|
1944
1944
|
for (var s in p)
|
|
1945
1945
|
s !== "default" && !Object.prototype.hasOwnProperty.call(a, s) && e(a, p, s);
|
|
1946
1946
|
};
|
|
1947
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), t.TranslationStatus = void 0, r(F, t), r(x, t), r(Vs, t), r(ui, t), r(di, t), r(gt, t), r(J, t), r(hi, t), r(Mn, t), r(fe, t), r(Pp, t), r(Ep, t), r(Ip, t), r(Tp, t), r(Ap, t), r(wp, t), r(_p, t), r(bp, t), r(Mp, t), r(
|
|
1947
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), t.TranslationStatus = void 0, r(F, t), r(x, t), r(Vs, t), r(ui, t), r(di, t), r(gt, t), r(J, t), r(hi, t), r(Mn, t), r(fe, t), r(Rp, t), r(Pp, t), r(Ep, t), r(Ip, t), r(Tp, t), r(Ap, t), r(wp, t), r(_p, t), r(bp, t), r(Mp, t), r(On, t), r(Dt, t), r(Hs, t), r(Dn, t), r(li, t), r(vi, t), r(fi, t);
|
|
1948
1948
|
var i = gi;
|
|
1949
1949
|
Object.defineProperty(t, "TranslationStatus", { enumerable: !0, get: function() {
|
|
1950
1950
|
return i.TranslationStatus;
|
|
1951
|
-
} }), r(
|
|
1951
|
+
} }), r(Yl(), t), r(Op, t), r(mi, t), r(z, t), r(gv(), t);
|
|
1952
1952
|
}(fs)), fs;
|
|
1953
1953
|
}
|
|
1954
1954
|
var W = {};
|
|
@@ -1970,7 +1970,7 @@ me.RequestTimestamp = "X-Timestamp";
|
|
|
1970
1970
|
var Nt = {};
|
|
1971
1971
|
Object.defineProperty(Nt, "__esModule", { value: !0 });
|
|
1972
1972
|
Nt.AuthInfo = void 0;
|
|
1973
|
-
class
|
|
1973
|
+
class mv {
|
|
1974
1974
|
constructor(e, r) {
|
|
1975
1975
|
this.privHeaderName = e, this.privToken = r;
|
|
1976
1976
|
}
|
|
@@ -1981,11 +1981,11 @@ class Sv {
|
|
|
1981
1981
|
return this.privToken;
|
|
1982
1982
|
}
|
|
1983
1983
|
}
|
|
1984
|
-
Nt.AuthInfo =
|
|
1984
|
+
Nt.AuthInfo = mv;
|
|
1985
1985
|
Object.defineProperty(Xn, "__esModule", { value: !0 });
|
|
1986
1986
|
Xn.CognitiveSubscriptionKeyAuthentication = void 0;
|
|
1987
|
-
const
|
|
1988
|
-
class
|
|
1987
|
+
const Sv = A(), Cv = W, yv = Nt;
|
|
1988
|
+
class Rv {
|
|
1989
1989
|
/**
|
|
1990
1990
|
* Creates and initializes an instance of the CognitiveSubscriptionKeyAuthentication class.
|
|
1991
1991
|
* @constructor
|
|
@@ -1993,8 +1993,8 @@ class Pv {
|
|
|
1993
1993
|
*/
|
|
1994
1994
|
constructor(e) {
|
|
1995
1995
|
if (!e)
|
|
1996
|
-
throw new
|
|
1997
|
-
this.privAuthInfo = new
|
|
1996
|
+
throw new Sv.ArgumentNullError("subscriptionKey");
|
|
1997
|
+
this.privAuthInfo = new yv.AuthInfo(Cv.HeaderNames.AuthKey, e);
|
|
1998
1998
|
}
|
|
1999
1999
|
/**
|
|
2000
2000
|
* Fetches the subscription key.
|
|
@@ -2019,7 +2019,7 @@ class Pv {
|
|
|
2019
2019
|
return Promise.resolve(this.privAuthInfo);
|
|
2020
2020
|
}
|
|
2021
2021
|
}
|
|
2022
|
-
Xn.CognitiveSubscriptionKeyAuthentication =
|
|
2022
|
+
Xn.CognitiveSubscriptionKeyAuthentication = Rv;
|
|
2023
2023
|
var Si = {};
|
|
2024
2024
|
Object.defineProperty(Si, "__esModule", { value: !0 });
|
|
2025
2025
|
Si.CognitiveTokenAuthentication = void 0;
|
|
@@ -2041,15 +2041,15 @@ class Tn {
|
|
|
2041
2041
|
}
|
|
2042
2042
|
Si.CognitiveTokenAuthentication = Tn;
|
|
2043
2043
|
Tn.privTokenPrefix = "Bearer ";
|
|
2044
|
+
var Dp = {};
|
|
2045
|
+
Object.defineProperty(Dp, "__esModule", { value: !0 });
|
|
2044
2046
|
var kp = {};
|
|
2045
2047
|
Object.defineProperty(kp, "__esModule", { value: !0 });
|
|
2046
|
-
var Np = {};
|
|
2047
|
-
Object.defineProperty(Np, "__esModule", { value: !0 });
|
|
2048
2048
|
var Ft = {}, Ps = {}, Ci = {};
|
|
2049
|
-
const
|
|
2049
|
+
const Pv = {}, Ev = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2050
2050
|
__proto__: null,
|
|
2051
|
-
default:
|
|
2052
|
-
}, Symbol.toStringTag, { value: "Module" })), St = /* @__PURE__ */
|
|
2051
|
+
default: Pv
|
|
2052
|
+
}, Symbol.toStringTag, { value: "Module" })), St = /* @__PURE__ */ ih(Ev);
|
|
2053
2053
|
var $s = {};
|
|
2054
2054
|
(function(t) {
|
|
2055
2055
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.LogLevel = void 0;
|
|
@@ -2101,34 +2101,34 @@ class Be {
|
|
|
2101
2101
|
}
|
|
2102
2102
|
}
|
|
2103
2103
|
b.Contracts = Be;
|
|
2104
|
-
var
|
|
2104
|
+
var Iv = N && N.__createBinding || (Object.create ? function(t, e, r, i) {
|
|
2105
2105
|
i === void 0 && (i = r), Object.defineProperty(t, i, { enumerable: !0, get: function() {
|
|
2106
2106
|
return e[r];
|
|
2107
2107
|
} });
|
|
2108
2108
|
} : function(t, e, r, i) {
|
|
2109
2109
|
i === void 0 && (i = r), t[i] = e[r];
|
|
2110
|
-
}),
|
|
2110
|
+
}), Tv = N && N.__setModuleDefault || (Object.create ? function(t, e) {
|
|
2111
2111
|
Object.defineProperty(t, "default", { enumerable: !0, value: e });
|
|
2112
2112
|
} : function(t, e) {
|
|
2113
2113
|
t.default = e;
|
|
2114
|
-
}),
|
|
2114
|
+
}), Av = N && N.__importStar || function(t) {
|
|
2115
2115
|
if (t && t.__esModule)
|
|
2116
2116
|
return t;
|
|
2117
2117
|
var e = {};
|
|
2118
2118
|
if (t != null)
|
|
2119
2119
|
for (var r in t)
|
|
2120
|
-
r !== "default" && Object.prototype.hasOwnProperty.call(t, r) &&
|
|
2121
|
-
return
|
|
2120
|
+
r !== "default" && Object.prototype.hasOwnProperty.call(t, r) && Iv(e, t, r);
|
|
2121
|
+
return Tv(e, t), e;
|
|
2122
2122
|
};
|
|
2123
2123
|
Object.defineProperty(Ci, "__esModule", { value: !0 });
|
|
2124
2124
|
Ci.ConsoleLoggingListener = void 0;
|
|
2125
|
-
const qo =
|
|
2126
|
-
class
|
|
2125
|
+
const qo = Av(St), xt = $s, wv = b;
|
|
2126
|
+
class _v {
|
|
2127
2127
|
constructor(e = xt.LogLevel.None) {
|
|
2128
2128
|
this.privLogPath = void 0, this.privEnableConsoleOutput = !0, this.privLogLevelFilter = e;
|
|
2129
2129
|
}
|
|
2130
2130
|
set logPath(e) {
|
|
2131
|
-
|
|
2131
|
+
wv.Contracts.throwIfNullOrUndefined(qo.openSync, `
|
|
2132
2132
|
File System access not available`), this.privLogPath = e;
|
|
2133
2133
|
}
|
|
2134
2134
|
set enableConsoleOutput(e) {
|
|
@@ -2172,9 +2172,9 @@ File System access not available`), this.privLogPath = e;
|
|
|
2172
2172
|
return r.join(" | ");
|
|
2173
2173
|
}
|
|
2174
2174
|
}
|
|
2175
|
-
Ci.ConsoleLoggingListener =
|
|
2176
|
-
var
|
|
2177
|
-
Object.defineProperty(
|
|
2175
|
+
Ci.ConsoleLoggingListener = _v;
|
|
2176
|
+
var Np = {};
|
|
2177
|
+
Object.defineProperty(Np, "__esModule", { value: !0 });
|
|
2178
2178
|
var Es = {}, Ke = {};
|
|
2179
2179
|
(function(t) {
|
|
2180
2180
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.AudioStreamFormatImpl = t.AudioStreamFormat = t.AudioFormatTag = void 0;
|
|
@@ -2300,7 +2300,7 @@ var Es = {}, Ke = {};
|
|
|
2300
2300
|
t.AudioStreamFormatImpl = i;
|
|
2301
2301
|
})(Ke);
|
|
2302
2302
|
var Fo;
|
|
2303
|
-
function
|
|
2303
|
+
function bv() {
|
|
2304
2304
|
return Fo || (Fo = 1, function(t) {
|
|
2305
2305
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.MicAudioSource = t.AudioWorkletSourceURLPropertyName = void 0;
|
|
2306
2306
|
const e = T(), r = A(), i = Ke;
|
|
@@ -2441,7 +2441,7 @@ function Mv() {
|
|
|
2441
2441
|
}(Es)), Es;
|
|
2442
2442
|
}
|
|
2443
2443
|
var Ut = {}, xo;
|
|
2444
|
-
function
|
|
2444
|
+
function Mv() {
|
|
2445
2445
|
if (xo)
|
|
2446
2446
|
return Ut;
|
|
2447
2447
|
xo = 1, Object.defineProperty(Ut, "__esModule", { value: !0 }), Ut.FileAudioSource = void 0;
|
|
@@ -2571,13 +2571,13 @@ function Ov() {
|
|
|
2571
2571
|
var yi = {};
|
|
2572
2572
|
Object.defineProperty(yi, "__esModule", { value: !0 });
|
|
2573
2573
|
yi.PcmRecorder = void 0;
|
|
2574
|
-
const
|
|
2575
|
-
class
|
|
2574
|
+
const Ov = A();
|
|
2575
|
+
class Dv {
|
|
2576
2576
|
constructor(e) {
|
|
2577
2577
|
this.privStopInputOnRelease = e;
|
|
2578
2578
|
}
|
|
2579
2579
|
record(e, r, i) {
|
|
2580
|
-
const a = new
|
|
2580
|
+
const a = new Ov.RiffPcmEncoder(e.sampleRate, 16e3), s = e.createMediaStreamSource(r), n = () => {
|
|
2581
2581
|
const c = (() => {
|
|
2582
2582
|
let u = 0;
|
|
2583
2583
|
try {
|
|
@@ -2659,38 +2659,38 @@ class kv {
|
|
|
2659
2659
|
this.privSpeechProcessorScript = e;
|
|
2660
2660
|
}
|
|
2661
2661
|
}
|
|
2662
|
-
yi.PcmRecorder =
|
|
2663
|
-
var Ri = {}, kn = {},
|
|
2662
|
+
yi.PcmRecorder = Dv;
|
|
2663
|
+
var Ri = {}, kn = {}, kv = N && N.__createBinding || (Object.create ? function(t, e, r, i) {
|
|
2664
2664
|
i === void 0 && (i = r), Object.defineProperty(t, i, { enumerable: !0, get: function() {
|
|
2665
2665
|
return e[r];
|
|
2666
2666
|
} });
|
|
2667
2667
|
} : function(t, e, r, i) {
|
|
2668
2668
|
i === void 0 && (i = r), t[i] = e[r];
|
|
2669
|
-
}),
|
|
2669
|
+
}), Nv = N && N.__setModuleDefault || (Object.create ? function(t, e) {
|
|
2670
2670
|
Object.defineProperty(t, "default", { enumerable: !0, value: e });
|
|
2671
2671
|
} : function(t, e) {
|
|
2672
2672
|
t.default = e;
|
|
2673
|
-
}),
|
|
2673
|
+
}), zp = N && N.__importStar || function(t) {
|
|
2674
2674
|
if (t && t.__esModule)
|
|
2675
2675
|
return t;
|
|
2676
2676
|
var e = {};
|
|
2677
2677
|
if (t != null)
|
|
2678
2678
|
for (var r in t)
|
|
2679
|
-
r !== "default" && Object.prototype.hasOwnProperty.call(t, r) &&
|
|
2680
|
-
return
|
|
2679
|
+
r !== "default" && Object.prototype.hasOwnProperty.call(t, r) && kv(e, t, r);
|
|
2680
|
+
return Nv(e, t), e;
|
|
2681
2681
|
}, Ks = N && N.__importDefault || function(t) {
|
|
2682
2682
|
return t && t.__esModule ? t : { default: t };
|
|
2683
2683
|
};
|
|
2684
2684
|
Object.defineProperty(kn, "__esModule", { value: !0 });
|
|
2685
2685
|
kn.WebsocketMessageAdapter = void 0;
|
|
2686
|
-
const
|
|
2686
|
+
const zv = zp(St), jv = zp(St), Lv = Ks(St), Bv = Ks(St), qv = Ks(St), Fv = W, M = A();
|
|
2687
2687
|
class An {
|
|
2688
2688
|
constructor(e, r, i, p, a, s) {
|
|
2689
2689
|
if (!e)
|
|
2690
2690
|
throw new M.ArgumentNullError("uri");
|
|
2691
2691
|
if (!i)
|
|
2692
2692
|
throw new M.ArgumentNullError("messageFormatter");
|
|
2693
|
-
this.proxyInfo = p, this.privConnectionEvents = new M.EventSource(), this.privConnectionId = r, this.privMessageFormatter = i, this.privConnectionState = M.ConnectionState.None, this.privUri = e, this.privHeaders = a, this.privEnableCompression = s, this.privHeaders[
|
|
2693
|
+
this.proxyInfo = p, this.privConnectionEvents = new M.EventSource(), this.privConnectionId = r, this.privMessageFormatter = i, this.privConnectionState = M.ConnectionState.None, this.privUri = e, this.privHeaders = a, this.privEnableCompression = s, this.privHeaders[Fv.HeaderNames.ConnectionId] = this.privConnectionId, this.privHeaders.connectionId = this.privConnectionId, this.privLastErrorReceived = "";
|
|
2694
2694
|
}
|
|
2695
2695
|
get state() {
|
|
2696
2696
|
return this.privConnectionState;
|
|
@@ -2708,7 +2708,7 @@ class An {
|
|
|
2708
2708
|
let r = new URL(this.privUri).protocol;
|
|
2709
2709
|
(r == null ? void 0 : r.toLocaleLowerCase()) === "wss:" ? r = "https:" : (r == null ? void 0 : r.toLocaleLowerCase()) === "ws:" && (r = "http:");
|
|
2710
2710
|
const i = { headers: this.privHeaders, perMessageDeflate: this.privEnableCompression, followRedirects: r.toLocaleLowerCase() === "https:" };
|
|
2711
|
-
this.privCertificateValidatedDeferral.resolve(), i.agent = this.getAgent(), i.agent.protocol = r, this.privWebsocketClient = new
|
|
2711
|
+
this.privCertificateValidatedDeferral.resolve(), i.agent = this.getAgent(), i.agent.protocol = r, this.privWebsocketClient = new qv.default(this.privUri, i), this.privWebsocketClient.on("redirect", (p) => {
|
|
2712
2712
|
const a = new M.ConnectionRedirectEvent(this.privConnectionId, p, this.privUri, `Getting redirect URL from endpoint ${this.privUri} with redirect URL '${p}'`);
|
|
2713
2713
|
M.Events.instance.onEvent(a);
|
|
2714
2714
|
});
|
|
@@ -2817,7 +2817,7 @@ class An {
|
|
|
2817
2817
|
}
|
|
2818
2818
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
2819
2819
|
getAgent() {
|
|
2820
|
-
const e = new
|
|
2820
|
+
const e = new Lv.default.Agent(this.createConnection);
|
|
2821
2821
|
return this.proxyInfo !== void 0 && this.proxyInfo.HostName !== void 0 && this.proxyInfo.Port > 0 && (e.proxyInfo = this.proxyInfo), e;
|
|
2822
2822
|
}
|
|
2823
2823
|
static GetProxyAgent(e) {
|
|
@@ -2827,7 +2827,7 @@ class An {
|
|
|
2827
2827
|
};
|
|
2828
2828
|
return e.UserName ? r.headers = {
|
|
2829
2829
|
"Proxy-Authentication": "Basic " + new Buffer(`${e.UserName}:${e.Password === void 0 ? "" : e.Password}`).toString("base64")
|
|
2830
|
-
} : r.headers = {}, r.headers.requestOCSP = "true", new
|
|
2830
|
+
} : r.headers = {}, r.headers.requestOCSP = "true", new Bv.default(r);
|
|
2831
2831
|
}
|
|
2832
2832
|
createConnection(e, r) {
|
|
2833
2833
|
let i;
|
|
@@ -2843,7 +2843,7 @@ class An {
|
|
|
2843
2843
|
});
|
|
2844
2844
|
});
|
|
2845
2845
|
} else
|
|
2846
|
-
r.secureEndpoint ? i = Promise.resolve(
|
|
2846
|
+
r.secureEndpoint ? i = Promise.resolve(jv.connect(r)) : i = Promise.resolve(zv.connect(r));
|
|
2847
2847
|
return i;
|
|
2848
2848
|
}
|
|
2849
2849
|
get isWebsocketOpen() {
|
|
@@ -2854,8 +2854,8 @@ kn.WebsocketMessageAdapter = An;
|
|
|
2854
2854
|
An.forceNpmWebSocket = !1;
|
|
2855
2855
|
Object.defineProperty(Ri, "__esModule", { value: !0 });
|
|
2856
2856
|
Ri.WebsocketConnection = void 0;
|
|
2857
|
-
const Is = A(),
|
|
2858
|
-
class
|
|
2857
|
+
const Is = A(), xv = kn;
|
|
2858
|
+
class Uv {
|
|
2859
2859
|
constructor(e, r, i, p, a, s = !1, n) {
|
|
2860
2860
|
if (this.privIsDisposed = !1, !e)
|
|
2861
2861
|
throw new Is.ArgumentNullError("uri");
|
|
@@ -2881,7 +2881,7 @@ class Wv {
|
|
|
2881
2881
|
o += `${u}=${d}`, c++;
|
|
2882
2882
|
}
|
|
2883
2883
|
}
|
|
2884
|
-
this.privUri = e + o, this.privId = n || (0, Is.createNoDashGuid)(), this.privConnectionMessageAdapter = new
|
|
2884
|
+
this.privUri = e + o, this.privId = n || (0, Is.createNoDashGuid)(), this.privConnectionMessageAdapter = new xv.WebsocketMessageAdapter(this.privUri, this.id, this.privMessageFormatter, a, i, s);
|
|
2885
2885
|
}
|
|
2886
2886
|
async dispose() {
|
|
2887
2887
|
this.privIsDisposed = !0, this.privConnectionMessageAdapter && await this.privConnectionMessageAdapter.close();
|
|
@@ -2911,11 +2911,11 @@ class Wv {
|
|
|
2911
2911
|
return this.privConnectionMessageAdapter.events;
|
|
2912
2912
|
}
|
|
2913
2913
|
}
|
|
2914
|
-
Ri.WebsocketConnection =
|
|
2914
|
+
Ri.WebsocketConnection = Uv;
|
|
2915
2915
|
var Pi = {};
|
|
2916
2916
|
Object.defineProperty(Pi, "__esModule", { value: !0 });
|
|
2917
2917
|
Pi.ReplayableAudioNode = void 0;
|
|
2918
|
-
class
|
|
2918
|
+
class Wv {
|
|
2919
2919
|
constructor(e, r) {
|
|
2920
2920
|
this.privBuffers = [], this.privReplayOffset = 0, this.privLastShrinkOffset = 0, this.privBufferStartOffset = 0, this.privBufferSerial = 0, this.privBufferedBytes = 0, this.privReplay = !1, this.privLastChunkAcquiredTime = 0, this.privAudioNode = e, this.privBytesPerSecond = r;
|
|
2921
2921
|
}
|
|
@@ -2943,7 +2943,7 @@ class Vv {
|
|
|
2943
2943
|
});
|
|
2944
2944
|
}
|
|
2945
2945
|
}
|
|
2946
|
-
return this.privAudioNode.read().then((e) => (e && e.buffer && (this.privBuffers.push(new
|
|
2946
|
+
return this.privAudioNode.read().then((e) => (e && e.buffer && (this.privBuffers.push(new Vv(e, this.privBufferSerial++, this.privBufferedBytes)), this.privBufferedBytes += e.buffer.byteLength), e));
|
|
2947
2947
|
}
|
|
2948
2948
|
detach() {
|
|
2949
2949
|
return this.privBuffers = void 0, this.privAudioNode.detach();
|
|
@@ -2976,35 +2976,35 @@ class Vv {
|
|
|
2976
2976
|
return 0;
|
|
2977
2977
|
}
|
|
2978
2978
|
}
|
|
2979
|
-
Pi.ReplayableAudioNode =
|
|
2980
|
-
class
|
|
2979
|
+
Pi.ReplayableAudioNode = Wv;
|
|
2980
|
+
class Vv {
|
|
2981
2981
|
constructor(e, r, i) {
|
|
2982
2982
|
this.chunk = e, this.serial = r, this.byteOffset = i;
|
|
2983
2983
|
}
|
|
2984
2984
|
}
|
|
2985
|
-
var Wt = {}, Ts = {}, Ee = {}, Nn = {},
|
|
2985
|
+
var Wt = {}, Ts = {}, Ee = {}, Nn = {}, Hv = N && N.__createBinding || (Object.create ? function(t, e, r, i) {
|
|
2986
2986
|
i === void 0 && (i = r), Object.defineProperty(t, i, { enumerable: !0, get: function() {
|
|
2987
2987
|
return e[r];
|
|
2988
2988
|
} });
|
|
2989
2989
|
} : function(t, e, r, i) {
|
|
2990
2990
|
i === void 0 && (i = r), t[i] = e[r];
|
|
2991
|
-
}),
|
|
2991
|
+
}), $v = N && N.__setModuleDefault || (Object.create ? function(t, e) {
|
|
2992
2992
|
Object.defineProperty(t, "default", { enumerable: !0, value: e });
|
|
2993
2993
|
} : function(t, e) {
|
|
2994
2994
|
t.default = e;
|
|
2995
|
-
}),
|
|
2995
|
+
}), Kv = N && N.__importStar || function(t) {
|
|
2996
2996
|
if (t && t.__esModule)
|
|
2997
2997
|
return t;
|
|
2998
2998
|
var e = {};
|
|
2999
2999
|
if (t != null)
|
|
3000
3000
|
for (var r in t)
|
|
3001
|
-
r !== "default" && Object.prototype.hasOwnProperty.call(t, r) &&
|
|
3002
|
-
return
|
|
3001
|
+
r !== "default" && Object.prototype.hasOwnProperty.call(t, r) && Hv(e, t, r);
|
|
3002
|
+
return $v(e, t), e;
|
|
3003
3003
|
};
|
|
3004
3004
|
Object.defineProperty(Nn, "__esModule", { value: !0 });
|
|
3005
3005
|
Nn.AudioFileWriter = void 0;
|
|
3006
|
-
const Vt =
|
|
3007
|
-
class
|
|
3006
|
+
const Vt = Kv(St), As = b;
|
|
3007
|
+
class Jv {
|
|
3008
3008
|
constructor(e) {
|
|
3009
3009
|
As.Contracts.throwIfNullOrUndefined(Vt.openSync, `
|
|
3010
3010
|
File System access not available, please use Push or PullAudioOutputStream`), this.privFd = Vt.openSync(e, "w");
|
|
@@ -3026,9 +3026,9 @@ File System access not available, please use Push or PullAudioOutputStream`), th
|
|
|
3026
3026
|
return this.privId;
|
|
3027
3027
|
}
|
|
3028
3028
|
}
|
|
3029
|
-
Nn.AudioFileWriter =
|
|
3029
|
+
Nn.AudioFileWriter = Jv;
|
|
3030
3030
|
var ue = {}, Uo;
|
|
3031
|
-
function
|
|
3031
|
+
function jp() {
|
|
3032
3032
|
if (Uo)
|
|
3033
3033
|
return ue;
|
|
3034
3034
|
Uo = 1, Object.defineProperty(ue, "__esModule", { value: !0 }), ue.PullAudioInputStreamImpl = ue.PullAudioInputStream = ue.PushAudioInputStreamImpl = ue.PushAudioInputStream = ue.AudioInputStream = void 0;
|
|
@@ -3488,7 +3488,7 @@ _.SpeechSynthesisOutputFormatToString = {
|
|
|
3488
3488
|
};
|
|
3489
3489
|
Object.defineProperty(K, "__esModule", { value: !0 });
|
|
3490
3490
|
K.PushAudioOutputStreamImpl = K.PushAudioOutputStream = K.PullAudioOutputStreamImpl = K.PullAudioOutputStream = K.AudioOutputStream = void 0;
|
|
3491
|
-
const Ls = A(),
|
|
3491
|
+
const Ls = A(), Gv = b, Qv = Je;
|
|
3492
3492
|
class Gs {
|
|
3493
3493
|
/**
|
|
3494
3494
|
* Creates and initializes an instance.
|
|
@@ -3517,11 +3517,11 @@ class Qs extends Gs {
|
|
|
3517
3517
|
* @returns {PullAudioOutputStream} The push audio output stream being created.
|
|
3518
3518
|
*/
|
|
3519
3519
|
static create() {
|
|
3520
|
-
return new
|
|
3520
|
+
return new Lp();
|
|
3521
3521
|
}
|
|
3522
3522
|
}
|
|
3523
3523
|
K.PullAudioOutputStream = Qs;
|
|
3524
|
-
class
|
|
3524
|
+
class Lp extends Qs {
|
|
3525
3525
|
/**
|
|
3526
3526
|
* Creates and initializes an instance with the given values.
|
|
3527
3527
|
* @constructor
|
|
@@ -3534,7 +3534,7 @@ class Bp extends Qs {
|
|
|
3534
3534
|
* @param {AudioStreamFormat} format - the format to be set.
|
|
3535
3535
|
*/
|
|
3536
3536
|
set format(e) {
|
|
3537
|
-
e == null && (this.privFormat =
|
|
3537
|
+
e == null && (this.privFormat = Qv.AudioOutputFormatImpl.getDefaultOutputFormat()), this.privFormat = e;
|
|
3538
3538
|
}
|
|
3539
3539
|
/**
|
|
3540
3540
|
* Format information for the audio
|
|
@@ -3594,7 +3594,7 @@ class Bp extends Qs {
|
|
|
3594
3594
|
* @param {ArrayBuffer} dataBuffer - The audio buffer of which this function will make a copy.
|
|
3595
3595
|
*/
|
|
3596
3596
|
write(e) {
|
|
3597
|
-
|
|
3597
|
+
Gv.Contracts.throwIfNullOrUndefined(this.privStream, "must set format before writing"), this.privStream.writeStreamChunk({
|
|
3598
3598
|
buffer: e,
|
|
3599
3599
|
isEnd: !1,
|
|
3600
3600
|
timeReceived: Date.now()
|
|
@@ -3610,8 +3610,8 @@ class Bp extends Qs {
|
|
|
3610
3610
|
this.privStream.close();
|
|
3611
3611
|
}
|
|
3612
3612
|
}
|
|
3613
|
-
K.PullAudioOutputStreamImpl =
|
|
3614
|
-
class
|
|
3613
|
+
K.PullAudioOutputStreamImpl = Lp;
|
|
3614
|
+
class Bp extends Gs {
|
|
3615
3615
|
/**
|
|
3616
3616
|
* Creates and initializes and instance.
|
|
3617
3617
|
* @constructor
|
|
@@ -3630,11 +3630,11 @@ class qp extends Gs {
|
|
|
3630
3630
|
* @returns {PushAudioOutputStream} The push audio output stream being created.
|
|
3631
3631
|
*/
|
|
3632
3632
|
static create(e) {
|
|
3633
|
-
return new
|
|
3633
|
+
return new qp(e);
|
|
3634
3634
|
}
|
|
3635
3635
|
}
|
|
3636
|
-
K.PushAudioOutputStream =
|
|
3637
|
-
class
|
|
3636
|
+
K.PushAudioOutputStream = Bp;
|
|
3637
|
+
class qp extends Bp {
|
|
3638
3638
|
/**
|
|
3639
3639
|
* Creates a PushAudioOutputStream that delegates to the specified callback interface for
|
|
3640
3640
|
* read() and close() methods.
|
|
@@ -3658,14 +3658,14 @@ class Fp extends qp {
|
|
|
3658
3658
|
return this.privId;
|
|
3659
3659
|
}
|
|
3660
3660
|
}
|
|
3661
|
-
K.PushAudioOutputStreamImpl =
|
|
3661
|
+
K.PushAudioOutputStreamImpl = qp;
|
|
3662
3662
|
var Wo;
|
|
3663
|
-
function
|
|
3663
|
+
function xp() {
|
|
3664
3664
|
if (Wo)
|
|
3665
3665
|
return Ee;
|
|
3666
3666
|
Wo = 1, Object.defineProperty(Ee, "__esModule", { value: !0 }), Ee.AudioOutputConfigImpl = Ee.AudioConfigImpl = Ee.AudioConfig = void 0;
|
|
3667
|
-
const t = V(), e = b, r = R(), i = Nn, p =
|
|
3668
|
-
let s = class
|
|
3667
|
+
const t = V(), e = b, r = R(), i = Nn, p = jp(), a = K;
|
|
3668
|
+
let s = class Fp {
|
|
3669
3669
|
/**
|
|
3670
3670
|
* Creates an AudioConfig object representing the default microphone on the system.
|
|
3671
3671
|
* @member AudioConfig.fromDefaultMicrophoneInput
|
|
@@ -3744,7 +3744,7 @@ function Up() {
|
|
|
3744
3744
|
*/
|
|
3745
3745
|
static fromSpeakerOutput(u) {
|
|
3746
3746
|
if (u === void 0)
|
|
3747
|
-
return
|
|
3747
|
+
return Fp.fromDefaultSpeakerOutput();
|
|
3748
3748
|
if (u instanceof r.SpeakerAudioDestination)
|
|
3749
3749
|
return new o(u);
|
|
3750
3750
|
throw new Error("Not Supported Type");
|
|
@@ -3909,29 +3909,29 @@ function Up() {
|
|
|
3909
3909
|
}
|
|
3910
3910
|
return Ee.AudioOutputConfigImpl = o, Ee;
|
|
3911
3911
|
}
|
|
3912
|
-
var
|
|
3912
|
+
var Up = {};
|
|
3913
3913
|
(function(t) {
|
|
3914
3914
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.CancellationReason = void 0, function(e) {
|
|
3915
3915
|
e[e.Error = 0] = "Error", e[e.EndOfStream = 1] = "EndOfStream";
|
|
3916
3916
|
}(t.CancellationReason || (t.CancellationReason = {}));
|
|
3917
|
-
})(
|
|
3917
|
+
})(Up);
|
|
3918
3918
|
var Ei = {};
|
|
3919
3919
|
Object.defineProperty(Ei, "__esModule", { value: !0 });
|
|
3920
3920
|
Ei.PullAudioInputStreamCallback = void 0;
|
|
3921
|
-
class
|
|
3921
|
+
class Xv {
|
|
3922
3922
|
}
|
|
3923
|
-
Ei.PullAudioInputStreamCallback =
|
|
3923
|
+
Ei.PullAudioInputStreamCallback = Xv;
|
|
3924
3924
|
var Ii = {};
|
|
3925
3925
|
Object.defineProperty(Ii, "__esModule", { value: !0 });
|
|
3926
3926
|
Ii.PushAudioOutputStreamCallback = void 0;
|
|
3927
|
-
class
|
|
3927
|
+
class Zv {
|
|
3928
3928
|
}
|
|
3929
|
-
Ii.PushAudioOutputStreamCallback =
|
|
3929
|
+
Ii.PushAudioOutputStreamCallback = Zv;
|
|
3930
3930
|
var Ti = {};
|
|
3931
3931
|
Object.defineProperty(Ti, "__esModule", { value: !0 });
|
|
3932
3932
|
Ti.KeywordRecognitionModel = void 0;
|
|
3933
3933
|
const Vo = b;
|
|
3934
|
-
class
|
|
3934
|
+
class Yv {
|
|
3935
3935
|
/**
|
|
3936
3936
|
* Create and initializes a new instance.
|
|
3937
3937
|
* @constructor
|
|
@@ -3974,11 +3974,11 @@ class ef {
|
|
|
3974
3974
|
this.privDisposed || (this.privDisposed = !0);
|
|
3975
3975
|
}
|
|
3976
3976
|
}
|
|
3977
|
-
Ti.KeywordRecognitionModel =
|
|
3977
|
+
Ti.KeywordRecognitionModel = Yv;
|
|
3978
3978
|
var Ai = {};
|
|
3979
3979
|
Object.defineProperty(Ai, "__esModule", { value: !0 });
|
|
3980
3980
|
Ai.SessionEventArgs = void 0;
|
|
3981
|
-
class
|
|
3981
|
+
class ef {
|
|
3982
3982
|
/**
|
|
3983
3983
|
* Creates and initializes an instance of this class.
|
|
3984
3984
|
* @constructor
|
|
@@ -3998,9 +3998,9 @@ class tf {
|
|
|
3998
3998
|
return this.privSessionId;
|
|
3999
3999
|
}
|
|
4000
4000
|
}
|
|
4001
|
-
Ai.SessionEventArgs =
|
|
4001
|
+
Ai.SessionEventArgs = ef;
|
|
4002
4002
|
var Ht = {}, Ho;
|
|
4003
|
-
function
|
|
4003
|
+
function tf() {
|
|
4004
4004
|
if (Ho)
|
|
4005
4005
|
return Ht;
|
|
4006
4006
|
Ho = 1, Object.defineProperty(Ht, "__esModule", { value: !0 }), Ht.RecognitionEventArgs = void 0;
|
|
@@ -4027,14 +4027,14 @@ function rf() {
|
|
|
4027
4027
|
};
|
|
4028
4028
|
return Ht.RecognitionEventArgs = e, Ht;
|
|
4029
4029
|
}
|
|
4030
|
-
var
|
|
4030
|
+
var Wp = {};
|
|
4031
4031
|
(function(t) {
|
|
4032
4032
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.OutputFormat = void 0, function(e) {
|
|
4033
4033
|
e[e.Simple = 0] = "Simple", e[e.Detailed = 1] = "Detailed";
|
|
4034
4034
|
}(t.OutputFormat || (t.OutputFormat = {}));
|
|
4035
|
-
})(
|
|
4035
|
+
})(Wp);
|
|
4036
4036
|
var $t = {}, $o;
|
|
4037
|
-
function
|
|
4037
|
+
function rf() {
|
|
4038
4038
|
if ($o)
|
|
4039
4039
|
return $t;
|
|
4040
4040
|
$o = 1, Object.defineProperty($t, "__esModule", { value: !0 }), $t.IntentRecognitionEventArgs = void 0;
|
|
@@ -4066,7 +4066,7 @@ function nf() {
|
|
|
4066
4066
|
var wi = {};
|
|
4067
4067
|
Object.defineProperty(wi, "__esModule", { value: !0 });
|
|
4068
4068
|
wi.RecognitionResult = void 0;
|
|
4069
|
-
class
|
|
4069
|
+
class nf {
|
|
4070
4070
|
/**
|
|
4071
4071
|
* Creates and initializes an instance of this class.
|
|
4072
4072
|
* @constructor
|
|
@@ -4185,9 +4185,9 @@ class sf {
|
|
|
4185
4185
|
return this.privProperties;
|
|
4186
4186
|
}
|
|
4187
4187
|
}
|
|
4188
|
-
wi.RecognitionResult =
|
|
4188
|
+
wi.RecognitionResult = nf;
|
|
4189
4189
|
var Kt = {}, Ko;
|
|
4190
|
-
function
|
|
4190
|
+
function sf() {
|
|
4191
4191
|
if (Ko)
|
|
4192
4192
|
return Kt;
|
|
4193
4193
|
Ko = 1, Object.defineProperty(Kt, "__esModule", { value: !0 }), Kt.SpeechRecognitionResult = void 0;
|
|
@@ -4226,7 +4226,7 @@ function of() {
|
|
|
4226
4226
|
return Kt.SpeechRecognitionResult = e, Kt;
|
|
4227
4227
|
}
|
|
4228
4228
|
var Jt = {}, Jo;
|
|
4229
|
-
function
|
|
4229
|
+
function of() {
|
|
4230
4230
|
if (Jo)
|
|
4231
4231
|
return Jt;
|
|
4232
4232
|
Jo = 1, Object.defineProperty(Jt, "__esModule", { value: !0 }), Jt.IntentRecognitionResult = void 0;
|
|
@@ -4267,7 +4267,7 @@ var wt = {};
|
|
|
4267
4267
|
Object.defineProperty(wt, "__esModule", { value: !0 });
|
|
4268
4268
|
wt.LanguageUnderstandingModelImpl = wt.LanguageUnderstandingModel = void 0;
|
|
4269
4269
|
const Rt = b;
|
|
4270
|
-
class
|
|
4270
|
+
class Vp {
|
|
4271
4271
|
/**
|
|
4272
4272
|
* Creates and initializes a new instance
|
|
4273
4273
|
* @constructor
|
|
@@ -4328,12 +4328,12 @@ class Hp {
|
|
|
4328
4328
|
return p.appId = r, p.region = i, p.subscriptionKey = e, p;
|
|
4329
4329
|
}
|
|
4330
4330
|
}
|
|
4331
|
-
wt.LanguageUnderstandingModel =
|
|
4332
|
-
class Vn extends
|
|
4331
|
+
wt.LanguageUnderstandingModel = Vp;
|
|
4332
|
+
class Vn extends Vp {
|
|
4333
4333
|
}
|
|
4334
4334
|
wt.LanguageUnderstandingModelImpl = Vn;
|
|
4335
4335
|
var Ie = {}, Go;
|
|
4336
|
-
function
|
|
4336
|
+
function af() {
|
|
4337
4337
|
if (Go)
|
|
4338
4338
|
return Ie;
|
|
4339
4339
|
Go = 1, Object.defineProperty(Ie, "__esModule", { value: !0 }), Ie.MeetingTranscriptionEventArgs = Ie.ConversationTranscriptionEventArgs = Ie.SpeechRecognitionEventArgs = void 0;
|
|
@@ -4437,7 +4437,7 @@ function zn() {
|
|
|
4437
4437
|
return Qt.CancellationEventArgsBase = e, Qt;
|
|
4438
4438
|
}
|
|
4439
4439
|
var Xo;
|
|
4440
|
-
function
|
|
4440
|
+
function cf() {
|
|
4441
4441
|
if (Xo)
|
|
4442
4442
|
return Gt;
|
|
4443
4443
|
Xo = 1, Object.defineProperty(Gt, "__esModule", { value: !0 }), Gt.SpeechRecognitionCanceledEventArgs = void 0;
|
|
@@ -4447,7 +4447,7 @@ function pf() {
|
|
|
4447
4447
|
return Gt.SpeechRecognitionCanceledEventArgs = e, Gt;
|
|
4448
4448
|
}
|
|
4449
4449
|
var Xt = {}, Zo;
|
|
4450
|
-
function
|
|
4450
|
+
function pf() {
|
|
4451
4451
|
if (Zo)
|
|
4452
4452
|
return Xt;
|
|
4453
4453
|
Zo = 1, Object.defineProperty(Xt, "__esModule", { value: !0 }), Xt.TranslationRecognitionEventArgs = void 0;
|
|
@@ -4477,7 +4477,7 @@ function uf() {
|
|
|
4477
4477
|
return Xt.TranslationRecognitionEventArgs = e, Xt;
|
|
4478
4478
|
}
|
|
4479
4479
|
var Zt = {}, Yo;
|
|
4480
|
-
function
|
|
4480
|
+
function uf() {
|
|
4481
4481
|
if (Yo)
|
|
4482
4482
|
return Zt;
|
|
4483
4483
|
Yo = 1, Object.defineProperty(Zt, "__esModule", { value: !0 }), Zt.TranslationSynthesisEventArgs = void 0;
|
|
@@ -4506,12 +4506,12 @@ function df() {
|
|
|
4506
4506
|
return Zt.TranslationSynthesisEventArgs = e, Zt;
|
|
4507
4507
|
}
|
|
4508
4508
|
var Yt = {}, ea;
|
|
4509
|
-
function
|
|
4509
|
+
function $p() {
|
|
4510
4510
|
if (ea)
|
|
4511
4511
|
return Yt;
|
|
4512
4512
|
ea = 1, Object.defineProperty(Yt, "__esModule", { value: !0 }), Yt.TranslationRecognitionResult = void 0;
|
|
4513
4513
|
const t = R();
|
|
4514
|
-
let e = class
|
|
4514
|
+
let e = class Hp extends t.SpeechRecognitionResult {
|
|
4515
4515
|
/**
|
|
4516
4516
|
* Creates and initializes an instance of this class.
|
|
4517
4517
|
* @constructor
|
|
@@ -4531,7 +4531,7 @@ function Kp() {
|
|
|
4531
4531
|
super(p, a, s, n, o, c, u, void 0, d, h, l), this.privTranslations = i;
|
|
4532
4532
|
}
|
|
4533
4533
|
static fromSpeechRecognitionResult(i) {
|
|
4534
|
-
return new
|
|
4534
|
+
return new Hp(void 0, i.resultId, i.reason, i.text, i.duration, i.offset, i.language, i.languageDetectionConfidence, i.errorDetails, i.json, i.properties);
|
|
4535
4535
|
}
|
|
4536
4536
|
/**
|
|
4537
4537
|
* Presents the translation results. Each item in the dictionary represents
|
|
@@ -4552,7 +4552,7 @@ function Kp() {
|
|
|
4552
4552
|
var _i = {};
|
|
4553
4553
|
Object.defineProperty(_i, "__esModule", { value: !0 });
|
|
4554
4554
|
_i.TranslationSynthesisResult = void 0;
|
|
4555
|
-
class
|
|
4555
|
+
class df {
|
|
4556
4556
|
/**
|
|
4557
4557
|
* Creates and initializes an instance of this class.
|
|
4558
4558
|
* @constructor
|
|
@@ -4583,15 +4583,15 @@ class hf {
|
|
|
4583
4583
|
return this.privReason;
|
|
4584
4584
|
}
|
|
4585
4585
|
}
|
|
4586
|
-
_i.TranslationSynthesisResult =
|
|
4587
|
-
var
|
|
4586
|
+
_i.TranslationSynthesisResult = df;
|
|
4587
|
+
var Kp = {};
|
|
4588
4588
|
(function(t) {
|
|
4589
4589
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ResultReason = void 0, function(e) {
|
|
4590
4590
|
e[e.NoMatch = 0] = "NoMatch", e[e.Canceled = 1] = "Canceled", e[e.RecognizingSpeech = 2] = "RecognizingSpeech", e[e.RecognizedSpeech = 3] = "RecognizedSpeech", e[e.RecognizedKeyword = 4] = "RecognizedKeyword", e[e.RecognizingIntent = 5] = "RecognizingIntent", e[e.RecognizedIntent = 6] = "RecognizedIntent", e[e.TranslatingSpeech = 7] = "TranslatingSpeech", e[e.TranslatedSpeech = 8] = "TranslatedSpeech", e[e.SynthesizingAudio = 9] = "SynthesizingAudio", e[e.SynthesizingAudioCompleted = 10] = "SynthesizingAudioCompleted", e[e.SynthesizingAudioStarted = 11] = "SynthesizingAudioStarted", e[e.EnrollingVoiceProfile = 12] = "EnrollingVoiceProfile", e[e.EnrolledVoiceProfile = 13] = "EnrolledVoiceProfile", e[e.RecognizedSpeakers = 14] = "RecognizedSpeakers", e[e.RecognizedSpeaker = 15] = "RecognizedSpeaker", e[e.ResetVoiceProfile = 16] = "ResetVoiceProfile", e[e.DeletedVoiceProfile = 17] = "DeletedVoiceProfile", e[e.VoicesListRetrieved = 18] = "VoicesListRetrieved", e[e.TranslatingParticipantSpeech = 19] = "TranslatingParticipantSpeech", e[e.TranslatedParticipantSpeech = 20] = "TranslatedParticipantSpeech", e[e.TranslatedInstantMessage = 21] = "TranslatedInstantMessage", e[e.TranslatedParticipantInstantMessage = 22] = "TranslatedParticipantInstantMessage";
|
|
4591
4591
|
}(t.ResultReason || (t.ResultReason = {}));
|
|
4592
|
-
})(
|
|
4592
|
+
})(Kp);
|
|
4593
4593
|
var Ge = {}, ta;
|
|
4594
|
-
function
|
|
4594
|
+
function hf() {
|
|
4595
4595
|
if (ta)
|
|
4596
4596
|
return Ge;
|
|
4597
4597
|
ta = 1, Object.defineProperty(Ge, "__esModule", { value: !0 }), Ge.SpeechConfigImpl = Ge.SpeechConfig = void 0;
|
|
@@ -4782,7 +4782,7 @@ function lf() {
|
|
|
4782
4782
|
return Ge.SpeechConfigImpl = p, Ge;
|
|
4783
4783
|
}
|
|
4784
4784
|
var Qe = {}, ra;
|
|
4785
|
-
function
|
|
4785
|
+
function lf() {
|
|
4786
4786
|
if (ra)
|
|
4787
4787
|
return Qe;
|
|
4788
4788
|
ra = 1, Object.defineProperty(Qe, "__esModule", { value: !0 }), Qe.SpeechTranslationConfigImpl = Qe.SpeechTranslationConfig = void 0;
|
|
@@ -5080,12 +5080,12 @@ function vf() {
|
|
|
5080
5080
|
return Qe.SpeechTranslationConfigImpl = p, Qe;
|
|
5081
5081
|
}
|
|
5082
5082
|
var er = {}, na;
|
|
5083
|
-
function
|
|
5083
|
+
function Gp() {
|
|
5084
5084
|
if (na)
|
|
5085
5085
|
return er;
|
|
5086
5086
|
na = 1, Object.defineProperty(er, "__esModule", { value: !0 }), er.PropertyCollection = void 0;
|
|
5087
5087
|
const t = R();
|
|
5088
|
-
let e = class
|
|
5088
|
+
let e = class Jp {
|
|
5089
5089
|
constructor() {
|
|
5090
5090
|
this.privKeys = [], this.privValues = [];
|
|
5091
5091
|
}
|
|
@@ -5136,7 +5136,7 @@ function Qp() {
|
|
|
5136
5136
|
* @returns {PropertyCollection} A copy of the collection.
|
|
5137
5137
|
*/
|
|
5138
5138
|
clone() {
|
|
5139
|
-
const i = new
|
|
5139
|
+
const i = new Jp();
|
|
5140
5140
|
for (let p = 0; p < this.privKeys.length; p++)
|
|
5141
5141
|
i.privKeys.push(this.privKeys[p]), i.privValues.push(this.privValues[p]);
|
|
5142
5142
|
return i;
|
|
@@ -5176,12 +5176,12 @@ var bi = {};
|
|
|
5176
5176
|
}(t.PropertyId || (t.PropertyId = {}));
|
|
5177
5177
|
})(bi);
|
|
5178
5178
|
var tr = {}, ia;
|
|
5179
|
-
function
|
|
5179
|
+
function vf() {
|
|
5180
5180
|
if (ia)
|
|
5181
5181
|
return tr;
|
|
5182
5182
|
ia = 1, Object.defineProperty(tr, "__esModule", { value: !0 }), tr.Recognizer = void 0;
|
|
5183
5183
|
const t = T(), e = A(), r = b, i = R();
|
|
5184
|
-
let p = class
|
|
5184
|
+
let p = class Qp {
|
|
5185
5185
|
/**
|
|
5186
5186
|
* Creates and initializes an instance of a Recognizer
|
|
5187
5187
|
* @constructor
|
|
@@ -5250,7 +5250,7 @@ function ff() {
|
|
|
5250
5250
|
let s = typeof window < "u" ? "Browser" : "Node", n = "unknown", o = "unknown";
|
|
5251
5251
|
typeof navigator < "u" && (s = s + "/" + navigator.platform, n = navigator.userAgent, o = navigator.appVersion);
|
|
5252
5252
|
const c = this.createRecognizerConfig(new t.SpeechServiceConfig(new t.Context(new t.OS(s, n, o))));
|
|
5253
|
-
this.privReco = this.createServiceRecognizer(
|
|
5253
|
+
this.privReco = this.createServiceRecognizer(Qp.getAuth(this.privProperties, this.tokenCredential), this.privConnectionFactory, this.audioConfig, c);
|
|
5254
5254
|
}
|
|
5255
5255
|
async recognizeOnceAsyncImpl(s) {
|
|
5256
5256
|
r.Contracts.throwIfDisposed(this.privDisposed);
|
|
@@ -5302,12 +5302,12 @@ var rr = {}, he = {};
|
|
|
5302
5302
|
}(t.RecognitionMode || (t.RecognitionMode = {}));
|
|
5303
5303
|
})(he);
|
|
5304
5304
|
var sa;
|
|
5305
|
-
function
|
|
5305
|
+
function ff() {
|
|
5306
5306
|
if (sa)
|
|
5307
5307
|
return rr;
|
|
5308
5308
|
sa = 1, Object.defineProperty(rr, "__esModule", { value: !0 }), rr.SpeechRecognizer = void 0;
|
|
5309
5309
|
const t = T(), e = he, r = A(), i = b, p = R();
|
|
5310
|
-
let a = class
|
|
5310
|
+
let a = class Xp extends p.Recognizer {
|
|
5311
5311
|
/**
|
|
5312
5312
|
* SpeechRecognizer constructor.
|
|
5313
5313
|
* @constructor
|
|
@@ -5327,7 +5327,7 @@ function gf() {
|
|
|
5327
5327
|
*/
|
|
5328
5328
|
static FromConfig(n, o, c) {
|
|
5329
5329
|
const u = n;
|
|
5330
|
-
return o.properties.mergeTo(u.properties), new
|
|
5330
|
+
return o.properties.mergeTo(u.properties), new Xp(n, c);
|
|
5331
5331
|
}
|
|
5332
5332
|
/**
|
|
5333
5333
|
* Gets the endpoint id of a customized speech model that is used for speech recognition.
|
|
@@ -5487,7 +5487,7 @@ function gf() {
|
|
|
5487
5487
|
return rr.SpeechRecognizer = a, rr;
|
|
5488
5488
|
}
|
|
5489
5489
|
var nr = {}, oa;
|
|
5490
|
-
function
|
|
5490
|
+
function gf() {
|
|
5491
5491
|
if (oa)
|
|
5492
5492
|
return nr;
|
|
5493
5493
|
oa = 1, Object.defineProperty(nr, "__esModule", { value: !0 }), nr.IntentRecognizer = void 0;
|
|
@@ -5719,18 +5719,18 @@ function mf() {
|
|
|
5719
5719
|
};
|
|
5720
5720
|
return nr.IntentRecognizer = a, nr;
|
|
5721
5721
|
}
|
|
5722
|
-
var
|
|
5722
|
+
var Zp = {};
|
|
5723
5723
|
(function(t) {
|
|
5724
5724
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.VoiceProfileType = void 0, function(e) {
|
|
5725
5725
|
e[e.TextIndependentIdentification = 0] = "TextIndependentIdentification", e[e.TextDependentVerification = 1] = "TextDependentVerification", e[e.TextIndependentVerification = 2] = "TextIndependentVerification";
|
|
5726
5726
|
}(t.VoiceProfileType || (t.VoiceProfileType = {}));
|
|
5727
|
-
})(
|
|
5727
|
+
})(Zp);
|
|
5728
5728
|
var ir = {}, sr = {}, Xe = {}, aa;
|
|
5729
|
-
function
|
|
5729
|
+
function Yp() {
|
|
5730
5730
|
if (aa)
|
|
5731
5731
|
return Xe;
|
|
5732
5732
|
aa = 1, Object.defineProperty(Xe, "__esModule", { value: !0 }), Xe.ConnectionMessageImpl = Xe.ConnectionMessage = void 0;
|
|
5733
|
-
const t = W, e = A(), r =
|
|
5733
|
+
const t = W, e = A(), r = Gp(), i = bi;
|
|
5734
5734
|
let p = class {
|
|
5735
5735
|
};
|
|
5736
5736
|
Xe.ConnectionMessage = p;
|
|
@@ -5791,11 +5791,11 @@ function eu() {
|
|
|
5791
5791
|
return Xe.ConnectionMessageImpl = a, Xe;
|
|
5792
5792
|
}
|
|
5793
5793
|
var ca;
|
|
5794
|
-
function
|
|
5794
|
+
function eu() {
|
|
5795
5795
|
if (ca)
|
|
5796
5796
|
return sr;
|
|
5797
5797
|
ca = 1, Object.defineProperty(sr, "__esModule", { value: !0 }), sr.Connection = void 0;
|
|
5798
|
-
const t = T(), e = A(), r =
|
|
5798
|
+
const t = T(), e = A(), r = Yp(), i = b, p = R();
|
|
5799
5799
|
let a = class Bs {
|
|
5800
5800
|
/**
|
|
5801
5801
|
* Gets the Connection instance from the specified recognizer.
|
|
@@ -5885,12 +5885,12 @@ function tu() {
|
|
|
5885
5885
|
return sr.Connection = a, sr;
|
|
5886
5886
|
}
|
|
5887
5887
|
var pa;
|
|
5888
|
-
function
|
|
5888
|
+
function mf() {
|
|
5889
5889
|
if (pa)
|
|
5890
5890
|
return ir;
|
|
5891
5891
|
pa = 1, Object.defineProperty(ir, "__esModule", { value: !0 }), ir.TranslationRecognizer = void 0;
|
|
5892
|
-
const t = T(), e = he, r = A(), i =
|
|
5893
|
-
let s = class
|
|
5892
|
+
const t = T(), e = he, r = A(), i = eu(), p = b, a = R();
|
|
5893
|
+
let s = class tu extends a.Recognizer {
|
|
5894
5894
|
/**
|
|
5895
5895
|
* Initializes an instance of the TranslationRecognizer.
|
|
5896
5896
|
* @constructor
|
|
@@ -5911,7 +5911,7 @@ function Sf() {
|
|
|
5911
5911
|
*/
|
|
5912
5912
|
static FromConfig(o, c, u) {
|
|
5913
5913
|
const d = o;
|
|
5914
|
-
return c.properties.mergeTo(d.properties), c.properties.getProperty(a.PropertyId.SpeechServiceConnection_AutoDetectSourceLanguages, void 0) === t.AutoDetectSourceLanguagesOpenRangeOptionName && d.properties.setProperty(a.PropertyId.SpeechServiceConnection_RecoLanguage, "en-US"), new
|
|
5914
|
+
return c.properties.mergeTo(d.properties), c.properties.getProperty(a.PropertyId.SpeechServiceConnection_AutoDetectSourceLanguages, void 0) === t.AutoDetectSourceLanguagesOpenRangeOptionName && d.properties.setProperty(a.PropertyId.SpeechServiceConnection_RecoLanguage, "en-US"), new tu(o, u);
|
|
5915
5915
|
}
|
|
5916
5916
|
/**
|
|
5917
5917
|
* Gets the language name that was set when the recognizer was created.
|
|
@@ -6079,7 +6079,7 @@ function Sf() {
|
|
|
6079
6079
|
return ir.TranslationRecognizer = s, ir;
|
|
6080
6080
|
}
|
|
6081
6081
|
var or = {}, ua;
|
|
6082
|
-
function
|
|
6082
|
+
function Sf() {
|
|
6083
6083
|
if (ua)
|
|
6084
6084
|
return or;
|
|
6085
6085
|
ua = 1, Object.defineProperty(or, "__esModule", { value: !0 }), or.Translations = void 0;
|
|
@@ -6126,19 +6126,19 @@ function Cf() {
|
|
|
6126
6126
|
};
|
|
6127
6127
|
return or.Translations = e, or;
|
|
6128
6128
|
}
|
|
6129
|
-
var
|
|
6129
|
+
var ru = {};
|
|
6130
6130
|
(function(t) {
|
|
6131
6131
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.NoMatchReason = void 0, function(e) {
|
|
6132
6132
|
e[e.NotRecognized = 0] = "NotRecognized", e[e.InitialSilenceTimeout = 1] = "InitialSilenceTimeout", e[e.InitialBabbleTimeout = 2] = "InitialBabbleTimeout";
|
|
6133
6133
|
}(t.NoMatchReason || (t.NoMatchReason = {}));
|
|
6134
|
-
})(
|
|
6134
|
+
})(ru);
|
|
6135
6135
|
var ar = {}, da;
|
|
6136
|
-
function
|
|
6136
|
+
function Cf() {
|
|
6137
6137
|
if (da)
|
|
6138
6138
|
return ar;
|
|
6139
6139
|
da = 1, Object.defineProperty(ar, "__esModule", { value: !0 }), ar.NoMatchDetails = void 0;
|
|
6140
6140
|
const t = T(), e = R();
|
|
6141
|
-
let r = class
|
|
6141
|
+
let r = class nu {
|
|
6142
6142
|
/**
|
|
6143
6143
|
* Creates and initializes an instance of this class.
|
|
6144
6144
|
* @constructor
|
|
@@ -6170,7 +6170,7 @@ function yf() {
|
|
|
6170
6170
|
s = e.NoMatchReason.NotRecognized;
|
|
6171
6171
|
break;
|
|
6172
6172
|
}
|
|
6173
|
-
return new
|
|
6173
|
+
return new nu(s);
|
|
6174
6174
|
}
|
|
6175
6175
|
/**
|
|
6176
6176
|
* The reason the recognition was canceled.
|
|
@@ -6188,7 +6188,7 @@ function yf() {
|
|
|
6188
6188
|
var Mi = {};
|
|
6189
6189
|
Object.defineProperty(Mi, "__esModule", { value: !0 });
|
|
6190
6190
|
Mi.TranslationRecognitionCanceledEventArgs = void 0;
|
|
6191
|
-
class
|
|
6191
|
+
class yf {
|
|
6192
6192
|
/**
|
|
6193
6193
|
* Creates and initializes an instance of this class.
|
|
6194
6194
|
* @constructor
|
|
@@ -6249,9 +6249,9 @@ class Rf {
|
|
|
6249
6249
|
return this.privErrorDetails;
|
|
6250
6250
|
}
|
|
6251
6251
|
}
|
|
6252
|
-
Mi.TranslationRecognitionCanceledEventArgs =
|
|
6252
|
+
Mi.TranslationRecognitionCanceledEventArgs = yf;
|
|
6253
6253
|
var cr = {}, ha;
|
|
6254
|
-
function
|
|
6254
|
+
function Rf() {
|
|
6255
6255
|
if (ha)
|
|
6256
6256
|
return cr;
|
|
6257
6257
|
ha = 1, Object.defineProperty(cr, "__esModule", { value: !0 }), cr.IntentRecognitionCanceledEventArgs = void 0;
|
|
@@ -6301,7 +6301,7 @@ function Pf() {
|
|
|
6301
6301
|
var jn = {};
|
|
6302
6302
|
Object.defineProperty(jn, "__esModule", { value: !0 });
|
|
6303
6303
|
jn.CancellationDetailsBase = void 0;
|
|
6304
|
-
class
|
|
6304
|
+
class Pf {
|
|
6305
6305
|
/**
|
|
6306
6306
|
* Creates and initializes an instance of this class.
|
|
6307
6307
|
* @constructor
|
|
@@ -6340,14 +6340,14 @@ class Ef {
|
|
|
6340
6340
|
return this.privErrorCode;
|
|
6341
6341
|
}
|
|
6342
6342
|
}
|
|
6343
|
-
jn.CancellationDetailsBase =
|
|
6343
|
+
jn.CancellationDetailsBase = Pf;
|
|
6344
6344
|
var pr = {}, la;
|
|
6345
|
-
function
|
|
6345
|
+
function Ef() {
|
|
6346
6346
|
if (la)
|
|
6347
6347
|
return pr;
|
|
6348
6348
|
la = 1, Object.defineProperty(pr, "__esModule", { value: !0 }), pr.CancellationDetails = void 0;
|
|
6349
6349
|
const t = T(), e = jn, r = R();
|
|
6350
|
-
let i = class
|
|
6350
|
+
let i = class iu extends e.CancellationDetailsBase {
|
|
6351
6351
|
constructor(a, s, n) {
|
|
6352
6352
|
super(a, s, n);
|
|
6353
6353
|
}
|
|
@@ -6365,19 +6365,19 @@ function If() {
|
|
|
6365
6365
|
const o = t.SimpleSpeechPhrase.fromJSON(a.json, 0);
|
|
6366
6366
|
s = t.EnumTranslation.implTranslateCancelResult(o.RecognitionStatus);
|
|
6367
6367
|
}
|
|
6368
|
-
return a.properties && (n = r.CancellationErrorCode[a.properties.getProperty(t.CancellationErrorCodePropertyName, r.CancellationErrorCode[r.CancellationErrorCode.NoError])]), new
|
|
6368
|
+
return a.properties && (n = r.CancellationErrorCode[a.properties.getProperty(t.CancellationErrorCodePropertyName, r.CancellationErrorCode[r.CancellationErrorCode.NoError])]), new iu(s, a.errorDetails || t.EnumTranslation.implTranslateErrorDetails(n), n);
|
|
6369
6369
|
}
|
|
6370
6370
|
};
|
|
6371
6371
|
return pr.CancellationDetails = i, pr;
|
|
6372
6372
|
}
|
|
6373
|
-
var
|
|
6373
|
+
var su = {};
|
|
6374
6374
|
(function(t) {
|
|
6375
6375
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.CancellationErrorCode = void 0, function(e) {
|
|
6376
6376
|
e[e.NoError = 0] = "NoError", e[e.AuthenticationFailure = 1] = "AuthenticationFailure", e[e.BadRequestParameters = 2] = "BadRequestParameters", e[e.TooManyRequests = 3] = "TooManyRequests", e[e.ConnectionFailure = 4] = "ConnectionFailure", e[e.ServiceTimeout = 5] = "ServiceTimeout", e[e.ServiceError = 6] = "ServiceError", e[e.RuntimeError = 7] = "RuntimeError", e[e.Forbidden = 8] = "Forbidden";
|
|
6377
6377
|
}(t.CancellationErrorCode || (t.CancellationErrorCode = {}));
|
|
6378
|
-
})(
|
|
6378
|
+
})(su);
|
|
6379
6379
|
var ur = {}, va;
|
|
6380
|
-
function
|
|
6380
|
+
function If() {
|
|
6381
6381
|
if (va)
|
|
6382
6382
|
return ur;
|
|
6383
6383
|
va = 1, Object.defineProperty(ur, "__esModule", { value: !0 }), ur.ConnectionEventArgs = void 0;
|
|
@@ -6387,7 +6387,7 @@ function Tf() {
|
|
|
6387
6387
|
return ur.ConnectionEventArgs = e, ur;
|
|
6388
6388
|
}
|
|
6389
6389
|
var dr = {}, fa;
|
|
6390
|
-
function
|
|
6390
|
+
function Tf() {
|
|
6391
6391
|
if (fa)
|
|
6392
6392
|
return dr;
|
|
6393
6393
|
fa = 1, Object.defineProperty(dr, "__esModule", { value: !0 }), dr.ServiceEventArgs = void 0;
|
|
@@ -6570,7 +6570,7 @@ function Zs() {
|
|
|
6570
6570
|
return Ze.DialogServiceConfigImpl = i, Ze;
|
|
6571
6571
|
}
|
|
6572
6572
|
var hr = {}, ma;
|
|
6573
|
-
function
|
|
6573
|
+
function Af() {
|
|
6574
6574
|
if (ma)
|
|
6575
6575
|
return hr;
|
|
6576
6576
|
ma = 1, Object.defineProperty(hr, "__esModule", { value: !0 }), hr.BotFrameworkConfig = void 0;
|
|
@@ -6673,7 +6673,7 @@ function wf() {
|
|
|
6673
6673
|
return hr.BotFrameworkConfig = i, hr;
|
|
6674
6674
|
}
|
|
6675
6675
|
var lr = {}, Sa;
|
|
6676
|
-
function
|
|
6676
|
+
function wf() {
|
|
6677
6677
|
if (Sa)
|
|
6678
6678
|
return lr;
|
|
6679
6679
|
Sa = 1, Object.defineProperty(lr, "__esModule", { value: !0 }), lr.CustomCommandsConfig = void 0;
|
|
@@ -6834,7 +6834,7 @@ function Ce() {
|
|
|
6834
6834
|
return gr.ConnectionFactoryBase = p, gr;
|
|
6835
6835
|
}
|
|
6836
6836
|
var ya;
|
|
6837
|
-
function
|
|
6837
|
+
function _f() {
|
|
6838
6838
|
if (ya)
|
|
6839
6839
|
return fr;
|
|
6840
6840
|
ya = 1, Object.defineProperty(fr, "__esModule", { value: !0 }), fr.DialogConnectionFactory = void 0;
|
|
@@ -6858,11 +6858,11 @@ function bf() {
|
|
|
6858
6858
|
return fr.DialogConnectionFactory = n, n.ApiKey = "api", n.BaseUrl = "convai.speech", fr;
|
|
6859
6859
|
}
|
|
6860
6860
|
var Ra;
|
|
6861
|
-
function
|
|
6861
|
+
function bf() {
|
|
6862
6862
|
if (Ra)
|
|
6863
6863
|
return vr;
|
|
6864
6864
|
Ra = 1, Object.defineProperty(vr, "__esModule", { value: !0 }), vr.DialogServiceConnector = void 0;
|
|
6865
|
-
const t =
|
|
6865
|
+
const t = _f(), e = T(), r = he, i = A(), p = b, a = R(), s = bi;
|
|
6866
6866
|
let n = class extends a.Recognizer {
|
|
6867
6867
|
/**
|
|
6868
6868
|
* Initializes an instance of the DialogServiceConnector.
|
|
@@ -7010,7 +7010,7 @@ function Mf() {
|
|
|
7010
7010
|
var Di = {};
|
|
7011
7011
|
Object.defineProperty(Di, "__esModule", { value: !0 });
|
|
7012
7012
|
Di.ActivityReceivedEventArgs = void 0;
|
|
7013
|
-
class
|
|
7013
|
+
class Mf {
|
|
7014
7014
|
/**
|
|
7015
7015
|
* Creates and initializes an instance of this class.
|
|
7016
7016
|
* @constructor
|
|
@@ -7033,7 +7033,7 @@ class Of {
|
|
|
7033
7033
|
return this.privAudioStream;
|
|
7034
7034
|
}
|
|
7035
7035
|
}
|
|
7036
|
-
Di.ActivityReceivedEventArgs =
|
|
7036
|
+
Di.ActivityReceivedEventArgs = Mf;
|
|
7037
7037
|
var ki = {}, Ni = {};
|
|
7038
7038
|
Object.defineProperty(Ni, "__esModule", { value: !0 });
|
|
7039
7039
|
Ni.TurnStatusResponsePayload = void 0;
|
|
@@ -7066,15 +7066,15 @@ class Ys {
|
|
|
7066
7066
|
Ni.TurnStatusResponsePayload = Ys;
|
|
7067
7067
|
Object.defineProperty(ki, "__esModule", { value: !0 });
|
|
7068
7068
|
ki.TurnStatusReceivedEventArgs = void 0;
|
|
7069
|
-
const
|
|
7070
|
-
class
|
|
7069
|
+
const Of = Ni;
|
|
7070
|
+
class Df {
|
|
7071
7071
|
/**
|
|
7072
7072
|
* Creates and initializes an instance of this class.
|
|
7073
7073
|
* @constructor
|
|
7074
7074
|
* @param {string} turnStatus - The JSON-encoded turn status message.
|
|
7075
7075
|
*/
|
|
7076
7076
|
constructor(e) {
|
|
7077
|
-
this.privTurnStatus =
|
|
7077
|
+
this.privTurnStatus = Of.TurnStatusResponsePayload.fromJSON(e);
|
|
7078
7078
|
}
|
|
7079
7079
|
/**
|
|
7080
7080
|
* Gets the interaction identifier associated with this turn status event.
|
|
@@ -7107,21 +7107,21 @@ class kf {
|
|
|
7107
7107
|
return this.privTurnStatus.statusCode;
|
|
7108
7108
|
}
|
|
7109
7109
|
}
|
|
7110
|
-
ki.TurnStatusReceivedEventArgs =
|
|
7111
|
-
var
|
|
7110
|
+
ki.TurnStatusReceivedEventArgs = Df;
|
|
7111
|
+
var ou = {};
|
|
7112
7112
|
(function(t) {
|
|
7113
7113
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ServicePropertyChannel = void 0, function(e) {
|
|
7114
7114
|
e[e.UriQueryParameter = 0] = "UriQueryParameter";
|
|
7115
7115
|
}(t.ServicePropertyChannel || (t.ServicePropertyChannel = {}));
|
|
7116
|
-
})(
|
|
7117
|
-
var
|
|
7116
|
+
})(ou);
|
|
7117
|
+
var au = {};
|
|
7118
7118
|
(function(t) {
|
|
7119
7119
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ProfanityOption = void 0, function(e) {
|
|
7120
7120
|
e[e.Masked = 0] = "Masked", e[e.Removed = 1] = "Removed", e[e.Raw = 2] = "Raw";
|
|
7121
7121
|
}(t.ProfanityOption || (t.ProfanityOption = {}));
|
|
7122
|
-
})(
|
|
7122
|
+
})(au);
|
|
7123
7123
|
var mr = {}, Pa;
|
|
7124
|
-
function
|
|
7124
|
+
function kf() {
|
|
7125
7125
|
if (Pa)
|
|
7126
7126
|
return mr;
|
|
7127
7127
|
Pa = 1, Object.defineProperty(mr, "__esModule", { value: !0 }), mr.BaseAudioPlayer = void 0;
|
|
@@ -7216,7 +7216,7 @@ function Nf() {
|
|
|
7216
7216
|
var zi = {};
|
|
7217
7217
|
Object.defineProperty(zi, "__esModule", { value: !0 });
|
|
7218
7218
|
zi.ConnectionMessageEventArgs = void 0;
|
|
7219
|
-
class
|
|
7219
|
+
class Nf {
|
|
7220
7220
|
constructor(e) {
|
|
7221
7221
|
this.privConnectionMessage = e;
|
|
7222
7222
|
}
|
|
@@ -7233,11 +7233,11 @@ class zf {
|
|
|
7233
7233
|
return "Message: " + this.privConnectionMessage.toString();
|
|
7234
7234
|
}
|
|
7235
7235
|
}
|
|
7236
|
-
zi.ConnectionMessageEventArgs =
|
|
7236
|
+
zi.ConnectionMessageEventArgs = Nf;
|
|
7237
7237
|
var ji = {};
|
|
7238
7238
|
Object.defineProperty(ji, "__esModule", { value: !0 });
|
|
7239
7239
|
ji.VoiceProfile = void 0;
|
|
7240
|
-
class
|
|
7240
|
+
class zf {
|
|
7241
7241
|
/**
|
|
7242
7242
|
* Creates and initializes an instance of this class.
|
|
7243
7243
|
* @constructor
|
|
@@ -7268,9 +7268,9 @@ class jf {
|
|
|
7268
7268
|
return this.privProfileType;
|
|
7269
7269
|
}
|
|
7270
7270
|
}
|
|
7271
|
-
ji.VoiceProfile =
|
|
7271
|
+
ji.VoiceProfile = zf;
|
|
7272
7272
|
var Ye = {}, Ea;
|
|
7273
|
-
function
|
|
7273
|
+
function jf() {
|
|
7274
7274
|
if (Ea)
|
|
7275
7275
|
return Ye;
|
|
7276
7276
|
Ea = 1, Object.defineProperty(Ye, "__esModule", { value: !0 }), Ye.VoiceProfileEnrollmentCancellationDetails = Ye.VoiceProfileEnrollmentResult = void 0;
|
|
@@ -7361,7 +7361,7 @@ function Lf() {
|
|
|
7361
7361
|
return Ye.VoiceProfileEnrollmentCancellationDetails = i, Ye;
|
|
7362
7362
|
}
|
|
7363
7363
|
var et = {}, Ia;
|
|
7364
|
-
function
|
|
7364
|
+
function Lf() {
|
|
7365
7365
|
if (Ia)
|
|
7366
7366
|
return et;
|
|
7367
7367
|
Ia = 1, Object.defineProperty(et, "__esModule", { value: !0 }), et.VoiceProfileCancellationDetails = et.VoiceProfileResult = void 0;
|
|
@@ -7402,7 +7402,7 @@ function Bf() {
|
|
|
7402
7402
|
return et.VoiceProfileCancellationDetails = p, et;
|
|
7403
7403
|
}
|
|
7404
7404
|
var Sr = {}, Ta;
|
|
7405
|
-
function
|
|
7405
|
+
function Bf() {
|
|
7406
7406
|
if (Ta)
|
|
7407
7407
|
return Sr;
|
|
7408
7408
|
Ta = 1, Object.defineProperty(Sr, "__esModule", { value: !0 }), Sr.VoiceProfilePhraseResult = void 0;
|
|
@@ -7421,11 +7421,11 @@ function qf() {
|
|
|
7421
7421
|
return Sr.VoiceProfilePhraseResult = r, Sr;
|
|
7422
7422
|
}
|
|
7423
7423
|
var Cr = {}, Aa;
|
|
7424
|
-
function
|
|
7424
|
+
function qf() {
|
|
7425
7425
|
if (Aa)
|
|
7426
7426
|
return Cr;
|
|
7427
7427
|
Aa = 1, Object.defineProperty(Cr, "__esModule", { value: !0 }), Cr.VoiceProfileClient = void 0;
|
|
7428
|
-
const t = T(), e =
|
|
7428
|
+
const t = T(), e = xp(), r = b, i = R();
|
|
7429
7429
|
let p = class extends i.Recognizer {
|
|
7430
7430
|
/**
|
|
7431
7431
|
* VoiceProfileClient constructor.
|
|
@@ -7582,7 +7582,7 @@ function Ff() {
|
|
|
7582
7582
|
return Cr.VoiceProfileClient = p, Cr;
|
|
7583
7583
|
}
|
|
7584
7584
|
var yr = {}, wa;
|
|
7585
|
-
function
|
|
7585
|
+
function Ff() {
|
|
7586
7586
|
if (wa)
|
|
7587
7587
|
return yr;
|
|
7588
7588
|
wa = 1, Object.defineProperty(yr, "__esModule", { value: !0 }), yr.SpeakerRecognizer = void 0;
|
|
@@ -7674,12 +7674,12 @@ function xf() {
|
|
|
7674
7674
|
return yr.SpeakerRecognizer = i, yr;
|
|
7675
7675
|
}
|
|
7676
7676
|
var Rr = {}, _a;
|
|
7677
|
-
function
|
|
7677
|
+
function xf() {
|
|
7678
7678
|
if (_a)
|
|
7679
7679
|
return Rr;
|
|
7680
7680
|
_a = 1, Object.defineProperty(Rr, "__esModule", { value: !0 }), Rr.SpeakerIdentificationModel = void 0;
|
|
7681
7681
|
const t = b, e = R();
|
|
7682
|
-
let r = class
|
|
7682
|
+
let r = class cu {
|
|
7683
7683
|
constructor(p) {
|
|
7684
7684
|
if (this.privVoiceProfiles = [], this.privProfileIds = [], t.Contracts.throwIfNullOrUndefined(p, "VoiceProfiles"), p.length === 0)
|
|
7685
7685
|
throw new Error("Empty Voice Profiles array");
|
|
@@ -7690,7 +7690,7 @@ function Uf() {
|
|
|
7690
7690
|
}
|
|
7691
7691
|
}
|
|
7692
7692
|
static fromProfiles(p) {
|
|
7693
|
-
return new
|
|
7693
|
+
return new cu(p);
|
|
7694
7694
|
}
|
|
7695
7695
|
get voiceProfileIds() {
|
|
7696
7696
|
return this.privProfileIds.join(",");
|
|
@@ -7705,19 +7705,19 @@ function Uf() {
|
|
|
7705
7705
|
return Rr.SpeakerIdentificationModel = r, Rr;
|
|
7706
7706
|
}
|
|
7707
7707
|
var Pr = {}, ba;
|
|
7708
|
-
function
|
|
7708
|
+
function Uf() {
|
|
7709
7709
|
if (ba)
|
|
7710
7710
|
return Pr;
|
|
7711
7711
|
ba = 1, Object.defineProperty(Pr, "__esModule", { value: !0 }), Pr.SpeakerVerificationModel = void 0;
|
|
7712
7712
|
const t = b, e = R();
|
|
7713
|
-
let r = class
|
|
7713
|
+
let r = class pu {
|
|
7714
7714
|
constructor(p) {
|
|
7715
7715
|
if (t.Contracts.throwIfNullOrUndefined(p, "VoiceProfile"), p.profileType === e.VoiceProfileType.TextIndependentIdentification)
|
|
7716
7716
|
throw new Error("Verification model cannot be created from Identification profile");
|
|
7717
7717
|
this.privVoiceProfile = p;
|
|
7718
7718
|
}
|
|
7719
7719
|
static fromProfile(p) {
|
|
7720
|
-
return new
|
|
7720
|
+
return new pu(p);
|
|
7721
7721
|
}
|
|
7722
7722
|
get voiceProfile() {
|
|
7723
7723
|
return this.privVoiceProfile;
|
|
@@ -7738,7 +7738,7 @@ var Er = {}, eo = {};
|
|
|
7738
7738
|
}(t.LanguageIdMode || (t.LanguageIdMode = {}));
|
|
7739
7739
|
})(eo);
|
|
7740
7740
|
var Ma;
|
|
7741
|
-
function
|
|
7741
|
+
function Wf() {
|
|
7742
7742
|
if (Ma)
|
|
7743
7743
|
return Er;
|
|
7744
7744
|
Ma = 1, Object.defineProperty(Er, "__esModule", { value: !0 }), Er.AutoDetectSourceLanguageConfig = void 0;
|
|
@@ -7856,10 +7856,10 @@ Li.AutoDetectSourceLanguageResult = Jn;
|
|
|
7856
7856
|
var Bi = {};
|
|
7857
7857
|
Object.defineProperty(Bi, "__esModule", { value: !0 });
|
|
7858
7858
|
Bi.SourceLanguageConfig = void 0;
|
|
7859
|
-
const
|
|
7859
|
+
const Vf = b;
|
|
7860
7860
|
class to {
|
|
7861
7861
|
constructor(e, r) {
|
|
7862
|
-
|
|
7862
|
+
Vf.Contracts.throwIfNullOrUndefined(e, "language"), this.privLanguage = e, this.privEndpointId = r;
|
|
7863
7863
|
}
|
|
7864
7864
|
/**
|
|
7865
7865
|
* @member SourceLanguageConfig.fromLanguage
|
|
@@ -7883,7 +7883,7 @@ class to {
|
|
|
7883
7883
|
}
|
|
7884
7884
|
Bi.SourceLanguageConfig = to;
|
|
7885
7885
|
var ws = {}, Da;
|
|
7886
|
-
function
|
|
7886
|
+
function Hf() {
|
|
7887
7887
|
return Da || (Da = 1, function(t) {
|
|
7888
7888
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.SpeakerRecognitionCancellationDetails = t.SpeakerRecognitionResult = t.SpeakerRecognitionResultType = void 0;
|
|
7889
7889
|
const e = T(), r = R();
|
|
@@ -7936,7 +7936,7 @@ function $f() {
|
|
|
7936
7936
|
}(ws)), ws;
|
|
7937
7937
|
}
|
|
7938
7938
|
var _s = {}, tt = {}, ka;
|
|
7939
|
-
function
|
|
7939
|
+
function uu() {
|
|
7940
7940
|
if (ka)
|
|
7941
7941
|
return tt;
|
|
7942
7942
|
ka = 1, Object.defineProperty(tt, "__esModule", { value: !0 }), tt.ConversationImpl = tt.Conversation = void 0;
|
|
@@ -8541,7 +8541,7 @@ function du() {
|
|
|
8541
8541
|
var qi = {};
|
|
8542
8542
|
Object.defineProperty(qi, "__esModule", { value: !0 });
|
|
8543
8543
|
qi.ConversationCommon = void 0;
|
|
8544
|
-
class
|
|
8544
|
+
class $f {
|
|
8545
8545
|
constructor(e) {
|
|
8546
8546
|
this.privAudioConfig = e;
|
|
8547
8547
|
}
|
|
@@ -8564,9 +8564,9 @@ class Kf {
|
|
|
8564
8564
|
r(e);
|
|
8565
8565
|
}
|
|
8566
8566
|
}
|
|
8567
|
-
qi.ConversationCommon =
|
|
8567
|
+
qi.ConversationCommon = $f;
|
|
8568
8568
|
var Ir = {}, Na;
|
|
8569
|
-
function
|
|
8569
|
+
function Kf() {
|
|
8570
8570
|
if (Na)
|
|
8571
8571
|
return Ir;
|
|
8572
8572
|
Na = 1, Object.defineProperty(Ir, "__esModule", { value: !0 }), Ir.ConversationExpirationEventArgs = void 0;
|
|
@@ -8583,7 +8583,7 @@ function Jf() {
|
|
|
8583
8583
|
return Ir.ConversationExpirationEventArgs = e, Ir;
|
|
8584
8584
|
}
|
|
8585
8585
|
var Tr = {}, za;
|
|
8586
|
-
function
|
|
8586
|
+
function Jf() {
|
|
8587
8587
|
if (za)
|
|
8588
8588
|
return Tr;
|
|
8589
8589
|
za = 1, Object.defineProperty(Tr, "__esModule", { value: !0 }), Tr.ConversationParticipantsChangedEventArgs = void 0;
|
|
@@ -8602,7 +8602,7 @@ function Gf() {
|
|
|
8602
8602
|
return Tr.ConversationParticipantsChangedEventArgs = e, Tr;
|
|
8603
8603
|
}
|
|
8604
8604
|
var Ar = {}, ja;
|
|
8605
|
-
function
|
|
8605
|
+
function Gf() {
|
|
8606
8606
|
if (ja)
|
|
8607
8607
|
return Ar;
|
|
8608
8608
|
ja = 1, Object.defineProperty(Ar, "__esModule", { value: !0 }), Ar.ConversationTranslationCanceledEventArgs = void 0;
|
|
@@ -8612,7 +8612,7 @@ function Qf() {
|
|
|
8612
8612
|
return Ar.ConversationTranslationCanceledEventArgs = e, Ar;
|
|
8613
8613
|
}
|
|
8614
8614
|
var wr = {}, La;
|
|
8615
|
-
function
|
|
8615
|
+
function Qf() {
|
|
8616
8616
|
if (La)
|
|
8617
8617
|
return wr;
|
|
8618
8618
|
La = 1, Object.defineProperty(wr, "__esModule", { value: !0 }), wr.ConversationTranslationEventArgs = void 0;
|
|
@@ -8639,11 +8639,11 @@ function Xf() {
|
|
|
8639
8639
|
return wr.ConversationTranslationEventArgs = e, wr;
|
|
8640
8640
|
}
|
|
8641
8641
|
var _r = {}, Ba;
|
|
8642
|
-
function
|
|
8642
|
+
function Xf() {
|
|
8643
8643
|
if (Ba)
|
|
8644
8644
|
return _r;
|
|
8645
8645
|
Ba = 1, Object.defineProperty(_r, "__esModule", { value: !0 }), _r.ConversationTranslationResult = void 0;
|
|
8646
|
-
const t =
|
|
8646
|
+
const t = $p();
|
|
8647
8647
|
let e = class extends t.TranslationRecognitionResult {
|
|
8648
8648
|
constructor(i, p, a, s, n, o, c, u, d, h, l) {
|
|
8649
8649
|
super(p, s, n, o, c, u, void 0, void 0, d, h, l), this.privId = i, this.privOrigLang = a;
|
|
@@ -8666,7 +8666,7 @@ function Zf() {
|
|
|
8666
8666
|
var bs = {}, br = {}, Ln = {};
|
|
8667
8667
|
Object.defineProperty(Ln, "__esModule", { value: !0 });
|
|
8668
8668
|
Ln.StringUtils = void 0;
|
|
8669
|
-
class
|
|
8669
|
+
class Zf {
|
|
8670
8670
|
/**
|
|
8671
8671
|
* Formats a string by replacing the named {keys} in the string with the values contained in the replacement dictionary.
|
|
8672
8672
|
* @param format The format string that contains the parts to replace surrounded by {}. For example: "wss://{region}.cts.speech.microsoft.com".
|
|
@@ -8703,21 +8703,21 @@ class Yf {
|
|
|
8703
8703
|
return i;
|
|
8704
8704
|
}
|
|
8705
8705
|
}
|
|
8706
|
-
Ln.StringUtils =
|
|
8706
|
+
Ln.StringUtils = Zf;
|
|
8707
8707
|
var qa;
|
|
8708
|
-
function
|
|
8708
|
+
function Yf() {
|
|
8709
8709
|
if (qa)
|
|
8710
8710
|
return br;
|
|
8711
8711
|
qa = 1, Object.defineProperty(br, "__esModule", { value: !0 }), br.ConversationTranslatorConnectionFactory = void 0;
|
|
8712
8712
|
const t = V(), e = Ln, r = b, i = R(), p = W, a = Se, s = Ce(), n = T();
|
|
8713
|
-
let o = class
|
|
8713
|
+
let o = class du extends s.ConnectionFactoryBase {
|
|
8714
8714
|
constructor(u) {
|
|
8715
8715
|
super(), r.Contracts.throwIfNullOrUndefined(u, "convGetter"), this.privConvGetter = u;
|
|
8716
8716
|
}
|
|
8717
8717
|
create(u, d, h) {
|
|
8718
8718
|
const l = u.parameters.getProperty("ConversationTranslator_MultiChannelAudio", "").toUpperCase() === "TRUE", f = this.privConvGetter().room, g = f.cognitiveSpeechRegion || u.parameters.getProperty(i.PropertyId.SpeechServiceConnection_Region, ""), S = {
|
|
8719
8719
|
hostSuffix: s.ConnectionFactoryBase.getHostSuffix(g),
|
|
8720
|
-
path:
|
|
8720
|
+
path: du.CTS_VIRT_MIC_PATH,
|
|
8721
8721
|
region: encodeURIComponent(g)
|
|
8722
8722
|
};
|
|
8723
8723
|
S[a.QueryParameterNames.Language] = encodeURIComponent(u.parameters.getProperty(i.PropertyId.SpeechServiceConnection_RecoLanguage, "")), S[a.QueryParameterNames.CtsMeetingId] = encodeURIComponent(f.roomId), S[a.QueryParameterNames.CtsDeviceId] = encodeURIComponent(f.participantId), S[a.QueryParameterNames.CtsIsParticipant] = f.isHost ? "" : "&" + a.QueryParameterNames.CtsIsParticipant;
|
|
@@ -8743,10 +8743,10 @@ function eg() {
|
|
|
8743
8743
|
return br.ConversationTranslatorConnectionFactory = o, o.CTS_VIRT_MIC_PATH = "/speech/recognition/dynamicaudio", br;
|
|
8744
8744
|
}
|
|
8745
8745
|
var Fa;
|
|
8746
|
-
function
|
|
8746
|
+
function eg() {
|
|
8747
8747
|
return Fa || (Fa = 1, function(t) {
|
|
8748
8748
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ConversationTranslator = t.SpeechState = void 0;
|
|
8749
|
-
const e = T(), r =
|
|
8749
|
+
const e = T(), r = Yf(), i = A(), p = b, a = R(), s = uu(), n = ro();
|
|
8750
8750
|
var o;
|
|
8751
8751
|
(function(d) {
|
|
8752
8752
|
d[d.Inactive = 0] = "Inactive", d[d.Connecting = 1] = "Connecting", d[d.Connected = 2] = "Connected";
|
|
@@ -8976,12 +8976,12 @@ function tg() {
|
|
|
8976
8976
|
}(bs)), bs;
|
|
8977
8977
|
}
|
|
8978
8978
|
var Mr = {}, xa;
|
|
8979
|
-
function
|
|
8979
|
+
function tg() {
|
|
8980
8980
|
if (xa)
|
|
8981
8981
|
return Mr;
|
|
8982
8982
|
xa = 1, Object.defineProperty(Mr, "__esModule", { value: !0 }), Mr.ConversationTranscriber = void 0;
|
|
8983
8983
|
const t = T(), e = he, r = A(), i = b, p = R();
|
|
8984
|
-
let a = class
|
|
8984
|
+
let a = class hu extends p.Recognizer {
|
|
8985
8985
|
/**
|
|
8986
8986
|
* ConversationTranscriber constructor.
|
|
8987
8987
|
* @constructor
|
|
@@ -9001,7 +9001,7 @@ function rg() {
|
|
|
9001
9001
|
*/
|
|
9002
9002
|
static FromConfig(n, o, c) {
|
|
9003
9003
|
const u = n;
|
|
9004
|
-
return o.properties.mergeTo(u.properties), new
|
|
9004
|
+
return o.properties.mergeTo(u.properties), new hu(n, c);
|
|
9005
9005
|
}
|
|
9006
9006
|
/**
|
|
9007
9007
|
* Gets the endpoint id of a customized speech model that is used for transcription.
|
|
@@ -9116,7 +9116,7 @@ function rg() {
|
|
|
9116
9116
|
return Mr.ConversationTranscriber = a, Mr;
|
|
9117
9117
|
}
|
|
9118
9118
|
var rt = {}, Ua;
|
|
9119
|
-
function
|
|
9119
|
+
function rg() {
|
|
9120
9120
|
if (Ua)
|
|
9121
9121
|
return rt;
|
|
9122
9122
|
Ua = 1, Object.defineProperty(rt, "__esModule", { value: !0 }), rt.Participant = rt.User = void 0;
|
|
@@ -9167,14 +9167,14 @@ function ng() {
|
|
|
9167
9167
|
}
|
|
9168
9168
|
return rt.Participant = r, rt;
|
|
9169
9169
|
}
|
|
9170
|
-
var
|
|
9170
|
+
var lu = {};
|
|
9171
9171
|
(function(t) {
|
|
9172
9172
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ParticipantChangedReason = void 0, function(e) {
|
|
9173
9173
|
e[e.JoinedConversation = 0] = "JoinedConversation", e[e.LeftConversation = 1] = "LeftConversation", e[e.Updated = 2] = "Updated";
|
|
9174
9174
|
}(t.ParticipantChangedReason || (t.ParticipantChangedReason = {}));
|
|
9175
|
-
})(
|
|
9175
|
+
})(lu);
|
|
9176
9176
|
var nt = {}, Wa;
|
|
9177
|
-
function
|
|
9177
|
+
function ng() {
|
|
9178
9178
|
if (Wa)
|
|
9179
9179
|
return nt;
|
|
9180
9180
|
Wa = 1, Object.defineProperty(nt, "__esModule", { value: !0 }), nt.MeetingImpl = nt.Meeting = void 0;
|
|
@@ -9763,7 +9763,7 @@ function ig() {
|
|
|
9763
9763
|
return nt.MeetingImpl = a, nt;
|
|
9764
9764
|
}
|
|
9765
9765
|
var Or = {}, Va;
|
|
9766
|
-
function
|
|
9766
|
+
function ig() {
|
|
9767
9767
|
if (Va)
|
|
9768
9768
|
return Or;
|
|
9769
9769
|
Va = 1, Object.defineProperty(Or, "__esModule", { value: !0 }), Or.MeetingTranscriptionCanceledEventArgs = void 0;
|
|
@@ -9773,7 +9773,7 @@ function sg() {
|
|
|
9773
9773
|
return Or.MeetingTranscriptionCanceledEventArgs = e, Or;
|
|
9774
9774
|
}
|
|
9775
9775
|
var Dr = {}, Ha;
|
|
9776
|
-
function
|
|
9776
|
+
function sg() {
|
|
9777
9777
|
if (Ha)
|
|
9778
9778
|
return Dr;
|
|
9779
9779
|
Ha = 1, Object.defineProperty(Dr, "__esModule", { value: !0 }), Dr.MeetingTranscriber = void 0;
|
|
@@ -9904,7 +9904,7 @@ function og() {
|
|
|
9904
9904
|
return Dr.MeetingTranscriber = a, Dr;
|
|
9905
9905
|
}
|
|
9906
9906
|
var kr = {}, $a;
|
|
9907
|
-
function
|
|
9907
|
+
function og() {
|
|
9908
9908
|
if ($a)
|
|
9909
9909
|
return kr;
|
|
9910
9910
|
$a = 1, Object.defineProperty(kr, "__esModule", { value: !0 }), kr.ConversationTranscriptionResult = void 0;
|
|
@@ -9946,7 +9946,7 @@ var Ka;
|
|
|
9946
9946
|
function ro() {
|
|
9947
9947
|
return Ka || (Ka = 1, function(t) {
|
|
9948
9948
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ConversationTranscriptionResult = t.MeetingTranscriber = t.MeetingTranscriptionCanceledEventArgs = t.MeetingImpl = t.Meeting = t.ParticipantChangedReason = t.User = t.Participant = t.ConversationTranscriber = t.ConversationTranslator = t.ConversationTranslationResult = t.ConversationTranslationEventArgs = t.ConversationTranslationCanceledEventArgs = t.ConversationParticipantsChangedEventArgs = t.ConversationExpirationEventArgs = t.ConversationCommon = t.ConversationImpl = t.Conversation = void 0;
|
|
9949
|
-
var e =
|
|
9949
|
+
var e = uu();
|
|
9950
9950
|
Object.defineProperty(t, "Conversation", { enumerable: !0, get: function() {
|
|
9951
9951
|
return e.Conversation;
|
|
9952
9952
|
} }), Object.defineProperty(t, "ConversationImpl", { enumerable: !0, get: function() {
|
|
@@ -9956,59 +9956,59 @@ function ro() {
|
|
|
9956
9956
|
Object.defineProperty(t, "ConversationCommon", { enumerable: !0, get: function() {
|
|
9957
9957
|
return r.ConversationCommon;
|
|
9958
9958
|
} });
|
|
9959
|
-
var i =
|
|
9959
|
+
var i = Kf();
|
|
9960
9960
|
Object.defineProperty(t, "ConversationExpirationEventArgs", { enumerable: !0, get: function() {
|
|
9961
9961
|
return i.ConversationExpirationEventArgs;
|
|
9962
9962
|
} });
|
|
9963
|
-
var p =
|
|
9963
|
+
var p = Jf();
|
|
9964
9964
|
Object.defineProperty(t, "ConversationParticipantsChangedEventArgs", { enumerable: !0, get: function() {
|
|
9965
9965
|
return p.ConversationParticipantsChangedEventArgs;
|
|
9966
9966
|
} });
|
|
9967
|
-
var a =
|
|
9967
|
+
var a = Gf();
|
|
9968
9968
|
Object.defineProperty(t, "ConversationTranslationCanceledEventArgs", { enumerable: !0, get: function() {
|
|
9969
9969
|
return a.ConversationTranslationCanceledEventArgs;
|
|
9970
9970
|
} });
|
|
9971
|
-
var s =
|
|
9971
|
+
var s = Qf();
|
|
9972
9972
|
Object.defineProperty(t, "ConversationTranslationEventArgs", { enumerable: !0, get: function() {
|
|
9973
9973
|
return s.ConversationTranslationEventArgs;
|
|
9974
9974
|
} });
|
|
9975
|
-
var n =
|
|
9975
|
+
var n = Xf();
|
|
9976
9976
|
Object.defineProperty(t, "ConversationTranslationResult", { enumerable: !0, get: function() {
|
|
9977
9977
|
return n.ConversationTranslationResult;
|
|
9978
9978
|
} });
|
|
9979
|
-
var o =
|
|
9979
|
+
var o = eg();
|
|
9980
9980
|
Object.defineProperty(t, "ConversationTranslator", { enumerable: !0, get: function() {
|
|
9981
9981
|
return o.ConversationTranslator;
|
|
9982
9982
|
} });
|
|
9983
|
-
var c =
|
|
9983
|
+
var c = tg();
|
|
9984
9984
|
Object.defineProperty(t, "ConversationTranscriber", { enumerable: !0, get: function() {
|
|
9985
9985
|
return c.ConversationTranscriber;
|
|
9986
9986
|
} });
|
|
9987
|
-
var u =
|
|
9987
|
+
var u = rg();
|
|
9988
9988
|
Object.defineProperty(t, "Participant", { enumerable: !0, get: function() {
|
|
9989
9989
|
return u.Participant;
|
|
9990
9990
|
} }), Object.defineProperty(t, "User", { enumerable: !0, get: function() {
|
|
9991
9991
|
return u.User;
|
|
9992
9992
|
} });
|
|
9993
|
-
var d =
|
|
9993
|
+
var d = lu;
|
|
9994
9994
|
Object.defineProperty(t, "ParticipantChangedReason", { enumerable: !0, get: function() {
|
|
9995
9995
|
return d.ParticipantChangedReason;
|
|
9996
9996
|
} });
|
|
9997
|
-
var h =
|
|
9997
|
+
var h = ng();
|
|
9998
9998
|
Object.defineProperty(t, "Meeting", { enumerable: !0, get: function() {
|
|
9999
9999
|
return h.Meeting;
|
|
10000
10000
|
} }), Object.defineProperty(t, "MeetingImpl", { enumerable: !0, get: function() {
|
|
10001
10001
|
return h.MeetingImpl;
|
|
10002
10002
|
} });
|
|
10003
|
-
var l =
|
|
10003
|
+
var l = ig();
|
|
10004
10004
|
Object.defineProperty(t, "MeetingTranscriptionCanceledEventArgs", { enumerable: !0, get: function() {
|
|
10005
10005
|
return l.MeetingTranscriptionCanceledEventArgs;
|
|
10006
10006
|
} });
|
|
10007
|
-
var f =
|
|
10007
|
+
var f = sg();
|
|
10008
10008
|
Object.defineProperty(t, "MeetingTranscriber", { enumerable: !0, get: function() {
|
|
10009
10009
|
return f.MeetingTranscriber;
|
|
10010
10010
|
} });
|
|
10011
|
-
var g =
|
|
10011
|
+
var g = og();
|
|
10012
10012
|
Object.defineProperty(t, "ConversationTranscriptionResult", { enumerable: !0, get: function() {
|
|
10013
10013
|
return g.ConversationTranscriptionResult;
|
|
10014
10014
|
} });
|
|
@@ -10020,7 +10020,7 @@ function no() {
|
|
|
10020
10020
|
return it;
|
|
10021
10021
|
Ja = 1, Object.defineProperty(it, "__esModule", { value: !0 }), it.SynthesisRequest = it.Synthesizer = void 0;
|
|
10022
10022
|
const t = T(), e = A(), r = b, i = R();
|
|
10023
|
-
let p = class
|
|
10023
|
+
let p = class vu {
|
|
10024
10024
|
/**
|
|
10025
10025
|
* Creates and initializes an instance of a Recognizer
|
|
10026
10026
|
* @constructor
|
|
@@ -10202,7 +10202,7 @@ function no() {
|
|
|
10202
10202
|
["zh-TW"]: "zh-TW-HsiaoChenNeural",
|
|
10203
10203
|
["zu-ZA"]: "zu-ZA-ThandoNeural"
|
|
10204
10204
|
};
|
|
10205
|
-
let c = this.properties.getProperty(i.PropertyId.SpeechServiceConnection_SynthLanguage, "en-US"), u = this.properties.getProperty(i.PropertyId.SpeechServiceConnection_SynthVoice, ""), d =
|
|
10205
|
+
let c = this.properties.getProperty(i.PropertyId.SpeechServiceConnection_SynthLanguage, "en-US"), u = this.properties.getProperty(i.PropertyId.SpeechServiceConnection_SynthVoice, ""), d = vu.XMLEncode(n);
|
|
10206
10206
|
return this.autoDetectSourceLanguage ? c = "en-US" : u = u || o[c], u && (d = `<voice name='${u}'>${d}</voice>`), d = `<speak version='1.0' xmlns='http://www.w3.org/2001/10/synthesis' xmlns:mstts='http://www.w3.org/2001/mstts' xmlns:emo='http://www.w3.org/2009/10/emotionml' xml:lang='${c}'>${d}</speak>`, d;
|
|
10207
10207
|
}
|
|
10208
10208
|
/**
|
|
@@ -10268,12 +10268,12 @@ function no() {
|
|
|
10268
10268
|
return it.SynthesisRequest = a, it;
|
|
10269
10269
|
}
|
|
10270
10270
|
var Nr = {}, Ga;
|
|
10271
|
-
function
|
|
10271
|
+
function ag() {
|
|
10272
10272
|
if (Ga)
|
|
10273
10273
|
return Nr;
|
|
10274
10274
|
Ga = 1, Object.defineProperty(Nr, "__esModule", { value: !0 }), Nr.SpeechSynthesizer = void 0;
|
|
10275
10275
|
const t = T(), e = A(), r = Nn, i = Je, p = K, a = b, s = R(), n = no();
|
|
10276
|
-
let o = class
|
|
10276
|
+
let o = class fu extends s.Synthesizer {
|
|
10277
10277
|
/**
|
|
10278
10278
|
* SpeechSynthesizer constructor.
|
|
10279
10279
|
* @constructor
|
|
@@ -10292,7 +10292,7 @@ function cg() {
|
|
|
10292
10292
|
*/
|
|
10293
10293
|
static FromConfig(u, d, h) {
|
|
10294
10294
|
const l = u;
|
|
10295
|
-
return d.properties.mergeTo(l.properties), new
|
|
10295
|
+
return d.properties.mergeTo(l.properties), new fu(u, h);
|
|
10296
10296
|
}
|
|
10297
10297
|
/**
|
|
10298
10298
|
* Executes speech synthesis on plain text.
|
|
@@ -10409,7 +10409,7 @@ function cg() {
|
|
|
10409
10409
|
var Fi = {};
|
|
10410
10410
|
Object.defineProperty(Fi, "__esModule", { value: !0 });
|
|
10411
10411
|
Fi.SynthesisResult = void 0;
|
|
10412
|
-
class
|
|
10412
|
+
class cg {
|
|
10413
10413
|
/**
|
|
10414
10414
|
* Creates and initializes an instance of this class.
|
|
10415
10415
|
* @constructor
|
|
@@ -10462,9 +10462,9 @@ class pg {
|
|
|
10462
10462
|
return this.privProperties;
|
|
10463
10463
|
}
|
|
10464
10464
|
}
|
|
10465
|
-
Fi.SynthesisResult =
|
|
10465
|
+
Fi.SynthesisResult = cg;
|
|
10466
10466
|
var zr = {}, Qa;
|
|
10467
|
-
function
|
|
10467
|
+
function pg() {
|
|
10468
10468
|
if (Qa)
|
|
10469
10469
|
return zr;
|
|
10470
10470
|
Qa = 1, Object.defineProperty(zr, "__esModule", { value: !0 }), zr.SpeechSynthesisResult = void 0;
|
|
@@ -10509,7 +10509,7 @@ function ug() {
|
|
|
10509
10509
|
var xi = {};
|
|
10510
10510
|
Object.defineProperty(xi, "__esModule", { value: !0 });
|
|
10511
10511
|
xi.SpeechSynthesisEventArgs = void 0;
|
|
10512
|
-
class
|
|
10512
|
+
class ug {
|
|
10513
10513
|
/**
|
|
10514
10514
|
* Creates and initializes an instance of this class.
|
|
10515
10515
|
* @constructor
|
|
@@ -10529,11 +10529,11 @@ class dg {
|
|
|
10529
10529
|
return this.privResult;
|
|
10530
10530
|
}
|
|
10531
10531
|
}
|
|
10532
|
-
xi.SpeechSynthesisEventArgs =
|
|
10532
|
+
xi.SpeechSynthesisEventArgs = ug;
|
|
10533
10533
|
var Ui = {};
|
|
10534
10534
|
Object.defineProperty(Ui, "__esModule", { value: !0 });
|
|
10535
10535
|
Ui.SpeechSynthesisWordBoundaryEventArgs = void 0;
|
|
10536
|
-
class
|
|
10536
|
+
class dg {
|
|
10537
10537
|
/**
|
|
10538
10538
|
* Creates and initializes an instance of this class.
|
|
10539
10539
|
* @constructor
|
|
@@ -10608,11 +10608,11 @@ class hg {
|
|
|
10608
10608
|
return this.privBoundaryType;
|
|
10609
10609
|
}
|
|
10610
10610
|
}
|
|
10611
|
-
Ui.SpeechSynthesisWordBoundaryEventArgs =
|
|
10611
|
+
Ui.SpeechSynthesisWordBoundaryEventArgs = dg;
|
|
10612
10612
|
var Wi = {};
|
|
10613
10613
|
Object.defineProperty(Wi, "__esModule", { value: !0 });
|
|
10614
10614
|
Wi.SpeechSynthesisBookmarkEventArgs = void 0;
|
|
10615
|
-
class
|
|
10615
|
+
class hg {
|
|
10616
10616
|
/**
|
|
10617
10617
|
* Creates and initializes an instance of this class.
|
|
10618
10618
|
* @constructor
|
|
@@ -10643,11 +10643,11 @@ class lg {
|
|
|
10643
10643
|
return this.privText;
|
|
10644
10644
|
}
|
|
10645
10645
|
}
|
|
10646
|
-
Wi.SpeechSynthesisBookmarkEventArgs =
|
|
10646
|
+
Wi.SpeechSynthesisBookmarkEventArgs = hg;
|
|
10647
10647
|
var Vi = {};
|
|
10648
10648
|
Object.defineProperty(Vi, "__esModule", { value: !0 });
|
|
10649
10649
|
Vi.SpeechSynthesisVisemeEventArgs = void 0;
|
|
10650
|
-
class
|
|
10650
|
+
class lg {
|
|
10651
10651
|
/**
|
|
10652
10652
|
* Creates and initializes an instance of this class.
|
|
10653
10653
|
* @constructor
|
|
@@ -10689,15 +10689,15 @@ class vg {
|
|
|
10689
10689
|
return this.privAnimation;
|
|
10690
10690
|
}
|
|
10691
10691
|
}
|
|
10692
|
-
Vi.SpeechSynthesisVisemeEventArgs =
|
|
10693
|
-
var
|
|
10692
|
+
Vi.SpeechSynthesisVisemeEventArgs = lg;
|
|
10693
|
+
var gu = {};
|
|
10694
10694
|
(function(t) {
|
|
10695
10695
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.SpeechSynthesisBoundaryType = void 0, function(e) {
|
|
10696
10696
|
e.Word = "WordBoundary", e.Punctuation = "PunctuationBoundary", e.Sentence = "SentenceBoundary";
|
|
10697
10697
|
}(t.SpeechSynthesisBoundaryType || (t.SpeechSynthesisBoundaryType = {}));
|
|
10698
|
-
})(
|
|
10698
|
+
})(gu);
|
|
10699
10699
|
var jr = {}, Xa;
|
|
10700
|
-
function
|
|
10700
|
+
function vg() {
|
|
10701
10701
|
if (Xa)
|
|
10702
10702
|
return jr;
|
|
10703
10703
|
Xa = 1, Object.defineProperty(jr, "__esModule", { value: !0 }), jr.SynthesisVoicesResult = void 0;
|
|
@@ -10730,7 +10730,7 @@ function fg() {
|
|
|
10730
10730
|
};
|
|
10731
10731
|
return jr.SynthesisVoicesResult = e, jr;
|
|
10732
10732
|
}
|
|
10733
|
-
var
|
|
10733
|
+
var mu = {};
|
|
10734
10734
|
(function(t) {
|
|
10735
10735
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.VoiceInfo = t.SynthesisVoiceType = t.SynthesisVoiceGender = void 0;
|
|
10736
10736
|
var e;
|
|
@@ -10808,11 +10808,11 @@ var Su = {};
|
|
|
10808
10808
|
}
|
|
10809
10809
|
}
|
|
10810
10810
|
t.VoiceInfo = a;
|
|
10811
|
-
})(
|
|
10811
|
+
})(mu);
|
|
10812
10812
|
var Hi = {};
|
|
10813
10813
|
Object.defineProperty(Hi, "__esModule", { value: !0 });
|
|
10814
10814
|
Hi.SpeakerAudioDestination = void 0;
|
|
10815
|
-
const st = A(),
|
|
10815
|
+
const st = A(), fg = K, pe = Ke, gg = 60 * 30, Za = {
|
|
10816
10816
|
[pe.AudioFormatTag.PCM]: "audio/wav",
|
|
10817
10817
|
[pe.AudioFormatTag.MuLaw]: "audio/x-wav",
|
|
10818
10818
|
[pe.AudioFormatTag.MP3]: "audio/mpeg",
|
|
@@ -10823,7 +10823,7 @@ const st = A(), gg = K, pe = Ke, mg = 60 * 30, Za = {
|
|
|
10823
10823
|
[pe.AudioFormatTag.AMR_WB]: "audio/amr-wb",
|
|
10824
10824
|
[pe.AudioFormatTag.G722]: "audio/G722"
|
|
10825
10825
|
};
|
|
10826
|
-
class
|
|
10826
|
+
class mg {
|
|
10827
10827
|
constructor(e) {
|
|
10828
10828
|
this.privPlaybackStarted = !1, this.privAppendingToBuffer = !1, this.privMediaSourceOpened = !1, this.privBytesReceived = 0, this.privId = e || (0, st.createNoDashGuid)(), this.privIsPaused = !1, this.privIsClosed = !1;
|
|
10829
10829
|
}
|
|
@@ -10869,7 +10869,7 @@ class Sg {
|
|
|
10869
10869
|
this.privFormat = e;
|
|
10870
10870
|
const r = Za[this.privFormat.formatTag];
|
|
10871
10871
|
r === void 0 ? console.warn(`Unknown mimeType for format ${pe.AudioFormatTag[this.privFormat.formatTag]}; playback is not supported.`) : typeof MediaSource < "u" && MediaSource.isTypeSupported(r) ? (this.privAudio = new Audio(), this.privAudioBuffer = [], this.privMediaSource = new MediaSource(), this.privAudio.src = URL.createObjectURL(this.privMediaSource), this.privAudio.load(), this.privMediaSource.onsourceopen = () => {
|
|
10872
|
-
this.privMediaSourceOpened = !0, this.privMediaSource.duration =
|
|
10872
|
+
this.privMediaSourceOpened = !0, this.privMediaSource.duration = gg, this.privSourceBuffer = this.privMediaSource.addSourceBuffer(r), this.privSourceBuffer.onupdate = () => {
|
|
10873
10873
|
this.updateSourceBuffer().catch((i) => {
|
|
10874
10874
|
st.Events.instance.onEvent(new st.BackgroundEvent(i));
|
|
10875
10875
|
});
|
|
@@ -10882,7 +10882,7 @@ class Sg {
|
|
|
10882
10882
|
};
|
|
10883
10883
|
}, this.updateSourceBuffer().catch((i) => {
|
|
10884
10884
|
st.Events.instance.onEvent(new st.BackgroundEvent(i));
|
|
10885
|
-
})) : (console.warn(`Format ${pe.AudioFormatTag[this.privFormat.formatTag]} could not be played by MSE, streaming playback is not enabled.`), this.privAudioOutputStream = new
|
|
10885
|
+
})) : (console.warn(`Format ${pe.AudioFormatTag[this.privFormat.formatTag]} could not be played by MSE, streaming playback is not enabled.`), this.privAudioOutputStream = new fg.PullAudioOutputStreamImpl(), this.privAudioOutputStream.format = this.privFormat, this.privAudio = new Audio());
|
|
10886
10886
|
}
|
|
10887
10887
|
}
|
|
10888
10888
|
get volume() {
|
|
@@ -10946,9 +10946,9 @@ class Sg {
|
|
|
10946
10946
|
return this.privSourceBuffer !== void 0 && !this.privSourceBuffer.updating;
|
|
10947
10947
|
}
|
|
10948
10948
|
}
|
|
10949
|
-
Hi.SpeakerAudioDestination =
|
|
10949
|
+
Hi.SpeakerAudioDestination = mg;
|
|
10950
10950
|
var Lr = {}, Ya;
|
|
10951
|
-
function
|
|
10951
|
+
function Sg() {
|
|
10952
10952
|
if (Ya)
|
|
10953
10953
|
return Lr;
|
|
10954
10954
|
Ya = 1, Object.defineProperty(Lr, "__esModule", { value: !0 }), Lr.ConversationTranscriptionCanceledEventArgs = void 0;
|
|
@@ -10958,7 +10958,7 @@ function Cg() {
|
|
|
10958
10958
|
return Lr.ConversationTranscriptionCanceledEventArgs = e, Lr;
|
|
10959
10959
|
}
|
|
10960
10960
|
var Br = {}, ec;
|
|
10961
|
-
function
|
|
10961
|
+
function Cg() {
|
|
10962
10962
|
if (ec)
|
|
10963
10963
|
return Br;
|
|
10964
10964
|
ec = 1, Object.defineProperty(Br, "__esModule", { value: !0 }), Br.MeetingTranscriptionCanceledEventArgs = void 0;
|
|
@@ -10967,25 +10967,25 @@ function yg() {
|
|
|
10967
10967
|
};
|
|
10968
10968
|
return Br.MeetingTranscriptionCanceledEventArgs = e, Br;
|
|
10969
10969
|
}
|
|
10970
|
-
var
|
|
10970
|
+
var Su = {};
|
|
10971
10971
|
(function(t) {
|
|
10972
10972
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.PronunciationAssessmentGradingSystem = void 0, function(e) {
|
|
10973
10973
|
e[e.FivePoint = 1] = "FivePoint", e[e.HundredMark = 2] = "HundredMark";
|
|
10974
10974
|
}(t.PronunciationAssessmentGradingSystem || (t.PronunciationAssessmentGradingSystem = {}));
|
|
10975
|
-
})(
|
|
10976
|
-
var
|
|
10975
|
+
})(Su);
|
|
10976
|
+
var Cu = {};
|
|
10977
10977
|
(function(t) {
|
|
10978
10978
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.PronunciationAssessmentGranularity = void 0, function(e) {
|
|
10979
10979
|
e[e.Phoneme = 1] = "Phoneme", e[e.Word = 2] = "Word", e[e.FullText = 3] = "FullText";
|
|
10980
10980
|
}(t.PronunciationAssessmentGranularity || (t.PronunciationAssessmentGranularity = {}));
|
|
10981
|
-
})(
|
|
10981
|
+
})(Cu);
|
|
10982
10982
|
var qr = {}, tc;
|
|
10983
|
-
function
|
|
10983
|
+
function yg() {
|
|
10984
10984
|
if (tc)
|
|
10985
10985
|
return qr;
|
|
10986
10986
|
tc = 1, Object.defineProperty(qr, "__esModule", { value: !0 }), qr.PronunciationAssessmentConfig = void 0;
|
|
10987
10987
|
const t = b, e = R();
|
|
10988
|
-
let r = class
|
|
10988
|
+
let r = class yu {
|
|
10989
10989
|
/**
|
|
10990
10990
|
* PronunciationAssessmentConfig constructor.
|
|
10991
10991
|
* @constructor
|
|
@@ -11009,7 +11009,7 @@ function Rg() {
|
|
|
11009
11009
|
*/
|
|
11010
11010
|
static fromJSON(p) {
|
|
11011
11011
|
t.Contracts.throwIfNullOrUndefined(p, "json");
|
|
11012
|
-
const a = new
|
|
11012
|
+
const a = new yu("");
|
|
11013
11013
|
return a.privProperties = new e.PropertyCollection(), a.properties.setProperty(e.PropertyId.PronunciationAssessment_Json, p), a;
|
|
11014
11014
|
}
|
|
11015
11015
|
toJSON() {
|
|
@@ -11130,7 +11130,7 @@ function Rg() {
|
|
|
11130
11130
|
return qr.PronunciationAssessmentConfig = r, qr;
|
|
11131
11131
|
}
|
|
11132
11132
|
var ot = {}, rc;
|
|
11133
|
-
function
|
|
11133
|
+
function Rg() {
|
|
11134
11134
|
if (rc)
|
|
11135
11135
|
return ot;
|
|
11136
11136
|
rc = 1, Object.defineProperty(ot, "__esModule", { value: !0 }), ot.PronunciationAssessmentResult = ot.ContentAssessmentResult = void 0;
|
|
@@ -11181,7 +11181,7 @@ function Pg() {
|
|
|
11181
11181
|
}
|
|
11182
11182
|
}
|
|
11183
11183
|
ot.ContentAssessmentResult = r;
|
|
11184
|
-
let i = class
|
|
11184
|
+
let i = class Ru {
|
|
11185
11185
|
constructor(a) {
|
|
11186
11186
|
const s = JSON.parse(a);
|
|
11187
11187
|
t.Contracts.throwIfNullOrUndefined(s.NBest[0], "NBest"), this.privPronJson = s.NBest[0];
|
|
@@ -11197,7 +11197,7 @@ function Pg() {
|
|
|
11197
11197
|
static fromResult(a) {
|
|
11198
11198
|
t.Contracts.throwIfNullOrUndefined(a, "result");
|
|
11199
11199
|
const s = a.properties.getProperty(e.PropertyId.SpeechServiceResponse_JsonResult);
|
|
11200
|
-
return t.Contracts.throwIfNullOrUndefined(s, "json"), new
|
|
11200
|
+
return t.Contracts.throwIfNullOrUndefined(s, "json"), new Ru(s);
|
|
11201
11201
|
}
|
|
11202
11202
|
/**
|
|
11203
11203
|
* Gets the detail result of pronunciation assessment.
|
|
@@ -11282,7 +11282,7 @@ function Pg() {
|
|
|
11282
11282
|
return ot.PronunciationAssessmentResult = i, ot;
|
|
11283
11283
|
}
|
|
11284
11284
|
var Fr = {}, nc;
|
|
11285
|
-
function
|
|
11285
|
+
function Pg() {
|
|
11286
11286
|
if (nc)
|
|
11287
11287
|
return Fr;
|
|
11288
11288
|
nc = 1, Object.defineProperty(Fr, "__esModule", { value: !0 }), Fr.AvatarConfig = void 0;
|
|
@@ -11368,7 +11368,7 @@ function Eg() {
|
|
|
11368
11368
|
};
|
|
11369
11369
|
return Fr.AvatarConfig = r, Fr;
|
|
11370
11370
|
}
|
|
11371
|
-
var
|
|
11371
|
+
var Pu = {};
|
|
11372
11372
|
(function(t) {
|
|
11373
11373
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.AvatarEventArgs = t.AvatarEventTypes = void 0, function(r) {
|
|
11374
11374
|
r.SwitchedToSpeaking = "SwitchedToSpeaking", r.SwitchedToIdle = "SwitchedToIdle", r.SessionClosed = "SessionClosed";
|
|
@@ -11409,9 +11409,9 @@ var Eu = {};
|
|
|
11409
11409
|
}
|
|
11410
11410
|
}
|
|
11411
11411
|
t.AvatarEventArgs = e;
|
|
11412
|
-
})(
|
|
11412
|
+
})(Pu);
|
|
11413
11413
|
var xr = {}, Ur = {}, ic;
|
|
11414
|
-
function
|
|
11414
|
+
function Eu() {
|
|
11415
11415
|
if (ic)
|
|
11416
11416
|
return Ur;
|
|
11417
11417
|
ic = 1, Object.defineProperty(Ur, "__esModule", { value: !0 }), Ur.SpeechSynthesisConnectionFactory = void 0;
|
|
@@ -11435,11 +11435,11 @@ function Iu() {
|
|
|
11435
11435
|
return Ur.SpeechSynthesisConnectionFactory = s, Ur;
|
|
11436
11436
|
}
|
|
11437
11437
|
var sc;
|
|
11438
|
-
function
|
|
11438
|
+
function Eg() {
|
|
11439
11439
|
if (sc)
|
|
11440
11440
|
return xr;
|
|
11441
11441
|
sc = 1, Object.defineProperty(xr, "__esModule", { value: !0 }), xr.AvatarSynthesizer = void 0;
|
|
11442
|
-
const t =
|
|
11442
|
+
const t = Eu(), e = T(), r = A(), i = Je, p = R(), a = b, s = no();
|
|
11443
11443
|
let n = class extends p.Synthesizer {
|
|
11444
11444
|
/**
|
|
11445
11445
|
* Creates and initializes an instance of this class.
|
|
@@ -11567,13 +11567,13 @@ function Ig() {
|
|
|
11567
11567
|
var _t = {};
|
|
11568
11568
|
Object.defineProperty(_t, "__esModule", { value: !0 });
|
|
11569
11569
|
_t.AvatarVideoFormat = _t.Coordinate = void 0;
|
|
11570
|
-
class
|
|
11570
|
+
class Ig {
|
|
11571
11571
|
constructor(e, r) {
|
|
11572
11572
|
this.x = e, this.y = r;
|
|
11573
11573
|
}
|
|
11574
11574
|
}
|
|
11575
|
-
_t.Coordinate =
|
|
11576
|
-
class
|
|
11575
|
+
_t.Coordinate = Ig;
|
|
11576
|
+
class Tg {
|
|
11577
11577
|
/**
|
|
11578
11578
|
* Creates and initializes an instance of this class.
|
|
11579
11579
|
* @constructor
|
|
@@ -11595,9 +11595,9 @@ class Ag {
|
|
|
11595
11595
|
};
|
|
11596
11596
|
}
|
|
11597
11597
|
}
|
|
11598
|
-
_t.AvatarVideoFormat =
|
|
11598
|
+
_t.AvatarVideoFormat = Tg;
|
|
11599
11599
|
var Wr = {}, oc;
|
|
11600
|
-
function
|
|
11600
|
+
function Ag() {
|
|
11601
11601
|
if (oc)
|
|
11602
11602
|
return Wr;
|
|
11603
11603
|
oc = 1, Object.defineProperty(Wr, "__esModule", { value: !0 }), Wr.AvatarWebRTCConnectionResult = void 0;
|
|
@@ -11629,7 +11629,7 @@ function wg() {
|
|
|
11629
11629
|
return Wr.AvatarWebRTCConnectionResult = e, Wr;
|
|
11630
11630
|
}
|
|
11631
11631
|
var Vr = {}, ac;
|
|
11632
|
-
function
|
|
11632
|
+
function wg() {
|
|
11633
11633
|
if (ac)
|
|
11634
11634
|
return Vr;
|
|
11635
11635
|
ac = 1, Object.defineProperty(Vr, "__esModule", { value: !0 }), Vr.Diagnostics = void 0;
|
|
@@ -11660,7 +11660,7 @@ var cc;
|
|
|
11660
11660
|
function R() {
|
|
11661
11661
|
return cc || (cc = 1, function(t) {
|
|
11662
11662
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ConnectionEventArgs = t.CancellationErrorCode = t.CancellationDetails = t.CancellationDetailsBase = t.IntentRecognitionCanceledEventArgs = t.TranslationRecognitionCanceledEventArgs = t.NoMatchDetails = t.NoMatchReason = t.Translations = t.TranslationRecognizer = t.VoiceProfileType = t.IntentRecognizer = t.SpeechRecognizer = t.Recognizer = t.PropertyId = t.PropertyCollection = t.SpeechTranslationConfigImpl = t.SpeechTranslationConfig = t.SpeechConfigImpl = t.SpeechConfig = t.ResultReason = t.TranslationSynthesisResult = t.TranslationRecognitionResult = t.TranslationSynthesisEventArgs = t.TranslationRecognitionEventArgs = t.SpeechRecognitionCanceledEventArgs = t.MeetingTranscriptionEventArgs = t.ConversationTranscriptionEventArgs = t.SpeechRecognitionEventArgs = t.LanguageUnderstandingModel = t.IntentRecognitionResult = t.SpeechRecognitionResult = t.RecognitionResult = t.IntentRecognitionEventArgs = t.OutputFormat = t.RecognitionEventArgs = t.SessionEventArgs = t.KeywordRecognitionModel = t.PushAudioOutputStreamCallback = t.PullAudioInputStreamCallback = t.CancellationReason = t.PushAudioOutputStream = t.PullAudioOutputStream = t.AudioOutputStream = t.PushAudioInputStream = t.PullAudioInputStream = t.AudioInputStream = t.AudioFormatTag = t.AudioStreamFormat = t.AudioConfig = void 0, t.SpeechSynthesisEventArgs = t.SpeechSynthesisResult = t.SynthesisResult = t.SpeechSynthesizer = t.SpeechSynthesisOutputFormat = t.Synthesizer = t.User = t.ParticipantChangedReason = t.Participant = t.MeetingTranscriber = t.Meeting = t.ConversationTranscriptionResult = t.ConversationTranscriber = t.ConversationTranslator = t.ConversationTranslationResult = t.ConversationTranslationEventArgs = t.ConversationTranslationCanceledEventArgs = t.ConversationParticipantsChangedEventArgs = t.ConversationExpirationEventArgs = t.Conversation = t.SpeakerRecognitionCancellationDetails = t.SpeakerRecognitionResultType = t.SpeakerRecognitionResult = t.SourceLanguageConfig = t.AutoDetectSourceLanguageResult = t.AutoDetectSourceLanguageConfig = t.SpeakerVerificationModel = t.SpeakerIdentificationModel = t.SpeakerRecognizer = t.VoiceProfileClient = t.VoiceProfilePhraseResult = t.VoiceProfileCancellationDetails = t.VoiceProfileResult = t.VoiceProfileEnrollmentCancellationDetails = t.VoiceProfileEnrollmentResult = t.VoiceProfile = t.ConnectionMessage = t.ConnectionMessageEventArgs = t.BaseAudioPlayer = t.ProfanityOption = t.ServicePropertyChannel = t.TurnStatusReceivedEventArgs = t.ActivityReceivedEventArgs = t.DialogServiceConnector = t.CustomCommandsConfig = t.BotFrameworkConfig = t.DialogServiceConfig = t.PhraseListGrammar = t.Connection = t.ServiceEventArgs = void 0, t.LogLevel = t.Diagnostics = t.AvatarWebRTCConnectionResult = t.Coordinate = t.AvatarVideoFormat = t.AvatarSynthesizer = t.AvatarEventArgs = t.AvatarConfig = t.LanguageIdMode = t.PronunciationAssessmentResult = t.PronunciationAssessmentConfig = t.PronunciationAssessmentGranularity = t.PronunciationAssessmentGradingSystem = t.MeetingTranscriptionCanceledEventArgs = t.ConversationTranscriptionCanceledEventArgs = t.SpeakerAudioDestination = t.VoiceInfo = t.SynthesisVoiceType = t.SynthesisVoiceGender = t.SynthesisVoicesResult = t.SpeechSynthesisBoundaryType = t.SpeechSynthesisVisemeEventArgs = t.SpeechSynthesisBookmarkEventArgs = t.SpeechSynthesisWordBoundaryEventArgs = void 0;
|
|
11663
|
-
var e =
|
|
11663
|
+
var e = xp();
|
|
11664
11664
|
Object.defineProperty(t, "AudioConfig", { enumerable: !0, get: function() {
|
|
11665
11665
|
return e.AudioConfig;
|
|
11666
11666
|
} });
|
|
@@ -11670,7 +11670,7 @@ function R() {
|
|
|
11670
11670
|
} }), Object.defineProperty(t, "AudioFormatTag", { enumerable: !0, get: function() {
|
|
11671
11671
|
return r.AudioFormatTag;
|
|
11672
11672
|
} });
|
|
11673
|
-
var i =
|
|
11673
|
+
var i = jp();
|
|
11674
11674
|
Object.defineProperty(t, "AudioInputStream", { enumerable: !0, get: function() {
|
|
11675
11675
|
return i.AudioInputStream;
|
|
11676
11676
|
} }), Object.defineProperty(t, "PullAudioInputStream", { enumerable: !0, get: function() {
|
|
@@ -11686,7 +11686,7 @@ function R() {
|
|
|
11686
11686
|
} }), Object.defineProperty(t, "PushAudioOutputStream", { enumerable: !0, get: function() {
|
|
11687
11687
|
return p.PushAudioOutputStream;
|
|
11688
11688
|
} });
|
|
11689
|
-
var a =
|
|
11689
|
+
var a = Up;
|
|
11690
11690
|
Object.defineProperty(t, "CancellationReason", { enumerable: !0, get: function() {
|
|
11691
11691
|
return a.CancellationReason;
|
|
11692
11692
|
} });
|
|
@@ -11706,15 +11706,15 @@ function R() {
|
|
|
11706
11706
|
Object.defineProperty(t, "SessionEventArgs", { enumerable: !0, get: function() {
|
|
11707
11707
|
return c.SessionEventArgs;
|
|
11708
11708
|
} });
|
|
11709
|
-
var u =
|
|
11709
|
+
var u = tf();
|
|
11710
11710
|
Object.defineProperty(t, "RecognitionEventArgs", { enumerable: !0, get: function() {
|
|
11711
11711
|
return u.RecognitionEventArgs;
|
|
11712
11712
|
} });
|
|
11713
|
-
var d =
|
|
11713
|
+
var d = Wp;
|
|
11714
11714
|
Object.defineProperty(t, "OutputFormat", { enumerable: !0, get: function() {
|
|
11715
11715
|
return d.OutputFormat;
|
|
11716
11716
|
} });
|
|
11717
|
-
var h =
|
|
11717
|
+
var h = rf();
|
|
11718
11718
|
Object.defineProperty(t, "IntentRecognitionEventArgs", { enumerable: !0, get: function() {
|
|
11719
11719
|
return h.IntentRecognitionEventArgs;
|
|
11720
11720
|
} });
|
|
@@ -11722,11 +11722,11 @@ function R() {
|
|
|
11722
11722
|
Object.defineProperty(t, "RecognitionResult", { enumerable: !0, get: function() {
|
|
11723
11723
|
return l.RecognitionResult;
|
|
11724
11724
|
} });
|
|
11725
|
-
var f =
|
|
11725
|
+
var f = sf();
|
|
11726
11726
|
Object.defineProperty(t, "SpeechRecognitionResult", { enumerable: !0, get: function() {
|
|
11727
11727
|
return f.SpeechRecognitionResult;
|
|
11728
11728
|
} });
|
|
11729
|
-
var g =
|
|
11729
|
+
var g = of();
|
|
11730
11730
|
Object.defineProperty(t, "IntentRecognitionResult", { enumerable: !0, get: function() {
|
|
11731
11731
|
return g.IntentRecognitionResult;
|
|
11732
11732
|
} });
|
|
@@ -11734,7 +11734,7 @@ function R() {
|
|
|
11734
11734
|
Object.defineProperty(t, "LanguageUnderstandingModel", { enumerable: !0, get: function() {
|
|
11735
11735
|
return S.LanguageUnderstandingModel;
|
|
11736
11736
|
} });
|
|
11737
|
-
var v =
|
|
11737
|
+
var v = af();
|
|
11738
11738
|
Object.defineProperty(t, "SpeechRecognitionEventArgs", { enumerable: !0, get: function() {
|
|
11739
11739
|
return v.SpeechRecognitionEventArgs;
|
|
11740
11740
|
} }), Object.defineProperty(t, "ConversationTranscriptionEventArgs", { enumerable: !0, get: function() {
|
|
@@ -11742,19 +11742,19 @@ function R() {
|
|
|
11742
11742
|
} }), Object.defineProperty(t, "MeetingTranscriptionEventArgs", { enumerable: !0, get: function() {
|
|
11743
11743
|
return v.MeetingTranscriptionEventArgs;
|
|
11744
11744
|
} });
|
|
11745
|
-
var m =
|
|
11745
|
+
var m = cf();
|
|
11746
11746
|
Object.defineProperty(t, "SpeechRecognitionCanceledEventArgs", { enumerable: !0, get: function() {
|
|
11747
11747
|
return m.SpeechRecognitionCanceledEventArgs;
|
|
11748
11748
|
} });
|
|
11749
|
-
var C =
|
|
11749
|
+
var C = pf();
|
|
11750
11750
|
Object.defineProperty(t, "TranslationRecognitionEventArgs", { enumerable: !0, get: function() {
|
|
11751
11751
|
return C.TranslationRecognitionEventArgs;
|
|
11752
11752
|
} });
|
|
11753
|
-
var y =
|
|
11753
|
+
var y = uf();
|
|
11754
11754
|
Object.defineProperty(t, "TranslationSynthesisEventArgs", { enumerable: !0, get: function() {
|
|
11755
11755
|
return y.TranslationSynthesisEventArgs;
|
|
11756
11756
|
} });
|
|
11757
|
-
var E =
|
|
11757
|
+
var E = $p();
|
|
11758
11758
|
Object.defineProperty(t, "TranslationRecognitionResult", { enumerable: !0, get: function() {
|
|
11759
11759
|
return E.TranslationRecognitionResult;
|
|
11760
11760
|
} });
|
|
@@ -11762,23 +11762,23 @@ function R() {
|
|
|
11762
11762
|
Object.defineProperty(t, "TranslationSynthesisResult", { enumerable: !0, get: function() {
|
|
11763
11763
|
return I.TranslationSynthesisResult;
|
|
11764
11764
|
} });
|
|
11765
|
-
var w =
|
|
11765
|
+
var w = Kp;
|
|
11766
11766
|
Object.defineProperty(t, "ResultReason", { enumerable: !0, get: function() {
|
|
11767
11767
|
return w.ResultReason;
|
|
11768
11768
|
} });
|
|
11769
|
-
var P =
|
|
11769
|
+
var P = hf();
|
|
11770
11770
|
Object.defineProperty(t, "SpeechConfig", { enumerable: !0, get: function() {
|
|
11771
11771
|
return P.SpeechConfig;
|
|
11772
11772
|
} }), Object.defineProperty(t, "SpeechConfigImpl", { enumerable: !0, get: function() {
|
|
11773
11773
|
return P.SpeechConfigImpl;
|
|
11774
11774
|
} });
|
|
11775
|
-
var L =
|
|
11775
|
+
var L = lf();
|
|
11776
11776
|
Object.defineProperty(t, "SpeechTranslationConfig", { enumerable: !0, get: function() {
|
|
11777
11777
|
return L.SpeechTranslationConfig;
|
|
11778
11778
|
} }), Object.defineProperty(t, "SpeechTranslationConfigImpl", { enumerable: !0, get: function() {
|
|
11779
11779
|
return L.SpeechTranslationConfigImpl;
|
|
11780
11780
|
} });
|
|
11781
|
-
var q =
|
|
11781
|
+
var q = Gp();
|
|
11782
11782
|
Object.defineProperty(t, "PropertyCollection", { enumerable: !0, get: function() {
|
|
11783
11783
|
return q.PropertyCollection;
|
|
11784
11784
|
} });
|
|
@@ -11786,167 +11786,167 @@ function R() {
|
|
|
11786
11786
|
Object.defineProperty(t, "PropertyId", { enumerable: !0, get: function() {
|
|
11787
11787
|
return le.PropertyId;
|
|
11788
11788
|
} });
|
|
11789
|
-
var Ct =
|
|
11789
|
+
var Ct = vf();
|
|
11790
11790
|
Object.defineProperty(t, "Recognizer", { enumerable: !0, get: function() {
|
|
11791
11791
|
return Ct.Recognizer;
|
|
11792
11792
|
} });
|
|
11793
|
-
var ne =
|
|
11793
|
+
var ne = ff();
|
|
11794
11794
|
Object.defineProperty(t, "SpeechRecognizer", { enumerable: !0, get: function() {
|
|
11795
11795
|
return ne.SpeechRecognizer;
|
|
11796
11796
|
} });
|
|
11797
|
-
var Co =
|
|
11797
|
+
var Co = gf();
|
|
11798
11798
|
Object.defineProperty(t, "IntentRecognizer", { enumerable: !0, get: function() {
|
|
11799
11799
|
return Co.IntentRecognizer;
|
|
11800
11800
|
} });
|
|
11801
|
-
var
|
|
11801
|
+
var Xu = Zp;
|
|
11802
11802
|
Object.defineProperty(t, "VoiceProfileType", { enumerable: !0, get: function() {
|
|
11803
|
-
return
|
|
11803
|
+
return Xu.VoiceProfileType;
|
|
11804
11804
|
} });
|
|
11805
|
-
var
|
|
11805
|
+
var Zu = mf();
|
|
11806
11806
|
Object.defineProperty(t, "TranslationRecognizer", { enumerable: !0, get: function() {
|
|
11807
|
-
return
|
|
11807
|
+
return Zu.TranslationRecognizer;
|
|
11808
11808
|
} });
|
|
11809
|
-
var
|
|
11809
|
+
var Yu = Sf();
|
|
11810
11810
|
Object.defineProperty(t, "Translations", { enumerable: !0, get: function() {
|
|
11811
|
-
return
|
|
11811
|
+
return Yu.Translations;
|
|
11812
11812
|
} });
|
|
11813
|
-
var
|
|
11813
|
+
var ed = ru;
|
|
11814
11814
|
Object.defineProperty(t, "NoMatchReason", { enumerable: !0, get: function() {
|
|
11815
|
-
return
|
|
11815
|
+
return ed.NoMatchReason;
|
|
11816
11816
|
} });
|
|
11817
|
-
var
|
|
11817
|
+
var td = Cf();
|
|
11818
11818
|
Object.defineProperty(t, "NoMatchDetails", { enumerable: !0, get: function() {
|
|
11819
|
-
return
|
|
11819
|
+
return td.NoMatchDetails;
|
|
11820
11820
|
} });
|
|
11821
|
-
var
|
|
11821
|
+
var rd = Mi;
|
|
11822
11822
|
Object.defineProperty(t, "TranslationRecognitionCanceledEventArgs", { enumerable: !0, get: function() {
|
|
11823
|
-
return
|
|
11823
|
+
return rd.TranslationRecognitionCanceledEventArgs;
|
|
11824
11824
|
} });
|
|
11825
|
-
var
|
|
11825
|
+
var nd = Rf();
|
|
11826
11826
|
Object.defineProperty(t, "IntentRecognitionCanceledEventArgs", { enumerable: !0, get: function() {
|
|
11827
|
-
return
|
|
11827
|
+
return nd.IntentRecognitionCanceledEventArgs;
|
|
11828
11828
|
} });
|
|
11829
|
-
var
|
|
11829
|
+
var id = jn;
|
|
11830
11830
|
Object.defineProperty(t, "CancellationDetailsBase", { enumerable: !0, get: function() {
|
|
11831
|
-
return
|
|
11831
|
+
return id.CancellationDetailsBase;
|
|
11832
11832
|
} });
|
|
11833
|
-
var
|
|
11833
|
+
var sd = Ef();
|
|
11834
11834
|
Object.defineProperty(t, "CancellationDetails", { enumerable: !0, get: function() {
|
|
11835
|
-
return
|
|
11835
|
+
return sd.CancellationDetails;
|
|
11836
11836
|
} });
|
|
11837
|
-
var
|
|
11837
|
+
var od = su;
|
|
11838
11838
|
Object.defineProperty(t, "CancellationErrorCode", { enumerable: !0, get: function() {
|
|
11839
|
-
return
|
|
11839
|
+
return od.CancellationErrorCode;
|
|
11840
11840
|
} });
|
|
11841
|
-
var
|
|
11841
|
+
var ad = If();
|
|
11842
11842
|
Object.defineProperty(t, "ConnectionEventArgs", { enumerable: !0, get: function() {
|
|
11843
|
-
return
|
|
11843
|
+
return ad.ConnectionEventArgs;
|
|
11844
11844
|
} });
|
|
11845
|
-
var
|
|
11845
|
+
var cd = Tf();
|
|
11846
11846
|
Object.defineProperty(t, "ServiceEventArgs", { enumerable: !0, get: function() {
|
|
11847
|
-
return
|
|
11847
|
+
return cd.ServiceEventArgs;
|
|
11848
11848
|
} });
|
|
11849
|
-
var
|
|
11849
|
+
var pd = eu();
|
|
11850
11850
|
Object.defineProperty(t, "Connection", { enumerable: !0, get: function() {
|
|
11851
|
-
return
|
|
11851
|
+
return pd.Connection;
|
|
11852
11852
|
} });
|
|
11853
|
-
var
|
|
11853
|
+
var ud = Oi;
|
|
11854
11854
|
Object.defineProperty(t, "PhraseListGrammar", { enumerable: !0, get: function() {
|
|
11855
|
-
return
|
|
11855
|
+
return ud.PhraseListGrammar;
|
|
11856
11856
|
} });
|
|
11857
|
-
var
|
|
11857
|
+
var dd = Zs();
|
|
11858
11858
|
Object.defineProperty(t, "DialogServiceConfig", { enumerable: !0, get: function() {
|
|
11859
|
-
return
|
|
11859
|
+
return dd.DialogServiceConfig;
|
|
11860
11860
|
} });
|
|
11861
|
-
var
|
|
11861
|
+
var hd = Af();
|
|
11862
11862
|
Object.defineProperty(t, "BotFrameworkConfig", { enumerable: !0, get: function() {
|
|
11863
|
-
return
|
|
11863
|
+
return hd.BotFrameworkConfig;
|
|
11864
11864
|
} });
|
|
11865
|
-
var
|
|
11865
|
+
var ld = wf();
|
|
11866
11866
|
Object.defineProperty(t, "CustomCommandsConfig", { enumerable: !0, get: function() {
|
|
11867
|
-
return
|
|
11867
|
+
return ld.CustomCommandsConfig;
|
|
11868
11868
|
} });
|
|
11869
|
-
var
|
|
11869
|
+
var vd = bf();
|
|
11870
11870
|
Object.defineProperty(t, "DialogServiceConnector", { enumerable: !0, get: function() {
|
|
11871
|
-
return
|
|
11871
|
+
return vd.DialogServiceConnector;
|
|
11872
11872
|
} });
|
|
11873
|
-
var
|
|
11873
|
+
var fd = Di;
|
|
11874
11874
|
Object.defineProperty(t, "ActivityReceivedEventArgs", { enumerable: !0, get: function() {
|
|
11875
|
-
return
|
|
11875
|
+
return fd.ActivityReceivedEventArgs;
|
|
11876
11876
|
} });
|
|
11877
|
-
var
|
|
11877
|
+
var gd = ki;
|
|
11878
11878
|
Object.defineProperty(t, "TurnStatusReceivedEventArgs", { enumerable: !0, get: function() {
|
|
11879
|
-
return
|
|
11879
|
+
return gd.TurnStatusReceivedEventArgs;
|
|
11880
11880
|
} });
|
|
11881
|
-
var
|
|
11881
|
+
var md = ou;
|
|
11882
11882
|
Object.defineProperty(t, "ServicePropertyChannel", { enumerable: !0, get: function() {
|
|
11883
|
-
return
|
|
11883
|
+
return md.ServicePropertyChannel;
|
|
11884
11884
|
} });
|
|
11885
|
-
var
|
|
11885
|
+
var Sd = au;
|
|
11886
11886
|
Object.defineProperty(t, "ProfanityOption", { enumerable: !0, get: function() {
|
|
11887
|
-
return
|
|
11887
|
+
return Sd.ProfanityOption;
|
|
11888
11888
|
} });
|
|
11889
|
-
var
|
|
11889
|
+
var Cd = kf();
|
|
11890
11890
|
Object.defineProperty(t, "BaseAudioPlayer", { enumerable: !0, get: function() {
|
|
11891
|
-
return
|
|
11891
|
+
return Cd.BaseAudioPlayer;
|
|
11892
11892
|
} });
|
|
11893
|
-
var
|
|
11893
|
+
var yd = zi;
|
|
11894
11894
|
Object.defineProperty(t, "ConnectionMessageEventArgs", { enumerable: !0, get: function() {
|
|
11895
|
-
return
|
|
11895
|
+
return yd.ConnectionMessageEventArgs;
|
|
11896
11896
|
} });
|
|
11897
|
-
var
|
|
11897
|
+
var Rd = Yp();
|
|
11898
11898
|
Object.defineProperty(t, "ConnectionMessage", { enumerable: !0, get: function() {
|
|
11899
|
-
return
|
|
11899
|
+
return Rd.ConnectionMessage;
|
|
11900
11900
|
} });
|
|
11901
|
-
var
|
|
11901
|
+
var Pd = ji;
|
|
11902
11902
|
Object.defineProperty(t, "VoiceProfile", { enumerable: !0, get: function() {
|
|
11903
|
-
return
|
|
11903
|
+
return Pd.VoiceProfile;
|
|
11904
11904
|
} });
|
|
11905
|
-
var yo =
|
|
11905
|
+
var yo = jf();
|
|
11906
11906
|
Object.defineProperty(t, "VoiceProfileEnrollmentResult", { enumerable: !0, get: function() {
|
|
11907
11907
|
return yo.VoiceProfileEnrollmentResult;
|
|
11908
11908
|
} }), Object.defineProperty(t, "VoiceProfileEnrollmentCancellationDetails", { enumerable: !0, get: function() {
|
|
11909
11909
|
return yo.VoiceProfileEnrollmentCancellationDetails;
|
|
11910
11910
|
} });
|
|
11911
|
-
var Ro =
|
|
11911
|
+
var Ro = Lf();
|
|
11912
11912
|
Object.defineProperty(t, "VoiceProfileResult", { enumerable: !0, get: function() {
|
|
11913
11913
|
return Ro.VoiceProfileResult;
|
|
11914
11914
|
} }), Object.defineProperty(t, "VoiceProfileCancellationDetails", { enumerable: !0, get: function() {
|
|
11915
11915
|
return Ro.VoiceProfileCancellationDetails;
|
|
11916
11916
|
} });
|
|
11917
|
-
var
|
|
11917
|
+
var Ed = Bf();
|
|
11918
11918
|
Object.defineProperty(t, "VoiceProfilePhraseResult", { enumerable: !0, get: function() {
|
|
11919
|
-
return
|
|
11919
|
+
return Ed.VoiceProfilePhraseResult;
|
|
11920
11920
|
} });
|
|
11921
|
-
var
|
|
11921
|
+
var Id = qf();
|
|
11922
11922
|
Object.defineProperty(t, "VoiceProfileClient", { enumerable: !0, get: function() {
|
|
11923
|
-
return
|
|
11923
|
+
return Id.VoiceProfileClient;
|
|
11924
11924
|
} });
|
|
11925
|
-
var
|
|
11925
|
+
var Td = Ff();
|
|
11926
11926
|
Object.defineProperty(t, "SpeakerRecognizer", { enumerable: !0, get: function() {
|
|
11927
|
-
return
|
|
11927
|
+
return Td.SpeakerRecognizer;
|
|
11928
11928
|
} });
|
|
11929
|
-
var
|
|
11929
|
+
var Ad = xf();
|
|
11930
11930
|
Object.defineProperty(t, "SpeakerIdentificationModel", { enumerable: !0, get: function() {
|
|
11931
|
-
return
|
|
11931
|
+
return Ad.SpeakerIdentificationModel;
|
|
11932
11932
|
} });
|
|
11933
|
-
var
|
|
11933
|
+
var wd = Uf();
|
|
11934
11934
|
Object.defineProperty(t, "SpeakerVerificationModel", { enumerable: !0, get: function() {
|
|
11935
|
-
return
|
|
11935
|
+
return wd.SpeakerVerificationModel;
|
|
11936
11936
|
} });
|
|
11937
|
-
var
|
|
11937
|
+
var _d = Wf();
|
|
11938
11938
|
Object.defineProperty(t, "AutoDetectSourceLanguageConfig", { enumerable: !0, get: function() {
|
|
11939
|
-
return
|
|
11939
|
+
return _d.AutoDetectSourceLanguageConfig;
|
|
11940
11940
|
} });
|
|
11941
|
-
var
|
|
11941
|
+
var bd = Li;
|
|
11942
11942
|
Object.defineProperty(t, "AutoDetectSourceLanguageResult", { enumerable: !0, get: function() {
|
|
11943
|
-
return
|
|
11943
|
+
return bd.AutoDetectSourceLanguageResult;
|
|
11944
11944
|
} });
|
|
11945
|
-
var
|
|
11945
|
+
var Md = Bi;
|
|
11946
11946
|
Object.defineProperty(t, "SourceLanguageConfig", { enumerable: !0, get: function() {
|
|
11947
|
-
return
|
|
11947
|
+
return Md.SourceLanguageConfig;
|
|
11948
11948
|
} });
|
|
11949
|
-
var hs =
|
|
11949
|
+
var hs = Hf();
|
|
11950
11950
|
Object.defineProperty(t, "SpeakerRecognitionResult", { enumerable: !0, get: function() {
|
|
11951
11951
|
return hs.SpeakerRecognitionResult;
|
|
11952
11952
|
} }), Object.defineProperty(t, "SpeakerRecognitionResultType", { enumerable: !0, get: function() {
|
|
@@ -11984,51 +11984,51 @@ function R() {
|
|
|
11984
11984
|
} }), Object.defineProperty(t, "User", { enumerable: !0, get: function() {
|
|
11985
11985
|
return ce.User;
|
|
11986
11986
|
} });
|
|
11987
|
-
var
|
|
11987
|
+
var Od = no();
|
|
11988
11988
|
Object.defineProperty(t, "Synthesizer", { enumerable: !0, get: function() {
|
|
11989
|
-
return
|
|
11989
|
+
return Od.Synthesizer;
|
|
11990
11990
|
} });
|
|
11991
|
-
var
|
|
11991
|
+
var Dd = Js;
|
|
11992
11992
|
Object.defineProperty(t, "SpeechSynthesisOutputFormat", { enumerable: !0, get: function() {
|
|
11993
|
-
return
|
|
11993
|
+
return Dd.SpeechSynthesisOutputFormat;
|
|
11994
11994
|
} });
|
|
11995
|
-
var
|
|
11995
|
+
var kd = ag();
|
|
11996
11996
|
Object.defineProperty(t, "SpeechSynthesizer", { enumerable: !0, get: function() {
|
|
11997
|
-
return
|
|
11997
|
+
return kd.SpeechSynthesizer;
|
|
11998
11998
|
} });
|
|
11999
|
-
var
|
|
11999
|
+
var Nd = Fi;
|
|
12000
12000
|
Object.defineProperty(t, "SynthesisResult", { enumerable: !0, get: function() {
|
|
12001
|
-
return
|
|
12001
|
+
return Nd.SynthesisResult;
|
|
12002
12002
|
} });
|
|
12003
|
-
var
|
|
12003
|
+
var zd = pg();
|
|
12004
12004
|
Object.defineProperty(t, "SpeechSynthesisResult", { enumerable: !0, get: function() {
|
|
12005
|
-
return
|
|
12005
|
+
return zd.SpeechSynthesisResult;
|
|
12006
12006
|
} });
|
|
12007
|
-
var
|
|
12007
|
+
var jd = xi;
|
|
12008
12008
|
Object.defineProperty(t, "SpeechSynthesisEventArgs", { enumerable: !0, get: function() {
|
|
12009
|
-
return
|
|
12009
|
+
return jd.SpeechSynthesisEventArgs;
|
|
12010
12010
|
} });
|
|
12011
|
-
var
|
|
12011
|
+
var Ld = Ui;
|
|
12012
12012
|
Object.defineProperty(t, "SpeechSynthesisWordBoundaryEventArgs", { enumerable: !0, get: function() {
|
|
12013
|
-
return
|
|
12013
|
+
return Ld.SpeechSynthesisWordBoundaryEventArgs;
|
|
12014
12014
|
} });
|
|
12015
|
-
var
|
|
12015
|
+
var Bd = Wi;
|
|
12016
12016
|
Object.defineProperty(t, "SpeechSynthesisBookmarkEventArgs", { enumerable: !0, get: function() {
|
|
12017
|
-
return
|
|
12017
|
+
return Bd.SpeechSynthesisBookmarkEventArgs;
|
|
12018
12018
|
} });
|
|
12019
|
-
var
|
|
12019
|
+
var qd = Vi;
|
|
12020
12020
|
Object.defineProperty(t, "SpeechSynthesisVisemeEventArgs", { enumerable: !0, get: function() {
|
|
12021
|
-
return
|
|
12021
|
+
return qd.SpeechSynthesisVisemeEventArgs;
|
|
12022
12022
|
} });
|
|
12023
|
-
var
|
|
12023
|
+
var Fd = gu;
|
|
12024
12024
|
Object.defineProperty(t, "SpeechSynthesisBoundaryType", { enumerable: !0, get: function() {
|
|
12025
|
-
return
|
|
12025
|
+
return Fd.SpeechSynthesisBoundaryType;
|
|
12026
12026
|
} });
|
|
12027
|
-
var
|
|
12027
|
+
var xd = vg();
|
|
12028
12028
|
Object.defineProperty(t, "SynthesisVoicesResult", { enumerable: !0, get: function() {
|
|
12029
|
-
return
|
|
12029
|
+
return xd.SynthesisVoicesResult;
|
|
12030
12030
|
} });
|
|
12031
|
-
var ls =
|
|
12031
|
+
var ls = mu;
|
|
12032
12032
|
Object.defineProperty(t, "SynthesisVoiceGender", { enumerable: !0, get: function() {
|
|
12033
12033
|
return ls.SynthesisVoiceGender;
|
|
12034
12034
|
} }), Object.defineProperty(t, "SynthesisVoiceType", { enumerable: !0, get: function() {
|
|
@@ -12036,49 +12036,49 @@ function R() {
|
|
|
12036
12036
|
} }), Object.defineProperty(t, "VoiceInfo", { enumerable: !0, get: function() {
|
|
12037
12037
|
return ls.VoiceInfo;
|
|
12038
12038
|
} });
|
|
12039
|
-
var
|
|
12039
|
+
var Ud = Hi;
|
|
12040
12040
|
Object.defineProperty(t, "SpeakerAudioDestination", { enumerable: !0, get: function() {
|
|
12041
|
-
return
|
|
12041
|
+
return Ud.SpeakerAudioDestination;
|
|
12042
12042
|
} });
|
|
12043
|
-
var
|
|
12043
|
+
var Wd = Sg();
|
|
12044
12044
|
Object.defineProperty(t, "ConversationTranscriptionCanceledEventArgs", { enumerable: !0, get: function() {
|
|
12045
|
-
return
|
|
12045
|
+
return Wd.ConversationTranscriptionCanceledEventArgs;
|
|
12046
12046
|
} });
|
|
12047
|
-
var
|
|
12047
|
+
var Vd = Cg();
|
|
12048
12048
|
Object.defineProperty(t, "MeetingTranscriptionCanceledEventArgs", { enumerable: !0, get: function() {
|
|
12049
|
-
return
|
|
12049
|
+
return Vd.MeetingTranscriptionCanceledEventArgs;
|
|
12050
12050
|
} });
|
|
12051
|
-
var
|
|
12051
|
+
var Hd = Su;
|
|
12052
12052
|
Object.defineProperty(t, "PronunciationAssessmentGradingSystem", { enumerable: !0, get: function() {
|
|
12053
|
-
return
|
|
12053
|
+
return Hd.PronunciationAssessmentGradingSystem;
|
|
12054
12054
|
} });
|
|
12055
|
-
var
|
|
12055
|
+
var $d = Cu;
|
|
12056
12056
|
Object.defineProperty(t, "PronunciationAssessmentGranularity", { enumerable: !0, get: function() {
|
|
12057
|
-
return
|
|
12057
|
+
return $d.PronunciationAssessmentGranularity;
|
|
12058
12058
|
} });
|
|
12059
|
-
var
|
|
12059
|
+
var Kd = yg();
|
|
12060
12060
|
Object.defineProperty(t, "PronunciationAssessmentConfig", { enumerable: !0, get: function() {
|
|
12061
|
-
return
|
|
12061
|
+
return Kd.PronunciationAssessmentConfig;
|
|
12062
12062
|
} });
|
|
12063
|
-
var
|
|
12063
|
+
var Jd = Rg();
|
|
12064
12064
|
Object.defineProperty(t, "PronunciationAssessmentResult", { enumerable: !0, get: function() {
|
|
12065
|
-
return
|
|
12065
|
+
return Jd.PronunciationAssessmentResult;
|
|
12066
12066
|
} });
|
|
12067
|
-
var
|
|
12067
|
+
var Gd = eo;
|
|
12068
12068
|
Object.defineProperty(t, "LanguageIdMode", { enumerable: !0, get: function() {
|
|
12069
|
-
return
|
|
12069
|
+
return Gd.LanguageIdMode;
|
|
12070
12070
|
} });
|
|
12071
|
-
var
|
|
12071
|
+
var Qd = Pg();
|
|
12072
12072
|
Object.defineProperty(t, "AvatarConfig", { enumerable: !0, get: function() {
|
|
12073
|
-
return
|
|
12073
|
+
return Qd.AvatarConfig;
|
|
12074
12074
|
} });
|
|
12075
|
-
var
|
|
12075
|
+
var Xd = Pu;
|
|
12076
12076
|
Object.defineProperty(t, "AvatarEventArgs", { enumerable: !0, get: function() {
|
|
12077
|
-
return
|
|
12077
|
+
return Xd.AvatarEventArgs;
|
|
12078
12078
|
} });
|
|
12079
|
-
var
|
|
12079
|
+
var Zd = Eg();
|
|
12080
12080
|
Object.defineProperty(t, "AvatarSynthesizer", { enumerable: !0, get: function() {
|
|
12081
|
-
return
|
|
12081
|
+
return Zd.AvatarSynthesizer;
|
|
12082
12082
|
} });
|
|
12083
12083
|
var Po = _t;
|
|
12084
12084
|
Object.defineProperty(t, "AvatarVideoFormat", { enumerable: !0, get: function() {
|
|
@@ -12086,32 +12086,32 @@ function R() {
|
|
|
12086
12086
|
} }), Object.defineProperty(t, "Coordinate", { enumerable: !0, get: function() {
|
|
12087
12087
|
return Po.Coordinate;
|
|
12088
12088
|
} });
|
|
12089
|
-
var
|
|
12089
|
+
var Yd = Ag();
|
|
12090
12090
|
Object.defineProperty(t, "AvatarWebRTCConnectionResult", { enumerable: !0, get: function() {
|
|
12091
|
-
return
|
|
12091
|
+
return Yd.AvatarWebRTCConnectionResult;
|
|
12092
12092
|
} });
|
|
12093
|
-
var
|
|
12093
|
+
var eh = wg();
|
|
12094
12094
|
Object.defineProperty(t, "Diagnostics", { enumerable: !0, get: function() {
|
|
12095
|
-
return
|
|
12095
|
+
return eh.Diagnostics;
|
|
12096
12096
|
} });
|
|
12097
|
-
var
|
|
12097
|
+
var th = $s;
|
|
12098
12098
|
Object.defineProperty(t, "LogLevel", { enumerable: !0, get: function() {
|
|
12099
|
-
return
|
|
12099
|
+
return th.LogLevel;
|
|
12100
12100
|
} });
|
|
12101
12101
|
}(Ts)), Ts;
|
|
12102
12102
|
}
|
|
12103
12103
|
var pc;
|
|
12104
|
-
function
|
|
12104
|
+
function _g() {
|
|
12105
12105
|
if (pc)
|
|
12106
12106
|
return Wt;
|
|
12107
12107
|
pc = 1, Object.defineProperty(Wt, "__esModule", { value: !0 }), Wt.ProxyInfo = void 0;
|
|
12108
12108
|
const t = R();
|
|
12109
|
-
let e = class
|
|
12109
|
+
let e = class Iu {
|
|
12110
12110
|
constructor(i, p, a, s) {
|
|
12111
12111
|
this.privProxyHostName = i, this.privProxyPort = p, this.privProxyUserName = a, this.privProxyPassword = s;
|
|
12112
12112
|
}
|
|
12113
12113
|
static fromParameters(i) {
|
|
12114
|
-
return new
|
|
12114
|
+
return new Iu(i.getProperty(t.PropertyId.SpeechServiceConnection_ProxyHostName), parseInt(i.getProperty(t.PropertyId.SpeechServiceConnection_ProxyPort), 10), i.getProperty(t.PropertyId.SpeechServiceConnection_ProxyUserName), i.getProperty(t.PropertyId.SpeechServiceConnection_ProxyPassword));
|
|
12115
12115
|
}
|
|
12116
12116
|
static fromRecognizerConfig(i) {
|
|
12117
12117
|
return this.fromParameters(i.parameters);
|
|
@@ -12131,9 +12131,9 @@ function bg() {
|
|
|
12131
12131
|
};
|
|
12132
12132
|
return Wt.ProxyInfo = e, Wt;
|
|
12133
12133
|
}
|
|
12134
|
-
var
|
|
12135
|
-
const
|
|
12136
|
-
var
|
|
12134
|
+
var Tu = {};
|
|
12135
|
+
const bg = /* @__PURE__ */ new Set(["json", "buffer", "string"]);
|
|
12136
|
+
var Mg = (t) => (...e) => {
|
|
12137
12137
|
const r = /* @__PURE__ */ new Set();
|
|
12138
12138
|
let i, p, a, s = "";
|
|
12139
12139
|
return e.forEach((n) => {
|
|
@@ -12146,7 +12146,7 @@ var Og = (t) => (...e) => {
|
|
|
12146
12146
|
i = n;
|
|
12147
12147
|
else if (n.startsWith("http:") || n.startsWith("https:"))
|
|
12148
12148
|
s = n;
|
|
12149
|
-
else if (
|
|
12149
|
+
else if (bg.has(n))
|
|
12150
12150
|
p = n;
|
|
12151
12151
|
else
|
|
12152
12152
|
throw new Error(`Unknown encoding, ${n}`);
|
|
@@ -12164,7 +12164,7 @@ var Og = (t) => (...e) => {
|
|
|
12164
12164
|
throw new Error(`Unknown type: ${typeof n}`);
|
|
12165
12165
|
}), i || (i = "GET"), r.size === 0 && r.add(200), t(r, i, p, a, s);
|
|
12166
12166
|
};
|
|
12167
|
-
const
|
|
12167
|
+
const Og = Mg;
|
|
12168
12168
|
class io extends Error {
|
|
12169
12169
|
constructor(e, ...r) {
|
|
12170
12170
|
super(...r), Error.captureStackTrace && Error.captureStackTrace(this, io), this.name = "StatusError", this.message = e.statusMessage, this.statusCode = e.status, this.res = e, this.json = e.json.bind(e), this.text = e.text.bind(e), this.arrayBuffer = e.arrayBuffer.bind(e);
|
|
@@ -12174,7 +12174,7 @@ class io extends Error {
|
|
|
12174
12174
|
this.headers[a.toLowerCase()] = s;
|
|
12175
12175
|
}
|
|
12176
12176
|
}
|
|
12177
|
-
const
|
|
12177
|
+
const Dg = (t, e, r, i, p) => async (a, s, n = {}) => {
|
|
12178
12178
|
a = p + (a || "");
|
|
12179
12179
|
let o = new URL(a);
|
|
12180
12180
|
if (i || (i = {}), o.username && (i.Authorization = "Basic " + btoa(o.username + ":" + o.password), o = new URL(o.protocol + "//" + o.host + o.pathname + o.search)), o.protocol !== "https:" && o.protocol !== "http:")
|
|
@@ -12190,13 +12190,13 @@ const kg = (t, e, r, i, p) => async (a, s, n = {}) => {
|
|
|
12190
12190
|
throw new io(c);
|
|
12191
12191
|
return r === "json" ? c.json() : r === "buffer" ? c.arrayBuffer() : r === "string" ? c.text() : c;
|
|
12192
12192
|
};
|
|
12193
|
-
var
|
|
12193
|
+
var kg = Og(Dg);
|
|
12194
12194
|
(function(t) {
|
|
12195
12195
|
var e = N && N.__importDefault || function(s) {
|
|
12196
12196
|
return s && s.__esModule ? s : { default: s };
|
|
12197
12197
|
};
|
|
12198
12198
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.RestMessageAdapter = t.RestRequestType = void 0;
|
|
12199
|
-
const r = e(
|
|
12199
|
+
const r = e(kg), i = A();
|
|
12200
12200
|
var p;
|
|
12201
12201
|
(function(s) {
|
|
12202
12202
|
s.Get = "GET", s.Post = "POST", s.Delete = "DELETE", s.File = "file";
|
|
@@ -12259,7 +12259,7 @@ var Ng = Dg(kg);
|
|
|
12259
12259
|
}
|
|
12260
12260
|
}
|
|
12261
12261
|
t.RestMessageAdapter = a;
|
|
12262
|
-
})(
|
|
12262
|
+
})(Tu);
|
|
12263
12263
|
var Bn = {};
|
|
12264
12264
|
Object.defineProperty(Bn, "__esModule", { value: !0 });
|
|
12265
12265
|
Bn.RestConfigBase = void 0;
|
|
@@ -12323,11 +12323,11 @@ function V() {
|
|
|
12323
12323
|
for (var a in i)
|
|
12324
12324
|
a !== "default" && !Object.prototype.hasOwnProperty.call(p, a) && e(p, i, a);
|
|
12325
12325
|
};
|
|
12326
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), r(Ci, t), r(
|
|
12326
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), r(Ci, t), r(Np, t), r(bv(), t), r(Mv(), t), r(yi, t), r(Ri, t), r(kn, t), r(Pi, t), r(_g(), t), r(Tu, t), r(Bn, t);
|
|
12327
12327
|
}(Ps)), Ps;
|
|
12328
12328
|
}
|
|
12329
12329
|
var dc;
|
|
12330
|
-
function
|
|
12330
|
+
function Ng() {
|
|
12331
12331
|
if (dc)
|
|
12332
12332
|
return Ft;
|
|
12333
12333
|
dc = 1, Object.defineProperty(Ft, "__esModule", { value: !0 }), Ft.IntentConnectionFactory = void 0;
|
|
@@ -12407,7 +12407,7 @@ function zg() {
|
|
|
12407
12407
|
return Ft.IntentConnectionFactory = a, Ft;
|
|
12408
12408
|
}
|
|
12409
12409
|
var at = {}, hc;
|
|
12410
|
-
function
|
|
12410
|
+
function zg() {
|
|
12411
12411
|
if (hc)
|
|
12412
12412
|
return at;
|
|
12413
12413
|
hc = 1, Object.defineProperty(at, "__esModule", { value: !0 }), at.VoiceProfileConnectionFactory = at.SpeakerRecognitionConnectionFactory = void 0;
|
|
@@ -12589,68 +12589,68 @@ class so extends Ms.ConnectionMessage {
|
|
|
12589
12589
|
}
|
|
12590
12590
|
}
|
|
12591
12591
|
Ne.SpeechConnectionMessage = so;
|
|
12592
|
-
var
|
|
12592
|
+
var Au = {};
|
|
12593
12593
|
(function(t) {
|
|
12594
12594
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.SegmentationMode = void 0, function(e) {
|
|
12595
12595
|
e.Normal = "Normal", e.Disabled = "Disabled", e.Custom = "Custom", e.Semantic = "Semantic";
|
|
12596
12596
|
}(t.SegmentationMode || (t.SegmentationMode = {}));
|
|
12597
|
-
})(
|
|
12598
|
-
var
|
|
12597
|
+
})(Au);
|
|
12598
|
+
var wu = {};
|
|
12599
12599
|
(function(t) {
|
|
12600
12600
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.NextAction = void 0, function(e) {
|
|
12601
12601
|
e.None = "None", e.Synthesize = "Synthesize";
|
|
12602
12602
|
}(t.NextAction || (t.NextAction = {}));
|
|
12603
|
-
})(
|
|
12604
|
-
var
|
|
12603
|
+
})(wu);
|
|
12604
|
+
var _u = {};
|
|
12605
12605
|
(function(t) {
|
|
12606
12606
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.Mode = void 0, function(e) {
|
|
12607
12607
|
e.None = "None", e.Always = "Always";
|
|
12608
12608
|
}(t.Mode || (t.Mode = {}));
|
|
12609
|
-
})(
|
|
12610
|
-
var
|
|
12609
|
+
})(_u);
|
|
12610
|
+
var bu = {};
|
|
12611
12611
|
(function(t) {
|
|
12612
12612
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.LanguageIdDetectionPriority = t.LanguageIdDetectionMode = void 0, function(e) {
|
|
12613
12613
|
e.DetectAtAudioStart = "DetectAtAudioStart", e.DetectContinuous = "DetectContinuous", e.DetectSegments = "DetectSegments";
|
|
12614
12614
|
}(t.LanguageIdDetectionMode || (t.LanguageIdDetectionMode = {})), function(e) {
|
|
12615
12615
|
e.Auto = "Auto", e.PrioritizeLatency = "PrioritizeLatency", e.PrioritizeAccuracy = "PrioritizeAccuracy";
|
|
12616
12616
|
}(t.LanguageIdDetectionPriority || (t.LanguageIdDetectionPriority = {}));
|
|
12617
|
-
})(
|
|
12618
|
-
var
|
|
12617
|
+
})(bu);
|
|
12618
|
+
var Mu = {};
|
|
12619
12619
|
(function(t) {
|
|
12620
12620
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.NextAction = void 0, function(e) {
|
|
12621
12621
|
e.Recognize = "Recognize", e.None = "None";
|
|
12622
12622
|
}(t.NextAction || (t.NextAction = {}));
|
|
12623
|
-
})(
|
|
12624
|
-
var
|
|
12623
|
+
})(Mu);
|
|
12624
|
+
var Ou = {};
|
|
12625
12625
|
(function(t) {
|
|
12626
12626
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.OnUnknownAction = void 0, function(e) {
|
|
12627
12627
|
e.RecognizeWithDefaultLanguage = "RecognizeWithDefaultLanguage", e.None = "None";
|
|
12628
12628
|
}(t.OnUnknownAction || (t.OnUnknownAction = {}));
|
|
12629
|
-
})(
|
|
12630
|
-
var
|
|
12629
|
+
})(Ou);
|
|
12630
|
+
var Du = {};
|
|
12631
12631
|
(function(t) {
|
|
12632
12632
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ResultType = void 0, function(e) {
|
|
12633
12633
|
e.Auto = "Auto", e.StableFragment = "StableFragment", e.Hypothesis = "Hypothesis", e.None = "None";
|
|
12634
12634
|
}(t.ResultType || (t.ResultType = {}));
|
|
12635
|
-
})(
|
|
12636
|
-
var
|
|
12635
|
+
})(Du);
|
|
12636
|
+
var ku = {};
|
|
12637
12637
|
(function(t) {
|
|
12638
12638
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.PhraseResultOutputType = void 0, function(e) {
|
|
12639
12639
|
e.Always = "Always", e.None = "None";
|
|
12640
12640
|
}(t.PhraseResultOutputType || (t.PhraseResultOutputType = {}));
|
|
12641
|
-
})(
|
|
12642
|
-
var
|
|
12641
|
+
})(ku);
|
|
12642
|
+
var Nu = {};
|
|
12643
12643
|
(function(t) {
|
|
12644
12644
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.NextAction = void 0, function(e) {
|
|
12645
12645
|
e.None = "None", e.Translate = "Translate";
|
|
12646
12646
|
}(t.NextAction || (t.NextAction = {}));
|
|
12647
|
-
})(
|
|
12647
|
+
})(Nu);
|
|
12648
12648
|
var lc;
|
|
12649
|
-
function
|
|
12649
|
+
function jg() {
|
|
12650
12650
|
if (lc)
|
|
12651
12651
|
return Hr;
|
|
12652
12652
|
lc = 1, Object.defineProperty(Hr, "__esModule", { value: !0 }), Hr.ServiceRecognizerBase = void 0;
|
|
12653
|
-
const t = V(), e = A(), r = R(), i = T(), p = Ne, a =
|
|
12653
|
+
const t = V(), e = A(), r = R(), i = T(), p = Ne, a = Au, s = he, n = wu, o = _u, c = bu, u = Mu, d = Ou, h = Du, l = ku, f = Nu;
|
|
12654
12654
|
let g = class Pn {
|
|
12655
12655
|
constructor(v, m, C, y, E) {
|
|
12656
12656
|
if (this.privConnectionConfigurationPromise = void 0, this.privConnectionPromise = void 0, this.privSetTimeout = setTimeout, this.privIsLiveAudio = !1, this.privAverageBytesPerMs = 0, this.privEnableSpeakerId = !1, this.privExpectContentAssessmentResponse = !1, this.recognizeOverride = void 0, this.recognizeSpeaker = void 0, this.disconnectOverride = void 0, this.receiveMessageOverride = void 0, this.sendPrePayloadJSONOverride = void 0, this.postConnectImplOverride = void 0, this.configConnectionOverride = void 0, this.handleSpeechPhraseMessage = void 0, this.handleSpeechHypothesisMessage = void 0, !v)
|
|
@@ -13088,7 +13088,7 @@ function Lg() {
|
|
|
13088
13088
|
return Hr.ServiceRecognizerBase = g, g.telemetryDataEnabled = !0, Hr;
|
|
13089
13089
|
}
|
|
13090
13090
|
var $r = {}, vc;
|
|
13091
|
-
function
|
|
13091
|
+
function Lg() {
|
|
13092
13092
|
if (vc)
|
|
13093
13093
|
return $r;
|
|
13094
13094
|
vc = 1, Object.defineProperty($r, "__esModule", { value: !0 }), $r.ConversationServiceRecognizer = void 0;
|
|
@@ -13145,7 +13145,7 @@ function Bg() {
|
|
|
13145
13145
|
return $r.ConversationServiceRecognizer = r, $r;
|
|
13146
13146
|
}
|
|
13147
13147
|
var Os = {}, fc;
|
|
13148
|
-
function
|
|
13148
|
+
function Bg() {
|
|
13149
13149
|
return fc || (fc = 1, function(t) {
|
|
13150
13150
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.RecognizerConfig = t.SpeechResultFormat = void 0;
|
|
13151
13151
|
const e = R(), r = T(), i = he;
|
|
@@ -13209,14 +13209,14 @@ function qg() {
|
|
|
13209
13209
|
t.RecognizerConfig = p;
|
|
13210
13210
|
}(Os)), Os;
|
|
13211
13211
|
}
|
|
13212
|
-
var
|
|
13213
|
-
Object.defineProperty(
|
|
13212
|
+
var zu = {};
|
|
13213
|
+
Object.defineProperty(zu, "__esModule", { value: !0 });
|
|
13214
13214
|
var Ki = {};
|
|
13215
13215
|
Object.defineProperty(Ki, "__esModule", { value: !0 });
|
|
13216
13216
|
Ki.WebsocketMessageFormatter = void 0;
|
|
13217
13217
|
const ve = A(), gc = `\r
|
|
13218
13218
|
`;
|
|
13219
|
-
class
|
|
13219
|
+
class qg {
|
|
13220
13220
|
toConnectionMessage(e) {
|
|
13221
13221
|
const r = new ve.Deferred();
|
|
13222
13222
|
try {
|
|
@@ -13296,9 +13296,9 @@ class Fg {
|
|
|
13296
13296
|
return r;
|
|
13297
13297
|
}
|
|
13298
13298
|
}
|
|
13299
|
-
Ki.WebsocketMessageFormatter =
|
|
13299
|
+
Ki.WebsocketMessageFormatter = qg;
|
|
13300
13300
|
var Kr = {}, mc;
|
|
13301
|
-
function
|
|
13301
|
+
function Fg() {
|
|
13302
13302
|
if (mc)
|
|
13303
13303
|
return Kr;
|
|
13304
13304
|
mc = 1, Object.defineProperty(Kr, "__esModule", { value: !0 }), Kr.SpeechConnectionFactory = void 0;
|
|
@@ -13335,7 +13335,7 @@ function xg() {
|
|
|
13335
13335
|
return Kr.SpeechConnectionFactory = o, Kr;
|
|
13336
13336
|
}
|
|
13337
13337
|
var Jr = {}, Sc;
|
|
13338
|
-
function
|
|
13338
|
+
function xg() {
|
|
13339
13339
|
if (Sc)
|
|
13340
13340
|
return Jr;
|
|
13341
13341
|
Sc = 1, Object.defineProperty(Jr, "__esModule", { value: !0 }), Jr.ConversationTranscriberConnectionFactory = void 0;
|
|
@@ -13378,7 +13378,7 @@ function Ug() {
|
|
|
13378
13378
|
return Jr.ConversationTranscriberConnectionFactory = n, Jr;
|
|
13379
13379
|
}
|
|
13380
13380
|
var Gr = {}, Cc;
|
|
13381
|
-
function
|
|
13381
|
+
function Ug() {
|
|
13382
13382
|
if (Cc)
|
|
13383
13383
|
return Gr;
|
|
13384
13384
|
Cc = 1, Object.defineProperty(Gr, "__esModule", { value: !0 }), Gr.TranscriberConnectionFactory = void 0;
|
|
@@ -13406,7 +13406,7 @@ function Wg() {
|
|
|
13406
13406
|
return Gr.TranscriberConnectionFactory = s, Gr;
|
|
13407
13407
|
}
|
|
13408
13408
|
var Qr = {}, yc;
|
|
13409
|
-
function
|
|
13409
|
+
function Wg() {
|
|
13410
13410
|
if (yc)
|
|
13411
13411
|
return Qr;
|
|
13412
13412
|
yc = 1, Object.defineProperty(Qr, "__esModule", { value: !0 }), Qr.TranslationConnectionFactory = void 0;
|
|
@@ -13441,7 +13441,7 @@ function Vg() {
|
|
|
13441
13441
|
return Qr.TranslationConnectionFactory = o, Qr;
|
|
13442
13442
|
}
|
|
13443
13443
|
var Xr = {}, Rc;
|
|
13444
|
-
function
|
|
13444
|
+
function Vg() {
|
|
13445
13445
|
if (Rc)
|
|
13446
13446
|
return Xr;
|
|
13447
13447
|
Rc = 1, Object.defineProperty(Xr, "__esModule", { value: !0 }), Xr.EnumTranslation = void 0;
|
|
@@ -13528,26 +13528,26 @@ function Hg() {
|
|
|
13528
13528
|
};
|
|
13529
13529
|
return Xr.EnumTranslation = r, Xr;
|
|
13530
13530
|
}
|
|
13531
|
-
var
|
|
13531
|
+
var ju = {};
|
|
13532
13532
|
(function(t) {
|
|
13533
13533
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.RecognitionStatus = t.SynthesisStatus = void 0, function(e) {
|
|
13534
13534
|
e[e.Success = 0] = "Success", e[e.SynthesisEnd = 1] = "SynthesisEnd", e[e.Error = 2] = "Error";
|
|
13535
13535
|
}(t.SynthesisStatus || (t.SynthesisStatus = {})), function(e) {
|
|
13536
13536
|
e[e.Success = 0] = "Success", e[e.NoMatch = 1] = "NoMatch", e[e.InitialSilenceTimeout = 2] = "InitialSilenceTimeout", e[e.BabbleTimeout = 3] = "BabbleTimeout", e[e.Error = 4] = "Error", e[e.EndOfDictation = 5] = "EndOfDictation", e[e.TooManyRequests = 6] = "TooManyRequests", e[e.BadRequest = 7] = "BadRequest", e[e.Forbidden = 8] = "Forbidden";
|
|
13537
13537
|
}(t.RecognitionStatus || (t.RecognitionStatus = {}));
|
|
13538
|
-
})(
|
|
13538
|
+
})(ju);
|
|
13539
13539
|
var Zr = {}, Pc;
|
|
13540
|
-
function
|
|
13540
|
+
function Hg() {
|
|
13541
13541
|
if (Pc)
|
|
13542
13542
|
return Zr;
|
|
13543
13543
|
Pc = 1, Object.defineProperty(Zr, "__esModule", { value: !0 }), Zr.TranslationSynthesisEnd = void 0;
|
|
13544
13544
|
const t = T();
|
|
13545
|
-
let e = class
|
|
13545
|
+
let e = class Lu {
|
|
13546
13546
|
constructor(i) {
|
|
13547
13547
|
this.privSynthesisEnd = JSON.parse(i), this.privSynthesisEnd.SynthesisStatus && (this.privSynthesisEnd.SynthesisStatus = t.SynthesisStatus[this.privSynthesisEnd.SynthesisStatus]), this.privSynthesisEnd.Status && (this.privSynthesisEnd.SynthesisStatus = t.SynthesisStatus[this.privSynthesisEnd.Status]);
|
|
13548
13548
|
}
|
|
13549
13549
|
static fromJSON(i) {
|
|
13550
|
-
return new
|
|
13550
|
+
return new Lu(i);
|
|
13551
13551
|
}
|
|
13552
13552
|
get SynthesisStatus() {
|
|
13553
13553
|
return this.privSynthesisEnd.SynthesisStatus;
|
|
@@ -13561,7 +13561,7 @@ function $g() {
|
|
|
13561
13561
|
var Ji = {};
|
|
13562
13562
|
Object.defineProperty(Ji, "__esModule", { value: !0 });
|
|
13563
13563
|
Ji.TranslationHypothesis = void 0;
|
|
13564
|
-
const
|
|
13564
|
+
const $g = b, Ec = gi;
|
|
13565
13565
|
class Gn {
|
|
13566
13566
|
constructor(e, r) {
|
|
13567
13567
|
this.privTranslationHypothesis = e, this.privTranslationHypothesis.Offset += r, this.privTranslationHypothesis.Translation.TranslationStatus = this.mapTranslationStatus(this.privTranslationHypothesis.Translation.TranslationStatus);
|
|
@@ -13570,7 +13570,7 @@ class Gn {
|
|
|
13570
13570
|
return new Gn(JSON.parse(e), r);
|
|
13571
13571
|
}
|
|
13572
13572
|
static fromTranslationResponse(e, r) {
|
|
13573
|
-
|
|
13573
|
+
$g.Contracts.throwIfNullOrUndefined(e, "translationHypothesis");
|
|
13574
13574
|
const i = e.SpeechHypothesis;
|
|
13575
13575
|
return e.SpeechHypothesis = void 0, i.Translation = e, new Gn(i, r);
|
|
13576
13576
|
}
|
|
@@ -13606,7 +13606,7 @@ class Gn {
|
|
|
13606
13606
|
}
|
|
13607
13607
|
Ji.TranslationHypothesis = Gn;
|
|
13608
13608
|
var Yr = {}, Ic;
|
|
13609
|
-
function
|
|
13609
|
+
function Kg() {
|
|
13610
13610
|
if (Ic)
|
|
13611
13611
|
return Yr;
|
|
13612
13612
|
Ic = 1, Object.defineProperty(Yr, "__esModule", { value: !0 }), Yr.TranslationPhrase = void 0;
|
|
@@ -13672,7 +13672,7 @@ function Jg() {
|
|
|
13672
13672
|
return Yr.TranslationPhrase = i, Yr;
|
|
13673
13673
|
}
|
|
13674
13674
|
var en = {}, Tc;
|
|
13675
|
-
function
|
|
13675
|
+
function Jg() {
|
|
13676
13676
|
if (Tc)
|
|
13677
13677
|
return en;
|
|
13678
13678
|
Tc = 1, Object.defineProperty(en, "__esModule", { value: !0 }), en.TranslationServiceRecognizer = void 0;
|
|
@@ -13939,7 +13939,7 @@ class co {
|
|
|
13939
13939
|
}
|
|
13940
13940
|
Xi.SpeechKeyword = co;
|
|
13941
13941
|
var tn = {}, Ac;
|
|
13942
|
-
function
|
|
13942
|
+
function Gg() {
|
|
13943
13943
|
if (Ac)
|
|
13944
13944
|
return tn;
|
|
13945
13945
|
Ac = 1, Object.defineProperty(tn, "__esModule", { value: !0 }), tn.SpeechServiceRecognizer = void 0;
|
|
@@ -14080,20 +14080,20 @@ function Qg() {
|
|
|
14080
14080
|
};
|
|
14081
14081
|
return tn.SpeechServiceRecognizer = r, tn;
|
|
14082
14082
|
}
|
|
14083
|
-
var rn = {},
|
|
14083
|
+
var rn = {}, Bu = {};
|
|
14084
14084
|
(function(t) {
|
|
14085
14085
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.IdentityProvider = t.SpeakerDiarizationMode = void 0, function(e) {
|
|
14086
14086
|
e.None = "None", e.Identity = "Identity", e.Anonymous = "Anonymous";
|
|
14087
14087
|
}(t.SpeakerDiarizationMode || (t.SpeakerDiarizationMode = {})), function(e) {
|
|
14088
14088
|
e.CallCenter = "CallCenter";
|
|
14089
14089
|
}(t.IdentityProvider || (t.IdentityProvider = {}));
|
|
14090
|
-
})(
|
|
14090
|
+
})(Bu);
|
|
14091
14091
|
var wc;
|
|
14092
|
-
function
|
|
14092
|
+
function Qg() {
|
|
14093
14093
|
if (wc)
|
|
14094
14094
|
return rn;
|
|
14095
14095
|
wc = 1, Object.defineProperty(rn, "__esModule", { value: !0 }), rn.ConversationTranscriptionServiceRecognizer = void 0;
|
|
14096
|
-
const t = R(), e = T(), r =
|
|
14096
|
+
const t = R(), e = T(), r = Bu, i = he;
|
|
14097
14097
|
let p = class extends e.ServiceRecognizerBase {
|
|
14098
14098
|
constructor(s, n, o, c, u) {
|
|
14099
14099
|
super(s, n, o, c, u), this.privConversationTranscriber = u, this.setSpeakerDiarizationJson();
|
|
@@ -14162,7 +14162,7 @@ function Xg() {
|
|
|
14162
14162
|
return rn.ConversationTranscriptionServiceRecognizer = p, rn;
|
|
14163
14163
|
}
|
|
14164
14164
|
var nn = {}, _c;
|
|
14165
|
-
function
|
|
14165
|
+
function Xg() {
|
|
14166
14166
|
if (_c)
|
|
14167
14167
|
return nn;
|
|
14168
14168
|
_c = 1, Object.defineProperty(nn, "__esModule", { value: !0 }), nn.TranscriptionServiceRecognizer = void 0;
|
|
@@ -14280,17 +14280,17 @@ function Zg() {
|
|
|
14280
14280
|
return nn.TranscriptionServiceRecognizer = p, nn;
|
|
14281
14281
|
}
|
|
14282
14282
|
var sn = {}, bc;
|
|
14283
|
-
function
|
|
14283
|
+
function Zg() {
|
|
14284
14284
|
if (bc)
|
|
14285
14285
|
return sn;
|
|
14286
14286
|
bc = 1, Object.defineProperty(sn, "__esModule", { value: !0 }), sn.DetailedSpeechPhrase = void 0;
|
|
14287
14287
|
const t = T();
|
|
14288
|
-
let e = class
|
|
14288
|
+
let e = class qu {
|
|
14289
14289
|
constructor(i, p) {
|
|
14290
14290
|
this.privDetailedSpeechPhrase = JSON.parse(i), this.privDetailedSpeechPhrase.RecognitionStatus = this.mapRecognitionStatus(this.privDetailedSpeechPhrase.RecognitionStatus), this.updateOffsets(p);
|
|
14291
14291
|
}
|
|
14292
14292
|
static fromJSON(i, p) {
|
|
14293
|
-
return new
|
|
14293
|
+
return new qu(i, p);
|
|
14294
14294
|
}
|
|
14295
14295
|
updateOffsets(i) {
|
|
14296
14296
|
if (this.privDetailedSpeechPhrase.Offset += i, this.privDetailedSpeechPhrase.NBest)
|
|
@@ -14344,17 +14344,17 @@ function Yg() {
|
|
|
14344
14344
|
return sn.DetailedSpeechPhrase = e, sn;
|
|
14345
14345
|
}
|
|
14346
14346
|
var on = {}, Mc;
|
|
14347
|
-
function
|
|
14347
|
+
function Yg() {
|
|
14348
14348
|
if (Mc)
|
|
14349
14349
|
return on;
|
|
14350
14350
|
Mc = 1, Object.defineProperty(on, "__esModule", { value: !0 }), on.SimpleSpeechPhrase = void 0;
|
|
14351
14351
|
const t = T();
|
|
14352
|
-
let e = class
|
|
14352
|
+
let e = class Fu {
|
|
14353
14353
|
constructor(i, p = 0) {
|
|
14354
14354
|
this.privSimpleSpeechPhrase = JSON.parse(i), this.privSimpleSpeechPhrase.RecognitionStatus = this.mapRecognitionStatus(this.privSimpleSpeechPhrase.RecognitionStatus), this.updateOffset(p);
|
|
14355
14355
|
}
|
|
14356
14356
|
static fromJSON(i, p) {
|
|
14357
|
-
return new
|
|
14357
|
+
return new Fu(i, p);
|
|
14358
14358
|
}
|
|
14359
14359
|
updateOffset(i) {
|
|
14360
14360
|
this.privSimpleSpeechPhrase.Offset += i;
|
|
@@ -14399,7 +14399,7 @@ function em() {
|
|
|
14399
14399
|
var Zi = {};
|
|
14400
14400
|
Object.defineProperty(Zi, "__esModule", { value: !0 });
|
|
14401
14401
|
Zi.AddedLmIntent = void 0;
|
|
14402
|
-
class
|
|
14402
|
+
class em {
|
|
14403
14403
|
/**
|
|
14404
14404
|
* Creates and initializes an instance of this class.
|
|
14405
14405
|
* @constructor
|
|
@@ -14410,9 +14410,9 @@ class tm {
|
|
|
14410
14410
|
this.modelImpl = e, this.intentName = r;
|
|
14411
14411
|
}
|
|
14412
14412
|
}
|
|
14413
|
-
Zi.AddedLmIntent =
|
|
14413
|
+
Zi.AddedLmIntent = em;
|
|
14414
14414
|
var an = {}, Oc;
|
|
14415
|
-
function
|
|
14415
|
+
function tm() {
|
|
14416
14416
|
if (Oc)
|
|
14417
14417
|
return an;
|
|
14418
14418
|
Oc = 1, Object.defineProperty(an, "__esModule", { value: !0 }), an.IntentServiceRecognizer = void 0;
|
|
@@ -14554,13 +14554,13 @@ class po {
|
|
|
14554
14554
|
}
|
|
14555
14555
|
}
|
|
14556
14556
|
Yi.IntentResponse = po;
|
|
14557
|
-
var
|
|
14558
|
-
Object.defineProperty(
|
|
14557
|
+
var xu = {};
|
|
14558
|
+
Object.defineProperty(xu, "__esModule", { value: !0 });
|
|
14559
14559
|
var es = {}, ts = {};
|
|
14560
14560
|
Object.defineProperty(ts, "__esModule", { value: !0 });
|
|
14561
14561
|
ts.ServiceTelemetryListener = void 0;
|
|
14562
14562
|
const Ae = A(), Dc = $i;
|
|
14563
|
-
class
|
|
14563
|
+
class rm {
|
|
14564
14564
|
constructor(e, r, i) {
|
|
14565
14565
|
this.privIsDisposed = !1, this.privListeningTriggerMetric = null, this.privMicMetric = null, this.privConnectionEstablishMetric = null, this.privRequestId = e, this.privAudioSourceId = r, this.privAudioNodeId = i, this.privReceivedMessages = {}, this.privPhraseLatencies = [], this.privHypothesisLatencies = [];
|
|
14566
14566
|
}
|
|
@@ -14654,11 +14654,11 @@ class nm {
|
|
|
14654
14654
|
}
|
|
14655
14655
|
}
|
|
14656
14656
|
}
|
|
14657
|
-
ts.ServiceTelemetryListener =
|
|
14657
|
+
ts.ServiceTelemetryListener = rm;
|
|
14658
14658
|
Object.defineProperty(es, "__esModule", { value: !0 });
|
|
14659
14659
|
es.RequestSession = void 0;
|
|
14660
|
-
const Pt = A(), Wn = $i,
|
|
14661
|
-
class
|
|
14660
|
+
const Pt = A(), Wn = $i, nm = ts;
|
|
14661
|
+
class im {
|
|
14662
14662
|
constructor(e) {
|
|
14663
14663
|
this.privIsDisposed = !1, this.privDetachables = new Array(), this.privIsAudioNodeDetached = !1, this.privIsRecognizing = !1, this.privIsSpeechEnded = !1, this.privTurnStartAudioOffset = 0, this.privLastRecoOffset = 0, this.privHypothesisReceived = !1, this.privBytesSent = 0, this.privRecognitionBytesSent = 0, this.privRecogNumber = 0, this.privInTurn = !1, this.privConnectionAttempts = 0, this.privAudioSourceId = e, this.privRequestId = (0, Pt.createNoDashGuid)(), this.privAudioNodeId = (0, Pt.createNoDashGuid)(), this.privTurnDeferral = new Pt.Deferred(), this.privTurnDeferral.resolve();
|
|
14664
14664
|
}
|
|
@@ -14703,7 +14703,7 @@ class sm {
|
|
|
14703
14703
|
this.privServiceTelemetryListener && this.privDetachables.push(e.attachListener(this.privServiceTelemetryListener));
|
|
14704
14704
|
}
|
|
14705
14705
|
startNewRecognition() {
|
|
14706
|
-
this.privRecognitionBytesSent = 0, this.privIsSpeechEnded = !1, this.privIsRecognizing = !0, this.privTurnStartAudioOffset = 0, this.privLastRecoOffset = 0, this.privRecogNumber++, this.privServiceTelemetryListener = new
|
|
14706
|
+
this.privRecognitionBytesSent = 0, this.privIsSpeechEnded = !1, this.privIsRecognizing = !0, this.privTurnStartAudioOffset = 0, this.privLastRecoOffset = 0, this.privRecogNumber++, this.privServiceTelemetryListener = new nm.ServiceTelemetryListener(this.privRequestId, this.privAudioSourceId, this.privAudioNodeId), this.onEvent(new Wn.RecognitionTriggeredEvent(this.requestId, this.privSessionId, this.privAudioSourceId, this.privAudioNodeId));
|
|
14707
14707
|
}
|
|
14708
14708
|
async onAudioSourceAttachCompleted(e, r) {
|
|
14709
14709
|
this.privAudioNode = e, this.privIsAudioNodeDetached = !1, r ? await this.onComplete() : this.onEvent(new Wn.ListeningStartedEvent(this.privRequestId, this.privSessionId, this.privAudioSourceId, this.privAudioNodeId));
|
|
@@ -14775,8 +14775,8 @@ class sm {
|
|
|
14775
14775
|
this.privIsAudioNodeDetached || (this.privIsAudioNodeDetached = !0, this.privAudioNode && await this.privAudioNode.detach());
|
|
14776
14776
|
}
|
|
14777
14777
|
}
|
|
14778
|
-
es.RequestSession =
|
|
14779
|
-
var rs = {},
|
|
14778
|
+
es.RequestSession = im;
|
|
14779
|
+
var rs = {}, Uu = {};
|
|
14780
14780
|
(function(t) {
|
|
14781
14781
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.TentativePhraseResultsOption = t.OutputFormat = t.PhraseExtension = t.PhraseOption = void 0, function(e) {
|
|
14782
14782
|
e.WordTimings = "WordTimings", e.SNR = "SNR", e.Pronunciation = "Pronunciation", e.WordPronunciation = "WordPronunciation", e.WordConfidence = "WordConfidence", e.Words = "Words", e.Sentiment = "Sentiment", e.PronunciationAssessment = "PronunciationAssessment", e.ContentAssessment = "ContentAssessment", e.PhraseAMScore = "PhraseAMScore", e.PhraseLMScore = "PhraseLMScore", e.WordAMScore = "WordAMScore", e.WordLMScore = "WordLMScore", e.RuleTree = "RuleTree", e.NBestTimings = "NBestTimings", e.DecoderDiagnostics = "DecoderDiagnostics", e.DisplayWordTimings = "DisplayWordTimings", e.DisplayWords = "DisplayWords";
|
|
@@ -14787,11 +14787,11 @@ var rs = {}, Wu = {};
|
|
|
14787
14787
|
}(t.OutputFormat || (t.OutputFormat = {})), function(e) {
|
|
14788
14788
|
e.None = "None", e.Always = "Always";
|
|
14789
14789
|
}(t.TentativePhraseResultsOption || (t.TentativePhraseResultsOption = {}));
|
|
14790
|
-
})(
|
|
14790
|
+
})(Uu);
|
|
14791
14791
|
Object.defineProperty(rs, "__esModule", { value: !0 });
|
|
14792
14792
|
rs.SpeechContext = void 0;
|
|
14793
|
-
const
|
|
14794
|
-
class
|
|
14793
|
+
const sm = he, je = Uu;
|
|
14794
|
+
class om {
|
|
14795
14795
|
constructor(e) {
|
|
14796
14796
|
this.privContext = {}, this.privDynamicGrammar = e;
|
|
14797
14797
|
}
|
|
@@ -14810,7 +14810,7 @@ class am {
|
|
|
14810
14810
|
}
|
|
14811
14811
|
}), this.privContext.phraseDetection.enrichment === void 0 && (this.privContext.phraseDetection.enrichment = {
|
|
14812
14812
|
pronunciationAssessment: {}
|
|
14813
|
-
}), this.privContext.phraseDetection.enrichment.pronunciationAssessment = JSON.parse(e) || {}, i && (this.privContext.phraseDetection.mode =
|
|
14813
|
+
}), this.privContext.phraseDetection.enrichment.pronunciationAssessment = JSON.parse(e) || {}, i && (this.privContext.phraseDetection.mode = sm.RecognitionMode.Conversation), this.setWordLevelTimings(), this.privContext.phraseOutput.detailed.options.push(je.PhraseOption.PronunciationAssessment), this.privContext.phraseOutput.detailed.options.indexOf(je.PhraseOption.SNR) === -1 && this.privContext.phraseOutput.detailed.options.push(je.PhraseOption.SNR), r && (this.privContext.phraseDetection.enrichment.contentAssessment = {
|
|
14814
14814
|
topic: r
|
|
14815
14815
|
}, this.privContext.phraseOutput.detailed.options.push(je.PhraseOption.ContentAssessment));
|
|
14816
14816
|
}
|
|
@@ -14840,19 +14840,19 @@ class am {
|
|
|
14840
14840
|
return this.privContext.dgi = e, JSON.stringify(this.privContext);
|
|
14841
14841
|
}
|
|
14842
14842
|
}
|
|
14843
|
-
rs.SpeechContext =
|
|
14844
|
-
var ns = {},
|
|
14843
|
+
rs.SpeechContext = om;
|
|
14844
|
+
var ns = {}, Wu = {};
|
|
14845
14845
|
(function(t) {
|
|
14846
14846
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.SubstringMatchType = t.GroupType = void 0, function(e) {
|
|
14847
14847
|
e.IntentText = "IntentText", e.IntentEntity = "IntentEntity", e.Generic = "Generic", e.People = "People", e.Place = "Place", e.DynamicEntity = "DynamicEntity";
|
|
14848
14848
|
}(t.GroupType || (t.GroupType = {})), function(e) {
|
|
14849
14849
|
e.None = "None", e.LeftRooted = "LeftRooted", e.PartialName = "PartialName", e.MiddleOfSentence = "MiddleOfSentence";
|
|
14850
14850
|
}(t.SubstringMatchType || (t.SubstringMatchType = {}));
|
|
14851
|
-
})(
|
|
14851
|
+
})(Wu);
|
|
14852
14852
|
Object.defineProperty(ns, "__esModule", { value: !0 });
|
|
14853
14853
|
ns.DynamicGrammarBuilder = void 0;
|
|
14854
|
-
const
|
|
14855
|
-
class
|
|
14854
|
+
const am = Wu;
|
|
14855
|
+
class cm {
|
|
14856
14856
|
// Adds one more reference phrases to the dynamic grammar to send.
|
|
14857
14857
|
// All added phrases are generic phrases.
|
|
14858
14858
|
addPhrase(e) {
|
|
@@ -14883,12 +14883,12 @@ class pm {
|
|
|
14883
14883
|
r.push({
|
|
14884
14884
|
text: i
|
|
14885
14885
|
});
|
|
14886
|
-
}), e.groups = [{ type:
|
|
14886
|
+
}), e.groups = [{ type: am.GroupType.Generic, items: r }];
|
|
14887
14887
|
}
|
|
14888
14888
|
return e;
|
|
14889
14889
|
}
|
|
14890
14890
|
}
|
|
14891
|
-
ns.DynamicGrammarBuilder =
|
|
14891
|
+
ns.DynamicGrammarBuilder = cm;
|
|
14892
14892
|
var cn = {}, is = {}, ss = {}, uo = {};
|
|
14893
14893
|
(function(t) {
|
|
14894
14894
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.MessageDataStreamType = t.ActivityPayloadResponse = void 0;
|
|
@@ -14918,8 +14918,8 @@ var cn = {}, is = {}, ss = {}, uo = {};
|
|
|
14918
14918
|
})(uo);
|
|
14919
14919
|
Object.defineProperty(ss, "__esModule", { value: !0 });
|
|
14920
14920
|
ss.DialogServiceTurnState = void 0;
|
|
14921
|
-
const
|
|
14922
|
-
class
|
|
14921
|
+
const pm = Je, um = K, dm = uo;
|
|
14922
|
+
class hm {
|
|
14923
14923
|
constructor(e, r) {
|
|
14924
14924
|
this.privRequestId = r, this.privIsCompleted = !1, this.privAudioStream = null, this.privTurnManager = e, this.resetTurnEndTimeout();
|
|
14925
14925
|
}
|
|
@@ -14927,7 +14927,7 @@ class lm {
|
|
|
14927
14927
|
return this.resetTurnEndTimeout(), this.privAudioStream;
|
|
14928
14928
|
}
|
|
14929
14929
|
processActivityPayload(e, r) {
|
|
14930
|
-
return e.messageDataStreamType ===
|
|
14930
|
+
return e.messageDataStreamType === dm.MessageDataStreamType.TextToSpeechAudio && (this.privAudioStream = um.AudioOutputStream.createPullStream(), this.privAudioStream.format = r !== void 0 ? r : pm.AudioOutputFormatImpl.getDefaultOutputFormat()), this.privAudioStream;
|
|
14931
14931
|
}
|
|
14932
14932
|
endAudioStream() {
|
|
14933
14933
|
this.privAudioStream !== null && !this.privAudioStream.isClosed && this.privAudioStream.close();
|
|
@@ -14941,18 +14941,18 @@ class lm {
|
|
|
14941
14941
|
}, 2e3);
|
|
14942
14942
|
}
|
|
14943
14943
|
}
|
|
14944
|
-
ss.DialogServiceTurnState =
|
|
14944
|
+
ss.DialogServiceTurnState = hm;
|
|
14945
14945
|
Object.defineProperty(is, "__esModule", { value: !0 });
|
|
14946
14946
|
is.DialogServiceTurnStateManager = void 0;
|
|
14947
|
-
const kc = J,
|
|
14948
|
-
class
|
|
14947
|
+
const kc = J, lm = ss;
|
|
14948
|
+
class vm {
|
|
14949
14949
|
constructor() {
|
|
14950
14950
|
this.privTurnMap = /* @__PURE__ */ new Map();
|
|
14951
14951
|
}
|
|
14952
14952
|
StartTurn(e) {
|
|
14953
14953
|
if (this.privTurnMap.has(e))
|
|
14954
14954
|
throw new kc.InvalidOperationError("Service error: There is already a turn with id:" + e);
|
|
14955
|
-
const r = new
|
|
14955
|
+
const r = new lm.DialogServiceTurnState(this, e);
|
|
14956
14956
|
return this.privTurnMap.set(e, r), this.privTurnMap.get(e);
|
|
14957
14957
|
}
|
|
14958
14958
|
GetTurn(e) {
|
|
@@ -14965,27 +14965,27 @@ class fm {
|
|
|
14965
14965
|
return r.complete(), this.privTurnMap.delete(e), r;
|
|
14966
14966
|
}
|
|
14967
14967
|
}
|
|
14968
|
-
is.DialogServiceTurnStateManager =
|
|
14969
|
-
var
|
|
14968
|
+
is.DialogServiceTurnStateManager = vm;
|
|
14969
|
+
var Vu = {};
|
|
14970
14970
|
(function(t) {
|
|
14971
14971
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.InvocationSource = void 0, function(e) {
|
|
14972
14972
|
e.None = "None", e.VoiceActivationWithKeyword = "VoiceActivationWithKeyword";
|
|
14973
14973
|
}(t.InvocationSource || (t.InvocationSource = {}));
|
|
14974
|
-
})(
|
|
14975
|
-
var
|
|
14974
|
+
})(Vu);
|
|
14975
|
+
var Hu = {};
|
|
14976
14976
|
(function(t) {
|
|
14977
14977
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.OnRejectAction = t.KeywordDetectionType = void 0, function(e) {
|
|
14978
14978
|
e.StartTrigger = "StartTrigger";
|
|
14979
14979
|
}(t.KeywordDetectionType || (t.KeywordDetectionType = {})), function(e) {
|
|
14980
14980
|
e.EndOfTurn = "EndOfTurn", e.Continue = "Continue";
|
|
14981
14981
|
}(t.OnRejectAction || (t.OnRejectAction = {}));
|
|
14982
|
-
})(
|
|
14982
|
+
})(Hu);
|
|
14983
14983
|
var Nc;
|
|
14984
|
-
function
|
|
14984
|
+
function fm() {
|
|
14985
14985
|
if (Nc)
|
|
14986
14986
|
return cn;
|
|
14987
14987
|
Nc = 1, Object.defineProperty(cn, "__esModule", { value: !0 }), cn.DialogServiceAdapter = void 0;
|
|
14988
|
-
const t = V(), e = gt, r = A(), i = Je, p = R(), a = is, s = T(), n = uo, o =
|
|
14988
|
+
const t = V(), e = gt, r = A(), i = Je, p = R(), a = is, s = T(), n = uo, o = Vu, c = Hu, u = Ne;
|
|
14989
14989
|
let d = class extends s.ServiceRecognizerBase {
|
|
14990
14990
|
constructor(l, f, g, S, v) {
|
|
14991
14991
|
super(l, f, g, S, v), this.privEvents = new r.EventSource(), this.privDialogServiceConnector = v, this.receiveMessageOverride = () => this.receiveDialogMessageOverride(), this.privTurnStateManager = new a.DialogServiceTurnStateManager(), this.recognizeOverride = (m, C, y) => this.listenOnce(m, C, y), this.postConnectImplOverride = (m) => this.dialogConnectImpl(m), this.configConnectionOverride = (m) => this.configConnection(m), this.disconnectOverride = () => this.privDisconnect(), this.privDialogAudioSource = g, this.agentConfigSent = !1, this.privLastResult = null, this.connectionEvents.attach((m) => {
|
|
@@ -15281,7 +15281,7 @@ function gm() {
|
|
|
15281
15281
|
var os = {};
|
|
15282
15282
|
Object.defineProperty(os, "__esModule", { value: !0 });
|
|
15283
15283
|
os.AgentConfig = void 0;
|
|
15284
|
-
class
|
|
15284
|
+
class gm {
|
|
15285
15285
|
toJsonString() {
|
|
15286
15286
|
return JSON.stringify(this.iPrivConfig);
|
|
15287
15287
|
}
|
|
@@ -15296,12 +15296,12 @@ class mm {
|
|
|
15296
15296
|
this.iPrivConfig = e;
|
|
15297
15297
|
}
|
|
15298
15298
|
}
|
|
15299
|
-
os.AgentConfig =
|
|
15299
|
+
os.AgentConfig = gm;
|
|
15300
15300
|
var Ds = {}, pn = {}, zt = {};
|
|
15301
15301
|
Object.defineProperty(zt, "__esModule", { value: !0 });
|
|
15302
15302
|
zt.ConversationConnectionConfig = void 0;
|
|
15303
|
-
const
|
|
15304
|
-
class re extends
|
|
15303
|
+
const mm = Bn;
|
|
15304
|
+
class re extends mm.RestConfigBase {
|
|
15305
15305
|
static get host() {
|
|
15306
15306
|
return re.privHost;
|
|
15307
15307
|
}
|
|
@@ -15333,7 +15333,7 @@ re.privClientAppId = "FC539C22-1767-4F1F-84BC-B4D811114F15";
|
|
|
15333
15333
|
re.privWebSocketPath = "/capito/translate";
|
|
15334
15334
|
re.privTranscriptionEventKeys = ["iCalUid", "callId", "organizer", "FLAC", "MTUri", "DifferentiateGuestSpeakers", "audiorecording", "Threadid", "OrganizerMri", "OrganizerTenantId", "UserToken"];
|
|
15335
15335
|
var zc;
|
|
15336
|
-
function
|
|
15336
|
+
function Sm() {
|
|
15337
15337
|
if (zc)
|
|
15338
15338
|
return pn;
|
|
15339
15339
|
zc = 1, Object.defineProperty(pn, "__esModule", { value: !0 }), pn.ConversationManager = void 0;
|
|
@@ -15431,8 +15431,8 @@ function Cm() {
|
|
|
15431
15431
|
var ct = {}, un = {}, as = {}, qn = {};
|
|
15432
15432
|
Object.defineProperty(qn, "__esModule", { value: !0 });
|
|
15433
15433
|
qn.ConversationConnectionMessage = void 0;
|
|
15434
|
-
const
|
|
15435
|
-
class
|
|
15434
|
+
const Cm = A();
|
|
15435
|
+
class ym extends Cm.ConnectionMessage {
|
|
15436
15436
|
constructor(e, r, i, p) {
|
|
15437
15437
|
super(e, r, i, p);
|
|
15438
15438
|
const a = JSON.parse(this.textBody);
|
|
@@ -15442,11 +15442,11 @@ class Rm extends ym.ConnectionMessage {
|
|
|
15442
15442
|
return this.privConversationMessageType;
|
|
15443
15443
|
}
|
|
15444
15444
|
}
|
|
15445
|
-
qn.ConversationConnectionMessage =
|
|
15445
|
+
qn.ConversationConnectionMessage = ym;
|
|
15446
15446
|
Object.defineProperty(as, "__esModule", { value: !0 });
|
|
15447
15447
|
as.ConversationWebsocketMessageFormatter = void 0;
|
|
15448
15448
|
const pt = A(), jc = qn;
|
|
15449
|
-
class
|
|
15449
|
+
class Rm {
|
|
15450
15450
|
/**
|
|
15451
15451
|
* Format incoming messages: text (speech partial/final, IM) or binary (tts)
|
|
15452
15452
|
*/
|
|
@@ -15479,9 +15479,9 @@ class Pm {
|
|
|
15479
15479
|
return r.promise;
|
|
15480
15480
|
}
|
|
15481
15481
|
}
|
|
15482
|
-
as.ConversationWebsocketMessageFormatter =
|
|
15482
|
+
as.ConversationWebsocketMessageFormatter = Rm;
|
|
15483
15483
|
var Lc;
|
|
15484
|
-
function
|
|
15484
|
+
function Pm() {
|
|
15485
15485
|
if (Lc)
|
|
15486
15486
|
return un;
|
|
15487
15487
|
Lc = 1, Object.defineProperty(un, "__esModule", { value: !0 }), un.ConversationConnectionFactory = void 0;
|
|
@@ -15502,7 +15502,7 @@ var dn = {}, cs = {};
|
|
|
15502
15502
|
Object.defineProperty(cs, "__esModule", { value: !0 });
|
|
15503
15503
|
cs.ConversationRequestSession = void 0;
|
|
15504
15504
|
const ks = A();
|
|
15505
|
-
class
|
|
15505
|
+
class Em {
|
|
15506
15506
|
constructor(e) {
|
|
15507
15507
|
this.privIsDisposed = !1, this.privDetachables = new Array(), this.privSessionId = e, this.privRequestId = (0, ks.createNoDashGuid)(), this.privRequestCompletionDeferral = new ks.Deferred();
|
|
15508
15508
|
}
|
|
@@ -15537,9 +15537,9 @@ class Im {
|
|
|
15537
15537
|
onComplete() {
|
|
15538
15538
|
}
|
|
15539
15539
|
}
|
|
15540
|
-
cs.ConversationRequestSession =
|
|
15540
|
+
cs.ConversationRequestSession = Em;
|
|
15541
15541
|
var se = {}, Bc;
|
|
15542
|
-
function
|
|
15542
|
+
function $u() {
|
|
15543
15543
|
if (Bc)
|
|
15544
15544
|
return se;
|
|
15545
15545
|
Bc = 1, Object.defineProperty(se, "__esModule", { value: !0 }), se.ConversationReceivedTranslationEventArgs = se.ParticipantsListEventArgs = se.ParticipantAttributeEventArgs = se.ParticipantEventArgs = se.LockRoomEventArgs = se.MuteAllEventArgs = void 0;
|
|
@@ -15635,7 +15635,7 @@ function Ku() {
|
|
|
15635
15635
|
var Me = {};
|
|
15636
15636
|
Object.defineProperty(Me, "__esModule", { value: !0 });
|
|
15637
15637
|
Me.ConversationTranslatorCommandTypes = Me.ConversationTranslatorMessageTypes = Me.InternalParticipants = void 0;
|
|
15638
|
-
class
|
|
15638
|
+
class Im {
|
|
15639
15639
|
constructor(e = [], r) {
|
|
15640
15640
|
this.participants = e, this.meId = r;
|
|
15641
15641
|
}
|
|
@@ -15682,7 +15682,7 @@ class Tm {
|
|
|
15682
15682
|
return this.getParticipant(this.meId);
|
|
15683
15683
|
}
|
|
15684
15684
|
}
|
|
15685
|
-
Me.InternalParticipants =
|
|
15685
|
+
Me.InternalParticipants = Im;
|
|
15686
15686
|
Me.ConversationTranslatorMessageTypes = {
|
|
15687
15687
|
command: "command",
|
|
15688
15688
|
final: "final",
|
|
@@ -15709,13 +15709,13 @@ Me.ConversationTranslatorCommandTypes = {
|
|
|
15709
15709
|
setTranslateToLanguages: "SetTranslateToLanguages",
|
|
15710
15710
|
setUseTTS: "SetUseTTS"
|
|
15711
15711
|
};
|
|
15712
|
-
var
|
|
15712
|
+
var Ku = {}, ps = {};
|
|
15713
15713
|
Object.defineProperty(ps, "__esModule", { value: !0 });
|
|
15714
15714
|
ps.CommandResponsePayload = void 0;
|
|
15715
|
-
const
|
|
15715
|
+
const Tm = (t) => JSON.parse(t);
|
|
15716
15716
|
class ho {
|
|
15717
15717
|
constructor(e) {
|
|
15718
|
-
this.privCommandResponse =
|
|
15718
|
+
this.privCommandResponse = Tm(e);
|
|
15719
15719
|
}
|
|
15720
15720
|
get type() {
|
|
15721
15721
|
return this.privCommandResponse.type;
|
|
@@ -15749,10 +15749,10 @@ ps.CommandResponsePayload = ho;
|
|
|
15749
15749
|
var bt = {};
|
|
15750
15750
|
Object.defineProperty(bt, "__esModule", { value: !0 });
|
|
15751
15751
|
bt.ParticipantPayloadResponse = bt.ParticipantsListPayloadResponse = void 0;
|
|
15752
|
-
const
|
|
15752
|
+
const Am = (t) => JSON.parse(t), wm = (t) => JSON.parse(t);
|
|
15753
15753
|
class lo {
|
|
15754
15754
|
constructor(e) {
|
|
15755
|
-
this.privParticipantsPayloadResponse =
|
|
15755
|
+
this.privParticipantsPayloadResponse = Am(e);
|
|
15756
15756
|
}
|
|
15757
15757
|
get roomid() {
|
|
15758
15758
|
return this.privParticipantsPayloadResponse.roomid;
|
|
@@ -15794,7 +15794,7 @@ class lo {
|
|
|
15794
15794
|
bt.ParticipantsListPayloadResponse = lo;
|
|
15795
15795
|
class vo {
|
|
15796
15796
|
constructor(e) {
|
|
15797
|
-
this.privParticipantPayloadResponse =
|
|
15797
|
+
this.privParticipantPayloadResponse = wm(e);
|
|
15798
15798
|
}
|
|
15799
15799
|
get nickname() {
|
|
15800
15800
|
return this.privParticipantPayloadResponse.nickname;
|
|
@@ -15825,10 +15825,10 @@ bt.ParticipantPayloadResponse = vo;
|
|
|
15825
15825
|
var Mt = {};
|
|
15826
15826
|
Object.defineProperty(Mt, "__esModule", { value: !0 });
|
|
15827
15827
|
Mt.TextResponsePayload = Mt.SpeechResponsePayload = void 0;
|
|
15828
|
-
const
|
|
15828
|
+
const _m = (t) => JSON.parse(t), bm = (t) => JSON.parse(t);
|
|
15829
15829
|
class fo {
|
|
15830
15830
|
constructor(e) {
|
|
15831
|
-
this.privSpeechResponse =
|
|
15831
|
+
this.privSpeechResponse = _m(e);
|
|
15832
15832
|
}
|
|
15833
15833
|
get recognition() {
|
|
15834
15834
|
return this.privSpeechResponse.recognition;
|
|
@@ -15867,7 +15867,7 @@ class fo {
|
|
|
15867
15867
|
Mt.SpeechResponsePayload = fo;
|
|
15868
15868
|
class go {
|
|
15869
15869
|
constructor(e) {
|
|
15870
|
-
this.privTextResponse =
|
|
15870
|
+
this.privTextResponse = bm(e);
|
|
15871
15871
|
}
|
|
15872
15872
|
get originalText() {
|
|
15873
15873
|
return this.privTextResponse.originalText;
|
|
@@ -15919,13 +15919,13 @@ Mt.TextResponsePayload = go;
|
|
|
15919
15919
|
} }), Object.defineProperty(t, "TextResponsePayload", { enumerable: !0, get: function() {
|
|
15920
15920
|
return i.TextResponsePayload;
|
|
15921
15921
|
} });
|
|
15922
|
-
})(
|
|
15922
|
+
})(Ku);
|
|
15923
15923
|
var qc;
|
|
15924
|
-
function
|
|
15924
|
+
function Mm() {
|
|
15925
15925
|
if (qc)
|
|
15926
15926
|
return dn;
|
|
15927
15927
|
qc = 1, Object.defineProperty(dn, "__esModule", { value: !0 }), dn.ConversationServiceAdapter = void 0;
|
|
15928
|
-
const t = A(), e = R(), r = T(), i = qn, p = cs, a =
|
|
15928
|
+
const t = A(), e = R(), r = T(), i = qn, p = cs, a = $u(), s = Me, n = Ku;
|
|
15929
15929
|
let o = class extends r.ServiceRecognizerBase {
|
|
15930
15930
|
constructor(u, d, h, l, f) {
|
|
15931
15931
|
super(u, d, h, l, f), this.privConnectionConfigPromise = void 0, this.privLastPartialUtteranceId = "", this.privConversationServiceConnector = f, this.privConversationAuthentication = u, this.receiveMessageOverride = () => this.receiveConversationMessageOverride(), this.recognizeOverride = () => this.noOp(), this.postConnectImplOverride = (g) => this.conversationConnectImpl(g), this.configConnectionOverride = () => this.configConnection(), this.disconnectOverride = () => this.privDisconnect(), this.privConversationRequestSession = new p.ConversationRequestSession((0, t.createNoDashGuid)()), this.privConversationConnectionFactory = d, this.privConversationIsDisposed = !1;
|
|
@@ -16108,11 +16108,11 @@ function Om() {
|
|
|
16108
16108
|
return dn.ConversationServiceAdapter = o, dn;
|
|
16109
16109
|
}
|
|
16110
16110
|
var Fc;
|
|
16111
|
-
function
|
|
16111
|
+
function Om() {
|
|
16112
16112
|
if (Fc)
|
|
16113
16113
|
return ct;
|
|
16114
16114
|
Fc = 1, Object.defineProperty(ct, "__esModule", { value: !0 }), ct.ConversationTranslatorRecognizer = ct.ConversationRecognizerFactory = void 0;
|
|
16115
|
-
const t = T(), e = A(), r = b, i = R(), p =
|
|
16115
|
+
const t = T(), e = A(), r = b, i = R(), p = Pm(), a = Mm();
|
|
16116
16116
|
class s {
|
|
16117
16117
|
static fromConfig(c, u, d) {
|
|
16118
16118
|
return new n(c, u, d);
|
|
@@ -16270,7 +16270,7 @@ function Dm() {
|
|
|
16270
16270
|
return ct.ConversationTranslatorRecognizer = n, ct;
|
|
16271
16271
|
}
|
|
16272
16272
|
var hn = {}, xc;
|
|
16273
|
-
function
|
|
16273
|
+
function Dm() {
|
|
16274
16274
|
if (xc)
|
|
16275
16275
|
return hn;
|
|
16276
16276
|
xc = 1, Object.defineProperty(hn, "__esModule", { value: !0 }), hn.TranscriberRecognizer = void 0;
|
|
@@ -16379,10 +16379,10 @@ function km() {
|
|
|
16379
16379
|
return hn.TranscriberRecognizer = a, hn;
|
|
16380
16380
|
}
|
|
16381
16381
|
var Uc;
|
|
16382
|
-
function
|
|
16382
|
+
function km() {
|
|
16383
16383
|
return Uc || (Uc = 1, function(t) {
|
|
16384
16384
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.InternalParticipants = t.ConversationTranslatorMessageTypes = t.ConversationTranslatorCommandTypes = t.ParticipantsListEventArgs = t.ParticipantEventArgs = t.ParticipantAttributeEventArgs = t.MuteAllEventArgs = t.LockRoomEventArgs = t.ConversationReceivedTranslationEventArgs = t.TranscriberRecognizer = t.ConversationRecognizerFactory = t.ConversationConnectionConfig = t.ConversationManager = void 0;
|
|
16385
|
-
var e =
|
|
16385
|
+
var e = Sm();
|
|
16386
16386
|
Object.defineProperty(t, "ConversationManager", { enumerable: !0, get: function() {
|
|
16387
16387
|
return e.ConversationManager;
|
|
16388
16388
|
} });
|
|
@@ -16390,15 +16390,15 @@ function Nm() {
|
|
|
16390
16390
|
Object.defineProperty(t, "ConversationConnectionConfig", { enumerable: !0, get: function() {
|
|
16391
16391
|
return r.ConversationConnectionConfig;
|
|
16392
16392
|
} });
|
|
16393
|
-
var i =
|
|
16393
|
+
var i = Om();
|
|
16394
16394
|
Object.defineProperty(t, "ConversationRecognizerFactory", { enumerable: !0, get: function() {
|
|
16395
16395
|
return i.ConversationRecognizerFactory;
|
|
16396
16396
|
} });
|
|
16397
|
-
var p =
|
|
16397
|
+
var p = Dm();
|
|
16398
16398
|
Object.defineProperty(t, "TranscriberRecognizer", { enumerable: !0, get: function() {
|
|
16399
16399
|
return p.TranscriberRecognizer;
|
|
16400
16400
|
} });
|
|
16401
|
-
var a =
|
|
16401
|
+
var a = $u();
|
|
16402
16402
|
Object.defineProperty(t, "ConversationReceivedTranslationEventArgs", { enumerable: !0, get: function() {
|
|
16403
16403
|
return a.ConversationReceivedTranslationEventArgs;
|
|
16404
16404
|
} }), Object.defineProperty(t, "LockRoomEventArgs", { enumerable: !0, get: function() {
|
|
@@ -16453,7 +16453,7 @@ class us extends Wc.PlatformEvent {
|
|
|
16453
16453
|
}
|
|
16454
16454
|
}
|
|
16455
16455
|
Pe.SpeechSynthesisEvent = us;
|
|
16456
|
-
class
|
|
16456
|
+
class Nm extends us {
|
|
16457
16457
|
constructor(e, r, i) {
|
|
16458
16458
|
super("SynthesisTriggeredEvent", e), this.privSessionAudioDestinationId = r, this.privTurnAudioDestinationId = i;
|
|
16459
16459
|
}
|
|
@@ -16464,8 +16464,8 @@ class zm extends us {
|
|
|
16464
16464
|
return this.privTurnAudioDestinationId;
|
|
16465
16465
|
}
|
|
16466
16466
|
}
|
|
16467
|
-
Pe.SynthesisTriggeredEvent =
|
|
16468
|
-
class
|
|
16467
|
+
Pe.SynthesisTriggeredEvent = Nm;
|
|
16468
|
+
class zm extends us {
|
|
16469
16469
|
constructor(e, r) {
|
|
16470
16470
|
super("ConnectingToSynthesisServiceEvent", e), this.privAuthFetchEventId = r;
|
|
16471
16471
|
}
|
|
@@ -16473,8 +16473,8 @@ class jm extends us {
|
|
|
16473
16473
|
return this.privAuthFetchEventId;
|
|
16474
16474
|
}
|
|
16475
16475
|
}
|
|
16476
|
-
Pe.ConnectingToSynthesisServiceEvent =
|
|
16477
|
-
class
|
|
16476
|
+
Pe.ConnectingToSynthesisServiceEvent = zm;
|
|
16477
|
+
class jm extends us {
|
|
16478
16478
|
constructor(e, r) {
|
|
16479
16479
|
super("SynthesisStartedEvent", e), this.privAuthFetchEventId = r;
|
|
16480
16480
|
}
|
|
@@ -16482,9 +16482,9 @@ class Lm extends us {
|
|
|
16482
16482
|
return this.privAuthFetchEventId;
|
|
16483
16483
|
}
|
|
16484
16484
|
}
|
|
16485
|
-
Pe.SynthesisStartedEvent =
|
|
16485
|
+
Pe.SynthesisStartedEvent = jm;
|
|
16486
16486
|
var Vc;
|
|
16487
|
-
function
|
|
16487
|
+
function Lm() {
|
|
16488
16488
|
if (Vc)
|
|
16489
16489
|
return ln;
|
|
16490
16490
|
Vc = 1, Object.defineProperty(ln, "__esModule", { value: !0 }), ln.SynthesisTurn = void 0;
|
|
@@ -16648,7 +16648,7 @@ function Bm() {
|
|
|
16648
16648
|
return ln.SynthesisTurn = a, ln;
|
|
16649
16649
|
}
|
|
16650
16650
|
var vn = {}, Hc;
|
|
16651
|
-
function
|
|
16651
|
+
function Bm() {
|
|
16652
16652
|
if (Hc)
|
|
16653
16653
|
return vn;
|
|
16654
16654
|
Hc = 1, Object.defineProperty(vn, "__esModule", { value: !0 }), vn.SynthesisAdapterBase = void 0;
|
|
@@ -16867,7 +16867,7 @@ function qm() {
|
|
|
16867
16867
|
return vn.SynthesisAdapterBase = p, p.telemetryDataEnabled = !0, vn;
|
|
16868
16868
|
}
|
|
16869
16869
|
var fn = {}, $c;
|
|
16870
|
-
function
|
|
16870
|
+
function qm() {
|
|
16871
16871
|
if ($c)
|
|
16872
16872
|
return fn;
|
|
16873
16873
|
$c = 1, Object.defineProperty(fn, "__esModule", { value: !0 }), fn.AvatarSynthesisAdapter = void 0;
|
|
@@ -16934,7 +16934,7 @@ function Fm() {
|
|
|
16934
16934
|
return fn.AvatarSynthesisAdapter = r, fn;
|
|
16935
16935
|
}
|
|
16936
16936
|
var gn = {}, Kc;
|
|
16937
|
-
function
|
|
16937
|
+
function Fm() {
|
|
16938
16938
|
if (Kc)
|
|
16939
16939
|
return gn;
|
|
16940
16940
|
Kc = 1, Object.defineProperty(gn, "__esModule", { value: !0 }), gn.SpeechSynthesisAdapter = void 0;
|
|
@@ -16999,7 +16999,7 @@ function xm() {
|
|
|
16999
16999
|
return gn.SpeechSynthesisAdapter = r, gn;
|
|
17000
17000
|
}
|
|
17001
17001
|
var mn = {}, Jc;
|
|
17002
|
-
function
|
|
17002
|
+
function xm() {
|
|
17003
17003
|
if (Jc)
|
|
17004
17004
|
return mn;
|
|
17005
17005
|
Jc = 1, Object.defineProperty(mn, "__esModule", { value: !0 }), mn.SynthesisRestAdapter = void 0;
|
|
@@ -17029,7 +17029,7 @@ function Um() {
|
|
|
17029
17029
|
return mn.SynthesisRestAdapter = p, mn;
|
|
17030
17030
|
}
|
|
17031
17031
|
var Ns = {}, Gc;
|
|
17032
|
-
function
|
|
17032
|
+
function Um() {
|
|
17033
17033
|
return Gc || (Gc = 1, function(t) {
|
|
17034
17034
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.SynthesizerConfig = t.SynthesisServiceType = void 0;
|
|
17035
17035
|
const e = T();
|
|
@@ -17063,7 +17063,7 @@ function Wm() {
|
|
|
17063
17063
|
}(Ns)), Ns;
|
|
17064
17064
|
}
|
|
17065
17065
|
var Sn = {}, Qc;
|
|
17066
|
-
function
|
|
17066
|
+
function Wm() {
|
|
17067
17067
|
if (Qc)
|
|
17068
17068
|
return Sn;
|
|
17069
17069
|
Qc = 1, Object.defineProperty(Sn, "__esModule", { value: !0 }), Sn.SynthesisContext = void 0;
|
|
@@ -17116,7 +17116,7 @@ function Vm() {
|
|
|
17116
17116
|
return Sn.SynthesisContext = e, Sn;
|
|
17117
17117
|
}
|
|
17118
17118
|
var Cn = {}, Xc;
|
|
17119
|
-
function
|
|
17119
|
+
function Vm() {
|
|
17120
17120
|
if (Xc)
|
|
17121
17121
|
return Cn;
|
|
17122
17122
|
Xc = 1, Object.defineProperty(Cn, "__esModule", { value: !0 }), Cn.SpeakerRecognitionConfig = void 0;
|
|
@@ -17135,7 +17135,7 @@ function Hm() {
|
|
|
17135
17135
|
return Cn.SpeakerRecognitionConfig = e, Cn;
|
|
17136
17136
|
}
|
|
17137
17137
|
var yn = {}, Zc;
|
|
17138
|
-
function
|
|
17138
|
+
function Hm() {
|
|
17139
17139
|
if (Zc)
|
|
17140
17140
|
return yn;
|
|
17141
17141
|
Zc = 1, Object.defineProperty(yn, "__esModule", { value: !0 }), yn.SpeakerServiceRecognizer = void 0;
|
|
@@ -17208,7 +17208,7 @@ function $m() {
|
|
|
17208
17208
|
return yn.SpeakerServiceRecognizer = a, yn;
|
|
17209
17209
|
}
|
|
17210
17210
|
var Rn = {}, Yc;
|
|
17211
|
-
function
|
|
17211
|
+
function $m() {
|
|
17212
17212
|
if (Yc)
|
|
17213
17213
|
return Rn;
|
|
17214
17214
|
Yc = 1, Object.defineProperty(Rn, "__esModule", { value: !0 }), Rn.VoiceServiceRecognizer = void 0;
|
|
@@ -17431,7 +17431,7 @@ function Km() {
|
|
|
17431
17431
|
};
|
|
17432
17432
|
return Rn.VoiceServiceRecognizer = a, Rn;
|
|
17433
17433
|
}
|
|
17434
|
-
var
|
|
17434
|
+
var Ju = {};
|
|
17435
17435
|
(function(t) {
|
|
17436
17436
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.type = t.connectivity = t.Device = t.OS = t.System = t.Context = t.SpeechServiceConfig = void 0;
|
|
17437
17437
|
class e {
|
|
@@ -17489,7 +17489,7 @@ var Gu = {};
|
|
|
17489
17489
|
}(t.connectivity || (t.connectivity = {})), function(s) {
|
|
17490
17490
|
s.Phone = "Phone", s.Speaker = "Speaker", s.Car = "Car", s.Headset = "Headset", s.Thermostat = "Thermostat", s.Microphones = "Microphones", s.Deskphone = "Deskphone", s.RemoteControl = "RemoteControl", s.Unknown = "Unknown", s.File = "File", s.Stream = "Stream";
|
|
17491
17491
|
}(t.type || (t.type = {}));
|
|
17492
|
-
})(
|
|
17492
|
+
})(Ju);
|
|
17493
17493
|
var ep;
|
|
17494
17494
|
function T() {
|
|
17495
17495
|
return ep || (ep = 1, function(t) {
|
|
@@ -17503,15 +17503,15 @@ function T() {
|
|
|
17503
17503
|
for (var n in a)
|
|
17504
17504
|
n !== "default" && !Object.prototype.hasOwnProperty.call(s, n) && e(s, a, n);
|
|
17505
17505
|
};
|
|
17506
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), t.AutoDetectSourceLanguagesOpenRangeOptionName = t.ForceDictationPropertyName = t.ServicePropertiesPropertyName = t.CancellationErrorCodePropertyName = t.OutputFormatPropertyName = t.SpeechSynthesisAdapter = t.AvatarSynthesisAdapter = void 0, r(Xn, t), r(Si, t), r(Nt, t), r(
|
|
17507
|
-
var i =
|
|
17506
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), t.AutoDetectSourceLanguagesOpenRangeOptionName = t.ForceDictationPropertyName = t.ServicePropertiesPropertyName = t.CancellationErrorCodePropertyName = t.OutputFormatPropertyName = t.SpeechSynthesisAdapter = t.AvatarSynthesisAdapter = void 0, r(Xn, t), r(Si, t), r(Nt, t), r(Dp, t), r(kp, t), r(Ng(), t), r(zg(), t), r($i, t), r(jg(), t), r(Lg(), t), r(Bg(), t), r(zu, t), r(Ki, t), r(Fg(), t), r(xg(), t), r(Ug(), t), r(Wg(), t), r(Eu(), t), r(Vg(), t), r(ju, t), r(Hg(), t), r(Ji, t), r(Kg(), t), r(Jg(), t), r(Gi, t), r(Qi, t), r(Xi, t), r(Gg(), t), r(Qg(), t), r(Xg(), t), r(Zg(), t), r(Yg(), t), r(Zi, t), r(tm(), t), r(Yi, t), r(xu, t), r(es, t), r(rs, t), r(ns, t), r(fm(), t), r(os, t), r(km(), t), r(mo, t), r(Lm(), t), r(Bm(), t);
|
|
17507
|
+
var i = qm();
|
|
17508
17508
|
Object.defineProperty(t, "AvatarSynthesisAdapter", { enumerable: !0, get: function() {
|
|
17509
17509
|
return i.AvatarSynthesisAdapter;
|
|
17510
17510
|
} });
|
|
17511
|
-
var p =
|
|
17511
|
+
var p = Fm();
|
|
17512
17512
|
Object.defineProperty(t, "SpeechSynthesisAdapter", { enumerable: !0, get: function() {
|
|
17513
17513
|
return p.SpeechSynthesisAdapter;
|
|
17514
|
-
} }), r(
|
|
17514
|
+
} }), r(xm(), t), r(Um(), t), r(Wm(), t), r(Vm(), t), r(Hm(), t), r($m(), t), r(Ju, t), t.OutputFormatPropertyName = "OutputFormat", t.CancellationErrorCodePropertyName = "CancellationErrorCode", t.ServicePropertiesPropertyName = "ServiceProperties", t.ForceDictationPropertyName = "ForceDictation", t.AutoDetectSourceLanguagesOpenRangeOptionName = "UND";
|
|
17515
17515
|
}(vs)), vs;
|
|
17516
17516
|
}
|
|
17517
17517
|
(function(t) {
|
|
@@ -17532,26 +17532,26 @@ function T() {
|
|
|
17532
17532
|
const $ = [];
|
|
17533
17533
|
for (let t = 0; t < 256; ++t)
|
|
17534
17534
|
$.push((t + 256).toString(16).slice(1));
|
|
17535
|
-
function
|
|
17535
|
+
function Km(t, e = 0) {
|
|
17536
17536
|
return ($[t[e + 0]] + $[t[e + 1]] + $[t[e + 2]] + $[t[e + 3]] + "-" + $[t[e + 4]] + $[t[e + 5]] + "-" + $[t[e + 6]] + $[t[e + 7]] + "-" + $[t[e + 8]] + $[t[e + 9]] + "-" + $[t[e + 10]] + $[t[e + 11]] + $[t[e + 12]] + $[t[e + 13]] + $[t[e + 14]] + $[t[e + 15]]).toLowerCase();
|
|
17537
17537
|
}
|
|
17538
17538
|
let zs;
|
|
17539
|
-
const
|
|
17540
|
-
function
|
|
17539
|
+
const Jm = new Uint8Array(16);
|
|
17540
|
+
function Gm() {
|
|
17541
17541
|
if (!zs) {
|
|
17542
17542
|
if (typeof crypto > "u" || !crypto.getRandomValues)
|
|
17543
17543
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
17544
17544
|
zs = crypto.getRandomValues.bind(crypto);
|
|
17545
17545
|
}
|
|
17546
|
-
return zs(
|
|
17546
|
+
return zs(Jm);
|
|
17547
17547
|
}
|
|
17548
|
-
const
|
|
17549
|
-
function
|
|
17548
|
+
const Qm = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), tp = { randomUUID: Qm };
|
|
17549
|
+
function Xm(t, e, r) {
|
|
17550
17550
|
var p;
|
|
17551
17551
|
if (tp.randomUUID && !e && !t)
|
|
17552
17552
|
return tp.randomUUID();
|
|
17553
17553
|
t = t || {};
|
|
17554
|
-
const i = t.random ?? ((p = t.rng) == null ? void 0 : p.call(t)) ??
|
|
17554
|
+
const i = t.random ?? ((p = t.rng) == null ? void 0 : p.call(t)) ?? Gm();
|
|
17555
17555
|
if (i.length < 16)
|
|
17556
17556
|
throw new Error("Random bytes length must be >= 16");
|
|
17557
17557
|
if (i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128, e) {
|
|
@@ -17561,23 +17561,23 @@ function Zm(t, e, r) {
|
|
|
17561
17561
|
e[r + a] = i[a];
|
|
17562
17562
|
return e;
|
|
17563
17563
|
}
|
|
17564
|
-
return
|
|
17564
|
+
return Km(i);
|
|
17565
17565
|
}
|
|
17566
|
-
const Ot =
|
|
17566
|
+
const Ot = ip(), be = sp(), Et = De(""), ut = De(""), rp = De(""), Us = De("");
|
|
17567
17567
|
let Oe = null, Ws = [];
|
|
17568
|
-
const
|
|
17568
|
+
const Gu = De("");
|
|
17569
17569
|
let qe = null;
|
|
17570
17570
|
const np = 4e3;
|
|
17571
|
-
|
|
17571
|
+
op(async () => {
|
|
17572
17572
|
be.authToken = await So();
|
|
17573
17573
|
});
|
|
17574
17574
|
let U = null, Tt = null, ye = null, $n = null, It = null;
|
|
17575
|
-
const
|
|
17575
|
+
const ds = () => {
|
|
17576
17576
|
ye && ye.mute(), U && (U.close(), U = null), Tt = null;
|
|
17577
17577
|
}, So = async () => {
|
|
17578
17578
|
var t, e, r;
|
|
17579
17579
|
try {
|
|
17580
|
-
const i = await
|
|
17580
|
+
const i = await ap("/voiceTesting");
|
|
17581
17581
|
return (t = i == null ? void 0 : i.data) == null ? void 0 : t.token;
|
|
17582
17582
|
} catch (i) {
|
|
17583
17583
|
if (console.error(i), wn.isAxiosError(i)) {
|
|
@@ -17586,7 +17586,7 @@ const ip = `${window.location.origin}/src/assets/ffmpeg`, ds = () => {
|
|
|
17586
17586
|
} else
|
|
17587
17587
|
Ot.setError("There was an issue while fetching data");
|
|
17588
17588
|
}
|
|
17589
|
-
},
|
|
17589
|
+
}, OC = () => {
|
|
17590
17590
|
qe && clearTimeout(qe), $n && ($n.stopContinuousRecognitionAsync(
|
|
17591
17591
|
() => {
|
|
17592
17592
|
},
|
|
@@ -17594,12 +17594,12 @@ const ip = `${window.location.origin}/src/assets/ffmpeg`, ds = () => {
|
|
|
17594
17594
|
console.error("Error stopping recognition", t);
|
|
17595
17595
|
}
|
|
17596
17596
|
), $n = null), Oe && Oe.state !== "inactive" && Oe.stop();
|
|
17597
|
-
},
|
|
17597
|
+
}, Zm = async (t) => (be.authToken = await So(), await ds(), new Promise((e, r) => {
|
|
17598
17598
|
const i = Re.SpeechConfig.fromAuthorizationToken(be.authToken, "eastus2");
|
|
17599
17599
|
i.speechSynthesisVoiceName = "en-US-EmmaMultilingualNeural", ye = new Re.SpeakerAudioDestination();
|
|
17600
17600
|
const p = Re.AudioConfig.fromSpeakerOutput(ye);
|
|
17601
17601
|
U = new Re.SpeechSynthesizer(i, p);
|
|
17602
|
-
const a =
|
|
17602
|
+
const a = Xm();
|
|
17603
17603
|
Tt = a, U.speakTextAsync(
|
|
17604
17604
|
t,
|
|
17605
17605
|
(s) => {
|
|
@@ -17613,12 +17613,12 @@ const ip = `${window.location.origin}/src/assets/ffmpeg`, ds = () => {
|
|
|
17613
17613
|
U == null || U.close(), U = null, Tt = null, r(s);
|
|
17614
17614
|
}
|
|
17615
17615
|
);
|
|
17616
|
-
})),
|
|
17616
|
+
})), Ym = async (t) => {
|
|
17617
17617
|
be.authToken = await So();
|
|
17618
17618
|
const e = Re.SpeechConfig.fromAuthorizationToken(be.authToken, "eastus2");
|
|
17619
17619
|
e.speechRecognitionLanguage = "en-US";
|
|
17620
17620
|
const r = Re.AudioConfig.fromDefaultMicrophoneInput(), i = new Re.SpeechRecognizer(e, r);
|
|
17621
|
-
return $n = i, Et.value = "", ut.value = "", await
|
|
17621
|
+
return $n = i, Et.value = "", ut.value = "", await Qu(), i.recognizing = (p, a) => {
|
|
17622
17622
|
a.result.text && a.result.text.trim() && (Et.value = a.result.text.trim(), ds(), be.userspeaking = !0, be.userSpeechText = (ut.value ? ut.value + " " : "") + Et.value, Us.value = "user", qe && clearTimeout(qe), qe = setTimeout(() => {
|
|
17623
17623
|
Et.value && (t(Et.value.trim()), Et.value = "");
|
|
17624
17624
|
}, np));
|
|
@@ -17629,16 +17629,16 @@ const ip = `${window.location.origin}/src/assets/ffmpeg`, ds = () => {
|
|
|
17629
17629
|
}, i.canceled = async (p, a) => {
|
|
17630
17630
|
console.error("Recognition canceled:", a), console.log("Audio stop recording");
|
|
17631
17631
|
}, i.startContinuousRecognitionAsync(), i;
|
|
17632
|
-
},
|
|
17632
|
+
}, DC = async () => {
|
|
17633
17633
|
var t, e;
|
|
17634
|
-
rp.value = "",
|
|
17634
|
+
rp.value = "", Gu.value = "";
|
|
17635
17635
|
try {
|
|
17636
|
-
ds(), await
|
|
17636
|
+
ds(), await Ym(async (r) => {
|
|
17637
17637
|
if (r) {
|
|
17638
17638
|
console.log("triggering Audio sentiment:");
|
|
17639
|
-
const i = await
|
|
17639
|
+
const i = await eS();
|
|
17640
17640
|
console.log("Audio sentiment:", i), rp.value = r;
|
|
17641
|
-
const p =
|
|
17641
|
+
const p = Qu();
|
|
17642
17642
|
}
|
|
17643
17643
|
});
|
|
17644
17644
|
} catch (r) {
|
|
@@ -17648,11 +17648,11 @@ const ip = `${window.location.origin}/src/assets/ffmpeg`, ds = () => {
|
|
|
17648
17648
|
} else
|
|
17649
17649
|
Ot.setError("There was an issue while fetching data");
|
|
17650
17650
|
}
|
|
17651
|
-
},
|
|
17651
|
+
}, kC = async (t) => {
|
|
17652
17652
|
var e, r;
|
|
17653
|
-
|
|
17653
|
+
Gu.value = "";
|
|
17654
17654
|
try {
|
|
17655
|
-
(Us.value == "user" || Us.value == "listening") && ds(), await
|
|
17655
|
+
(Us.value == "user" || Us.value == "listening") && ds(), await Zm(t);
|
|
17656
17656
|
} catch (i) {
|
|
17657
17657
|
if (console.error(i), wn.isAxiosError(i)) {
|
|
17658
17658
|
const p = i;
|
|
@@ -17661,7 +17661,7 @@ const ip = `${window.location.origin}/src/assets/ffmpeg`, ds = () => {
|
|
|
17661
17661
|
Ot.setError("There was an issue while fetching data");
|
|
17662
17662
|
}
|
|
17663
17663
|
};
|
|
17664
|
-
async function
|
|
17664
|
+
async function Qu() {
|
|
17665
17665
|
try {
|
|
17666
17666
|
const t = await navigator.mediaDevices.getUserMedia({ audio: !0 });
|
|
17667
17667
|
Oe = new MediaRecorder(t, { mimeType: "audio/webm" }), Oe.ondataavailable = (e) => {
|
|
@@ -17671,7 +17671,7 @@ async function Xu() {
|
|
|
17671
17671
|
console.error("Error starting audio recording:", t);
|
|
17672
17672
|
}
|
|
17673
17673
|
}
|
|
17674
|
-
async function
|
|
17674
|
+
async function eS() {
|
|
17675
17675
|
return new Promise((t, e) => {
|
|
17676
17676
|
if (!Oe)
|
|
17677
17677
|
return e("No active recorder found");
|
|
@@ -17681,10 +17681,10 @@ async function tS() {
|
|
|
17681
17681
|
Ws = [];
|
|
17682
17682
|
try {
|
|
17683
17683
|
console.log("Sending audio for analysis...");
|
|
17684
|
-
const s = await
|
|
17684
|
+
const s = await tS(r);
|
|
17685
17685
|
console.log("Converting WebM to MP3...", s);
|
|
17686
17686
|
const o = {
|
|
17687
|
-
audio: await
|
|
17687
|
+
audio: await nS(s),
|
|
17688
17688
|
format: "mp3",
|
|
17689
17689
|
finalAnalysis: !1
|
|
17690
17690
|
};
|
|
@@ -17701,12 +17701,12 @@ async function tS() {
|
|
|
17701
17701
|
}, Oe.stop(), console.log("Audio recording stopped");
|
|
17702
17702
|
});
|
|
17703
17703
|
}
|
|
17704
|
-
async function
|
|
17704
|
+
async function tS(t) {
|
|
17705
17705
|
try {
|
|
17706
17706
|
console.log("⏳ Initializing FFmpeg...");
|
|
17707
|
-
const e = await
|
|
17707
|
+
const e = await rS();
|
|
17708
17708
|
console.log("✅ FFmpeg loaded");
|
|
17709
|
-
const r = await
|
|
17709
|
+
const r = await gh(t);
|
|
17710
17710
|
e.writeFile("input.webm", r), await e.exec([
|
|
17711
17711
|
"-i",
|
|
17712
17712
|
"input.webm",
|
|
@@ -17731,18 +17731,18 @@ async function rS(t) {
|
|
|
17731
17731
|
throw console.error("❌ Error:", e), e;
|
|
17732
17732
|
}
|
|
17733
17733
|
}
|
|
17734
|
-
async function
|
|
17734
|
+
async function rS() {
|
|
17735
17735
|
if (It != null && It.loaded)
|
|
17736
17736
|
return It;
|
|
17737
|
-
const t = It || new
|
|
17737
|
+
const t = It || new vh();
|
|
17738
17738
|
return t.on("log", ({ message: e }) => {
|
|
17739
17739
|
console.log(e);
|
|
17740
|
-
}), await t.load({
|
|
17741
|
-
coreURL:
|
|
17742
|
-
wasmURL:
|
|
17740
|
+
}), console.log("Before loading FFmpeg by URL"), await t.load({
|
|
17741
|
+
coreURL: "https://cdn.jsdelivr.net/npm/@ffmpeg/core@0.12.10/dist/esm/ffmpeg-core.js",
|
|
17742
|
+
wasmURL: "https://cdn.jsdelivr.net/npm/@ffmpeg/core@0.12.10/dist/esm/ffmpeg-core.wasm"
|
|
17743
17743
|
}), It = t, t;
|
|
17744
17744
|
}
|
|
17745
|
-
const
|
|
17745
|
+
const nS = (t) => new Promise((e, r) => {
|
|
17746
17746
|
const i = new FileReader();
|
|
17747
17747
|
i.onloadend = () => {
|
|
17748
17748
|
const p = i.result.split(",")[1];
|
|
@@ -17750,17 +17750,17 @@ const iS = (t) => new Promise((e, r) => {
|
|
|
17750
17750
|
}, i.onerror = r, i.readAsDataURL(t);
|
|
17751
17751
|
});
|
|
17752
17752
|
export {
|
|
17753
|
-
|
|
17754
|
-
|
|
17755
|
-
|
|
17756
|
-
|
|
17757
|
-
|
|
17753
|
+
DC as a,
|
|
17754
|
+
ah as b,
|
|
17755
|
+
OC as c,
|
|
17756
|
+
cS as d,
|
|
17757
|
+
pS as e,
|
|
17758
17758
|
ds as f,
|
|
17759
17759
|
So as g,
|
|
17760
|
-
|
|
17760
|
+
pp as h,
|
|
17761
17761
|
Us as i,
|
|
17762
17762
|
_e as m,
|
|
17763
|
-
|
|
17763
|
+
kC as p,
|
|
17764
17764
|
rp as r,
|
|
17765
17765
|
To as s
|
|
17766
17766
|
};
|