@genpact/genome.mfe.mgtwin-app 1.1.332-alpha → 1.1.333-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.
Files changed (22) hide show
  1. package/dist/{AssessmentAMA-081c8381.mjs → AssessmentAMA-26948ec9.mjs} +4 -4
  2. package/dist/{AssessmentSimulation-da9c3898.mjs → AssessmentSimulation-cda8d37f.mjs} +6 -6
  3. package/dist/{EditSkillAdminData-f135d7cb.mjs → EditSkillAdminData-38b73238.mjs} +2 -2
  4. package/dist/{EditSkillData-a308d2cc.mjs → EditSkillData-d323329c.mjs} +2 -2
  5. package/dist/{HomeView-408fb853.mjs → HomeView-313b924b.mjs} +5 -5
  6. package/dist/{Loading-a560fb33.mjs → Loading-e6417654.mjs} +1 -1
  7. package/dist/{LoadingSimulation-7d189740.mjs → LoadingSimulation-cd66ce5a.mjs} +1 -1
  8. package/dist/{Modal-30e89097.mjs → Modal-be775e45.mjs} +1 -1
  9. package/dist/{PaperAirplaneIcon-565a98ab.mjs → PaperAirplaneIcon-9bc4f6bf.mjs} +1 -1
  10. package/dist/{PromptTesting-39b04406.mjs → PromptTesting-f19fe1d3.mjs} +3 -3
  11. package/dist/{SkillAutomation-8a64bf6b.mjs → SkillAutomation-16c628ef.mjs} +3 -3
  12. package/dist/{SkillData-0aad8a3f.mjs → SkillData-c84f18d8.mjs} +3 -3
  13. package/dist/{Testcase-c6133b70.mjs → Testcase-5d14f79a.mjs} +3 -3
  14. package/dist/{UnderMaintenance-f45e9213.mjs → UnderMaintenance-ba78e908.mjs} +1 -1
  15. package/dist/{VoiceTestcase-fc24c546.mjs → VoiceTestcase-c576ee1b.mjs} +45 -45
  16. package/dist/{XMarkIcon-e132e8b7.mjs → XMarkIcon-75df05c7.mjs} +1 -1
  17. package/dist/{api-ebf58124.mjs → api-049c0e19.mjs} +1 -1
  18. package/dist/{main-36268a94.mjs → main-430e9d88.mjs} +1325 -1324
  19. package/dist/mgtwin.es.min.js +1 -1
  20. package/dist/mgtwin.umd.min.js +15 -15
  21. package/dist/{voiceServices-fc22bbcb.mjs → voiceServices-7a6f8d51.mjs} +863 -863
  22. package/package.json +1 -1
@@ -1,43 +1,43 @@
1
- import { r as Pe, k as Uc, C as Wc, q as zn, u as jd } from "./main-36268a94.mjs";
2
- import { g as Vc } from "./api-ebf58124.mjs";
1
+ import { r as Pe, k as xc, u as Uc, C as Wc, q as jn } from "./main-430e9d88.mjs";
2
+ import { g as Vc } from "./api-049c0e19.mjs";
3
3
  import { c as k, a as Ld } from "./_commonjsHelpers-92157f1b.mjs";
4
- const Bd = Pe(""), ao = Uc(), pt = Pe(!1), qd = "Xb7hH8MSUJpSbSDYk0k2", Fd = Pe("");
5
- let An = [];
4
+ const Bd = Pe(""), ao = xc(), dn = Uc(), ut = Pe(!1), qd = "Xb7hH8MSUJpSbSDYk0k2", Fd = Pe("");
5
+ let wn = [];
6
6
  const Hc = Pe(!1);
7
- let lt, st = !1, ne = null, pn = null, Te = null, Ye, et, dt, ht;
7
+ let ot = !1, ne = null, pn = null, Te = null, Ye, et, ht, lt;
8
8
  Wc(async () => {
9
- console.log("Mounted voiceService11Labs"), lt = await _s();
9
+ console.log("Mounted voiceService11Labs"), dn.authToken = await $c();
10
10
  });
11
- const _s = async () => {
11
+ const $c = async () => {
12
12
  var t, e, r, i;
13
13
  try {
14
14
  const p = await Vc("/voiceTesting?ellevenLabs=true");
15
15
  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;
16
16
  } catch (p) {
17
- if (console.error(p), zn.isAxiosError(p)) {
17
+ if (console.error(p), jn.isAxiosError(p)) {
18
18
  const a = p;
19
19
  console.log("Error found!"), console.error((r = a.response) == null ? void 0 : r.data), ao.setError(((i = a.response) == null ? void 0 : i.data).message);
20
20
  } else
21
21
  ao.setError("There was an issue while fetching data");
22
22
  }
23
23
  }, xd = () => {
24
- ht && ht.disconnect(), et && et.disconnect(), console.log("microphone outside->", dt), dt && (console.log("microphone->", dt), console.log("Stopping microphone connection"), dt.disconnect()), Ye && Ye.close();
24
+ lt && lt.disconnect(), et && et.disconnect(), console.log("microphone outside->", ht), ht && (console.log("microphone->", ht), console.log("Stopping microphone connection"), ht.disconnect()), Ye && Ye.close();
25
25
  }, Ud = (t, e = 0.09) => {
26
- console.log("monitorMicDuringTTS called with threshold:", e), Ye = new (window.AudioContext || window.webkitAudioContext)(), et = Ye.createAnalyser(), dt = Ye.createMediaStreamSource(pn), ht = Ye.createScriptProcessor(2048, 1, 1), dt.connect(et), et.connect(ht), ht.connect(Ye.destination), ht.onaudioprocess = () => {
26
+ console.log("monitorMicDuringTTS called with threshold:", e), Ye = new (window.AudioContext || window.webkitAudioContext)(), et = Ye.createAnalyser(), ht = Ye.createMediaStreamSource(pn), lt = Ye.createScriptProcessor(2048, 1, 1), ht.connect(et), et.connect(lt), lt.connect(Ye.destination), lt.onaudioprocess = () => {
27
27
  const r = new Uint8Array(et.frequencyBinCount);
28
28
  et.getByteFrequencyData(r);
29
29
  const i = r.reduce((p, a) => p + a) / r.length;
30
30
  console.log("Average volume:", i), console.log("threshold * 100:", e * 100), i > e * 100 && (t(), console.log("onInterrupt", t), xd());
31
31
  };
32
32
  }, co = async () => {
33
- Hc.value = !0, pt.value = !0, lt = await _s(), console.log("Starting voice recognition with ElevenLabs"), ne && ne.pause(), pn = await navigator.mediaDevices.getUserMedia({ audio: !0 }), await Wd();
33
+ Hc.value = !0, ut.value = !0, console.log("Starting voice recognition with ElevenLabs"), ne && ne.pause(), pn = await navigator.mediaDevices.getUserMedia({ audio: !0 }), await Wd();
34
34
  }, Wd = async () => {
35
35
  if (!pn)
36
36
  throw new Error("micStream is null");
37
- Te = new MediaRecorder(pn), An = [], console.log("Starting beginListening with ElevenLabs"), Te.ondataavailable = (t) => {
38
- ne && ne.pause(), t.data.size > 0 && An.push(t.data), console.log("Audio chunk available:", An);
37
+ Te = new MediaRecorder(pn), wn = [], console.log("Starting beginListening with ElevenLabs"), Te.ondataavailable = (t) => {
38
+ ne && ne.pause(), t.data.size > 0 && wn.push(t.data), console.log("Audio chunk available:", wn);
39
39
  }, Te.onstop = async () => {
40
- const t = new Blob(An, { type: "audio/webm" }), e = await Hd(t);
40
+ const t = new Blob(wn, { type: "audio/webm" }), e = await Hd(t);
41
41
  Fd.value = e, console.log("Transcription:", e), Bd.value = e, Hc.value = !1;
42
42
  }, Te.start(), ne && ne.pause(), Vd(pn, () => {
43
43
  (Te == null ? void 0 : Te.state) === "recording" && Te.stop();
@@ -51,23 +51,23 @@ const _s = async () => {
51
51
  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();
52
52
  };
53
53
  }, Hd = async (t) => {
54
- console.log("authToken 11labs", lt);
54
+ console.log("authToken 11labs", dn.authToken);
55
55
  const e = new FormData();
56
56
  e.append("file", t, "recording.webm"), e.append("model_id", "scribe_v1");
57
57
  const r = await fetch("https://api.elevenlabs.io/v1/speech-to-text?language_code=eng", {
58
58
  method: "POST",
59
59
  headers: {
60
- "xi-api-key": lt
60
+ "xi-api-key": dn.authToken
61
61
  },
62
62
  body: e
63
63
  }), i = await r.json();
64
64
  return r.ok ? (i == null ? void 0 : i.text) || "[No transcription result]" : (console.error("Transcription error:", i), "[Error in transcription]");
65
65
  }, Dm = async (t) => {
66
- console.log("speakText11Labs called with text:", t), lt = await _s(), ne && ne.pause(), st = !0;
66
+ console.log("speakText11Labs called with text:", t), dn.authToken = await $c(), ne && ne.pause(), ot = !0;
67
67
  const r = await (await fetch(`https://api.elevenlabs.io/v1/text-to-speech/${qd}`, {
68
68
  method: "POST",
69
69
  headers: {
70
- "xi-api-key": lt,
70
+ "xi-api-key": dn.authToken,
71
71
  "Content-Type": "application/json"
72
72
  },
73
73
  body: JSON.stringify({
@@ -82,36 +82,36 @@ const _s = async () => {
82
82
  })).blob(), i = URL.createObjectURL(r);
83
83
  return ne = new Audio(i), new Promise((p) => {
84
84
  ne && (ne.onended = async () => {
85
- st = !1, console.log("Audio is playing:", st), pt.value ? (console.log("micEnabled before calling startrecognition:", pt.value), p(await co())) : p();
86
- }, ne.play(), console.log("Audio is playing:", st), console.log("micEnabled:", pt.value), pt.value && Ud(() => {
87
- ne && (ne.pause(), ne.currentTime = 0), st = !1, console.log("monitorMicDuringTTS:", st), console.log("micEnabled before calling startrecognition:", pt.value), co();
85
+ ot = !1, console.log("Audio is playing:", ot), ut.value ? (console.log("micEnabled before calling startrecognition:", ut.value), p(await co())) : p();
86
+ }, ne.play(), console.log("Audio is playing:", ot), console.log("micEnabled:", ut.value), ut.value && Ud(() => {
87
+ ne && (ne.pause(), ne.currentTime = 0), ot = !1, console.log("monitorMicDuringTTS:", ot), console.log("micEnabled before calling startrecognition:", ut.value), co();
88
88
  }));
89
89
  });
90
90
  };
91
- var fe = {}, Yi = {}, jn = {}, es = {}, B = {}, Ct = {}, ue = {}, $c = {}, Ln = {}, Bn = {};
92
- Object.defineProperty(Bn, "__esModule", {
91
+ var fe = {}, es = {}, Ln = {}, ts = {}, B = {}, Ct = {}, ue = {}, Kc = {}, Bn = {}, qn = {};
92
+ Object.defineProperty(qn, "__esModule", {
93
93
  value: !0
94
94
  });
95
- Bn.default = Kd;
96
- let wn;
95
+ qn.default = Kd;
96
+ let _n;
97
97
  const $d = new Uint8Array(16);
98
98
  function Kd() {
99
- if (!wn && (wn = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !wn))
99
+ if (!_n && (_n = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !_n))
100
100
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
101
- return wn($d);
101
+ return _n($d);
102
102
  }
103
- var Ne = {}, rt = {}, qn = {};
104
- Object.defineProperty(qn, "__esModule", {
103
+ var Ne = {}, nt = {}, Fn = {};
104
+ Object.defineProperty(Fn, "__esModule", {
105
105
  value: !0
106
106
  });
107
- qn.default = void 0;
107
+ Fn.default = void 0;
108
108
  var Jd = /^(?:[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;
109
- qn.default = Jd;
110
- Object.defineProperty(rt, "__esModule", {
109
+ Fn.default = Jd;
110
+ Object.defineProperty(nt, "__esModule", {
111
111
  value: !0
112
112
  });
113
- rt.default = void 0;
114
- var Gd = Qd(qn);
113
+ nt.default = void 0;
114
+ var Gd = Qd(Fn);
115
115
  function Qd(t) {
116
116
  return t && t.__esModule ? t : { default: t };
117
117
  }
@@ -119,53 +119,53 @@ function Xd(t) {
119
119
  return typeof t == "string" && Gd.default.test(t);
120
120
  }
121
121
  var Zd = Xd;
122
- rt.default = Zd;
122
+ nt.default = Zd;
123
123
  Object.defineProperty(Ne, "__esModule", {
124
124
  value: !0
125
125
  });
126
126
  Ne.default = void 0;
127
- Ne.unsafeStringify = Kc;
128
- var Yd = eh(rt);
127
+ Ne.unsafeStringify = Jc;
128
+ var Yd = eh(nt);
129
129
  function eh(t) {
130
130
  return t && t.__esModule ? t : { default: t };
131
131
  }
132
132
  const W = [];
133
133
  for (let t = 0; t < 256; ++t)
134
134
  W.push((t + 256).toString(16).slice(1));
135
- function Kc(t, e = 0) {
135
+ function Jc(t, e = 0) {
136
136
  return W[t[e + 0]] + W[t[e + 1]] + W[t[e + 2]] + W[t[e + 3]] + "-" + W[t[e + 4]] + W[t[e + 5]] + "-" + W[t[e + 6]] + W[t[e + 7]] + "-" + W[t[e + 8]] + W[t[e + 9]] + "-" + W[t[e + 10]] + W[t[e + 11]] + W[t[e + 12]] + W[t[e + 13]] + W[t[e + 14]] + W[t[e + 15]];
137
137
  }
138
138
  function th(t, e = 0) {
139
- const r = Kc(t, e);
139
+ const r = Jc(t, e);
140
140
  if (!(0, Yd.default)(r))
141
141
  throw TypeError("Stringified UUID is invalid");
142
142
  return r;
143
143
  }
144
144
  var rh = th;
145
145
  Ne.default = rh;
146
- Object.defineProperty(Ln, "__esModule", {
146
+ Object.defineProperty(Bn, "__esModule", {
147
147
  value: !0
148
148
  });
149
- Ln.default = void 0;
150
- var nh = sh(Bn), ih = Ne;
149
+ Bn.default = void 0;
150
+ var nh = sh(qn), ih = Ne;
151
151
  function sh(t) {
152
152
  return t && t.__esModule ? t : { default: t };
153
153
  }
154
- let po, ts, rs = 0, ns = 0;
154
+ let po, rs, ns = 0, is = 0;
155
155
  function oh(t, e, r) {
156
156
  let i = e && r || 0;
157
157
  const p = e || new Array(16);
158
158
  t = t || {};
159
- let a = t.node || po, s = t.clockseq !== void 0 ? t.clockseq : ts;
159
+ let a = t.node || po, s = t.clockseq !== void 0 ? t.clockseq : rs;
160
160
  if (a == null || s == null) {
161
161
  const h = t.random || (t.rng || nh.default)();
162
- a == null && (a = po = [h[0] | 1, h[1], h[2], h[3], h[4], h[5]]), s == null && (s = ts = (h[6] << 8 | h[7]) & 16383);
162
+ a == null && (a = po = [h[0] | 1, h[1], h[2], h[3], h[4], h[5]]), s == null && (s = rs = (h[6] << 8 | h[7]) & 16383);
163
163
  }
164
- let n = t.msecs !== void 0 ? t.msecs : Date.now(), o = t.nsecs !== void 0 ? t.nsecs : ns + 1;
165
- const c = n - rs + (o - ns) / 1e4;
166
- if (c < 0 && t.clockseq === void 0 && (s = s + 1 & 16383), (c < 0 || n > rs) && t.nsecs === void 0 && (o = 0), o >= 1e4)
164
+ let n = t.msecs !== void 0 ? t.msecs : Date.now(), o = t.nsecs !== void 0 ? t.nsecs : is + 1;
165
+ const c = n - ns + (o - is) / 1e4;
166
+ if (c < 0 && t.clockseq === void 0 && (s = s + 1 & 16383), (c < 0 || n > ns) && t.nsecs === void 0 && (o = 0), o >= 1e4)
167
167
  throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");
168
- rs = n, ns = o, ts = s, n += 122192928e5;
168
+ ns = n, is = o, rs = s, n += 122192928e5;
169
169
  const u = ((n & 268435455) * 1e4 + o) % 4294967296;
170
170
  p[i++] = u >>> 24 & 255, p[i++] = u >>> 16 & 255, p[i++] = u >>> 8 & 255, p[i++] = u & 255;
171
171
  const d = n / 4294967296 * 1e4 & 268435455;
@@ -175,13 +175,13 @@ function oh(t, e, r) {
175
175
  return e || (0, ih.unsafeStringify)(p);
176
176
  }
177
177
  var ah = oh;
178
- Ln.default = ah;
179
- var Fn = {}, De = {}, vn = {};
180
- Object.defineProperty(vn, "__esModule", {
178
+ Bn.default = ah;
179
+ var xn = {}, De = {}, fn = {};
180
+ Object.defineProperty(fn, "__esModule", {
181
181
  value: !0
182
182
  });
183
- vn.default = void 0;
184
- var ch = ph(rt);
183
+ fn.default = void 0;
184
+ var ch = ph(nt);
185
185
  function ph(t) {
186
186
  return t && t.__esModule ? t : { default: t };
187
187
  }
@@ -193,13 +193,13 @@ function uh(t) {
193
193
  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;
194
194
  }
195
195
  var dh = uh;
196
- vn.default = dh;
196
+ fn.default = dh;
197
197
  Object.defineProperty(De, "__esModule", {
198
198
  value: !0
199
199
  });
200
200
  De.URL = De.DNS = void 0;
201
201
  De.default = gh;
202
- var hh = Ne, lh = vh(vn);
202
+ var hh = Ne, lh = vh(fn);
203
203
  function vh(t) {
204
204
  return t && t.__esModule ? t : { default: t };
205
205
  }
@@ -210,10 +210,10 @@ function fh(t) {
210
210
  e.push(t.charCodeAt(r));
211
211
  return e;
212
212
  }
213
- const Jc = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
214
- De.DNS = Jc;
215
- const Gc = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
216
- De.URL = Gc;
213
+ const Gc = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
214
+ De.DNS = Gc;
215
+ const Qc = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
216
+ De.URL = Qc;
217
217
  function gh(t, e, r) {
218
218
  function i(p, a, s, n) {
219
219
  var o;
@@ -232,13 +232,13 @@ function gh(t, e, r) {
232
232
  i.name = t;
233
233
  } catch {
234
234
  }
235
- return i.DNS = Jc, i.URL = Gc, i;
235
+ return i.DNS = Gc, i.URL = Qc, i;
236
236
  }
237
- var xn = {};
238
- Object.defineProperty(xn, "__esModule", {
237
+ var Un = {};
238
+ Object.defineProperty(Un, "__esModule", {
239
239
  value: !0
240
240
  });
241
- xn.default = void 0;
241
+ Un.default = void 0;
242
242
  function mh(t) {
243
243
  if (typeof t == "string") {
244
244
  const e = unescape(encodeURIComponent(t));
@@ -256,11 +256,11 @@ function Sh(t) {
256
256
  }
257
257
  return e;
258
258
  }
259
- function Qc(t) {
259
+ function Xc(t) {
260
260
  return (t + 64 >>> 9 << 4) + 14 + 1;
261
261
  }
262
262
  function Ch(t, e) {
263
- t[e >> 5] |= 128 << e % 32, t[Qc(e) - 1] = e;
263
+ t[e >> 5] |= 128 << e % 32, t[Xc(e) - 1] = e;
264
264
  let r = 1732584193, i = -271733879, p = -1732584194, a = 271733878;
265
265
  for (let s = 0; s < t.length; s += 16) {
266
266
  const n = r, o = i, c = p, u = a;
@@ -271,7 +271,7 @@ function Ch(t, e) {
271
271
  function yh(t) {
272
272
  if (t.length === 0)
273
273
  return [];
274
- const e = t.length * 8, r = new Uint32Array(Qc(e));
274
+ const e = t.length * 8, r = new Uint32Array(Xc(e));
275
275
  for (let i = 0; i < e; i += 8)
276
276
  r[i >> 5] |= (t[i / 8] & 255) << i % 32;
277
277
  return r;
@@ -283,50 +283,50 @@ function Me(t, e) {
283
283
  function Rh(t, e) {
284
284
  return t << e | t >>> 32 - e;
285
285
  }
286
- function Un(t, e, r, i, p, a) {
286
+ function Wn(t, e, r, i, p, a) {
287
287
  return Me(Rh(Me(Me(e, t), Me(i, a)), p), r);
288
288
  }
289
289
  function G(t, e, r, i, p, a, s) {
290
- return Un(e & r | ~e & i, t, e, p, a, s);
290
+ return Wn(e & r | ~e & i, t, e, p, a, s);
291
291
  }
292
292
  function Q(t, e, r, i, p, a, s) {
293
- return Un(e & i | r & ~i, t, e, p, a, s);
293
+ return Wn(e & i | r & ~i, t, e, p, a, s);
294
294
  }
295
295
  function X(t, e, r, i, p, a, s) {
296
- return Un(e ^ r ^ i, t, e, p, a, s);
296
+ return Wn(e ^ r ^ i, t, e, p, a, s);
297
297
  }
298
298
  function Z(t, e, r, i, p, a, s) {
299
- return Un(r ^ (e | ~i), t, e, p, a, s);
299
+ return Wn(r ^ (e | ~i), t, e, p, a, s);
300
300
  }
301
301
  var Ph = mh;
302
- xn.default = Ph;
303
- Object.defineProperty(Fn, "__esModule", {
302
+ Un.default = Ph;
303
+ Object.defineProperty(xn, "__esModule", {
304
304
  value: !0
305
305
  });
306
- Fn.default = void 0;
307
- var Eh = Xc(De), Ih = Xc(xn);
308
- function Xc(t) {
306
+ xn.default = void 0;
307
+ var Eh = Zc(De), Ih = Zc(Un);
308
+ function Zc(t) {
309
309
  return t && t.__esModule ? t : { default: t };
310
310
  }
311
311
  const Th = (0, Eh.default)("v3", 48, Ih.default);
312
312
  var Ah = Th;
313
- Fn.default = Ah;
314
- var Wn = {}, Vn = {};
315
- Object.defineProperty(Vn, "__esModule", {
313
+ xn.default = Ah;
314
+ var Vn = {}, Hn = {};
315
+ Object.defineProperty(Hn, "__esModule", {
316
316
  value: !0
317
317
  });
318
- Vn.default = void 0;
318
+ Hn.default = void 0;
319
319
  const wh = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
320
320
  var _h = {
321
321
  randomUUID: wh
322
322
  };
323
- Vn.default = _h;
324
- Object.defineProperty(Wn, "__esModule", {
323
+ Hn.default = _h;
324
+ Object.defineProperty(Vn, "__esModule", {
325
325
  value: !0
326
326
  });
327
- Wn.default = void 0;
328
- var uo = Zc(Vn), bh = Zc(Bn), Mh = Ne;
329
- function Zc(t) {
327
+ Vn.default = void 0;
328
+ var uo = Yc(Hn), bh = Yc(qn), Mh = Ne;
329
+ function Yc(t) {
330
330
  return t && t.__esModule ? t : { default: t };
331
331
  }
332
332
  function Oh(t, e, r) {
@@ -343,12 +343,12 @@ function Oh(t, e, r) {
343
343
  return (0, Mh.unsafeStringify)(i);
344
344
  }
345
345
  var Dh = Oh;
346
- Wn.default = Dh;
347
- var Hn = {}, $n = {};
348
- Object.defineProperty($n, "__esModule", {
346
+ Vn.default = Dh;
347
+ var $n = {}, Kn = {};
348
+ Object.defineProperty(Kn, "__esModule", {
349
349
  value: !0
350
350
  });
351
- $n.default = void 0;
351
+ Kn.default = void 0;
352
352
  function kh(t, e, r, i) {
353
353
  switch (t) {
354
354
  case 0:
@@ -361,7 +361,7 @@ function kh(t, e, r, i) {
361
361
  return e ^ r ^ i;
362
362
  }
363
363
  }
364
- function is(t, e) {
364
+ function ss(t, e) {
365
365
  return t << e | t >>> 32 - e;
366
366
  }
367
367
  function Nh(t) {
@@ -387,42 +387,42 @@ function Nh(t) {
387
387
  for (let l = 0; l < 16; ++l)
388
388
  n[l] = a[s][l];
389
389
  for (let l = 16; l < 80; ++l)
390
- n[l] = is(n[l - 3] ^ n[l - 8] ^ n[l - 14] ^ n[l - 16], 1);
390
+ n[l] = ss(n[l - 3] ^ n[l - 8] ^ n[l - 14] ^ n[l - 16], 1);
391
391
  let o = r[0], c = r[1], u = r[2], d = r[3], h = r[4];
392
392
  for (let l = 0; l < 80; ++l) {
393
- const f = Math.floor(l / 20), g = is(o, 5) + kh(f, c, u, d) + h + e[f] + n[l] >>> 0;
394
- h = d, d = u, u = is(c, 30) >>> 0, c = o, o = g;
393
+ const f = Math.floor(l / 20), g = ss(o, 5) + kh(f, c, u, d) + h + e[f] + n[l] >>> 0;
394
+ h = d, d = u, u = ss(c, 30) >>> 0, c = o, o = g;
395
395
  }
396
396
  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;
397
397
  }
398
398
  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];
399
399
  }
400
400
  var zh = Nh;
401
- $n.default = zh;
402
- Object.defineProperty(Hn, "__esModule", {
401
+ Kn.default = zh;
402
+ Object.defineProperty($n, "__esModule", {
403
403
  value: !0
404
404
  });
405
- Hn.default = void 0;
406
- var jh = Yc(De), Lh = Yc($n);
407
- function Yc(t) {
405
+ $n.default = void 0;
406
+ var jh = ep(De), Lh = ep(Kn);
407
+ function ep(t) {
408
408
  return t && t.__esModule ? t : { default: t };
409
409
  }
410
410
  const Bh = (0, jh.default)("v5", 80, Lh.default);
411
411
  var qh = Bh;
412
- Hn.default = qh;
413
- var Kn = {};
414
- Object.defineProperty(Kn, "__esModule", {
415
- value: !0
416
- });
417
- Kn.default = void 0;
418
- var Fh = "00000000-0000-0000-0000-000000000000";
419
- Kn.default = Fh;
412
+ $n.default = qh;
420
413
  var Jn = {};
421
414
  Object.defineProperty(Jn, "__esModule", {
422
415
  value: !0
423
416
  });
424
417
  Jn.default = void 0;
425
- var xh = Uh(rt);
418
+ var Fh = "00000000-0000-0000-0000-000000000000";
419
+ Jn.default = Fh;
420
+ var Gn = {};
421
+ Object.defineProperty(Gn, "__esModule", {
422
+ value: !0
423
+ });
424
+ Gn.default = void 0;
425
+ var xh = Uh(nt);
426
426
  function Uh(t) {
427
427
  return t && t.__esModule ? t : { default: t };
428
428
  }
@@ -432,7 +432,7 @@ function Wh(t) {
432
432
  return parseInt(t.slice(14, 15), 16);
433
433
  }
434
434
  var Vh = Wh;
435
- Jn.default = Vh;
435
+ Gn.default = Vh;
436
436
  (function(t) {
437
437
  Object.defineProperty(t, "__esModule", {
438
438
  value: !0
@@ -482,16 +482,16 @@ Jn.default = Vh;
482
482
  return s.default;
483
483
  }
484
484
  });
485
- var e = u(Ln), r = u(Fn), i = u(Wn), p = u(Hn), a = u(Kn), s = u(Jn), n = u(rt), o = u(Ne), c = u(vn);
485
+ var e = u(Bn), r = u(xn), i = u(Vn), p = u($n), a = u(Jn), s = u(Gn), n = u(nt), o = u(Ne), c = u(fn);
486
486
  function u(d) {
487
487
  return d && d.__esModule ? d : { default: d };
488
488
  }
489
- })($c);
489
+ })(Kc);
490
490
  Object.defineProperty(ue, "__esModule", { value: !0 });
491
491
  ue.createNoDashGuid = ue.createGuid = void 0;
492
- const Hh = $c, ep = () => (0, Hh.v4)();
493
- ue.createGuid = ep;
494
- const $h = () => ep().replace(new RegExp("-", "g"), "").toUpperCase();
492
+ const Hh = Kc, tp = () => (0, Hh.v4)();
493
+ ue.createGuid = tp;
494
+ const $h = () => tp().replace(new RegExp("-", "g"), "").toUpperCase();
495
495
  ue.createNoDashGuid = $h;
496
496
  (function(t) {
497
497
  Object.defineProperty(t, "__esModule", { value: !0 }), t.PlatformEvent = t.EventType = void 0;
@@ -523,9 +523,9 @@ ue.createNoDashGuid = $h;
523
523
  })(Ct);
524
524
  Object.defineProperty(B, "__esModule", { value: !0 });
525
525
  B.AudioStreamNodeErrorEvent = B.AudioStreamNodeDetachedEvent = B.AudioStreamNodeAttachedEvent = B.AudioStreamNodeAttachingEvent = B.AudioStreamNodeEvent = B.AudioSourceErrorEvent = B.AudioSourceOffEvent = B.AudioSourceReadyEvent = B.AudioSourceInitializingEvent = B.AudioSourceEvent = void 0;
526
- const Rs = Ct;
527
- class yt extends Rs.PlatformEvent {
528
- constructor(e, r, i = Rs.EventType.Info) {
526
+ const Ps = Ct;
527
+ class yt extends Ps.PlatformEvent {
528
+ constructor(e, r, i = Ps.EventType.Info) {
529
529
  super(e, i), this.privAudioSourceId = r;
530
530
  }
531
531
  get audioSourceId() {
@@ -553,14 +553,14 @@ class Gh extends yt {
553
553
  B.AudioSourceOffEvent = Gh;
554
554
  class Qh extends yt {
555
555
  constructor(e, r) {
556
- super("AudioSourceErrorEvent", e, Rs.EventType.Error), this.privError = r;
556
+ super("AudioSourceErrorEvent", e, Ps.EventType.Error), this.privError = r;
557
557
  }
558
558
  get error() {
559
559
  return this.privError;
560
560
  }
561
561
  }
562
562
  B.AudioSourceErrorEvent = Qh;
563
- class fn extends yt {
563
+ class gn extends yt {
564
564
  constructor(e, r, i) {
565
565
  super(e, r), this.privAudioNodeId = i;
566
566
  }
@@ -568,26 +568,26 @@ class fn extends yt {
568
568
  return this.privAudioNodeId;
569
569
  }
570
570
  }
571
- B.AudioStreamNodeEvent = fn;
572
- class Xh extends fn {
571
+ B.AudioStreamNodeEvent = gn;
572
+ class Xh extends gn {
573
573
  constructor(e, r) {
574
574
  super("AudioStreamNodeAttachingEvent", e, r);
575
575
  }
576
576
  }
577
577
  B.AudioStreamNodeAttachingEvent = Xh;
578
- class Zh extends fn {
578
+ class Zh extends gn {
579
579
  constructor(e, r) {
580
580
  super("AudioStreamNodeAttachedEvent", e, r);
581
581
  }
582
582
  }
583
583
  B.AudioStreamNodeAttachedEvent = Zh;
584
- class Yh extends fn {
584
+ class Yh extends gn {
585
585
  constructor(e, r) {
586
586
  super("AudioStreamNodeDetachedEvent", e, r);
587
587
  }
588
588
  }
589
589
  B.AudioStreamNodeDetachedEvent = Yh;
590
- class el extends fn {
590
+ class el extends gn {
591
591
  constructor(e, r, i) {
592
592
  super("AudioStreamNodeErrorEvent", e, r), this.privError = i;
593
593
  }
@@ -800,9 +800,9 @@ $.ObjectDisposedError = hl;
800
800
  }
801
801
  t.ConnectionMessage = p;
802
802
  })(bs);
803
- var Gn = {};
804
- Object.defineProperty(Gn, "__esModule", { value: !0 });
805
- Gn.ConnectionOpenResponse = void 0;
803
+ var Qn = {};
804
+ Object.defineProperty(Qn, "__esModule", { value: !0 });
805
+ Qn.ConnectionOpenResponse = void 0;
806
806
  class ll {
807
807
  constructor(e, r) {
808
808
  this.privStatusCode = e, this.privReason = r;
@@ -814,10 +814,10 @@ class ll {
814
814
  return this.privReason;
815
815
  }
816
816
  }
817
- Gn.ConnectionOpenResponse = ll;
818
- var Qn = {};
819
- Object.defineProperty(Qn, "__esModule", { value: !0 });
820
- Qn.DeferralMap = void 0;
817
+ Qn.ConnectionOpenResponse = ll;
818
+ var Xn = {};
819
+ Object.defineProperty(Xn, "__esModule", { value: !0 });
820
+ Xn.DeferralMap = void 0;
821
821
  class vl {
822
822
  constructor() {
823
823
  this.privMap = {};
@@ -838,18 +838,18 @@ class vl {
838
838
  }
839
839
  }
840
840
  }
841
- Qn.DeferralMap = vl;
842
- var tt = {};
843
- Object.defineProperty(tt, "__esModule", { value: !0 });
844
- tt.SendingAgentContextMessageEvent = tt.DialogEvent = void 0;
841
+ Xn.DeferralMap = vl;
842
+ var rt = {};
843
+ Object.defineProperty(rt, "__esModule", { value: !0 });
844
+ rt.SendingAgentContextMessageEvent = rt.DialogEvent = void 0;
845
845
  const ho = Ct;
846
- class tp extends ho.PlatformEvent {
846
+ class rp extends ho.PlatformEvent {
847
847
  constructor(e, r = ho.EventType.Info) {
848
848
  super(e, r);
849
849
  }
850
850
  }
851
- tt.DialogEvent = tp;
852
- class fl extends tp {
851
+ rt.DialogEvent = rp;
852
+ class fl extends rp {
853
853
  constructor(e) {
854
854
  super("SendingAgentContextMessageEvent"), this.privAgentConfig = e;
855
855
  }
@@ -857,10 +857,10 @@ class fl extends tp {
857
857
  return this.privAgentConfig;
858
858
  }
859
859
  }
860
- tt.SendingAgentContextMessageEvent = fl;
861
- var Xn = {}, gn = {};
862
- Object.defineProperty(gn, "__esModule", { value: !0 });
863
- gn.EventSource = void 0;
860
+ rt.SendingAgentContextMessageEvent = fl;
861
+ var Zn = {}, mn = {};
862
+ Object.defineProperty(mn, "__esModule", { value: !0 });
863
+ mn.EventSource = void 0;
864
864
  const gl = $, ml = ue;
865
865
  class Sl {
866
866
  constructor(e) {
@@ -897,32 +897,30 @@ class Sl {
897
897
  return this.privMetadata;
898
898
  }
899
899
  }
900
- gn.EventSource = Sl;
901
- Object.defineProperty(Xn, "__esModule", { value: !0 });
902
- Xn.Events = void 0;
903
- const Cl = $, yl = gn;
904
- class dn {
900
+ mn.EventSource = Sl;
901
+ Object.defineProperty(Zn, "__esModule", { value: !0 });
902
+ Zn.Events = void 0;
903
+ const Cl = $, yl = mn;
904
+ class hn {
905
905
  static setEventSource(e) {
906
906
  if (!e)
907
907
  throw new Cl.ArgumentNullError("eventSource");
908
- dn.privInstance = e;
908
+ hn.privInstance = e;
909
909
  }
910
910
  static get instance() {
911
- return dn.privInstance;
911
+ return hn.privInstance;
912
912
  }
913
913
  }
914
- Xn.Events = dn;
915
- dn.privInstance = new yl.EventSource();
916
- var rp = {};
917
- Object.defineProperty(rp, "__esModule", { value: !0 });
914
+ Zn.Events = hn;
915
+ hn.privInstance = new yl.EventSource();
918
916
  var np = {};
917
+ Object.defineProperty(np, "__esModule", { value: !0 });
918
+ var ip = {};
919
919
  (function(t) {
920
920
  Object.defineProperty(t, "__esModule", { value: !0 }), t.ConnectionState = void 0, function(e) {
921
921
  e[e.None = 0] = "None", e[e.Connected = 1] = "Connected", e[e.Connecting = 2] = "Connecting", e[e.Disconnected = 3] = "Disconnected";
922
922
  }(t.ConnectionState || (t.ConnectionState = {}));
923
- })(np);
924
- var ip = {};
925
- Object.defineProperty(ip, "__esModule", { value: !0 });
923
+ })(ip);
926
924
  var sp = {};
927
925
  Object.defineProperty(sp, "__esModule", { value: !0 });
928
926
  var op = {};
@@ -937,9 +935,11 @@ var up = {};
937
935
  Object.defineProperty(up, "__esModule", { value: !0 });
938
936
  var dp = {};
939
937
  Object.defineProperty(dp, "__esModule", { value: !0 });
940
- var mn = {};
941
- Object.defineProperty(mn, "__esModule", { value: !0 });
942
- mn.List = void 0;
938
+ var hp = {};
939
+ Object.defineProperty(hp, "__esModule", { value: !0 });
940
+ var Sn = {};
941
+ Object.defineProperty(Sn, "__esModule", { value: !0 });
942
+ Sn.List = void 0;
943
943
  const Rl = $;
944
944
  class we {
945
945
  constructor(e) {
@@ -1070,7 +1070,7 @@ class we {
1070
1070
  r && e[r]();
1071
1071
  }
1072
1072
  }
1073
- mn.List = we;
1073
+ Sn.List = we;
1074
1074
  var Ms = {};
1075
1075
  (function(t) {
1076
1076
  Object.defineProperty(t, "__esModule", { value: !0 }), t.marshalPromiseToCallbacks = t.Sink = t.Deferred = t.PromiseResultEventSource = t.PromiseResult = t.PromiseState = void 0;
@@ -1207,17 +1207,17 @@ var Ms = {};
1207
1207
  }
1208
1208
  t.marshalPromiseToCallbacks = s;
1209
1209
  })(Ms);
1210
- var Sn = {};
1211
- Object.defineProperty(Sn, "__esModule", { value: !0 });
1212
- Sn.Queue = void 0;
1213
- const ss = $, os = mn, lo = Ms;
1210
+ var Cn = {};
1211
+ Object.defineProperty(Cn, "__esModule", { value: !0 });
1212
+ Cn.Queue = void 0;
1213
+ const os = $, as = Sn, lo = Ms;
1214
1214
  var un;
1215
1215
  (function(t) {
1216
1216
  t[t.Dequeue = 0] = "Dequeue", t[t.Peek = 1] = "Peek";
1217
1217
  })(un || (un = {}));
1218
1218
  class Pl {
1219
1219
  constructor(e) {
1220
- this.privPromiseStore = new os.List(), this.privIsDrainInProgress = !1, this.privIsDisposing = !1, this.privDisposeReason = null, this.privList = e || new os.List(), this.privDetachables = [], this.privSubscribers = new os.List(), this.privDetachables.push(this.privList.onAdded(() => this.drain()));
1220
+ this.privPromiseStore = new as.List(), this.privIsDrainInProgress = !1, this.privIsDisposing = !1, this.privDisposeReason = null, this.privList = e || new as.List(), this.privDetachables = [], this.privSubscribers = new as.List(), this.privDetachables.push(this.privList.onAdded(() => this.drain()));
1221
1221
  }
1222
1222
  enqueue(e) {
1223
1223
  this.throwIfDispose(), this.enqueueFromPromise(new Promise((r) => r(e)));
@@ -1292,23 +1292,23 @@ class Pl {
1292
1292
  }
1293
1293
  throwIfDispose() {
1294
1294
  if (this.isDisposed())
1295
- throw this.privDisposeReason ? new ss.InvalidOperationError(this.privDisposeReason) : new ss.ObjectDisposedError("Queue");
1295
+ throw this.privDisposeReason ? new os.InvalidOperationError(this.privDisposeReason) : new os.ObjectDisposedError("Queue");
1296
1296
  if (this.privIsDisposing)
1297
- throw new ss.InvalidOperationError("Queue disposing");
1297
+ throw new os.InvalidOperationError("Queue disposing");
1298
1298
  }
1299
1299
  }
1300
- Sn.Queue = Pl;
1301
- var Zn = {};
1302
- Object.defineProperty(Zn, "__esModule", { value: !0 });
1303
- Zn.RawWebsocketMessage = void 0;
1304
- const _n = bs, Et = $, El = ue;
1300
+ Cn.Queue = Pl;
1301
+ var Yn = {};
1302
+ Object.defineProperty(Yn, "__esModule", { value: !0 });
1303
+ Yn.RawWebsocketMessage = void 0;
1304
+ const bn = bs, Et = $, El = ue;
1305
1305
  class Il {
1306
1306
  constructor(e, r, i) {
1307
1307
  if (this.privPayload = null, !r)
1308
1308
  throw new Et.ArgumentNullError("payload");
1309
- if (e === _n.MessageType.Binary && Object.getPrototypeOf(r).constructor.name !== "ArrayBuffer")
1309
+ if (e === bn.MessageType.Binary && Object.getPrototypeOf(r).constructor.name !== "ArrayBuffer")
1310
1310
  throw new Et.InvalidOperationError("Payload must be ArrayBuffer");
1311
- if (e === _n.MessageType.Text && typeof r != "string")
1311
+ if (e === bn.MessageType.Text && typeof r != "string")
1312
1312
  throw new Et.InvalidOperationError("Payload must be a string");
1313
1313
  this.privMessageType = e, this.privPayload = r, this.privId = i || (0, El.createNoDashGuid)();
1314
1314
  }
@@ -1319,12 +1319,12 @@ class Il {
1319
1319
  return this.privPayload;
1320
1320
  }
1321
1321
  get textContent() {
1322
- if (this.privMessageType === _n.MessageType.Binary)
1322
+ if (this.privMessageType === bn.MessageType.Binary)
1323
1323
  throw new Et.InvalidOperationError("Not supported for binary message");
1324
1324
  return this.privPayload;
1325
1325
  }
1326
1326
  get binaryContent() {
1327
- if (this.privMessageType === _n.MessageType.Text)
1327
+ if (this.privMessageType === bn.MessageType.Text)
1328
1328
  throw new Et.InvalidOperationError("Not supported for text message");
1329
1329
  return this.privPayload;
1330
1330
  }
@@ -1332,10 +1332,10 @@ class Il {
1332
1332
  return this.privId;
1333
1333
  }
1334
1334
  }
1335
- Zn.RawWebsocketMessage = Il;
1336
- var Yn = {};
1337
- Object.defineProperty(Yn, "__esModule", { value: !0 });
1338
- Yn.RiffPcmEncoder = void 0;
1335
+ Yn.RawWebsocketMessage = Il;
1336
+ var ei = {};
1337
+ Object.defineProperty(ei, "__esModule", { value: !0 });
1338
+ ei.RiffPcmEncoder = void 0;
1339
1339
  class Tl {
1340
1340
  constructor(e, r) {
1341
1341
  this.privActualSampleRate = e, this.privDesiredSampleRate = r;
@@ -1374,11 +1374,11 @@ class Tl {
1374
1374
  return s;
1375
1375
  }
1376
1376
  }
1377
- Yn.RiffPcmEncoder = Tl;
1378
- var ei = {};
1379
- Object.defineProperty(ei, "__esModule", { value: !0 });
1380
- ei.Stream = void 0;
1381
- const vo = $, Al = ue, fo = Sn;
1377
+ ei.RiffPcmEncoder = Tl;
1378
+ var ti = {};
1379
+ Object.defineProperty(ti, "__esModule", { value: !0 });
1380
+ ti.Stream = void 0;
1381
+ const vo = $, Al = ue, fo = Cn;
1382
1382
  class wl {
1383
1383
  constructor(e) {
1384
1384
  this.privIsWriteEnded = !1, this.privIsReadEnded = !1, this.privId = e || (0, Al.createNoDashGuid)(), this.privReaderQueue = new fo.Queue();
@@ -1419,13 +1419,13 @@ class wl {
1419
1419
  throw new vo.InvalidOperationError("Stream closed");
1420
1420
  }
1421
1421
  }
1422
- ei.Stream = wl;
1423
- var ti = {};
1422
+ ti.Stream = wl;
1423
+ var ri = {};
1424
1424
  (function(t) {
1425
1425
  Object.defineProperty(t, "__esModule", { value: !0 }), t.TranslationStatus = void 0, function(e) {
1426
1426
  e[e.Success = 0] = "Success", e[e.Error = 1] = "Error";
1427
1427
  }(t.TranslationStatus || (t.TranslationStatus = {}));
1428
- })(ti);
1428
+ })(ri);
1429
1429
  var It = {}, go;
1430
1430
  function _l() {
1431
1431
  if (go)
@@ -1462,11 +1462,11 @@ function _l() {
1462
1462
  };
1463
1463
  return It.ChunkedArrayBufferStream = e, It;
1464
1464
  }
1465
- var hp = {};
1466
- Object.defineProperty(hp, "__esModule", { value: !0 });
1467
- var ri = {};
1468
- Object.defineProperty(ri, "__esModule", { value: !0 });
1469
- ri.Timeout = void 0;
1465
+ var lp = {};
1466
+ Object.defineProperty(lp, "__esModule", { value: !0 });
1467
+ var ni = {};
1468
+ Object.defineProperty(ni, "__esModule", { value: !0 });
1469
+ ni.Timeout = void 0;
1470
1470
  class Y {
1471
1471
  static load() {
1472
1472
  const e = /* @__PURE__ */ new Map([[0, () => {
@@ -1524,7 +1524,7 @@ class Y {
1524
1524
  return e.error === null && typeof e.id == "number";
1525
1525
  }
1526
1526
  }
1527
- ri.Timeout = Y;
1527
+ ni.Timeout = Y;
1528
1528
  Y.workerTimers = null;
1529
1529
  Y.clearTimeout = (t) => Y.timers().clearTimeout(t);
1530
1530
  Y.setTimeout = (t, e) => Y.timers().setTimeout(t, e);
@@ -1664,12 +1664,12 @@ function A() {
1664
1664
  for (var s in p)
1665
1665
  s !== "default" && !Object.prototype.hasOwnProperty.call(a, s) && e(a, p, s);
1666
1666
  };
1667
- Object.defineProperty(t, "__esModule", { value: !0 }), t.TranslationStatus = void 0, r(B, t), r(q, t), r(bs, t), r(Gn, t), r(Qn, t), r(tt, t), r($, t), r(Xn, t), r(gn, t), r(ue, t), r(rp, t), r(np, t), r(ip, t), r(sp, t), r(op, t), r(ap, t), r(cp, t), r(pp, t), r(up, t), r(dp, t), r(mn, t), r(Ct, t), r(Ms, t), r(Sn, t), r(Zn, t), r(Yn, t), r(ei, t);
1668
- var i = ti;
1667
+ Object.defineProperty(t, "__esModule", { value: !0 }), t.TranslationStatus = void 0, r(B, t), r(q, t), r(bs, t), r(Qn, t), r(Xn, t), r(rt, t), r($, t), r(Zn, t), r(mn, t), r(ue, t), r(np, t), r(ip, t), r(sp, t), r(op, t), r(ap, t), r(cp, t), r(pp, t), r(up, t), r(dp, t), r(hp, t), r(Sn, t), r(Ct, t), r(Ms, t), r(Cn, t), r(Yn, t), r(ei, t), r(ti, t);
1668
+ var i = ri;
1669
1669
  Object.defineProperty(t, "TranslationStatus", { enumerable: !0, get: function() {
1670
1670
  return i.TranslationStatus;
1671
- } }), r(_l(), t), r(hp, t), r(ri, t), r(N, t), r(Hl(), t);
1672
- }(es)), es;
1671
+ } }), r(_l(), t), r(lp, t), r(ni, t), r(N, t), r(Hl(), t);
1672
+ }(ts)), ts;
1673
1673
  }
1674
1674
  var x = {};
1675
1675
  Object.defineProperty(x, "__esModule", { value: !0 });
@@ -1702,8 +1702,8 @@ class $l {
1702
1702
  }
1703
1703
  }
1704
1704
  Rt.AuthInfo = $l;
1705
- Object.defineProperty(jn, "__esModule", { value: !0 });
1706
- jn.CognitiveSubscriptionKeyAuthentication = void 0;
1705
+ Object.defineProperty(Ln, "__esModule", { value: !0 });
1706
+ Ln.CognitiveSubscriptionKeyAuthentication = void 0;
1707
1707
  const Kl = A(), Jl = x, Gl = Rt;
1708
1708
  class Ql {
1709
1709
  /**
@@ -1739,12 +1739,12 @@ class Ql {
1739
1739
  return Promise.resolve(this.privAuthInfo);
1740
1740
  }
1741
1741
  }
1742
- jn.CognitiveSubscriptionKeyAuthentication = Ql;
1743
- var ni = {};
1744
- Object.defineProperty(ni, "__esModule", { value: !0 });
1745
- ni.CognitiveTokenAuthentication = void 0;
1742
+ Ln.CognitiveSubscriptionKeyAuthentication = Ql;
1743
+ var ii = {};
1744
+ Object.defineProperty(ii, "__esModule", { value: !0 });
1745
+ ii.CognitiveTokenAuthentication = void 0;
1746
1746
  const Co = A(), yo = Rt, Ro = x;
1747
- class hn {
1747
+ class ln {
1748
1748
  constructor(e, r) {
1749
1749
  if (!e)
1750
1750
  throw new Co.ArgumentNullError("fetchCallback");
@@ -1753,23 +1753,23 @@ class hn {
1753
1753
  this.privFetchCallback = e, this.privFetchOnExpiryCallback = r;
1754
1754
  }
1755
1755
  fetch(e) {
1756
- return this.privFetchCallback(e).then((r) => new yo.AuthInfo(Ro.HeaderNames.Authorization, r === void 0 ? void 0 : hn.privTokenPrefix + r));
1756
+ return this.privFetchCallback(e).then((r) => new yo.AuthInfo(Ro.HeaderNames.Authorization, r === void 0 ? void 0 : ln.privTokenPrefix + r));
1757
1757
  }
1758
1758
  fetchOnExpiry(e) {
1759
- return this.privFetchOnExpiryCallback(e).then((r) => new yo.AuthInfo(Ro.HeaderNames.Authorization, r === void 0 ? void 0 : hn.privTokenPrefix + r));
1759
+ return this.privFetchOnExpiryCallback(e).then((r) => new yo.AuthInfo(Ro.HeaderNames.Authorization, r === void 0 ? void 0 : ln.privTokenPrefix + r));
1760
1760
  }
1761
1761
  }
1762
- ni.CognitiveTokenAuthentication = hn;
1763
- hn.privTokenPrefix = "Bearer ";
1764
- var lp = {};
1765
- Object.defineProperty(lp, "__esModule", { value: !0 });
1762
+ ii.CognitiveTokenAuthentication = ln;
1763
+ ln.privTokenPrefix = "Bearer ";
1766
1764
  var vp = {};
1767
1765
  Object.defineProperty(vp, "__esModule", { value: !0 });
1768
- var At = {}, as = {}, ii = {};
1766
+ var fp = {};
1767
+ Object.defineProperty(fp, "__esModule", { value: !0 });
1768
+ var At = {}, cs = {}, si = {};
1769
1769
  const Xl = {}, Zl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1770
1770
  __proto__: null,
1771
1771
  default: Xl
1772
- }, Symbol.toStringTag, { value: "Module" })), nt = /* @__PURE__ */ Ld(Zl);
1772
+ }, Symbol.toStringTag, { value: "Module" })), it = /* @__PURE__ */ Ld(Zl);
1773
1773
  var Os = {};
1774
1774
  (function(t) {
1775
1775
  Object.defineProperty(t, "__esModule", { value: !0 }), t.LogLevel = void 0;
@@ -1840,9 +1840,9 @@ var Yl = k && k.__createBinding || (Object.create ? function(t, e, r, i) {
1840
1840
  r !== "default" && Object.prototype.hasOwnProperty.call(t, r) && Yl(e, t, r);
1841
1841
  return ev(e, t), e;
1842
1842
  };
1843
- Object.defineProperty(ii, "__esModule", { value: !0 });
1844
- ii.ConsoleLoggingListener = void 0;
1845
- const Po = tv(nt), wt = Os, rv = b;
1843
+ Object.defineProperty(si, "__esModule", { value: !0 });
1844
+ si.ConsoleLoggingListener = void 0;
1845
+ const Po = tv(it), wt = Os, rv = b;
1846
1846
  class nv {
1847
1847
  constructor(e = wt.LogLevel.None) {
1848
1848
  this.privLogPath = void 0, this.privEnableConsoleOutput = !0, this.privLogLevelFilter = e;
@@ -1892,10 +1892,10 @@ File System access not available`), this.privLogPath = e;
1892
1892
  return r.join(" | ");
1893
1893
  }
1894
1894
  }
1895
- ii.ConsoleLoggingListener = nv;
1896
- var fp = {};
1897
- Object.defineProperty(fp, "__esModule", { value: !0 });
1898
- var cs = {}, ze = {};
1895
+ si.ConsoleLoggingListener = nv;
1896
+ var gp = {};
1897
+ Object.defineProperty(gp, "__esModule", { value: !0 });
1898
+ var ps = {}, ze = {};
1899
1899
  (function(t) {
1900
1900
  Object.defineProperty(t, "__esModule", { value: !0 }), t.AudioStreamFormatImpl = t.AudioStreamFormat = t.AudioFormatTag = void 0;
1901
1901
  var e;
@@ -2158,7 +2158,7 @@ function iv() {
2158
2158
  }
2159
2159
  }
2160
2160
  t.MicAudioSource = p, p.AUDIOFORMAT = i.AudioStreamFormat.getDefaultInputFormat();
2161
- }(cs)), cs;
2161
+ }(ps)), ps;
2162
2162
  }
2163
2163
  var _t = {}, Io;
2164
2164
  function sv() {
@@ -2288,9 +2288,9 @@ function sv() {
2288
2288
  };
2289
2289
  return _t.FileAudioSource = i, _t;
2290
2290
  }
2291
- var si = {};
2292
- Object.defineProperty(si, "__esModule", { value: !0 });
2293
- si.PcmRecorder = void 0;
2291
+ var oi = {};
2292
+ Object.defineProperty(oi, "__esModule", { value: !0 });
2293
+ oi.PcmRecorder = void 0;
2294
2294
  const ov = A();
2295
2295
  class av {
2296
2296
  constructor(e) {
@@ -2379,8 +2379,8 @@ class av {
2379
2379
  this.privSpeechProcessorScript = e;
2380
2380
  }
2381
2381
  }
2382
- si.PcmRecorder = av;
2383
- var oi = {}, Cn = {}, cv = k && k.__createBinding || (Object.create ? function(t, e, r, i) {
2382
+ oi.PcmRecorder = av;
2383
+ var ai = {}, yn = {}, cv = k && k.__createBinding || (Object.create ? function(t, e, r, i) {
2384
2384
  i === void 0 && (i = r), Object.defineProperty(t, i, { enumerable: !0, get: function() {
2385
2385
  return e[r];
2386
2386
  } });
@@ -2390,7 +2390,7 @@ var oi = {}, Cn = {}, cv = k && k.__createBinding || (Object.create ? function(t
2390
2390
  Object.defineProperty(t, "default", { enumerable: !0, value: e });
2391
2391
  } : function(t, e) {
2392
2392
  t.default = e;
2393
- }), gp = k && k.__importStar || function(t) {
2393
+ }), mp = k && k.__importStar || function(t) {
2394
2394
  if (t && t.__esModule)
2395
2395
  return t;
2396
2396
  var e = {};
@@ -2401,10 +2401,10 @@ var oi = {}, Cn = {}, cv = k && k.__createBinding || (Object.create ? function(t
2401
2401
  }, Ds = k && k.__importDefault || function(t) {
2402
2402
  return t && t.__esModule ? t : { default: t };
2403
2403
  };
2404
- Object.defineProperty(Cn, "__esModule", { value: !0 });
2405
- Cn.WebsocketMessageAdapter = void 0;
2406
- const uv = gp(nt), dv = gp(nt), hv = Ds(nt), lv = Ds(nt), vv = Ds(nt), fv = x, M = A();
2407
- class ln {
2404
+ Object.defineProperty(yn, "__esModule", { value: !0 });
2405
+ yn.WebsocketMessageAdapter = void 0;
2406
+ const uv = mp(it), dv = mp(it), hv = Ds(it), lv = Ds(it), vv = Ds(it), fv = x, M = A();
2407
+ class vn {
2408
2408
  constructor(e, r, i, p, a, s) {
2409
2409
  if (!e)
2410
2410
  throw new M.ArgumentNullError("uri");
@@ -2422,7 +2422,7 @@ class ln {
2422
2422
  return this.privConnectionEstablishDeferral.promise;
2423
2423
  this.privConnectionEstablishDeferral = new M.Deferred(), this.privCertificateValidatedDeferral = new M.Deferred(), this.privConnectionState = M.ConnectionState.Connecting;
2424
2424
  try {
2425
- if (typeof WebSocket < "u" && !ln.forceNpmWebSocket)
2425
+ if (typeof WebSocket < "u" && !vn.forceNpmWebSocket)
2426
2426
  this.privCertificateValidatedDeferral.resolve(), this.privWebsocketClient = new WebSocket(this.privUri);
2427
2427
  else {
2428
2428
  let r = new URL(this.privUri).protocol;
@@ -2556,7 +2556,7 @@ class ln {
2556
2556
  requestOCSP: !0,
2557
2557
  servername: r.host
2558
2558
  }, this.proxyInfo) {
2559
- const a = ln.GetProxyAgent(this.proxyInfo);
2559
+ const a = vn.GetProxyAgent(this.proxyInfo);
2560
2560
  i = new Promise((s, n) => {
2561
2561
  a.callback(e, r, (o, c) => {
2562
2562
  o ? n(o) : s(c);
@@ -2570,17 +2570,17 @@ class ln {
2570
2570
  return this.privWebsocketClient && this.privWebsocketClient.readyState === this.privWebsocketClient.OPEN;
2571
2571
  }
2572
2572
  }
2573
- Cn.WebsocketMessageAdapter = ln;
2574
- ln.forceNpmWebSocket = !1;
2575
- Object.defineProperty(oi, "__esModule", { value: !0 });
2576
- oi.WebsocketConnection = void 0;
2577
- const ps = A(), gv = Cn;
2573
+ yn.WebsocketMessageAdapter = vn;
2574
+ vn.forceNpmWebSocket = !1;
2575
+ Object.defineProperty(ai, "__esModule", { value: !0 });
2576
+ ai.WebsocketConnection = void 0;
2577
+ const us = A(), gv = yn;
2578
2578
  class mv {
2579
2579
  constructor(e, r, i, p, a, s = !1, n) {
2580
2580
  if (this.privIsDisposed = !1, !e)
2581
- throw new ps.ArgumentNullError("uri");
2581
+ throw new us.ArgumentNullError("uri");
2582
2582
  if (!p)
2583
- throw new ps.ArgumentNullError("messageFormatter");
2583
+ throw new us.ArgumentNullError("messageFormatter");
2584
2584
  this.privMessageFormatter = p;
2585
2585
  let o = "", c = 0;
2586
2586
  if (r) {
@@ -2601,7 +2601,7 @@ class mv {
2601
2601
  o += `${u}=${d}`, c++;
2602
2602
  }
2603
2603
  }
2604
- this.privUri = e + o, this.privId = n || (0, ps.createNoDashGuid)(), this.privConnectionMessageAdapter = new gv.WebsocketMessageAdapter(this.privUri, this.id, this.privMessageFormatter, a, i, s);
2604
+ this.privUri = e + o, this.privId = n || (0, us.createNoDashGuid)(), this.privConnectionMessageAdapter = new gv.WebsocketMessageAdapter(this.privUri, this.id, this.privMessageFormatter, a, i, s);
2605
2605
  }
2606
2606
  async dispose() {
2607
2607
  this.privIsDisposed = !0, this.privConnectionMessageAdapter && await this.privConnectionMessageAdapter.close();
@@ -2631,10 +2631,10 @@ class mv {
2631
2631
  return this.privConnectionMessageAdapter.events;
2632
2632
  }
2633
2633
  }
2634
- oi.WebsocketConnection = mv;
2635
- var ai = {};
2636
- Object.defineProperty(ai, "__esModule", { value: !0 });
2637
- ai.ReplayableAudioNode = void 0;
2634
+ ai.WebsocketConnection = mv;
2635
+ var ci = {};
2636
+ Object.defineProperty(ci, "__esModule", { value: !0 });
2637
+ ci.ReplayableAudioNode = void 0;
2638
2638
  class Sv {
2639
2639
  constructor(e, r) {
2640
2640
  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;
@@ -2696,13 +2696,13 @@ class Sv {
2696
2696
  return 0;
2697
2697
  }
2698
2698
  }
2699
- ai.ReplayableAudioNode = Sv;
2699
+ ci.ReplayableAudioNode = Sv;
2700
2700
  class Cv {
2701
2701
  constructor(e, r, i) {
2702
2702
  this.chunk = e, this.serial = r, this.byteOffset = i;
2703
2703
  }
2704
2704
  }
2705
- var bt = {}, us = {}, me = {}, yn = {}, yv = k && k.__createBinding || (Object.create ? function(t, e, r, i) {
2705
+ var bt = {}, ds = {}, me = {}, Rn = {}, yv = k && k.__createBinding || (Object.create ? function(t, e, r, i) {
2706
2706
  i === void 0 && (i = r), Object.defineProperty(t, i, { enumerable: !0, get: function() {
2707
2707
  return e[r];
2708
2708
  } });
@@ -2721,21 +2721,21 @@ var bt = {}, us = {}, me = {}, yn = {}, yv = k && k.__createBinding || (Object.c
2721
2721
  r !== "default" && Object.prototype.hasOwnProperty.call(t, r) && yv(e, t, r);
2722
2722
  return Rv(e, t), e;
2723
2723
  };
2724
- Object.defineProperty(yn, "__esModule", { value: !0 });
2725
- yn.AudioFileWriter = void 0;
2726
- const Mt = Pv(nt), ds = b;
2724
+ Object.defineProperty(Rn, "__esModule", { value: !0 });
2725
+ Rn.AudioFileWriter = void 0;
2726
+ const Mt = Pv(it), hs = b;
2727
2727
  class Ev {
2728
2728
  constructor(e) {
2729
- ds.Contracts.throwIfNullOrUndefined(Mt.openSync, `
2729
+ hs.Contracts.throwIfNullOrUndefined(Mt.openSync, `
2730
2730
  File System access not available, please use Push or PullAudioOutputStream`), this.privFd = Mt.openSync(e, "w");
2731
2731
  }
2732
2732
  set format(e) {
2733
- ds.Contracts.throwIfNotUndefined(this.privAudioFormat, "format is already set"), this.privAudioFormat = e;
2733
+ hs.Contracts.throwIfNotUndefined(this.privAudioFormat, "format is already set"), this.privAudioFormat = e;
2734
2734
  let r = 0;
2735
2735
  this.privAudioFormat.hasHeader && (r = this.privAudioFormat.header.byteLength), this.privFd !== void 0 && (this.privWriteStream = Mt.createWriteStream("", { fd: this.privFd, start: r, autoClose: !1 }));
2736
2736
  }
2737
2737
  write(e) {
2738
- ds.Contracts.throwIfNullOrUndefined(this.privAudioFormat, "must set format before writing."), this.privWriteStream !== void 0 && this.privWriteStream.write(new Uint8Array(e.slice(0)));
2738
+ hs.Contracts.throwIfNullOrUndefined(this.privAudioFormat, "must set format before writing."), this.privWriteStream !== void 0 && this.privWriteStream.write(new Uint8Array(e.slice(0)));
2739
2739
  }
2740
2740
  close() {
2741
2741
  this.privFd !== void 0 && (this.privWriteStream.on("finish", () => {
@@ -2746,9 +2746,9 @@ File System access not available, please use Push or PullAudioOutputStream`), th
2746
2746
  return this.privId;
2747
2747
  }
2748
2748
  }
2749
- yn.AudioFileWriter = Ev;
2749
+ Rn.AudioFileWriter = Ev;
2750
2750
  var oe = {}, To;
2751
- function mp() {
2751
+ function Sp() {
2752
2752
  if (To)
2753
2753
  return oe;
2754
2754
  To = 1, Object.defineProperty(oe, "__esModule", { value: !0 }), oe.PullAudioInputStreamImpl = oe.PullAudioInputStream = oe.PushAudioInputStreamImpl = oe.PushAudioInputStream = oe.AudioInputStream = void 0;
@@ -3208,7 +3208,7 @@ _.SpeechSynthesisOutputFormatToString = {
3208
3208
  };
3209
3209
  Object.defineProperty(H, "__esModule", { value: !0 });
3210
3210
  H.PushAudioOutputStreamImpl = H.PushAudioOutputStream = H.PullAudioOutputStreamImpl = H.PullAudioOutputStream = H.AudioOutputStream = void 0;
3211
- const Ps = A(), Iv = b, Tv = je;
3211
+ const Es = A(), Iv = b, Tv = je;
3212
3212
  class Ns {
3213
3213
  /**
3214
3214
  * Creates and initializes an instance.
@@ -3237,17 +3237,17 @@ class zs extends Ns {
3237
3237
  * @returns {PullAudioOutputStream} The push audio output stream being created.
3238
3238
  */
3239
3239
  static create() {
3240
- return new Sp();
3240
+ return new Cp();
3241
3241
  }
3242
3242
  }
3243
3243
  H.PullAudioOutputStream = zs;
3244
- class Sp extends zs {
3244
+ class Cp extends zs {
3245
3245
  /**
3246
3246
  * Creates and initializes an instance with the given values.
3247
3247
  * @constructor
3248
3248
  */
3249
3249
  constructor() {
3250
- super(), this.privId = (0, Ps.createNoDashGuid)(), this.privStream = new Ps.Stream();
3250
+ super(), this.privId = (0, Es.createNoDashGuid)(), this.privStream = new Es.Stream();
3251
3251
  }
3252
3252
  /**
3253
3253
  * Sets the format information to the stream. For internal use only.
@@ -3330,8 +3330,8 @@ class Sp extends zs {
3330
3330
  this.privStream.close();
3331
3331
  }
3332
3332
  }
3333
- H.PullAudioOutputStreamImpl = Sp;
3334
- class Cp extends Ns {
3333
+ H.PullAudioOutputStreamImpl = Cp;
3334
+ class yp extends Ns {
3335
3335
  /**
3336
3336
  * Creates and initializes and instance.
3337
3337
  * @constructor
@@ -3350,11 +3350,11 @@ class Cp extends Ns {
3350
3350
  * @returns {PushAudioOutputStream} The push audio output stream being created.
3351
3351
  */
3352
3352
  static create(e) {
3353
- return new yp(e);
3353
+ return new Rp(e);
3354
3354
  }
3355
3355
  }
3356
- H.PushAudioOutputStream = Cp;
3357
- class yp extends Cp {
3356
+ H.PushAudioOutputStream = yp;
3357
+ class Rp extends yp {
3358
3358
  /**
3359
3359
  * Creates a PushAudioOutputStream that delegates to the specified callback interface for
3360
3360
  * read() and close() methods.
@@ -3363,7 +3363,7 @@ class yp extends Cp {
3363
3363
  * derived from PushAudioOutputStreamCallback
3364
3364
  */
3365
3365
  constructor(e) {
3366
- super(), this.privId = (0, Ps.createNoDashGuid)(), this.privCallback = e;
3366
+ super(), this.privId = (0, Es.createNoDashGuid)(), this.privCallback = e;
3367
3367
  }
3368
3368
  // eslint-disable-next-line @typescript-eslint/no-empty-function
3369
3369
  set format(e) {
@@ -3378,14 +3378,14 @@ class yp extends Cp {
3378
3378
  return this.privId;
3379
3379
  }
3380
3380
  }
3381
- H.PushAudioOutputStreamImpl = yp;
3381
+ H.PushAudioOutputStreamImpl = Rp;
3382
3382
  var Ao;
3383
- function Pp() {
3383
+ function Ep() {
3384
3384
  if (Ao)
3385
3385
  return me;
3386
3386
  Ao = 1, Object.defineProperty(me, "__esModule", { value: !0 }), me.AudioOutputConfigImpl = me.AudioConfigImpl = me.AudioConfig = void 0;
3387
- const t = U(), e = b, r = R(), i = yn, p = mp(), a = H;
3388
- let s = class Rp {
3387
+ const t = U(), e = b, r = R(), i = Rn, p = Sp(), a = H;
3388
+ let s = class Pp {
3389
3389
  /**
3390
3390
  * Creates an AudioConfig object representing the default microphone on the system.
3391
3391
  * @member AudioConfig.fromDefaultMicrophoneInput
@@ -3464,7 +3464,7 @@ function Pp() {
3464
3464
  */
3465
3465
  static fromSpeakerOutput(u) {
3466
3466
  if (u === void 0)
3467
- return Rp.fromDefaultSpeakerOutput();
3467
+ return Pp.fromDefaultSpeakerOutput();
3468
3468
  if (u instanceof r.SpeakerAudioDestination)
3469
3469
  return new o(u);
3470
3470
  throw new Error("Not Supported Type");
@@ -3629,27 +3629,27 @@ function Pp() {
3629
3629
  }
3630
3630
  return me.AudioOutputConfigImpl = o, me;
3631
3631
  }
3632
- var Ep = {};
3632
+ var Ip = {};
3633
3633
  (function(t) {
3634
3634
  Object.defineProperty(t, "__esModule", { value: !0 }), t.CancellationReason = void 0, function(e) {
3635
3635
  e[e.Error = 0] = "Error", e[e.EndOfStream = 1] = "EndOfStream";
3636
3636
  }(t.CancellationReason || (t.CancellationReason = {}));
3637
- })(Ep);
3638
- var ci = {};
3639
- Object.defineProperty(ci, "__esModule", { value: !0 });
3640
- ci.PullAudioInputStreamCallback = void 0;
3641
- class Av {
3642
- }
3643
- ci.PullAudioInputStreamCallback = Av;
3637
+ })(Ip);
3644
3638
  var pi = {};
3645
3639
  Object.defineProperty(pi, "__esModule", { value: !0 });
3646
- pi.PushAudioOutputStreamCallback = void 0;
3647
- class wv {
3640
+ pi.PullAudioInputStreamCallback = void 0;
3641
+ class Av {
3648
3642
  }
3649
- pi.PushAudioOutputStreamCallback = wv;
3643
+ pi.PullAudioInputStreamCallback = Av;
3650
3644
  var ui = {};
3651
3645
  Object.defineProperty(ui, "__esModule", { value: !0 });
3652
- ui.KeywordRecognitionModel = void 0;
3646
+ ui.PushAudioOutputStreamCallback = void 0;
3647
+ class wv {
3648
+ }
3649
+ ui.PushAudioOutputStreamCallback = wv;
3650
+ var di = {};
3651
+ Object.defineProperty(di, "__esModule", { value: !0 });
3652
+ di.KeywordRecognitionModel = void 0;
3653
3653
  const wo = b;
3654
3654
  class _v {
3655
3655
  /**
@@ -3694,10 +3694,10 @@ class _v {
3694
3694
  this.privDisposed || (this.privDisposed = !0);
3695
3695
  }
3696
3696
  }
3697
- ui.KeywordRecognitionModel = _v;
3698
- var di = {};
3699
- Object.defineProperty(di, "__esModule", { value: !0 });
3700
- di.SessionEventArgs = void 0;
3697
+ di.KeywordRecognitionModel = _v;
3698
+ var hi = {};
3699
+ Object.defineProperty(hi, "__esModule", { value: !0 });
3700
+ hi.SessionEventArgs = void 0;
3701
3701
  class bv {
3702
3702
  /**
3703
3703
  * Creates and initializes an instance of this class.
@@ -3718,7 +3718,7 @@ class bv {
3718
3718
  return this.privSessionId;
3719
3719
  }
3720
3720
  }
3721
- di.SessionEventArgs = bv;
3721
+ hi.SessionEventArgs = bv;
3722
3722
  var Ot = {}, _o;
3723
3723
  function Mv() {
3724
3724
  if (_o)
@@ -3747,12 +3747,12 @@ function Mv() {
3747
3747
  };
3748
3748
  return Ot.RecognitionEventArgs = e, Ot;
3749
3749
  }
3750
- var Ip = {};
3750
+ var Tp = {};
3751
3751
  (function(t) {
3752
3752
  Object.defineProperty(t, "__esModule", { value: !0 }), t.OutputFormat = void 0, function(e) {
3753
3753
  e[e.Simple = 0] = "Simple", e[e.Detailed = 1] = "Detailed";
3754
3754
  }(t.OutputFormat || (t.OutputFormat = {}));
3755
- })(Ip);
3755
+ })(Tp);
3756
3756
  var Dt = {}, bo;
3757
3757
  function Ov() {
3758
3758
  if (bo)
@@ -3783,9 +3783,9 @@ function Ov() {
3783
3783
  };
3784
3784
  return Dt.IntentRecognitionEventArgs = e, Dt;
3785
3785
  }
3786
- var hi = {};
3787
- Object.defineProperty(hi, "__esModule", { value: !0 });
3788
- hi.RecognitionResult = void 0;
3786
+ var li = {};
3787
+ Object.defineProperty(li, "__esModule", { value: !0 });
3788
+ li.RecognitionResult = void 0;
3789
3789
  class Dv {
3790
3790
  /**
3791
3791
  * Creates and initializes an instance of this class.
@@ -3905,7 +3905,7 @@ class Dv {
3905
3905
  return this.privProperties;
3906
3906
  }
3907
3907
  }
3908
- hi.RecognitionResult = Dv;
3908
+ li.RecognitionResult = Dv;
3909
3909
  var kt = {}, Mo;
3910
3910
  function kv() {
3911
3911
  if (Mo)
@@ -3986,8 +3986,8 @@ function Nv() {
3986
3986
  var vt = {};
3987
3987
  Object.defineProperty(vt, "__esModule", { value: !0 });
3988
3988
  vt.LanguageUnderstandingModelImpl = vt.LanguageUnderstandingModel = void 0;
3989
- const ot = b;
3990
- class Tp {
3989
+ const at = b;
3990
+ class Ap {
3991
3991
  /**
3992
3992
  * Creates and initializes a new instance
3993
3993
  * @constructor
@@ -4003,8 +4003,8 @@ class Tp {
4003
4003
  * @returns {LanguageUnderstandingModel} The language understanding model being created.
4004
4004
  */
4005
4005
  static fromEndpoint(e) {
4006
- ot.Contracts.throwIfNull(e, "uri"), ot.Contracts.throwIfNullOrWhitespace(e.hostname, "uri");
4007
- const r = new Mn(), i = e.host.indexOf(".");
4006
+ at.Contracts.throwIfNull(e, "uri"), at.Contracts.throwIfNullOrWhitespace(e.hostname, "uri");
4007
+ const r = new On(), i = e.host.indexOf(".");
4008
4008
  if (i === -1)
4009
4009
  throw new Error("Could not determine region from endpoint");
4010
4010
  r.region = e.host.substr(0, i);
@@ -4024,8 +4024,8 @@ class Tp {
4024
4024
  * @returns {LanguageUnderstandingModel} The language understanding model being created.
4025
4025
  */
4026
4026
  static fromAppId(e) {
4027
- ot.Contracts.throwIfNullOrWhitespace(e, "appId");
4028
- const r = new Mn();
4027
+ at.Contracts.throwIfNullOrWhitespace(e, "appId");
4028
+ const r = new On();
4029
4029
  return r.appId = e, r;
4030
4030
  }
4031
4031
  /**
@@ -4043,15 +4043,15 @@ class Tp {
4043
4043
  * @returns {LanguageUnderstandingModel} The language understanding model being created.
4044
4044
  */
4045
4045
  static fromSubscription(e, r, i) {
4046
- ot.Contracts.throwIfNullOrWhitespace(e, "subscriptionKey"), ot.Contracts.throwIfNullOrWhitespace(r, "appId"), ot.Contracts.throwIfNullOrWhitespace(i, "region");
4047
- const p = new Mn();
4046
+ at.Contracts.throwIfNullOrWhitespace(e, "subscriptionKey"), at.Contracts.throwIfNullOrWhitespace(r, "appId"), at.Contracts.throwIfNullOrWhitespace(i, "region");
4047
+ const p = new On();
4048
4048
  return p.appId = r, p.region = i, p.subscriptionKey = e, p;
4049
4049
  }
4050
4050
  }
4051
- vt.LanguageUnderstandingModel = Tp;
4052
- class Mn extends Tp {
4051
+ vt.LanguageUnderstandingModel = Ap;
4052
+ class On extends Ap {
4053
4053
  }
4054
- vt.LanguageUnderstandingModelImpl = Mn;
4054
+ vt.LanguageUnderstandingModelImpl = On;
4055
4055
  var Se = {}, Do;
4056
4056
  function zv() {
4057
4057
  if (Do)
@@ -4109,7 +4109,7 @@ function zv() {
4109
4109
  return Se.MeetingTranscriptionEventArgs = i, Se;
4110
4110
  }
4111
4111
  var zt = {}, jt = {}, ko;
4112
- function Rn() {
4112
+ function Pn() {
4113
4113
  if (ko)
4114
4114
  return jt;
4115
4115
  ko = 1, Object.defineProperty(jt, "__esModule", { value: !0 }), jt.CancellationEventArgsBase = void 0;
@@ -4161,7 +4161,7 @@ function jv() {
4161
4161
  if (No)
4162
4162
  return zt;
4163
4163
  No = 1, Object.defineProperty(zt, "__esModule", { value: !0 }), zt.SpeechRecognitionCanceledEventArgs = void 0;
4164
- const t = Rn();
4164
+ const t = Pn();
4165
4165
  let e = class extends t.CancellationEventArgsBase {
4166
4166
  };
4167
4167
  return zt.SpeechRecognitionCanceledEventArgs = e, zt;
@@ -4226,12 +4226,12 @@ function Bv() {
4226
4226
  return Bt.TranslationSynthesisEventArgs = e, Bt;
4227
4227
  }
4228
4228
  var qt = {}, Lo;
4229
- function wp() {
4229
+ function _p() {
4230
4230
  if (Lo)
4231
4231
  return qt;
4232
4232
  Lo = 1, Object.defineProperty(qt, "__esModule", { value: !0 }), qt.TranslationRecognitionResult = void 0;
4233
4233
  const t = R();
4234
- let e = class Ap extends t.SpeechRecognitionResult {
4234
+ let e = class wp extends t.SpeechRecognitionResult {
4235
4235
  /**
4236
4236
  * Creates and initializes an instance of this class.
4237
4237
  * @constructor
@@ -4251,7 +4251,7 @@ function wp() {
4251
4251
  super(p, a, s, n, o, c, u, void 0, d, h, l), this.privTranslations = i;
4252
4252
  }
4253
4253
  static fromSpeechRecognitionResult(i) {
4254
- return new Ap(void 0, i.resultId, i.reason, i.text, i.duration, i.offset, i.language, i.languageDetectionConfidence, i.errorDetails, i.json, i.properties);
4254
+ return new wp(void 0, i.resultId, i.reason, i.text, i.duration, i.offset, i.language, i.languageDetectionConfidence, i.errorDetails, i.json, i.properties);
4255
4255
  }
4256
4256
  /**
4257
4257
  * Presents the translation results. Each item in the dictionary represents
@@ -4269,9 +4269,9 @@ function wp() {
4269
4269
  };
4270
4270
  return qt.TranslationRecognitionResult = e, qt;
4271
4271
  }
4272
- var li = {};
4273
- Object.defineProperty(li, "__esModule", { value: !0 });
4274
- li.TranslationSynthesisResult = void 0;
4272
+ var vi = {};
4273
+ Object.defineProperty(vi, "__esModule", { value: !0 });
4274
+ vi.TranslationSynthesisResult = void 0;
4275
4275
  class qv {
4276
4276
  /**
4277
4277
  * Creates and initializes an instance of this class.
@@ -4303,13 +4303,13 @@ class qv {
4303
4303
  return this.privReason;
4304
4304
  }
4305
4305
  }
4306
- li.TranslationSynthesisResult = qv;
4307
- var _p = {};
4306
+ vi.TranslationSynthesisResult = qv;
4307
+ var bp = {};
4308
4308
  (function(t) {
4309
4309
  Object.defineProperty(t, "__esModule", { value: !0 }), t.ResultReason = void 0, function(e) {
4310
4310
  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";
4311
4311
  }(t.ResultReason || (t.ResultReason = {}));
4312
- })(_p);
4312
+ })(bp);
4313
4313
  var Le = {}, Bo;
4314
4314
  function Fv() {
4315
4315
  if (Bo)
@@ -4800,12 +4800,12 @@ function xv() {
4800
4800
  return Be.SpeechTranslationConfigImpl = p, Be;
4801
4801
  }
4802
4802
  var Ft = {}, Fo;
4803
- function Mp() {
4803
+ function Op() {
4804
4804
  if (Fo)
4805
4805
  return Ft;
4806
4806
  Fo = 1, Object.defineProperty(Ft, "__esModule", { value: !0 }), Ft.PropertyCollection = void 0;
4807
4807
  const t = R();
4808
- let e = class bp {
4808
+ let e = class Mp {
4809
4809
  constructor() {
4810
4810
  this.privKeys = [], this.privValues = [];
4811
4811
  }
@@ -4856,7 +4856,7 @@ function Mp() {
4856
4856
  * @returns {PropertyCollection} A copy of the collection.
4857
4857
  */
4858
4858
  clone() {
4859
- const i = new bp();
4859
+ const i = new Mp();
4860
4860
  for (let p = 0; p < this.privKeys.length; p++)
4861
4861
  i.privKeys.push(this.privKeys[p]), i.privValues.push(this.privValues[p]);
4862
4862
  return i;
@@ -4889,19 +4889,19 @@ function Mp() {
4889
4889
  };
4890
4890
  return Ft.PropertyCollection = e, Ft;
4891
4891
  }
4892
- var vi = {};
4892
+ var fi = {};
4893
4893
  (function(t) {
4894
4894
  Object.defineProperty(t, "__esModule", { value: !0 }), t.PropertyId = void 0, function(e) {
4895
4895
  e[e.SpeechServiceConnection_Key = 0] = "SpeechServiceConnection_Key", e[e.SpeechServiceConnection_Endpoint = 1] = "SpeechServiceConnection_Endpoint", e[e.SpeechServiceConnection_Region = 2] = "SpeechServiceConnection_Region", e[e.SpeechServiceAuthorization_Token = 3] = "SpeechServiceAuthorization_Token", e[e.SpeechServiceAuthorization_Type = 4] = "SpeechServiceAuthorization_Type", e[e.SpeechServiceConnection_EndpointId = 5] = "SpeechServiceConnection_EndpointId", e[e.SpeechServiceConnection_TranslationToLanguages = 6] = "SpeechServiceConnection_TranslationToLanguages", e[e.SpeechServiceConnection_TranslationVoice = 7] = "SpeechServiceConnection_TranslationVoice", e[e.SpeechServiceConnection_TranslationFeatures = 8] = "SpeechServiceConnection_TranslationFeatures", e[e.SpeechServiceConnection_TranslationCategoryId = 9] = "SpeechServiceConnection_TranslationCategoryId", e[e.SpeechServiceConnection_IntentRegion = 10] = "SpeechServiceConnection_IntentRegion", e[e.SpeechServiceConnection_ProxyHostName = 11] = "SpeechServiceConnection_ProxyHostName", e[e.SpeechServiceConnection_ProxyPort = 12] = "SpeechServiceConnection_ProxyPort", e[e.SpeechServiceConnection_ProxyUserName = 13] = "SpeechServiceConnection_ProxyUserName", e[e.SpeechServiceConnection_ProxyPassword = 14] = "SpeechServiceConnection_ProxyPassword", e[e.SpeechServiceConnection_RecoMode = 15] = "SpeechServiceConnection_RecoMode", e[e.SpeechServiceConnection_RecoLanguage = 16] = "SpeechServiceConnection_RecoLanguage", e[e.Speech_SessionId = 17] = "Speech_SessionId", e[e.SpeechServiceConnection_SynthLanguage = 18] = "SpeechServiceConnection_SynthLanguage", e[e.SpeechServiceConnection_SynthVoice = 19] = "SpeechServiceConnection_SynthVoice", e[e.SpeechServiceConnection_SynthOutputFormat = 20] = "SpeechServiceConnection_SynthOutputFormat", e[e.SpeechServiceConnection_AutoDetectSourceLanguages = 21] = "SpeechServiceConnection_AutoDetectSourceLanguages", e[e.SpeechServiceResponse_RequestDetailedResultTrueFalse = 22] = "SpeechServiceResponse_RequestDetailedResultTrueFalse", e[e.SpeechServiceResponse_RequestProfanityFilterTrueFalse = 23] = "SpeechServiceResponse_RequestProfanityFilterTrueFalse", e[e.SpeechServiceResponse_JsonResult = 24] = "SpeechServiceResponse_JsonResult", e[e.SpeechServiceResponse_JsonErrorDetails = 25] = "SpeechServiceResponse_JsonErrorDetails", e[e.CancellationDetails_Reason = 26] = "CancellationDetails_Reason", e[e.CancellationDetails_ReasonText = 27] = "CancellationDetails_ReasonText", e[e.CancellationDetails_ReasonDetailedText = 28] = "CancellationDetails_ReasonDetailedText", e[e.LanguageUnderstandingServiceResponse_JsonResult = 29] = "LanguageUnderstandingServiceResponse_JsonResult", e[e.SpeechServiceConnection_Url = 30] = "SpeechServiceConnection_Url", e[e.SpeechServiceConnection_InitialSilenceTimeoutMs = 31] = "SpeechServiceConnection_InitialSilenceTimeoutMs", e[e.SpeechServiceConnection_EndSilenceTimeoutMs = 32] = "SpeechServiceConnection_EndSilenceTimeoutMs", e[e.Speech_SegmentationSilenceTimeoutMs = 33] = "Speech_SegmentationSilenceTimeoutMs", e[e.Speech_SegmentationMaximumTimeMs = 34] = "Speech_SegmentationMaximumTimeMs", e[e.Speech_SegmentationStrategy = 35] = "Speech_SegmentationStrategy", e[e.SpeechServiceConnection_EnableAudioLogging = 36] = "SpeechServiceConnection_EnableAudioLogging", e[e.SpeechServiceConnection_LanguageIdMode = 37] = "SpeechServiceConnection_LanguageIdMode", e[e.SpeechServiceConnection_RecognitionEndpointVersion = 38] = "SpeechServiceConnection_RecognitionEndpointVersion", e[e.SpeechServiceConnection_SpeakerIdMode = 39] = "SpeechServiceConnection_SpeakerIdMode", e[e.SpeechServiceResponse_ProfanityOption = 40] = "SpeechServiceResponse_ProfanityOption", e[e.SpeechServiceResponse_PostProcessingOption = 41] = "SpeechServiceResponse_PostProcessingOption", e[e.SpeechServiceResponse_RequestWordLevelTimestamps = 42] = "SpeechServiceResponse_RequestWordLevelTimestamps", e[e.SpeechServiceResponse_StablePartialResultThreshold = 43] = "SpeechServiceResponse_StablePartialResultThreshold", e[e.SpeechServiceResponse_OutputFormatOption = 44] = "SpeechServiceResponse_OutputFormatOption", e[e.SpeechServiceResponse_TranslationRequestStablePartialResult = 45] = "SpeechServiceResponse_TranslationRequestStablePartialResult", e[e.SpeechServiceResponse_RequestWordBoundary = 46] = "SpeechServiceResponse_RequestWordBoundary", e[e.SpeechServiceResponse_RequestPunctuationBoundary = 47] = "SpeechServiceResponse_RequestPunctuationBoundary", e[e.SpeechServiceResponse_RequestSentenceBoundary = 48] = "SpeechServiceResponse_RequestSentenceBoundary", e[e.SpeechServiceResponse_DiarizeIntermediateResults = 49] = "SpeechServiceResponse_DiarizeIntermediateResults", e[e.Conversation_ApplicationId = 50] = "Conversation_ApplicationId", e[e.Conversation_DialogType = 51] = "Conversation_DialogType", e[e.Conversation_Initial_Silence_Timeout = 52] = "Conversation_Initial_Silence_Timeout", e[e.Conversation_From_Id = 53] = "Conversation_From_Id", e[e.Conversation_Conversation_Id = 54] = "Conversation_Conversation_Id", e[e.Conversation_Custom_Voice_Deployment_Ids = 55] = "Conversation_Custom_Voice_Deployment_Ids", e[e.Conversation_Speech_Activity_Template = 56] = "Conversation_Speech_Activity_Template", e[e.Conversation_Request_Bot_Status_Messages = 57] = "Conversation_Request_Bot_Status_Messages", e[e.Conversation_Agent_Connection_Id = 58] = "Conversation_Agent_Connection_Id", e[e.SpeechServiceConnection_Host = 59] = "SpeechServiceConnection_Host", e[e.ConversationTranslator_Host = 60] = "ConversationTranslator_Host", e[e.ConversationTranslator_Name = 61] = "ConversationTranslator_Name", e[e.ConversationTranslator_CorrelationId = 62] = "ConversationTranslator_CorrelationId", e[e.ConversationTranslator_Token = 63] = "ConversationTranslator_Token", e[e.PronunciationAssessment_ReferenceText = 64] = "PronunciationAssessment_ReferenceText", e[e.PronunciationAssessment_GradingSystem = 65] = "PronunciationAssessment_GradingSystem", e[e.PronunciationAssessment_Granularity = 66] = "PronunciationAssessment_Granularity", e[e.PronunciationAssessment_EnableMiscue = 67] = "PronunciationAssessment_EnableMiscue", e[e.PronunciationAssessment_Json = 68] = "PronunciationAssessment_Json", e[e.PronunciationAssessment_Params = 69] = "PronunciationAssessment_Params", e[e.SpeakerRecognition_Api_Version = 70] = "SpeakerRecognition_Api_Version", e[e.WebWorkerLoadType = 71] = "WebWorkerLoadType", e[e.TalkingAvatarService_WebRTC_SDP = 72] = "TalkingAvatarService_WebRTC_SDP";
4896
4896
  }(t.PropertyId || (t.PropertyId = {}));
4897
- })(vi);
4897
+ })(fi);
4898
4898
  var xt = {}, xo;
4899
4899
  function Uv() {
4900
4900
  if (xo)
4901
4901
  return xt;
4902
4902
  xo = 1, Object.defineProperty(xt, "__esModule", { value: !0 }), xt.Recognizer = void 0;
4903
4903
  const t = T(), e = A(), r = b, i = R();
4904
- let p = class Op {
4904
+ let p = class Dp {
4905
4905
  /**
4906
4906
  * Creates and initializes an instance of a Recognizer
4907
4907
  * @constructor
@@ -4970,7 +4970,7 @@ function Uv() {
4970
4970
  let s = typeof window < "u" ? "Browser" : "Node", n = "unknown", o = "unknown";
4971
4971
  typeof navigator < "u" && (s = s + "/" + navigator.platform, n = navigator.userAgent, o = navigator.appVersion);
4972
4972
  const c = this.createRecognizerConfig(new t.SpeechServiceConfig(new t.Context(new t.OS(s, n, o))));
4973
- this.privReco = this.createServiceRecognizer(Op.getAuth(this.privProperties, this.tokenCredential), this.privConnectionFactory, this.audioConfig, c);
4973
+ this.privReco = this.createServiceRecognizer(Dp.getAuth(this.privProperties, this.tokenCredential), this.privConnectionFactory, this.audioConfig, c);
4974
4974
  }
4975
4975
  async recognizeOnceAsyncImpl(s) {
4976
4976
  r.Contracts.throwIfDisposed(this.privDisposed);
@@ -5027,7 +5027,7 @@ function Wv() {
5027
5027
  return Ut;
5028
5028
  Uo = 1, Object.defineProperty(Ut, "__esModule", { value: !0 }), Ut.SpeechRecognizer = void 0;
5029
5029
  const t = T(), e = ae, r = A(), i = b, p = R();
5030
- let a = class Dp extends p.Recognizer {
5030
+ let a = class kp extends p.Recognizer {
5031
5031
  /**
5032
5032
  * SpeechRecognizer constructor.
5033
5033
  * @constructor
@@ -5047,7 +5047,7 @@ function Wv() {
5047
5047
  */
5048
5048
  static FromConfig(n, o, c) {
5049
5049
  const u = n;
5050
- return o.properties.mergeTo(u.properties), new Dp(n, c);
5050
+ return o.properties.mergeTo(u.properties), new kp(n, c);
5051
5051
  }
5052
5052
  /**
5053
5053
  * Gets the endpoint id of a customized speech model that is used for speech recognition.
@@ -5439,18 +5439,18 @@ function Vv() {
5439
5439
  };
5440
5440
  return Wt.IntentRecognizer = a, Wt;
5441
5441
  }
5442
- var kp = {};
5442
+ var Np = {};
5443
5443
  (function(t) {
5444
5444
  Object.defineProperty(t, "__esModule", { value: !0 }), t.VoiceProfileType = void 0, function(e) {
5445
5445
  e[e.TextIndependentIdentification = 0] = "TextIndependentIdentification", e[e.TextDependentVerification = 1] = "TextDependentVerification", e[e.TextIndependentVerification = 2] = "TextIndependentVerification";
5446
5446
  }(t.VoiceProfileType || (t.VoiceProfileType = {}));
5447
- })(kp);
5447
+ })(Np);
5448
5448
  var Vt = {}, Ht = {}, qe = {}, Vo;
5449
- function Np() {
5449
+ function zp() {
5450
5450
  if (Vo)
5451
5451
  return qe;
5452
5452
  Vo = 1, Object.defineProperty(qe, "__esModule", { value: !0 }), qe.ConnectionMessageImpl = qe.ConnectionMessage = void 0;
5453
- const t = x, e = A(), r = Mp(), i = vi;
5453
+ const t = x, e = A(), r = Op(), i = fi;
5454
5454
  let p = class {
5455
5455
  };
5456
5456
  qe.ConnectionMessage = p;
@@ -5511,19 +5511,19 @@ function Np() {
5511
5511
  return qe.ConnectionMessageImpl = a, qe;
5512
5512
  }
5513
5513
  var Ho;
5514
- function zp() {
5514
+ function jp() {
5515
5515
  if (Ho)
5516
5516
  return Ht;
5517
5517
  Ho = 1, Object.defineProperty(Ht, "__esModule", { value: !0 }), Ht.Connection = void 0;
5518
- const t = T(), e = A(), r = Np(), i = b, p = R();
5519
- let a = class Es {
5518
+ const t = T(), e = A(), r = zp(), i = b, p = R();
5519
+ let a = class Is {
5520
5520
  /**
5521
5521
  * Gets the Connection instance from the specified recognizer.
5522
5522
  * @param recognizer The recognizer associated with the connection.
5523
5523
  * @return The Connection instance of the recognizer.
5524
5524
  */
5525
5525
  static fromRecognizer(n) {
5526
- const o = n.internalData, c = new Es();
5526
+ const o = n.internalData, c = new Is();
5527
5527
  return c.privInternalData = o, c.setupEvents(), c;
5528
5528
  }
5529
5529
  /**
@@ -5532,7 +5532,7 @@ function zp() {
5532
5532
  * @return The Connection instance of the synthesizer.
5533
5533
  */
5534
5534
  static fromSynthesizer(n) {
5535
- const o = n.internalData, c = new Es();
5535
+ const o = n.internalData, c = new Is();
5536
5536
  return c.privInternalData = o, c.setupEvents(), c;
5537
5537
  }
5538
5538
  /**
@@ -5609,8 +5609,8 @@ function Hv() {
5609
5609
  if ($o)
5610
5610
  return Vt;
5611
5611
  $o = 1, Object.defineProperty(Vt, "__esModule", { value: !0 }), Vt.TranslationRecognizer = void 0;
5612
- const t = T(), e = ae, r = A(), i = zp(), p = b, a = R();
5613
- let s = class jp extends a.Recognizer {
5612
+ const t = T(), e = ae, r = A(), i = jp(), p = b, a = R();
5613
+ let s = class Lp extends a.Recognizer {
5614
5614
  /**
5615
5615
  * Initializes an instance of the TranslationRecognizer.
5616
5616
  * @constructor
@@ -5631,7 +5631,7 @@ function Hv() {
5631
5631
  */
5632
5632
  static FromConfig(o, c, u) {
5633
5633
  const d = o;
5634
- 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 jp(o, u);
5634
+ 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 Lp(o, u);
5635
5635
  }
5636
5636
  /**
5637
5637
  * Gets the language name that was set when the recognizer was created.
@@ -5846,19 +5846,19 @@ function $v() {
5846
5846
  };
5847
5847
  return $t.Translations = e, $t;
5848
5848
  }
5849
- var Lp = {};
5849
+ var Bp = {};
5850
5850
  (function(t) {
5851
5851
  Object.defineProperty(t, "__esModule", { value: !0 }), t.NoMatchReason = void 0, function(e) {
5852
5852
  e[e.NotRecognized = 0] = "NotRecognized", e[e.InitialSilenceTimeout = 1] = "InitialSilenceTimeout", e[e.InitialBabbleTimeout = 2] = "InitialBabbleTimeout";
5853
5853
  }(t.NoMatchReason || (t.NoMatchReason = {}));
5854
- })(Lp);
5854
+ })(Bp);
5855
5855
  var Kt = {}, Jo;
5856
5856
  function Kv() {
5857
5857
  if (Jo)
5858
5858
  return Kt;
5859
5859
  Jo = 1, Object.defineProperty(Kt, "__esModule", { value: !0 }), Kt.NoMatchDetails = void 0;
5860
5860
  const t = T(), e = R();
5861
- let r = class Bp {
5861
+ let r = class qp {
5862
5862
  /**
5863
5863
  * Creates and initializes an instance of this class.
5864
5864
  * @constructor
@@ -5890,7 +5890,7 @@ function Kv() {
5890
5890
  s = e.NoMatchReason.NotRecognized;
5891
5891
  break;
5892
5892
  }
5893
- return new Bp(s);
5893
+ return new qp(s);
5894
5894
  }
5895
5895
  /**
5896
5896
  * The reason the recognition was canceled.
@@ -5905,9 +5905,9 @@ function Kv() {
5905
5905
  };
5906
5906
  return Kt.NoMatchDetails = r, Kt;
5907
5907
  }
5908
- var fi = {};
5909
- Object.defineProperty(fi, "__esModule", { value: !0 });
5910
- fi.TranslationRecognitionCanceledEventArgs = void 0;
5908
+ var gi = {};
5909
+ Object.defineProperty(gi, "__esModule", { value: !0 });
5910
+ gi.TranslationRecognitionCanceledEventArgs = void 0;
5911
5911
  class Jv {
5912
5912
  /**
5913
5913
  * Creates and initializes an instance of this class.
@@ -5969,7 +5969,7 @@ class Jv {
5969
5969
  return this.privErrorDetails;
5970
5970
  }
5971
5971
  }
5972
- fi.TranslationRecognitionCanceledEventArgs = Jv;
5972
+ gi.TranslationRecognitionCanceledEventArgs = Jv;
5973
5973
  var Jt = {}, Go;
5974
5974
  function Gv() {
5975
5975
  if (Go)
@@ -6018,9 +6018,9 @@ function Gv() {
6018
6018
  };
6019
6019
  return Jt.IntentRecognitionCanceledEventArgs = e, Jt;
6020
6020
  }
6021
- var Pn = {};
6022
- Object.defineProperty(Pn, "__esModule", { value: !0 });
6023
- Pn.CancellationDetailsBase = void 0;
6021
+ var En = {};
6022
+ Object.defineProperty(En, "__esModule", { value: !0 });
6023
+ En.CancellationDetailsBase = void 0;
6024
6024
  class Qv {
6025
6025
  /**
6026
6026
  * Creates and initializes an instance of this class.
@@ -6060,14 +6060,14 @@ class Qv {
6060
6060
  return this.privErrorCode;
6061
6061
  }
6062
6062
  }
6063
- Pn.CancellationDetailsBase = Qv;
6063
+ En.CancellationDetailsBase = Qv;
6064
6064
  var Gt = {}, Qo;
6065
6065
  function Xv() {
6066
6066
  if (Qo)
6067
6067
  return Gt;
6068
6068
  Qo = 1, Object.defineProperty(Gt, "__esModule", { value: !0 }), Gt.CancellationDetails = void 0;
6069
- const t = T(), e = Pn, r = R();
6070
- let i = class qp extends e.CancellationDetailsBase {
6069
+ const t = T(), e = En, r = R();
6070
+ let i = class Fp extends e.CancellationDetailsBase {
6071
6071
  constructor(a, s, n) {
6072
6072
  super(a, s, n);
6073
6073
  }
@@ -6085,17 +6085,17 @@ function Xv() {
6085
6085
  const o = t.SimpleSpeechPhrase.fromJSON(a.json, 0);
6086
6086
  s = t.EnumTranslation.implTranslateCancelResult(o.RecognitionStatus);
6087
6087
  }
6088
- return a.properties && (n = r.CancellationErrorCode[a.properties.getProperty(t.CancellationErrorCodePropertyName, r.CancellationErrorCode[r.CancellationErrorCode.NoError])]), new qp(s, a.errorDetails || t.EnumTranslation.implTranslateErrorDetails(n), n);
6088
+ return a.properties && (n = r.CancellationErrorCode[a.properties.getProperty(t.CancellationErrorCodePropertyName, r.CancellationErrorCode[r.CancellationErrorCode.NoError])]), new Fp(s, a.errorDetails || t.EnumTranslation.implTranslateErrorDetails(n), n);
6089
6089
  }
6090
6090
  };
6091
6091
  return Gt.CancellationDetails = i, Gt;
6092
6092
  }
6093
- var Fp = {};
6093
+ var xp = {};
6094
6094
  (function(t) {
6095
6095
  Object.defineProperty(t, "__esModule", { value: !0 }), t.CancellationErrorCode = void 0, function(e) {
6096
6096
  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";
6097
6097
  }(t.CancellationErrorCode || (t.CancellationErrorCode = {}));
6098
- })(Fp);
6098
+ })(xp);
6099
6099
  var Qt = {}, Xo;
6100
6100
  function Zv() {
6101
6101
  if (Xo)
@@ -6130,9 +6130,9 @@ function Yv() {
6130
6130
  };
6131
6131
  return Xt.ServiceEventArgs = e, Xt;
6132
6132
  }
6133
- var gi = {};
6134
- Object.defineProperty(gi, "__esModule", { value: !0 });
6135
- gi.PhraseListGrammar = void 0;
6133
+ var mi = {};
6134
+ Object.defineProperty(mi, "__esModule", { value: !0 });
6135
+ mi.PhraseListGrammar = void 0;
6136
6136
  class js {
6137
6137
  constructor(e) {
6138
6138
  this.privGrammerBuilder = e.dynamicGrammar;
@@ -6166,7 +6166,7 @@ class js {
6166
6166
  this.privGrammerBuilder.clearPhrases();
6167
6167
  }
6168
6168
  }
6169
- gi.PhraseListGrammar = js;
6169
+ mi.PhraseListGrammar = js;
6170
6170
  var Fe = {}, Yo;
6171
6171
  function Ls() {
6172
6172
  if (Yo)
@@ -6582,7 +6582,7 @@ function nf() {
6582
6582
  if (ia)
6583
6583
  return er;
6584
6584
  ia = 1, Object.defineProperty(er, "__esModule", { value: !0 }), er.DialogServiceConnector = void 0;
6585
- const t = rf(), e = T(), r = ae, i = A(), p = b, a = R(), s = vi;
6585
+ const t = rf(), e = T(), r = ae, i = A(), p = b, a = R(), s = fi;
6586
6586
  let n = class extends a.Recognizer {
6587
6587
  /**
6588
6588
  * Initializes an instance of the DialogServiceConnector.
@@ -6727,9 +6727,9 @@ function nf() {
6727
6727
  };
6728
6728
  return er.DialogServiceConnector = n, er;
6729
6729
  }
6730
- var mi = {};
6731
- Object.defineProperty(mi, "__esModule", { value: !0 });
6732
- mi.ActivityReceivedEventArgs = void 0;
6730
+ var Si = {};
6731
+ Object.defineProperty(Si, "__esModule", { value: !0 });
6732
+ Si.ActivityReceivedEventArgs = void 0;
6733
6733
  class sf {
6734
6734
  /**
6735
6735
  * Creates and initializes an instance of this class.
@@ -6753,10 +6753,10 @@ class sf {
6753
6753
  return this.privAudioStream;
6754
6754
  }
6755
6755
  }
6756
- mi.ActivityReceivedEventArgs = sf;
6757
- var Si = {}, Ci = {};
6758
- Object.defineProperty(Ci, "__esModule", { value: !0 });
6759
- Ci.TurnStatusResponsePayload = void 0;
6756
+ Si.ActivityReceivedEventArgs = sf;
6757
+ var Ci = {}, yi = {};
6758
+ Object.defineProperty(yi, "__esModule", { value: !0 });
6759
+ yi.TurnStatusResponsePayload = void 0;
6760
6760
  class Bs {
6761
6761
  constructor(e) {
6762
6762
  this.privMessageStatusResponse = JSON.parse(e);
@@ -6783,10 +6783,10 @@ class Bs {
6783
6783
  }
6784
6784
  }
6785
6785
  }
6786
- Ci.TurnStatusResponsePayload = Bs;
6787
- Object.defineProperty(Si, "__esModule", { value: !0 });
6788
- Si.TurnStatusReceivedEventArgs = void 0;
6789
- const of = Ci;
6786
+ yi.TurnStatusResponsePayload = Bs;
6787
+ Object.defineProperty(Ci, "__esModule", { value: !0 });
6788
+ Ci.TurnStatusReceivedEventArgs = void 0;
6789
+ const of = yi;
6790
6790
  class af {
6791
6791
  /**
6792
6792
  * Creates and initializes an instance of this class.
@@ -6827,19 +6827,19 @@ class af {
6827
6827
  return this.privTurnStatus.statusCode;
6828
6828
  }
6829
6829
  }
6830
- Si.TurnStatusReceivedEventArgs = af;
6831
- var xp = {};
6830
+ Ci.TurnStatusReceivedEventArgs = af;
6831
+ var Up = {};
6832
6832
  (function(t) {
6833
6833
  Object.defineProperty(t, "__esModule", { value: !0 }), t.ServicePropertyChannel = void 0, function(e) {
6834
6834
  e[e.UriQueryParameter = 0] = "UriQueryParameter";
6835
6835
  }(t.ServicePropertyChannel || (t.ServicePropertyChannel = {}));
6836
- })(xp);
6837
- var Up = {};
6836
+ })(Up);
6837
+ var Wp = {};
6838
6838
  (function(t) {
6839
6839
  Object.defineProperty(t, "__esModule", { value: !0 }), t.ProfanityOption = void 0, function(e) {
6840
6840
  e[e.Masked = 0] = "Masked", e[e.Removed = 1] = "Removed", e[e.Raw = 2] = "Raw";
6841
6841
  }(t.ProfanityOption || (t.ProfanityOption = {}));
6842
- })(Up);
6842
+ })(Wp);
6843
6843
  var nr = {}, sa;
6844
6844
  function cf() {
6845
6845
  if (sa)
@@ -6933,9 +6933,9 @@ function cf() {
6933
6933
  };
6934
6934
  return nr.BaseAudioPlayer = i, nr;
6935
6935
  }
6936
- var yi = {};
6937
- Object.defineProperty(yi, "__esModule", { value: !0 });
6938
- yi.ConnectionMessageEventArgs = void 0;
6936
+ var Ri = {};
6937
+ Object.defineProperty(Ri, "__esModule", { value: !0 });
6938
+ Ri.ConnectionMessageEventArgs = void 0;
6939
6939
  class pf {
6940
6940
  constructor(e) {
6941
6941
  this.privConnectionMessage = e;
@@ -6953,10 +6953,10 @@ class pf {
6953
6953
  return "Message: " + this.privConnectionMessage.toString();
6954
6954
  }
6955
6955
  }
6956
- yi.ConnectionMessageEventArgs = pf;
6957
- var Ri = {};
6958
- Object.defineProperty(Ri, "__esModule", { value: !0 });
6959
- Ri.VoiceProfile = void 0;
6956
+ Ri.ConnectionMessageEventArgs = pf;
6957
+ var Pi = {};
6958
+ Object.defineProperty(Pi, "__esModule", { value: !0 });
6959
+ Pi.VoiceProfile = void 0;
6960
6960
  class uf {
6961
6961
  /**
6962
6962
  * Creates and initializes an instance of this class.
@@ -6988,14 +6988,14 @@ class uf {
6988
6988
  return this.privProfileType;
6989
6989
  }
6990
6990
  }
6991
- Ri.VoiceProfile = uf;
6991
+ Pi.VoiceProfile = uf;
6992
6992
  var xe = {}, oa;
6993
6993
  function df() {
6994
6994
  if (oa)
6995
6995
  return xe;
6996
6996
  oa = 1, Object.defineProperty(xe, "__esModule", { value: !0 }), xe.VoiceProfileEnrollmentCancellationDetails = xe.VoiceProfileEnrollmentResult = void 0;
6997
6997
  const t = T(), e = R();
6998
- let r = class Is {
6998
+ let r = class Ts {
6999
6999
  constructor(a, s, n) {
7000
7000
  this.privReason = a, this.privProperties = new e.PropertyCollection(), this.privReason !== e.ResultReason.Canceled ? s && (this.privDetails = JSON.parse(s), this.privDetails.enrollmentStatus.toLowerCase() === "enrolling" && (this.privReason = e.ResultReason.EnrollingVoiceProfile)) : (this.privErrorDetails = n, this.privProperties.setProperty(t.CancellationErrorCodePropertyName, e.CancellationErrorCode[e.CancellationErrorCode.ServiceError]));
7001
7001
  }
@@ -7020,7 +7020,7 @@ function df() {
7020
7020
  static FromIdentificationProfileList(a) {
7021
7021
  const s = [];
7022
7022
  for (const n of a.value) {
7023
- const o = n.enrollmentStatus.toLowerCase() === "enrolling" ? e.ResultReason.EnrollingVoiceProfile : n.enrollmentStatus.toLowerCase() === "enrolled" ? e.ResultReason.EnrolledVoiceProfile : e.ResultReason.Canceled, c = new Is(o, null, null);
7023
+ const o = n.enrollmentStatus.toLowerCase() === "enrolling" ? e.ResultReason.EnrollingVoiceProfile : n.enrollmentStatus.toLowerCase() === "enrolled" ? e.ResultReason.EnrolledVoiceProfile : e.ResultReason.Canceled, c = new Ts(o, null, null);
7024
7024
  c.privDetails = this.getIdentificationDetails(n), s.push(c);
7025
7025
  }
7026
7026
  return s;
@@ -7028,7 +7028,7 @@ function df() {
7028
7028
  static FromVerificationProfileList(a) {
7029
7029
  const s = [];
7030
7030
  for (const n of a.value) {
7031
- const o = n.enrollmentStatus.toLowerCase() === "enrolling" ? e.ResultReason.EnrollingVoiceProfile : n.enrollmentStatus.toLowerCase() === "enrolled" ? e.ResultReason.EnrolledVoiceProfile : e.ResultReason.Canceled, c = new Is(o, null, null);
7031
+ const o = n.enrollmentStatus.toLowerCase() === "enrolling" ? e.ResultReason.EnrollingVoiceProfile : n.enrollmentStatus.toLowerCase() === "enrolled" ? e.ResultReason.EnrolledVoiceProfile : e.ResultReason.Canceled, c = new Ts(o, null, null);
7032
7032
  c.privDetails = this.getVerificationDetails(n), s.push(c);
7033
7033
  }
7034
7034
  return s;
@@ -7145,7 +7145,7 @@ function vf() {
7145
7145
  if (pa)
7146
7146
  return sr;
7147
7147
  pa = 1, Object.defineProperty(sr, "__esModule", { value: !0 }), sr.VoiceProfileClient = void 0;
7148
- const t = T(), e = Pp(), r = b, i = R();
7148
+ const t = T(), e = Ep(), r = b, i = R();
7149
7149
  let p = class extends i.Recognizer {
7150
7150
  /**
7151
7151
  * VoiceProfileClient constructor.
@@ -7399,7 +7399,7 @@ function gf() {
7399
7399
  return ar;
7400
7400
  da = 1, Object.defineProperty(ar, "__esModule", { value: !0 }), ar.SpeakerIdentificationModel = void 0;
7401
7401
  const t = b, e = R();
7402
- let r = class Wp {
7402
+ let r = class Vp {
7403
7403
  constructor(p) {
7404
7404
  if (this.privVoiceProfiles = [], this.privProfileIds = [], t.Contracts.throwIfNullOrUndefined(p, "VoiceProfiles"), p.length === 0)
7405
7405
  throw new Error("Empty Voice Profiles array");
@@ -7410,7 +7410,7 @@ function gf() {
7410
7410
  }
7411
7411
  }
7412
7412
  static fromProfiles(p) {
7413
- return new Wp(p);
7413
+ return new Vp(p);
7414
7414
  }
7415
7415
  get voiceProfileIds() {
7416
7416
  return this.privProfileIds.join(",");
@@ -7430,14 +7430,14 @@ function mf() {
7430
7430
  return cr;
7431
7431
  ha = 1, Object.defineProperty(cr, "__esModule", { value: !0 }), cr.SpeakerVerificationModel = void 0;
7432
7432
  const t = b, e = R();
7433
- let r = class Vp {
7433
+ let r = class Hp {
7434
7434
  constructor(p) {
7435
7435
  if (t.Contracts.throwIfNullOrUndefined(p, "VoiceProfile"), p.profileType === e.VoiceProfileType.TextIndependentIdentification)
7436
7436
  throw new Error("Verification model cannot be created from Identification profile");
7437
7437
  this.privVoiceProfile = p;
7438
7438
  }
7439
7439
  static fromProfile(p) {
7440
- return new Vp(p);
7440
+ return new Hp(p);
7441
7441
  }
7442
7442
  get voiceProfile() {
7443
7443
  return this.privVoiceProfile;
@@ -7463,7 +7463,7 @@ function Sf() {
7463
7463
  return pr;
7464
7464
  la = 1, Object.defineProperty(pr, "__esModule", { value: !0 }), pr.AutoDetectSourceLanguageConfig = void 0;
7465
7465
  const t = T(), e = b, r = R(), i = qs;
7466
- let p = class On {
7466
+ let p = class Dn {
7467
7467
  constructor() {
7468
7468
  this.privProperties = new r.PropertyCollection(), this.privProperties.setProperty(r.PropertyId.SpeechServiceConnection_LanguageIdMode, "AtStart"), this.privLanguageIdMode = i.LanguageIdMode.AtStart;
7469
7469
  }
@@ -7477,7 +7477,7 @@ function Sf() {
7477
7477
  * @summary Creates an instance of the AutoDetectSourceLanguageConfig with open range.
7478
7478
  */
7479
7479
  static fromOpenRange() {
7480
- const s = new On();
7480
+ const s = new Dn();
7481
7481
  return s.properties.setProperty(r.PropertyId.SpeechServiceConnection_AutoDetectSourceLanguages, t.AutoDetectSourceLanguagesOpenRangeOptionName), s.properties.setProperty(r.PropertyId.SpeechServiceConnection_RecoLanguage, "en-US"), s;
7482
7482
  }
7483
7483
  /**
@@ -7490,7 +7490,7 @@ function Sf() {
7490
7490
  */
7491
7491
  static fromLanguages(s) {
7492
7492
  e.Contracts.throwIfArrayEmptyOrWhitespace(s, "languages");
7493
- const n = new On();
7493
+ const n = new Dn();
7494
7494
  return n.properties.setProperty(r.PropertyId.SpeechServiceConnection_AutoDetectSourceLanguages, s.join()), n;
7495
7495
  }
7496
7496
  /**
@@ -7504,7 +7504,7 @@ function Sf() {
7504
7504
  static fromSourceLanguageConfigs(s) {
7505
7505
  if (s.length < 1)
7506
7506
  throw new Error("Expected non-empty SourceLanguageConfig array.");
7507
- const n = new On(), o = [];
7507
+ const n = new Dn(), o = [];
7508
7508
  return s.forEach((c) => {
7509
7509
  if (o.push(c.language), c.endpointId !== void 0 && c.endpointId !== "") {
7510
7510
  const u = c.language + r.PropertyId.SpeechServiceConnection_EndpointId.toString();
@@ -7535,11 +7535,11 @@ function Sf() {
7535
7535
  };
7536
7536
  return pr.AutoDetectSourceLanguageConfig = p, pr;
7537
7537
  }
7538
- var Pi = {};
7539
- Object.defineProperty(Pi, "__esModule", { value: !0 });
7540
- Pi.AutoDetectSourceLanguageResult = void 0;
7538
+ var Ei = {};
7539
+ Object.defineProperty(Ei, "__esModule", { value: !0 });
7540
+ Ei.AutoDetectSourceLanguageResult = void 0;
7541
7541
  const va = b;
7542
- class kn {
7542
+ class Nn {
7543
7543
  constructor(e, r) {
7544
7544
  va.Contracts.throwIfNullOrUndefined(e, "language"), va.Contracts.throwIfNullOrUndefined(r, "languageDetectionConfidence"), this.privLanguage = e, this.privLanguageDetectionConfidence = r;
7545
7545
  }
@@ -7552,7 +7552,7 @@ class kn {
7552
7552
  * @returns {AutoDetectSourceLanguageResult} AutoDetectSourceLanguageResult object being created.
7553
7553
  */
7554
7554
  static fromResult(e) {
7555
- return new kn(e.language, e.languageDetectionConfidence);
7555
+ return new Nn(e.language, e.languageDetectionConfidence);
7556
7556
  }
7557
7557
  /**
7558
7558
  * Creates an instance of AutoDetectSourceLanguageResult object from a ConversationTranscriptionResult instance.
@@ -7563,7 +7563,7 @@ class kn {
7563
7563
  * @returns {AutoDetectSourceLanguageResult} AutoDetectSourceLanguageResult object being created.
7564
7564
  */
7565
7565
  static fromConversationTranscriptionResult(e) {
7566
- return new kn(e.language, e.languageDetectionConfidence);
7566
+ return new Nn(e.language, e.languageDetectionConfidence);
7567
7567
  }
7568
7568
  get language() {
7569
7569
  return this.privLanguage;
@@ -7572,10 +7572,10 @@ class kn {
7572
7572
  return this.privLanguageDetectionConfidence;
7573
7573
  }
7574
7574
  }
7575
- Pi.AutoDetectSourceLanguageResult = kn;
7576
- var Ei = {};
7577
- Object.defineProperty(Ei, "__esModule", { value: !0 });
7578
- Ei.SourceLanguageConfig = void 0;
7575
+ Ei.AutoDetectSourceLanguageResult = Nn;
7576
+ var Ii = {};
7577
+ Object.defineProperty(Ii, "__esModule", { value: !0 });
7578
+ Ii.SourceLanguageConfig = void 0;
7579
7579
  const Cf = b;
7580
7580
  class Fs {
7581
7581
  constructor(e, r) {
@@ -7601,8 +7601,8 @@ class Fs {
7601
7601
  return this.privEndpointId;
7602
7602
  }
7603
7603
  }
7604
- Ei.SourceLanguageConfig = Fs;
7605
- var hs = {}, fa;
7604
+ Ii.SourceLanguageConfig = Fs;
7605
+ var ls = {}, fa;
7606
7606
  function yf() {
7607
7607
  return fa || (fa = 1, function(t) {
7608
7608
  Object.defineProperty(t, "__esModule", { value: !0 }), t.SpeakerRecognitionCancellationDetails = t.SpeakerRecognitionResult = t.SpeakerRecognitionResultType = void 0;
@@ -7653,10 +7653,10 @@ function yf() {
7653
7653
  }
7654
7654
  }
7655
7655
  t.SpeakerRecognitionCancellationDetails = a;
7656
- }(hs)), hs;
7656
+ }(ls)), ls;
7657
7657
  }
7658
- var ls = {}, We = {}, ga;
7659
- function Hp() {
7658
+ var vs = {}, We = {}, ga;
7659
+ function $p() {
7660
7660
  if (ga)
7661
7661
  return We;
7662
7662
  ga = 1, Object.defineProperty(We, "__esModule", { value: !0 }), We.ConversationImpl = We.Conversation = void 0;
@@ -8258,9 +8258,9 @@ function Hp() {
8258
8258
  }
8259
8259
  return We.ConversationImpl = a, We;
8260
8260
  }
8261
- var Ii = {};
8262
- Object.defineProperty(Ii, "__esModule", { value: !0 });
8263
- Ii.ConversationCommon = void 0;
8261
+ var Ti = {};
8262
+ Object.defineProperty(Ti, "__esModule", { value: !0 });
8263
+ Ti.ConversationCommon = void 0;
8264
8264
  class Rf {
8265
8265
  constructor(e) {
8266
8266
  this.privAudioConfig = e;
@@ -8284,7 +8284,7 @@ class Rf {
8284
8284
  r(e);
8285
8285
  }
8286
8286
  }
8287
- Ii.ConversationCommon = Rf;
8287
+ Ti.ConversationCommon = Rf;
8288
8288
  var ur = {}, ma;
8289
8289
  function Pf() {
8290
8290
  if (ma)
@@ -8326,7 +8326,7 @@ function If() {
8326
8326
  if (Ca)
8327
8327
  return hr;
8328
8328
  Ca = 1, Object.defineProperty(hr, "__esModule", { value: !0 }), hr.ConversationTranslationCanceledEventArgs = void 0;
8329
- const t = Rn();
8329
+ const t = Pn();
8330
8330
  let e = class extends t.CancellationEventArgsBase {
8331
8331
  };
8332
8332
  return hr.ConversationTranslationCanceledEventArgs = e, hr;
@@ -8363,7 +8363,7 @@ function Af() {
8363
8363
  if (Ra)
8364
8364
  return vr;
8365
8365
  Ra = 1, Object.defineProperty(vr, "__esModule", { value: !0 }), vr.ConversationTranslationResult = void 0;
8366
- const t = wp();
8366
+ const t = _p();
8367
8367
  let e = class extends t.TranslationRecognitionResult {
8368
8368
  constructor(i, p, a, s, n, o, c, u, d, h, l) {
8369
8369
  super(p, s, n, o, c, u, void 0, void 0, d, h, l), this.privId = i, this.privOrigLang = a;
@@ -8383,9 +8383,9 @@ function Af() {
8383
8383
  };
8384
8384
  return vr.ConversationTranslationResult = e, vr;
8385
8385
  }
8386
- var vs = {}, fr = {}, En = {};
8387
- Object.defineProperty(En, "__esModule", { value: !0 });
8388
- En.StringUtils = void 0;
8386
+ var fs = {}, fr = {}, In = {};
8387
+ Object.defineProperty(In, "__esModule", { value: !0 });
8388
+ In.StringUtils = void 0;
8389
8389
  class wf {
8390
8390
  /**
8391
8391
  * Formats a string by replacing the named {keys} in the string with the values contained in the replacement dictionary.
@@ -8423,21 +8423,21 @@ class wf {
8423
8423
  return i;
8424
8424
  }
8425
8425
  }
8426
- En.StringUtils = wf;
8426
+ In.StringUtils = wf;
8427
8427
  var Pa;
8428
8428
  function _f() {
8429
8429
  if (Pa)
8430
8430
  return fr;
8431
8431
  Pa = 1, Object.defineProperty(fr, "__esModule", { value: !0 }), fr.ConversationTranslatorConnectionFactory = void 0;
8432
- const t = U(), e = En, r = b, i = R(), p = x, a = he, s = le(), n = T();
8433
- let o = class $p extends s.ConnectionFactoryBase {
8432
+ const t = U(), e = In, r = b, i = R(), p = x, a = he, s = le(), n = T();
8433
+ let o = class Kp extends s.ConnectionFactoryBase {
8434
8434
  constructor(u) {
8435
8435
  super(), r.Contracts.throwIfNullOrUndefined(u, "convGetter"), this.privConvGetter = u;
8436
8436
  }
8437
8437
  create(u, d, h) {
8438
8438
  const l = u.parameters.getProperty("ConversationTranslator_MultiChannelAudio", "").toUpperCase() === "TRUE", f = this.privConvGetter().room, g = f.cognitiveSpeechRegion || u.parameters.getProperty(i.PropertyId.SpeechServiceConnection_Region, ""), S = {
8439
8439
  hostSuffix: s.ConnectionFactoryBase.getHostSuffix(g),
8440
- path: $p.CTS_VIRT_MIC_PATH,
8440
+ path: Kp.CTS_VIRT_MIC_PATH,
8441
8441
  region: encodeURIComponent(g)
8442
8442
  };
8443
8443
  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;
@@ -8466,7 +8466,7 @@ var Ea;
8466
8466
  function bf() {
8467
8467
  return Ea || (Ea = 1, function(t) {
8468
8468
  Object.defineProperty(t, "__esModule", { value: !0 }), t.ConversationTranslator = t.SpeechState = void 0;
8469
- const e = T(), r = _f(), i = A(), p = b, a = R(), s = Hp(), n = xs();
8469
+ const e = T(), r = _f(), i = A(), p = b, a = R(), s = $p(), n = xs();
8470
8470
  var o;
8471
8471
  (function(d) {
8472
8472
  d[d.Inactive = 0] = "Inactive", d[d.Connecting = 1] = "Connecting", d[d.Connected = 2] = "Connected";
@@ -8693,7 +8693,7 @@ function bf() {
8693
8693
  }
8694
8694
  }
8695
8695
  t.ConversationTranslator = u;
8696
- }(vs)), vs;
8696
+ }(fs)), fs;
8697
8697
  }
8698
8698
  var gr = {}, Ia;
8699
8699
  function Mf() {
@@ -8701,7 +8701,7 @@ function Mf() {
8701
8701
  return gr;
8702
8702
  Ia = 1, Object.defineProperty(gr, "__esModule", { value: !0 }), gr.ConversationTranscriber = void 0;
8703
8703
  const t = T(), e = ae, r = A(), i = b, p = R();
8704
- let a = class Kp extends p.Recognizer {
8704
+ let a = class Jp extends p.Recognizer {
8705
8705
  /**
8706
8706
  * ConversationTranscriber constructor.
8707
8707
  * @constructor
@@ -8721,7 +8721,7 @@ function Mf() {
8721
8721
  */
8722
8722
  static FromConfig(n, o, c) {
8723
8723
  const u = n;
8724
- return o.properties.mergeTo(u.properties), new Kp(n, c);
8724
+ return o.properties.mergeTo(u.properties), new Jp(n, c);
8725
8725
  }
8726
8726
  /**
8727
8727
  * Gets the endpoint id of a customized speech model that is used for transcription.
@@ -8887,12 +8887,12 @@ function Of() {
8887
8887
  }
8888
8888
  return Ve.Participant = r, Ve;
8889
8889
  }
8890
- var Jp = {};
8890
+ var Gp = {};
8891
8891
  (function(t) {
8892
8892
  Object.defineProperty(t, "__esModule", { value: !0 }), t.ParticipantChangedReason = void 0, function(e) {
8893
8893
  e[e.JoinedConversation = 0] = "JoinedConversation", e[e.LeftConversation = 1] = "LeftConversation", e[e.Updated = 2] = "Updated";
8894
8894
  }(t.ParticipantChangedReason || (t.ParticipantChangedReason = {}));
8895
- })(Jp);
8895
+ })(Gp);
8896
8896
  var He = {}, Aa;
8897
8897
  function Df() {
8898
8898
  if (Aa)
@@ -9487,7 +9487,7 @@ function kf() {
9487
9487
  if (wa)
9488
9488
  return mr;
9489
9489
  wa = 1, Object.defineProperty(mr, "__esModule", { value: !0 }), mr.MeetingTranscriptionCanceledEventArgs = void 0;
9490
- const t = Rn();
9490
+ const t = Pn();
9491
9491
  class e extends t.CancellationEventArgsBase {
9492
9492
  }
9493
9493
  return mr.MeetingTranscriptionCanceledEventArgs = e, mr;
@@ -9666,13 +9666,13 @@ var Ma;
9666
9666
  function xs() {
9667
9667
  return Ma || (Ma = 1, function(t) {
9668
9668
  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;
9669
- var e = Hp();
9669
+ var e = $p();
9670
9670
  Object.defineProperty(t, "Conversation", { enumerable: !0, get: function() {
9671
9671
  return e.Conversation;
9672
9672
  } }), Object.defineProperty(t, "ConversationImpl", { enumerable: !0, get: function() {
9673
9673
  return e.ConversationImpl;
9674
9674
  } });
9675
- var r = Ii;
9675
+ var r = Ti;
9676
9676
  Object.defineProperty(t, "ConversationCommon", { enumerable: !0, get: function() {
9677
9677
  return r.ConversationCommon;
9678
9678
  } });
@@ -9710,7 +9710,7 @@ function xs() {
9710
9710
  } }), Object.defineProperty(t, "User", { enumerable: !0, get: function() {
9711
9711
  return u.User;
9712
9712
  } });
9713
- var d = Jp;
9713
+ var d = Gp;
9714
9714
  Object.defineProperty(t, "ParticipantChangedReason", { enumerable: !0, get: function() {
9715
9715
  return d.ParticipantChangedReason;
9716
9716
  } });
@@ -9732,7 +9732,7 @@ function xs() {
9732
9732
  Object.defineProperty(t, "ConversationTranscriptionResult", { enumerable: !0, get: function() {
9733
9733
  return g.ConversationTranscriptionResult;
9734
9734
  } });
9735
- }(ls)), ls;
9735
+ }(vs)), vs;
9736
9736
  }
9737
9737
  var $e = {}, Oa;
9738
9738
  function Us() {
@@ -9740,7 +9740,7 @@ function Us() {
9740
9740
  return $e;
9741
9741
  Oa = 1, Object.defineProperty($e, "__esModule", { value: !0 }), $e.SynthesisRequest = $e.Synthesizer = void 0;
9742
9742
  const t = T(), e = A(), r = b, i = R();
9743
- let p = class Gp {
9743
+ let p = class Qp {
9744
9744
  /**
9745
9745
  * Creates and initializes an instance of a Recognizer
9746
9746
  * @constructor
@@ -9922,7 +9922,7 @@ function Us() {
9922
9922
  ["zh-TW"]: "zh-TW-HsiaoChenNeural",
9923
9923
  ["zu-ZA"]: "zu-ZA-ThandoNeural"
9924
9924
  };
9925
- let c = this.properties.getProperty(i.PropertyId.SpeechServiceConnection_SynthLanguage, "en-US"), u = this.properties.getProperty(i.PropertyId.SpeechServiceConnection_SynthVoice, ""), d = Gp.XMLEncode(n);
9925
+ let c = this.properties.getProperty(i.PropertyId.SpeechServiceConnection_SynthLanguage, "en-US"), u = this.properties.getProperty(i.PropertyId.SpeechServiceConnection_SynthVoice, ""), d = Qp.XMLEncode(n);
9926
9926
  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;
9927
9927
  }
9928
9928
  /**
@@ -9992,8 +9992,8 @@ function jf() {
9992
9992
  if (Da)
9993
9993
  return yr;
9994
9994
  Da = 1, Object.defineProperty(yr, "__esModule", { value: !0 }), yr.SpeechSynthesizer = void 0;
9995
- const t = T(), e = A(), r = yn, i = je, p = H, a = b, s = R(), n = Us();
9996
- let o = class Qp extends s.Synthesizer {
9995
+ const t = T(), e = A(), r = Rn, i = je, p = H, a = b, s = R(), n = Us();
9996
+ let o = class Xp extends s.Synthesizer {
9997
9997
  /**
9998
9998
  * SpeechSynthesizer constructor.
9999
9999
  * @constructor
@@ -10012,7 +10012,7 @@ function jf() {
10012
10012
  */
10013
10013
  static FromConfig(u, d, h) {
10014
10014
  const l = u;
10015
- return d.properties.mergeTo(l.properties), new Qp(u, h);
10015
+ return d.properties.mergeTo(l.properties), new Xp(u, h);
10016
10016
  }
10017
10017
  /**
10018
10018
  * Executes speech synthesis on plain text.
@@ -10126,9 +10126,9 @@ function jf() {
10126
10126
  };
10127
10127
  return yr.SpeechSynthesizer = o, yr;
10128
10128
  }
10129
- var Ti = {};
10130
- Object.defineProperty(Ti, "__esModule", { value: !0 });
10131
- Ti.SynthesisResult = void 0;
10129
+ var Ai = {};
10130
+ Object.defineProperty(Ai, "__esModule", { value: !0 });
10131
+ Ai.SynthesisResult = void 0;
10132
10132
  class Lf {
10133
10133
  /**
10134
10134
  * Creates and initializes an instance of this class.
@@ -10182,7 +10182,7 @@ class Lf {
10182
10182
  return this.privProperties;
10183
10183
  }
10184
10184
  }
10185
- Ti.SynthesisResult = Lf;
10185
+ Ai.SynthesisResult = Lf;
10186
10186
  var Rr = {}, ka;
10187
10187
  function Bf() {
10188
10188
  if (ka)
@@ -10226,9 +10226,9 @@ function Bf() {
10226
10226
  };
10227
10227
  return Rr.SpeechSynthesisResult = e, Rr;
10228
10228
  }
10229
- var Ai = {};
10230
- Object.defineProperty(Ai, "__esModule", { value: !0 });
10231
- Ai.SpeechSynthesisEventArgs = void 0;
10229
+ var wi = {};
10230
+ Object.defineProperty(wi, "__esModule", { value: !0 });
10231
+ wi.SpeechSynthesisEventArgs = void 0;
10232
10232
  class qf {
10233
10233
  /**
10234
10234
  * Creates and initializes an instance of this class.
@@ -10249,10 +10249,10 @@ class qf {
10249
10249
  return this.privResult;
10250
10250
  }
10251
10251
  }
10252
- Ai.SpeechSynthesisEventArgs = qf;
10253
- var wi = {};
10254
- Object.defineProperty(wi, "__esModule", { value: !0 });
10255
- wi.SpeechSynthesisWordBoundaryEventArgs = void 0;
10252
+ wi.SpeechSynthesisEventArgs = qf;
10253
+ var _i = {};
10254
+ Object.defineProperty(_i, "__esModule", { value: !0 });
10255
+ _i.SpeechSynthesisWordBoundaryEventArgs = void 0;
10256
10256
  class Ff {
10257
10257
  /**
10258
10258
  * Creates and initializes an instance of this class.
@@ -10328,10 +10328,10 @@ class Ff {
10328
10328
  return this.privBoundaryType;
10329
10329
  }
10330
10330
  }
10331
- wi.SpeechSynthesisWordBoundaryEventArgs = Ff;
10332
- var _i = {};
10333
- Object.defineProperty(_i, "__esModule", { value: !0 });
10334
- _i.SpeechSynthesisBookmarkEventArgs = void 0;
10331
+ _i.SpeechSynthesisWordBoundaryEventArgs = Ff;
10332
+ var bi = {};
10333
+ Object.defineProperty(bi, "__esModule", { value: !0 });
10334
+ bi.SpeechSynthesisBookmarkEventArgs = void 0;
10335
10335
  class xf {
10336
10336
  /**
10337
10337
  * Creates and initializes an instance of this class.
@@ -10363,10 +10363,10 @@ class xf {
10363
10363
  return this.privText;
10364
10364
  }
10365
10365
  }
10366
- _i.SpeechSynthesisBookmarkEventArgs = xf;
10367
- var bi = {};
10368
- Object.defineProperty(bi, "__esModule", { value: !0 });
10369
- bi.SpeechSynthesisVisemeEventArgs = void 0;
10366
+ bi.SpeechSynthesisBookmarkEventArgs = xf;
10367
+ var Mi = {};
10368
+ Object.defineProperty(Mi, "__esModule", { value: !0 });
10369
+ Mi.SpeechSynthesisVisemeEventArgs = void 0;
10370
10370
  class Uf {
10371
10371
  /**
10372
10372
  * Creates and initializes an instance of this class.
@@ -10409,13 +10409,13 @@ class Uf {
10409
10409
  return this.privAnimation;
10410
10410
  }
10411
10411
  }
10412
- bi.SpeechSynthesisVisemeEventArgs = Uf;
10413
- var Xp = {};
10412
+ Mi.SpeechSynthesisVisemeEventArgs = Uf;
10413
+ var Zp = {};
10414
10414
  (function(t) {
10415
10415
  Object.defineProperty(t, "__esModule", { value: !0 }), t.SpeechSynthesisBoundaryType = void 0, function(e) {
10416
10416
  e.Word = "WordBoundary", e.Punctuation = "PunctuationBoundary", e.Sentence = "SentenceBoundary";
10417
10417
  }(t.SpeechSynthesisBoundaryType || (t.SpeechSynthesisBoundaryType = {}));
10418
- })(Xp);
10418
+ })(Zp);
10419
10419
  var Pr = {}, Na;
10420
10420
  function Wf() {
10421
10421
  if (Na)
@@ -10450,7 +10450,7 @@ function Wf() {
10450
10450
  };
10451
10451
  return Pr.SynthesisVoicesResult = e, Pr;
10452
10452
  }
10453
- var Zp = {};
10453
+ var Yp = {};
10454
10454
  (function(t) {
10455
10455
  Object.defineProperty(t, "__esModule", { value: !0 }), t.VoiceInfo = t.SynthesisVoiceType = t.SynthesisVoiceGender = void 0;
10456
10456
  var e;
@@ -10528,10 +10528,10 @@ var Zp = {};
10528
10528
  }
10529
10529
  }
10530
10530
  t.VoiceInfo = a;
10531
- })(Zp);
10532
- var Mi = {};
10533
- Object.defineProperty(Mi, "__esModule", { value: !0 });
10534
- Mi.SpeakerAudioDestination = void 0;
10531
+ })(Yp);
10532
+ var Oi = {};
10533
+ Object.defineProperty(Oi, "__esModule", { value: !0 });
10534
+ Oi.SpeakerAudioDestination = void 0;
10535
10535
  const Ke = A(), Vf = H, se = ze, Hf = 60 * 30, za = {
10536
10536
  [se.AudioFormatTag.PCM]: "audio/wav",
10537
10537
  [se.AudioFormatTag.MuLaw]: "audio/x-wav",
@@ -10666,13 +10666,13 @@ class $f {
10666
10666
  return this.privSourceBuffer !== void 0 && !this.privSourceBuffer.updating;
10667
10667
  }
10668
10668
  }
10669
- Mi.SpeakerAudioDestination = $f;
10669
+ Oi.SpeakerAudioDestination = $f;
10670
10670
  var Er = {}, ja;
10671
10671
  function Kf() {
10672
10672
  if (ja)
10673
10673
  return Er;
10674
10674
  ja = 1, Object.defineProperty(Er, "__esModule", { value: !0 }), Er.ConversationTranscriptionCanceledEventArgs = void 0;
10675
- const t = Rn();
10675
+ const t = Pn();
10676
10676
  let e = class extends t.CancellationEventArgsBase {
10677
10677
  };
10678
10678
  return Er.ConversationTranscriptionCanceledEventArgs = e, Er;
@@ -10682,30 +10682,30 @@ function Jf() {
10682
10682
  if (La)
10683
10683
  return Ir;
10684
10684
  La = 1, Object.defineProperty(Ir, "__esModule", { value: !0 }), Ir.MeetingTranscriptionCanceledEventArgs = void 0;
10685
- const t = Rn();
10685
+ const t = Pn();
10686
10686
  let e = class extends t.CancellationEventArgsBase {
10687
10687
  };
10688
10688
  return Ir.MeetingTranscriptionCanceledEventArgs = e, Ir;
10689
10689
  }
10690
- var Yp = {};
10690
+ var eu = {};
10691
10691
  (function(t) {
10692
10692
  Object.defineProperty(t, "__esModule", { value: !0 }), t.PronunciationAssessmentGradingSystem = void 0, function(e) {
10693
10693
  e[e.FivePoint = 1] = "FivePoint", e[e.HundredMark = 2] = "HundredMark";
10694
10694
  }(t.PronunciationAssessmentGradingSystem || (t.PronunciationAssessmentGradingSystem = {}));
10695
- })(Yp);
10696
- var eu = {};
10695
+ })(eu);
10696
+ var tu = {};
10697
10697
  (function(t) {
10698
10698
  Object.defineProperty(t, "__esModule", { value: !0 }), t.PronunciationAssessmentGranularity = void 0, function(e) {
10699
10699
  e[e.Phoneme = 1] = "Phoneme", e[e.Word = 2] = "Word", e[e.FullText = 3] = "FullText";
10700
10700
  }(t.PronunciationAssessmentGranularity || (t.PronunciationAssessmentGranularity = {}));
10701
- })(eu);
10701
+ })(tu);
10702
10702
  var Tr = {}, Ba;
10703
10703
  function Gf() {
10704
10704
  if (Ba)
10705
10705
  return Tr;
10706
10706
  Ba = 1, Object.defineProperty(Tr, "__esModule", { value: !0 }), Tr.PronunciationAssessmentConfig = void 0;
10707
10707
  const t = b, e = R();
10708
- let r = class tu {
10708
+ let r = class ru {
10709
10709
  /**
10710
10710
  * PronunciationAssessmentConfig constructor.
10711
10711
  * @constructor
@@ -10729,7 +10729,7 @@ function Gf() {
10729
10729
  */
10730
10730
  static fromJSON(p) {
10731
10731
  t.Contracts.throwIfNullOrUndefined(p, "json");
10732
- const a = new tu("");
10732
+ const a = new ru("");
10733
10733
  return a.privProperties = new e.PropertyCollection(), a.properties.setProperty(e.PropertyId.PronunciationAssessment_Json, p), a;
10734
10734
  }
10735
10735
  toJSON() {
@@ -10901,7 +10901,7 @@ function Qf() {
10901
10901
  }
10902
10902
  }
10903
10903
  Je.ContentAssessmentResult = r;
10904
- let i = class ru {
10904
+ let i = class nu {
10905
10905
  constructor(a) {
10906
10906
  const s = JSON.parse(a);
10907
10907
  t.Contracts.throwIfNullOrUndefined(s.NBest[0], "NBest"), this.privPronJson = s.NBest[0];
@@ -10917,7 +10917,7 @@ function Qf() {
10917
10917
  static fromResult(a) {
10918
10918
  t.Contracts.throwIfNullOrUndefined(a, "result");
10919
10919
  const s = a.properties.getProperty(e.PropertyId.SpeechServiceResponse_JsonResult);
10920
- return t.Contracts.throwIfNullOrUndefined(s, "json"), new ru(s);
10920
+ return t.Contracts.throwIfNullOrUndefined(s, "json"), new nu(s);
10921
10921
  }
10922
10922
  /**
10923
10923
  * Gets the detail result of pronunciation assessment.
@@ -11088,7 +11088,7 @@ function Xf() {
11088
11088
  };
11089
11089
  return Ar.AvatarConfig = r, Ar;
11090
11090
  }
11091
- var nu = {};
11091
+ var iu = {};
11092
11092
  (function(t) {
11093
11093
  Object.defineProperty(t, "__esModule", { value: !0 }), t.AvatarEventArgs = t.AvatarEventTypes = void 0, function(r) {
11094
11094
  r.SwitchedToSpeaking = "SwitchedToSpeaking", r.SwitchedToIdle = "SwitchedToIdle", r.SessionClosed = "SessionClosed";
@@ -11129,9 +11129,9 @@ var nu = {};
11129
11129
  }
11130
11130
  }
11131
11131
  t.AvatarEventArgs = e;
11132
- })(nu);
11132
+ })(iu);
11133
11133
  var wr = {}, _r = {}, xa;
11134
- function iu() {
11134
+ function su() {
11135
11135
  if (xa)
11136
11136
  return _r;
11137
11137
  xa = 1, Object.defineProperty(_r, "__esModule", { value: !0 }), _r.SpeechSynthesisConnectionFactory = void 0;
@@ -11159,7 +11159,7 @@ function Zf() {
11159
11159
  if (Ua)
11160
11160
  return wr;
11161
11161
  Ua = 1, Object.defineProperty(wr, "__esModule", { value: !0 }), wr.AvatarSynthesizer = void 0;
11162
- const t = iu(), e = T(), r = A(), i = je, p = R(), a = b, s = Us();
11162
+ const t = su(), e = T(), r = A(), i = je, p = R(), a = b, s = Us();
11163
11163
  let n = class extends p.Synthesizer {
11164
11164
  /**
11165
11165
  * Creates and initializes an instance of this class.
@@ -11380,7 +11380,7 @@ var Ha;
11380
11380
  function R() {
11381
11381
  return Ha || (Ha = 1, function(t) {
11382
11382
  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;
11383
- var e = Pp();
11383
+ var e = Ep();
11384
11384
  Object.defineProperty(t, "AudioConfig", { enumerable: !0, get: function() {
11385
11385
  return e.AudioConfig;
11386
11386
  } });
@@ -11390,7 +11390,7 @@ function R() {
11390
11390
  } }), Object.defineProperty(t, "AudioFormatTag", { enumerable: !0, get: function() {
11391
11391
  return r.AudioFormatTag;
11392
11392
  } });
11393
- var i = mp();
11393
+ var i = Sp();
11394
11394
  Object.defineProperty(t, "AudioInputStream", { enumerable: !0, get: function() {
11395
11395
  return i.AudioInputStream;
11396
11396
  } }), Object.defineProperty(t, "PullAudioInputStream", { enumerable: !0, get: function() {
@@ -11406,23 +11406,23 @@ function R() {
11406
11406
  } }), Object.defineProperty(t, "PushAudioOutputStream", { enumerable: !0, get: function() {
11407
11407
  return p.PushAudioOutputStream;
11408
11408
  } });
11409
- var a = Ep;
11409
+ var a = Ip;
11410
11410
  Object.defineProperty(t, "CancellationReason", { enumerable: !0, get: function() {
11411
11411
  return a.CancellationReason;
11412
11412
  } });
11413
- var s = ci;
11413
+ var s = pi;
11414
11414
  Object.defineProperty(t, "PullAudioInputStreamCallback", { enumerable: !0, get: function() {
11415
11415
  return s.PullAudioInputStreamCallback;
11416
11416
  } });
11417
- var n = pi;
11417
+ var n = ui;
11418
11418
  Object.defineProperty(t, "PushAudioOutputStreamCallback", { enumerable: !0, get: function() {
11419
11419
  return n.PushAudioOutputStreamCallback;
11420
11420
  } });
11421
- var o = ui;
11421
+ var o = di;
11422
11422
  Object.defineProperty(t, "KeywordRecognitionModel", { enumerable: !0, get: function() {
11423
11423
  return o.KeywordRecognitionModel;
11424
11424
  } });
11425
- var c = di;
11425
+ var c = hi;
11426
11426
  Object.defineProperty(t, "SessionEventArgs", { enumerable: !0, get: function() {
11427
11427
  return c.SessionEventArgs;
11428
11428
  } });
@@ -11430,7 +11430,7 @@ function R() {
11430
11430
  Object.defineProperty(t, "RecognitionEventArgs", { enumerable: !0, get: function() {
11431
11431
  return u.RecognitionEventArgs;
11432
11432
  } });
11433
- var d = Ip;
11433
+ var d = Tp;
11434
11434
  Object.defineProperty(t, "OutputFormat", { enumerable: !0, get: function() {
11435
11435
  return d.OutputFormat;
11436
11436
  } });
@@ -11438,7 +11438,7 @@ function R() {
11438
11438
  Object.defineProperty(t, "IntentRecognitionEventArgs", { enumerable: !0, get: function() {
11439
11439
  return h.IntentRecognitionEventArgs;
11440
11440
  } });
11441
- var l = hi;
11441
+ var l = li;
11442
11442
  Object.defineProperty(t, "RecognitionResult", { enumerable: !0, get: function() {
11443
11443
  return l.RecognitionResult;
11444
11444
  } });
@@ -11474,15 +11474,15 @@ function R() {
11474
11474
  Object.defineProperty(t, "TranslationSynthesisEventArgs", { enumerable: !0, get: function() {
11475
11475
  return y.TranslationSynthesisEventArgs;
11476
11476
  } });
11477
- var E = wp();
11477
+ var E = _p();
11478
11478
  Object.defineProperty(t, "TranslationRecognitionResult", { enumerable: !0, get: function() {
11479
11479
  return E.TranslationRecognitionResult;
11480
11480
  } });
11481
- var I = li;
11481
+ var I = vi;
11482
11482
  Object.defineProperty(t, "TranslationSynthesisResult", { enumerable: !0, get: function() {
11483
11483
  return I.TranslationSynthesisResult;
11484
11484
  } });
11485
- var w = _p;
11485
+ var w = bp;
11486
11486
  Object.defineProperty(t, "ResultReason", { enumerable: !0, get: function() {
11487
11487
  return w.ResultReason;
11488
11488
  } });
@@ -11498,17 +11498,17 @@ function R() {
11498
11498
  } }), Object.defineProperty(t, "SpeechTranslationConfigImpl", { enumerable: !0, get: function() {
11499
11499
  return z.SpeechTranslationConfigImpl;
11500
11500
  } });
11501
- var L = Mp();
11501
+ var L = Op();
11502
11502
  Object.defineProperty(t, "PropertyCollection", { enumerable: !0, get: function() {
11503
11503
  return L.PropertyCollection;
11504
11504
  } });
11505
- var ce = vi;
11505
+ var ce = fi;
11506
11506
  Object.defineProperty(t, "PropertyId", { enumerable: !0, get: function() {
11507
11507
  return ce.PropertyId;
11508
11508
  } });
11509
- var it = Uv();
11509
+ var st = Uv();
11510
11510
  Object.defineProperty(t, "Recognizer", { enumerable: !0, get: function() {
11511
- return it.Recognizer;
11511
+ return st.Recognizer;
11512
11512
  } });
11513
11513
  var te = Wv();
11514
11514
  Object.defineProperty(t, "SpeechRecognizer", { enumerable: !0, get: function() {
@@ -11518,109 +11518,109 @@ function R() {
11518
11518
  Object.defineProperty(t, "IntentRecognizer", { enumerable: !0, get: function() {
11519
11519
  return no.IntentRecognizer;
11520
11520
  } });
11521
- var Ou = kp;
11521
+ var Du = Np;
11522
11522
  Object.defineProperty(t, "VoiceProfileType", { enumerable: !0, get: function() {
11523
- return Ou.VoiceProfileType;
11523
+ return Du.VoiceProfileType;
11524
11524
  } });
11525
- var Du = Hv();
11525
+ var ku = Hv();
11526
11526
  Object.defineProperty(t, "TranslationRecognizer", { enumerable: !0, get: function() {
11527
- return Du.TranslationRecognizer;
11527
+ return ku.TranslationRecognizer;
11528
11528
  } });
11529
- var ku = $v();
11529
+ var Nu = $v();
11530
11530
  Object.defineProperty(t, "Translations", { enumerable: !0, get: function() {
11531
- return ku.Translations;
11531
+ return Nu.Translations;
11532
11532
  } });
11533
- var Nu = Lp;
11533
+ var zu = Bp;
11534
11534
  Object.defineProperty(t, "NoMatchReason", { enumerable: !0, get: function() {
11535
- return Nu.NoMatchReason;
11535
+ return zu.NoMatchReason;
11536
11536
  } });
11537
- var zu = Kv();
11537
+ var ju = Kv();
11538
11538
  Object.defineProperty(t, "NoMatchDetails", { enumerable: !0, get: function() {
11539
- return zu.NoMatchDetails;
11539
+ return ju.NoMatchDetails;
11540
11540
  } });
11541
- var ju = fi;
11541
+ var Lu = gi;
11542
11542
  Object.defineProperty(t, "TranslationRecognitionCanceledEventArgs", { enumerable: !0, get: function() {
11543
- return ju.TranslationRecognitionCanceledEventArgs;
11543
+ return Lu.TranslationRecognitionCanceledEventArgs;
11544
11544
  } });
11545
- var Lu = Gv();
11545
+ var Bu = Gv();
11546
11546
  Object.defineProperty(t, "IntentRecognitionCanceledEventArgs", { enumerable: !0, get: function() {
11547
- return Lu.IntentRecognitionCanceledEventArgs;
11547
+ return Bu.IntentRecognitionCanceledEventArgs;
11548
11548
  } });
11549
- var Bu = Pn;
11549
+ var qu = En;
11550
11550
  Object.defineProperty(t, "CancellationDetailsBase", { enumerable: !0, get: function() {
11551
- return Bu.CancellationDetailsBase;
11551
+ return qu.CancellationDetailsBase;
11552
11552
  } });
11553
- var qu = Xv();
11553
+ var Fu = Xv();
11554
11554
  Object.defineProperty(t, "CancellationDetails", { enumerable: !0, get: function() {
11555
- return qu.CancellationDetails;
11555
+ return Fu.CancellationDetails;
11556
11556
  } });
11557
- var Fu = Fp;
11557
+ var xu = xp;
11558
11558
  Object.defineProperty(t, "CancellationErrorCode", { enumerable: !0, get: function() {
11559
- return Fu.CancellationErrorCode;
11559
+ return xu.CancellationErrorCode;
11560
11560
  } });
11561
- var xu = Zv();
11561
+ var Uu = Zv();
11562
11562
  Object.defineProperty(t, "ConnectionEventArgs", { enumerable: !0, get: function() {
11563
- return xu.ConnectionEventArgs;
11563
+ return Uu.ConnectionEventArgs;
11564
11564
  } });
11565
- var Uu = Yv();
11565
+ var Wu = Yv();
11566
11566
  Object.defineProperty(t, "ServiceEventArgs", { enumerable: !0, get: function() {
11567
- return Uu.ServiceEventArgs;
11567
+ return Wu.ServiceEventArgs;
11568
11568
  } });
11569
- var Wu = zp();
11569
+ var Vu = jp();
11570
11570
  Object.defineProperty(t, "Connection", { enumerable: !0, get: function() {
11571
- return Wu.Connection;
11571
+ return Vu.Connection;
11572
11572
  } });
11573
- var Vu = gi;
11573
+ var Hu = mi;
11574
11574
  Object.defineProperty(t, "PhraseListGrammar", { enumerable: !0, get: function() {
11575
- return Vu.PhraseListGrammar;
11575
+ return Hu.PhraseListGrammar;
11576
11576
  } });
11577
- var Hu = Ls();
11577
+ var $u = Ls();
11578
11578
  Object.defineProperty(t, "DialogServiceConfig", { enumerable: !0, get: function() {
11579
- return Hu.DialogServiceConfig;
11579
+ return $u.DialogServiceConfig;
11580
11580
  } });
11581
- var $u = ef();
11581
+ var Ku = ef();
11582
11582
  Object.defineProperty(t, "BotFrameworkConfig", { enumerable: !0, get: function() {
11583
- return $u.BotFrameworkConfig;
11583
+ return Ku.BotFrameworkConfig;
11584
11584
  } });
11585
- var Ku = tf();
11585
+ var Ju = tf();
11586
11586
  Object.defineProperty(t, "CustomCommandsConfig", { enumerable: !0, get: function() {
11587
- return Ku.CustomCommandsConfig;
11587
+ return Ju.CustomCommandsConfig;
11588
11588
  } });
11589
- var Ju = nf();
11589
+ var Gu = nf();
11590
11590
  Object.defineProperty(t, "DialogServiceConnector", { enumerable: !0, get: function() {
11591
- return Ju.DialogServiceConnector;
11591
+ return Gu.DialogServiceConnector;
11592
11592
  } });
11593
- var Gu = mi;
11593
+ var Qu = Si;
11594
11594
  Object.defineProperty(t, "ActivityReceivedEventArgs", { enumerable: !0, get: function() {
11595
- return Gu.ActivityReceivedEventArgs;
11595
+ return Qu.ActivityReceivedEventArgs;
11596
11596
  } });
11597
- var Qu = Si;
11597
+ var Xu = Ci;
11598
11598
  Object.defineProperty(t, "TurnStatusReceivedEventArgs", { enumerable: !0, get: function() {
11599
- return Qu.TurnStatusReceivedEventArgs;
11599
+ return Xu.TurnStatusReceivedEventArgs;
11600
11600
  } });
11601
- var Xu = xp;
11601
+ var Zu = Up;
11602
11602
  Object.defineProperty(t, "ServicePropertyChannel", { enumerable: !0, get: function() {
11603
- return Xu.ServicePropertyChannel;
11603
+ return Zu.ServicePropertyChannel;
11604
11604
  } });
11605
- var Zu = Up;
11605
+ var Yu = Wp;
11606
11606
  Object.defineProperty(t, "ProfanityOption", { enumerable: !0, get: function() {
11607
- return Zu.ProfanityOption;
11607
+ return Yu.ProfanityOption;
11608
11608
  } });
11609
- var Yu = cf();
11609
+ var ed = cf();
11610
11610
  Object.defineProperty(t, "BaseAudioPlayer", { enumerable: !0, get: function() {
11611
- return Yu.BaseAudioPlayer;
11611
+ return ed.BaseAudioPlayer;
11612
11612
  } });
11613
- var ed = yi;
11613
+ var td = Ri;
11614
11614
  Object.defineProperty(t, "ConnectionMessageEventArgs", { enumerable: !0, get: function() {
11615
- return ed.ConnectionMessageEventArgs;
11615
+ return td.ConnectionMessageEventArgs;
11616
11616
  } });
11617
- var td = Np();
11617
+ var rd = zp();
11618
11618
  Object.defineProperty(t, "ConnectionMessage", { enumerable: !0, get: function() {
11619
- return td.ConnectionMessage;
11619
+ return rd.ConnectionMessage;
11620
11620
  } });
11621
- var rd = Ri;
11621
+ var nd = Pi;
11622
11622
  Object.defineProperty(t, "VoiceProfile", { enumerable: !0, get: function() {
11623
- return rd.VoiceProfile;
11623
+ return nd.VoiceProfile;
11624
11624
  } });
11625
11625
  var io = df();
11626
11626
  Object.defineProperty(t, "VoiceProfileEnrollmentResult", { enumerable: !0, get: function() {
@@ -11634,45 +11634,45 @@ function R() {
11634
11634
  } }), Object.defineProperty(t, "VoiceProfileCancellationDetails", { enumerable: !0, get: function() {
11635
11635
  return so.VoiceProfileCancellationDetails;
11636
11636
  } });
11637
- var nd = lf();
11637
+ var id = lf();
11638
11638
  Object.defineProperty(t, "VoiceProfilePhraseResult", { enumerable: !0, get: function() {
11639
- return nd.VoiceProfilePhraseResult;
11639
+ return id.VoiceProfilePhraseResult;
11640
11640
  } });
11641
- var id = vf();
11641
+ var sd = vf();
11642
11642
  Object.defineProperty(t, "VoiceProfileClient", { enumerable: !0, get: function() {
11643
- return id.VoiceProfileClient;
11643
+ return sd.VoiceProfileClient;
11644
11644
  } });
11645
- var sd = ff();
11645
+ var od = ff();
11646
11646
  Object.defineProperty(t, "SpeakerRecognizer", { enumerable: !0, get: function() {
11647
- return sd.SpeakerRecognizer;
11647
+ return od.SpeakerRecognizer;
11648
11648
  } });
11649
- var od = gf();
11649
+ var ad = gf();
11650
11650
  Object.defineProperty(t, "SpeakerIdentificationModel", { enumerable: !0, get: function() {
11651
- return od.SpeakerIdentificationModel;
11651
+ return ad.SpeakerIdentificationModel;
11652
11652
  } });
11653
- var ad = mf();
11653
+ var cd = mf();
11654
11654
  Object.defineProperty(t, "SpeakerVerificationModel", { enumerable: !0, get: function() {
11655
- return ad.SpeakerVerificationModel;
11655
+ return cd.SpeakerVerificationModel;
11656
11656
  } });
11657
- var cd = Sf();
11657
+ var pd = Sf();
11658
11658
  Object.defineProperty(t, "AutoDetectSourceLanguageConfig", { enumerable: !0, get: function() {
11659
- return cd.AutoDetectSourceLanguageConfig;
11659
+ return pd.AutoDetectSourceLanguageConfig;
11660
11660
  } });
11661
- var pd = Pi;
11661
+ var ud = Ei;
11662
11662
  Object.defineProperty(t, "AutoDetectSourceLanguageResult", { enumerable: !0, get: function() {
11663
- return pd.AutoDetectSourceLanguageResult;
11663
+ return ud.AutoDetectSourceLanguageResult;
11664
11664
  } });
11665
- var ud = Ei;
11665
+ var dd = Ii;
11666
11666
  Object.defineProperty(t, "SourceLanguageConfig", { enumerable: !0, get: function() {
11667
- return ud.SourceLanguageConfig;
11667
+ return dd.SourceLanguageConfig;
11668
11668
  } });
11669
- var Xi = yf();
11669
+ var Zi = yf();
11670
11670
  Object.defineProperty(t, "SpeakerRecognitionResult", { enumerable: !0, get: function() {
11671
- return Xi.SpeakerRecognitionResult;
11671
+ return Zi.SpeakerRecognitionResult;
11672
11672
  } }), Object.defineProperty(t, "SpeakerRecognitionResultType", { enumerable: !0, get: function() {
11673
- return Xi.SpeakerRecognitionResultType;
11673
+ return Zi.SpeakerRecognitionResultType;
11674
11674
  } }), Object.defineProperty(t, "SpeakerRecognitionCancellationDetails", { enumerable: !0, get: function() {
11675
- return Xi.SpeakerRecognitionCancellationDetails;
11675
+ return Zi.SpeakerRecognitionCancellationDetails;
11676
11676
  } });
11677
11677
  var ie = xs();
11678
11678
  Object.defineProperty(t, "Conversation", { enumerable: !0, get: function() {
@@ -11704,101 +11704,101 @@ function R() {
11704
11704
  } }), Object.defineProperty(t, "User", { enumerable: !0, get: function() {
11705
11705
  return ie.User;
11706
11706
  } });
11707
- var dd = Us();
11707
+ var hd = Us();
11708
11708
  Object.defineProperty(t, "Synthesizer", { enumerable: !0, get: function() {
11709
- return dd.Synthesizer;
11709
+ return hd.Synthesizer;
11710
11710
  } });
11711
- var hd = ks;
11711
+ var ld = ks;
11712
11712
  Object.defineProperty(t, "SpeechSynthesisOutputFormat", { enumerable: !0, get: function() {
11713
- return hd.SpeechSynthesisOutputFormat;
11713
+ return ld.SpeechSynthesisOutputFormat;
11714
11714
  } });
11715
- var ld = jf();
11715
+ var vd = jf();
11716
11716
  Object.defineProperty(t, "SpeechSynthesizer", { enumerable: !0, get: function() {
11717
- return ld.SpeechSynthesizer;
11717
+ return vd.SpeechSynthesizer;
11718
11718
  } });
11719
- var vd = Ti;
11719
+ var fd = Ai;
11720
11720
  Object.defineProperty(t, "SynthesisResult", { enumerable: !0, get: function() {
11721
- return vd.SynthesisResult;
11721
+ return fd.SynthesisResult;
11722
11722
  } });
11723
- var fd = Bf();
11723
+ var gd = Bf();
11724
11724
  Object.defineProperty(t, "SpeechSynthesisResult", { enumerable: !0, get: function() {
11725
- return fd.SpeechSynthesisResult;
11725
+ return gd.SpeechSynthesisResult;
11726
11726
  } });
11727
- var gd = Ai;
11727
+ var md = wi;
11728
11728
  Object.defineProperty(t, "SpeechSynthesisEventArgs", { enumerable: !0, get: function() {
11729
- return gd.SpeechSynthesisEventArgs;
11729
+ return md.SpeechSynthesisEventArgs;
11730
11730
  } });
11731
- var md = wi;
11731
+ var Sd = _i;
11732
11732
  Object.defineProperty(t, "SpeechSynthesisWordBoundaryEventArgs", { enumerable: !0, get: function() {
11733
- return md.SpeechSynthesisWordBoundaryEventArgs;
11733
+ return Sd.SpeechSynthesisWordBoundaryEventArgs;
11734
11734
  } });
11735
- var Sd = _i;
11735
+ var Cd = bi;
11736
11736
  Object.defineProperty(t, "SpeechSynthesisBookmarkEventArgs", { enumerable: !0, get: function() {
11737
- return Sd.SpeechSynthesisBookmarkEventArgs;
11737
+ return Cd.SpeechSynthesisBookmarkEventArgs;
11738
11738
  } });
11739
- var Cd = bi;
11739
+ var yd = Mi;
11740
11740
  Object.defineProperty(t, "SpeechSynthesisVisemeEventArgs", { enumerable: !0, get: function() {
11741
- return Cd.SpeechSynthesisVisemeEventArgs;
11741
+ return yd.SpeechSynthesisVisemeEventArgs;
11742
11742
  } });
11743
- var yd = Xp;
11743
+ var Rd = Zp;
11744
11744
  Object.defineProperty(t, "SpeechSynthesisBoundaryType", { enumerable: !0, get: function() {
11745
- return yd.SpeechSynthesisBoundaryType;
11745
+ return Rd.SpeechSynthesisBoundaryType;
11746
11746
  } });
11747
- var Rd = Wf();
11747
+ var Pd = Wf();
11748
11748
  Object.defineProperty(t, "SynthesisVoicesResult", { enumerable: !0, get: function() {
11749
- return Rd.SynthesisVoicesResult;
11749
+ return Pd.SynthesisVoicesResult;
11750
11750
  } });
11751
- var Zi = Zp;
11751
+ var Yi = Yp;
11752
11752
  Object.defineProperty(t, "SynthesisVoiceGender", { enumerable: !0, get: function() {
11753
- return Zi.SynthesisVoiceGender;
11753
+ return Yi.SynthesisVoiceGender;
11754
11754
  } }), Object.defineProperty(t, "SynthesisVoiceType", { enumerable: !0, get: function() {
11755
- return Zi.SynthesisVoiceType;
11755
+ return Yi.SynthesisVoiceType;
11756
11756
  } }), Object.defineProperty(t, "VoiceInfo", { enumerable: !0, get: function() {
11757
- return Zi.VoiceInfo;
11757
+ return Yi.VoiceInfo;
11758
11758
  } });
11759
- var Pd = Mi;
11759
+ var Ed = Oi;
11760
11760
  Object.defineProperty(t, "SpeakerAudioDestination", { enumerable: !0, get: function() {
11761
- return Pd.SpeakerAudioDestination;
11761
+ return Ed.SpeakerAudioDestination;
11762
11762
  } });
11763
- var Ed = Kf();
11763
+ var Id = Kf();
11764
11764
  Object.defineProperty(t, "ConversationTranscriptionCanceledEventArgs", { enumerable: !0, get: function() {
11765
- return Ed.ConversationTranscriptionCanceledEventArgs;
11765
+ return Id.ConversationTranscriptionCanceledEventArgs;
11766
11766
  } });
11767
- var Id = Jf();
11767
+ var Td = Jf();
11768
11768
  Object.defineProperty(t, "MeetingTranscriptionCanceledEventArgs", { enumerable: !0, get: function() {
11769
- return Id.MeetingTranscriptionCanceledEventArgs;
11769
+ return Td.MeetingTranscriptionCanceledEventArgs;
11770
11770
  } });
11771
- var Td = Yp;
11771
+ var Ad = eu;
11772
11772
  Object.defineProperty(t, "PronunciationAssessmentGradingSystem", { enumerable: !0, get: function() {
11773
- return Td.PronunciationAssessmentGradingSystem;
11773
+ return Ad.PronunciationAssessmentGradingSystem;
11774
11774
  } });
11775
- var Ad = eu;
11775
+ var wd = tu;
11776
11776
  Object.defineProperty(t, "PronunciationAssessmentGranularity", { enumerable: !0, get: function() {
11777
- return Ad.PronunciationAssessmentGranularity;
11777
+ return wd.PronunciationAssessmentGranularity;
11778
11778
  } });
11779
- var wd = Gf();
11779
+ var _d = Gf();
11780
11780
  Object.defineProperty(t, "PronunciationAssessmentConfig", { enumerable: !0, get: function() {
11781
- return wd.PronunciationAssessmentConfig;
11781
+ return _d.PronunciationAssessmentConfig;
11782
11782
  } });
11783
- var _d = Qf();
11783
+ var bd = Qf();
11784
11784
  Object.defineProperty(t, "PronunciationAssessmentResult", { enumerable: !0, get: function() {
11785
- return _d.PronunciationAssessmentResult;
11785
+ return bd.PronunciationAssessmentResult;
11786
11786
  } });
11787
- var bd = qs;
11787
+ var Md = qs;
11788
11788
  Object.defineProperty(t, "LanguageIdMode", { enumerable: !0, get: function() {
11789
- return bd.LanguageIdMode;
11789
+ return Md.LanguageIdMode;
11790
11790
  } });
11791
- var Md = Xf();
11791
+ var Od = Xf();
11792
11792
  Object.defineProperty(t, "AvatarConfig", { enumerable: !0, get: function() {
11793
- return Md.AvatarConfig;
11793
+ return Od.AvatarConfig;
11794
11794
  } });
11795
- var Od = nu;
11795
+ var Dd = iu;
11796
11796
  Object.defineProperty(t, "AvatarEventArgs", { enumerable: !0, get: function() {
11797
- return Od.AvatarEventArgs;
11797
+ return Dd.AvatarEventArgs;
11798
11798
  } });
11799
- var Dd = Zf();
11799
+ var kd = Zf();
11800
11800
  Object.defineProperty(t, "AvatarSynthesizer", { enumerable: !0, get: function() {
11801
- return Dd.AvatarSynthesizer;
11801
+ return kd.AvatarSynthesizer;
11802
11802
  } });
11803
11803
  var oo = ft;
11804
11804
  Object.defineProperty(t, "AvatarVideoFormat", { enumerable: !0, get: function() {
@@ -11806,19 +11806,19 @@ function R() {
11806
11806
  } }), Object.defineProperty(t, "Coordinate", { enumerable: !0, get: function() {
11807
11807
  return oo.Coordinate;
11808
11808
  } });
11809
- var kd = tg();
11809
+ var Nd = tg();
11810
11810
  Object.defineProperty(t, "AvatarWebRTCConnectionResult", { enumerable: !0, get: function() {
11811
- return kd.AvatarWebRTCConnectionResult;
11811
+ return Nd.AvatarWebRTCConnectionResult;
11812
11812
  } });
11813
- var Nd = rg();
11813
+ var zd = rg();
11814
11814
  Object.defineProperty(t, "Diagnostics", { enumerable: !0, get: function() {
11815
- return Nd.Diagnostics;
11815
+ return zd.Diagnostics;
11816
11816
  } });
11817
- var zd = Os;
11817
+ var jd = Os;
11818
11818
  Object.defineProperty(t, "LogLevel", { enumerable: !0, get: function() {
11819
- return zd.LogLevel;
11819
+ return jd.LogLevel;
11820
11820
  } });
11821
- }(us)), us;
11821
+ }(ds)), ds;
11822
11822
  }
11823
11823
  var $a;
11824
11824
  function ng() {
@@ -11826,12 +11826,12 @@ function ng() {
11826
11826
  return bt;
11827
11827
  $a = 1, Object.defineProperty(bt, "__esModule", { value: !0 }), bt.ProxyInfo = void 0;
11828
11828
  const t = R();
11829
- let e = class su {
11829
+ let e = class ou {
11830
11830
  constructor(i, p, a, s) {
11831
11831
  this.privProxyHostName = i, this.privProxyPort = p, this.privProxyUserName = a, this.privProxyPassword = s;
11832
11832
  }
11833
11833
  static fromParameters(i) {
11834
- return new su(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));
11834
+ return new ou(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));
11835
11835
  }
11836
11836
  static fromRecognizerConfig(i) {
11837
11837
  return this.fromParameters(i.parameters);
@@ -11851,7 +11851,7 @@ function ng() {
11851
11851
  };
11852
11852
  return bt.ProxyInfo = e, bt;
11853
11853
  }
11854
- var ou = {};
11854
+ var au = {};
11855
11855
  const ig = /* @__PURE__ */ new Set(["json", "buffer", "string"]);
11856
11856
  var sg = (t) => (...e) => {
11857
11857
  const r = /* @__PURE__ */ new Set();
@@ -11979,10 +11979,10 @@ var cg = og(ag);
11979
11979
  }
11980
11980
  }
11981
11981
  t.RestMessageAdapter = a;
11982
- })(ou);
11983
- var In = {};
11984
- Object.defineProperty(In, "__esModule", { value: !0 });
11985
- In.RestConfigBase = void 0;
11982
+ })(au);
11983
+ var Tn = {};
11984
+ Object.defineProperty(Tn, "__esModule", { value: !0 });
11985
+ Tn.RestConfigBase = void 0;
11986
11986
  class Oe {
11987
11987
  static get requestOptions() {
11988
11988
  return Oe.privDefaultRequestOptions;
@@ -11994,7 +11994,7 @@ class Oe {
11994
11994
  return Oe.privRestErrors;
11995
11995
  }
11996
11996
  }
11997
- In.RestConfigBase = Oe;
11997
+ Tn.RestConfigBase = Oe;
11998
11998
  Oe.privDefaultRequestOptions = {
11999
11999
  headers: {
12000
12000
  Accept: "application/json"
@@ -12043,8 +12043,8 @@ function U() {
12043
12043
  for (var a in i)
12044
12044
  a !== "default" && !Object.prototype.hasOwnProperty.call(p, a) && e(p, i, a);
12045
12045
  };
12046
- Object.defineProperty(t, "__esModule", { value: !0 }), r(ii, t), r(fp, t), r(iv(), t), r(sv(), t), r(si, t), r(oi, t), r(Cn, t), r(ai, t), r(ng(), t), r(ou, t), r(In, t);
12047
- }(as)), as;
12046
+ Object.defineProperty(t, "__esModule", { value: !0 }), r(si, t), r(gp, t), r(iv(), t), r(sv(), t), r(oi, t), r(ai, t), r(yn, t), r(ci, t), r(ng(), t), r(au, t), r(Tn, t);
12047
+ }(cs)), cs;
12048
12048
  }
12049
12049
  var Ja;
12050
12050
  function pg() {
@@ -12175,7 +12175,7 @@ function ug() {
12175
12175
  }
12176
12176
  return Ge.VoiceProfileConnectionFactory = n, Ge;
12177
12177
  }
12178
- var Oi = {};
12178
+ var Di = {};
12179
12179
  (function(t) {
12180
12180
  Object.defineProperty(t, "__esModule", { value: !0 }), t.RecognitionEndedEvent = t.RecognitionCompletionStatus = t.RecognitionStartedEvent = t.ConnectingToServiceEvent = t.ListeningStartedEvent = t.RecognitionTriggeredEvent = t.SpeechRecognitionEvent = void 0;
12181
12181
  const e = A();
@@ -12267,17 +12267,17 @@ var Oi = {};
12267
12267
  }
12268
12268
  }
12269
12269
  t.RecognitionEndedEvent = o;
12270
- })(Oi);
12270
+ })(Di);
12271
12271
  var Or = {}, Ie = {};
12272
12272
  Object.defineProperty(Ie, "__esModule", { value: !0 });
12273
12273
  Ie.SpeechConnectionMessage = void 0;
12274
- const fs = A(), Ce = x;
12275
- class Vs extends fs.ConnectionMessage {
12274
+ const gs = A(), Ce = x;
12275
+ class Vs extends gs.ConnectionMessage {
12276
12276
  constructor(e, r, i, p, a, s, n, o) {
12277
12277
  if (!r)
12278
- throw new fs.ArgumentNullError("path");
12278
+ throw new gs.ArgumentNullError("path");
12279
12279
  if (!i)
12280
- throw new fs.ArgumentNullError("requestId");
12280
+ throw new gs.ArgumentNullError("requestId");
12281
12281
  const c = {};
12282
12282
  if (c[Ce.HeaderNames.Path] = r, c[Ce.HeaderNames.RequestId] = i, c[Ce.HeaderNames.RequestTimestamp] = (/* @__PURE__ */ new Date()).toISOString(), p && (c[Ce.HeaderNames.ContentType] = p), s && (c[Ce.HeaderNames.RequestStreamId] = s), n)
12283
12283
  for (const u in n)
@@ -12309,68 +12309,68 @@ class Vs extends fs.ConnectionMessage {
12309
12309
  }
12310
12310
  }
12311
12311
  Ie.SpeechConnectionMessage = Vs;
12312
- var au = {};
12312
+ var cu = {};
12313
12313
  (function(t) {
12314
12314
  Object.defineProperty(t, "__esModule", { value: !0 }), t.SegmentationMode = void 0, function(e) {
12315
12315
  e.Normal = "Normal", e.Disabled = "Disabled", e.Custom = "Custom", e.Semantic = "Semantic";
12316
12316
  }(t.SegmentationMode || (t.SegmentationMode = {}));
12317
- })(au);
12318
- var cu = {};
12317
+ })(cu);
12318
+ var pu = {};
12319
12319
  (function(t) {
12320
12320
  Object.defineProperty(t, "__esModule", { value: !0 }), t.NextAction = void 0, function(e) {
12321
12321
  e.None = "None", e.Synthesize = "Synthesize";
12322
12322
  }(t.NextAction || (t.NextAction = {}));
12323
- })(cu);
12324
- var pu = {};
12323
+ })(pu);
12324
+ var uu = {};
12325
12325
  (function(t) {
12326
12326
  Object.defineProperty(t, "__esModule", { value: !0 }), t.Mode = void 0, function(e) {
12327
12327
  e.None = "None", e.Always = "Always";
12328
12328
  }(t.Mode || (t.Mode = {}));
12329
- })(pu);
12330
- var uu = {};
12329
+ })(uu);
12330
+ var du = {};
12331
12331
  (function(t) {
12332
12332
  Object.defineProperty(t, "__esModule", { value: !0 }), t.LanguageIdDetectionPriority = t.LanguageIdDetectionMode = void 0, function(e) {
12333
12333
  e.DetectAtAudioStart = "DetectAtAudioStart", e.DetectContinuous = "DetectContinuous", e.DetectSegments = "DetectSegments";
12334
12334
  }(t.LanguageIdDetectionMode || (t.LanguageIdDetectionMode = {})), function(e) {
12335
12335
  e.Auto = "Auto", e.PrioritizeLatency = "PrioritizeLatency", e.PrioritizeAccuracy = "PrioritizeAccuracy";
12336
12336
  }(t.LanguageIdDetectionPriority || (t.LanguageIdDetectionPriority = {}));
12337
- })(uu);
12338
- var du = {};
12337
+ })(du);
12338
+ var hu = {};
12339
12339
  (function(t) {
12340
12340
  Object.defineProperty(t, "__esModule", { value: !0 }), t.NextAction = void 0, function(e) {
12341
12341
  e.Recognize = "Recognize", e.None = "None";
12342
12342
  }(t.NextAction || (t.NextAction = {}));
12343
- })(du);
12344
- var hu = {};
12343
+ })(hu);
12344
+ var lu = {};
12345
12345
  (function(t) {
12346
12346
  Object.defineProperty(t, "__esModule", { value: !0 }), t.OnUnknownAction = void 0, function(e) {
12347
12347
  e.RecognizeWithDefaultLanguage = "RecognizeWithDefaultLanguage", e.None = "None";
12348
12348
  }(t.OnUnknownAction || (t.OnUnknownAction = {}));
12349
- })(hu);
12350
- var lu = {};
12349
+ })(lu);
12350
+ var vu = {};
12351
12351
  (function(t) {
12352
12352
  Object.defineProperty(t, "__esModule", { value: !0 }), t.ResultType = void 0, function(e) {
12353
12353
  e.Auto = "Auto", e.StableFragment = "StableFragment", e.Hypothesis = "Hypothesis", e.None = "None";
12354
12354
  }(t.ResultType || (t.ResultType = {}));
12355
- })(lu);
12356
- var vu = {};
12355
+ })(vu);
12356
+ var fu = {};
12357
12357
  (function(t) {
12358
12358
  Object.defineProperty(t, "__esModule", { value: !0 }), t.PhraseResultOutputType = void 0, function(e) {
12359
12359
  e.Always = "Always", e.None = "None";
12360
12360
  }(t.PhraseResultOutputType || (t.PhraseResultOutputType = {}));
12361
- })(vu);
12362
- var fu = {};
12361
+ })(fu);
12362
+ var gu = {};
12363
12363
  (function(t) {
12364
12364
  Object.defineProperty(t, "__esModule", { value: !0 }), t.NextAction = void 0, function(e) {
12365
12365
  e.None = "None", e.Translate = "Translate";
12366
12366
  }(t.NextAction || (t.NextAction = {}));
12367
- })(fu);
12367
+ })(gu);
12368
12368
  var Qa;
12369
12369
  function dg() {
12370
12370
  if (Qa)
12371
12371
  return Or;
12372
12372
  Qa = 1, Object.defineProperty(Or, "__esModule", { value: !0 }), Or.ServiceRecognizerBase = void 0;
12373
- const t = U(), e = A(), r = R(), i = T(), p = Ie, a = au, s = ae, n = cu, o = pu, c = uu, u = du, d = hu, h = lu, l = vu, f = fu;
12373
+ const t = U(), e = A(), r = R(), i = T(), p = Ie, a = cu, s = ae, n = pu, o = uu, c = du, u = hu, d = lu, h = vu, l = fu, f = gu;
12374
12374
  let g = class cn {
12375
12375
  constructor(v, m, C, y, E) {
12376
12376
  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)
@@ -12864,7 +12864,7 @@ function hg() {
12864
12864
  };
12865
12865
  return Dr.ConversationServiceRecognizer = r, Dr;
12866
12866
  }
12867
- var gs = {}, Za;
12867
+ var ms = {}, Za;
12868
12868
  function lg() {
12869
12869
  return Za || (Za = 1, function(t) {
12870
12870
  Object.defineProperty(t, "__esModule", { value: !0 }), t.RecognizerConfig = t.SpeechResultFormat = void 0;
@@ -12927,13 +12927,13 @@ function lg() {
12927
12927
  }
12928
12928
  }
12929
12929
  t.RecognizerConfig = p;
12930
- }(gs)), gs;
12930
+ }(ms)), ms;
12931
12931
  }
12932
- var gu = {};
12933
- Object.defineProperty(gu, "__esModule", { value: !0 });
12934
- var Di = {};
12935
- Object.defineProperty(Di, "__esModule", { value: !0 });
12936
- Di.WebsocketMessageFormatter = void 0;
12932
+ var mu = {};
12933
+ Object.defineProperty(mu, "__esModule", { value: !0 });
12934
+ var ki = {};
12935
+ Object.defineProperty(ki, "__esModule", { value: !0 });
12936
+ ki.WebsocketMessageFormatter = void 0;
12937
12937
  const pe = A(), Ya = `\r
12938
12938
  `;
12939
12939
  class vg {
@@ -13016,7 +13016,7 @@ class vg {
13016
13016
  return r;
13017
13017
  }
13018
13018
  }
13019
- Di.WebsocketMessageFormatter = vg;
13019
+ ki.WebsocketMessageFormatter = vg;
13020
13020
  var kr = {}, ec;
13021
13021
  function fg() {
13022
13022
  if (ec)
@@ -13130,7 +13130,7 @@ function Sg() {
13130
13130
  if (nc)
13131
13131
  return jr;
13132
13132
  nc = 1, Object.defineProperty(jr, "__esModule", { value: !0 }), jr.TranslationConnectionFactory = void 0;
13133
- const t = U(), e = En, r = R(), i = le(), p = T(), a = x, s = he, n = ae;
13133
+ const t = U(), e = In, r = R(), i = le(), p = T(), a = x, s = he, n = ae;
13134
13134
  let o = class extends i.ConnectionFactoryBase {
13135
13135
  constructor() {
13136
13136
  super(...arguments), this.universalUri = "/stt/speech/universal/v2", this.translationV1Uri = "/speech/translation/cognitiveservices/v1";
@@ -13248,26 +13248,26 @@ function Cg() {
13248
13248
  };
13249
13249
  return Lr.EnumTranslation = r, Lr;
13250
13250
  }
13251
- var mu = {};
13251
+ var Su = {};
13252
13252
  (function(t) {
13253
13253
  Object.defineProperty(t, "__esModule", { value: !0 }), t.RecognitionStatus = t.SynthesisStatus = void 0, function(e) {
13254
13254
  e[e.Success = 0] = "Success", e[e.SynthesisEnd = 1] = "SynthesisEnd", e[e.Error = 2] = "Error";
13255
13255
  }(t.SynthesisStatus || (t.SynthesisStatus = {})), function(e) {
13256
13256
  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";
13257
13257
  }(t.RecognitionStatus || (t.RecognitionStatus = {}));
13258
- })(mu);
13258
+ })(Su);
13259
13259
  var Br = {}, sc;
13260
13260
  function yg() {
13261
13261
  if (sc)
13262
13262
  return Br;
13263
13263
  sc = 1, Object.defineProperty(Br, "__esModule", { value: !0 }), Br.TranslationSynthesisEnd = void 0;
13264
13264
  const t = T();
13265
- let e = class Su {
13265
+ let e = class Cu {
13266
13266
  constructor(i) {
13267
13267
  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]);
13268
13268
  }
13269
13269
  static fromJSON(i) {
13270
- return new Su(i);
13270
+ return new Cu(i);
13271
13271
  }
13272
13272
  get SynthesisStatus() {
13273
13273
  return this.privSynthesisEnd.SynthesisStatus;
@@ -13278,21 +13278,21 @@ function yg() {
13278
13278
  };
13279
13279
  return Br.TranslationSynthesisEnd = e, Br;
13280
13280
  }
13281
- var ki = {};
13282
- Object.defineProperty(ki, "__esModule", { value: !0 });
13283
- ki.TranslationHypothesis = void 0;
13284
- const Rg = b, oc = ti;
13285
- class Nn {
13281
+ var Ni = {};
13282
+ Object.defineProperty(Ni, "__esModule", { value: !0 });
13283
+ Ni.TranslationHypothesis = void 0;
13284
+ const Rg = b, oc = ri;
13285
+ class zn {
13286
13286
  constructor(e, r) {
13287
13287
  this.privTranslationHypothesis = e, this.privTranslationHypothesis.Offset += r, this.privTranslationHypothesis.Translation.TranslationStatus = this.mapTranslationStatus(this.privTranslationHypothesis.Translation.TranslationStatus);
13288
13288
  }
13289
13289
  static fromJSON(e, r) {
13290
- return new Nn(JSON.parse(e), r);
13290
+ return new zn(JSON.parse(e), r);
13291
13291
  }
13292
13292
  static fromTranslationResponse(e, r) {
13293
13293
  Rg.Contracts.throwIfNullOrUndefined(e, "translationHypothesis");
13294
13294
  const i = e.SpeechHypothesis;
13295
- return e.SpeechHypothesis = void 0, i.Translation = e, new Nn(i, r);
13295
+ return e.SpeechHypothesis = void 0, i.Translation = e, new zn(i, r);
13296
13296
  }
13297
13297
  get Duration() {
13298
13298
  return this.privTranslationHypothesis.Duration;
@@ -13324,24 +13324,24 @@ class Nn {
13324
13324
  return e;
13325
13325
  }
13326
13326
  }
13327
- ki.TranslationHypothesis = Nn;
13327
+ Ni.TranslationHypothesis = zn;
13328
13328
  var qr = {}, ac;
13329
13329
  function Pg() {
13330
13330
  if (ac)
13331
13331
  return qr;
13332
13332
  ac = 1, Object.defineProperty(qr, "__esModule", { value: !0 }), qr.TranslationPhrase = void 0;
13333
- const t = b, e = T(), r = ti;
13334
- let i = class Ts {
13333
+ const t = b, e = T(), r = ri;
13334
+ let i = class As {
13335
13335
  constructor(a, s) {
13336
13336
  this.privTranslationPhrase = a, this.privTranslationPhrase.Offset += s, this.privTranslationPhrase.RecognitionStatus = this.mapRecognitionStatus(this.privTranslationPhrase.RecognitionStatus), this.privTranslationPhrase.Translation !== void 0 && (this.privTranslationPhrase.Translation.TranslationStatus = this.mapTranslationStatus(this.privTranslationPhrase.Translation.TranslationStatus));
13337
13337
  }
13338
13338
  static fromJSON(a, s) {
13339
- return new Ts(JSON.parse(a), s);
13339
+ return new As(JSON.parse(a), s);
13340
13340
  }
13341
13341
  static fromTranslationResponse(a, s) {
13342
13342
  t.Contracts.throwIfNullOrUndefined(a, "translationResponse");
13343
13343
  const n = a.SpeechPhrase;
13344
- return a.SpeechPhrase = void 0, n.Translation = a, n.Text = n.DisplayText, new Ts(n, s);
13344
+ return a.SpeechPhrase = void 0, n.Translation = a, n.Text = n.DisplayText, new As(n, s);
13345
13345
  }
13346
13346
  get RecognitionStatus() {
13347
13347
  return this.privTranslationPhrase.RecognitionStatus;
@@ -13580,9 +13580,9 @@ function Eg() {
13580
13580
  };
13581
13581
  return Fr.TranslationServiceRecognizer = i, Fr;
13582
13582
  }
13583
- var Ni = {};
13584
- Object.defineProperty(Ni, "__esModule", { value: !0 });
13585
- Ni.SpeechDetected = void 0;
13583
+ var zi = {};
13584
+ Object.defineProperty(zi, "__esModule", { value: !0 });
13585
+ zi.SpeechDetected = void 0;
13586
13586
  class Hs {
13587
13587
  constructor(e, r) {
13588
13588
  this.privSpeechStartDetected = JSON.parse(e), this.privSpeechStartDetected.Offset += r;
@@ -13594,10 +13594,10 @@ class Hs {
13594
13594
  return this.privSpeechStartDetected.Offset;
13595
13595
  }
13596
13596
  }
13597
- Ni.SpeechDetected = Hs;
13598
- var zi = {};
13599
- Object.defineProperty(zi, "__esModule", { value: !0 });
13600
- zi.SpeechHypothesis = void 0;
13597
+ zi.SpeechDetected = Hs;
13598
+ var ji = {};
13599
+ Object.defineProperty(ji, "__esModule", { value: !0 });
13600
+ ji.SpeechHypothesis = void 0;
13601
13601
  class $s {
13602
13602
  constructor(e, r) {
13603
13603
  this.privSpeechHypothesis = JSON.parse(e), this.updateOffset(r);
@@ -13630,10 +13630,10 @@ class $s {
13630
13630
  return this.privSpeechHypothesis.SpeakerId;
13631
13631
  }
13632
13632
  }
13633
- zi.SpeechHypothesis = $s;
13634
- var ji = {};
13635
- Object.defineProperty(ji, "__esModule", { value: !0 });
13636
- ji.SpeechKeyword = void 0;
13633
+ ji.SpeechHypothesis = $s;
13634
+ var Li = {};
13635
+ Object.defineProperty(Li, "__esModule", { value: !0 });
13636
+ Li.SpeechKeyword = void 0;
13637
13637
  class Ks {
13638
13638
  constructor(e, r) {
13639
13639
  this.privSpeechKeyword = JSON.parse(e), this.privSpeechKeyword.Offset += r;
@@ -13657,7 +13657,7 @@ class Ks {
13657
13657
  return JSON.stringify(this.privSpeechKeyword);
13658
13658
  }
13659
13659
  }
13660
- ji.SpeechKeyword = Ks;
13660
+ Li.SpeechKeyword = Ks;
13661
13661
  var xr = {}, pc;
13662
13662
  function Ig() {
13663
13663
  if (pc)
@@ -13800,20 +13800,20 @@ function Ig() {
13800
13800
  };
13801
13801
  return xr.SpeechServiceRecognizer = r, xr;
13802
13802
  }
13803
- var Ur = {}, Cu = {};
13803
+ var Ur = {}, yu = {};
13804
13804
  (function(t) {
13805
13805
  Object.defineProperty(t, "__esModule", { value: !0 }), t.IdentityProvider = t.SpeakerDiarizationMode = void 0, function(e) {
13806
13806
  e.None = "None", e.Identity = "Identity", e.Anonymous = "Anonymous";
13807
13807
  }(t.SpeakerDiarizationMode || (t.SpeakerDiarizationMode = {})), function(e) {
13808
13808
  e.CallCenter = "CallCenter";
13809
13809
  }(t.IdentityProvider || (t.IdentityProvider = {}));
13810
- })(Cu);
13810
+ })(yu);
13811
13811
  var uc;
13812
13812
  function Tg() {
13813
13813
  if (uc)
13814
13814
  return Ur;
13815
13815
  uc = 1, Object.defineProperty(Ur, "__esModule", { value: !0 }), Ur.ConversationTranscriptionServiceRecognizer = void 0;
13816
- const t = R(), e = T(), r = Cu, i = ae;
13816
+ const t = R(), e = T(), r = yu, i = ae;
13817
13817
  let p = class extends e.ServiceRecognizerBase {
13818
13818
  constructor(s, n, o, c, u) {
13819
13819
  super(s, n, o, c, u), this.privConversationTranscriber = u, this.setSpeakerDiarizationJson();
@@ -14005,12 +14005,12 @@ function wg() {
14005
14005
  return Vr;
14006
14006
  hc = 1, Object.defineProperty(Vr, "__esModule", { value: !0 }), Vr.DetailedSpeechPhrase = void 0;
14007
14007
  const t = T();
14008
- let e = class yu {
14008
+ let e = class Ru {
14009
14009
  constructor(i, p) {
14010
14010
  this.privDetailedSpeechPhrase = JSON.parse(i), this.privDetailedSpeechPhrase.RecognitionStatus = this.mapRecognitionStatus(this.privDetailedSpeechPhrase.RecognitionStatus), this.updateOffsets(p);
14011
14011
  }
14012
14012
  static fromJSON(i, p) {
14013
- return new yu(i, p);
14013
+ return new Ru(i, p);
14014
14014
  }
14015
14015
  updateOffsets(i) {
14016
14016
  if (this.privDetailedSpeechPhrase.Offset += i, this.privDetailedSpeechPhrase.NBest)
@@ -14069,12 +14069,12 @@ function _g() {
14069
14069
  return Hr;
14070
14070
  lc = 1, Object.defineProperty(Hr, "__esModule", { value: !0 }), Hr.SimpleSpeechPhrase = void 0;
14071
14071
  const t = T();
14072
- let e = class Ru {
14072
+ let e = class Pu {
14073
14073
  constructor(i, p = 0) {
14074
14074
  this.privSimpleSpeechPhrase = JSON.parse(i), this.privSimpleSpeechPhrase.RecognitionStatus = this.mapRecognitionStatus(this.privSimpleSpeechPhrase.RecognitionStatus), this.updateOffset(p);
14075
14075
  }
14076
14076
  static fromJSON(i, p) {
14077
- return new Ru(i, p);
14077
+ return new Pu(i, p);
14078
14078
  }
14079
14079
  updateOffset(i) {
14080
14080
  this.privSimpleSpeechPhrase.Offset += i;
@@ -14116,9 +14116,9 @@ function _g() {
14116
14116
  };
14117
14117
  return Hr.SimpleSpeechPhrase = e, Hr;
14118
14118
  }
14119
- var Li = {};
14120
- Object.defineProperty(Li, "__esModule", { value: !0 });
14121
- Li.AddedLmIntent = void 0;
14119
+ var Bi = {};
14120
+ Object.defineProperty(Bi, "__esModule", { value: !0 });
14121
+ Bi.AddedLmIntent = void 0;
14122
14122
  class bg {
14123
14123
  /**
14124
14124
  * Creates and initializes an instance of this class.
@@ -14130,7 +14130,7 @@ class bg {
14130
14130
  this.modelImpl = e, this.intentName = r;
14131
14131
  }
14132
14132
  }
14133
- Li.AddedLmIntent = bg;
14133
+ Bi.AddedLmIntent = bg;
14134
14134
  var $r = {}, vc;
14135
14135
  function Mg() {
14136
14136
  if (vc)
@@ -14253,9 +14253,9 @@ function Mg() {
14253
14253
  };
14254
14254
  return $r.IntentServiceRecognizer = i, $r;
14255
14255
  }
14256
- var Bi = {};
14257
- Object.defineProperty(Bi, "__esModule", { value: !0 });
14258
- Bi.IntentResponse = void 0;
14256
+ var qi = {};
14257
+ Object.defineProperty(qi, "__esModule", { value: !0 });
14258
+ qi.IntentResponse = void 0;
14259
14259
  class Js {
14260
14260
  constructor(e) {
14261
14261
  e === "" ? this.privIntentResponse = {} : this.privIntentResponse = JSON.parse(e);
@@ -14273,13 +14273,13 @@ class Js {
14273
14273
  return this.privIntentResponse.entities;
14274
14274
  }
14275
14275
  }
14276
- Bi.IntentResponse = Js;
14277
- var Pu = {};
14278
- Object.defineProperty(Pu, "__esModule", { value: !0 });
14279
- var qi = {}, Fi = {};
14280
- Object.defineProperty(Fi, "__esModule", { value: !0 });
14281
- Fi.ServiceTelemetryListener = void 0;
14282
- const ye = A(), fc = Oi;
14276
+ qi.IntentResponse = Js;
14277
+ var Eu = {};
14278
+ Object.defineProperty(Eu, "__esModule", { value: !0 });
14279
+ var Fi = {}, xi = {};
14280
+ Object.defineProperty(xi, "__esModule", { value: !0 });
14281
+ xi.ServiceTelemetryListener = void 0;
14282
+ const ye = A(), fc = Di;
14283
14283
  class Og {
14284
14284
  constructor(e, r, i) {
14285
14285
  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 = [];
@@ -14374,13 +14374,13 @@ class Og {
14374
14374
  }
14375
14375
  }
14376
14376
  }
14377
- Fi.ServiceTelemetryListener = Og;
14378
- Object.defineProperty(qi, "__esModule", { value: !0 });
14379
- qi.RequestSession = void 0;
14380
- const at = A(), bn = Oi, Dg = Fi;
14377
+ xi.ServiceTelemetryListener = Og;
14378
+ Object.defineProperty(Fi, "__esModule", { value: !0 });
14379
+ Fi.RequestSession = void 0;
14380
+ const ct = A(), Mn = Di, Dg = xi;
14381
14381
  class kg {
14382
14382
  constructor(e) {
14383
- 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, at.createNoDashGuid)(), this.privAudioNodeId = (0, at.createNoDashGuid)(), this.privTurnDeferral = new at.Deferred(), this.privTurnDeferral.resolve();
14383
+ 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, ct.createNoDashGuid)(), this.privAudioNodeId = (0, ct.createNoDashGuid)(), this.privTurnDeferral = new ct.Deferred(), this.privTurnDeferral.resolve();
14384
14384
  }
14385
14385
  get sessionId() {
14386
14386
  return this.privSessionId;
@@ -14423,13 +14423,13 @@ class kg {
14423
14423
  this.privServiceTelemetryListener && this.privDetachables.push(e.attachListener(this.privServiceTelemetryListener));
14424
14424
  }
14425
14425
  startNewRecognition() {
14426
- this.privRecognitionBytesSent = 0, this.privIsSpeechEnded = !1, this.privIsRecognizing = !0, this.privTurnStartAudioOffset = 0, this.privLastRecoOffset = 0, this.privRecogNumber++, this.privServiceTelemetryListener = new Dg.ServiceTelemetryListener(this.privRequestId, this.privAudioSourceId, this.privAudioNodeId), this.onEvent(new bn.RecognitionTriggeredEvent(this.requestId, this.privSessionId, this.privAudioSourceId, this.privAudioNodeId));
14426
+ this.privRecognitionBytesSent = 0, this.privIsSpeechEnded = !1, this.privIsRecognizing = !0, this.privTurnStartAudioOffset = 0, this.privLastRecoOffset = 0, this.privRecogNumber++, this.privServiceTelemetryListener = new Dg.ServiceTelemetryListener(this.privRequestId, this.privAudioSourceId, this.privAudioNodeId), this.onEvent(new Mn.RecognitionTriggeredEvent(this.requestId, this.privSessionId, this.privAudioSourceId, this.privAudioNodeId));
14427
14427
  }
14428
14428
  async onAudioSourceAttachCompleted(e, r) {
14429
- this.privAudioNode = e, this.privIsAudioNodeDetached = !1, r ? await this.onComplete() : this.onEvent(new bn.ListeningStartedEvent(this.privRequestId, this.privSessionId, this.privAudioSourceId, this.privAudioNodeId));
14429
+ this.privAudioNode = e, this.privIsAudioNodeDetached = !1, r ? await this.onComplete() : this.onEvent(new Mn.ListeningStartedEvent(this.privRequestId, this.privSessionId, this.privAudioSourceId, this.privAudioNodeId));
14430
14430
  }
14431
14431
  onPreConnectionStart(e, r) {
14432
- this.privAuthFetchEventId = e, this.privSessionId = r, this.onEvent(new bn.ConnectingToServiceEvent(this.privRequestId, this.privAuthFetchEventId, this.privSessionId));
14432
+ this.privAuthFetchEventId = e, this.privSessionId = r, this.onEvent(new Mn.ConnectingToServiceEvent(this.privRequestId, this.privAuthFetchEventId, this.privSessionId));
14433
14433
  }
14434
14434
  async onAuthCompleted(e) {
14435
14435
  e && await this.onComplete();
@@ -14437,7 +14437,7 @@ class kg {
14437
14437
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
14438
14438
  async onConnectionEstablishCompleted(e, r) {
14439
14439
  if (e === 200) {
14440
- this.onEvent(new bn.RecognitionStartedEvent(this.requestId, this.privAudioSourceId, this.privAudioNodeId, this.privAuthFetchEventId, this.privSessionId)), this.privAudioNode && this.privAudioNode.replay(), this.privTurnStartAudioOffset = this.privLastRecoOffset, this.privBytesSent = 0;
14440
+ this.onEvent(new Mn.RecognitionStartedEvent(this.requestId, this.privAudioSourceId, this.privAudioNodeId, this.privAuthFetchEventId, this.privSessionId)), this.privAudioNode && this.privAudioNode.replay(), this.privTurnStartAudioOffset = this.privLastRecoOffset, this.privBytesSent = 0;
14441
14441
  return;
14442
14442
  } else
14443
14443
  e === 403 && await this.onComplete();
@@ -14446,11 +14446,11 @@ class kg {
14446
14446
  this.privTurnDeferral.resolve(), !e || this.isSpeechEnded ? (await this.onComplete(), this.privInTurn = !1) : (this.privTurnStartAudioOffset = this.privLastRecoOffset, this.privAudioNode.replay());
14447
14447
  }
14448
14448
  onSpeechContext() {
14449
- this.privRequestId = (0, at.createNoDashGuid)();
14449
+ this.privRequestId = (0, ct.createNoDashGuid)();
14450
14450
  }
14451
14451
  onServiceTurnStartResponse() {
14452
14452
  this.privTurnDeferral && this.privInTurn && (this.privTurnDeferral.reject("Another turn started before current completed."), this.privTurnDeferral.promise.then().catch(() => {
14453
- })), this.privInTurn = !0, this.privTurnDeferral = new at.Deferred();
14453
+ })), this.privInTurn = !0, this.privTurnDeferral = new ct.Deferred();
14454
14454
  }
14455
14455
  onHypothesis(e) {
14456
14456
  this.privHypothesisReceived || (this.privHypothesisReceived = !0, this.privServiceTelemetryListener.hypothesisReceived(this.privAudioNode.findTimeAtOffset(e)));
@@ -14486,7 +14486,7 @@ class kg {
14486
14486
  this.privIsSpeechEnded = !0;
14487
14487
  }
14488
14488
  onEvent(e) {
14489
- this.privServiceTelemetryListener && this.privServiceTelemetryListener.onEvent(e), at.Events.instance.onEvent(e);
14489
+ this.privServiceTelemetryListener && this.privServiceTelemetryListener.onEvent(e), ct.Events.instance.onEvent(e);
14490
14490
  }
14491
14491
  async onComplete() {
14492
14492
  this.privIsRecognizing && (this.privIsRecognizing = !1, await this.detachAudioNode());
@@ -14495,8 +14495,8 @@ class kg {
14495
14495
  this.privIsAudioNodeDetached || (this.privIsAudioNodeDetached = !0, this.privAudioNode && await this.privAudioNode.detach());
14496
14496
  }
14497
14497
  }
14498
- qi.RequestSession = kg;
14499
- var xi = {}, Eu = {};
14498
+ Fi.RequestSession = kg;
14499
+ var Ui = {}, Iu = {};
14500
14500
  (function(t) {
14501
14501
  Object.defineProperty(t, "__esModule", { value: !0 }), t.TentativePhraseResultsOption = t.OutputFormat = t.PhraseExtension = t.PhraseOption = void 0, function(e) {
14502
14502
  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";
@@ -14507,10 +14507,10 @@ var xi = {}, Eu = {};
14507
14507
  }(t.OutputFormat || (t.OutputFormat = {})), function(e) {
14508
14508
  e.None = "None", e.Always = "Always";
14509
14509
  }(t.TentativePhraseResultsOption || (t.TentativePhraseResultsOption = {}));
14510
- })(Eu);
14511
- Object.defineProperty(xi, "__esModule", { value: !0 });
14512
- xi.SpeechContext = void 0;
14513
- const Ng = ae, Ae = Eu;
14510
+ })(Iu);
14511
+ Object.defineProperty(Ui, "__esModule", { value: !0 });
14512
+ Ui.SpeechContext = void 0;
14513
+ const Ng = ae, Ae = Iu;
14514
14514
  class zg {
14515
14515
  constructor(e) {
14516
14516
  this.privContext = {}, this.privDynamicGrammar = e;
@@ -14560,18 +14560,18 @@ class zg {
14560
14560
  return this.privContext.dgi = e, JSON.stringify(this.privContext);
14561
14561
  }
14562
14562
  }
14563
- xi.SpeechContext = zg;
14564
- var Ui = {}, Iu = {};
14563
+ Ui.SpeechContext = zg;
14564
+ var Wi = {}, Tu = {};
14565
14565
  (function(t) {
14566
14566
  Object.defineProperty(t, "__esModule", { value: !0 }), t.SubstringMatchType = t.GroupType = void 0, function(e) {
14567
14567
  e.IntentText = "IntentText", e.IntentEntity = "IntentEntity", e.Generic = "Generic", e.People = "People", e.Place = "Place", e.DynamicEntity = "DynamicEntity";
14568
14568
  }(t.GroupType || (t.GroupType = {})), function(e) {
14569
14569
  e.None = "None", e.LeftRooted = "LeftRooted", e.PartialName = "PartialName", e.MiddleOfSentence = "MiddleOfSentence";
14570
14570
  }(t.SubstringMatchType || (t.SubstringMatchType = {}));
14571
- })(Iu);
14572
- Object.defineProperty(Ui, "__esModule", { value: !0 });
14573
- Ui.DynamicGrammarBuilder = void 0;
14574
- const jg = Iu;
14571
+ })(Tu);
14572
+ Object.defineProperty(Wi, "__esModule", { value: !0 });
14573
+ Wi.DynamicGrammarBuilder = void 0;
14574
+ const jg = Tu;
14575
14575
  class Lg {
14576
14576
  // Adds one more reference phrases to the dynamic grammar to send.
14577
14577
  // All added phrases are generic phrases.
@@ -14608,8 +14608,8 @@ class Lg {
14608
14608
  return e;
14609
14609
  }
14610
14610
  }
14611
- Ui.DynamicGrammarBuilder = Lg;
14612
- var Kr = {}, Wi = {}, Vi = {}, Gs = {};
14611
+ Wi.DynamicGrammarBuilder = Lg;
14612
+ var Kr = {}, Vi = {}, Hi = {}, Gs = {};
14613
14613
  (function(t) {
14614
14614
  Object.defineProperty(t, "__esModule", { value: !0 }), t.MessageDataStreamType = t.ActivityPayloadResponse = void 0;
14615
14615
  class e {
@@ -14636,8 +14636,8 @@ var Kr = {}, Wi = {}, Vi = {}, Gs = {};
14636
14636
  r[r.None = 0] = "None", r[r.TextToSpeechAudio = 1] = "TextToSpeechAudio";
14637
14637
  }(t.MessageDataStreamType || (t.MessageDataStreamType = {}));
14638
14638
  })(Gs);
14639
- Object.defineProperty(Vi, "__esModule", { value: !0 });
14640
- Vi.DialogServiceTurnState = void 0;
14639
+ Object.defineProperty(Hi, "__esModule", { value: !0 });
14640
+ Hi.DialogServiceTurnState = void 0;
14641
14641
  const Bg = je, qg = H, Fg = Gs;
14642
14642
  class xg {
14643
14643
  constructor(e, r) {
@@ -14661,10 +14661,10 @@ class xg {
14661
14661
  }, 2e3);
14662
14662
  }
14663
14663
  }
14664
- Vi.DialogServiceTurnState = xg;
14665
- Object.defineProperty(Wi, "__esModule", { value: !0 });
14666
- Wi.DialogServiceTurnStateManager = void 0;
14667
- const gc = $, Ug = Vi;
14664
+ Hi.DialogServiceTurnState = xg;
14665
+ Object.defineProperty(Vi, "__esModule", { value: !0 });
14666
+ Vi.DialogServiceTurnStateManager = void 0;
14667
+ const gc = $, Ug = Hi;
14668
14668
  class Wg {
14669
14669
  constructor() {
14670
14670
  this.privTurnMap = /* @__PURE__ */ new Map();
@@ -14685,27 +14685,27 @@ class Wg {
14685
14685
  return r.complete(), this.privTurnMap.delete(e), r;
14686
14686
  }
14687
14687
  }
14688
- Wi.DialogServiceTurnStateManager = Wg;
14689
- var Tu = {};
14688
+ Vi.DialogServiceTurnStateManager = Wg;
14689
+ var Au = {};
14690
14690
  (function(t) {
14691
14691
  Object.defineProperty(t, "__esModule", { value: !0 }), t.InvocationSource = void 0, function(e) {
14692
14692
  e.None = "None", e.VoiceActivationWithKeyword = "VoiceActivationWithKeyword";
14693
14693
  }(t.InvocationSource || (t.InvocationSource = {}));
14694
- })(Tu);
14695
- var Au = {};
14694
+ })(Au);
14695
+ var wu = {};
14696
14696
  (function(t) {
14697
14697
  Object.defineProperty(t, "__esModule", { value: !0 }), t.OnRejectAction = t.KeywordDetectionType = void 0, function(e) {
14698
14698
  e.StartTrigger = "StartTrigger";
14699
14699
  }(t.KeywordDetectionType || (t.KeywordDetectionType = {})), function(e) {
14700
14700
  e.EndOfTurn = "EndOfTurn", e.Continue = "Continue";
14701
14701
  }(t.OnRejectAction || (t.OnRejectAction = {}));
14702
- })(Au);
14702
+ })(wu);
14703
14703
  var mc;
14704
14704
  function Vg() {
14705
14705
  if (mc)
14706
14706
  return Kr;
14707
14707
  mc = 1, Object.defineProperty(Kr, "__esModule", { value: !0 }), Kr.DialogServiceAdapter = void 0;
14708
- const t = U(), e = tt, r = A(), i = je, p = R(), a = Wi, s = T(), n = Gs, o = Tu, c = Au, u = Ie;
14708
+ const t = U(), e = rt, r = A(), i = je, p = R(), a = Vi, s = T(), n = Gs, o = Au, c = wu, u = Ie;
14709
14709
  let d = class extends s.ServiceRecognizerBase {
14710
14710
  constructor(l, f, g, S, v) {
14711
14711
  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) => {
@@ -14877,8 +14877,8 @@ function Vg() {
14877
14877
  if (L !== ce)
14878
14878
  this.privTurnStateManager.CompleteTurn(L);
14879
14879
  else {
14880
- const it = new p.SessionEventArgs(this.privRequestSession.sessionId);
14881
- if (await this.privRequestSession.onServiceTurnEndResponse(!1), (!this.privRecognizerConfig.isContinuousRecognition || this.privRequestSession.isSpeechEnded || !this.privRequestSession.isRecognizing) && this.privRecognizer.sessionStopped && this.privRecognizer.sessionStopped(this.privRecognizer, it), this.privSuccessCallback && this.privLastResult) {
14880
+ const st = new p.SessionEventArgs(this.privRequestSession.sessionId);
14881
+ if (await this.privRequestSession.onServiceTurnEndResponse(!1), (!this.privRecognizerConfig.isContinuousRecognition || this.privRequestSession.isSpeechEnded || !this.privRequestSession.isRecognizing) && this.privRecognizer.sessionStopped && this.privRecognizer.sessionStopped(this.privRecognizer, st), this.privSuccessCallback && this.privLastResult) {
14882
14882
  try {
14883
14883
  this.privSuccessCallback(this.privLastResult), this.privLastResult = null;
14884
14884
  } catch (te) {
@@ -14998,9 +14998,9 @@ function Vg() {
14998
14998
  };
14999
14999
  return Kr.DialogServiceAdapter = d, Kr;
15000
15000
  }
15001
- var Hi = {};
15002
- Object.defineProperty(Hi, "__esModule", { value: !0 });
15003
- Hi.AgentConfig = void 0;
15001
+ var $i = {};
15002
+ Object.defineProperty($i, "__esModule", { value: !0 });
15003
+ $i.AgentConfig = void 0;
15004
15004
  class Hg {
15005
15005
  toJsonString() {
15006
15006
  return JSON.stringify(this.iPrivConfig);
@@ -15016,11 +15016,11 @@ class Hg {
15016
15016
  this.iPrivConfig = e;
15017
15017
  }
15018
15018
  }
15019
- Hi.AgentConfig = Hg;
15020
- var ms = {}, Jr = {}, Pt = {};
15019
+ $i.AgentConfig = Hg;
15020
+ var Ss = {}, Jr = {}, Pt = {};
15021
15021
  Object.defineProperty(Pt, "__esModule", { value: !0 });
15022
15022
  Pt.ConversationConnectionConfig = void 0;
15023
- const $g = In;
15023
+ const $g = Tn;
15024
15024
  class ee extends $g.RestConfigBase {
15025
15025
  static get host() {
15026
15026
  return ee.privHost;
@@ -15148,9 +15148,9 @@ function Kg() {
15148
15148
  };
15149
15149
  return Jr.ConversationManager = p, Jr;
15150
15150
  }
15151
- var Qe = {}, Gr = {}, $i = {}, Tn = {};
15152
- Object.defineProperty(Tn, "__esModule", { value: !0 });
15153
- Tn.ConversationConnectionMessage = void 0;
15151
+ var Qe = {}, Gr = {}, Ki = {}, An = {};
15152
+ Object.defineProperty(An, "__esModule", { value: !0 });
15153
+ An.ConversationConnectionMessage = void 0;
15154
15154
  const Jg = A();
15155
15155
  class Gg extends Jg.ConnectionMessage {
15156
15156
  constructor(e, r, i, p) {
@@ -15162,10 +15162,10 @@ class Gg extends Jg.ConnectionMessage {
15162
15162
  return this.privConversationMessageType;
15163
15163
  }
15164
15164
  }
15165
- Tn.ConversationConnectionMessage = Gg;
15166
- Object.defineProperty($i, "__esModule", { value: !0 });
15167
- $i.ConversationWebsocketMessageFormatter = void 0;
15168
- const Xe = A(), Cc = Tn;
15165
+ An.ConversationConnectionMessage = Gg;
15166
+ Object.defineProperty(Ki, "__esModule", { value: !0 });
15167
+ Ki.ConversationWebsocketMessageFormatter = void 0;
15168
+ const Xe = A(), Cc = An;
15169
15169
  class Qg {
15170
15170
  /**
15171
15171
  * Format incoming messages: text (speech partial/final, IM) or binary (tts)
@@ -15199,13 +15199,13 @@ class Qg {
15199
15199
  return r.promise;
15200
15200
  }
15201
15201
  }
15202
- $i.ConversationWebsocketMessageFormatter = Qg;
15202
+ Ki.ConversationWebsocketMessageFormatter = Qg;
15203
15203
  var yc;
15204
15204
  function Xg() {
15205
15205
  if (yc)
15206
15206
  return Gr;
15207
15207
  yc = 1, Object.defineProperty(Gr, "__esModule", { value: !0 }), Gr.ConversationConnectionFactory = void 0;
15208
- const t = U(), e = A(), r = b, i = R(), p = le(), a = Pt, s = $i;
15208
+ const t = U(), e = A(), r = b, i = R(), p = le(), a = Pt, s = Ki;
15209
15209
  let n = class extends p.ConnectionFactoryBase {
15210
15210
  create(c, u, d) {
15211
15211
  const h = c.parameters.getProperty(i.PropertyId.ConversationTranslator_Host, a.ConversationConnectionConfig.host), l = c.parameters.getProperty(i.PropertyId.ConversationTranslator_CorrelationId, (0, e.createGuid)()), f = `wss://${h}${a.ConversationConnectionConfig.webSocketPath}`, g = c.parameters.getProperty(i.PropertyId.ConversationTranslator_Token, void 0);
@@ -15218,13 +15218,13 @@ function Xg() {
15218
15218
  };
15219
15219
  return Gr.ConversationConnectionFactory = n, Gr;
15220
15220
  }
15221
- var Qr = {}, Ki = {};
15222
- Object.defineProperty(Ki, "__esModule", { value: !0 });
15223
- Ki.ConversationRequestSession = void 0;
15224
- const Ss = A();
15221
+ var Qr = {}, Ji = {};
15222
+ Object.defineProperty(Ji, "__esModule", { value: !0 });
15223
+ Ji.ConversationRequestSession = void 0;
15224
+ const Cs = A();
15225
15225
  class Zg {
15226
15226
  constructor(e) {
15227
- this.privIsDisposed = !1, this.privDetachables = new Array(), this.privSessionId = e, this.privRequestId = (0, Ss.createNoDashGuid)(), this.privRequestCompletionDeferral = new Ss.Deferred();
15227
+ this.privIsDisposed = !1, this.privDetachables = new Array(), this.privSessionId = e, this.privRequestId = (0, Cs.createNoDashGuid)(), this.privRequestCompletionDeferral = new Cs.Deferred();
15228
15228
  }
15229
15229
  get sessionId() {
15230
15230
  return this.privSessionId;
@@ -15245,7 +15245,7 @@ class Zg {
15245
15245
  e !== 200 && e === 403 && this.onComplete();
15246
15246
  }
15247
15247
  onServiceTurnEndResponse(e) {
15248
- e ? this.privRequestId = (0, Ss.createNoDashGuid)() : this.onComplete();
15248
+ e ? this.privRequestId = (0, Cs.createNoDashGuid)() : this.onComplete();
15249
15249
  }
15250
15250
  async dispose() {
15251
15251
  if (!this.privIsDisposed) {
@@ -15257,9 +15257,9 @@ class Zg {
15257
15257
  onComplete() {
15258
15258
  }
15259
15259
  }
15260
- Ki.ConversationRequestSession = Zg;
15260
+ Ji.ConversationRequestSession = Zg;
15261
15261
  var re = {}, Rc;
15262
- function wu() {
15262
+ function _u() {
15263
15263
  if (Rc)
15264
15264
  return re;
15265
15265
  Rc = 1, Object.defineProperty(re, "__esModule", { value: !0 }), re.ConversationReceivedTranslationEventArgs = re.ParticipantsListEventArgs = re.ParticipantAttributeEventArgs = re.ParticipantEventArgs = re.LockRoomEventArgs = re.MuteAllEventArgs = void 0;
@@ -15429,9 +15429,9 @@ Re.ConversationTranslatorCommandTypes = {
15429
15429
  setTranslateToLanguages: "SetTranslateToLanguages",
15430
15430
  setUseTTS: "SetUseTTS"
15431
15431
  };
15432
- var _u = {}, Ji = {};
15433
- Object.defineProperty(Ji, "__esModule", { value: !0 });
15434
- Ji.CommandResponsePayload = void 0;
15432
+ var bu = {}, Gi = {};
15433
+ Object.defineProperty(Gi, "__esModule", { value: !0 });
15434
+ Gi.CommandResponsePayload = void 0;
15435
15435
  const em = (t) => JSON.parse(t);
15436
15436
  class Qs {
15437
15437
  constructor(e) {
@@ -15465,7 +15465,7 @@ class Qs {
15465
15465
  return new Qs(e);
15466
15466
  }
15467
15467
  }
15468
- Ji.CommandResponsePayload = Qs;
15468
+ Gi.CommandResponsePayload = Qs;
15469
15469
  var gt = {};
15470
15470
  Object.defineProperty(gt, "__esModule", { value: !0 });
15471
15471
  gt.ParticipantPayloadResponse = gt.ParticipantsListPayloadResponse = void 0;
@@ -15623,7 +15623,7 @@ class eo {
15623
15623
  mt.TextResponsePayload = eo;
15624
15624
  (function(t) {
15625
15625
  Object.defineProperty(t, "__esModule", { value: !0 }), t.TextResponsePayload = t.SpeechResponsePayload = t.ParticipantPayloadResponse = t.ParticipantsListPayloadResponse = t.CommandResponsePayload = void 0;
15626
- var e = Ji;
15626
+ var e = Gi;
15627
15627
  Object.defineProperty(t, "CommandResponsePayload", { enumerable: !0, get: function() {
15628
15628
  return e.CommandResponsePayload;
15629
15629
  } });
@@ -15639,13 +15639,13 @@ mt.TextResponsePayload = eo;
15639
15639
  } }), Object.defineProperty(t, "TextResponsePayload", { enumerable: !0, get: function() {
15640
15640
  return i.TextResponsePayload;
15641
15641
  } });
15642
- })(_u);
15642
+ })(bu);
15643
15643
  var Pc;
15644
15644
  function sm() {
15645
15645
  if (Pc)
15646
15646
  return Qr;
15647
15647
  Pc = 1, Object.defineProperty(Qr, "__esModule", { value: !0 }), Qr.ConversationServiceAdapter = void 0;
15648
- const t = A(), e = R(), r = T(), i = Tn, p = Ki, a = wu(), s = Re, n = _u;
15648
+ const t = A(), e = R(), r = T(), i = An, p = Ji, a = _u(), s = Re, n = bu;
15649
15649
  let o = class extends r.ServiceRecognizerBase {
15650
15650
  constructor(u, d, h, l, f) {
15651
15651
  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;
@@ -15767,14 +15767,14 @@ function sm() {
15767
15767
  };
15768
15768
  break;
15769
15769
  case "token":
15770
- const it = new r.CognitiveTokenAuthentication(() => {
15770
+ const st = new r.CognitiveTokenAuthentication(() => {
15771
15771
  const te = S.token;
15772
15772
  return Promise.resolve(te);
15773
15773
  }, () => {
15774
15774
  const te = S.token;
15775
15775
  return Promise.resolve(te);
15776
15776
  });
15777
- this.authentication = it, this.privConversationServiceConnector.onToken(it);
15777
+ this.authentication = st, this.privConversationServiceConnector.onToken(st);
15778
15778
  break;
15779
15779
  default:
15780
15780
  break;
@@ -16118,7 +16118,7 @@ function cm() {
16118
16118
  Object.defineProperty(t, "TranscriberRecognizer", { enumerable: !0, get: function() {
16119
16119
  return p.TranscriberRecognizer;
16120
16120
  } });
16121
- var a = wu();
16121
+ var a = _u();
16122
16122
  Object.defineProperty(t, "ConversationReceivedTranslationEventArgs", { enumerable: !0, get: function() {
16123
16123
  return a.ConversationReceivedTranslationEventArgs;
16124
16124
  } }), Object.defineProperty(t, "LockRoomEventArgs", { enumerable: !0, get: function() {
@@ -16140,7 +16140,7 @@ function cm() {
16140
16140
  } }), Object.defineProperty(t, "InternalParticipants", { enumerable: !0, get: function() {
16141
16141
  return s.InternalParticipants;
16142
16142
  } });
16143
- }(ms)), ms;
16143
+ }(Ss)), Ss;
16144
16144
  }
16145
16145
  var to = {};
16146
16146
  (function(t) {
@@ -16164,7 +16164,7 @@ var Zr = {}, ge = {};
16164
16164
  Object.defineProperty(ge, "__esModule", { value: !0 });
16165
16165
  ge.SynthesisStartedEvent = ge.ConnectingToSynthesisServiceEvent = ge.SynthesisTriggeredEvent = ge.SpeechSynthesisEvent = void 0;
16166
16166
  const Ac = A();
16167
- class Gi extends Ac.PlatformEvent {
16167
+ class Qi extends Ac.PlatformEvent {
16168
16168
  constructor(e, r, i = Ac.EventType.Info) {
16169
16169
  super(e, i), this.privRequestId = r;
16170
16170
  }
@@ -16172,8 +16172,8 @@ class Gi extends Ac.PlatformEvent {
16172
16172
  return this.privRequestId;
16173
16173
  }
16174
16174
  }
16175
- ge.SpeechSynthesisEvent = Gi;
16176
- class pm extends Gi {
16175
+ ge.SpeechSynthesisEvent = Qi;
16176
+ class pm extends Qi {
16177
16177
  constructor(e, r, i) {
16178
16178
  super("SynthesisTriggeredEvent", e), this.privSessionAudioDestinationId = r, this.privTurnAudioDestinationId = i;
16179
16179
  }
@@ -16185,7 +16185,7 @@ class pm extends Gi {
16185
16185
  }
16186
16186
  }
16187
16187
  ge.SynthesisTriggeredEvent = pm;
16188
- class um extends Gi {
16188
+ class um extends Qi {
16189
16189
  constructor(e, r) {
16190
16190
  super("ConnectingToSynthesisServiceEvent", e), this.privAuthFetchEventId = r;
16191
16191
  }
@@ -16194,7 +16194,7 @@ class um extends Gi {
16194
16194
  }
16195
16195
  }
16196
16196
  ge.ConnectingToSynthesisServiceEvent = um;
16197
- class dm extends Gi {
16197
+ class dm extends Qi {
16198
16198
  constructor(e, r) {
16199
16199
  super("SynthesisStartedEvent", e), this.privAuthFetchEventId = r;
16200
16200
  }
@@ -16209,7 +16209,7 @@ function hm() {
16209
16209
  return Zr;
16210
16210
  wc = 1, Object.defineProperty(Zr, "__esModule", { value: !0 }), Zr.SynthesisTurn = void 0;
16211
16211
  const t = A(), e = H, r = R(), i = to, p = ge;
16212
- let a = class As {
16212
+ let a = class ws {
16213
16213
  constructor() {
16214
16214
  this.privIsDisposed = !1, this.privIsSynthesizing = !1, this.privIsSynthesisEnded = !1, this.privBytesReceived = 0, this.privInTurn = !1, this.privTextOffset = 0, this.privNextSearchTextIndex = 0, this.privSentenceOffset = 0, this.privNextSearchSentenceIndex = 0, this.privRequestId = (0, t.createNoDashGuid)(), this.privTurnDeferral = new t.Deferred(), this.privTurnDeferral.resolve();
16215
16215
  }
@@ -16341,7 +16341,7 @@ function hm() {
16341
16341
  return n.length >= 2 && n[0] === "<" && n[n.length - 1] === ">";
16342
16342
  }
16343
16343
  updateTextOffset(n, o) {
16344
- o === i.MetadataType.WordBoundary ? (this.privTextOffset = this.privRawText.indexOf(n, this.privNextSearchTextIndex), this.privTextOffset >= 0 && (this.privNextSearchTextIndex = this.privTextOffset + n.length, this.privIsSSML && this.withinXmlTag(this.privTextOffset) && !As.isXmlTag(n) && this.updateTextOffset(n, o))) : (this.privSentenceOffset = this.privRawText.indexOf(n, this.privNextSearchSentenceIndex), this.privSentenceOffset >= 0 && (this.privNextSearchSentenceIndex = this.privSentenceOffset + n.length, this.privIsSSML && this.withinXmlTag(this.privSentenceOffset) && !As.isXmlTag(n) && this.updateTextOffset(n, o)));
16344
+ o === i.MetadataType.WordBoundary ? (this.privTextOffset = this.privRawText.indexOf(n, this.privNextSearchTextIndex), this.privTextOffset >= 0 && (this.privNextSearchTextIndex = this.privTextOffset + n.length, this.privIsSSML && this.withinXmlTag(this.privTextOffset) && !ws.isXmlTag(n) && this.updateTextOffset(n, o))) : (this.privSentenceOffset = this.privRawText.indexOf(n, this.privNextSearchSentenceIndex), this.privSentenceOffset >= 0 && (this.privNextSearchSentenceIndex = this.privSentenceOffset + n.length, this.privIsSSML && this.withinXmlTag(this.privSentenceOffset) && !ws.isXmlTag(n) && this.updateTextOffset(n, o)));
16345
16345
  }
16346
16346
  onComplete() {
16347
16347
  this.privIsSynthesizing && (this.privIsSynthesizing = !1, this.privIsSynthesisEnded = !0, this.privAudioOutputStream.close(), this.privInTurn = !1, this.privTurnAudioDestination !== void 0 && (this.privTurnAudioDestination.close(), this.privTurnAudioDestination = void 0));
@@ -16748,7 +16748,7 @@ function gm() {
16748
16748
  };
16749
16749
  return rn.SynthesisRestAdapter = p, rn;
16750
16750
  }
16751
- var Cs = {}, Dc;
16751
+ var ys = {}, Dc;
16752
16752
  function mm() {
16753
16753
  return Dc || (Dc = 1, function(t) {
16754
16754
  Object.defineProperty(t, "__esModule", { value: !0 }), t.SynthesizerConfig = t.SynthesisServiceType = void 0;
@@ -16780,7 +16780,7 @@ function mm() {
16780
16780
  }
16781
16781
  }
16782
16782
  t.SynthesizerConfig = i;
16783
- }(Cs)), Cs;
16783
+ }(ys)), ys;
16784
16784
  }
16785
16785
  var nn = {}, kc;
16786
16786
  function Sm() {
@@ -17151,7 +17151,7 @@ function Rm() {
17151
17151
  };
17152
17152
  return an.VoiceServiceRecognizer = a, an;
17153
17153
  }
17154
- var bu = {};
17154
+ var Mu = {};
17155
17155
  (function(t) {
17156
17156
  Object.defineProperty(t, "__esModule", { value: !0 }), t.type = t.connectivity = t.Device = t.OS = t.System = t.Context = t.SpeechServiceConfig = void 0;
17157
17157
  class e {
@@ -17209,7 +17209,7 @@ var bu = {};
17209
17209
  }(t.connectivity || (t.connectivity = {})), function(s) {
17210
17210
  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";
17211
17211
  }(t.type || (t.type = {}));
17212
- })(bu);
17212
+ })(Mu);
17213
17213
  var Lc;
17214
17214
  function T() {
17215
17215
  return Lc || (Lc = 1, function(t) {
@@ -17223,7 +17223,7 @@ function T() {
17223
17223
  for (var n in a)
17224
17224
  n !== "default" && !Object.prototype.hasOwnProperty.call(s, n) && e(s, a, n);
17225
17225
  };
17226
- Object.defineProperty(t, "__esModule", { value: !0 }), t.AutoDetectSourceLanguagesOpenRangeOptionName = t.ForceDictationPropertyName = t.ServicePropertiesPropertyName = t.CancellationErrorCodePropertyName = t.OutputFormatPropertyName = t.SpeechSynthesisAdapter = t.AvatarSynthesisAdapter = void 0, r(jn, t), r(ni, t), r(Rt, t), r(lp, t), r(vp, t), r(pg(), t), r(ug(), t), r(Oi, t), r(dg(), t), r(hg(), t), r(lg(), t), r(gu, t), r(Di, t), r(fg(), t), r(gg(), t), r(mg(), t), r(Sg(), t), r(iu(), t), r(Cg(), t), r(mu, t), r(yg(), t), r(ki, t), r(Pg(), t), r(Eg(), t), r(Ni, t), r(zi, t), r(ji, t), r(Ig(), t), r(Tg(), t), r(Ag(), t), r(wg(), t), r(_g(), t), r(Li, t), r(Mg(), t), r(Bi, t), r(Pu, t), r(qi, t), r(xi, t), r(Ui, t), r(Vg(), t), r(Hi, t), r(cm(), t), r(to, t), r(hm(), t), r(lm(), t);
17226
+ Object.defineProperty(t, "__esModule", { value: !0 }), t.AutoDetectSourceLanguagesOpenRangeOptionName = t.ForceDictationPropertyName = t.ServicePropertiesPropertyName = t.CancellationErrorCodePropertyName = t.OutputFormatPropertyName = t.SpeechSynthesisAdapter = t.AvatarSynthesisAdapter = void 0, r(Ln, t), r(ii, t), r(Rt, t), r(vp, t), r(fp, t), r(pg(), t), r(ug(), t), r(Di, t), r(dg(), t), r(hg(), t), r(lg(), t), r(mu, t), r(ki, t), r(fg(), t), r(gg(), t), r(mg(), t), r(Sg(), t), r(su(), t), r(Cg(), t), r(Su, t), r(yg(), t), r(Ni, t), r(Pg(), t), r(Eg(), t), r(zi, t), r(ji, t), r(Li, t), r(Ig(), t), r(Tg(), t), r(Ag(), t), r(wg(), t), r(_g(), t), r(Bi, t), r(Mg(), t), r(qi, t), r(Eu, t), r(Fi, t), r(Ui, t), r(Wi, t), r(Vg(), t), r($i, t), r(cm(), t), r(to, t), r(hm(), t), r(lm(), t);
17227
17227
  var i = vm();
17228
17228
  Object.defineProperty(t, "AvatarSynthesisAdapter", { enumerable: !0, get: function() {
17229
17229
  return i.AvatarSynthesisAdapter;
@@ -17231,8 +17231,8 @@ function T() {
17231
17231
  var p = fm();
17232
17232
  Object.defineProperty(t, "SpeechSynthesisAdapter", { enumerable: !0, get: function() {
17233
17233
  return p.SpeechSynthesisAdapter;
17234
- } }), r(gm(), t), r(mm(), t), r(Sm(), t), r(Cm(), t), r(ym(), t), r(Rm(), t), r(bu, t), t.OutputFormatPropertyName = "OutputFormat", t.CancellationErrorCodePropertyName = "CancellationErrorCode", t.ServicePropertiesPropertyName = "ServiceProperties", t.ForceDictationPropertyName = "ForceDictation", t.AutoDetectSourceLanguagesOpenRangeOptionName = "UND";
17235
- }(Yi)), Yi;
17234
+ } }), r(gm(), t), r(mm(), t), r(Sm(), t), r(Cm(), t), r(ym(), t), r(Rm(), t), r(Mu, t), t.OutputFormatPropertyName = "OutputFormat", t.CancellationErrorCodePropertyName = "CancellationErrorCode", t.ServicePropertiesPropertyName = "ServiceProperties", t.ForceDictationPropertyName = "ForceDictation", t.AutoDetectSourceLanguagesOpenRangeOptionName = "UND";
17235
+ }(es)), es;
17236
17236
  }
17237
17237
  (function(t) {
17238
17238
  var e = k && k.__createBinding || (Object.create ? function(p, a, s, n) {
@@ -17255,15 +17255,15 @@ for (let t = 0; t < 256; ++t)
17255
17255
  function Pm(t, e = 0) {
17256
17256
  return (V[t[e + 0]] + V[t[e + 1]] + V[t[e + 2]] + V[t[e + 3]] + "-" + V[t[e + 4]] + V[t[e + 5]] + "-" + V[t[e + 6]] + V[t[e + 7]] + "-" + V[t[e + 8]] + V[t[e + 9]] + "-" + V[t[e + 10]] + V[t[e + 11]] + V[t[e + 12]] + V[t[e + 13]] + V[t[e + 14]] + V[t[e + 15]]).toLowerCase();
17257
17257
  }
17258
- let ys;
17258
+ let Rs;
17259
17259
  const Em = new Uint8Array(16);
17260
17260
  function Im() {
17261
- if (!ys) {
17261
+ if (!Rs) {
17262
17262
  if (typeof crypto > "u" || !crypto.getRandomValues)
17263
17263
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
17264
- ys = crypto.getRandomValues.bind(crypto);
17264
+ Rs = crypto.getRandomValues.bind(crypto);
17265
17265
  }
17266
- return ys(Em);
17266
+ return Rs(Em);
17267
17267
  }
17268
17268
  const Tm = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Bc = { randomUUID: Tm };
17269
17269
  function Am(t, e, r) {
@@ -17283,81 +17283,79 @@ function Am(t, e, r) {
17283
17283
  }
17284
17284
  return Pm(i);
17285
17285
  }
17286
- const St = Uc(), qc = jd(), ct = Pe(""), Ze = Pe(""), Fc = Pe(""), ws = Pe(""), Mu = Pe("");
17286
+ const St = xc(), tt = Uc(), pt = Pe(""), Ze = Pe(""), qc = Pe(""), _s = Pe(""), Ou = Pe("");
17287
17287
  let be = null;
17288
- const xc = 4e3;
17288
+ const Fc = 4e3;
17289
17289
  Wc(async () => {
17290
- await ro();
17290
+ tt.authToken = await ro();
17291
17291
  });
17292
- let F = null, ut = null, ve = null, Dn = null;
17293
- const Qi = () => {
17294
- ve && ve.mute(), F && (F.close(), F = null), ut = null;
17292
+ let F = null, dt = null, ve = null, kn = null;
17293
+ const Xi = () => {
17294
+ ve && ve.mute(), F && (F.close(), F = null), dt = null;
17295
17295
  }, ro = async () => {
17296
17296
  var t, e, r;
17297
17297
  try {
17298
17298
  const i = await Vc("/voiceTesting");
17299
17299
  return (t = i == null ? void 0 : i.data) == null ? void 0 : t.token;
17300
17300
  } catch (i) {
17301
- if (console.error(i), zn.isAxiosError(i)) {
17301
+ if (console.error(i), jn.isAxiosError(i)) {
17302
17302
  const p = i;
17303
17303
  console.log("Error found!"), console.error((e = p.response) == null ? void 0 : e.data), St.setError(((r = p.response) == null ? void 0 : r.data).message);
17304
17304
  } else
17305
17305
  St.setError("There was an issue while fetching data");
17306
17306
  }
17307
17307
  }, eC = () => {
17308
- be && clearTimeout(be), Dn && (Dn.stopContinuousRecognitionAsync(
17308
+ be && clearTimeout(be), kn && (kn.stopContinuousRecognitionAsync(
17309
17309
  () => {
17310
17310
  },
17311
17311
  (t) => {
17312
17312
  console.error("Error stopping recognition", t);
17313
17313
  }
17314
- ), Dn = null);
17315
- }, wm = async (t) => {
17316
- const e = await ro();
17317
- return await Qi(), new Promise((r, i) => {
17318
- const p = fe.SpeechConfig.fromAuthorizationToken(e, "eastus2");
17319
- p.speechSynthesisVoiceName = "en-US-EmmaMultilingualNeural", ve = new fe.SpeakerAudioDestination();
17320
- const a = fe.AudioConfig.fromSpeakerOutput(ve);
17321
- F = new fe.SpeechSynthesizer(p, a);
17322
- const s = Am();
17323
- ut = s, F.speakTextAsync(
17324
- t,
17325
- (n) => {
17326
- if (s !== ut)
17327
- return ve == null || ve.mute(), F == null || F.close(), F = null, r();
17328
- n.reason === fe.ResultReason.SynthesizingAudioCompleted ? r() : i(new Error("Speech synthesis failed")), F == null || F.close(), F = null, ut = null;
17329
- },
17330
- (n) => {
17331
- if (s !== ut)
17332
- return ve == null || ve.mute(), F == null || F.close(), F = null, r();
17333
- F == null || F.close(), F = null, ut = null, i(n);
17334
- }
17335
- );
17336
- });
17337
- }, _m = async (t) => {
17338
- const e = await ro(), r = fe.SpeechConfig.fromAuthorizationToken(e, "eastus2");
17339
- r.speechRecognitionLanguage = "en-US";
17340
- const i = fe.AudioConfig.fromDefaultMicrophoneInput(), p = new fe.SpeechRecognizer(r, i);
17341
- return Dn = p, ct.value = "", Ze.value = "", p.recognizing = (a, s) => {
17342
- s.result.text && s.result.text.trim() && (ct.value = s.result.text.trim(), Qi(), qc.userspeaking = !0, qc.userSpeechText = (Ze.value ? Ze.value + " " : "") + ct.value, ws.value = "user", be && clearTimeout(be), be = setTimeout(() => {
17343
- ct.value && (t(ct.value.trim()), ct.value = "");
17344
- }, xc));
17345
- }, p.recognized = (a, s) => {
17346
- s.result.reason === fe.ResultReason.RecognizedSpeech && s.result.text && s.result.text.trim() && (Ze.value += " " + s.result.text.trim(), be && clearTimeout(be), be = setTimeout(() => {
17314
+ ), kn = null);
17315
+ }, wm = async (t) => (tt.authToken = await ro(), await Xi(), new Promise((e, r) => {
17316
+ const i = fe.SpeechConfig.fromAuthorizationToken(tt.authToken, "eastus2");
17317
+ i.speechSynthesisVoiceName = "en-US-EmmaMultilingualNeural", ve = new fe.SpeakerAudioDestination();
17318
+ const p = fe.AudioConfig.fromSpeakerOutput(ve);
17319
+ F = new fe.SpeechSynthesizer(i, p);
17320
+ const a = Am();
17321
+ dt = a, F.speakTextAsync(
17322
+ t,
17323
+ (s) => {
17324
+ if (a !== dt)
17325
+ return ve == null || ve.mute(), F == null || F.close(), F = null, e();
17326
+ s.reason === fe.ResultReason.SynthesizingAudioCompleted ? e() : r(new Error("Speech synthesis failed")), F == null || F.close(), F = null, dt = null;
17327
+ },
17328
+ (s) => {
17329
+ if (a !== dt)
17330
+ return ve == null || ve.mute(), F == null || F.close(), F = null, e();
17331
+ F == null || F.close(), F = null, dt = null, r(s);
17332
+ }
17333
+ );
17334
+ })), _m = async (t) => {
17335
+ tt.authToken = await ro();
17336
+ const e = fe.SpeechConfig.fromAuthorizationToken(tt.authToken, "eastus2");
17337
+ e.speechRecognitionLanguage = "en-US";
17338
+ const r = fe.AudioConfig.fromDefaultMicrophoneInput(), i = new fe.SpeechRecognizer(e, r);
17339
+ return kn = i, pt.value = "", Ze.value = "", i.recognizing = (p, a) => {
17340
+ a.result.text && a.result.text.trim() && (pt.value = a.result.text.trim(), Xi(), tt.userspeaking = !0, tt.userSpeechText = (Ze.value ? Ze.value + " " : "") + pt.value, _s.value = "user", be && clearTimeout(be), be = setTimeout(() => {
17341
+ pt.value && (t(pt.value.trim()), pt.value = "");
17342
+ }, Fc));
17343
+ }, i.recognized = (p, a) => {
17344
+ a.result.reason === fe.ResultReason.RecognizedSpeech && a.result.text && a.result.text.trim() && (Ze.value += " " + a.result.text.trim(), be && clearTimeout(be), be = setTimeout(() => {
17347
17345
  Ze.value && (t(Ze.value), Ze.value = "");
17348
- }, xc));
17349
- }, p.canceled = (a, s) => {
17350
- console.error("Recognition canceled:", s);
17351
- }, p.startContinuousRecognitionAsync(), p;
17346
+ }, Fc));
17347
+ }, i.canceled = (p, a) => {
17348
+ console.error("Recognition canceled:", a);
17349
+ }, i.startContinuousRecognitionAsync(), i;
17352
17350
  }, tC = async () => {
17353
17351
  var t, e;
17354
- Fc.value = "", Mu.value = "";
17352
+ qc.value = "", Ou.value = "";
17355
17353
  try {
17356
- Qi(), await _m((r) => {
17357
- r && (Fc.value = r);
17354
+ Xi(), await _m((r) => {
17355
+ r && (qc.value = r);
17358
17356
  });
17359
17357
  } catch (r) {
17360
- if (console.error(r), zn.isAxiosError(r)) {
17358
+ if (console.error(r), jn.isAxiosError(r)) {
17361
17359
  const i = r;
17362
17360
  console.log("Error found!"), console.error((t = i.response) == null ? void 0 : t.data), St.setError(((e = i.response) == null ? void 0 : e.data).message);
17363
17361
  } else
@@ -17365,11 +17363,11 @@ const Qi = () => {
17365
17363
  }
17366
17364
  }, rC = async (t) => {
17367
17365
  var e, r;
17368
- Mu.value = "";
17366
+ Ou.value = "";
17369
17367
  try {
17370
- (ws.value == "user" || ws.value == "listening") && Qi(), await wm(t);
17368
+ (_s.value == "user" || _s.value == "listening") && Xi(), await wm(t);
17371
17369
  } catch (i) {
17372
- if (console.error(i), zn.isAxiosError(i)) {
17370
+ if (console.error(i), jn.isAxiosError(i)) {
17373
17371
  const p = i;
17374
17372
  console.log("Error found!"), console.error((e = p.response) == null ? void 0 : e.data), St.setError(((r = p.response) == null ? void 0 : r.data).message);
17375
17373
  } else
@@ -17382,9 +17380,11 @@ export {
17382
17380
  eC as c,
17383
17381
  Bd as d,
17384
17382
  Dm as e,
17385
- Qi as f,
17386
- ws as i,
17383
+ Xi as f,
17384
+ ro as g,
17385
+ $c as h,
17386
+ _s as i,
17387
17387
  rC as p,
17388
- Fc as r,
17388
+ qc as r,
17389
17389
  co as s
17390
17390
  };