diff --git a/.gitignore b/.gitignore
index bde11e0c..e9ab2e80 100644
--- a/.gitignore
+++ b/.gitignore
@@ -40,3 +40,5 @@ client/lib/worklet/dist
docker/cudnn/
+server/hubert_base.pt
+start_trainer.sh
\ No newline at end of file
diff --git a/client/buildAllDemo.sh b/client/buildAllDemo.sh
index f4b8aa5d..b947f92c 100755
--- a/client/buildAllDemo.sh
+++ b/client/buildAllDemo.sh
@@ -1,10 +1,3 @@
#!/bin/bash
-cd demo_v13 && ncu -u && npm install && npm run build:prod && cd -
-cd demo_v15 && ncu -u && npm install && npm run build:prod && cd -
-cd demo_so-vits-svc_40 && ncu -u && npm install && npm run build:prod && cd -
-cd demo_so-vits-svc_40_c && ncu -u && npm install && npm run build:prod && cd -
-cd demo_so-vits-svc_40v2 && ncu -u && npm install && npm run build:prod && cd -
-cd demo_so-vits-svc_40v2_c && ncu -u && npm install && npm run build:prod && cd -
-cd demo_DDSP-SVC && ncu -u && npm install && npm run build:prod && cd -
-
+cd demo && ncu -u && npm install && npm run build:prod && cd -
diff --git a/client/demo/dist/assets/gui_settings/MMVCv13.json b/client/demo/dist/assets/gui_settings/MMVCv13.json
index be4d59ad..6c6f75f6 100644
--- a/client/demo/dist/assets/gui_settings/MMVCv13.json
+++ b/client/demo/dist/assets/gui_settings/MMVCv13.json
@@ -3,7 +3,7 @@
"id": "MMVCv13",
"front": {
"title": {
- "mainTitle": "VC Client",
+ "mainTitle": "Realtime Voice Changer Client",
"subTitle": "for MMVC v.1.3",
"lineNum": 1
},
diff --git a/client/demo/dist/assets/gui_settings/MMVCv15.json b/client/demo/dist/assets/gui_settings/MMVCv15.json
index 9e471369..cb95312c 100644
--- a/client/demo/dist/assets/gui_settings/MMVCv15.json
+++ b/client/demo/dist/assets/gui_settings/MMVCv15.json
@@ -3,7 +3,7 @@
"id": "MMVCv15",
"front": {
"title": {
- "mainTitle": "VC Client",
+ "mainTitle": "Realtime Voice Changer Client",
"subTitle": "for MMVC v.1.5",
"lineNum": 1
},
diff --git a/client/demo/dist/assets/gui_settings/RVC.json b/client/demo/dist/assets/gui_settings/RVC.json
index ba8523f5..95285389 100644
--- a/client/demo/dist/assets/gui_settings/RVC.json
+++ b/client/demo/dist/assets/gui_settings/RVC.json
@@ -3,7 +3,7 @@
"id": "RVC",
"front": {
"title": {
- "mainTitle": "VC Client",
+ "mainTitle": "Realtime Voice Changer Client",
"subTitle": "for RVC",
"lineNum": 1
},
diff --git a/client/demo/dist/assets/gui_settings/so-vits-svc-40.json b/client/demo/dist/assets/gui_settings/so-vits-svc-40.json
index 693885cd..0dcdf974 100644
--- a/client/demo/dist/assets/gui_settings/so-vits-svc-40.json
+++ b/client/demo/dist/assets/gui_settings/so-vits-svc-40.json
@@ -3,7 +3,7 @@
"id": "so-vits-svc-40",
"front": {
"title": {
- "mainTitle": "VC Client",
+ "mainTitle": "Realtime Voice Changer Client",
"subTitle": "for so-vits-svc-40",
"lineNum": 1
},
diff --git a/client/demo/dist/assets/gui_settings/so-vits-svc-40_c.json b/client/demo/dist/assets/gui_settings/so-vits-svc-40_c.json
index 2e2282f9..670882a4 100644
--- a/client/demo/dist/assets/gui_settings/so-vits-svc-40_c.json
+++ b/client/demo/dist/assets/gui_settings/so-vits-svc-40_c.json
@@ -3,7 +3,7 @@
"id": "so-vits-svc-40_c",
"front": {
"title": {
- "mainTitle": "VC Client",
+ "mainTitle": "Realtime Voice Changer Client",
"subTitle": "for so-vits-svc-40_c",
"lineNum": 1
},
diff --git a/client/demo/dist/assets/gui_settings/so-vits-svc-40v2.json b/client/demo/dist/assets/gui_settings/so-vits-svc-40v2.json
index b9425b2f..826c1ef3 100644
--- a/client/demo/dist/assets/gui_settings/so-vits-svc-40v2.json
+++ b/client/demo/dist/assets/gui_settings/so-vits-svc-40v2.json
@@ -3,7 +3,7 @@
"id": "so-vits-svc-40v2",
"front": {
"title": {
- "mainTitle": "VC Client",
+ "mainTitle": "Realtime Voice Changer Client",
"subTitle": "for so-vits-svc-40v2",
"lineNum": 1
},
diff --git a/client/demo/dist/index.html b/client/demo/dist/index.html
index 83226387..bd2ec274 100644
--- a/client/demo/dist/index.html
+++ b/client/demo/dist/index.html
@@ -1 +1,10 @@
-
Voice Changer Client Demo
\ No newline at end of file
+
+
+
+
+ Voice Changer Client Demo
+
+
+
+
+
diff --git a/client/demo/dist/index.js b/client/demo/dist/index.js
index 35c70d67..d4806594 100644
--- a/client/demo/dist/index.js
+++ b/client/demo/dist/index.js
@@ -1,2 +1,1462 @@
-/*! For license information please see index.js.LICENSE.txt */
-(()=>{var __webpack_modules__={504:function(module,__unused_webpack_exports,__webpack_require__){var factory;"undefined"!=typeof self&&self,factory=__WEBPACK_EXTERNAL_MODULE_react__=>(()=>{var __webpack_modules__={"./node_modules/@aws-crypto/ie11-detection/build/CryptoOperation.js":(__unused_webpack_module,exports)=>{"use strict";eval('\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n//# sourceMappingURL=CryptoOperation.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/ie11-detection/build/CryptoOperation.js?')},"./node_modules/@aws-crypto/ie11-detection/build/Key.js":(__unused_webpack_module,exports)=>{"use strict";eval('\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n//# sourceMappingURL=Key.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/ie11-detection/build/Key.js?')},"./node_modules/@aws-crypto/ie11-detection/build/KeyOperation.js":(__unused_webpack_module,exports)=>{"use strict";eval('\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n//# sourceMappingURL=KeyOperation.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/ie11-detection/build/KeyOperation.js?')},"./node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.js":(__unused_webpack_module,exports)=>{"use strict";eval('\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n//# sourceMappingURL=MsSubtleCrypto.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.js?')},"./node_modules/@aws-crypto/ie11-detection/build/MsWindow.js":(__unused_webpack_module,exports)=>{"use strict";eval('\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.isMsWindow = void 0;\nvar msSubtleCryptoMethods = [\n "decrypt",\n "digest",\n "encrypt",\n "exportKey",\n "generateKey",\n "importKey",\n "sign",\n "verify"\n];\nfunction quacksLikeAnMsWindow(window) {\n return "MSInputMethodContext" in window && "msCrypto" in window;\n}\n/**\n * Determines if the provided window is (or is like) the window object one would\n * expect to encounter in Internet Explorer 11.\n */\nfunction isMsWindow(window) {\n if (quacksLikeAnMsWindow(window) && window.msCrypto.subtle !== undefined) {\n var _a = window.msCrypto, getRandomValues = _a.getRandomValues, subtle_1 = _a.subtle;\n return msSubtleCryptoMethods\n .map(function (methodName) { return subtle_1[methodName]; })\n .concat(getRandomValues)\n .every(function (method) { return typeof method === "function"; });\n }\n return false;\n}\nexports.isMsWindow = isMsWindow;\n//# sourceMappingURL=MsWindow.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/ie11-detection/build/MsWindow.js?')},"./node_modules/@aws-crypto/ie11-detection/build/index.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nvar tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js");\ntslib_1.__exportStar(__webpack_require__(/*! ./CryptoOperation */ "./node_modules/@aws-crypto/ie11-detection/build/CryptoOperation.js"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./Key */ "./node_modules/@aws-crypto/ie11-detection/build/Key.js"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./KeyOperation */ "./node_modules/@aws-crypto/ie11-detection/build/KeyOperation.js"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./MsSubtleCrypto */ "./node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.js"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./MsWindow */ "./node_modules/@aws-crypto/ie11-detection/build/MsWindow.js"), exports);\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/ie11-detection/build/index.js?')},"./node_modules/@aws-crypto/sha256-browser/build/constants.js":(__unused_webpack_module,exports)=>{"use strict";eval('\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.EMPTY_DATA_SHA_256 = exports.SHA_256_HMAC_ALGO = exports.SHA_256_HASH = void 0;\nexports.SHA_256_HASH = { name: "SHA-256" };\nexports.SHA_256_HMAC_ALGO = {\n name: "HMAC",\n hash: exports.SHA_256_HASH\n};\nexports.EMPTY_DATA_SHA_256 = new Uint8Array([\n 227,\n 176,\n 196,\n 66,\n 152,\n 252,\n 28,\n 20,\n 154,\n 251,\n 244,\n 200,\n 153,\n 111,\n 185,\n 36,\n 39,\n 174,\n 65,\n 228,\n 100,\n 155,\n 147,\n 76,\n 164,\n 149,\n 153,\n 27,\n 120,\n 82,\n 184,\n 85\n]);\n//# sourceMappingURL=constants.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/sha256-browser/build/constants.js?')},"./node_modules/@aws-crypto/sha256-browser/build/crossPlatformSha256.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.Sha256 = void 0;\nvar ie11Sha256_1 = __webpack_require__(/*! ./ie11Sha256 */ "./node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js");\nvar webCryptoSha256_1 = __webpack_require__(/*! ./webCryptoSha256 */ "./node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.js");\nvar sha256_js_1 = __webpack_require__(/*! @aws-crypto/sha256-js */ "./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/index.js");\nvar supports_web_crypto_1 = __webpack_require__(/*! @aws-crypto/supports-web-crypto */ "./node_modules/@aws-crypto/supports-web-crypto/build/index.js");\nvar ie11_detection_1 = __webpack_require__(/*! @aws-crypto/ie11-detection */ "./node_modules/@aws-crypto/ie11-detection/build/index.js");\nvar util_locate_window_1 = __webpack_require__(/*! @aws-sdk/util-locate-window */ "./node_modules/@aws-sdk/util-locate-window/dist-es/index.js");\nvar util_1 = __webpack_require__(/*! @aws-crypto/util */ "./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/index.js");\nvar Sha256 = /** @class */ (function () {\n function Sha256(secret) {\n if ((0, supports_web_crypto_1.supportsWebCrypto)((0, util_locate_window_1.locateWindow)())) {\n this.hash = new webCryptoSha256_1.Sha256(secret);\n }\n else if ((0, ie11_detection_1.isMsWindow)((0, util_locate_window_1.locateWindow)())) {\n this.hash = new ie11Sha256_1.Sha256(secret);\n }\n else {\n this.hash = new sha256_js_1.Sha256(secret);\n }\n }\n Sha256.prototype.update = function (data, encoding) {\n this.hash.update((0, util_1.convertToBuffer)(data));\n };\n Sha256.prototype.digest = function () {\n return this.hash.digest();\n };\n Sha256.prototype.reset = function () {\n this.hash.reset();\n };\n return Sha256;\n}());\nexports.Sha256 = Sha256;\n//# sourceMappingURL=crossPlatformSha256.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/sha256-browser/build/crossPlatformSha256.js?')},"./node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.Sha256 = void 0;\nvar isEmptyData_1 = __webpack_require__(/*! ./isEmptyData */ "./node_modules/@aws-crypto/sha256-browser/build/isEmptyData.js");\nvar constants_1 = __webpack_require__(/*! ./constants */ "./node_modules/@aws-crypto/sha256-browser/build/constants.js");\nvar util_utf8_browser_1 = __webpack_require__(/*! @aws-sdk/util-utf8-browser */ "./node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js");\nvar util_locate_window_1 = __webpack_require__(/*! @aws-sdk/util-locate-window */ "./node_modules/@aws-sdk/util-locate-window/dist-es/index.js");\nvar Sha256 = /** @class */ (function () {\n function Sha256(secret) {\n this.secret = secret;\n this.reset();\n }\n Sha256.prototype.update = function (toHash) {\n var _this = this;\n if ((0, isEmptyData_1.isEmptyData)(toHash)) {\n return;\n }\n this.operation = this.operation.then(function (operation) {\n operation.onerror = function () {\n _this.operation = Promise.reject(new Error("Error encountered updating hash"));\n };\n operation.process(toArrayBufferView(toHash));\n return operation;\n });\n this.operation.catch(function () { });\n };\n Sha256.prototype.digest = function () {\n return this.operation.then(function (operation) {\n return new Promise(function (resolve, reject) {\n operation.onerror = function () {\n reject(new Error("Error encountered finalizing hash"));\n };\n operation.oncomplete = function () {\n if (operation.result) {\n resolve(new Uint8Array(operation.result));\n }\n reject(new Error("Error encountered finalizing hash"));\n };\n operation.finish();\n });\n });\n };\n Sha256.prototype.reset = function () {\n if (this.secret) {\n this.operation = getKeyPromise(this.secret).then(function (keyData) {\n return (0, util_locate_window_1.locateWindow)().msCrypto.subtle.sign(constants_1.SHA_256_HMAC_ALGO, keyData);\n });\n this.operation.catch(function () { });\n }\n else {\n this.operation = Promise.resolve((0, util_locate_window_1.locateWindow)().msCrypto.subtle.digest("SHA-256"));\n }\n };\n return Sha256;\n}());\nexports.Sha256 = Sha256;\nfunction getKeyPromise(secret) {\n return new Promise(function (resolve, reject) {\n var keyOperation = (0, util_locate_window_1.locateWindow)().msCrypto.subtle.importKey("raw", toArrayBufferView(secret), constants_1.SHA_256_HMAC_ALGO, false, ["sign"]);\n keyOperation.oncomplete = function () {\n if (keyOperation.result) {\n resolve(keyOperation.result);\n }\n reject(new Error("ImportKey completed without importing key."));\n };\n keyOperation.onerror = function () {\n reject(new Error("ImportKey failed to import key."));\n };\n });\n}\nfunction toArrayBufferView(data) {\n if (typeof data === "string") {\n return (0, util_utf8_browser_1.fromUtf8)(data);\n }\n if (ArrayBuffer.isView(data)) {\n return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT);\n }\n return new Uint8Array(data);\n}\n//# sourceMappingURL=ie11Sha256.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js?')},"./node_modules/@aws-crypto/sha256-browser/build/index.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.WebCryptoSha256 = exports.Ie11Sha256 = void 0;\nvar tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js");\ntslib_1.__exportStar(__webpack_require__(/*! ./crossPlatformSha256 */ "./node_modules/@aws-crypto/sha256-browser/build/crossPlatformSha256.js"), exports);\nvar ie11Sha256_1 = __webpack_require__(/*! ./ie11Sha256 */ "./node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js");\nObject.defineProperty(exports, "Ie11Sha256", ({ enumerable: true, get: function () { return ie11Sha256_1.Sha256; } }));\nvar webCryptoSha256_1 = __webpack_require__(/*! ./webCryptoSha256 */ "./node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.js");\nObject.defineProperty(exports, "WebCryptoSha256", ({ enumerable: true, get: function () { return webCryptoSha256_1.Sha256; } }));\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/sha256-browser/build/index.js?')},"./node_modules/@aws-crypto/sha256-browser/build/isEmptyData.js":(__unused_webpack_module,exports)=>{"use strict";eval('\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.isEmptyData = void 0;\nfunction isEmptyData(data) {\n if (typeof data === "string") {\n return data.length === 0;\n }\n return data.byteLength === 0;\n}\nexports.isEmptyData = isEmptyData;\n//# sourceMappingURL=isEmptyData.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/sha256-browser/build/isEmptyData.js?')},"./node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.Sha256 = void 0;\nvar util_1 = __webpack_require__(/*! @aws-crypto/util */ "./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/index.js");\nvar constants_1 = __webpack_require__(/*! ./constants */ "./node_modules/@aws-crypto/sha256-browser/build/constants.js");\nvar util_locate_window_1 = __webpack_require__(/*! @aws-sdk/util-locate-window */ "./node_modules/@aws-sdk/util-locate-window/dist-es/index.js");\nvar Sha256 = /** @class */ (function () {\n function Sha256(secret) {\n this.toHash = new Uint8Array(0);\n this.secret = secret;\n this.reset();\n }\n Sha256.prototype.update = function (data) {\n if ((0, util_1.isEmptyData)(data)) {\n return;\n }\n var update = (0, util_1.convertToBuffer)(data);\n var typedArray = new Uint8Array(this.toHash.byteLength + update.byteLength);\n typedArray.set(this.toHash, 0);\n typedArray.set(update, this.toHash.byteLength);\n this.toHash = typedArray;\n };\n Sha256.prototype.digest = function () {\n var _this = this;\n if (this.key) {\n return this.key.then(function (key) {\n return (0, util_locate_window_1.locateWindow)()\n .crypto.subtle.sign(constants_1.SHA_256_HMAC_ALGO, key, _this.toHash)\n .then(function (data) { return new Uint8Array(data); });\n });\n }\n if ((0, util_1.isEmptyData)(this.toHash)) {\n return Promise.resolve(constants_1.EMPTY_DATA_SHA_256);\n }\n return Promise.resolve()\n .then(function () {\n return (0, util_locate_window_1.locateWindow)().crypto.subtle.digest(constants_1.SHA_256_HASH, _this.toHash);\n })\n .then(function (data) { return Promise.resolve(new Uint8Array(data)); });\n };\n Sha256.prototype.reset = function () {\n var _this = this;\n this.toHash = new Uint8Array(0);\n if (this.secret && this.secret !== void 0) {\n this.key = new Promise(function (resolve, reject) {\n (0, util_locate_window_1.locateWindow)()\n .crypto.subtle.importKey("raw", (0, util_1.convertToBuffer)(_this.secret), constants_1.SHA_256_HMAC_ALGO, false, ["sign"])\n .then(resolve, reject);\n });\n this.key.catch(function () { });\n }\n };\n return Sha256;\n}());\nexports.Sha256 = Sha256;\n//# sourceMappingURL=webCryptoSha256.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.js?')},"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/RawSha256.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.RawSha256 = void 0;\nvar constants_1 = __webpack_require__(/*! ./constants */ "./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/constants.js");\n/**\n * @internal\n */\nvar RawSha256 = /** @class */ (function () {\n function RawSha256() {\n this.state = Int32Array.from(constants_1.INIT);\n this.temp = new Int32Array(64);\n this.buffer = new Uint8Array(64);\n this.bufferLength = 0;\n this.bytesHashed = 0;\n /**\n * @internal\n */\n this.finished = false;\n }\n RawSha256.prototype.update = function (data) {\n if (this.finished) {\n throw new Error("Attempted to update an already finished hash.");\n }\n var position = 0;\n var byteLength = data.byteLength;\n this.bytesHashed += byteLength;\n if (this.bytesHashed * 8 > constants_1.MAX_HASHABLE_LENGTH) {\n throw new Error("Cannot hash more than 2^53 - 1 bits");\n }\n while (byteLength > 0) {\n this.buffer[this.bufferLength++] = data[position++];\n byteLength--;\n if (this.bufferLength === constants_1.BLOCK_SIZE) {\n this.hashBuffer();\n this.bufferLength = 0;\n }\n }\n };\n RawSha256.prototype.digest = function () {\n if (!this.finished) {\n var bitsHashed = this.bytesHashed * 8;\n var bufferView = new DataView(this.buffer.buffer, this.buffer.byteOffset, this.buffer.byteLength);\n var undecoratedLength = this.bufferLength;\n bufferView.setUint8(this.bufferLength++, 0x80);\n // Ensure the final block has enough room for the hashed length\n if (undecoratedLength % constants_1.BLOCK_SIZE >= constants_1.BLOCK_SIZE - 8) {\n for (var i = this.bufferLength; i < constants_1.BLOCK_SIZE; i++) {\n bufferView.setUint8(i, 0);\n }\n this.hashBuffer();\n this.bufferLength = 0;\n }\n for (var i = this.bufferLength; i < constants_1.BLOCK_SIZE - 8; i++) {\n bufferView.setUint8(i, 0);\n }\n bufferView.setUint32(constants_1.BLOCK_SIZE - 8, Math.floor(bitsHashed / 0x100000000), true);\n bufferView.setUint32(constants_1.BLOCK_SIZE - 4, bitsHashed);\n this.hashBuffer();\n this.finished = true;\n }\n // The value in state is little-endian rather than big-endian, so flip\n // each word into a new Uint8Array\n var out = new Uint8Array(constants_1.DIGEST_LENGTH);\n for (var i = 0; i < 8; i++) {\n out[i * 4] = (this.state[i] >>> 24) & 0xff;\n out[i * 4 + 1] = (this.state[i] >>> 16) & 0xff;\n out[i * 4 + 2] = (this.state[i] >>> 8) & 0xff;\n out[i * 4 + 3] = (this.state[i] >>> 0) & 0xff;\n }\n return out;\n };\n RawSha256.prototype.hashBuffer = function () {\n var _a = this, buffer = _a.buffer, state = _a.state;\n var state0 = state[0], state1 = state[1], state2 = state[2], state3 = state[3], state4 = state[4], state5 = state[5], state6 = state[6], state7 = state[7];\n for (var i = 0; i < constants_1.BLOCK_SIZE; i++) {\n if (i < 16) {\n this.temp[i] =\n ((buffer[i * 4] & 0xff) << 24) |\n ((buffer[i * 4 + 1] & 0xff) << 16) |\n ((buffer[i * 4 + 2] & 0xff) << 8) |\n (buffer[i * 4 + 3] & 0xff);\n }\n else {\n var u = this.temp[i - 2];\n var t1_1 = ((u >>> 17) | (u << 15)) ^ ((u >>> 19) | (u << 13)) ^ (u >>> 10);\n u = this.temp[i - 15];\n var t2_1 = ((u >>> 7) | (u << 25)) ^ ((u >>> 18) | (u << 14)) ^ (u >>> 3);\n this.temp[i] =\n ((t1_1 + this.temp[i - 7]) | 0) + ((t2_1 + this.temp[i - 16]) | 0);\n }\n var t1 = ((((((state4 >>> 6) | (state4 << 26)) ^\n ((state4 >>> 11) | (state4 << 21)) ^\n ((state4 >>> 25) | (state4 << 7))) +\n ((state4 & state5) ^ (~state4 & state6))) |\n 0) +\n ((state7 + ((constants_1.KEY[i] + this.temp[i]) | 0)) | 0)) |\n 0;\n var t2 = ((((state0 >>> 2) | (state0 << 30)) ^\n ((state0 >>> 13) | (state0 << 19)) ^\n ((state0 >>> 22) | (state0 << 10))) +\n ((state0 & state1) ^ (state0 & state2) ^ (state1 & state2))) |\n 0;\n state7 = state6;\n state6 = state5;\n state5 = state4;\n state4 = (state3 + t1) | 0;\n state3 = state2;\n state2 = state1;\n state1 = state0;\n state0 = (t1 + t2) | 0;\n }\n state[0] += state0;\n state[1] += state1;\n state[2] += state2;\n state[3] += state3;\n state[4] += state4;\n state[5] += state5;\n state[6] += state6;\n state[7] += state7;\n };\n return RawSha256;\n}());\nexports.RawSha256 = RawSha256;\n//# sourceMappingURL=RawSha256.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/RawSha256.js?')},"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/constants.js":(__unused_webpack_module,exports)=>{"use strict";eval('\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.MAX_HASHABLE_LENGTH = exports.INIT = exports.KEY = exports.DIGEST_LENGTH = exports.BLOCK_SIZE = void 0;\n/**\n * @internal\n */\nexports.BLOCK_SIZE = 64;\n/**\n * @internal\n */\nexports.DIGEST_LENGTH = 32;\n/**\n * @internal\n */\nexports.KEY = new Uint32Array([\n 0x428a2f98,\n 0x71374491,\n 0xb5c0fbcf,\n 0xe9b5dba5,\n 0x3956c25b,\n 0x59f111f1,\n 0x923f82a4,\n 0xab1c5ed5,\n 0xd807aa98,\n 0x12835b01,\n 0x243185be,\n 0x550c7dc3,\n 0x72be5d74,\n 0x80deb1fe,\n 0x9bdc06a7,\n 0xc19bf174,\n 0xe49b69c1,\n 0xefbe4786,\n 0x0fc19dc6,\n 0x240ca1cc,\n 0x2de92c6f,\n 0x4a7484aa,\n 0x5cb0a9dc,\n 0x76f988da,\n 0x983e5152,\n 0xa831c66d,\n 0xb00327c8,\n 0xbf597fc7,\n 0xc6e00bf3,\n 0xd5a79147,\n 0x06ca6351,\n 0x14292967,\n 0x27b70a85,\n 0x2e1b2138,\n 0x4d2c6dfc,\n 0x53380d13,\n 0x650a7354,\n 0x766a0abb,\n 0x81c2c92e,\n 0x92722c85,\n 0xa2bfe8a1,\n 0xa81a664b,\n 0xc24b8b70,\n 0xc76c51a3,\n 0xd192e819,\n 0xd6990624,\n 0xf40e3585,\n 0x106aa070,\n 0x19a4c116,\n 0x1e376c08,\n 0x2748774c,\n 0x34b0bcb5,\n 0x391c0cb3,\n 0x4ed8aa4a,\n 0x5b9cca4f,\n 0x682e6ff3,\n 0x748f82ee,\n 0x78a5636f,\n 0x84c87814,\n 0x8cc70208,\n 0x90befffa,\n 0xa4506ceb,\n 0xbef9a3f7,\n 0xc67178f2\n]);\n/**\n * @internal\n */\nexports.INIT = [\n 0x6a09e667,\n 0xbb67ae85,\n 0x3c6ef372,\n 0xa54ff53a,\n 0x510e527f,\n 0x9b05688c,\n 0x1f83d9ab,\n 0x5be0cd19\n];\n/**\n * @internal\n */\nexports.MAX_HASHABLE_LENGTH = Math.pow(2, 53) - 1;\n//# sourceMappingURL=constants.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/constants.js?')},"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/index.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nvar tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js");\ntslib_1.__exportStar(__webpack_require__(/*! ./jsSha256 */ "./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/jsSha256.js"), exports);\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/index.js?')},"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/jsSha256.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.Sha256 = void 0;\nvar tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js");\nvar constants_1 = __webpack_require__(/*! ./constants */ "./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/constants.js");\nvar RawSha256_1 = __webpack_require__(/*! ./RawSha256 */ "./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/RawSha256.js");\nvar util_1 = __webpack_require__(/*! @aws-crypto/util */ "./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/index.js");\nvar Sha256 = /** @class */ (function () {\n function Sha256(secret) {\n this.secret = secret;\n this.hash = new RawSha256_1.RawSha256();\n this.reset();\n }\n Sha256.prototype.update = function (toHash) {\n if ((0, util_1.isEmptyData)(toHash) || this.error) {\n return;\n }\n try {\n this.hash.update((0, util_1.convertToBuffer)(toHash));\n }\n catch (e) {\n this.error = e;\n }\n };\n /* This synchronous method keeps compatibility\n * with the v2 aws-sdk.\n */\n Sha256.prototype.digestSync = function () {\n if (this.error) {\n throw this.error;\n }\n if (this.outer) {\n if (!this.outer.finished) {\n this.outer.update(this.hash.digest());\n }\n return this.outer.digest();\n }\n return this.hash.digest();\n };\n /* The underlying digest method here is synchronous.\n * To keep the same interface with the other hash functions\n * the default is to expose this as an async method.\n * However, it can sometimes be useful to have a sync method.\n */\n Sha256.prototype.digest = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n return [2 /*return*/, this.digestSync()];\n });\n });\n };\n Sha256.prototype.reset = function () {\n this.hash = new RawSha256_1.RawSha256();\n if (this.secret) {\n this.outer = new RawSha256_1.RawSha256();\n var inner = bufferFromSecret(this.secret);\n var outer = new Uint8Array(constants_1.BLOCK_SIZE);\n outer.set(inner);\n for (var i = 0; i < constants_1.BLOCK_SIZE; i++) {\n inner[i] ^= 0x36;\n outer[i] ^= 0x5c;\n }\n this.hash.update(inner);\n this.outer.update(outer);\n // overwrite the copied key in memory\n for (var i = 0; i < inner.byteLength; i++) {\n inner[i] = 0;\n }\n }\n };\n return Sha256;\n}());\nexports.Sha256 = Sha256;\nfunction bufferFromSecret(secret) {\n var input = (0, util_1.convertToBuffer)(secret);\n if (input.byteLength > constants_1.BLOCK_SIZE) {\n var bufferHash = new RawSha256_1.RawSha256();\n bufferHash.update(input);\n input = bufferHash.digest();\n }\n var buffer = new Uint8Array(constants_1.BLOCK_SIZE);\n buffer.set(input);\n return buffer;\n}\n//# sourceMappingURL=jsSha256.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/jsSha256.js?')},"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/convertToBuffer.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('/* provided dependency */ var Buffer = __webpack_require__(/*! buffer */ "./node_modules/buffer/index.js")["Buffer"];\n\n// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.convertToBuffer = void 0;\nvar util_utf8_browser_1 = __webpack_require__(/*! @aws-sdk/util-utf8-browser */ "./node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js");\n// Quick polyfill\nvar fromUtf8 = typeof Buffer !== "undefined" && Buffer.from\n ? function (input) { return Buffer.from(input, "utf8"); }\n : util_utf8_browser_1.fromUtf8;\nfunction convertToBuffer(data) {\n // Already a Uint8, do nothing\n if (data instanceof Uint8Array)\n return data;\n if (typeof data === "string") {\n return fromUtf8(data);\n }\n if (ArrayBuffer.isView(data)) {\n return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT);\n }\n return new Uint8Array(data);\n}\nexports.convertToBuffer = convertToBuffer;\n//# sourceMappingURL=convertToBuffer.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/convertToBuffer.js?')},"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/index.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.uint32ArrayFrom = exports.numToUint8 = exports.isEmptyData = exports.convertToBuffer = void 0;\nvar convertToBuffer_1 = __webpack_require__(/*! ./convertToBuffer */ "./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/convertToBuffer.js");\nObject.defineProperty(exports, "convertToBuffer", ({ enumerable: true, get: function () { return convertToBuffer_1.convertToBuffer; } }));\nvar isEmptyData_1 = __webpack_require__(/*! ./isEmptyData */ "./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/isEmptyData.js");\nObject.defineProperty(exports, "isEmptyData", ({ enumerable: true, get: function () { return isEmptyData_1.isEmptyData; } }));\nvar numToUint8_1 = __webpack_require__(/*! ./numToUint8 */ "./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/numToUint8.js");\nObject.defineProperty(exports, "numToUint8", ({ enumerable: true, get: function () { return numToUint8_1.numToUint8; } }));\nvar uint32ArrayFrom_1 = __webpack_require__(/*! ./uint32ArrayFrom */ "./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/uint32ArrayFrom.js");\nObject.defineProperty(exports, "uint32ArrayFrom", ({ enumerable: true, get: function () { return uint32ArrayFrom_1.uint32ArrayFrom; } }));\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/index.js?')},"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/isEmptyData.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.isEmptyData = void 0;\nfunction isEmptyData(data) {\n if (typeof data === "string") {\n return data.length === 0;\n }\n return data.byteLength === 0;\n}\nexports.isEmptyData = isEmptyData;\n//# sourceMappingURL=isEmptyData.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/isEmptyData.js?')},"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/numToUint8.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.numToUint8 = void 0;\nfunction numToUint8(num) {\n return new Uint8Array([\n (num & 0xff000000) >> 24,\n (num & 0x00ff0000) >> 16,\n (num & 0x0000ff00) >> 8,\n num & 0x000000ff,\n ]);\n}\nexports.numToUint8 = numToUint8;\n//# sourceMappingURL=numToUint8.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/numToUint8.js?')},"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/uint32ArrayFrom.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.uint32ArrayFrom = void 0;\n// IE 11 does not support Array.from, so we do it manually\nfunction uint32ArrayFrom(a_lookUpTable) {\n if (!Uint32Array.from) {\n var return_array = new Uint32Array(a_lookUpTable.length);\n var a_index = 0;\n while (a_index < a_lookUpTable.length) {\n return_array[a_index] = a_lookUpTable[a_index];\n a_index += 1;\n }\n return return_array;\n }\n return Uint32Array.from(a_lookUpTable);\n}\nexports.uint32ArrayFrom = uint32ArrayFrom;\n//# sourceMappingURL=uint32ArrayFrom.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/uint32ArrayFrom.js?')},"./node_modules/@aws-crypto/sha256-js/build/RawSha256.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.RawSha256 = void 0;\nvar constants_1 = __webpack_require__(/*! ./constants */ "./node_modules/@aws-crypto/sha256-js/build/constants.js");\n/**\n * @internal\n */\nvar RawSha256 = /** @class */ (function () {\n function RawSha256() {\n this.state = Int32Array.from(constants_1.INIT);\n this.temp = new Int32Array(64);\n this.buffer = new Uint8Array(64);\n this.bufferLength = 0;\n this.bytesHashed = 0;\n /**\n * @internal\n */\n this.finished = false;\n }\n RawSha256.prototype.update = function (data) {\n if (this.finished) {\n throw new Error("Attempted to update an already finished hash.");\n }\n var position = 0;\n var byteLength = data.byteLength;\n this.bytesHashed += byteLength;\n if (this.bytesHashed * 8 > constants_1.MAX_HASHABLE_LENGTH) {\n throw new Error("Cannot hash more than 2^53 - 1 bits");\n }\n while (byteLength > 0) {\n this.buffer[this.bufferLength++] = data[position++];\n byteLength--;\n if (this.bufferLength === constants_1.BLOCK_SIZE) {\n this.hashBuffer();\n this.bufferLength = 0;\n }\n }\n };\n RawSha256.prototype.digest = function () {\n if (!this.finished) {\n var bitsHashed = this.bytesHashed * 8;\n var bufferView = new DataView(this.buffer.buffer, this.buffer.byteOffset, this.buffer.byteLength);\n var undecoratedLength = this.bufferLength;\n bufferView.setUint8(this.bufferLength++, 0x80);\n // Ensure the final block has enough room for the hashed length\n if (undecoratedLength % constants_1.BLOCK_SIZE >= constants_1.BLOCK_SIZE - 8) {\n for (var i = this.bufferLength; i < constants_1.BLOCK_SIZE; i++) {\n bufferView.setUint8(i, 0);\n }\n this.hashBuffer();\n this.bufferLength = 0;\n }\n for (var i = this.bufferLength; i < constants_1.BLOCK_SIZE - 8; i++) {\n bufferView.setUint8(i, 0);\n }\n bufferView.setUint32(constants_1.BLOCK_SIZE - 8, Math.floor(bitsHashed / 0x100000000), true);\n bufferView.setUint32(constants_1.BLOCK_SIZE - 4, bitsHashed);\n this.hashBuffer();\n this.finished = true;\n }\n // The value in state is little-endian rather than big-endian, so flip\n // each word into a new Uint8Array\n var out = new Uint8Array(constants_1.DIGEST_LENGTH);\n for (var i = 0; i < 8; i++) {\n out[i * 4] = (this.state[i] >>> 24) & 0xff;\n out[i * 4 + 1] = (this.state[i] >>> 16) & 0xff;\n out[i * 4 + 2] = (this.state[i] >>> 8) & 0xff;\n out[i * 4 + 3] = (this.state[i] >>> 0) & 0xff;\n }\n return out;\n };\n RawSha256.prototype.hashBuffer = function () {\n var _a = this, buffer = _a.buffer, state = _a.state;\n var state0 = state[0], state1 = state[1], state2 = state[2], state3 = state[3], state4 = state[4], state5 = state[5], state6 = state[6], state7 = state[7];\n for (var i = 0; i < constants_1.BLOCK_SIZE; i++) {\n if (i < 16) {\n this.temp[i] =\n ((buffer[i * 4] & 0xff) << 24) |\n ((buffer[i * 4 + 1] & 0xff) << 16) |\n ((buffer[i * 4 + 2] & 0xff) << 8) |\n (buffer[i * 4 + 3] & 0xff);\n }\n else {\n var u = this.temp[i - 2];\n var t1_1 = ((u >>> 17) | (u << 15)) ^ ((u >>> 19) | (u << 13)) ^ (u >>> 10);\n u = this.temp[i - 15];\n var t2_1 = ((u >>> 7) | (u << 25)) ^ ((u >>> 18) | (u << 14)) ^ (u >>> 3);\n this.temp[i] =\n ((t1_1 + this.temp[i - 7]) | 0) + ((t2_1 + this.temp[i - 16]) | 0);\n }\n var t1 = ((((((state4 >>> 6) | (state4 << 26)) ^\n ((state4 >>> 11) | (state4 << 21)) ^\n ((state4 >>> 25) | (state4 << 7))) +\n ((state4 & state5) ^ (~state4 & state6))) |\n 0) +\n ((state7 + ((constants_1.KEY[i] + this.temp[i]) | 0)) | 0)) |\n 0;\n var t2 = ((((state0 >>> 2) | (state0 << 30)) ^\n ((state0 >>> 13) | (state0 << 19)) ^\n ((state0 >>> 22) | (state0 << 10))) +\n ((state0 & state1) ^ (state0 & state2) ^ (state1 & state2))) |\n 0;\n state7 = state6;\n state6 = state5;\n state5 = state4;\n state4 = (state3 + t1) | 0;\n state3 = state2;\n state2 = state1;\n state1 = state0;\n state0 = (t1 + t2) | 0;\n }\n state[0] += state0;\n state[1] += state1;\n state[2] += state2;\n state[3] += state3;\n state[4] += state4;\n state[5] += state5;\n state[6] += state6;\n state[7] += state7;\n };\n return RawSha256;\n}());\nexports.RawSha256 = RawSha256;\n//# sourceMappingURL=RawSha256.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/sha256-js/build/RawSha256.js?')},"./node_modules/@aws-crypto/sha256-js/build/constants.js":(__unused_webpack_module,exports)=>{"use strict";eval('\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.MAX_HASHABLE_LENGTH = exports.INIT = exports.KEY = exports.DIGEST_LENGTH = exports.BLOCK_SIZE = void 0;\n/**\n * @internal\n */\nexports.BLOCK_SIZE = 64;\n/**\n * @internal\n */\nexports.DIGEST_LENGTH = 32;\n/**\n * @internal\n */\nexports.KEY = new Uint32Array([\n 0x428a2f98,\n 0x71374491,\n 0xb5c0fbcf,\n 0xe9b5dba5,\n 0x3956c25b,\n 0x59f111f1,\n 0x923f82a4,\n 0xab1c5ed5,\n 0xd807aa98,\n 0x12835b01,\n 0x243185be,\n 0x550c7dc3,\n 0x72be5d74,\n 0x80deb1fe,\n 0x9bdc06a7,\n 0xc19bf174,\n 0xe49b69c1,\n 0xefbe4786,\n 0x0fc19dc6,\n 0x240ca1cc,\n 0x2de92c6f,\n 0x4a7484aa,\n 0x5cb0a9dc,\n 0x76f988da,\n 0x983e5152,\n 0xa831c66d,\n 0xb00327c8,\n 0xbf597fc7,\n 0xc6e00bf3,\n 0xd5a79147,\n 0x06ca6351,\n 0x14292967,\n 0x27b70a85,\n 0x2e1b2138,\n 0x4d2c6dfc,\n 0x53380d13,\n 0x650a7354,\n 0x766a0abb,\n 0x81c2c92e,\n 0x92722c85,\n 0xa2bfe8a1,\n 0xa81a664b,\n 0xc24b8b70,\n 0xc76c51a3,\n 0xd192e819,\n 0xd6990624,\n 0xf40e3585,\n 0x106aa070,\n 0x19a4c116,\n 0x1e376c08,\n 0x2748774c,\n 0x34b0bcb5,\n 0x391c0cb3,\n 0x4ed8aa4a,\n 0x5b9cca4f,\n 0x682e6ff3,\n 0x748f82ee,\n 0x78a5636f,\n 0x84c87814,\n 0x8cc70208,\n 0x90befffa,\n 0xa4506ceb,\n 0xbef9a3f7,\n 0xc67178f2\n]);\n/**\n * @internal\n */\nexports.INIT = [\n 0x6a09e667,\n 0xbb67ae85,\n 0x3c6ef372,\n 0xa54ff53a,\n 0x510e527f,\n 0x9b05688c,\n 0x1f83d9ab,\n 0x5be0cd19\n];\n/**\n * @internal\n */\nexports.MAX_HASHABLE_LENGTH = Math.pow(2, 53) - 1;\n//# sourceMappingURL=constants.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/sha256-js/build/constants.js?')},"./node_modules/@aws-crypto/sha256-js/build/index.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nvar tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js");\ntslib_1.__exportStar(__webpack_require__(/*! ./jsSha256 */ "./node_modules/@aws-crypto/sha256-js/build/jsSha256.js"), exports);\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/sha256-js/build/index.js?')},"./node_modules/@aws-crypto/sha256-js/build/jsSha256.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.Sha256 = void 0;\nvar tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js");\nvar constants_1 = __webpack_require__(/*! ./constants */ "./node_modules/@aws-crypto/sha256-js/build/constants.js");\nvar RawSha256_1 = __webpack_require__(/*! ./RawSha256 */ "./node_modules/@aws-crypto/sha256-js/build/RawSha256.js");\nvar util_1 = __webpack_require__(/*! @aws-crypto/util */ "./node_modules/@aws-crypto/util/build/index.js");\nvar Sha256 = /** @class */ (function () {\n function Sha256(secret) {\n this.hash = new RawSha256_1.RawSha256();\n if (secret) {\n this.outer = new RawSha256_1.RawSha256();\n var inner = bufferFromSecret(secret);\n var outer = new Uint8Array(constants_1.BLOCK_SIZE);\n outer.set(inner);\n for (var i = 0; i < constants_1.BLOCK_SIZE; i++) {\n inner[i] ^= 0x36;\n outer[i] ^= 0x5c;\n }\n this.hash.update(inner);\n this.outer.update(outer);\n // overwrite the copied key in memory\n for (var i = 0; i < inner.byteLength; i++) {\n inner[i] = 0;\n }\n }\n }\n Sha256.prototype.update = function (toHash) {\n if ((0, util_1.isEmptyData)(toHash) || this.error) {\n return;\n }\n try {\n this.hash.update((0, util_1.convertToBuffer)(toHash));\n }\n catch (e) {\n this.error = e;\n }\n };\n /* This synchronous method keeps compatibility\n * with the v2 aws-sdk.\n */\n Sha256.prototype.digestSync = function () {\n if (this.error) {\n throw this.error;\n }\n if (this.outer) {\n if (!this.outer.finished) {\n this.outer.update(this.hash.digest());\n }\n return this.outer.digest();\n }\n return this.hash.digest();\n };\n /* The underlying digest method here is synchronous.\n * To keep the same interface with the other hash functions\n * the default is to expose this as an async method.\n * However, it can sometimes be useful to have a sync method.\n */\n Sha256.prototype.digest = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n return tslib_1.__generator(this, function (_a) {\n return [2 /*return*/, this.digestSync()];\n });\n });\n };\n return Sha256;\n}());\nexports.Sha256 = Sha256;\nfunction bufferFromSecret(secret) {\n var input = (0, util_1.convertToBuffer)(secret);\n if (input.byteLength > constants_1.BLOCK_SIZE) {\n var bufferHash = new RawSha256_1.RawSha256();\n bufferHash.update(input);\n input = bufferHash.digest();\n }\n var buffer = new Uint8Array(constants_1.BLOCK_SIZE);\n buffer.set(input);\n return buffer;\n}\n//# sourceMappingURL=jsSha256.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/sha256-js/build/jsSha256.js?')},"./node_modules/@aws-crypto/supports-web-crypto/build/index.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nvar tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js");\ntslib_1.__exportStar(__webpack_require__(/*! ./supportsWebCrypto */ "./node_modules/@aws-crypto/supports-web-crypto/build/supportsWebCrypto.js"), exports);\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsOERBQW9DIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSBcIi4vc3VwcG9ydHNXZWJDcnlwdG9cIjtcbiJdfQ==\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/supports-web-crypto/build/index.js?')},"./node_modules/@aws-crypto/supports-web-crypto/build/supportsWebCrypto.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.supportsZeroByteGCM = exports.supportsSubtleCrypto = exports.supportsSecureRandom = exports.supportsWebCrypto = void 0;\nvar tslib_1 = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js");\nvar subtleCryptoMethods = [\n "decrypt",\n "digest",\n "encrypt",\n "exportKey",\n "generateKey",\n "importKey",\n "sign",\n "verify"\n];\nfunction supportsWebCrypto(window) {\n if (supportsSecureRandom(window) &&\n typeof window.crypto.subtle === "object") {\n var subtle = window.crypto.subtle;\n return supportsSubtleCrypto(subtle);\n }\n return false;\n}\nexports.supportsWebCrypto = supportsWebCrypto;\nfunction supportsSecureRandom(window) {\n if (typeof window === "object" && typeof window.crypto === "object") {\n var getRandomValues = window.crypto.getRandomValues;\n return typeof getRandomValues === "function";\n }\n return false;\n}\nexports.supportsSecureRandom = supportsSecureRandom;\nfunction supportsSubtleCrypto(subtle) {\n return (subtle &&\n subtleCryptoMethods.every(function (methodName) { return typeof subtle[methodName] === "function"; }));\n}\nexports.supportsSubtleCrypto = supportsSubtleCrypto;\nfunction supportsZeroByteGCM(subtle) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var key, zeroByteAuthTag, _a;\n return tslib_1.__generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n if (!supportsSubtleCrypto(subtle))\n return [2 /*return*/, false];\n _b.label = 1;\n case 1:\n _b.trys.push([1, 4, , 5]);\n return [4 /*yield*/, subtle.generateKey({ name: "AES-GCM", length: 128 }, false, ["encrypt"])];\n case 2:\n key = _b.sent();\n return [4 /*yield*/, subtle.encrypt({\n name: "AES-GCM",\n iv: new Uint8Array(Array(12)),\n additionalData: new Uint8Array(Array(16)),\n tagLength: 128\n }, key, new Uint8Array(0))];\n case 3:\n zeroByteAuthTag = _b.sent();\n return [2 /*return*/, zeroByteAuthTag.byteLength === 16];\n case 4:\n _a = _b.sent();\n return [2 /*return*/, false];\n case 5: return [2 /*return*/];\n }\n });\n });\n}\nexports.supportsZeroByteGCM = supportsZeroByteGCM;\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3VwcG9ydHNXZWJDcnlwdG8uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvc3VwcG9ydHNXZWJDcnlwdG8udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQVVBLElBQU0sbUJBQW1CLEdBQThCO0lBQ3JELFNBQVM7SUFDVCxRQUFRO0lBQ1IsU0FBUztJQUNULFdBQVc7SUFDWCxhQUFhO0lBQ2IsV0FBVztJQUNYLE1BQU07SUFDTixRQUFRO0NBQ1QsQ0FBQztBQUVGLFNBQWdCLGlCQUFpQixDQUFDLE1BQWM7SUFDOUMsSUFDRSxvQkFBb0IsQ0FBQyxNQUFNLENBQUM7UUFDNUIsT0FBTyxNQUFNLENBQUMsTUFBTSxDQUFDLE1BQU0sS0FBSyxRQUFRLEVBQ3hDO1FBQ1EsSUFBQSxNQUFNLEdBQUssTUFBTSxDQUFDLE1BQU0sT0FBbEIsQ0FBbUI7UUFFakMsT0FBTyxvQkFBb0IsQ0FBQyxNQUFNLENBQUMsQ0FBQztLQUNyQztJQUVELE9BQU8sS0FBSyxDQUFDO0FBQ2YsQ0FBQztBQVhELDhDQVdDO0FBRUQsU0FBZ0Isb0JBQW9CLENBQUMsTUFBYztJQUNqRCxJQUFJLE9BQU8sTUFBTSxLQUFLLFFBQVEsSUFBSSxPQUFPLE1BQU0sQ0FBQyxNQUFNLEtBQUssUUFBUSxFQUFFO1FBQzNELElBQUEsZUFBZSxHQUFLLE1BQU0sQ0FBQyxNQUFNLGdCQUFsQixDQUFtQjtRQUUxQyxPQUFPLE9BQU8sZUFBZSxLQUFLLFVBQVUsQ0FBQztLQUM5QztJQUVELE9BQU8sS0FBSyxDQUFDO0FBQ2YsQ0FBQztBQVJELG9EQVFDO0FBRUQsU0FBZ0Isb0JBQW9CLENBQUMsTUFBb0I7SUFDdkQsT0FBTyxDQUNMLE1BQU07UUFDTixtQkFBbUIsQ0FBQyxLQUFLLENBQ3ZCLFVBQUEsVUFBVSxJQUFJLE9BQUEsT0FBTyxNQUFNLENBQUMsVUFBVSxDQUFDLEtBQUssVUFBVSxFQUF4QyxDQUF3QyxDQUN2RCxDQUNGLENBQUM7QUFDSixDQUFDO0FBUEQsb0RBT0M7QUFFRCxTQUFzQixtQkFBbUIsQ0FBQyxNQUFvQjs7Ozs7O29CQUM1RCxJQUFJLENBQUMsb0JBQW9CLENBQUMsTUFBTSxDQUFDO3dCQUFFLHNCQUFPLEtBQUssRUFBQzs7OztvQkFFbEMscUJBQU0sTUFBTSxDQUFDLFdBQVcsQ0FDbEMsRUFBRSxJQUFJLEVBQUUsU0FBUyxFQUFFLE1BQU0sRUFBRSxHQUFHLEVBQUUsRUFDaEMsS0FBSyxFQUNMLENBQUMsU0FBUyxDQUFDLENBQ1osRUFBQTs7b0JBSkssR0FBRyxHQUFHLFNBSVg7b0JBQ3VCLHFCQUFNLE1BQU0sQ0FBQyxPQUFPLENBQzFDOzRCQUNFLElBQUksRUFBRSxTQUFTOzRCQUNmLEVBQUUsRUFBRSxJQUFJLFVBQVUsQ0FBQyxLQUFLLENBQUMsRUFBRSxDQUFDLENBQUM7NEJBQzdCLGNBQWMsRUFBRSxJQUFJLFVBQVUsQ0FBQyxLQUFLLENBQUMsRUFBRSxDQUFDLENBQUM7NEJBQ3pDLFNBQVMsRUFBRSxHQUFHO3lCQUNmLEVBQ0QsR0FBRyxFQUNILElBQUksVUFBVSxDQUFDLENBQUMsQ0FBQyxDQUNsQixFQUFBOztvQkFUSyxlQUFlLEdBQUcsU0FTdkI7b0JBQ0Qsc0JBQU8sZUFBZSxDQUFDLFVBQVUsS0FBSyxFQUFFLEVBQUM7OztvQkFFekMsc0JBQU8sS0FBSyxFQUFDOzs7OztDQUVoQjtBQXRCRCxrREFzQkMiLCJzb3VyY2VzQ29udGVudCI6WyJ0eXBlIFN1YnRsZUNyeXB0b01ldGhvZCA9XG4gIHwgXCJkZWNyeXB0XCJcbiAgfCBcImRpZ2VzdFwiXG4gIHwgXCJlbmNyeXB0XCJcbiAgfCBcImV4cG9ydEtleVwiXG4gIHwgXCJnZW5lcmF0ZUtleVwiXG4gIHwgXCJpbXBvcnRLZXlcIlxuICB8IFwic2lnblwiXG4gIHwgXCJ2ZXJpZnlcIjtcblxuY29uc3Qgc3VidGxlQ3J5cHRvTWV0aG9kczogQXJyYXk8U3VidGxlQ3J5cHRvTWV0aG9kPiA9IFtcbiAgXCJkZWNyeXB0XCIsXG4gIFwiZGlnZXN0XCIsXG4gIFwiZW5jcnlwdFwiLFxuICBcImV4cG9ydEtleVwiLFxuICBcImdlbmVyYXRlS2V5XCIsXG4gIFwiaW1wb3J0S2V5XCIsXG4gIFwic2lnblwiLFxuICBcInZlcmlmeVwiXG5dO1xuXG5leHBvcnQgZnVuY3Rpb24gc3VwcG9ydHNXZWJDcnlwdG8od2luZG93OiBXaW5kb3cpOiBib29sZWFuIHtcbiAgaWYgKFxuICAgIHN1cHBvcnRzU2VjdXJlUmFuZG9tKHdpbmRvdykgJiZcbiAgICB0eXBlb2Ygd2luZG93LmNyeXB0by5zdWJ0bGUgPT09IFwib2JqZWN0XCJcbiAgKSB7XG4gICAgY29uc3QgeyBzdWJ0bGUgfSA9IHdpbmRvdy5jcnlwdG87XG5cbiAgICByZXR1cm4gc3VwcG9ydHNTdWJ0bGVDcnlwdG8oc3VidGxlKTtcbiAgfVxuXG4gIHJldHVybiBmYWxzZTtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIHN1cHBvcnRzU2VjdXJlUmFuZG9tKHdpbmRvdzogV2luZG93KTogYm9vbGVhbiB7XG4gIGlmICh0eXBlb2Ygd2luZG93ID09PSBcIm9iamVjdFwiICYmIHR5cGVvZiB3aW5kb3cuY3J5cHRvID09PSBcIm9iamVjdFwiKSB7XG4gICAgY29uc3QgeyBnZXRSYW5kb21WYWx1ZXMgfSA9IHdpbmRvdy5jcnlwdG87XG5cbiAgICByZXR1cm4gdHlwZW9mIGdldFJhbmRvbVZhbHVlcyA9PT0gXCJmdW5jdGlvblwiO1xuICB9XG5cbiAgcmV0dXJuIGZhbHNlO1xufVxuXG5leHBvcnQgZnVuY3Rpb24gc3VwcG9ydHNTdWJ0bGVDcnlwdG8oc3VidGxlOiBTdWJ0bGVDcnlwdG8pIHtcbiAgcmV0dXJuIChcbiAgICBzdWJ0bGUgJiZcbiAgICBzdWJ0bGVDcnlwdG9NZXRob2RzLmV2ZXJ5KFxuICAgICAgbWV0aG9kTmFtZSA9PiB0eXBlb2Ygc3VidGxlW21ldGhvZE5hbWVdID09PSBcImZ1bmN0aW9uXCJcbiAgICApXG4gICk7XG59XG5cbmV4cG9ydCBhc3luYyBmdW5jdGlvbiBzdXBwb3J0c1plcm9CeXRlR0NNKHN1YnRsZTogU3VidGxlQ3J5cHRvKSB7XG4gIGlmICghc3VwcG9ydHNTdWJ0bGVDcnlwdG8oc3VidGxlKSkgcmV0dXJuIGZhbHNlO1xuICB0cnkge1xuICAgIGNvbnN0IGtleSA9IGF3YWl0IHN1YnRsZS5nZW5lcmF0ZUtleShcbiAgICAgIHsgbmFtZTogXCJBRVMtR0NNXCIsIGxlbmd0aDogMTI4IH0sXG4gICAgICBmYWxzZSxcbiAgICAgIFtcImVuY3J5cHRcIl1cbiAgICApO1xuICAgIGNvbnN0IHplcm9CeXRlQXV0aFRhZyA9IGF3YWl0IHN1YnRsZS5lbmNyeXB0KFxuICAgICAge1xuICAgICAgICBuYW1lOiBcIkFFUy1HQ01cIixcbiAgICAgICAgaXY6IG5ldyBVaW50OEFycmF5KEFycmF5KDEyKSksXG4gICAgICAgIGFkZGl0aW9uYWxEYXRhOiBuZXcgVWludDhBcnJheShBcnJheSgxNikpLFxuICAgICAgICB0YWdMZW5ndGg6IDEyOFxuICAgICAgfSxcbiAgICAgIGtleSxcbiAgICAgIG5ldyBVaW50OEFycmF5KDApXG4gICAgKTtcbiAgICByZXR1cm4gemVyb0J5dGVBdXRoVGFnLmJ5dGVMZW5ndGggPT09IDE2O1xuICB9IGNhdGNoIHtcbiAgICByZXR1cm4gZmFsc2U7XG4gIH1cbn1cbiJdfQ==\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/supports-web-crypto/build/supportsWebCrypto.js?')},"./node_modules/@aws-crypto/util/build/convertToBuffer.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('/* provided dependency */ var Buffer = __webpack_require__(/*! buffer */ "./node_modules/buffer/index.js")["Buffer"];\n\n// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.convertToBuffer = void 0;\nvar util_utf8_browser_1 = __webpack_require__(/*! @aws-sdk/util-utf8-browser */ "./node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js");\n// Quick polyfill\nvar fromUtf8 = typeof Buffer !== "undefined" && Buffer.from\n ? function (input) { return Buffer.from(input, "utf8"); }\n : util_utf8_browser_1.fromUtf8;\nfunction convertToBuffer(data) {\n // Already a Uint8, do nothing\n if (data instanceof Uint8Array)\n return data;\n if (typeof data === "string") {\n return fromUtf8(data);\n }\n if (ArrayBuffer.isView(data)) {\n return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT);\n }\n return new Uint8Array(data);\n}\nexports.convertToBuffer = convertToBuffer;\n//# sourceMappingURL=convertToBuffer.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/util/build/convertToBuffer.js?')},"./node_modules/@aws-crypto/util/build/index.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.uint32ArrayFrom = exports.numToUint8 = exports.isEmptyData = exports.convertToBuffer = void 0;\nvar convertToBuffer_1 = __webpack_require__(/*! ./convertToBuffer */ "./node_modules/@aws-crypto/util/build/convertToBuffer.js");\nObject.defineProperty(exports, "convertToBuffer", ({ enumerable: true, get: function () { return convertToBuffer_1.convertToBuffer; } }));\nvar isEmptyData_1 = __webpack_require__(/*! ./isEmptyData */ "./node_modules/@aws-crypto/util/build/isEmptyData.js");\nObject.defineProperty(exports, "isEmptyData", ({ enumerable: true, get: function () { return isEmptyData_1.isEmptyData; } }));\nvar numToUint8_1 = __webpack_require__(/*! ./numToUint8 */ "./node_modules/@aws-crypto/util/build/numToUint8.js");\nObject.defineProperty(exports, "numToUint8", ({ enumerable: true, get: function () { return numToUint8_1.numToUint8; } }));\nvar uint32ArrayFrom_1 = __webpack_require__(/*! ./uint32ArrayFrom */ "./node_modules/@aws-crypto/util/build/uint32ArrayFrom.js");\nObject.defineProperty(exports, "uint32ArrayFrom", ({ enumerable: true, get: function () { return uint32ArrayFrom_1.uint32ArrayFrom; } }));\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/util/build/index.js?')},"./node_modules/@aws-crypto/util/build/isEmptyData.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.isEmptyData = void 0;\nfunction isEmptyData(data) {\n if (typeof data === "string") {\n return data.length === 0;\n }\n return data.byteLength === 0;\n}\nexports.isEmptyData = isEmptyData;\n//# sourceMappingURL=isEmptyData.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/util/build/isEmptyData.js?')},"./node_modules/@aws-crypto/util/build/numToUint8.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.numToUint8 = void 0;\nfunction numToUint8(num) {\n return new Uint8Array([\n (num & 0xff000000) >> 24,\n (num & 0x00ff0000) >> 16,\n (num & 0x0000ff00) >> 8,\n num & 0x000000ff,\n ]);\n}\nexports.numToUint8 = numToUint8;\n//# sourceMappingURL=numToUint8.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/util/build/numToUint8.js?')},"./node_modules/@aws-crypto/util/build/uint32ArrayFrom.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.uint32ArrayFrom = void 0;\n// IE 11 does not support Array.from, so we do it manually\nfunction uint32ArrayFrom(a_lookUpTable) {\n if (!Uint32Array.from) {\n var return_array = new Uint32Array(a_lookUpTable.length);\n var a_index = 0;\n while (a_index < a_lookUpTable.length) {\n return_array[a_index] = a_lookUpTable[a_index];\n a_index += 1;\n }\n return return_array;\n }\n return Uint32Array.from(a_lookUpTable);\n}\nexports.uint32ArrayFrom = uint32ArrayFrom;\n//# sourceMappingURL=uint32ArrayFrom.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/util/build/uint32ArrayFrom.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessaging.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "ChimeSDKMessaging": () => (/* binding */ ChimeSDKMessaging)\n/* harmony export */ });\n/* harmony import */ var _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ChimeSDKMessagingClient */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessagingClient.js");\n/* harmony import */ var _commands_AssociateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./commands/AssociateChannelFlowCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/AssociateChannelFlowCommand.js");\n/* harmony import */ var _commands_BatchCreateChannelMembershipCommand__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commands/BatchCreateChannelMembershipCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/BatchCreateChannelMembershipCommand.js");\n/* harmony import */ var _commands_ChannelFlowCallbackCommand__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./commands/ChannelFlowCallbackCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ChannelFlowCallbackCommand.js");\n/* harmony import */ var _commands_CreateChannelBanCommand__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./commands/CreateChannelBanCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelBanCommand.js");\n/* harmony import */ var _commands_CreateChannelCommand__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./commands/CreateChannelCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelCommand.js");\n/* harmony import */ var _commands_CreateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./commands/CreateChannelFlowCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelFlowCommand.js");\n/* harmony import */ var _commands_CreateChannelMembershipCommand__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./commands/CreateChannelMembershipCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelMembershipCommand.js");\n/* harmony import */ var _commands_CreateChannelModeratorCommand__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./commands/CreateChannelModeratorCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelModeratorCommand.js");\n/* harmony import */ var _commands_DeleteChannelBanCommand__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./commands/DeleteChannelBanCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelBanCommand.js");\n/* harmony import */ var _commands_DeleteChannelCommand__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./commands/DeleteChannelCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelCommand.js");\n/* harmony import */ var _commands_DeleteChannelFlowCommand__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./commands/DeleteChannelFlowCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelFlowCommand.js");\n/* harmony import */ var _commands_DeleteChannelMembershipCommand__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./commands/DeleteChannelMembershipCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelMembershipCommand.js");\n/* harmony import */ var _commands_DeleteChannelMessageCommand__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./commands/DeleteChannelMessageCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelMessageCommand.js");\n/* harmony import */ var _commands_DeleteChannelModeratorCommand__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./commands/DeleteChannelModeratorCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelModeratorCommand.js");\n/* harmony import */ var _commands_DescribeChannelBanCommand__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./commands/DescribeChannelBanCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelBanCommand.js");\n/* harmony import */ var _commands_DescribeChannelCommand__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./commands/DescribeChannelCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelCommand.js");\n/* harmony import */ var _commands_DescribeChannelFlowCommand__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./commands/DescribeChannelFlowCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelFlowCommand.js");\n/* harmony import */ var _commands_DescribeChannelMembershipCommand__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./commands/DescribeChannelMembershipCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelMembershipCommand.js");\n/* harmony import */ var _commands_DescribeChannelMembershipForAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./commands/DescribeChannelMembershipForAppInstanceUserCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js");\n/* harmony import */ var _commands_DescribeChannelModeratedByAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./commands/DescribeChannelModeratedByAppInstanceUserCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js");\n/* harmony import */ var _commands_DescribeChannelModeratorCommand__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./commands/DescribeChannelModeratorCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelModeratorCommand.js");\n/* harmony import */ var _commands_DisassociateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./commands/DisassociateChannelFlowCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DisassociateChannelFlowCommand.js");\n/* harmony import */ var _commands_GetChannelMembershipPreferencesCommand__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./commands/GetChannelMembershipPreferencesCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMembershipPreferencesCommand.js");\n/* harmony import */ var _commands_GetChannelMessageCommand__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./commands/GetChannelMessageCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMessageCommand.js");\n/* harmony import */ var _commands_GetChannelMessageStatusCommand__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./commands/GetChannelMessageStatusCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMessageStatusCommand.js");\n/* harmony import */ var _commands_GetMessagingSessionEndpointCommand__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./commands/GetMessagingSessionEndpointCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetMessagingSessionEndpointCommand.js");\n/* harmony import */ var _commands_ListChannelBansCommand__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./commands/ListChannelBansCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelBansCommand.js");\n/* harmony import */ var _commands_ListChannelFlowsCommand__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./commands/ListChannelFlowsCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelFlowsCommand.js");\n/* harmony import */ var _commands_ListChannelMembershipsCommand__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./commands/ListChannelMembershipsCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMembershipsCommand.js");\n/* harmony import */ var _commands_ListChannelMembershipsForAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./commands/ListChannelMembershipsForAppInstanceUserCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js");\n/* harmony import */ var _commands_ListChannelMessagesCommand__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./commands/ListChannelMessagesCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMessagesCommand.js");\n/* harmony import */ var _commands_ListChannelModeratorsCommand__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./commands/ListChannelModeratorsCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelModeratorsCommand.js");\n/* harmony import */ var _commands_ListChannelsAssociatedWithChannelFlowCommand__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./commands/ListChannelsAssociatedWithChannelFlowCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsAssociatedWithChannelFlowCommand.js");\n/* harmony import */ var _commands_ListChannelsCommand__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./commands/ListChannelsCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsCommand.js");\n/* harmony import */ var _commands_ListChannelsModeratedByAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./commands/ListChannelsModeratedByAppInstanceUserCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js");\n/* harmony import */ var _commands_ListSubChannelsCommand__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./commands/ListSubChannelsCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListSubChannelsCommand.js");\n/* harmony import */ var _commands_ListTagsForResourceCommand__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./commands/ListTagsForResourceCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListTagsForResourceCommand.js");\n/* harmony import */ var _commands_PutChannelMembershipPreferencesCommand__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./commands/PutChannelMembershipPreferencesCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/PutChannelMembershipPreferencesCommand.js");\n/* harmony import */ var _commands_RedactChannelMessageCommand__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./commands/RedactChannelMessageCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/RedactChannelMessageCommand.js");\n/* harmony import */ var _commands_SearchChannelsCommand__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./commands/SearchChannelsCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/SearchChannelsCommand.js");\n/* harmony import */ var _commands_SendChannelMessageCommand__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./commands/SendChannelMessageCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/SendChannelMessageCommand.js");\n/* harmony import */ var _commands_TagResourceCommand__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./commands/TagResourceCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/TagResourceCommand.js");\n/* harmony import */ var _commands_UntagResourceCommand__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./commands/UntagResourceCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UntagResourceCommand.js");\n/* harmony import */ var _commands_UpdateChannelCommand__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./commands/UpdateChannelCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelCommand.js");\n/* harmony import */ var _commands_UpdateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./commands/UpdateChannelFlowCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelFlowCommand.js");\n/* harmony import */ var _commands_UpdateChannelMessageCommand__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./commands/UpdateChannelMessageCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelMessageCommand.js");\n/* harmony import */ var _commands_UpdateChannelReadMarkerCommand__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./commands/UpdateChannelReadMarkerCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelReadMarkerCommand.js");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nclass ChimeSDKMessaging extends _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_0__.ChimeSDKMessagingClient {\n associateChannelFlow(args, optionsOrCb, cb) {\n const command = new _commands_AssociateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_1__.AssociateChannelFlowCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n batchCreateChannelMembership(args, optionsOrCb, cb) {\n const command = new _commands_BatchCreateChannelMembershipCommand__WEBPACK_IMPORTED_MODULE_2__.BatchCreateChannelMembershipCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n channelFlowCallback(args, optionsOrCb, cb) {\n const command = new _commands_ChannelFlowCallbackCommand__WEBPACK_IMPORTED_MODULE_3__.ChannelFlowCallbackCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n createChannel(args, optionsOrCb, cb) {\n const command = new _commands_CreateChannelCommand__WEBPACK_IMPORTED_MODULE_4__.CreateChannelCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n createChannelBan(args, optionsOrCb, cb) {\n const command = new _commands_CreateChannelBanCommand__WEBPACK_IMPORTED_MODULE_5__.CreateChannelBanCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n createChannelFlow(args, optionsOrCb, cb) {\n const command = new _commands_CreateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_6__.CreateChannelFlowCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n createChannelMembership(args, optionsOrCb, cb) {\n const command = new _commands_CreateChannelMembershipCommand__WEBPACK_IMPORTED_MODULE_7__.CreateChannelMembershipCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n createChannelModerator(args, optionsOrCb, cb) {\n const command = new _commands_CreateChannelModeratorCommand__WEBPACK_IMPORTED_MODULE_8__.CreateChannelModeratorCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n deleteChannel(args, optionsOrCb, cb) {\n const command = new _commands_DeleteChannelCommand__WEBPACK_IMPORTED_MODULE_9__.DeleteChannelCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n deleteChannelBan(args, optionsOrCb, cb) {\n const command = new _commands_DeleteChannelBanCommand__WEBPACK_IMPORTED_MODULE_10__.DeleteChannelBanCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n deleteChannelFlow(args, optionsOrCb, cb) {\n const command = new _commands_DeleteChannelFlowCommand__WEBPACK_IMPORTED_MODULE_11__.DeleteChannelFlowCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n deleteChannelMembership(args, optionsOrCb, cb) {\n const command = new _commands_DeleteChannelMembershipCommand__WEBPACK_IMPORTED_MODULE_12__.DeleteChannelMembershipCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n deleteChannelMessage(args, optionsOrCb, cb) {\n const command = new _commands_DeleteChannelMessageCommand__WEBPACK_IMPORTED_MODULE_13__.DeleteChannelMessageCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n deleteChannelModerator(args, optionsOrCb, cb) {\n const command = new _commands_DeleteChannelModeratorCommand__WEBPACK_IMPORTED_MODULE_14__.DeleteChannelModeratorCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n describeChannel(args, optionsOrCb, cb) {\n const command = new _commands_DescribeChannelCommand__WEBPACK_IMPORTED_MODULE_15__.DescribeChannelCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n describeChannelBan(args, optionsOrCb, cb) {\n const command = new _commands_DescribeChannelBanCommand__WEBPACK_IMPORTED_MODULE_16__.DescribeChannelBanCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n describeChannelFlow(args, optionsOrCb, cb) {\n const command = new _commands_DescribeChannelFlowCommand__WEBPACK_IMPORTED_MODULE_17__.DescribeChannelFlowCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n describeChannelMembership(args, optionsOrCb, cb) {\n const command = new _commands_DescribeChannelMembershipCommand__WEBPACK_IMPORTED_MODULE_18__.DescribeChannelMembershipCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n describeChannelMembershipForAppInstanceUser(args, optionsOrCb, cb) {\n const command = new _commands_DescribeChannelMembershipForAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_19__.DescribeChannelMembershipForAppInstanceUserCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n describeChannelModeratedByAppInstanceUser(args, optionsOrCb, cb) {\n const command = new _commands_DescribeChannelModeratedByAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_20__.DescribeChannelModeratedByAppInstanceUserCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n describeChannelModerator(args, optionsOrCb, cb) {\n const command = new _commands_DescribeChannelModeratorCommand__WEBPACK_IMPORTED_MODULE_21__.DescribeChannelModeratorCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n disassociateChannelFlow(args, optionsOrCb, cb) {\n const command = new _commands_DisassociateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_22__.DisassociateChannelFlowCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n getChannelMembershipPreferences(args, optionsOrCb, cb) {\n const command = new _commands_GetChannelMembershipPreferencesCommand__WEBPACK_IMPORTED_MODULE_23__.GetChannelMembershipPreferencesCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n getChannelMessage(args, optionsOrCb, cb) {\n const command = new _commands_GetChannelMessageCommand__WEBPACK_IMPORTED_MODULE_24__.GetChannelMessageCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n getChannelMessageStatus(args, optionsOrCb, cb) {\n const command = new _commands_GetChannelMessageStatusCommand__WEBPACK_IMPORTED_MODULE_25__.GetChannelMessageStatusCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n getMessagingSessionEndpoint(args, optionsOrCb, cb) {\n const command = new _commands_GetMessagingSessionEndpointCommand__WEBPACK_IMPORTED_MODULE_26__.GetMessagingSessionEndpointCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n listChannelBans(args, optionsOrCb, cb) {\n const command = new _commands_ListChannelBansCommand__WEBPACK_IMPORTED_MODULE_27__.ListChannelBansCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n listChannelFlows(args, optionsOrCb, cb) {\n const command = new _commands_ListChannelFlowsCommand__WEBPACK_IMPORTED_MODULE_28__.ListChannelFlowsCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n listChannelMemberships(args, optionsOrCb, cb) {\n const command = new _commands_ListChannelMembershipsCommand__WEBPACK_IMPORTED_MODULE_29__.ListChannelMembershipsCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n listChannelMembershipsForAppInstanceUser(args, optionsOrCb, cb) {\n const command = new _commands_ListChannelMembershipsForAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_30__.ListChannelMembershipsForAppInstanceUserCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n listChannelMessages(args, optionsOrCb, cb) {\n const command = new _commands_ListChannelMessagesCommand__WEBPACK_IMPORTED_MODULE_31__.ListChannelMessagesCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n listChannelModerators(args, optionsOrCb, cb) {\n const command = new _commands_ListChannelModeratorsCommand__WEBPACK_IMPORTED_MODULE_32__.ListChannelModeratorsCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n listChannels(args, optionsOrCb, cb) {\n const command = new _commands_ListChannelsCommand__WEBPACK_IMPORTED_MODULE_33__.ListChannelsCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n listChannelsAssociatedWithChannelFlow(args, optionsOrCb, cb) {\n const command = new _commands_ListChannelsAssociatedWithChannelFlowCommand__WEBPACK_IMPORTED_MODULE_34__.ListChannelsAssociatedWithChannelFlowCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n listChannelsModeratedByAppInstanceUser(args, optionsOrCb, cb) {\n const command = new _commands_ListChannelsModeratedByAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_35__.ListChannelsModeratedByAppInstanceUserCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n listSubChannels(args, optionsOrCb, cb) {\n const command = new _commands_ListSubChannelsCommand__WEBPACK_IMPORTED_MODULE_36__.ListSubChannelsCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n listTagsForResource(args, optionsOrCb, cb) {\n const command = new _commands_ListTagsForResourceCommand__WEBPACK_IMPORTED_MODULE_37__.ListTagsForResourceCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n putChannelMembershipPreferences(args, optionsOrCb, cb) {\n const command = new _commands_PutChannelMembershipPreferencesCommand__WEBPACK_IMPORTED_MODULE_38__.PutChannelMembershipPreferencesCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n redactChannelMessage(args, optionsOrCb, cb) {\n const command = new _commands_RedactChannelMessageCommand__WEBPACK_IMPORTED_MODULE_39__.RedactChannelMessageCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n searchChannels(args, optionsOrCb, cb) {\n const command = new _commands_SearchChannelsCommand__WEBPACK_IMPORTED_MODULE_40__.SearchChannelsCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n sendChannelMessage(args, optionsOrCb, cb) {\n const command = new _commands_SendChannelMessageCommand__WEBPACK_IMPORTED_MODULE_41__.SendChannelMessageCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n tagResource(args, optionsOrCb, cb) {\n const command = new _commands_TagResourceCommand__WEBPACK_IMPORTED_MODULE_42__.TagResourceCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n untagResource(args, optionsOrCb, cb) {\n const command = new _commands_UntagResourceCommand__WEBPACK_IMPORTED_MODULE_43__.UntagResourceCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n updateChannel(args, optionsOrCb, cb) {\n const command = new _commands_UpdateChannelCommand__WEBPACK_IMPORTED_MODULE_44__.UpdateChannelCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n updateChannelFlow(args, optionsOrCb, cb) {\n const command = new _commands_UpdateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_45__.UpdateChannelFlowCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n updateChannelMessage(args, optionsOrCb, cb) {\n const command = new _commands_UpdateChannelMessageCommand__WEBPACK_IMPORTED_MODULE_46__.UpdateChannelMessageCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n updateChannelReadMarker(args, optionsOrCb, cb) {\n const command = new _commands_UpdateChannelReadMarkerCommand__WEBPACK_IMPORTED_MODULE_47__.UpdateChannelReadMarkerCommand(args);\n if (typeof optionsOrCb === "function") {\n this.send(command, optionsOrCb);\n }\n else if (typeof cb === "function") {\n if (typeof optionsOrCb !== "object")\n throw new Error(`Expect http options but get ${typeof optionsOrCb}`);\n this.send(command, optionsOrCb || {}, cb);\n }\n else {\n return this.send(command, optionsOrCb);\n }\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessaging.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessagingClient.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "ChimeSDKMessagingClient": () => (/* binding */ ChimeSDKMessagingClient)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_config_resolver__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/config-resolver */ "./node_modules/@aws-sdk/config-resolver/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_content_length__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-content-length */ "./node_modules/@aws-sdk/middleware-content-length/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_host_header__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @aws-sdk/middleware-host-header */ "./node_modules/@aws-sdk/middleware-host-header/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_logger__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @aws-sdk/middleware-logger */ "./node_modules/@aws-sdk/middleware-logger/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_recursion_detection__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @aws-sdk/middleware-recursion-detection */ "./node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_retry__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @aws-sdk/middleware-retry */ "./node_modules/@aws-sdk/middleware-retry/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_signing__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @aws-sdk/middleware-signing */ "./node_modules/@aws-sdk/middleware-signing/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_user_agent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @aws-sdk/middleware-user-agent */ "./node_modules/@aws-sdk/middleware-user-agent/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _endpoint_EndpointParameters__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./endpoint/EndpointParameters */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/endpoint/EndpointParameters.js");\n/* harmony import */ var _runtimeConfig__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./runtimeConfig */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/runtimeConfig.browser.js");\n\n\n\n\n\n\n\n\n\n\n\n\nclass ChimeSDKMessagingClient extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_9__.Client {\n constructor(configuration) {\n const _config_0 = (0,_runtimeConfig__WEBPACK_IMPORTED_MODULE_10__.getRuntimeConfig)(configuration);\n const _config_1 = (0,_endpoint_EndpointParameters__WEBPACK_IMPORTED_MODULE_11__.resolveClientEndpointParameters)(_config_0);\n const _config_2 = (0,_aws_sdk_config_resolver__WEBPACK_IMPORTED_MODULE_0__.resolveRegionConfig)(_config_1);\n const _config_3 = (0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_2__.resolveEndpointConfig)(_config_2);\n const _config_4 = (0,_aws_sdk_middleware_retry__WEBPACK_IMPORTED_MODULE_6__.resolveRetryConfig)(_config_3);\n const _config_5 = (0,_aws_sdk_middleware_host_header__WEBPACK_IMPORTED_MODULE_3__.resolveHostHeaderConfig)(_config_4);\n const _config_6 = (0,_aws_sdk_middleware_signing__WEBPACK_IMPORTED_MODULE_7__.resolveAwsAuthConfig)(_config_5);\n const _config_7 = (0,_aws_sdk_middleware_user_agent__WEBPACK_IMPORTED_MODULE_8__.resolveUserAgentConfig)(_config_6);\n super(_config_7);\n this.config = _config_7;\n this.middlewareStack.use((0,_aws_sdk_middleware_retry__WEBPACK_IMPORTED_MODULE_6__.getRetryPlugin)(this.config));\n this.middlewareStack.use((0,_aws_sdk_middleware_content_length__WEBPACK_IMPORTED_MODULE_1__.getContentLengthPlugin)(this.config));\n this.middlewareStack.use((0,_aws_sdk_middleware_host_header__WEBPACK_IMPORTED_MODULE_3__.getHostHeaderPlugin)(this.config));\n this.middlewareStack.use((0,_aws_sdk_middleware_logger__WEBPACK_IMPORTED_MODULE_4__.getLoggerPlugin)(this.config));\n this.middlewareStack.use((0,_aws_sdk_middleware_recursion_detection__WEBPACK_IMPORTED_MODULE_5__.getRecursionDetectionPlugin)(this.config));\n this.middlewareStack.use((0,_aws_sdk_middleware_signing__WEBPACK_IMPORTED_MODULE_7__.getAwsAuthPlugin)(this.config));\n this.middlewareStack.use((0,_aws_sdk_middleware_user_agent__WEBPACK_IMPORTED_MODULE_8__.getUserAgentPlugin)(this.config));\n }\n destroy() {\n super.destroy();\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessagingClient.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/AssociateChannelFlowCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "AssociateChannelFlowCommand": () => (/* binding */ AssociateChannelFlowCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass AssociateChannelFlowCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, AssociateChannelFlowCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "AssociateChannelFlowCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.AssociateChannelFlowRequestFilterSensitiveLog,\n outputFilterSensitiveLog: (output) => output,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1AssociateChannelFlowCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1AssociateChannelFlowCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/AssociateChannelFlowCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/BatchCreateChannelMembershipCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "BatchCreateChannelMembershipCommand": () => (/* binding */ BatchCreateChannelMembershipCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass BatchCreateChannelMembershipCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, BatchCreateChannelMembershipCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "BatchCreateChannelMembershipCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.BatchCreateChannelMembershipRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.BatchCreateChannelMembershipResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1BatchCreateChannelMembershipCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1BatchCreateChannelMembershipCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/BatchCreateChannelMembershipCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ChannelFlowCallbackCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "ChannelFlowCallbackCommand": () => (/* binding */ ChannelFlowCallbackCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass ChannelFlowCallbackCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, ChannelFlowCallbackCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "ChannelFlowCallbackCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.ChannelFlowCallbackRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.ChannelFlowCallbackResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1ChannelFlowCallbackCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1ChannelFlowCallbackCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ChannelFlowCallbackCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelBanCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "CreateChannelBanCommand": () => (/* binding */ CreateChannelBanCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass CreateChannelBanCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, CreateChannelBanCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "CreateChannelBanCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.CreateChannelBanRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.CreateChannelBanResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1CreateChannelBanCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1CreateChannelBanCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelBanCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "CreateChannelCommand": () => (/* binding */ CreateChannelCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass CreateChannelCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, CreateChannelCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "CreateChannelCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.CreateChannelRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.CreateChannelResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1CreateChannelCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1CreateChannelCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelFlowCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "CreateChannelFlowCommand": () => (/* binding */ CreateChannelFlowCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass CreateChannelFlowCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, CreateChannelFlowCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "CreateChannelFlowCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.CreateChannelFlowRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.CreateChannelFlowResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1CreateChannelFlowCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1CreateChannelFlowCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelFlowCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelMembershipCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "CreateChannelMembershipCommand": () => (/* binding */ CreateChannelMembershipCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass CreateChannelMembershipCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, CreateChannelMembershipCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "CreateChannelMembershipCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.CreateChannelMembershipRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.CreateChannelMembershipResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1CreateChannelMembershipCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1CreateChannelMembershipCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelMembershipCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelModeratorCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "CreateChannelModeratorCommand": () => (/* binding */ CreateChannelModeratorCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass CreateChannelModeratorCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, CreateChannelModeratorCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "CreateChannelModeratorCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.CreateChannelModeratorRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.CreateChannelModeratorResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1CreateChannelModeratorCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1CreateChannelModeratorCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelModeratorCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelBanCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "DeleteChannelBanCommand": () => (/* binding */ DeleteChannelBanCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass DeleteChannelBanCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, DeleteChannelBanCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "DeleteChannelBanCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.DeleteChannelBanRequestFilterSensitiveLog,\n outputFilterSensitiveLog: (output) => output,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1DeleteChannelBanCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1DeleteChannelBanCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelBanCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "DeleteChannelCommand": () => (/* binding */ DeleteChannelCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass DeleteChannelCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, DeleteChannelCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "DeleteChannelCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.DeleteChannelRequestFilterSensitiveLog,\n outputFilterSensitiveLog: (output) => output,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1DeleteChannelCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1DeleteChannelCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelFlowCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "DeleteChannelFlowCommand": () => (/* binding */ DeleteChannelFlowCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass DeleteChannelFlowCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, DeleteChannelFlowCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "DeleteChannelFlowCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.DeleteChannelFlowRequestFilterSensitiveLog,\n outputFilterSensitiveLog: (output) => output,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1DeleteChannelFlowCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1DeleteChannelFlowCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelFlowCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelMembershipCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "DeleteChannelMembershipCommand": () => (/* binding */ DeleteChannelMembershipCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass DeleteChannelMembershipCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, DeleteChannelMembershipCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "DeleteChannelMembershipCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.DeleteChannelMembershipRequestFilterSensitiveLog,\n outputFilterSensitiveLog: (output) => output,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1DeleteChannelMembershipCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1DeleteChannelMembershipCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelMembershipCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelMessageCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "DeleteChannelMessageCommand": () => (/* binding */ DeleteChannelMessageCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass DeleteChannelMessageCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, DeleteChannelMessageCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "DeleteChannelMessageCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.DeleteChannelMessageRequestFilterSensitiveLog,\n outputFilterSensitiveLog: (output) => output,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1DeleteChannelMessageCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1DeleteChannelMessageCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelMessageCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelModeratorCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "DeleteChannelModeratorCommand": () => (/* binding */ DeleteChannelModeratorCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass DeleteChannelModeratorCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, DeleteChannelModeratorCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "DeleteChannelModeratorCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.DeleteChannelModeratorRequestFilterSensitiveLog,\n outputFilterSensitiveLog: (output) => output,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1DeleteChannelModeratorCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1DeleteChannelModeratorCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelModeratorCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelBanCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "DescribeChannelBanCommand": () => (/* binding */ DescribeChannelBanCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass DescribeChannelBanCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, DescribeChannelBanCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "DescribeChannelBanCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.DescribeChannelBanRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.DescribeChannelBanResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1DescribeChannelBanCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1DescribeChannelBanCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelBanCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "DescribeChannelCommand": () => (/* binding */ DescribeChannelCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass DescribeChannelCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, DescribeChannelCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "DescribeChannelCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.DescribeChannelRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.DescribeChannelResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1DescribeChannelCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1DescribeChannelCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelFlowCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "DescribeChannelFlowCommand": () => (/* binding */ DescribeChannelFlowCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass DescribeChannelFlowCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, DescribeChannelFlowCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "DescribeChannelFlowCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.DescribeChannelFlowRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.DescribeChannelFlowResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1DescribeChannelFlowCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1DescribeChannelFlowCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelFlowCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelMembershipCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "DescribeChannelMembershipCommand": () => (/* binding */ DescribeChannelMembershipCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass DescribeChannelMembershipCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, DescribeChannelMembershipCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "DescribeChannelMembershipCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.DescribeChannelMembershipRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.DescribeChannelMembershipResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1DescribeChannelMembershipCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1DescribeChannelMembershipCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelMembershipCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "DescribeChannelMembershipForAppInstanceUserCommand": () => (/* binding */ DescribeChannelMembershipForAppInstanceUserCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass DescribeChannelMembershipForAppInstanceUserCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, DescribeChannelMembershipForAppInstanceUserCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "DescribeChannelMembershipForAppInstanceUserCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.DescribeChannelMembershipForAppInstanceUserRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "DescribeChannelModeratedByAppInstanceUserCommand": () => (/* binding */ DescribeChannelModeratedByAppInstanceUserCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass DescribeChannelModeratedByAppInstanceUserCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, DescribeChannelModeratedByAppInstanceUserCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "DescribeChannelModeratedByAppInstanceUserCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.DescribeChannelModeratedByAppInstanceUserRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelModeratorCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "DescribeChannelModeratorCommand": () => (/* binding */ DescribeChannelModeratorCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass DescribeChannelModeratorCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, DescribeChannelModeratorCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "DescribeChannelModeratorCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.DescribeChannelModeratorRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.DescribeChannelModeratorResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1DescribeChannelModeratorCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1DescribeChannelModeratorCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelModeratorCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DisassociateChannelFlowCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "DisassociateChannelFlowCommand": () => (/* binding */ DisassociateChannelFlowCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass DisassociateChannelFlowCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, DisassociateChannelFlowCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "DisassociateChannelFlowCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.DisassociateChannelFlowRequestFilterSensitiveLog,\n outputFilterSensitiveLog: (output) => output,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1DisassociateChannelFlowCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1DisassociateChannelFlowCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DisassociateChannelFlowCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMembershipPreferencesCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "GetChannelMembershipPreferencesCommand": () => (/* binding */ GetChannelMembershipPreferencesCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass GetChannelMembershipPreferencesCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, GetChannelMembershipPreferencesCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "GetChannelMembershipPreferencesCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.GetChannelMembershipPreferencesRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.GetChannelMembershipPreferencesResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1GetChannelMembershipPreferencesCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1GetChannelMembershipPreferencesCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMembershipPreferencesCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMessageCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "GetChannelMessageCommand": () => (/* binding */ GetChannelMessageCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass GetChannelMessageCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, GetChannelMessageCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "GetChannelMessageCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.GetChannelMessageRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.GetChannelMessageResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1GetChannelMessageCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1GetChannelMessageCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMessageCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMessageStatusCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "GetChannelMessageStatusCommand": () => (/* binding */ GetChannelMessageStatusCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass GetChannelMessageStatusCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, GetChannelMessageStatusCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "GetChannelMessageStatusCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.GetChannelMessageStatusRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.GetChannelMessageStatusResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1GetChannelMessageStatusCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1GetChannelMessageStatusCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMessageStatusCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetMessagingSessionEndpointCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "GetMessagingSessionEndpointCommand": () => (/* binding */ GetMessagingSessionEndpointCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass GetMessagingSessionEndpointCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, GetMessagingSessionEndpointCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "GetMessagingSessionEndpointCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.GetMessagingSessionEndpointRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.GetMessagingSessionEndpointResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1GetMessagingSessionEndpointCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1GetMessagingSessionEndpointCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetMessagingSessionEndpointCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelBansCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "ListChannelBansCommand": () => (/* binding */ ListChannelBansCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass ListChannelBansCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, ListChannelBansCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "ListChannelBansCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.ListChannelBansRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.ListChannelBansResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1ListChannelBansCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1ListChannelBansCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelBansCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelFlowsCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "ListChannelFlowsCommand": () => (/* binding */ ListChannelFlowsCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass ListChannelFlowsCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, ListChannelFlowsCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "ListChannelFlowsCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.ListChannelFlowsRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.ListChannelFlowsResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1ListChannelFlowsCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1ListChannelFlowsCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelFlowsCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMembershipsCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "ListChannelMembershipsCommand": () => (/* binding */ ListChannelMembershipsCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass ListChannelMembershipsCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, ListChannelMembershipsCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "ListChannelMembershipsCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.ListChannelMembershipsRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.ListChannelMembershipsResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1ListChannelMembershipsCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1ListChannelMembershipsCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMembershipsCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "ListChannelMembershipsForAppInstanceUserCommand": () => (/* binding */ ListChannelMembershipsForAppInstanceUserCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass ListChannelMembershipsForAppInstanceUserCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, ListChannelMembershipsForAppInstanceUserCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "ListChannelMembershipsForAppInstanceUserCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1ListChannelMembershipsForAppInstanceUserCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1ListChannelMembershipsForAppInstanceUserCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMessagesCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "ListChannelMessagesCommand": () => (/* binding */ ListChannelMessagesCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass ListChannelMessagesCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, ListChannelMessagesCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "ListChannelMessagesCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.ListChannelMessagesRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.ListChannelMessagesResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1ListChannelMessagesCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1ListChannelMessagesCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMessagesCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelModeratorsCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "ListChannelModeratorsCommand": () => (/* binding */ ListChannelModeratorsCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass ListChannelModeratorsCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, ListChannelModeratorsCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "ListChannelModeratorsCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.ListChannelModeratorsRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.ListChannelModeratorsResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1ListChannelModeratorsCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1ListChannelModeratorsCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelModeratorsCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsAssociatedWithChannelFlowCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "ListChannelsAssociatedWithChannelFlowCommand": () => (/* binding */ ListChannelsAssociatedWithChannelFlowCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass ListChannelsAssociatedWithChannelFlowCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, ListChannelsAssociatedWithChannelFlowCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "ListChannelsAssociatedWithChannelFlowCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.ListChannelsAssociatedWithChannelFlowResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1ListChannelsAssociatedWithChannelFlowCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1ListChannelsAssociatedWithChannelFlowCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsAssociatedWithChannelFlowCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "ListChannelsCommand": () => (/* binding */ ListChannelsCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass ListChannelsCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, ListChannelsCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "ListChannelsCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.ListChannelsRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.ListChannelsResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1ListChannelsCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1ListChannelsCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "ListChannelsModeratedByAppInstanceUserCommand": () => (/* binding */ ListChannelsModeratedByAppInstanceUserCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass ListChannelsModeratedByAppInstanceUserCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, ListChannelsModeratedByAppInstanceUserCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "ListChannelsModeratedByAppInstanceUserCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListSubChannelsCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "ListSubChannelsCommand": () => (/* binding */ ListSubChannelsCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass ListSubChannelsCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, ListSubChannelsCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "ListSubChannelsCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.ListSubChannelsRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.ListSubChannelsResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1ListSubChannelsCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1ListSubChannelsCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListSubChannelsCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListTagsForResourceCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "ListTagsForResourceCommand": () => (/* binding */ ListTagsForResourceCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass ListTagsForResourceCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "ListTagsForResourceCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.ListTagsForResourceRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.ListTagsForResourceResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1ListTagsForResourceCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1ListTagsForResourceCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListTagsForResourceCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/PutChannelMembershipPreferencesCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "PutChannelMembershipPreferencesCommand": () => (/* binding */ PutChannelMembershipPreferencesCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass PutChannelMembershipPreferencesCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, PutChannelMembershipPreferencesCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "PutChannelMembershipPreferencesCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.PutChannelMembershipPreferencesRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.PutChannelMembershipPreferencesResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1PutChannelMembershipPreferencesCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1PutChannelMembershipPreferencesCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/PutChannelMembershipPreferencesCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/RedactChannelMessageCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "RedactChannelMessageCommand": () => (/* binding */ RedactChannelMessageCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass RedactChannelMessageCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, RedactChannelMessageCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "RedactChannelMessageCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.RedactChannelMessageRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.RedactChannelMessageResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1RedactChannelMessageCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1RedactChannelMessageCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/RedactChannelMessageCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/SearchChannelsCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "SearchChannelsCommand": () => (/* binding */ SearchChannelsCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass SearchChannelsCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, SearchChannelsCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "SearchChannelsCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.SearchChannelsRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.SearchChannelsResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1SearchChannelsCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1SearchChannelsCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/SearchChannelsCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/SendChannelMessageCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "SendChannelMessageCommand": () => (/* binding */ SendChannelMessageCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass SendChannelMessageCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, SendChannelMessageCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "SendChannelMessageCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.SendChannelMessageRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.SendChannelMessageResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1SendChannelMessageCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1SendChannelMessageCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/SendChannelMessageCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/TagResourceCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "TagResourceCommand": () => (/* binding */ TagResourceCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass TagResourceCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, TagResourceCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "TagResourceCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.TagResourceRequestFilterSensitiveLog,\n outputFilterSensitiveLog: (output) => output,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1TagResourceCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1TagResourceCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/TagResourceCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UntagResourceCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "UntagResourceCommand": () => (/* binding */ UntagResourceCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass UntagResourceCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, UntagResourceCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "UntagResourceCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.UntagResourceRequestFilterSensitiveLog,\n outputFilterSensitiveLog: (output) => output,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1UntagResourceCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1UntagResourceCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UntagResourceCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "UpdateChannelCommand": () => (/* binding */ UpdateChannelCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass UpdateChannelCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, UpdateChannelCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "UpdateChannelCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.UpdateChannelRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.UpdateChannelResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1UpdateChannelCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1UpdateChannelCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelFlowCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "UpdateChannelFlowCommand": () => (/* binding */ UpdateChannelFlowCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass UpdateChannelFlowCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, UpdateChannelFlowCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "UpdateChannelFlowCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.UpdateChannelFlowRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.UpdateChannelFlowResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1UpdateChannelFlowCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1UpdateChannelFlowCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelFlowCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelMessageCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "UpdateChannelMessageCommand": () => (/* binding */ UpdateChannelMessageCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass UpdateChannelMessageCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, UpdateChannelMessageCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "UpdateChannelMessageCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.UpdateChannelMessageRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.UpdateChannelMessageResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1UpdateChannelMessageCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1UpdateChannelMessageCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelMessageCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelReadMarkerCommand.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "UpdateChannelReadMarkerCommand": () => (/* binding */ UpdateChannelReadMarkerCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-endpoint */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js");\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n/* harmony import */ var _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../protocols/Aws_restJson1 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js");\n\n\n\n\n\nclass UpdateChannelReadMarkerCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\n constructor(input) {\n super();\n this.input = input;\n }\n static getEndpointParameterInstructions() {\n return {\n UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },\n Endpoint: { type: "builtInParams", name: "endpoint" },\n Region: { type: "builtInParams", name: "region" },\n UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },\n };\n }\n resolveMiddleware(clientStack, configuration, options) {\n this.middlewareStack.use((0,_aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin)(configuration, this.serialize, this.deserialize));\n this.middlewareStack.use((0,_aws_sdk_middleware_endpoint__WEBPACK_IMPORTED_MODULE_0__.getEndpointPlugin)(configuration, UpdateChannelReadMarkerCommand.getEndpointParameterInstructions()));\n const stack = clientStack.concat(this.middlewareStack);\n const { logger } = configuration;\n const clientName = "ChimeSDKMessagingClient";\n const commandName = "UpdateChannelReadMarkerCommand";\n const handlerExecutionContext = {\n logger,\n clientName,\n commandName,\n inputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.UpdateChannelReadMarkerRequestFilterSensitiveLog,\n outputFilterSensitiveLog: _models_models_0__WEBPACK_IMPORTED_MODULE_3__.UpdateChannelReadMarkerResponseFilterSensitiveLog,\n };\n const { requestHandler } = configuration;\n return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);\n }\n serialize(input, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.serializeAws_restJson1UpdateChannelReadMarkerCommand)(input, context);\n }\n deserialize(output, context) {\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.deserializeAws_restJson1UpdateChannelReadMarkerCommand)(output, context);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelReadMarkerCommand.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "AssociateChannelFlowCommand": () => (/* reexport safe */ _AssociateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_0__.AssociateChannelFlowCommand),\n/* harmony export */ "BatchCreateChannelMembershipCommand": () => (/* reexport safe */ _BatchCreateChannelMembershipCommand__WEBPACK_IMPORTED_MODULE_1__.BatchCreateChannelMembershipCommand),\n/* harmony export */ "ChannelFlowCallbackCommand": () => (/* reexport safe */ _ChannelFlowCallbackCommand__WEBPACK_IMPORTED_MODULE_2__.ChannelFlowCallbackCommand),\n/* harmony export */ "CreateChannelBanCommand": () => (/* reexport safe */ _CreateChannelBanCommand__WEBPACK_IMPORTED_MODULE_3__.CreateChannelBanCommand),\n/* harmony export */ "CreateChannelCommand": () => (/* reexport safe */ _CreateChannelCommand__WEBPACK_IMPORTED_MODULE_4__.CreateChannelCommand),\n/* harmony export */ "CreateChannelFlowCommand": () => (/* reexport safe */ _CreateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_5__.CreateChannelFlowCommand),\n/* harmony export */ "CreateChannelMembershipCommand": () => (/* reexport safe */ _CreateChannelMembershipCommand__WEBPACK_IMPORTED_MODULE_6__.CreateChannelMembershipCommand),\n/* harmony export */ "CreateChannelModeratorCommand": () => (/* reexport safe */ _CreateChannelModeratorCommand__WEBPACK_IMPORTED_MODULE_7__.CreateChannelModeratorCommand),\n/* harmony export */ "DeleteChannelBanCommand": () => (/* reexport safe */ _DeleteChannelBanCommand__WEBPACK_IMPORTED_MODULE_8__.DeleteChannelBanCommand),\n/* harmony export */ "DeleteChannelCommand": () => (/* reexport safe */ _DeleteChannelCommand__WEBPACK_IMPORTED_MODULE_9__.DeleteChannelCommand),\n/* harmony export */ "DeleteChannelFlowCommand": () => (/* reexport safe */ _DeleteChannelFlowCommand__WEBPACK_IMPORTED_MODULE_10__.DeleteChannelFlowCommand),\n/* harmony export */ "DeleteChannelMembershipCommand": () => (/* reexport safe */ _DeleteChannelMembershipCommand__WEBPACK_IMPORTED_MODULE_11__.DeleteChannelMembershipCommand),\n/* harmony export */ "DeleteChannelMessageCommand": () => (/* reexport safe */ _DeleteChannelMessageCommand__WEBPACK_IMPORTED_MODULE_12__.DeleteChannelMessageCommand),\n/* harmony export */ "DeleteChannelModeratorCommand": () => (/* reexport safe */ _DeleteChannelModeratorCommand__WEBPACK_IMPORTED_MODULE_13__.DeleteChannelModeratorCommand),\n/* harmony export */ "DescribeChannelBanCommand": () => (/* reexport safe */ _DescribeChannelBanCommand__WEBPACK_IMPORTED_MODULE_14__.DescribeChannelBanCommand),\n/* harmony export */ "DescribeChannelCommand": () => (/* reexport safe */ _DescribeChannelCommand__WEBPACK_IMPORTED_MODULE_15__.DescribeChannelCommand),\n/* harmony export */ "DescribeChannelFlowCommand": () => (/* reexport safe */ _DescribeChannelFlowCommand__WEBPACK_IMPORTED_MODULE_16__.DescribeChannelFlowCommand),\n/* harmony export */ "DescribeChannelMembershipCommand": () => (/* reexport safe */ _DescribeChannelMembershipCommand__WEBPACK_IMPORTED_MODULE_17__.DescribeChannelMembershipCommand),\n/* harmony export */ "DescribeChannelMembershipForAppInstanceUserCommand": () => (/* reexport safe */ _DescribeChannelMembershipForAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_18__.DescribeChannelMembershipForAppInstanceUserCommand),\n/* harmony export */ "DescribeChannelModeratedByAppInstanceUserCommand": () => (/* reexport safe */ _DescribeChannelModeratedByAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_19__.DescribeChannelModeratedByAppInstanceUserCommand),\n/* harmony export */ "DescribeChannelModeratorCommand": () => (/* reexport safe */ _DescribeChannelModeratorCommand__WEBPACK_IMPORTED_MODULE_20__.DescribeChannelModeratorCommand),\n/* harmony export */ "DisassociateChannelFlowCommand": () => (/* reexport safe */ _DisassociateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_21__.DisassociateChannelFlowCommand),\n/* harmony export */ "GetChannelMembershipPreferencesCommand": () => (/* reexport safe */ _GetChannelMembershipPreferencesCommand__WEBPACK_IMPORTED_MODULE_22__.GetChannelMembershipPreferencesCommand),\n/* harmony export */ "GetChannelMessageCommand": () => (/* reexport safe */ _GetChannelMessageCommand__WEBPACK_IMPORTED_MODULE_23__.GetChannelMessageCommand),\n/* harmony export */ "GetChannelMessageStatusCommand": () => (/* reexport safe */ _GetChannelMessageStatusCommand__WEBPACK_IMPORTED_MODULE_24__.GetChannelMessageStatusCommand),\n/* harmony export */ "GetMessagingSessionEndpointCommand": () => (/* reexport safe */ _GetMessagingSessionEndpointCommand__WEBPACK_IMPORTED_MODULE_25__.GetMessagingSessionEndpointCommand),\n/* harmony export */ "ListChannelBansCommand": () => (/* reexport safe */ _ListChannelBansCommand__WEBPACK_IMPORTED_MODULE_26__.ListChannelBansCommand),\n/* harmony export */ "ListChannelFlowsCommand": () => (/* reexport safe */ _ListChannelFlowsCommand__WEBPACK_IMPORTED_MODULE_27__.ListChannelFlowsCommand),\n/* harmony export */ "ListChannelMembershipsCommand": () => (/* reexport safe */ _ListChannelMembershipsCommand__WEBPACK_IMPORTED_MODULE_28__.ListChannelMembershipsCommand),\n/* harmony export */ "ListChannelMembershipsForAppInstanceUserCommand": () => (/* reexport safe */ _ListChannelMembershipsForAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_29__.ListChannelMembershipsForAppInstanceUserCommand),\n/* harmony export */ "ListChannelMessagesCommand": () => (/* reexport safe */ _ListChannelMessagesCommand__WEBPACK_IMPORTED_MODULE_30__.ListChannelMessagesCommand),\n/* harmony export */ "ListChannelModeratorsCommand": () => (/* reexport safe */ _ListChannelModeratorsCommand__WEBPACK_IMPORTED_MODULE_31__.ListChannelModeratorsCommand),\n/* harmony export */ "ListChannelsAssociatedWithChannelFlowCommand": () => (/* reexport safe */ _ListChannelsAssociatedWithChannelFlowCommand__WEBPACK_IMPORTED_MODULE_32__.ListChannelsAssociatedWithChannelFlowCommand),\n/* harmony export */ "ListChannelsCommand": () => (/* reexport safe */ _ListChannelsCommand__WEBPACK_IMPORTED_MODULE_33__.ListChannelsCommand),\n/* harmony export */ "ListChannelsModeratedByAppInstanceUserCommand": () => (/* reexport safe */ _ListChannelsModeratedByAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_34__.ListChannelsModeratedByAppInstanceUserCommand),\n/* harmony export */ "ListSubChannelsCommand": () => (/* reexport safe */ _ListSubChannelsCommand__WEBPACK_IMPORTED_MODULE_35__.ListSubChannelsCommand),\n/* harmony export */ "ListTagsForResourceCommand": () => (/* reexport safe */ _ListTagsForResourceCommand__WEBPACK_IMPORTED_MODULE_36__.ListTagsForResourceCommand),\n/* harmony export */ "PutChannelMembershipPreferencesCommand": () => (/* reexport safe */ _PutChannelMembershipPreferencesCommand__WEBPACK_IMPORTED_MODULE_37__.PutChannelMembershipPreferencesCommand),\n/* harmony export */ "RedactChannelMessageCommand": () => (/* reexport safe */ _RedactChannelMessageCommand__WEBPACK_IMPORTED_MODULE_38__.RedactChannelMessageCommand),\n/* harmony export */ "SearchChannelsCommand": () => (/* reexport safe */ _SearchChannelsCommand__WEBPACK_IMPORTED_MODULE_39__.SearchChannelsCommand),\n/* harmony export */ "SendChannelMessageCommand": () => (/* reexport safe */ _SendChannelMessageCommand__WEBPACK_IMPORTED_MODULE_40__.SendChannelMessageCommand),\n/* harmony export */ "TagResourceCommand": () => (/* reexport safe */ _TagResourceCommand__WEBPACK_IMPORTED_MODULE_41__.TagResourceCommand),\n/* harmony export */ "UntagResourceCommand": () => (/* reexport safe */ _UntagResourceCommand__WEBPACK_IMPORTED_MODULE_42__.UntagResourceCommand),\n/* harmony export */ "UpdateChannelCommand": () => (/* reexport safe */ _UpdateChannelCommand__WEBPACK_IMPORTED_MODULE_43__.UpdateChannelCommand),\n/* harmony export */ "UpdateChannelFlowCommand": () => (/* reexport safe */ _UpdateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_44__.UpdateChannelFlowCommand),\n/* harmony export */ "UpdateChannelMessageCommand": () => (/* reexport safe */ _UpdateChannelMessageCommand__WEBPACK_IMPORTED_MODULE_45__.UpdateChannelMessageCommand),\n/* harmony export */ "UpdateChannelReadMarkerCommand": () => (/* reexport safe */ _UpdateChannelReadMarkerCommand__WEBPACK_IMPORTED_MODULE_46__.UpdateChannelReadMarkerCommand)\n/* harmony export */ });\n/* harmony import */ var _AssociateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AssociateChannelFlowCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/AssociateChannelFlowCommand.js");\n/* harmony import */ var _BatchCreateChannelMembershipCommand__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BatchCreateChannelMembershipCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/BatchCreateChannelMembershipCommand.js");\n/* harmony import */ var _ChannelFlowCallbackCommand__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ChannelFlowCallbackCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ChannelFlowCallbackCommand.js");\n/* harmony import */ var _CreateChannelBanCommand__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./CreateChannelBanCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelBanCommand.js");\n/* harmony import */ var _CreateChannelCommand__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./CreateChannelCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelCommand.js");\n/* harmony import */ var _CreateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./CreateChannelFlowCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelFlowCommand.js");\n/* harmony import */ var _CreateChannelMembershipCommand__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./CreateChannelMembershipCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelMembershipCommand.js");\n/* harmony import */ var _CreateChannelModeratorCommand__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./CreateChannelModeratorCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelModeratorCommand.js");\n/* harmony import */ var _DeleteChannelBanCommand__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./DeleteChannelBanCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelBanCommand.js");\n/* harmony import */ var _DeleteChannelCommand__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./DeleteChannelCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelCommand.js");\n/* harmony import */ var _DeleteChannelFlowCommand__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./DeleteChannelFlowCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelFlowCommand.js");\n/* harmony import */ var _DeleteChannelMembershipCommand__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./DeleteChannelMembershipCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelMembershipCommand.js");\n/* harmony import */ var _DeleteChannelMessageCommand__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./DeleteChannelMessageCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelMessageCommand.js");\n/* harmony import */ var _DeleteChannelModeratorCommand__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./DeleteChannelModeratorCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelModeratorCommand.js");\n/* harmony import */ var _DescribeChannelBanCommand__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./DescribeChannelBanCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelBanCommand.js");\n/* harmony import */ var _DescribeChannelCommand__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./DescribeChannelCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelCommand.js");\n/* harmony import */ var _DescribeChannelFlowCommand__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./DescribeChannelFlowCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelFlowCommand.js");\n/* harmony import */ var _DescribeChannelMembershipCommand__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./DescribeChannelMembershipCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelMembershipCommand.js");\n/* harmony import */ var _DescribeChannelMembershipForAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./DescribeChannelMembershipForAppInstanceUserCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js");\n/* harmony import */ var _DescribeChannelModeratedByAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./DescribeChannelModeratedByAppInstanceUserCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js");\n/* harmony import */ var _DescribeChannelModeratorCommand__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./DescribeChannelModeratorCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelModeratorCommand.js");\n/* harmony import */ var _DisassociateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./DisassociateChannelFlowCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DisassociateChannelFlowCommand.js");\n/* harmony import */ var _GetChannelMembershipPreferencesCommand__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./GetChannelMembershipPreferencesCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMembershipPreferencesCommand.js");\n/* harmony import */ var _GetChannelMessageCommand__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./GetChannelMessageCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMessageCommand.js");\n/* harmony import */ var _GetChannelMessageStatusCommand__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./GetChannelMessageStatusCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMessageStatusCommand.js");\n/* harmony import */ var _GetMessagingSessionEndpointCommand__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./GetMessagingSessionEndpointCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetMessagingSessionEndpointCommand.js");\n/* harmony import */ var _ListChannelBansCommand__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./ListChannelBansCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelBansCommand.js");\n/* harmony import */ var _ListChannelFlowsCommand__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./ListChannelFlowsCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelFlowsCommand.js");\n/* harmony import */ var _ListChannelMembershipsCommand__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./ListChannelMembershipsCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMembershipsCommand.js");\n/* harmony import */ var _ListChannelMembershipsForAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./ListChannelMembershipsForAppInstanceUserCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js");\n/* harmony import */ var _ListChannelMessagesCommand__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./ListChannelMessagesCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMessagesCommand.js");\n/* harmony import */ var _ListChannelModeratorsCommand__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./ListChannelModeratorsCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelModeratorsCommand.js");\n/* harmony import */ var _ListChannelsAssociatedWithChannelFlowCommand__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./ListChannelsAssociatedWithChannelFlowCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsAssociatedWithChannelFlowCommand.js");\n/* harmony import */ var _ListChannelsCommand__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./ListChannelsCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsCommand.js");\n/* harmony import */ var _ListChannelsModeratedByAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./ListChannelsModeratedByAppInstanceUserCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js");\n/* harmony import */ var _ListSubChannelsCommand__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./ListSubChannelsCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListSubChannelsCommand.js");\n/* harmony import */ var _ListTagsForResourceCommand__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./ListTagsForResourceCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListTagsForResourceCommand.js");\n/* harmony import */ var _PutChannelMembershipPreferencesCommand__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./PutChannelMembershipPreferencesCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/PutChannelMembershipPreferencesCommand.js");\n/* harmony import */ var _RedactChannelMessageCommand__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./RedactChannelMessageCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/RedactChannelMessageCommand.js");\n/* harmony import */ var _SearchChannelsCommand__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./SearchChannelsCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/SearchChannelsCommand.js");\n/* harmony import */ var _SendChannelMessageCommand__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./SendChannelMessageCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/SendChannelMessageCommand.js");\n/* harmony import */ var _TagResourceCommand__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./TagResourceCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/TagResourceCommand.js");\n/* harmony import */ var _UntagResourceCommand__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./UntagResourceCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UntagResourceCommand.js");\n/* harmony import */ var _UpdateChannelCommand__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./UpdateChannelCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelCommand.js");\n/* harmony import */ var _UpdateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./UpdateChannelFlowCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelFlowCommand.js");\n/* harmony import */ var _UpdateChannelMessageCommand__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./UpdateChannelMessageCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelMessageCommand.js");\n/* harmony import */ var _UpdateChannelReadMarkerCommand__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./UpdateChannelReadMarkerCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelReadMarkerCommand.js");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/index.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/endpoint/EndpointParameters.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "resolveClientEndpointParameters": () => (/* binding */ resolveClientEndpointParameters)\n/* harmony export */ });\nconst resolveClientEndpointParameters = (options) => {\n return {\n ...options,\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: "chime",\n };\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/endpoint/EndpointParameters.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/endpoint/endpointResolver.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "defaultEndpointResolver": () => (/* binding */ defaultEndpointResolver)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_util_endpoints__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/util-endpoints */ "./node_modules/@aws-sdk/util-endpoints/dist-es/index.js");\n/* harmony import */ var _ruleset__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ruleset */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/endpoint/ruleset.js");\n\n\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return (0,_aws_sdk_util_endpoints__WEBPACK_IMPORTED_MODULE_0__.resolveEndpoint)(_ruleset__WEBPACK_IMPORTED_MODULE_1__.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n });\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/endpoint/endpointResolver.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/endpoint/ruleset.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "ruleSet": () => (/* binding */ ruleSet)\n/* harmony export */ });\nconst r = "fn", s = "argv", t = "ref";\nconst a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [t]: "Endpoint" }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, k = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, l = {}, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsFIPS"] }] }, n = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsDualStack"] }] }, o = [i], p = [j], q = [k];\nconst _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [r]: "aws.partition", [s]: [{ [t]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [r]: "isSet", [s]: o }, { [r]: "parseURL", [s]: o, assign: "url" }], type: e, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://messaging-chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://messaging-chime-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://messaging-chime.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://messaging-chime.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };\nconst ruleSet = _data;\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/endpoint/ruleset.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "AllowNotifications": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.AllowNotifications),\n/* harmony export */ "AppInstanceUserMembershipSummaryFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.AppInstanceUserMembershipSummaryFilterSensitiveLog),\n/* harmony export */ "AssociateChannelFlowCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.AssociateChannelFlowCommand),\n/* harmony export */ "AssociateChannelFlowRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.AssociateChannelFlowRequestFilterSensitiveLog),\n/* harmony export */ "BadRequestException": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.BadRequestException),\n/* harmony export */ "BatchChannelMembershipsFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.BatchChannelMembershipsFilterSensitiveLog),\n/* harmony export */ "BatchCreateChannelMembershipCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.BatchCreateChannelMembershipCommand),\n/* harmony export */ "BatchCreateChannelMembershipErrorFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.BatchCreateChannelMembershipErrorFilterSensitiveLog),\n/* harmony export */ "BatchCreateChannelMembershipRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.BatchCreateChannelMembershipRequestFilterSensitiveLog),\n/* harmony export */ "BatchCreateChannelMembershipResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.BatchCreateChannelMembershipResponseFilterSensitiveLog),\n/* harmony export */ "ChannelAssociatedWithFlowSummaryFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ChannelAssociatedWithFlowSummaryFilterSensitiveLog),\n/* harmony export */ "ChannelBanFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ChannelBanFilterSensitiveLog),\n/* harmony export */ "ChannelBanSummaryFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ChannelBanSummaryFilterSensitiveLog),\n/* harmony export */ "ChannelFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ChannelFilterSensitiveLog),\n/* harmony export */ "ChannelFlowCallbackCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.ChannelFlowCallbackCommand),\n/* harmony export */ "ChannelFlowCallbackRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ChannelFlowCallbackRequestFilterSensitiveLog),\n/* harmony export */ "ChannelFlowCallbackResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ChannelFlowCallbackResponseFilterSensitiveLog),\n/* harmony export */ "ChannelFlowFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ChannelFlowFilterSensitiveLog),\n/* harmony export */ "ChannelFlowSummaryFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ChannelFlowSummaryFilterSensitiveLog),\n/* harmony export */ "ChannelMembershipFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ChannelMembershipFilterSensitiveLog),\n/* harmony export */ "ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog),\n/* harmony export */ "ChannelMembershipPreferencesFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ChannelMembershipPreferencesFilterSensitiveLog),\n/* harmony export */ "ChannelMembershipSummaryFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ChannelMembershipSummaryFilterSensitiveLog),\n/* harmony export */ "ChannelMembershipType": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ChannelMembershipType),\n/* harmony export */ "ChannelMessageCallbackFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ChannelMessageCallbackFilterSensitiveLog),\n/* harmony export */ "ChannelMessageFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ChannelMessageFilterSensitiveLog),\n/* harmony export */ "ChannelMessagePersistenceType": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ChannelMessagePersistenceType),\n/* harmony export */ "ChannelMessageStatus": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ChannelMessageStatus),\n/* harmony export */ "ChannelMessageStatusStructureFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ChannelMessageStatusStructureFilterSensitiveLog),\n/* harmony export */ "ChannelMessageSummaryFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ChannelMessageSummaryFilterSensitiveLog),\n/* harmony export */ "ChannelMessageType": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ChannelMessageType),\n/* harmony export */ "ChannelMode": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ChannelMode),\n/* harmony export */ "ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog),\n/* harmony export */ "ChannelModeratorFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ChannelModeratorFilterSensitiveLog),\n/* harmony export */ "ChannelModeratorSummaryFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ChannelModeratorSummaryFilterSensitiveLog),\n/* harmony export */ "ChannelPrivacy": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ChannelPrivacy),\n/* harmony export */ "ChannelSummaryFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ChannelSummaryFilterSensitiveLog),\n/* harmony export */ "ChimeSDKMessaging": () => (/* reexport safe */ _ChimeSDKMessaging__WEBPACK_IMPORTED_MODULE_0__.ChimeSDKMessaging),\n/* harmony export */ "ChimeSDKMessagingClient": () => (/* reexport safe */ _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_1__.ChimeSDKMessagingClient),\n/* harmony export */ "ChimeSDKMessagingServiceException": () => (/* reexport safe */ _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_5__.ChimeSDKMessagingServiceException),\n/* harmony export */ "ConflictException": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ConflictException),\n/* harmony export */ "CreateChannelBanCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.CreateChannelBanCommand),\n/* harmony export */ "CreateChannelBanRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.CreateChannelBanRequestFilterSensitiveLog),\n/* harmony export */ "CreateChannelBanResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.CreateChannelBanResponseFilterSensitiveLog),\n/* harmony export */ "CreateChannelCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.CreateChannelCommand),\n/* harmony export */ "CreateChannelFlowCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.CreateChannelFlowCommand),\n/* harmony export */ "CreateChannelFlowRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.CreateChannelFlowRequestFilterSensitiveLog),\n/* harmony export */ "CreateChannelFlowResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.CreateChannelFlowResponseFilterSensitiveLog),\n/* harmony export */ "CreateChannelMembershipCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.CreateChannelMembershipCommand),\n/* harmony export */ "CreateChannelMembershipRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.CreateChannelMembershipRequestFilterSensitiveLog),\n/* harmony export */ "CreateChannelMembershipResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.CreateChannelMembershipResponseFilterSensitiveLog),\n/* harmony export */ "CreateChannelModeratorCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.CreateChannelModeratorCommand),\n/* harmony export */ "CreateChannelModeratorRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.CreateChannelModeratorRequestFilterSensitiveLog),\n/* harmony export */ "CreateChannelModeratorResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.CreateChannelModeratorResponseFilterSensitiveLog),\n/* harmony export */ "CreateChannelRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.CreateChannelRequestFilterSensitiveLog),\n/* harmony export */ "CreateChannelResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.CreateChannelResponseFilterSensitiveLog),\n/* harmony export */ "DeleteChannelBanCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DeleteChannelBanCommand),\n/* harmony export */ "DeleteChannelBanRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.DeleteChannelBanRequestFilterSensitiveLog),\n/* harmony export */ "DeleteChannelCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DeleteChannelCommand),\n/* harmony export */ "DeleteChannelFlowCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DeleteChannelFlowCommand),\n/* harmony export */ "DeleteChannelFlowRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.DeleteChannelFlowRequestFilterSensitiveLog),\n/* harmony export */ "DeleteChannelMembershipCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DeleteChannelMembershipCommand),\n/* harmony export */ "DeleteChannelMembershipRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.DeleteChannelMembershipRequestFilterSensitiveLog),\n/* harmony export */ "DeleteChannelMessageCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DeleteChannelMessageCommand),\n/* harmony export */ "DeleteChannelMessageRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.DeleteChannelMessageRequestFilterSensitiveLog),\n/* harmony export */ "DeleteChannelModeratorCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DeleteChannelModeratorCommand),\n/* harmony export */ "DeleteChannelModeratorRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.DeleteChannelModeratorRequestFilterSensitiveLog),\n/* harmony export */ "DeleteChannelRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.DeleteChannelRequestFilterSensitiveLog),\n/* harmony export */ "DescribeChannelBanCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DescribeChannelBanCommand),\n/* harmony export */ "DescribeChannelBanRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.DescribeChannelBanRequestFilterSensitiveLog),\n/* harmony export */ "DescribeChannelBanResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.DescribeChannelBanResponseFilterSensitiveLog),\n/* harmony export */ "DescribeChannelCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DescribeChannelCommand),\n/* harmony export */ "DescribeChannelFlowCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DescribeChannelFlowCommand),\n/* harmony export */ "DescribeChannelFlowRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.DescribeChannelFlowRequestFilterSensitiveLog),\n/* harmony export */ "DescribeChannelFlowResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.DescribeChannelFlowResponseFilterSensitiveLog),\n/* harmony export */ "DescribeChannelMembershipCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DescribeChannelMembershipCommand),\n/* harmony export */ "DescribeChannelMembershipForAppInstanceUserCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DescribeChannelMembershipForAppInstanceUserCommand),\n/* harmony export */ "DescribeChannelMembershipForAppInstanceUserRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.DescribeChannelMembershipForAppInstanceUserRequestFilterSensitiveLog),\n/* harmony export */ "DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog),\n/* harmony export */ "DescribeChannelMembershipRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.DescribeChannelMembershipRequestFilterSensitiveLog),\n/* harmony export */ "DescribeChannelMembershipResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.DescribeChannelMembershipResponseFilterSensitiveLog),\n/* harmony export */ "DescribeChannelModeratedByAppInstanceUserCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DescribeChannelModeratedByAppInstanceUserCommand),\n/* harmony export */ "DescribeChannelModeratedByAppInstanceUserRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.DescribeChannelModeratedByAppInstanceUserRequestFilterSensitiveLog),\n/* harmony export */ "DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog),\n/* harmony export */ "DescribeChannelModeratorCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DescribeChannelModeratorCommand),\n/* harmony export */ "DescribeChannelModeratorRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.DescribeChannelModeratorRequestFilterSensitiveLog),\n/* harmony export */ "DescribeChannelModeratorResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.DescribeChannelModeratorResponseFilterSensitiveLog),\n/* harmony export */ "DescribeChannelRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.DescribeChannelRequestFilterSensitiveLog),\n/* harmony export */ "DescribeChannelResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.DescribeChannelResponseFilterSensitiveLog),\n/* harmony export */ "DisassociateChannelFlowCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DisassociateChannelFlowCommand),\n/* harmony export */ "DisassociateChannelFlowRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.DisassociateChannelFlowRequestFilterSensitiveLog),\n/* harmony export */ "ElasticChannelConfigurationFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ElasticChannelConfigurationFilterSensitiveLog),\n/* harmony export */ "ErrorCode": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ErrorCode),\n/* harmony export */ "FallbackAction": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.FallbackAction),\n/* harmony export */ "ForbiddenException": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ForbiddenException),\n/* harmony export */ "GetChannelMembershipPreferencesCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.GetChannelMembershipPreferencesCommand),\n/* harmony export */ "GetChannelMembershipPreferencesRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.GetChannelMembershipPreferencesRequestFilterSensitiveLog),\n/* harmony export */ "GetChannelMembershipPreferencesResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.GetChannelMembershipPreferencesResponseFilterSensitiveLog),\n/* harmony export */ "GetChannelMessageCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.GetChannelMessageCommand),\n/* harmony export */ "GetChannelMessageRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.GetChannelMessageRequestFilterSensitiveLog),\n/* harmony export */ "GetChannelMessageResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.GetChannelMessageResponseFilterSensitiveLog),\n/* harmony export */ "GetChannelMessageStatusCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.GetChannelMessageStatusCommand),\n/* harmony export */ "GetChannelMessageStatusRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.GetChannelMessageStatusRequestFilterSensitiveLog),\n/* harmony export */ "GetChannelMessageStatusResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.GetChannelMessageStatusResponseFilterSensitiveLog),\n/* harmony export */ "GetMessagingSessionEndpointCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.GetMessagingSessionEndpointCommand),\n/* harmony export */ "GetMessagingSessionEndpointRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.GetMessagingSessionEndpointRequestFilterSensitiveLog),\n/* harmony export */ "GetMessagingSessionEndpointResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.GetMessagingSessionEndpointResponseFilterSensitiveLog),\n/* harmony export */ "IdentityFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.IdentityFilterSensitiveLog),\n/* harmony export */ "InvocationType": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.InvocationType),\n/* harmony export */ "LambdaConfigurationFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.LambdaConfigurationFilterSensitiveLog),\n/* harmony export */ "ListChannelBansCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.ListChannelBansCommand),\n/* harmony export */ "ListChannelBansRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ListChannelBansRequestFilterSensitiveLog),\n/* harmony export */ "ListChannelBansResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ListChannelBansResponseFilterSensitiveLog),\n/* harmony export */ "ListChannelFlowsCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.ListChannelFlowsCommand),\n/* harmony export */ "ListChannelFlowsRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ListChannelFlowsRequestFilterSensitiveLog),\n/* harmony export */ "ListChannelFlowsResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ListChannelFlowsResponseFilterSensitiveLog),\n/* harmony export */ "ListChannelMembershipsCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.ListChannelMembershipsCommand),\n/* harmony export */ "ListChannelMembershipsForAppInstanceUserCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.ListChannelMembershipsForAppInstanceUserCommand),\n/* harmony export */ "ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog),\n/* harmony export */ "ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog),\n/* harmony export */ "ListChannelMembershipsRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ListChannelMembershipsRequestFilterSensitiveLog),\n/* harmony export */ "ListChannelMembershipsResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ListChannelMembershipsResponseFilterSensitiveLog),\n/* harmony export */ "ListChannelMessagesCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.ListChannelMessagesCommand),\n/* harmony export */ "ListChannelMessagesRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ListChannelMessagesRequestFilterSensitiveLog),\n/* harmony export */ "ListChannelMessagesResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ListChannelMessagesResponseFilterSensitiveLog),\n/* harmony export */ "ListChannelModeratorsCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.ListChannelModeratorsCommand),\n/* harmony export */ "ListChannelModeratorsRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ListChannelModeratorsRequestFilterSensitiveLog),\n/* harmony export */ "ListChannelModeratorsResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ListChannelModeratorsResponseFilterSensitiveLog),\n/* harmony export */ "ListChannelsAssociatedWithChannelFlowCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.ListChannelsAssociatedWithChannelFlowCommand),\n/* harmony export */ "ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog),\n/* harmony export */ "ListChannelsAssociatedWithChannelFlowResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ListChannelsAssociatedWithChannelFlowResponseFilterSensitiveLog),\n/* harmony export */ "ListChannelsCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.ListChannelsCommand),\n/* harmony export */ "ListChannelsModeratedByAppInstanceUserCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.ListChannelsModeratedByAppInstanceUserCommand),\n/* harmony export */ "ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog),\n/* harmony export */ "ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog),\n/* harmony export */ "ListChannelsRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ListChannelsRequestFilterSensitiveLog),\n/* harmony export */ "ListChannelsResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ListChannelsResponseFilterSensitiveLog),\n/* harmony export */ "ListSubChannelsCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.ListSubChannelsCommand),\n/* harmony export */ "ListSubChannelsRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ListSubChannelsRequestFilterSensitiveLog),\n/* harmony export */ "ListSubChannelsResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ListSubChannelsResponseFilterSensitiveLog),\n/* harmony export */ "ListTagsForResourceCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.ListTagsForResourceCommand),\n/* harmony export */ "ListTagsForResourceRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ListTagsForResourceRequestFilterSensitiveLog),\n/* harmony export */ "ListTagsForResourceResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ListTagsForResourceResponseFilterSensitiveLog),\n/* harmony export */ "MessageAttributeValueFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.MessageAttributeValueFilterSensitiveLog),\n/* harmony export */ "MessagingSessionEndpointFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.MessagingSessionEndpointFilterSensitiveLog),\n/* harmony export */ "NotFoundException": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.NotFoundException),\n/* harmony export */ "ProcessorConfigurationFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ProcessorConfigurationFilterSensitiveLog),\n/* harmony export */ "ProcessorFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ProcessorFilterSensitiveLog),\n/* harmony export */ "PushNotificationConfigurationFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.PushNotificationConfigurationFilterSensitiveLog),\n/* harmony export */ "PushNotificationPreferencesFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.PushNotificationPreferencesFilterSensitiveLog),\n/* harmony export */ "PushNotificationType": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.PushNotificationType),\n/* harmony export */ "PutChannelMembershipPreferencesCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.PutChannelMembershipPreferencesCommand),\n/* harmony export */ "PutChannelMembershipPreferencesRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.PutChannelMembershipPreferencesRequestFilterSensitiveLog),\n/* harmony export */ "PutChannelMembershipPreferencesResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.PutChannelMembershipPreferencesResponseFilterSensitiveLog),\n/* harmony export */ "RedactChannelMessageCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.RedactChannelMessageCommand),\n/* harmony export */ "RedactChannelMessageRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.RedactChannelMessageRequestFilterSensitiveLog),\n/* harmony export */ "RedactChannelMessageResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.RedactChannelMessageResponseFilterSensitiveLog),\n/* harmony export */ "ResourceLimitExceededException": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ResourceLimitExceededException),\n/* harmony export */ "SearchChannelsCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.SearchChannelsCommand),\n/* harmony export */ "SearchChannelsRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.SearchChannelsRequestFilterSensitiveLog),\n/* harmony export */ "SearchChannelsResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.SearchChannelsResponseFilterSensitiveLog),\n/* harmony export */ "SearchFieldFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.SearchFieldFilterSensitiveLog),\n/* harmony export */ "SearchFieldKey": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.SearchFieldKey),\n/* harmony export */ "SearchFieldOperator": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.SearchFieldOperator),\n/* harmony export */ "SendChannelMessageCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.SendChannelMessageCommand),\n/* harmony export */ "SendChannelMessageRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.SendChannelMessageRequestFilterSensitiveLog),\n/* harmony export */ "SendChannelMessageResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.SendChannelMessageResponseFilterSensitiveLog),\n/* harmony export */ "ServiceFailureException": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ServiceFailureException),\n/* harmony export */ "ServiceUnavailableException": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ServiceUnavailableException),\n/* harmony export */ "SortOrder": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.SortOrder),\n/* harmony export */ "SubChannelSummaryFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.SubChannelSummaryFilterSensitiveLog),\n/* harmony export */ "TagFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.TagFilterSensitiveLog),\n/* harmony export */ "TagResourceCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.TagResourceCommand),\n/* harmony export */ "TagResourceRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.TagResourceRequestFilterSensitiveLog),\n/* harmony export */ "ThrottledClientException": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.ThrottledClientException),\n/* harmony export */ "UnauthorizedClientException": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.UnauthorizedClientException),\n/* harmony export */ "UntagResourceCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.UntagResourceCommand),\n/* harmony export */ "UntagResourceRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.UntagResourceRequestFilterSensitiveLog),\n/* harmony export */ "UpdateChannelCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.UpdateChannelCommand),\n/* harmony export */ "UpdateChannelFlowCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.UpdateChannelFlowCommand),\n/* harmony export */ "UpdateChannelFlowRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.UpdateChannelFlowRequestFilterSensitiveLog),\n/* harmony export */ "UpdateChannelFlowResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.UpdateChannelFlowResponseFilterSensitiveLog),\n/* harmony export */ "UpdateChannelMessageCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.UpdateChannelMessageCommand),\n/* harmony export */ "UpdateChannelMessageRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.UpdateChannelMessageRequestFilterSensitiveLog),\n/* harmony export */ "UpdateChannelMessageResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.UpdateChannelMessageResponseFilterSensitiveLog),\n/* harmony export */ "UpdateChannelReadMarkerCommand": () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.UpdateChannelReadMarkerCommand),\n/* harmony export */ "UpdateChannelReadMarkerRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.UpdateChannelReadMarkerRequestFilterSensitiveLog),\n/* harmony export */ "UpdateChannelReadMarkerResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.UpdateChannelReadMarkerResponseFilterSensitiveLog),\n/* harmony export */ "UpdateChannelRequestFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.UpdateChannelRequestFilterSensitiveLog),\n/* harmony export */ "UpdateChannelResponseFilterSensitiveLog": () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_3__.UpdateChannelResponseFilterSensitiveLog),\n/* harmony export */ "paginateListChannelBans": () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_4__.paginateListChannelBans),\n/* harmony export */ "paginateListChannelFlows": () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_4__.paginateListChannelFlows),\n/* harmony export */ "paginateListChannelMemberships": () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_4__.paginateListChannelMemberships),\n/* harmony export */ "paginateListChannelMembershipsForAppInstanceUser": () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_4__.paginateListChannelMembershipsForAppInstanceUser),\n/* harmony export */ "paginateListChannelMessages": () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_4__.paginateListChannelMessages),\n/* harmony export */ "paginateListChannelModerators": () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_4__.paginateListChannelModerators),\n/* harmony export */ "paginateListChannels": () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_4__.paginateListChannels),\n/* harmony export */ "paginateListChannelsAssociatedWithChannelFlow": () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_4__.paginateListChannelsAssociatedWithChannelFlow),\n/* harmony export */ "paginateListChannelsModeratedByAppInstanceUser": () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_4__.paginateListChannelsModeratedByAppInstanceUser),\n/* harmony export */ "paginateListSubChannels": () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_4__.paginateListSubChannels),\n/* harmony export */ "paginateSearchChannels": () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_4__.paginateSearchChannels)\n/* harmony export */ });\n/* harmony import */ var _ChimeSDKMessaging__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ChimeSDKMessaging */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessaging.js");\n/* harmony import */ var _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ChimeSDKMessagingClient */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessagingClient.js");\n/* harmony import */ var _commands__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commands */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/index.js");\n/* harmony import */ var _models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./models */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/index.js");\n/* harmony import */ var _pagination__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./pagination */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/index.js");\n/* harmony import */ var _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./models/ChimeSDKMessagingServiceException */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/ChimeSDKMessagingServiceException.js");\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/index.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/ChimeSDKMessagingServiceException.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "ChimeSDKMessagingServiceException": () => (/* binding */ ChimeSDKMessagingServiceException)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n\nclass ChimeSDKMessagingServiceException extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.ServiceException {\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, ChimeSDKMessagingServiceException.prototype);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/ChimeSDKMessagingServiceException.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "AllowNotifications": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.AllowNotifications),\n/* harmony export */ "AppInstanceUserMembershipSummaryFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.AppInstanceUserMembershipSummaryFilterSensitiveLog),\n/* harmony export */ "AssociateChannelFlowRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.AssociateChannelFlowRequestFilterSensitiveLog),\n/* harmony export */ "BadRequestException": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.BadRequestException),\n/* harmony export */ "BatchChannelMembershipsFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.BatchChannelMembershipsFilterSensitiveLog),\n/* harmony export */ "BatchCreateChannelMembershipErrorFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.BatchCreateChannelMembershipErrorFilterSensitiveLog),\n/* harmony export */ "BatchCreateChannelMembershipRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.BatchCreateChannelMembershipRequestFilterSensitiveLog),\n/* harmony export */ "BatchCreateChannelMembershipResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.BatchCreateChannelMembershipResponseFilterSensitiveLog),\n/* harmony export */ "ChannelAssociatedWithFlowSummaryFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ChannelAssociatedWithFlowSummaryFilterSensitiveLog),\n/* harmony export */ "ChannelBanFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ChannelBanFilterSensitiveLog),\n/* harmony export */ "ChannelBanSummaryFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ChannelBanSummaryFilterSensitiveLog),\n/* harmony export */ "ChannelFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ChannelFilterSensitiveLog),\n/* harmony export */ "ChannelFlowCallbackRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ChannelFlowCallbackRequestFilterSensitiveLog),\n/* harmony export */ "ChannelFlowCallbackResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ChannelFlowCallbackResponseFilterSensitiveLog),\n/* harmony export */ "ChannelFlowFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ChannelFlowFilterSensitiveLog),\n/* harmony export */ "ChannelFlowSummaryFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ChannelFlowSummaryFilterSensitiveLog),\n/* harmony export */ "ChannelMembershipFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ChannelMembershipFilterSensitiveLog),\n/* harmony export */ "ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog),\n/* harmony export */ "ChannelMembershipPreferencesFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ChannelMembershipPreferencesFilterSensitiveLog),\n/* harmony export */ "ChannelMembershipSummaryFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ChannelMembershipSummaryFilterSensitiveLog),\n/* harmony export */ "ChannelMembershipType": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ChannelMembershipType),\n/* harmony export */ "ChannelMessageCallbackFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ChannelMessageCallbackFilterSensitiveLog),\n/* harmony export */ "ChannelMessageFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ChannelMessageFilterSensitiveLog),\n/* harmony export */ "ChannelMessagePersistenceType": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ChannelMessagePersistenceType),\n/* harmony export */ "ChannelMessageStatus": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ChannelMessageStatus),\n/* harmony export */ "ChannelMessageStatusStructureFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ChannelMessageStatusStructureFilterSensitiveLog),\n/* harmony export */ "ChannelMessageSummaryFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ChannelMessageSummaryFilterSensitiveLog),\n/* harmony export */ "ChannelMessageType": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ChannelMessageType),\n/* harmony export */ "ChannelMode": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ChannelMode),\n/* harmony export */ "ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog),\n/* harmony export */ "ChannelModeratorFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ChannelModeratorFilterSensitiveLog),\n/* harmony export */ "ChannelModeratorSummaryFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ChannelModeratorSummaryFilterSensitiveLog),\n/* harmony export */ "ChannelPrivacy": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ChannelPrivacy),\n/* harmony export */ "ChannelSummaryFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ChannelSummaryFilterSensitiveLog),\n/* harmony export */ "ConflictException": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ConflictException),\n/* harmony export */ "CreateChannelBanRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.CreateChannelBanRequestFilterSensitiveLog),\n/* harmony export */ "CreateChannelBanResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.CreateChannelBanResponseFilterSensitiveLog),\n/* harmony export */ "CreateChannelFlowRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.CreateChannelFlowRequestFilterSensitiveLog),\n/* harmony export */ "CreateChannelFlowResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.CreateChannelFlowResponseFilterSensitiveLog),\n/* harmony export */ "CreateChannelMembershipRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.CreateChannelMembershipRequestFilterSensitiveLog),\n/* harmony export */ "CreateChannelMembershipResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.CreateChannelMembershipResponseFilterSensitiveLog),\n/* harmony export */ "CreateChannelModeratorRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.CreateChannelModeratorRequestFilterSensitiveLog),\n/* harmony export */ "CreateChannelModeratorResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.CreateChannelModeratorResponseFilterSensitiveLog),\n/* harmony export */ "CreateChannelRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.CreateChannelRequestFilterSensitiveLog),\n/* harmony export */ "CreateChannelResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.CreateChannelResponseFilterSensitiveLog),\n/* harmony export */ "DeleteChannelBanRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DeleteChannelBanRequestFilterSensitiveLog),\n/* harmony export */ "DeleteChannelFlowRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DeleteChannelFlowRequestFilterSensitiveLog),\n/* harmony export */ "DeleteChannelMembershipRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DeleteChannelMembershipRequestFilterSensitiveLog),\n/* harmony export */ "DeleteChannelMessageRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DeleteChannelMessageRequestFilterSensitiveLog),\n/* harmony export */ "DeleteChannelModeratorRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DeleteChannelModeratorRequestFilterSensitiveLog),\n/* harmony export */ "DeleteChannelRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DeleteChannelRequestFilterSensitiveLog),\n/* harmony export */ "DescribeChannelBanRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DescribeChannelBanRequestFilterSensitiveLog),\n/* harmony export */ "DescribeChannelBanResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DescribeChannelBanResponseFilterSensitiveLog),\n/* harmony export */ "DescribeChannelFlowRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DescribeChannelFlowRequestFilterSensitiveLog),\n/* harmony export */ "DescribeChannelFlowResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DescribeChannelFlowResponseFilterSensitiveLog),\n/* harmony export */ "DescribeChannelMembershipForAppInstanceUserRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DescribeChannelMembershipForAppInstanceUserRequestFilterSensitiveLog),\n/* harmony export */ "DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog),\n/* harmony export */ "DescribeChannelMembershipRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DescribeChannelMembershipRequestFilterSensitiveLog),\n/* harmony export */ "DescribeChannelMembershipResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DescribeChannelMembershipResponseFilterSensitiveLog),\n/* harmony export */ "DescribeChannelModeratedByAppInstanceUserRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DescribeChannelModeratedByAppInstanceUserRequestFilterSensitiveLog),\n/* harmony export */ "DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog),\n/* harmony export */ "DescribeChannelModeratorRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DescribeChannelModeratorRequestFilterSensitiveLog),\n/* harmony export */ "DescribeChannelModeratorResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DescribeChannelModeratorResponseFilterSensitiveLog),\n/* harmony export */ "DescribeChannelRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DescribeChannelRequestFilterSensitiveLog),\n/* harmony export */ "DescribeChannelResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DescribeChannelResponseFilterSensitiveLog),\n/* harmony export */ "DisassociateChannelFlowRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DisassociateChannelFlowRequestFilterSensitiveLog),\n/* harmony export */ "ElasticChannelConfigurationFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ElasticChannelConfigurationFilterSensitiveLog),\n/* harmony export */ "ErrorCode": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ErrorCode),\n/* harmony export */ "FallbackAction": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.FallbackAction),\n/* harmony export */ "ForbiddenException": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ForbiddenException),\n/* harmony export */ "GetChannelMembershipPreferencesRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.GetChannelMembershipPreferencesRequestFilterSensitiveLog),\n/* harmony export */ "GetChannelMembershipPreferencesResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.GetChannelMembershipPreferencesResponseFilterSensitiveLog),\n/* harmony export */ "GetChannelMessageRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.GetChannelMessageRequestFilterSensitiveLog),\n/* harmony export */ "GetChannelMessageResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.GetChannelMessageResponseFilterSensitiveLog),\n/* harmony export */ "GetChannelMessageStatusRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.GetChannelMessageStatusRequestFilterSensitiveLog),\n/* harmony export */ "GetChannelMessageStatusResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.GetChannelMessageStatusResponseFilterSensitiveLog),\n/* harmony export */ "GetMessagingSessionEndpointRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.GetMessagingSessionEndpointRequestFilterSensitiveLog),\n/* harmony export */ "GetMessagingSessionEndpointResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.GetMessagingSessionEndpointResponseFilterSensitiveLog),\n/* harmony export */ "IdentityFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.IdentityFilterSensitiveLog),\n/* harmony export */ "InvocationType": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.InvocationType),\n/* harmony export */ "LambdaConfigurationFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.LambdaConfigurationFilterSensitiveLog),\n/* harmony export */ "ListChannelBansRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ListChannelBansRequestFilterSensitiveLog),\n/* harmony export */ "ListChannelBansResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ListChannelBansResponseFilterSensitiveLog),\n/* harmony export */ "ListChannelFlowsRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ListChannelFlowsRequestFilterSensitiveLog),\n/* harmony export */ "ListChannelFlowsResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ListChannelFlowsResponseFilterSensitiveLog),\n/* harmony export */ "ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog),\n/* harmony export */ "ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog),\n/* harmony export */ "ListChannelMembershipsRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ListChannelMembershipsRequestFilterSensitiveLog),\n/* harmony export */ "ListChannelMembershipsResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ListChannelMembershipsResponseFilterSensitiveLog),\n/* harmony export */ "ListChannelMessagesRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ListChannelMessagesRequestFilterSensitiveLog),\n/* harmony export */ "ListChannelMessagesResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ListChannelMessagesResponseFilterSensitiveLog),\n/* harmony export */ "ListChannelModeratorsRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ListChannelModeratorsRequestFilterSensitiveLog),\n/* harmony export */ "ListChannelModeratorsResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ListChannelModeratorsResponseFilterSensitiveLog),\n/* harmony export */ "ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog),\n/* harmony export */ "ListChannelsAssociatedWithChannelFlowResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ListChannelsAssociatedWithChannelFlowResponseFilterSensitiveLog),\n/* harmony export */ "ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog),\n/* harmony export */ "ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog),\n/* harmony export */ "ListChannelsRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ListChannelsRequestFilterSensitiveLog),\n/* harmony export */ "ListChannelsResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ListChannelsResponseFilterSensitiveLog),\n/* harmony export */ "ListSubChannelsRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ListSubChannelsRequestFilterSensitiveLog),\n/* harmony export */ "ListSubChannelsResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ListSubChannelsResponseFilterSensitiveLog),\n/* harmony export */ "ListTagsForResourceRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ListTagsForResourceRequestFilterSensitiveLog),\n/* harmony export */ "ListTagsForResourceResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ListTagsForResourceResponseFilterSensitiveLog),\n/* harmony export */ "MessageAttributeValueFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.MessageAttributeValueFilterSensitiveLog),\n/* harmony export */ "MessagingSessionEndpointFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.MessagingSessionEndpointFilterSensitiveLog),\n/* harmony export */ "NotFoundException": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.NotFoundException),\n/* harmony export */ "ProcessorConfigurationFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ProcessorConfigurationFilterSensitiveLog),\n/* harmony export */ "ProcessorFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ProcessorFilterSensitiveLog),\n/* harmony export */ "PushNotificationConfigurationFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.PushNotificationConfigurationFilterSensitiveLog),\n/* harmony export */ "PushNotificationPreferencesFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.PushNotificationPreferencesFilterSensitiveLog),\n/* harmony export */ "PushNotificationType": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.PushNotificationType),\n/* harmony export */ "PutChannelMembershipPreferencesRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.PutChannelMembershipPreferencesRequestFilterSensitiveLog),\n/* harmony export */ "PutChannelMembershipPreferencesResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.PutChannelMembershipPreferencesResponseFilterSensitiveLog),\n/* harmony export */ "RedactChannelMessageRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.RedactChannelMessageRequestFilterSensitiveLog),\n/* harmony export */ "RedactChannelMessageResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.RedactChannelMessageResponseFilterSensitiveLog),\n/* harmony export */ "ResourceLimitExceededException": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ResourceLimitExceededException),\n/* harmony export */ "SearchChannelsRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.SearchChannelsRequestFilterSensitiveLog),\n/* harmony export */ "SearchChannelsResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.SearchChannelsResponseFilterSensitiveLog),\n/* harmony export */ "SearchFieldFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.SearchFieldFilterSensitiveLog),\n/* harmony export */ "SearchFieldKey": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.SearchFieldKey),\n/* harmony export */ "SearchFieldOperator": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.SearchFieldOperator),\n/* harmony export */ "SendChannelMessageRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.SendChannelMessageRequestFilterSensitiveLog),\n/* harmony export */ "SendChannelMessageResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.SendChannelMessageResponseFilterSensitiveLog),\n/* harmony export */ "ServiceFailureException": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ServiceFailureException),\n/* harmony export */ "ServiceUnavailableException": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ServiceUnavailableException),\n/* harmony export */ "SortOrder": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.SortOrder),\n/* harmony export */ "SubChannelSummaryFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.SubChannelSummaryFilterSensitiveLog),\n/* harmony export */ "TagFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.TagFilterSensitiveLog),\n/* harmony export */ "TagResourceRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.TagResourceRequestFilterSensitiveLog),\n/* harmony export */ "ThrottledClientException": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ThrottledClientException),\n/* harmony export */ "UnauthorizedClientException": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.UnauthorizedClientException),\n/* harmony export */ "UntagResourceRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.UntagResourceRequestFilterSensitiveLog),\n/* harmony export */ "UpdateChannelFlowRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.UpdateChannelFlowRequestFilterSensitiveLog),\n/* harmony export */ "UpdateChannelFlowResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.UpdateChannelFlowResponseFilterSensitiveLog),\n/* harmony export */ "UpdateChannelMessageRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.UpdateChannelMessageRequestFilterSensitiveLog),\n/* harmony export */ "UpdateChannelMessageResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.UpdateChannelMessageResponseFilterSensitiveLog),\n/* harmony export */ "UpdateChannelReadMarkerRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.UpdateChannelReadMarkerRequestFilterSensitiveLog),\n/* harmony export */ "UpdateChannelReadMarkerResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.UpdateChannelReadMarkerResponseFilterSensitiveLog),\n/* harmony export */ "UpdateChannelRequestFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.UpdateChannelRequestFilterSensitiveLog),\n/* harmony export */ "UpdateChannelResponseFilterSensitiveLog": () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.UpdateChannelResponseFilterSensitiveLog)\n/* harmony export */ });\n/* harmony import */ var _models_0__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/index.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "AllowNotifications": () => (/* binding */ AllowNotifications),\n/* harmony export */ "AppInstanceUserMembershipSummaryFilterSensitiveLog": () => (/* binding */ AppInstanceUserMembershipSummaryFilterSensitiveLog),\n/* harmony export */ "AssociateChannelFlowRequestFilterSensitiveLog": () => (/* binding */ AssociateChannelFlowRequestFilterSensitiveLog),\n/* harmony export */ "BadRequestException": () => (/* binding */ BadRequestException),\n/* harmony export */ "BatchChannelMembershipsFilterSensitiveLog": () => (/* binding */ BatchChannelMembershipsFilterSensitiveLog),\n/* harmony export */ "BatchCreateChannelMembershipErrorFilterSensitiveLog": () => (/* binding */ BatchCreateChannelMembershipErrorFilterSensitiveLog),\n/* harmony export */ "BatchCreateChannelMembershipRequestFilterSensitiveLog": () => (/* binding */ BatchCreateChannelMembershipRequestFilterSensitiveLog),\n/* harmony export */ "BatchCreateChannelMembershipResponseFilterSensitiveLog": () => (/* binding */ BatchCreateChannelMembershipResponseFilterSensitiveLog),\n/* harmony export */ "ChannelAssociatedWithFlowSummaryFilterSensitiveLog": () => (/* binding */ ChannelAssociatedWithFlowSummaryFilterSensitiveLog),\n/* harmony export */ "ChannelBanFilterSensitiveLog": () => (/* binding */ ChannelBanFilterSensitiveLog),\n/* harmony export */ "ChannelBanSummaryFilterSensitiveLog": () => (/* binding */ ChannelBanSummaryFilterSensitiveLog),\n/* harmony export */ "ChannelFilterSensitiveLog": () => (/* binding */ ChannelFilterSensitiveLog),\n/* harmony export */ "ChannelFlowCallbackRequestFilterSensitiveLog": () => (/* binding */ ChannelFlowCallbackRequestFilterSensitiveLog),\n/* harmony export */ "ChannelFlowCallbackResponseFilterSensitiveLog": () => (/* binding */ ChannelFlowCallbackResponseFilterSensitiveLog),\n/* harmony export */ "ChannelFlowFilterSensitiveLog": () => (/* binding */ ChannelFlowFilterSensitiveLog),\n/* harmony export */ "ChannelFlowSummaryFilterSensitiveLog": () => (/* binding */ ChannelFlowSummaryFilterSensitiveLog),\n/* harmony export */ "ChannelMembershipFilterSensitiveLog": () => (/* binding */ ChannelMembershipFilterSensitiveLog),\n/* harmony export */ "ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog": () => (/* binding */ ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog),\n/* harmony export */ "ChannelMembershipPreferencesFilterSensitiveLog": () => (/* binding */ ChannelMembershipPreferencesFilterSensitiveLog),\n/* harmony export */ "ChannelMembershipSummaryFilterSensitiveLog": () => (/* binding */ ChannelMembershipSummaryFilterSensitiveLog),\n/* harmony export */ "ChannelMembershipType": () => (/* binding */ ChannelMembershipType),\n/* harmony export */ "ChannelMessageCallbackFilterSensitiveLog": () => (/* binding */ ChannelMessageCallbackFilterSensitiveLog),\n/* harmony export */ "ChannelMessageFilterSensitiveLog": () => (/* binding */ ChannelMessageFilterSensitiveLog),\n/* harmony export */ "ChannelMessagePersistenceType": () => (/* binding */ ChannelMessagePersistenceType),\n/* harmony export */ "ChannelMessageStatus": () => (/* binding */ ChannelMessageStatus),\n/* harmony export */ "ChannelMessageStatusStructureFilterSensitiveLog": () => (/* binding */ ChannelMessageStatusStructureFilterSensitiveLog),\n/* harmony export */ "ChannelMessageSummaryFilterSensitiveLog": () => (/* binding */ ChannelMessageSummaryFilterSensitiveLog),\n/* harmony export */ "ChannelMessageType": () => (/* binding */ ChannelMessageType),\n/* harmony export */ "ChannelMode": () => (/* binding */ ChannelMode),\n/* harmony export */ "ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog": () => (/* binding */ ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog),\n/* harmony export */ "ChannelModeratorFilterSensitiveLog": () => (/* binding */ ChannelModeratorFilterSensitiveLog),\n/* harmony export */ "ChannelModeratorSummaryFilterSensitiveLog": () => (/* binding */ ChannelModeratorSummaryFilterSensitiveLog),\n/* harmony export */ "ChannelPrivacy": () => (/* binding */ ChannelPrivacy),\n/* harmony export */ "ChannelSummaryFilterSensitiveLog": () => (/* binding */ ChannelSummaryFilterSensitiveLog),\n/* harmony export */ "ConflictException": () => (/* binding */ ConflictException),\n/* harmony export */ "CreateChannelBanRequestFilterSensitiveLog": () => (/* binding */ CreateChannelBanRequestFilterSensitiveLog),\n/* harmony export */ "CreateChannelBanResponseFilterSensitiveLog": () => (/* binding */ CreateChannelBanResponseFilterSensitiveLog),\n/* harmony export */ "CreateChannelFlowRequestFilterSensitiveLog": () => (/* binding */ CreateChannelFlowRequestFilterSensitiveLog),\n/* harmony export */ "CreateChannelFlowResponseFilterSensitiveLog": () => (/* binding */ CreateChannelFlowResponseFilterSensitiveLog),\n/* harmony export */ "CreateChannelMembershipRequestFilterSensitiveLog": () => (/* binding */ CreateChannelMembershipRequestFilterSensitiveLog),\n/* harmony export */ "CreateChannelMembershipResponseFilterSensitiveLog": () => (/* binding */ CreateChannelMembershipResponseFilterSensitiveLog),\n/* harmony export */ "CreateChannelModeratorRequestFilterSensitiveLog": () => (/* binding */ CreateChannelModeratorRequestFilterSensitiveLog),\n/* harmony export */ "CreateChannelModeratorResponseFilterSensitiveLog": () => (/* binding */ CreateChannelModeratorResponseFilterSensitiveLog),\n/* harmony export */ "CreateChannelRequestFilterSensitiveLog": () => (/* binding */ CreateChannelRequestFilterSensitiveLog),\n/* harmony export */ "CreateChannelResponseFilterSensitiveLog": () => (/* binding */ CreateChannelResponseFilterSensitiveLog),\n/* harmony export */ "DeleteChannelBanRequestFilterSensitiveLog": () => (/* binding */ DeleteChannelBanRequestFilterSensitiveLog),\n/* harmony export */ "DeleteChannelFlowRequestFilterSensitiveLog": () => (/* binding */ DeleteChannelFlowRequestFilterSensitiveLog),\n/* harmony export */ "DeleteChannelMembershipRequestFilterSensitiveLog": () => (/* binding */ DeleteChannelMembershipRequestFilterSensitiveLog),\n/* harmony export */ "DeleteChannelMessageRequestFilterSensitiveLog": () => (/* binding */ DeleteChannelMessageRequestFilterSensitiveLog),\n/* harmony export */ "DeleteChannelModeratorRequestFilterSensitiveLog": () => (/* binding */ DeleteChannelModeratorRequestFilterSensitiveLog),\n/* harmony export */ "DeleteChannelRequestFilterSensitiveLog": () => (/* binding */ DeleteChannelRequestFilterSensitiveLog),\n/* harmony export */ "DescribeChannelBanRequestFilterSensitiveLog": () => (/* binding */ DescribeChannelBanRequestFilterSensitiveLog),\n/* harmony export */ "DescribeChannelBanResponseFilterSensitiveLog": () => (/* binding */ DescribeChannelBanResponseFilterSensitiveLog),\n/* harmony export */ "DescribeChannelFlowRequestFilterSensitiveLog": () => (/* binding */ DescribeChannelFlowRequestFilterSensitiveLog),\n/* harmony export */ "DescribeChannelFlowResponseFilterSensitiveLog": () => (/* binding */ DescribeChannelFlowResponseFilterSensitiveLog),\n/* harmony export */ "DescribeChannelMembershipForAppInstanceUserRequestFilterSensitiveLog": () => (/* binding */ DescribeChannelMembershipForAppInstanceUserRequestFilterSensitiveLog),\n/* harmony export */ "DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog": () => (/* binding */ DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog),\n/* harmony export */ "DescribeChannelMembershipRequestFilterSensitiveLog": () => (/* binding */ DescribeChannelMembershipRequestFilterSensitiveLog),\n/* harmony export */ "DescribeChannelMembershipResponseFilterSensitiveLog": () => (/* binding */ DescribeChannelMembershipResponseFilterSensitiveLog),\n/* harmony export */ "DescribeChannelModeratedByAppInstanceUserRequestFilterSensitiveLog": () => (/* binding */ DescribeChannelModeratedByAppInstanceUserRequestFilterSensitiveLog),\n/* harmony export */ "DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog": () => (/* binding */ DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog),\n/* harmony export */ "DescribeChannelModeratorRequestFilterSensitiveLog": () => (/* binding */ DescribeChannelModeratorRequestFilterSensitiveLog),\n/* harmony export */ "DescribeChannelModeratorResponseFilterSensitiveLog": () => (/* binding */ DescribeChannelModeratorResponseFilterSensitiveLog),\n/* harmony export */ "DescribeChannelRequestFilterSensitiveLog": () => (/* binding */ DescribeChannelRequestFilterSensitiveLog),\n/* harmony export */ "DescribeChannelResponseFilterSensitiveLog": () => (/* binding */ DescribeChannelResponseFilterSensitiveLog),\n/* harmony export */ "DisassociateChannelFlowRequestFilterSensitiveLog": () => (/* binding */ DisassociateChannelFlowRequestFilterSensitiveLog),\n/* harmony export */ "ElasticChannelConfigurationFilterSensitiveLog": () => (/* binding */ ElasticChannelConfigurationFilterSensitiveLog),\n/* harmony export */ "ErrorCode": () => (/* binding */ ErrorCode),\n/* harmony export */ "FallbackAction": () => (/* binding */ FallbackAction),\n/* harmony export */ "ForbiddenException": () => (/* binding */ ForbiddenException),\n/* harmony export */ "GetChannelMembershipPreferencesRequestFilterSensitiveLog": () => (/* binding */ GetChannelMembershipPreferencesRequestFilterSensitiveLog),\n/* harmony export */ "GetChannelMembershipPreferencesResponseFilterSensitiveLog": () => (/* binding */ GetChannelMembershipPreferencesResponseFilterSensitiveLog),\n/* harmony export */ "GetChannelMessageRequestFilterSensitiveLog": () => (/* binding */ GetChannelMessageRequestFilterSensitiveLog),\n/* harmony export */ "GetChannelMessageResponseFilterSensitiveLog": () => (/* binding */ GetChannelMessageResponseFilterSensitiveLog),\n/* harmony export */ "GetChannelMessageStatusRequestFilterSensitiveLog": () => (/* binding */ GetChannelMessageStatusRequestFilterSensitiveLog),\n/* harmony export */ "GetChannelMessageStatusResponseFilterSensitiveLog": () => (/* binding */ GetChannelMessageStatusResponseFilterSensitiveLog),\n/* harmony export */ "GetMessagingSessionEndpointRequestFilterSensitiveLog": () => (/* binding */ GetMessagingSessionEndpointRequestFilterSensitiveLog),\n/* harmony export */ "GetMessagingSessionEndpointResponseFilterSensitiveLog": () => (/* binding */ GetMessagingSessionEndpointResponseFilterSensitiveLog),\n/* harmony export */ "IdentityFilterSensitiveLog": () => (/* binding */ IdentityFilterSensitiveLog),\n/* harmony export */ "InvocationType": () => (/* binding */ InvocationType),\n/* harmony export */ "LambdaConfigurationFilterSensitiveLog": () => (/* binding */ LambdaConfigurationFilterSensitiveLog),\n/* harmony export */ "ListChannelBansRequestFilterSensitiveLog": () => (/* binding */ ListChannelBansRequestFilterSensitiveLog),\n/* harmony export */ "ListChannelBansResponseFilterSensitiveLog": () => (/* binding */ ListChannelBansResponseFilterSensitiveLog),\n/* harmony export */ "ListChannelFlowsRequestFilterSensitiveLog": () => (/* binding */ ListChannelFlowsRequestFilterSensitiveLog),\n/* harmony export */ "ListChannelFlowsResponseFilterSensitiveLog": () => (/* binding */ ListChannelFlowsResponseFilterSensitiveLog),\n/* harmony export */ "ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog": () => (/* binding */ ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog),\n/* harmony export */ "ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog": () => (/* binding */ ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog),\n/* harmony export */ "ListChannelMembershipsRequestFilterSensitiveLog": () => (/* binding */ ListChannelMembershipsRequestFilterSensitiveLog),\n/* harmony export */ "ListChannelMembershipsResponseFilterSensitiveLog": () => (/* binding */ ListChannelMembershipsResponseFilterSensitiveLog),\n/* harmony export */ "ListChannelMessagesRequestFilterSensitiveLog": () => (/* binding */ ListChannelMessagesRequestFilterSensitiveLog),\n/* harmony export */ "ListChannelMessagesResponseFilterSensitiveLog": () => (/* binding */ ListChannelMessagesResponseFilterSensitiveLog),\n/* harmony export */ "ListChannelModeratorsRequestFilterSensitiveLog": () => (/* binding */ ListChannelModeratorsRequestFilterSensitiveLog),\n/* harmony export */ "ListChannelModeratorsResponseFilterSensitiveLog": () => (/* binding */ ListChannelModeratorsResponseFilterSensitiveLog),\n/* harmony export */ "ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog": () => (/* binding */ ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog),\n/* harmony export */ "ListChannelsAssociatedWithChannelFlowResponseFilterSensitiveLog": () => (/* binding */ ListChannelsAssociatedWithChannelFlowResponseFilterSensitiveLog),\n/* harmony export */ "ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog": () => (/* binding */ ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog),\n/* harmony export */ "ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog": () => (/* binding */ ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog),\n/* harmony export */ "ListChannelsRequestFilterSensitiveLog": () => (/* binding */ ListChannelsRequestFilterSensitiveLog),\n/* harmony export */ "ListChannelsResponseFilterSensitiveLog": () => (/* binding */ ListChannelsResponseFilterSensitiveLog),\n/* harmony export */ "ListSubChannelsRequestFilterSensitiveLog": () => (/* binding */ ListSubChannelsRequestFilterSensitiveLog),\n/* harmony export */ "ListSubChannelsResponseFilterSensitiveLog": () => (/* binding */ ListSubChannelsResponseFilterSensitiveLog),\n/* harmony export */ "ListTagsForResourceRequestFilterSensitiveLog": () => (/* binding */ ListTagsForResourceRequestFilterSensitiveLog),\n/* harmony export */ "ListTagsForResourceResponseFilterSensitiveLog": () => (/* binding */ ListTagsForResourceResponseFilterSensitiveLog),\n/* harmony export */ "MessageAttributeValueFilterSensitiveLog": () => (/* binding */ MessageAttributeValueFilterSensitiveLog),\n/* harmony export */ "MessagingSessionEndpointFilterSensitiveLog": () => (/* binding */ MessagingSessionEndpointFilterSensitiveLog),\n/* harmony export */ "NotFoundException": () => (/* binding */ NotFoundException),\n/* harmony export */ "ProcessorConfigurationFilterSensitiveLog": () => (/* binding */ ProcessorConfigurationFilterSensitiveLog),\n/* harmony export */ "ProcessorFilterSensitiveLog": () => (/* binding */ ProcessorFilterSensitiveLog),\n/* harmony export */ "PushNotificationConfigurationFilterSensitiveLog": () => (/* binding */ PushNotificationConfigurationFilterSensitiveLog),\n/* harmony export */ "PushNotificationPreferencesFilterSensitiveLog": () => (/* binding */ PushNotificationPreferencesFilterSensitiveLog),\n/* harmony export */ "PushNotificationType": () => (/* binding */ PushNotificationType),\n/* harmony export */ "PutChannelMembershipPreferencesRequestFilterSensitiveLog": () => (/* binding */ PutChannelMembershipPreferencesRequestFilterSensitiveLog),\n/* harmony export */ "PutChannelMembershipPreferencesResponseFilterSensitiveLog": () => (/* binding */ PutChannelMembershipPreferencesResponseFilterSensitiveLog),\n/* harmony export */ "RedactChannelMessageRequestFilterSensitiveLog": () => (/* binding */ RedactChannelMessageRequestFilterSensitiveLog),\n/* harmony export */ "RedactChannelMessageResponseFilterSensitiveLog": () => (/* binding */ RedactChannelMessageResponseFilterSensitiveLog),\n/* harmony export */ "ResourceLimitExceededException": () => (/* binding */ ResourceLimitExceededException),\n/* harmony export */ "SearchChannelsRequestFilterSensitiveLog": () => (/* binding */ SearchChannelsRequestFilterSensitiveLog),\n/* harmony export */ "SearchChannelsResponseFilterSensitiveLog": () => (/* binding */ SearchChannelsResponseFilterSensitiveLog),\n/* harmony export */ "SearchFieldFilterSensitiveLog": () => (/* binding */ SearchFieldFilterSensitiveLog),\n/* harmony export */ "SearchFieldKey": () => (/* binding */ SearchFieldKey),\n/* harmony export */ "SearchFieldOperator": () => (/* binding */ SearchFieldOperator),\n/* harmony export */ "SendChannelMessageRequestFilterSensitiveLog": () => (/* binding */ SendChannelMessageRequestFilterSensitiveLog),\n/* harmony export */ "SendChannelMessageResponseFilterSensitiveLog": () => (/* binding */ SendChannelMessageResponseFilterSensitiveLog),\n/* harmony export */ "ServiceFailureException": () => (/* binding */ ServiceFailureException),\n/* harmony export */ "ServiceUnavailableException": () => (/* binding */ ServiceUnavailableException),\n/* harmony export */ "SortOrder": () => (/* binding */ SortOrder),\n/* harmony export */ "SubChannelSummaryFilterSensitiveLog": () => (/* binding */ SubChannelSummaryFilterSensitiveLog),\n/* harmony export */ "TagFilterSensitiveLog": () => (/* binding */ TagFilterSensitiveLog),\n/* harmony export */ "TagResourceRequestFilterSensitiveLog": () => (/* binding */ TagResourceRequestFilterSensitiveLog),\n/* harmony export */ "ThrottledClientException": () => (/* binding */ ThrottledClientException),\n/* harmony export */ "UnauthorizedClientException": () => (/* binding */ UnauthorizedClientException),\n/* harmony export */ "UntagResourceRequestFilterSensitiveLog": () => (/* binding */ UntagResourceRequestFilterSensitiveLog),\n/* harmony export */ "UpdateChannelFlowRequestFilterSensitiveLog": () => (/* binding */ UpdateChannelFlowRequestFilterSensitiveLog),\n/* harmony export */ "UpdateChannelFlowResponseFilterSensitiveLog": () => (/* binding */ UpdateChannelFlowResponseFilterSensitiveLog),\n/* harmony export */ "UpdateChannelMessageRequestFilterSensitiveLog": () => (/* binding */ UpdateChannelMessageRequestFilterSensitiveLog),\n/* harmony export */ "UpdateChannelMessageResponseFilterSensitiveLog": () => (/* binding */ UpdateChannelMessageResponseFilterSensitiveLog),\n/* harmony export */ "UpdateChannelReadMarkerRequestFilterSensitiveLog": () => (/* binding */ UpdateChannelReadMarkerRequestFilterSensitiveLog),\n/* harmony export */ "UpdateChannelReadMarkerResponseFilterSensitiveLog": () => (/* binding */ UpdateChannelReadMarkerResponseFilterSensitiveLog),\n/* harmony export */ "UpdateChannelRequestFilterSensitiveLog": () => (/* binding */ UpdateChannelRequestFilterSensitiveLog),\n/* harmony export */ "UpdateChannelResponseFilterSensitiveLog": () => (/* binding */ UpdateChannelResponseFilterSensitiveLog)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ChimeSDKMessagingServiceException */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/ChimeSDKMessagingServiceException.js");\n\n\nvar AllowNotifications;\n(function (AllowNotifications) {\n AllowNotifications["ALL"] = "ALL";\n AllowNotifications["FILTERED"] = "FILTERED";\n AllowNotifications["NONE"] = "NONE";\n})(AllowNotifications || (AllowNotifications = {}));\nvar ChannelMembershipType;\n(function (ChannelMembershipType) {\n ChannelMembershipType["DEFAULT"] = "DEFAULT";\n ChannelMembershipType["HIDDEN"] = "HIDDEN";\n})(ChannelMembershipType || (ChannelMembershipType = {}));\nvar ErrorCode;\n(function (ErrorCode) {\n ErrorCode["AccessDenied"] = "AccessDenied";\n ErrorCode["BadRequest"] = "BadRequest";\n ErrorCode["Conflict"] = "Conflict";\n ErrorCode["Forbidden"] = "Forbidden";\n ErrorCode["NotFound"] = "NotFound";\n ErrorCode["PhoneNumberAssociationsExist"] = "PhoneNumberAssociationsExist";\n ErrorCode["PreconditionFailed"] = "PreconditionFailed";\n ErrorCode["ResourceLimitExceeded"] = "ResourceLimitExceeded";\n ErrorCode["ServiceFailure"] = "ServiceFailure";\n ErrorCode["ServiceUnavailable"] = "ServiceUnavailable";\n ErrorCode["Throttled"] = "Throttled";\n ErrorCode["Throttling"] = "Throttling";\n ErrorCode["Unauthorized"] = "Unauthorized";\n ErrorCode["Unprocessable"] = "Unprocessable";\n ErrorCode["VoiceConnectorGroupAssociationsExist"] = "VoiceConnectorGroupAssociationsExist";\n})(ErrorCode || (ErrorCode = {}));\nclass BadRequestException extends _ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_1__.ChimeSDKMessagingServiceException {\n constructor(opts) {\n super({\n name: "BadRequestException",\n $fault: "client",\n ...opts,\n });\n this.name = "BadRequestException";\n this.$fault = "client";\n Object.setPrototypeOf(this, BadRequestException.prototype);\n this.Code = opts.Code;\n this.Message = opts.Message;\n }\n}\nclass ConflictException extends _ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_1__.ChimeSDKMessagingServiceException {\n constructor(opts) {\n super({\n name: "ConflictException",\n $fault: "client",\n ...opts,\n });\n this.name = "ConflictException";\n this.$fault = "client";\n Object.setPrototypeOf(this, ConflictException.prototype);\n this.Code = opts.Code;\n this.Message = opts.Message;\n }\n}\nclass ForbiddenException extends _ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_1__.ChimeSDKMessagingServiceException {\n constructor(opts) {\n super({\n name: "ForbiddenException",\n $fault: "client",\n ...opts,\n });\n this.name = "ForbiddenException";\n this.$fault = "client";\n Object.setPrototypeOf(this, ForbiddenException.prototype);\n this.Code = opts.Code;\n this.Message = opts.Message;\n }\n}\nclass NotFoundException extends _ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_1__.ChimeSDKMessagingServiceException {\n constructor(opts) {\n super({\n name: "NotFoundException",\n $fault: "client",\n ...opts,\n });\n this.name = "NotFoundException";\n this.$fault = "client";\n Object.setPrototypeOf(this, NotFoundException.prototype);\n this.Code = opts.Code;\n this.Message = opts.Message;\n }\n}\nclass ServiceFailureException extends _ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_1__.ChimeSDKMessagingServiceException {\n constructor(opts) {\n super({\n name: "ServiceFailureException",\n $fault: "server",\n ...opts,\n });\n this.name = "ServiceFailureException";\n this.$fault = "server";\n Object.setPrototypeOf(this, ServiceFailureException.prototype);\n this.Code = opts.Code;\n this.Message = opts.Message;\n }\n}\nclass ServiceUnavailableException extends _ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_1__.ChimeSDKMessagingServiceException {\n constructor(opts) {\n super({\n name: "ServiceUnavailableException",\n $fault: "server",\n ...opts,\n });\n this.name = "ServiceUnavailableException";\n this.$fault = "server";\n Object.setPrototypeOf(this, ServiceUnavailableException.prototype);\n this.Code = opts.Code;\n this.Message = opts.Message;\n }\n}\nclass ThrottledClientException extends _ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_1__.ChimeSDKMessagingServiceException {\n constructor(opts) {\n super({\n name: "ThrottledClientException",\n $fault: "client",\n ...opts,\n });\n this.name = "ThrottledClientException";\n this.$fault = "client";\n Object.setPrototypeOf(this, ThrottledClientException.prototype);\n this.Code = opts.Code;\n this.Message = opts.Message;\n }\n}\nclass UnauthorizedClientException extends _ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_1__.ChimeSDKMessagingServiceException {\n constructor(opts) {\n super({\n name: "UnauthorizedClientException",\n $fault: "client",\n ...opts,\n });\n this.name = "UnauthorizedClientException";\n this.$fault = "client";\n Object.setPrototypeOf(this, UnauthorizedClientException.prototype);\n this.Code = opts.Code;\n this.Message = opts.Message;\n }\n}\nclass ResourceLimitExceededException extends _ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_1__.ChimeSDKMessagingServiceException {\n constructor(opts) {\n super({\n name: "ResourceLimitExceededException",\n $fault: "client",\n ...opts,\n });\n this.name = "ResourceLimitExceededException";\n this.$fault = "client";\n Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);\n this.Code = opts.Code;\n this.Message = opts.Message;\n }\n}\nvar ChannelMode;\n(function (ChannelMode) {\n ChannelMode["RESTRICTED"] = "RESTRICTED";\n ChannelMode["UNRESTRICTED"] = "UNRESTRICTED";\n})(ChannelMode || (ChannelMode = {}));\nvar ChannelPrivacy;\n(function (ChannelPrivacy) {\n ChannelPrivacy["PRIVATE"] = "PRIVATE";\n ChannelPrivacy["PUBLIC"] = "PUBLIC";\n})(ChannelPrivacy || (ChannelPrivacy = {}));\nvar InvocationType;\n(function (InvocationType) {\n InvocationType["ASYNC"] = "ASYNC";\n})(InvocationType || (InvocationType = {}));\nvar FallbackAction;\n(function (FallbackAction) {\n FallbackAction["ABORT"] = "ABORT";\n FallbackAction["CONTINUE"] = "CONTINUE";\n})(FallbackAction || (FallbackAction = {}));\nvar PushNotificationType;\n(function (PushNotificationType) {\n PushNotificationType["DEFAULT"] = "DEFAULT";\n PushNotificationType["VOIP"] = "VOIP";\n})(PushNotificationType || (PushNotificationType = {}));\nvar ChannelMessagePersistenceType;\n(function (ChannelMessagePersistenceType) {\n ChannelMessagePersistenceType["NON_PERSISTENT"] = "NON_PERSISTENT";\n ChannelMessagePersistenceType["PERSISTENT"] = "PERSISTENT";\n})(ChannelMessagePersistenceType || (ChannelMessagePersistenceType = {}));\nvar ChannelMessageStatus;\n(function (ChannelMessageStatus) {\n ChannelMessageStatus["DENIED"] = "DENIED";\n ChannelMessageStatus["FAILED"] = "FAILED";\n ChannelMessageStatus["PENDING"] = "PENDING";\n ChannelMessageStatus["SENT"] = "SENT";\n})(ChannelMessageStatus || (ChannelMessageStatus = {}));\nvar ChannelMessageType;\n(function (ChannelMessageType) {\n ChannelMessageType["CONTROL"] = "CONTROL";\n ChannelMessageType["STANDARD"] = "STANDARD";\n})(ChannelMessageType || (ChannelMessageType = {}));\nvar SortOrder;\n(function (SortOrder) {\n SortOrder["ASCENDING"] = "ASCENDING";\n SortOrder["DESCENDING"] = "DESCENDING";\n})(SortOrder || (SortOrder = {}));\nvar SearchFieldKey;\n(function (SearchFieldKey) {\n SearchFieldKey["MEMBERS"] = "MEMBERS";\n})(SearchFieldKey || (SearchFieldKey = {}));\nvar SearchFieldOperator;\n(function (SearchFieldOperator) {\n SearchFieldOperator["EQUALS"] = "EQUALS";\n SearchFieldOperator["INCLUDES"] = "INCLUDES";\n})(SearchFieldOperator || (SearchFieldOperator = {}));\nconst AppInstanceUserMembershipSummaryFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst AssociateChannelFlowRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst IdentityFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Name && { Name: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst BatchChannelMembershipsFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.InvitedBy && { InvitedBy: IdentityFilterSensitiveLog(obj.InvitedBy) }),\n ...(obj.Members && { Members: obj.Members.map((item) => IdentityFilterSensitiveLog(item)) }),\n});\nconst BatchCreateChannelMembershipRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst BatchCreateChannelMembershipErrorFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst BatchCreateChannelMembershipResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.BatchChannelMemberships && {\n BatchChannelMemberships: BatchChannelMembershipsFilterSensitiveLog(obj.BatchChannelMemberships),\n }),\n});\nconst ElasticChannelConfigurationFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst ChannelFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Name && { Name: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n ...(obj.Metadata && { Metadata: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n ...(obj.CreatedBy && { CreatedBy: IdentityFilterSensitiveLog(obj.CreatedBy) }),\n});\nconst ChannelAssociatedWithFlowSummaryFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Name && { Name: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n ...(obj.Metadata && { Metadata: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst ChannelBanFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }),\n ...(obj.CreatedBy && { CreatedBy: IdentityFilterSensitiveLog(obj.CreatedBy) }),\n});\nconst ChannelBanSummaryFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }),\n});\nconst LambdaConfigurationFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst ProcessorConfigurationFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst ProcessorFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Name && { Name: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst ChannelFlowFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Processors && { Processors: obj.Processors.map((item) => ProcessorFilterSensitiveLog(item)) }),\n ...(obj.Name && { Name: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst MessageAttributeValueFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.StringValues && { StringValues: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst PushNotificationConfigurationFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Title && { Title: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n ...(obj.Body && { Body: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst ChannelMessageCallbackFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Content && { Content: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n ...(obj.Metadata && { Metadata: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n ...(obj.PushNotification && {\n PushNotification: PushNotificationConfigurationFilterSensitiveLog(obj.PushNotification),\n }),\n ...(obj.MessageAttributes && {\n MessageAttributes: Object.entries(obj.MessageAttributes).reduce((acc, [key, value]) => ((acc[key] = MessageAttributeValueFilterSensitiveLog(value)), acc), {}),\n }),\n});\nconst ChannelFlowCallbackRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.ChannelMessage && { ChannelMessage: ChannelMessageCallbackFilterSensitiveLog(obj.ChannelMessage) }),\n});\nconst ChannelFlowCallbackResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst ChannelFlowSummaryFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Name && { Name: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n ...(obj.Processors && { Processors: obj.Processors.map((item) => ProcessorFilterSensitiveLog(item)) }),\n});\nconst ChannelMembershipFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.InvitedBy && { InvitedBy: IdentityFilterSensitiveLog(obj.InvitedBy) }),\n ...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }),\n});\nconst ChannelSummaryFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Name && { Name: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n ...(obj.Metadata && { Metadata: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.ChannelSummary && { ChannelSummary: ChannelSummaryFilterSensitiveLog(obj.ChannelSummary) }),\n});\nconst PushNotificationPreferencesFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.FilterRule && { FilterRule: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst ChannelMembershipPreferencesFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.PushNotifications && {\n PushNotifications: PushNotificationPreferencesFilterSensitiveLog(obj.PushNotifications),\n }),\n});\nconst ChannelMembershipSummaryFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }),\n});\nconst ChannelMessageStatusStructureFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst ChannelMessageFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Content && { Content: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n ...(obj.Metadata && { Metadata: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n ...(obj.Sender && { Sender: IdentityFilterSensitiveLog(obj.Sender) }),\n ...(obj.MessageAttributes && {\n MessageAttributes: Object.entries(obj.MessageAttributes).reduce((acc, [key, value]) => ((acc[key] = MessageAttributeValueFilterSensitiveLog(value)), acc), {}),\n }),\n});\nconst ChannelMessageSummaryFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Content && { Content: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n ...(obj.Metadata && { Metadata: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n ...(obj.Sender && { Sender: IdentityFilterSensitiveLog(obj.Sender) }),\n ...(obj.MessageAttributes && {\n MessageAttributes: Object.entries(obj.MessageAttributes).reduce((acc, [key, value]) => ((acc[key] = MessageAttributeValueFilterSensitiveLog(value)), acc), {}),\n }),\n});\nconst ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.ChannelSummary && { ChannelSummary: ChannelSummaryFilterSensitiveLog(obj.ChannelSummary) }),\n});\nconst ChannelModeratorFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Moderator && { Moderator: IdentityFilterSensitiveLog(obj.Moderator) }),\n ...(obj.CreatedBy && { CreatedBy: IdentityFilterSensitiveLog(obj.CreatedBy) }),\n});\nconst ChannelModeratorSummaryFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Moderator && { Moderator: IdentityFilterSensitiveLog(obj.Moderator) }),\n});\nconst TagFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Key && { Key: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n ...(obj.Value && { Value: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst CreateChannelRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Name && { Name: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n ...(obj.Metadata && { Metadata: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n ...(obj.ClientRequestToken && { ClientRequestToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),\n ...(obj.ChannelId && { ChannelId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst CreateChannelResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst CreateChannelBanRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst CreateChannelBanResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }),\n});\nconst CreateChannelFlowRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Processors && { Processors: obj.Processors.map((item) => ProcessorFilterSensitiveLog(item)) }),\n ...(obj.Name && { Name: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),\n ...(obj.ClientRequestToken && { ClientRequestToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst CreateChannelFlowResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst CreateChannelMembershipRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst CreateChannelMembershipResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }),\n});\nconst CreateChannelModeratorRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst CreateChannelModeratorResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.ChannelModerator && { ChannelModerator: IdentityFilterSensitiveLog(obj.ChannelModerator) }),\n});\nconst DeleteChannelRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst DeleteChannelBanRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst DeleteChannelFlowRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst DeleteChannelMembershipRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst DeleteChannelMessageRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst DeleteChannelModeratorRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst DescribeChannelRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst DescribeChannelResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Channel && { Channel: ChannelFilterSensitiveLog(obj.Channel) }),\n});\nconst DescribeChannelBanRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst DescribeChannelBanResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.ChannelBan && { ChannelBan: ChannelBanFilterSensitiveLog(obj.ChannelBan) }),\n});\nconst DescribeChannelFlowRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst DescribeChannelFlowResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.ChannelFlow && { ChannelFlow: ChannelFlowFilterSensitiveLog(obj.ChannelFlow) }),\n});\nconst DescribeChannelMembershipRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst DescribeChannelMembershipResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.ChannelMembership && { ChannelMembership: ChannelMembershipFilterSensitiveLog(obj.ChannelMembership) }),\n});\nconst DescribeChannelMembershipForAppInstanceUserRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.ChannelMembership && {\n ChannelMembership: ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog(obj.ChannelMembership),\n }),\n});\nconst DescribeChannelModeratedByAppInstanceUserRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Channel && { Channel: ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog(obj.Channel) }),\n});\nconst DescribeChannelModeratorRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst DescribeChannelModeratorResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.ChannelModerator && { ChannelModerator: ChannelModeratorFilterSensitiveLog(obj.ChannelModerator) }),\n});\nconst DisassociateChannelFlowRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst GetChannelMembershipPreferencesRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst GetChannelMembershipPreferencesResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }),\n ...(obj.Preferences && { Preferences: ChannelMembershipPreferencesFilterSensitiveLog(obj.Preferences) }),\n});\nconst GetChannelMessageRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst GetChannelMessageResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.ChannelMessage && { ChannelMessage: ChannelMessageFilterSensitiveLog(obj.ChannelMessage) }),\n});\nconst GetChannelMessageStatusRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst GetChannelMessageStatusResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst GetMessagingSessionEndpointRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst MessagingSessionEndpointFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst GetMessagingSessionEndpointResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst ListChannelBansRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.NextToken && { NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst ListChannelBansResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.NextToken && { NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n ...(obj.ChannelBans && { ChannelBans: obj.ChannelBans.map((item) => ChannelBanSummaryFilterSensitiveLog(item)) }),\n});\nconst ListChannelFlowsRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.NextToken && { NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst ListChannelFlowsResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.ChannelFlows && { ChannelFlows: obj.ChannelFlows.map((item) => ChannelFlowSummaryFilterSensitiveLog(item)) }),\n ...(obj.NextToken && { NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst ListChannelMembershipsRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.NextToken && { NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst ListChannelMembershipsResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.ChannelMemberships && {\n ChannelMemberships: obj.ChannelMemberships.map((item) => ChannelMembershipSummaryFilterSensitiveLog(item)),\n }),\n ...(obj.NextToken && { NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.NextToken && { NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.ChannelMemberships && {\n ChannelMemberships: obj.ChannelMemberships.map((item) => ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog(item)),\n }),\n ...(obj.NextToken && { NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst ListChannelMessagesRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.NextToken && { NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst ListChannelMessagesResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.NextToken && { NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n ...(obj.ChannelMessages && {\n ChannelMessages: obj.ChannelMessages.map((item) => ChannelMessageSummaryFilterSensitiveLog(item)),\n }),\n});\nconst ListChannelModeratorsRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.NextToken && { NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst ListChannelModeratorsResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.NextToken && { NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n ...(obj.ChannelModerators && {\n ChannelModerators: obj.ChannelModerators.map((item) => ChannelModeratorSummaryFilterSensitiveLog(item)),\n }),\n});\nconst ListChannelsRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.NextToken && { NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst ListChannelsResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Channels && { Channels: obj.Channels.map((item) => ChannelSummaryFilterSensitiveLog(item)) }),\n ...(obj.NextToken && { NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.NextToken && { NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst ListChannelsAssociatedWithChannelFlowResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Channels && {\n Channels: obj.Channels.map((item) => ChannelAssociatedWithFlowSummaryFilterSensitiveLog(item)),\n }),\n ...(obj.NextToken && { NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.NextToken && { NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Channels && {\n Channels: obj.Channels.map((item) => ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog(item)),\n }),\n ...(obj.NextToken && { NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst ListSubChannelsRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.NextToken && { NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst SubChannelSummaryFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst ListSubChannelsResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.NextToken && { NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),\n});\nconst PutChannelMembershipPreferencesRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Preferences && { Preferences: ChannelMembershipPreferencesFilterSensitiveLog(obj.Preferences) }),\n});\nconst PutChannelMembershipPreferencesResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }),\n ...(obj.Preferences && { Preferences: ChannelMembershipPreferencesFilterSensitiveLog(obj.Preferences) }),\n});\nconst RedactChannelMessageRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst RedactChannelMessageResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst SearchFieldFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst SearchChannelsRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.NextToken && { NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst SearchChannelsResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Channels && { Channels: obj.Channels.map((item) => ChannelSummaryFilterSensitiveLog(item)) }),\n ...(obj.NextToken && { NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst SendChannelMessageRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Content && { Content: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n ...(obj.Metadata && { Metadata: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n ...(obj.ClientRequestToken && { ClientRequestToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n ...(obj.PushNotification && {\n PushNotification: PushNotificationConfigurationFilterSensitiveLog(obj.PushNotification),\n }),\n ...(obj.MessageAttributes && {\n MessageAttributes: Object.entries(obj.MessageAttributes).reduce((acc, [key, value]) => ((acc[key] = MessageAttributeValueFilterSensitiveLog(value)), acc), {}),\n }),\n});\nconst SendChannelMessageResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst TagResourceRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),\n});\nconst UntagResourceRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.TagKeys && { TagKeys: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst UpdateChannelRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Name && { Name: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n ...(obj.Metadata && { Metadata: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst UpdateChannelResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst UpdateChannelFlowRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Processors && { Processors: obj.Processors.map((item) => ProcessorFilterSensitiveLog(item)) }),\n ...(obj.Name && { Name: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst UpdateChannelFlowResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst UpdateChannelMessageRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.Content && { Content: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n ...(obj.Metadata && { Metadata: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\n});\nconst UpdateChannelMessageResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst UpdateChannelReadMarkerRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n});\nconst UpdateChannelReadMarkerResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n});\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelBansPaginator.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "paginateListChannelBans": () => (/* binding */ paginateListChannelBans)\n/* harmony export */ });\n/* harmony import */ var _ChimeSDKMessaging__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ChimeSDKMessaging */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessaging.js");\n/* harmony import */ var _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../ChimeSDKMessagingClient */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessagingClient.js");\n/* harmony import */ var _commands_ListChannelBansCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListChannelBansCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelBansCommand.js");\n\n\n\nconst makePagedClientRequest = async (client, input, ...args) => {\n return await client.send(new _commands_ListChannelBansCommand__WEBPACK_IMPORTED_MODULE_0__.ListChannelBansCommand(input), ...args);\n};\nconst makePagedRequest = async (client, input, ...args) => {\n return await client.listChannelBans(input, ...args);\n};\nasync function* paginateListChannelBans(config, input, ...additionalArguments) {\n let token = config.startingToken || undefined;\n let hasNext = true;\n let page;\n while (hasNext) {\n input.NextToken = token;\n input["MaxResults"] = config.pageSize;\n if (config.client instanceof _ChimeSDKMessaging__WEBPACK_IMPORTED_MODULE_1__.ChimeSDKMessaging) {\n page = await makePagedRequest(config.client, input, ...additionalArguments);\n }\n else if (config.client instanceof _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_2__.ChimeSDKMessagingClient) {\n page = await makePagedClientRequest(config.client, input, ...additionalArguments);\n }\n else {\n throw new Error("Invalid client, expected ChimeSDKMessaging | ChimeSDKMessagingClient");\n }\n yield page;\n const prevToken = token;\n token = page.NextToken;\n hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));\n }\n return undefined;\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelBansPaginator.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelFlowsPaginator.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "paginateListChannelFlows": () => (/* binding */ paginateListChannelFlows)\n/* harmony export */ });\n/* harmony import */ var _ChimeSDKMessaging__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ChimeSDKMessaging */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessaging.js");\n/* harmony import */ var _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../ChimeSDKMessagingClient */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessagingClient.js");\n/* harmony import */ var _commands_ListChannelFlowsCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListChannelFlowsCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelFlowsCommand.js");\n\n\n\nconst makePagedClientRequest = async (client, input, ...args) => {\n return await client.send(new _commands_ListChannelFlowsCommand__WEBPACK_IMPORTED_MODULE_0__.ListChannelFlowsCommand(input), ...args);\n};\nconst makePagedRequest = async (client, input, ...args) => {\n return await client.listChannelFlows(input, ...args);\n};\nasync function* paginateListChannelFlows(config, input, ...additionalArguments) {\n let token = config.startingToken || undefined;\n let hasNext = true;\n let page;\n while (hasNext) {\n input.NextToken = token;\n input["MaxResults"] = config.pageSize;\n if (config.client instanceof _ChimeSDKMessaging__WEBPACK_IMPORTED_MODULE_1__.ChimeSDKMessaging) {\n page = await makePagedRequest(config.client, input, ...additionalArguments);\n }\n else if (config.client instanceof _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_2__.ChimeSDKMessagingClient) {\n page = await makePagedClientRequest(config.client, input, ...additionalArguments);\n }\n else {\n throw new Error("Invalid client, expected ChimeSDKMessaging | ChimeSDKMessagingClient");\n }\n yield page;\n const prevToken = token;\n token = page.NextToken;\n hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));\n }\n return undefined;\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelFlowsPaginator.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelMembershipsForAppInstanceUserPaginator.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "paginateListChannelMembershipsForAppInstanceUser": () => (/* binding */ paginateListChannelMembershipsForAppInstanceUser)\n/* harmony export */ });\n/* harmony import */ var _ChimeSDKMessaging__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ChimeSDKMessaging */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessaging.js");\n/* harmony import */ var _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../ChimeSDKMessagingClient */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessagingClient.js");\n/* harmony import */ var _commands_ListChannelMembershipsForAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListChannelMembershipsForAppInstanceUserCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js");\n\n\n\nconst makePagedClientRequest = async (client, input, ...args) => {\n return await client.send(new _commands_ListChannelMembershipsForAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_0__.ListChannelMembershipsForAppInstanceUserCommand(input), ...args);\n};\nconst makePagedRequest = async (client, input, ...args) => {\n return await client.listChannelMembershipsForAppInstanceUser(input, ...args);\n};\nasync function* paginateListChannelMembershipsForAppInstanceUser(config, input, ...additionalArguments) {\n let token = config.startingToken || undefined;\n let hasNext = true;\n let page;\n while (hasNext) {\n input.NextToken = token;\n input["MaxResults"] = config.pageSize;\n if (config.client instanceof _ChimeSDKMessaging__WEBPACK_IMPORTED_MODULE_1__.ChimeSDKMessaging) {\n page = await makePagedRequest(config.client, input, ...additionalArguments);\n }\n else if (config.client instanceof _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_2__.ChimeSDKMessagingClient) {\n page = await makePagedClientRequest(config.client, input, ...additionalArguments);\n }\n else {\n throw new Error("Invalid client, expected ChimeSDKMessaging | ChimeSDKMessagingClient");\n }\n yield page;\n const prevToken = token;\n token = page.NextToken;\n hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));\n }\n return undefined;\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelMembershipsForAppInstanceUserPaginator.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelMembershipsPaginator.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "paginateListChannelMemberships": () => (/* binding */ paginateListChannelMemberships)\n/* harmony export */ });\n/* harmony import */ var _ChimeSDKMessaging__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ChimeSDKMessaging */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessaging.js");\n/* harmony import */ var _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../ChimeSDKMessagingClient */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessagingClient.js");\n/* harmony import */ var _commands_ListChannelMembershipsCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListChannelMembershipsCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMembershipsCommand.js");\n\n\n\nconst makePagedClientRequest = async (client, input, ...args) => {\n return await client.send(new _commands_ListChannelMembershipsCommand__WEBPACK_IMPORTED_MODULE_0__.ListChannelMembershipsCommand(input), ...args);\n};\nconst makePagedRequest = async (client, input, ...args) => {\n return await client.listChannelMemberships(input, ...args);\n};\nasync function* paginateListChannelMemberships(config, input, ...additionalArguments) {\n let token = config.startingToken || undefined;\n let hasNext = true;\n let page;\n while (hasNext) {\n input.NextToken = token;\n input["MaxResults"] = config.pageSize;\n if (config.client instanceof _ChimeSDKMessaging__WEBPACK_IMPORTED_MODULE_1__.ChimeSDKMessaging) {\n page = await makePagedRequest(config.client, input, ...additionalArguments);\n }\n else if (config.client instanceof _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_2__.ChimeSDKMessagingClient) {\n page = await makePagedClientRequest(config.client, input, ...additionalArguments);\n }\n else {\n throw new Error("Invalid client, expected ChimeSDKMessaging | ChimeSDKMessagingClient");\n }\n yield page;\n const prevToken = token;\n token = page.NextToken;\n hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));\n }\n return undefined;\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelMembershipsPaginator.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelMessagesPaginator.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "paginateListChannelMessages": () => (/* binding */ paginateListChannelMessages)\n/* harmony export */ });\n/* harmony import */ var _ChimeSDKMessaging__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ChimeSDKMessaging */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessaging.js");\n/* harmony import */ var _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../ChimeSDKMessagingClient */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessagingClient.js");\n/* harmony import */ var _commands_ListChannelMessagesCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListChannelMessagesCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMessagesCommand.js");\n\n\n\nconst makePagedClientRequest = async (client, input, ...args) => {\n return await client.send(new _commands_ListChannelMessagesCommand__WEBPACK_IMPORTED_MODULE_0__.ListChannelMessagesCommand(input), ...args);\n};\nconst makePagedRequest = async (client, input, ...args) => {\n return await client.listChannelMessages(input, ...args);\n};\nasync function* paginateListChannelMessages(config, input, ...additionalArguments) {\n let token = config.startingToken || undefined;\n let hasNext = true;\n let page;\n while (hasNext) {\n input.NextToken = token;\n input["MaxResults"] = config.pageSize;\n if (config.client instanceof _ChimeSDKMessaging__WEBPACK_IMPORTED_MODULE_1__.ChimeSDKMessaging) {\n page = await makePagedRequest(config.client, input, ...additionalArguments);\n }\n else if (config.client instanceof _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_2__.ChimeSDKMessagingClient) {\n page = await makePagedClientRequest(config.client, input, ...additionalArguments);\n }\n else {\n throw new Error("Invalid client, expected ChimeSDKMessaging | ChimeSDKMessagingClient");\n }\n yield page;\n const prevToken = token;\n token = page.NextToken;\n hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));\n }\n return undefined;\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelMessagesPaginator.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelModeratorsPaginator.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "paginateListChannelModerators": () => (/* binding */ paginateListChannelModerators)\n/* harmony export */ });\n/* harmony import */ var _ChimeSDKMessaging__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ChimeSDKMessaging */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessaging.js");\n/* harmony import */ var _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../ChimeSDKMessagingClient */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessagingClient.js");\n/* harmony import */ var _commands_ListChannelModeratorsCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListChannelModeratorsCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelModeratorsCommand.js");\n\n\n\nconst makePagedClientRequest = async (client, input, ...args) => {\n return await client.send(new _commands_ListChannelModeratorsCommand__WEBPACK_IMPORTED_MODULE_0__.ListChannelModeratorsCommand(input), ...args);\n};\nconst makePagedRequest = async (client, input, ...args) => {\n return await client.listChannelModerators(input, ...args);\n};\nasync function* paginateListChannelModerators(config, input, ...additionalArguments) {\n let token = config.startingToken || undefined;\n let hasNext = true;\n let page;\n while (hasNext) {\n input.NextToken = token;\n input["MaxResults"] = config.pageSize;\n if (config.client instanceof _ChimeSDKMessaging__WEBPACK_IMPORTED_MODULE_1__.ChimeSDKMessaging) {\n page = await makePagedRequest(config.client, input, ...additionalArguments);\n }\n else if (config.client instanceof _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_2__.ChimeSDKMessagingClient) {\n page = await makePagedClientRequest(config.client, input, ...additionalArguments);\n }\n else {\n throw new Error("Invalid client, expected ChimeSDKMessaging | ChimeSDKMessagingClient");\n }\n yield page;\n const prevToken = token;\n token = page.NextToken;\n hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));\n }\n return undefined;\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelModeratorsPaginator.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelsAssociatedWithChannelFlowPaginator.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "paginateListChannelsAssociatedWithChannelFlow": () => (/* binding */ paginateListChannelsAssociatedWithChannelFlow)\n/* harmony export */ });\n/* harmony import */ var _ChimeSDKMessaging__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ChimeSDKMessaging */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessaging.js");\n/* harmony import */ var _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../ChimeSDKMessagingClient */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessagingClient.js");\n/* harmony import */ var _commands_ListChannelsAssociatedWithChannelFlowCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListChannelsAssociatedWithChannelFlowCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsAssociatedWithChannelFlowCommand.js");\n\n\n\nconst makePagedClientRequest = async (client, input, ...args) => {\n return await client.send(new _commands_ListChannelsAssociatedWithChannelFlowCommand__WEBPACK_IMPORTED_MODULE_0__.ListChannelsAssociatedWithChannelFlowCommand(input), ...args);\n};\nconst makePagedRequest = async (client, input, ...args) => {\n return await client.listChannelsAssociatedWithChannelFlow(input, ...args);\n};\nasync function* paginateListChannelsAssociatedWithChannelFlow(config, input, ...additionalArguments) {\n let token = config.startingToken || undefined;\n let hasNext = true;\n let page;\n while (hasNext) {\n input.NextToken = token;\n input["MaxResults"] = config.pageSize;\n if (config.client instanceof _ChimeSDKMessaging__WEBPACK_IMPORTED_MODULE_1__.ChimeSDKMessaging) {\n page = await makePagedRequest(config.client, input, ...additionalArguments);\n }\n else if (config.client instanceof _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_2__.ChimeSDKMessagingClient) {\n page = await makePagedClientRequest(config.client, input, ...additionalArguments);\n }\n else {\n throw new Error("Invalid client, expected ChimeSDKMessaging | ChimeSDKMessagingClient");\n }\n yield page;\n const prevToken = token;\n token = page.NextToken;\n hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));\n }\n return undefined;\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelsAssociatedWithChannelFlowPaginator.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelsModeratedByAppInstanceUserPaginator.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "paginateListChannelsModeratedByAppInstanceUser": () => (/* binding */ paginateListChannelsModeratedByAppInstanceUser)\n/* harmony export */ });\n/* harmony import */ var _ChimeSDKMessaging__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ChimeSDKMessaging */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessaging.js");\n/* harmony import */ var _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../ChimeSDKMessagingClient */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessagingClient.js");\n/* harmony import */ var _commands_ListChannelsModeratedByAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListChannelsModeratedByAppInstanceUserCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js");\n\n\n\nconst makePagedClientRequest = async (client, input, ...args) => {\n return await client.send(new _commands_ListChannelsModeratedByAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_0__.ListChannelsModeratedByAppInstanceUserCommand(input), ...args);\n};\nconst makePagedRequest = async (client, input, ...args) => {\n return await client.listChannelsModeratedByAppInstanceUser(input, ...args);\n};\nasync function* paginateListChannelsModeratedByAppInstanceUser(config, input, ...additionalArguments) {\n let token = config.startingToken || undefined;\n let hasNext = true;\n let page;\n while (hasNext) {\n input.NextToken = token;\n input["MaxResults"] = config.pageSize;\n if (config.client instanceof _ChimeSDKMessaging__WEBPACK_IMPORTED_MODULE_1__.ChimeSDKMessaging) {\n page = await makePagedRequest(config.client, input, ...additionalArguments);\n }\n else if (config.client instanceof _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_2__.ChimeSDKMessagingClient) {\n page = await makePagedClientRequest(config.client, input, ...additionalArguments);\n }\n else {\n throw new Error("Invalid client, expected ChimeSDKMessaging | ChimeSDKMessagingClient");\n }\n yield page;\n const prevToken = token;\n token = page.NextToken;\n hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));\n }\n return undefined;\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelsModeratedByAppInstanceUserPaginator.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelsPaginator.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "paginateListChannels": () => (/* binding */ paginateListChannels)\n/* harmony export */ });\n/* harmony import */ var _ChimeSDKMessaging__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ChimeSDKMessaging */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessaging.js");\n/* harmony import */ var _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../ChimeSDKMessagingClient */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessagingClient.js");\n/* harmony import */ var _commands_ListChannelsCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListChannelsCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsCommand.js");\n\n\n\nconst makePagedClientRequest = async (client, input, ...args) => {\n return await client.send(new _commands_ListChannelsCommand__WEBPACK_IMPORTED_MODULE_0__.ListChannelsCommand(input), ...args);\n};\nconst makePagedRequest = async (client, input, ...args) => {\n return await client.listChannels(input, ...args);\n};\nasync function* paginateListChannels(config, input, ...additionalArguments) {\n let token = config.startingToken || undefined;\n let hasNext = true;\n let page;\n while (hasNext) {\n input.NextToken = token;\n input["MaxResults"] = config.pageSize;\n if (config.client instanceof _ChimeSDKMessaging__WEBPACK_IMPORTED_MODULE_1__.ChimeSDKMessaging) {\n page = await makePagedRequest(config.client, input, ...additionalArguments);\n }\n else if (config.client instanceof _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_2__.ChimeSDKMessagingClient) {\n page = await makePagedClientRequest(config.client, input, ...additionalArguments);\n }\n else {\n throw new Error("Invalid client, expected ChimeSDKMessaging | ChimeSDKMessagingClient");\n }\n yield page;\n const prevToken = token;\n token = page.NextToken;\n hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));\n }\n return undefined;\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelsPaginator.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListSubChannelsPaginator.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "paginateListSubChannels": () => (/* binding */ paginateListSubChannels)\n/* harmony export */ });\n/* harmony import */ var _ChimeSDKMessaging__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ChimeSDKMessaging */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessaging.js");\n/* harmony import */ var _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../ChimeSDKMessagingClient */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessagingClient.js");\n/* harmony import */ var _commands_ListSubChannelsCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListSubChannelsCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListSubChannelsCommand.js");\n\n\n\nconst makePagedClientRequest = async (client, input, ...args) => {\n return await client.send(new _commands_ListSubChannelsCommand__WEBPACK_IMPORTED_MODULE_0__.ListSubChannelsCommand(input), ...args);\n};\nconst makePagedRequest = async (client, input, ...args) => {\n return await client.listSubChannels(input, ...args);\n};\nasync function* paginateListSubChannels(config, input, ...additionalArguments) {\n let token = config.startingToken || undefined;\n let hasNext = true;\n let page;\n while (hasNext) {\n input.NextToken = token;\n input["MaxResults"] = config.pageSize;\n if (config.client instanceof _ChimeSDKMessaging__WEBPACK_IMPORTED_MODULE_1__.ChimeSDKMessaging) {\n page = await makePagedRequest(config.client, input, ...additionalArguments);\n }\n else if (config.client instanceof _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_2__.ChimeSDKMessagingClient) {\n page = await makePagedClientRequest(config.client, input, ...additionalArguments);\n }\n else {\n throw new Error("Invalid client, expected ChimeSDKMessaging | ChimeSDKMessagingClient");\n }\n yield page;\n const prevToken = token;\n token = page.NextToken;\n hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));\n }\n return undefined;\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListSubChannelsPaginator.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/SearchChannelsPaginator.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "paginateSearchChannels": () => (/* binding */ paginateSearchChannels)\n/* harmony export */ });\n/* harmony import */ var _ChimeSDKMessaging__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ChimeSDKMessaging */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessaging.js");\n/* harmony import */ var _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../ChimeSDKMessagingClient */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessagingClient.js");\n/* harmony import */ var _commands_SearchChannelsCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/SearchChannelsCommand */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/SearchChannelsCommand.js");\n\n\n\nconst makePagedClientRequest = async (client, input, ...args) => {\n return await client.send(new _commands_SearchChannelsCommand__WEBPACK_IMPORTED_MODULE_0__.SearchChannelsCommand(input), ...args);\n};\nconst makePagedRequest = async (client, input, ...args) => {\n return await client.searchChannels(input, ...args);\n};\nasync function* paginateSearchChannels(config, input, ...additionalArguments) {\n let token = config.startingToken || undefined;\n let hasNext = true;\n let page;\n while (hasNext) {\n input.NextToken = token;\n input["MaxResults"] = config.pageSize;\n if (config.client instanceof _ChimeSDKMessaging__WEBPACK_IMPORTED_MODULE_1__.ChimeSDKMessaging) {\n page = await makePagedRequest(config.client, input, ...additionalArguments);\n }\n else if (config.client instanceof _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_2__.ChimeSDKMessagingClient) {\n page = await makePagedClientRequest(config.client, input, ...additionalArguments);\n }\n else {\n throw new Error("Invalid client, expected ChimeSDKMessaging | ChimeSDKMessagingClient");\n }\n yield page;\n const prevToken = token;\n token = page.NextToken;\n hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));\n }\n return undefined;\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/SearchChannelsPaginator.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "paginateListChannelBans": () => (/* reexport safe */ _ListChannelBansPaginator__WEBPACK_IMPORTED_MODULE_0__.paginateListChannelBans),\n/* harmony export */ "paginateListChannelFlows": () => (/* reexport safe */ _ListChannelFlowsPaginator__WEBPACK_IMPORTED_MODULE_1__.paginateListChannelFlows),\n/* harmony export */ "paginateListChannelMemberships": () => (/* reexport safe */ _ListChannelMembershipsPaginator__WEBPACK_IMPORTED_MODULE_3__.paginateListChannelMemberships),\n/* harmony export */ "paginateListChannelMembershipsForAppInstanceUser": () => (/* reexport safe */ _ListChannelMembershipsForAppInstanceUserPaginator__WEBPACK_IMPORTED_MODULE_2__.paginateListChannelMembershipsForAppInstanceUser),\n/* harmony export */ "paginateListChannelMessages": () => (/* reexport safe */ _ListChannelMessagesPaginator__WEBPACK_IMPORTED_MODULE_4__.paginateListChannelMessages),\n/* harmony export */ "paginateListChannelModerators": () => (/* reexport safe */ _ListChannelModeratorsPaginator__WEBPACK_IMPORTED_MODULE_5__.paginateListChannelModerators),\n/* harmony export */ "paginateListChannels": () => (/* reexport safe */ _ListChannelsPaginator__WEBPACK_IMPORTED_MODULE_8__.paginateListChannels),\n/* harmony export */ "paginateListChannelsAssociatedWithChannelFlow": () => (/* reexport safe */ _ListChannelsAssociatedWithChannelFlowPaginator__WEBPACK_IMPORTED_MODULE_6__.paginateListChannelsAssociatedWithChannelFlow),\n/* harmony export */ "paginateListChannelsModeratedByAppInstanceUser": () => (/* reexport safe */ _ListChannelsModeratedByAppInstanceUserPaginator__WEBPACK_IMPORTED_MODULE_7__.paginateListChannelsModeratedByAppInstanceUser),\n/* harmony export */ "paginateListSubChannels": () => (/* reexport safe */ _ListSubChannelsPaginator__WEBPACK_IMPORTED_MODULE_9__.paginateListSubChannels),\n/* harmony export */ "paginateSearchChannels": () => (/* reexport safe */ _SearchChannelsPaginator__WEBPACK_IMPORTED_MODULE_10__.paginateSearchChannels)\n/* harmony export */ });\n/* harmony import */ var _ListChannelBansPaginator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListChannelBansPaginator */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelBansPaginator.js");\n/* harmony import */ var _ListChannelFlowsPaginator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ListChannelFlowsPaginator */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelFlowsPaginator.js");\n/* harmony import */ var _ListChannelMembershipsForAppInstanceUserPaginator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ListChannelMembershipsForAppInstanceUserPaginator */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelMembershipsForAppInstanceUserPaginator.js");\n/* harmony import */ var _ListChannelMembershipsPaginator__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ListChannelMembershipsPaginator */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelMembershipsPaginator.js");\n/* harmony import */ var _ListChannelMessagesPaginator__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ListChannelMessagesPaginator */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelMessagesPaginator.js");\n/* harmony import */ var _ListChannelModeratorsPaginator__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ListChannelModeratorsPaginator */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelModeratorsPaginator.js");\n/* harmony import */ var _ListChannelsAssociatedWithChannelFlowPaginator__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./ListChannelsAssociatedWithChannelFlowPaginator */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelsAssociatedWithChannelFlowPaginator.js");\n/* harmony import */ var _ListChannelsModeratedByAppInstanceUserPaginator__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ListChannelsModeratedByAppInstanceUserPaginator */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelsModeratedByAppInstanceUserPaginator.js");\n/* harmony import */ var _ListChannelsPaginator__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./ListChannelsPaginator */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelsPaginator.js");\n/* harmony import */ var _ListSubChannelsPaginator__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./ListSubChannelsPaginator */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListSubChannelsPaginator.js");\n/* harmony import */ var _SearchChannelsPaginator__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./SearchChannelsPaginator */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/SearchChannelsPaginator.js");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/index.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "deserializeAws_restJson1AssociateChannelFlowCommand": () => (/* binding */ deserializeAws_restJson1AssociateChannelFlowCommand),\n/* harmony export */ "deserializeAws_restJson1BatchCreateChannelMembershipCommand": () => (/* binding */ deserializeAws_restJson1BatchCreateChannelMembershipCommand),\n/* harmony export */ "deserializeAws_restJson1ChannelFlowCallbackCommand": () => (/* binding */ deserializeAws_restJson1ChannelFlowCallbackCommand),\n/* harmony export */ "deserializeAws_restJson1CreateChannelBanCommand": () => (/* binding */ deserializeAws_restJson1CreateChannelBanCommand),\n/* harmony export */ "deserializeAws_restJson1CreateChannelCommand": () => (/* binding */ deserializeAws_restJson1CreateChannelCommand),\n/* harmony export */ "deserializeAws_restJson1CreateChannelFlowCommand": () => (/* binding */ deserializeAws_restJson1CreateChannelFlowCommand),\n/* harmony export */ "deserializeAws_restJson1CreateChannelMembershipCommand": () => (/* binding */ deserializeAws_restJson1CreateChannelMembershipCommand),\n/* harmony export */ "deserializeAws_restJson1CreateChannelModeratorCommand": () => (/* binding */ deserializeAws_restJson1CreateChannelModeratorCommand),\n/* harmony export */ "deserializeAws_restJson1DeleteChannelBanCommand": () => (/* binding */ deserializeAws_restJson1DeleteChannelBanCommand),\n/* harmony export */ "deserializeAws_restJson1DeleteChannelCommand": () => (/* binding */ deserializeAws_restJson1DeleteChannelCommand),\n/* harmony export */ "deserializeAws_restJson1DeleteChannelFlowCommand": () => (/* binding */ deserializeAws_restJson1DeleteChannelFlowCommand),\n/* harmony export */ "deserializeAws_restJson1DeleteChannelMembershipCommand": () => (/* binding */ deserializeAws_restJson1DeleteChannelMembershipCommand),\n/* harmony export */ "deserializeAws_restJson1DeleteChannelMessageCommand": () => (/* binding */ deserializeAws_restJson1DeleteChannelMessageCommand),\n/* harmony export */ "deserializeAws_restJson1DeleteChannelModeratorCommand": () => (/* binding */ deserializeAws_restJson1DeleteChannelModeratorCommand),\n/* harmony export */ "deserializeAws_restJson1DescribeChannelBanCommand": () => (/* binding */ deserializeAws_restJson1DescribeChannelBanCommand),\n/* harmony export */ "deserializeAws_restJson1DescribeChannelCommand": () => (/* binding */ deserializeAws_restJson1DescribeChannelCommand),\n/* harmony export */ "deserializeAws_restJson1DescribeChannelFlowCommand": () => (/* binding */ deserializeAws_restJson1DescribeChannelFlowCommand),\n/* harmony export */ "deserializeAws_restJson1DescribeChannelMembershipCommand": () => (/* binding */ deserializeAws_restJson1DescribeChannelMembershipCommand),\n/* harmony export */ "deserializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand": () => (/* binding */ deserializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand),\n/* harmony export */ "deserializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommand": () => (/* binding */ deserializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommand),\n/* harmony export */ "deserializeAws_restJson1DescribeChannelModeratorCommand": () => (/* binding */ deserializeAws_restJson1DescribeChannelModeratorCommand),\n/* harmony export */ "deserializeAws_restJson1DisassociateChannelFlowCommand": () => (/* binding */ deserializeAws_restJson1DisassociateChannelFlowCommand),\n/* harmony export */ "deserializeAws_restJson1GetChannelMembershipPreferencesCommand": () => (/* binding */ deserializeAws_restJson1GetChannelMembershipPreferencesCommand),\n/* harmony export */ "deserializeAws_restJson1GetChannelMessageCommand": () => (/* binding */ deserializeAws_restJson1GetChannelMessageCommand),\n/* harmony export */ "deserializeAws_restJson1GetChannelMessageStatusCommand": () => (/* binding */ deserializeAws_restJson1GetChannelMessageStatusCommand),\n/* harmony export */ "deserializeAws_restJson1GetMessagingSessionEndpointCommand": () => (/* binding */ deserializeAws_restJson1GetMessagingSessionEndpointCommand),\n/* harmony export */ "deserializeAws_restJson1ListChannelBansCommand": () => (/* binding */ deserializeAws_restJson1ListChannelBansCommand),\n/* harmony export */ "deserializeAws_restJson1ListChannelFlowsCommand": () => (/* binding */ deserializeAws_restJson1ListChannelFlowsCommand),\n/* harmony export */ "deserializeAws_restJson1ListChannelMembershipsCommand": () => (/* binding */ deserializeAws_restJson1ListChannelMembershipsCommand),\n/* harmony export */ "deserializeAws_restJson1ListChannelMembershipsForAppInstanceUserCommand": () => (/* binding */ deserializeAws_restJson1ListChannelMembershipsForAppInstanceUserCommand),\n/* harmony export */ "deserializeAws_restJson1ListChannelMessagesCommand": () => (/* binding */ deserializeAws_restJson1ListChannelMessagesCommand),\n/* harmony export */ "deserializeAws_restJson1ListChannelModeratorsCommand": () => (/* binding */ deserializeAws_restJson1ListChannelModeratorsCommand),\n/* harmony export */ "deserializeAws_restJson1ListChannelsAssociatedWithChannelFlowCommand": () => (/* binding */ deserializeAws_restJson1ListChannelsAssociatedWithChannelFlowCommand),\n/* harmony export */ "deserializeAws_restJson1ListChannelsCommand": () => (/* binding */ deserializeAws_restJson1ListChannelsCommand),\n/* harmony export */ "deserializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand": () => (/* binding */ deserializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand),\n/* harmony export */ "deserializeAws_restJson1ListSubChannelsCommand": () => (/* binding */ deserializeAws_restJson1ListSubChannelsCommand),\n/* harmony export */ "deserializeAws_restJson1ListTagsForResourceCommand": () => (/* binding */ deserializeAws_restJson1ListTagsForResourceCommand),\n/* harmony export */ "deserializeAws_restJson1PutChannelMembershipPreferencesCommand": () => (/* binding */ deserializeAws_restJson1PutChannelMembershipPreferencesCommand),\n/* harmony export */ "deserializeAws_restJson1RedactChannelMessageCommand": () => (/* binding */ deserializeAws_restJson1RedactChannelMessageCommand),\n/* harmony export */ "deserializeAws_restJson1SearchChannelsCommand": () => (/* binding */ deserializeAws_restJson1SearchChannelsCommand),\n/* harmony export */ "deserializeAws_restJson1SendChannelMessageCommand": () => (/* binding */ deserializeAws_restJson1SendChannelMessageCommand),\n/* harmony export */ "deserializeAws_restJson1TagResourceCommand": () => (/* binding */ deserializeAws_restJson1TagResourceCommand),\n/* harmony export */ "deserializeAws_restJson1UntagResourceCommand": () => (/* binding */ deserializeAws_restJson1UntagResourceCommand),\n/* harmony export */ "deserializeAws_restJson1UpdateChannelCommand": () => (/* binding */ deserializeAws_restJson1UpdateChannelCommand),\n/* harmony export */ "deserializeAws_restJson1UpdateChannelFlowCommand": () => (/* binding */ deserializeAws_restJson1UpdateChannelFlowCommand),\n/* harmony export */ "deserializeAws_restJson1UpdateChannelMessageCommand": () => (/* binding */ deserializeAws_restJson1UpdateChannelMessageCommand),\n/* harmony export */ "deserializeAws_restJson1UpdateChannelReadMarkerCommand": () => (/* binding */ deserializeAws_restJson1UpdateChannelReadMarkerCommand),\n/* harmony export */ "serializeAws_restJson1AssociateChannelFlowCommand": () => (/* binding */ serializeAws_restJson1AssociateChannelFlowCommand),\n/* harmony export */ "serializeAws_restJson1BatchCreateChannelMembershipCommand": () => (/* binding */ serializeAws_restJson1BatchCreateChannelMembershipCommand),\n/* harmony export */ "serializeAws_restJson1ChannelFlowCallbackCommand": () => (/* binding */ serializeAws_restJson1ChannelFlowCallbackCommand),\n/* harmony export */ "serializeAws_restJson1CreateChannelBanCommand": () => (/* binding */ serializeAws_restJson1CreateChannelBanCommand),\n/* harmony export */ "serializeAws_restJson1CreateChannelCommand": () => (/* binding */ serializeAws_restJson1CreateChannelCommand),\n/* harmony export */ "serializeAws_restJson1CreateChannelFlowCommand": () => (/* binding */ serializeAws_restJson1CreateChannelFlowCommand),\n/* harmony export */ "serializeAws_restJson1CreateChannelMembershipCommand": () => (/* binding */ serializeAws_restJson1CreateChannelMembershipCommand),\n/* harmony export */ "serializeAws_restJson1CreateChannelModeratorCommand": () => (/* binding */ serializeAws_restJson1CreateChannelModeratorCommand),\n/* harmony export */ "serializeAws_restJson1DeleteChannelBanCommand": () => (/* binding */ serializeAws_restJson1DeleteChannelBanCommand),\n/* harmony export */ "serializeAws_restJson1DeleteChannelCommand": () => (/* binding */ serializeAws_restJson1DeleteChannelCommand),\n/* harmony export */ "serializeAws_restJson1DeleteChannelFlowCommand": () => (/* binding */ serializeAws_restJson1DeleteChannelFlowCommand),\n/* harmony export */ "serializeAws_restJson1DeleteChannelMembershipCommand": () => (/* binding */ serializeAws_restJson1DeleteChannelMembershipCommand),\n/* harmony export */ "serializeAws_restJson1DeleteChannelMessageCommand": () => (/* binding */ serializeAws_restJson1DeleteChannelMessageCommand),\n/* harmony export */ "serializeAws_restJson1DeleteChannelModeratorCommand": () => (/* binding */ serializeAws_restJson1DeleteChannelModeratorCommand),\n/* harmony export */ "serializeAws_restJson1DescribeChannelBanCommand": () => (/* binding */ serializeAws_restJson1DescribeChannelBanCommand),\n/* harmony export */ "serializeAws_restJson1DescribeChannelCommand": () => (/* binding */ serializeAws_restJson1DescribeChannelCommand),\n/* harmony export */ "serializeAws_restJson1DescribeChannelFlowCommand": () => (/* binding */ serializeAws_restJson1DescribeChannelFlowCommand),\n/* harmony export */ "serializeAws_restJson1DescribeChannelMembershipCommand": () => (/* binding */ serializeAws_restJson1DescribeChannelMembershipCommand),\n/* harmony export */ "serializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand": () => (/* binding */ serializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand),\n/* harmony export */ "serializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommand": () => (/* binding */ serializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommand),\n/* harmony export */ "serializeAws_restJson1DescribeChannelModeratorCommand": () => (/* binding */ serializeAws_restJson1DescribeChannelModeratorCommand),\n/* harmony export */ "serializeAws_restJson1DisassociateChannelFlowCommand": () => (/* binding */ serializeAws_restJson1DisassociateChannelFlowCommand),\n/* harmony export */ "serializeAws_restJson1GetChannelMembershipPreferencesCommand": () => (/* binding */ serializeAws_restJson1GetChannelMembershipPreferencesCommand),\n/* harmony export */ "serializeAws_restJson1GetChannelMessageCommand": () => (/* binding */ serializeAws_restJson1GetChannelMessageCommand),\n/* harmony export */ "serializeAws_restJson1GetChannelMessageStatusCommand": () => (/* binding */ serializeAws_restJson1GetChannelMessageStatusCommand),\n/* harmony export */ "serializeAws_restJson1GetMessagingSessionEndpointCommand": () => (/* binding */ serializeAws_restJson1GetMessagingSessionEndpointCommand),\n/* harmony export */ "serializeAws_restJson1ListChannelBansCommand": () => (/* binding */ serializeAws_restJson1ListChannelBansCommand),\n/* harmony export */ "serializeAws_restJson1ListChannelFlowsCommand": () => (/* binding */ serializeAws_restJson1ListChannelFlowsCommand),\n/* harmony export */ "serializeAws_restJson1ListChannelMembershipsCommand": () => (/* binding */ serializeAws_restJson1ListChannelMembershipsCommand),\n/* harmony export */ "serializeAws_restJson1ListChannelMembershipsForAppInstanceUserCommand": () => (/* binding */ serializeAws_restJson1ListChannelMembershipsForAppInstanceUserCommand),\n/* harmony export */ "serializeAws_restJson1ListChannelMessagesCommand": () => (/* binding */ serializeAws_restJson1ListChannelMessagesCommand),\n/* harmony export */ "serializeAws_restJson1ListChannelModeratorsCommand": () => (/* binding */ serializeAws_restJson1ListChannelModeratorsCommand),\n/* harmony export */ "serializeAws_restJson1ListChannelsAssociatedWithChannelFlowCommand": () => (/* binding */ serializeAws_restJson1ListChannelsAssociatedWithChannelFlowCommand),\n/* harmony export */ "serializeAws_restJson1ListChannelsCommand": () => (/* binding */ serializeAws_restJson1ListChannelsCommand),\n/* harmony export */ "serializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand": () => (/* binding */ serializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand),\n/* harmony export */ "serializeAws_restJson1ListSubChannelsCommand": () => (/* binding */ serializeAws_restJson1ListSubChannelsCommand),\n/* harmony export */ "serializeAws_restJson1ListTagsForResourceCommand": () => (/* binding */ serializeAws_restJson1ListTagsForResourceCommand),\n/* harmony export */ "serializeAws_restJson1PutChannelMembershipPreferencesCommand": () => (/* binding */ serializeAws_restJson1PutChannelMembershipPreferencesCommand),\n/* harmony export */ "serializeAws_restJson1RedactChannelMessageCommand": () => (/* binding */ serializeAws_restJson1RedactChannelMessageCommand),\n/* harmony export */ "serializeAws_restJson1SearchChannelsCommand": () => (/* binding */ serializeAws_restJson1SearchChannelsCommand),\n/* harmony export */ "serializeAws_restJson1SendChannelMessageCommand": () => (/* binding */ serializeAws_restJson1SendChannelMessageCommand),\n/* harmony export */ "serializeAws_restJson1TagResourceCommand": () => (/* binding */ serializeAws_restJson1TagResourceCommand),\n/* harmony export */ "serializeAws_restJson1UntagResourceCommand": () => (/* binding */ serializeAws_restJson1UntagResourceCommand),\n/* harmony export */ "serializeAws_restJson1UpdateChannelCommand": () => (/* binding */ serializeAws_restJson1UpdateChannelCommand),\n/* harmony export */ "serializeAws_restJson1UpdateChannelFlowCommand": () => (/* binding */ serializeAws_restJson1UpdateChannelFlowCommand),\n/* harmony export */ "serializeAws_restJson1UpdateChannelMessageCommand": () => (/* binding */ serializeAws_restJson1UpdateChannelMessageCommand),\n/* harmony export */ "serializeAws_restJson1UpdateChannelReadMarkerCommand": () => (/* binding */ serializeAws_restJson1UpdateChannelReadMarkerCommand)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/protocol-http */ "./node_modules/@aws-sdk/protocol-http/dist-es/index.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! uuid */ "./node_modules/uuid/dist/esm-browser/v4.js");\n/* harmony import */ var _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../models/ChimeSDKMessagingServiceException */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/ChimeSDKMessagingServiceException.js");\n/* harmony import */ var _models_models_0__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../models/models_0 */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js");\n\n\n\n\n\nconst serializeAws_restJson1AssociateChannelFlowCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "content-type": "application/json",\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels/{ChannelArn}/channel-flow";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n let body;\n body = JSON.stringify({\n ...(input.ChannelFlowArn != null && { ChannelFlowArn: input.ChannelFlowArn }),\n });\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "PUT",\n headers,\n path: resolvedPath,\n body,\n });\n};\nconst serializeAws_restJson1BatchCreateChannelMembershipCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "content-type": "application/json",\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels/{ChannelArn}/memberships";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n const query = map({\n operation: [, "batch-create"],\n });\n let body;\n body = JSON.stringify({\n ...(input.MemberArns != null && { MemberArns: serializeAws_restJson1MemberArns(input.MemberArns, context) }),\n ...(input.SubChannelId != null && { SubChannelId: input.SubChannelId }),\n ...(input.Type != null && { Type: input.Type }),\n });\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "POST",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nconst serializeAws_restJson1ChannelFlowCallbackCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = {\n "content-type": "application/json",\n };\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels/{ChannelArn}";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n const query = map({\n operation: [, "channel-flow-callback"],\n });\n let body;\n body = JSON.stringify({\n CallbackId: input.CallbackId ?? (0,uuid__WEBPACK_IMPORTED_MODULE_2__["default"])(),\n ...(input.ChannelMessage != null && {\n ChannelMessage: serializeAws_restJson1ChannelMessageCallback(input.ChannelMessage, context),\n }),\n ...(input.DeleteResource != null && { DeleteResource: input.DeleteResource }),\n });\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "POST",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nconst serializeAws_restJson1CreateChannelCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "content-type": "application/json",\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels";\n let body;\n body = JSON.stringify({\n ...(input.AppInstanceArn != null && { AppInstanceArn: input.AppInstanceArn }),\n ...(input.ChannelId != null && { ChannelId: input.ChannelId }),\n ClientRequestToken: input.ClientRequestToken ?? (0,uuid__WEBPACK_IMPORTED_MODULE_2__["default"])(),\n ...(input.ElasticChannelConfiguration != null && {\n ElasticChannelConfiguration: serializeAws_restJson1ElasticChannelConfiguration(input.ElasticChannelConfiguration, context),\n }),\n ...(input.MemberArns != null && { MemberArns: serializeAws_restJson1ChannelMemberArns(input.MemberArns, context) }),\n ...(input.Metadata != null && { Metadata: input.Metadata }),\n ...(input.Mode != null && { Mode: input.Mode }),\n ...(input.ModeratorArns != null && {\n ModeratorArns: serializeAws_restJson1ChannelModeratorArns(input.ModeratorArns, context),\n }),\n ...(input.Name != null && { Name: input.Name }),\n ...(input.Privacy != null && { Privacy: input.Privacy }),\n ...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),\n });\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "POST",\n headers,\n path: resolvedPath,\n body,\n });\n};\nconst serializeAws_restJson1CreateChannelBanCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "content-type": "application/json",\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels/{ChannelArn}/bans";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n let body;\n body = JSON.stringify({\n ...(input.MemberArn != null && { MemberArn: input.MemberArn }),\n });\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "POST",\n headers,\n path: resolvedPath,\n body,\n });\n};\nconst serializeAws_restJson1CreateChannelFlowCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = {\n "content-type": "application/json",\n };\n const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channel-flows";\n let body;\n body = JSON.stringify({\n ...(input.AppInstanceArn != null && { AppInstanceArn: input.AppInstanceArn }),\n ...(input.ClientRequestToken != null && { ClientRequestToken: input.ClientRequestToken }),\n ...(input.Name != null && { Name: input.Name }),\n ...(input.Processors != null && { Processors: serializeAws_restJson1ProcessorList(input.Processors, context) }),\n ...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),\n });\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "POST",\n headers,\n path: resolvedPath,\n body,\n });\n};\nconst serializeAws_restJson1CreateChannelMembershipCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "content-type": "application/json",\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels/{ChannelArn}/memberships";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n let body;\n body = JSON.stringify({\n ...(input.MemberArn != null && { MemberArn: input.MemberArn }),\n ...(input.SubChannelId != null && { SubChannelId: input.SubChannelId }),\n ...(input.Type != null && { Type: input.Type }),\n });\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "POST",\n headers,\n path: resolvedPath,\n body,\n });\n};\nconst serializeAws_restJson1CreateChannelModeratorCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "content-type": "application/json",\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels/{ChannelArn}/moderators";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n let body;\n body = JSON.stringify({\n ...(input.ChannelModeratorArn != null && { ChannelModeratorArn: input.ChannelModeratorArn }),\n });\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "POST",\n headers,\n path: resolvedPath,\n body,\n });\n};\nconst serializeAws_restJson1DeleteChannelCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels/{ChannelArn}";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n const query = map({\n "sub-channel-id": [, input.SubChannelId],\n });\n let body;\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "DELETE",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nconst serializeAws_restJson1DeleteChannelBanCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels/{ChannelArn}/bans/{MemberArn}";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "MemberArn", () => input.MemberArn, "{MemberArn}", false);\n let body;\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "DELETE",\n headers,\n path: resolvedPath,\n body,\n });\n};\nconst serializeAws_restJson1DeleteChannelFlowCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = {};\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channel-flows/{ChannelFlowArn}";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelFlowArn", () => input.ChannelFlowArn, "{ChannelFlowArn}", false);\n let body;\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "DELETE",\n headers,\n path: resolvedPath,\n body,\n });\n};\nconst serializeAws_restJson1DeleteChannelMembershipCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +\n "/channels/{ChannelArn}/memberships/{MemberArn}";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "MemberArn", () => input.MemberArn, "{MemberArn}", false);\n const query = map({\n "sub-channel-id": [, input.SubChannelId],\n });\n let body;\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "DELETE",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nconst serializeAws_restJson1DeleteChannelMessageCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +\n "/channels/{ChannelArn}/messages/{MessageId}";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "MessageId", () => input.MessageId, "{MessageId}", false);\n const query = map({\n "sub-channel-id": [, input.SubChannelId],\n });\n let body;\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "DELETE",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nconst serializeAws_restJson1DeleteChannelModeratorCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +\n "/channels/{ChannelArn}/moderators/{ChannelModeratorArn}";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelModeratorArn", () => input.ChannelModeratorArn, "{ChannelModeratorArn}", false);\n let body;\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "DELETE",\n headers,\n path: resolvedPath,\n body,\n });\n};\nconst serializeAws_restJson1DescribeChannelCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels/{ChannelArn}";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n let body;\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "GET",\n headers,\n path: resolvedPath,\n body,\n });\n};\nconst serializeAws_restJson1DescribeChannelBanCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels/{ChannelArn}/bans/{MemberArn}";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "MemberArn", () => input.MemberArn, "{MemberArn}", false);\n let body;\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "GET",\n headers,\n path: resolvedPath,\n body,\n });\n};\nconst serializeAws_restJson1DescribeChannelFlowCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = {};\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channel-flows/{ChannelFlowArn}";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelFlowArn", () => input.ChannelFlowArn, "{ChannelFlowArn}", false);\n let body;\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "GET",\n headers,\n path: resolvedPath,\n body,\n });\n};\nconst serializeAws_restJson1DescribeChannelMembershipCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +\n "/channels/{ChannelArn}/memberships/{MemberArn}";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "MemberArn", () => input.MemberArn, "{MemberArn}", false);\n const query = map({\n "sub-channel-id": [, input.SubChannelId],\n });\n let body;\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "GET",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nconst serializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels/{ChannelArn}";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n const query = map({\n scope: [, "app-instance-user-membership"],\n "app-instance-user-arn": [, (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)(input.AppInstanceUserArn, `AppInstanceUserArn`)],\n });\n let body;\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "GET",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nconst serializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels/{ChannelArn}";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n const query = map({\n scope: [, "app-instance-user-moderated-channel"],\n "app-instance-user-arn": [, (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)(input.AppInstanceUserArn, `AppInstanceUserArn`)],\n });\n let body;\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "GET",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nconst serializeAws_restJson1DescribeChannelModeratorCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +\n "/channels/{ChannelArn}/moderators/{ChannelModeratorArn}";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelModeratorArn", () => input.ChannelModeratorArn, "{ChannelModeratorArn}", false);\n let body;\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "GET",\n headers,\n path: resolvedPath,\n body,\n });\n};\nconst serializeAws_restJson1DisassociateChannelFlowCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +\n "/channels/{ChannelArn}/channel-flow/{ChannelFlowArn}";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelFlowArn", () => input.ChannelFlowArn, "{ChannelFlowArn}", false);\n let body;\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "DELETE",\n headers,\n path: resolvedPath,\n body,\n });\n};\nconst serializeAws_restJson1GetChannelMembershipPreferencesCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +\n "/channels/{ChannelArn}/memberships/{MemberArn}/preferences";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "MemberArn", () => input.MemberArn, "{MemberArn}", false);\n let body;\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "GET",\n headers,\n path: resolvedPath,\n body,\n });\n};\nconst serializeAws_restJson1GetChannelMessageCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +\n "/channels/{ChannelArn}/messages/{MessageId}";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "MessageId", () => input.MessageId, "{MessageId}", false);\n const query = map({\n "sub-channel-id": [, input.SubChannelId],\n });\n let body;\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "GET",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nconst serializeAws_restJson1GetChannelMessageStatusCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +\n "/channels/{ChannelArn}/messages/{MessageId}";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "MessageId", () => input.MessageId, "{MessageId}", false);\n const query = map({\n scope: [, "message-status"],\n "sub-channel-id": [, input.SubChannelId],\n });\n let body;\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "GET",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nconst serializeAws_restJson1GetMessagingSessionEndpointCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = {\n "content-type": "application/json",\n };\n const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/endpoints/messaging-session";\n let body;\n body = "";\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "GET",\n headers,\n path: resolvedPath,\n body,\n });\n};\nconst serializeAws_restJson1ListChannelBansCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels/{ChannelArn}/bans";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n const query = map({\n "max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],\n "next-token": [, input.NextToken],\n });\n let body;\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "GET",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nconst serializeAws_restJson1ListChannelFlowsCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = {};\n const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channel-flows";\n const query = map({\n "app-instance-arn": [, (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)(input.AppInstanceArn, `AppInstanceArn`)],\n "max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],\n "next-token": [, input.NextToken],\n });\n let body;\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "GET",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nconst serializeAws_restJson1ListChannelMembershipsCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels/{ChannelArn}/memberships";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n const query = map({\n type: [, input.Type],\n "max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],\n "next-token": [, input.NextToken],\n "sub-channel-id": [, input.SubChannelId],\n });\n let body;\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "GET",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nconst serializeAws_restJson1ListChannelMembershipsForAppInstanceUserCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels";\n const query = map({\n scope: [, "app-instance-user-memberships"],\n "app-instance-user-arn": [, input.AppInstanceUserArn],\n "max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],\n "next-token": [, input.NextToken],\n });\n let body;\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "GET",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nconst serializeAws_restJson1ListChannelMessagesCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels/{ChannelArn}/messages";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n const query = map({\n "sort-order": [, input.SortOrder],\n "not-before": [\n () => input.NotBefore !== void 0,\n () => (input.NotBefore.toISOString().split(".")[0] + "Z").toString(),\n ],\n "not-after": [\n () => input.NotAfter !== void 0,\n () => (input.NotAfter.toISOString().split(".")[0] + "Z").toString(),\n ],\n "max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],\n "next-token": [, input.NextToken],\n "sub-channel-id": [, input.SubChannelId],\n });\n let body;\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "GET",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nconst serializeAws_restJson1ListChannelModeratorsCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels/{ChannelArn}/moderators";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n const query = map({\n "max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],\n "next-token": [, input.NextToken],\n });\n let body;\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "GET",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nconst serializeAws_restJson1ListChannelsCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels";\n const query = map({\n "app-instance-arn": [, (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)(input.AppInstanceArn, `AppInstanceArn`)],\n privacy: [, input.Privacy],\n "max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],\n "next-token": [, input.NextToken],\n });\n let body;\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "GET",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nconst serializeAws_restJson1ListChannelsAssociatedWithChannelFlowCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = {};\n const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels";\n const query = map({\n scope: [, "channel-flow-associations"],\n "channel-flow-arn": [, (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)(input.ChannelFlowArn, `ChannelFlowArn`)],\n "max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],\n "next-token": [, input.NextToken],\n });\n let body;\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "GET",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nconst serializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels";\n const query = map({\n scope: [, "app-instance-user-moderated-channels"],\n "app-instance-user-arn": [, input.AppInstanceUserArn],\n "max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],\n "next-token": [, input.NextToken],\n });\n let body;\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "GET",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nconst serializeAws_restJson1ListSubChannelsCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels/{ChannelArn}/subchannels";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n const query = map({\n "max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],\n "next-token": [, input.NextToken],\n });\n let body;\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "GET",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nconst serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = {};\n const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags";\n const query = map({\n arn: [, (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)(input.ResourceARN, `ResourceARN`)],\n });\n let body;\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "GET",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nconst serializeAws_restJson1PutChannelMembershipPreferencesCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "content-type": "application/json",\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +\n "/channels/{ChannelArn}/memberships/{MemberArn}/preferences";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "MemberArn", () => input.MemberArn, "{MemberArn}", false);\n let body;\n body = JSON.stringify({\n ...(input.Preferences != null && {\n Preferences: serializeAws_restJson1ChannelMembershipPreferences(input.Preferences, context),\n }),\n });\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "PUT",\n headers,\n path: resolvedPath,\n body,\n });\n};\nconst serializeAws_restJson1RedactChannelMessageCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "content-type": "application/json",\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +\n "/channels/{ChannelArn}/messages/{MessageId}";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "MessageId", () => input.MessageId, "{MessageId}", false);\n const query = map({\n operation: [, "redact"],\n });\n let body;\n body = JSON.stringify({\n ...(input.SubChannelId != null && { SubChannelId: input.SubChannelId }),\n });\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "POST",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nconst serializeAws_restJson1SearchChannelsCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "content-type": "application/json",\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels";\n const query = map({\n operation: [, "search"],\n "max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],\n "next-token": [, input.NextToken],\n });\n let body;\n body = JSON.stringify({\n ...(input.Fields != null && { Fields: serializeAws_restJson1SearchFields(input.Fields, context) }),\n });\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "POST",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nconst serializeAws_restJson1SendChannelMessageCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "content-type": "application/json",\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels/{ChannelArn}/messages";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n let body;\n body = JSON.stringify({\n ClientRequestToken: input.ClientRequestToken ?? (0,uuid__WEBPACK_IMPORTED_MODULE_2__["default"])(),\n ...(input.Content != null && { Content: input.Content }),\n ...(input.MessageAttributes != null && {\n MessageAttributes: serializeAws_restJson1MessageAttributeMap(input.MessageAttributes, context),\n }),\n ...(input.Metadata != null && { Metadata: input.Metadata }),\n ...(input.Persistence != null && { Persistence: input.Persistence }),\n ...(input.PushNotification != null && {\n PushNotification: serializeAws_restJson1PushNotificationConfiguration(input.PushNotification, context),\n }),\n ...(input.SubChannelId != null && { SubChannelId: input.SubChannelId }),\n ...(input.Type != null && { Type: input.Type }),\n });\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "POST",\n headers,\n path: resolvedPath,\n body,\n });\n};\nconst serializeAws_restJson1TagResourceCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = {\n "content-type": "application/json",\n };\n const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags";\n const query = map({\n operation: [, "tag-resource"],\n });\n let body;\n body = JSON.stringify({\n ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),\n ...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),\n });\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "POST",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nconst serializeAws_restJson1UntagResourceCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = {\n "content-type": "application/json",\n };\n const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags";\n const query = map({\n operation: [, "untag-resource"],\n });\n let body;\n body = JSON.stringify({\n ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),\n ...(input.TagKeys != null && { TagKeys: serializeAws_restJson1TagKeyList(input.TagKeys, context) }),\n });\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "POST",\n headers,\n path: resolvedPath,\n query,\n body,\n });\n};\nconst serializeAws_restJson1UpdateChannelCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "content-type": "application/json",\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels/{ChannelArn}";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n let body;\n body = JSON.stringify({\n ...(input.Metadata != null && { Metadata: input.Metadata }),\n ...(input.Mode != null && { Mode: input.Mode }),\n ...(input.Name != null && { Name: input.Name }),\n });\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "PUT",\n headers,\n path: resolvedPath,\n body,\n });\n};\nconst serializeAws_restJson1UpdateChannelFlowCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = {\n "content-type": "application/json",\n };\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channel-flows/{ChannelFlowArn}";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelFlowArn", () => input.ChannelFlowArn, "{ChannelFlowArn}", false);\n let body;\n body = JSON.stringify({\n ...(input.Name != null && { Name: input.Name }),\n ...(input.Processors != null && { Processors: serializeAws_restJson1ProcessorList(input.Processors, context) }),\n });\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "PUT",\n headers,\n path: resolvedPath,\n body,\n });\n};\nconst serializeAws_restJson1UpdateChannelMessageCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "content-type": "application/json",\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +\n "/channels/{ChannelArn}/messages/{MessageId}";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "MessageId", () => input.MessageId, "{MessageId}", false);\n let body;\n body = JSON.stringify({\n ...(input.Content != null && { Content: input.Content }),\n ...(input.Metadata != null && { Metadata: input.Metadata }),\n ...(input.SubChannelId != null && { SubChannelId: input.SubChannelId }),\n });\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "PUT",\n headers,\n path: resolvedPath,\n body,\n });\n};\nconst serializeAws_restJson1UpdateChannelReadMarkerCommand = async (input, context) => {\n const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();\n const headers = map({}, isSerializableHeaderValue, {\n "content-type": "application/json",\n "x-amz-chime-bearer": input.ChimeBearer,\n });\n let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels/{ChannelArn}/readMarker";\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);\n let body;\n body = JSON.stringify({\n ...(input.SubChannelId != null && { SubChannelId: input.SubChannelId }),\n });\n return new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest({\n protocol,\n hostname,\n port,\n method: "PUT",\n headers,\n path: resolvedPath,\n body,\n });\n};\nconst deserializeAws_restJson1AssociateChannelFlowCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1AssociateChannelFlowCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst deserializeAws_restJson1AssociateChannelFlowCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ConflictException":\n case "com.amazonaws.chimesdkmessaging#ConflictException":\n throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "NotFoundException":\n case "com.amazonaws.chimesdkmessaging#NotFoundException":\n throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1BatchCreateChannelMembershipCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1BatchCreateChannelMembershipCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.BatchChannelMemberships != null) {\n contents.BatchChannelMemberships = deserializeAws_restJson1BatchChannelMemberships(data.BatchChannelMemberships, context);\n }\n if (data.Errors != null) {\n contents.Errors = deserializeAws_restJson1BatchCreateChannelMembershipErrors(data.Errors, context);\n }\n return contents;\n};\nconst deserializeAws_restJson1BatchCreateChannelMembershipCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "NotFoundException":\n case "com.amazonaws.chimesdkmessaging#NotFoundException":\n throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);\n case "ResourceLimitExceededException":\n case "com.amazonaws.chimesdkmessaging#ResourceLimitExceededException":\n throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1ChannelFlowCallbackCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1ChannelFlowCallbackCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.CallbackId != null) {\n contents.CallbackId = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.CallbackId);\n }\n if (data.ChannelArn != null) {\n contents.ChannelArn = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.ChannelArn);\n }\n return contents;\n};\nconst deserializeAws_restJson1ChannelFlowCallbackCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ConflictException":\n case "com.amazonaws.chimesdkmessaging#ConflictException":\n throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1CreateChannelCommand = async (output, context) => {\n if (output.statusCode !== 201 && output.statusCode >= 300) {\n return deserializeAws_restJson1CreateChannelCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.ChannelArn != null) {\n contents.ChannelArn = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.ChannelArn);\n }\n return contents;\n};\nconst deserializeAws_restJson1CreateChannelCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ConflictException":\n case "com.amazonaws.chimesdkmessaging#ConflictException":\n throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ResourceLimitExceededException":\n case "com.amazonaws.chimesdkmessaging#ResourceLimitExceededException":\n throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1CreateChannelBanCommand = async (output, context) => {\n if (output.statusCode !== 201 && output.statusCode >= 300) {\n return deserializeAws_restJson1CreateChannelBanCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.ChannelArn != null) {\n contents.ChannelArn = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.ChannelArn);\n }\n if (data.Member != null) {\n contents.Member = deserializeAws_restJson1Identity(data.Member, context);\n }\n return contents;\n};\nconst deserializeAws_restJson1CreateChannelBanCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ConflictException":\n case "com.amazonaws.chimesdkmessaging#ConflictException":\n throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ResourceLimitExceededException":\n case "com.amazonaws.chimesdkmessaging#ResourceLimitExceededException":\n throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1CreateChannelFlowCommand = async (output, context) => {\n if (output.statusCode !== 201 && output.statusCode >= 300) {\n return deserializeAws_restJson1CreateChannelFlowCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.ChannelFlowArn != null) {\n contents.ChannelFlowArn = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.ChannelFlowArn);\n }\n return contents;\n};\nconst deserializeAws_restJson1CreateChannelFlowCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ConflictException":\n case "com.amazonaws.chimesdkmessaging#ConflictException":\n throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ResourceLimitExceededException":\n case "com.amazonaws.chimesdkmessaging#ResourceLimitExceededException":\n throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1CreateChannelMembershipCommand = async (output, context) => {\n if (output.statusCode !== 201 && output.statusCode >= 300) {\n return deserializeAws_restJson1CreateChannelMembershipCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.ChannelArn != null) {\n contents.ChannelArn = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.ChannelArn);\n }\n if (data.Member != null) {\n contents.Member = deserializeAws_restJson1Identity(data.Member, context);\n }\n if (data.SubChannelId != null) {\n contents.SubChannelId = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.SubChannelId);\n }\n return contents;\n};\nconst deserializeAws_restJson1CreateChannelMembershipCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ConflictException":\n case "com.amazonaws.chimesdkmessaging#ConflictException":\n throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "NotFoundException":\n case "com.amazonaws.chimesdkmessaging#NotFoundException":\n throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);\n case "ResourceLimitExceededException":\n case "com.amazonaws.chimesdkmessaging#ResourceLimitExceededException":\n throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1CreateChannelModeratorCommand = async (output, context) => {\n if (output.statusCode !== 201 && output.statusCode >= 300) {\n return deserializeAws_restJson1CreateChannelModeratorCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.ChannelArn != null) {\n contents.ChannelArn = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.ChannelArn);\n }\n if (data.ChannelModerator != null) {\n contents.ChannelModerator = deserializeAws_restJson1Identity(data.ChannelModerator, context);\n }\n return contents;\n};\nconst deserializeAws_restJson1CreateChannelModeratorCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ConflictException":\n case "com.amazonaws.chimesdkmessaging#ConflictException":\n throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ResourceLimitExceededException":\n case "com.amazonaws.chimesdkmessaging#ResourceLimitExceededException":\n throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1DeleteChannelCommand = async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return deserializeAws_restJson1DeleteChannelCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst deserializeAws_restJson1DeleteChannelCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1DeleteChannelBanCommand = async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return deserializeAws_restJson1DeleteChannelBanCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst deserializeAws_restJson1DeleteChannelBanCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1DeleteChannelFlowCommand = async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return deserializeAws_restJson1DeleteChannelFlowCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst deserializeAws_restJson1DeleteChannelFlowCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ConflictException":\n case "com.amazonaws.chimesdkmessaging#ConflictException":\n throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1DeleteChannelMembershipCommand = async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return deserializeAws_restJson1DeleteChannelMembershipCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst deserializeAws_restJson1DeleteChannelMembershipCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ConflictException":\n case "com.amazonaws.chimesdkmessaging#ConflictException":\n throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1DeleteChannelMessageCommand = async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return deserializeAws_restJson1DeleteChannelMessageCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst deserializeAws_restJson1DeleteChannelMessageCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1DeleteChannelModeratorCommand = async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return deserializeAws_restJson1DeleteChannelModeratorCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst deserializeAws_restJson1DeleteChannelModeratorCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1DescribeChannelCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1DescribeChannelCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.Channel != null) {\n contents.Channel = deserializeAws_restJson1Channel(data.Channel, context);\n }\n return contents;\n};\nconst deserializeAws_restJson1DescribeChannelCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1DescribeChannelBanCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1DescribeChannelBanCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.ChannelBan != null) {\n contents.ChannelBan = deserializeAws_restJson1ChannelBan(data.ChannelBan, context);\n }\n return contents;\n};\nconst deserializeAws_restJson1DescribeChannelBanCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "NotFoundException":\n case "com.amazonaws.chimesdkmessaging#NotFoundException":\n throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1DescribeChannelFlowCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1DescribeChannelFlowCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.ChannelFlow != null) {\n contents.ChannelFlow = deserializeAws_restJson1ChannelFlow(data.ChannelFlow, context);\n }\n return contents;\n};\nconst deserializeAws_restJson1DescribeChannelFlowCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1DescribeChannelMembershipCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1DescribeChannelMembershipCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.ChannelMembership != null) {\n contents.ChannelMembership = deserializeAws_restJson1ChannelMembership(data.ChannelMembership, context);\n }\n return contents;\n};\nconst deserializeAws_restJson1DescribeChannelMembershipCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "NotFoundException":\n case "com.amazonaws.chimesdkmessaging#NotFoundException":\n throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.ChannelMembership != null) {\n contents.ChannelMembership = deserializeAws_restJson1ChannelMembershipForAppInstanceUserSummary(data.ChannelMembership, context);\n }\n return contents;\n};\nconst deserializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.Channel != null) {\n contents.Channel = deserializeAws_restJson1ChannelModeratedByAppInstanceUserSummary(data.Channel, context);\n }\n return contents;\n};\nconst deserializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1DescribeChannelModeratorCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1DescribeChannelModeratorCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.ChannelModerator != null) {\n contents.ChannelModerator = deserializeAws_restJson1ChannelModerator(data.ChannelModerator, context);\n }\n return contents;\n};\nconst deserializeAws_restJson1DescribeChannelModeratorCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "NotFoundException":\n case "com.amazonaws.chimesdkmessaging#NotFoundException":\n throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1DisassociateChannelFlowCommand = async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return deserializeAws_restJson1DisassociateChannelFlowCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst deserializeAws_restJson1DisassociateChannelFlowCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ConflictException":\n case "com.amazonaws.chimesdkmessaging#ConflictException":\n throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "NotFoundException":\n case "com.amazonaws.chimesdkmessaging#NotFoundException":\n throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1GetChannelMembershipPreferencesCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1GetChannelMembershipPreferencesCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.ChannelArn != null) {\n contents.ChannelArn = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.ChannelArn);\n }\n if (data.Member != null) {\n contents.Member = deserializeAws_restJson1Identity(data.Member, context);\n }\n if (data.Preferences != null) {\n contents.Preferences = deserializeAws_restJson1ChannelMembershipPreferences(data.Preferences, context);\n }\n return contents;\n};\nconst deserializeAws_restJson1GetChannelMembershipPreferencesCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1GetChannelMessageCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1GetChannelMessageCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.ChannelMessage != null) {\n contents.ChannelMessage = deserializeAws_restJson1ChannelMessage(data.ChannelMessage, context);\n }\n return contents;\n};\nconst deserializeAws_restJson1GetChannelMessageCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "NotFoundException":\n case "com.amazonaws.chimesdkmessaging#NotFoundException":\n throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1GetChannelMessageStatusCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1GetChannelMessageStatusCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.Status != null) {\n contents.Status = deserializeAws_restJson1ChannelMessageStatusStructure(data.Status, context);\n }\n return contents;\n};\nconst deserializeAws_restJson1GetChannelMessageStatusCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1GetMessagingSessionEndpointCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1GetMessagingSessionEndpointCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.Endpoint != null) {\n contents.Endpoint = deserializeAws_restJson1MessagingSessionEndpoint(data.Endpoint, context);\n }\n return contents;\n};\nconst deserializeAws_restJson1GetMessagingSessionEndpointCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1ListChannelBansCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1ListChannelBansCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.ChannelArn != null) {\n contents.ChannelArn = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.ChannelArn);\n }\n if (data.ChannelBans != null) {\n contents.ChannelBans = deserializeAws_restJson1ChannelBanSummaryList(data.ChannelBans, context);\n }\n if (data.NextToken != null) {\n contents.NextToken = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.NextToken);\n }\n return contents;\n};\nconst deserializeAws_restJson1ListChannelBansCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1ListChannelFlowsCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1ListChannelFlowsCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.ChannelFlows != null) {\n contents.ChannelFlows = deserializeAws_restJson1ChannelFlowSummaryList(data.ChannelFlows, context);\n }\n if (data.NextToken != null) {\n contents.NextToken = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.NextToken);\n }\n return contents;\n};\nconst deserializeAws_restJson1ListChannelFlowsCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1ListChannelMembershipsCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1ListChannelMembershipsCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.ChannelArn != null) {\n contents.ChannelArn = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.ChannelArn);\n }\n if (data.ChannelMemberships != null) {\n contents.ChannelMemberships = deserializeAws_restJson1ChannelMembershipSummaryList(data.ChannelMemberships, context);\n }\n if (data.NextToken != null) {\n contents.NextToken = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.NextToken);\n }\n return contents;\n};\nconst deserializeAws_restJson1ListChannelMembershipsCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1ListChannelMembershipsForAppInstanceUserCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1ListChannelMembershipsForAppInstanceUserCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.ChannelMemberships != null) {\n contents.ChannelMemberships = deserializeAws_restJson1ChannelMembershipForAppInstanceUserSummaryList(data.ChannelMemberships, context);\n }\n if (data.NextToken != null) {\n contents.NextToken = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.NextToken);\n }\n return contents;\n};\nconst deserializeAws_restJson1ListChannelMembershipsForAppInstanceUserCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1ListChannelMessagesCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1ListChannelMessagesCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.ChannelArn != null) {\n contents.ChannelArn = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.ChannelArn);\n }\n if (data.ChannelMessages != null) {\n contents.ChannelMessages = deserializeAws_restJson1ChannelMessageSummaryList(data.ChannelMessages, context);\n }\n if (data.NextToken != null) {\n contents.NextToken = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.NextToken);\n }\n if (data.SubChannelId != null) {\n contents.SubChannelId = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.SubChannelId);\n }\n return contents;\n};\nconst deserializeAws_restJson1ListChannelMessagesCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1ListChannelModeratorsCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1ListChannelModeratorsCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.ChannelArn != null) {\n contents.ChannelArn = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.ChannelArn);\n }\n if (data.ChannelModerators != null) {\n contents.ChannelModerators = deserializeAws_restJson1ChannelModeratorSummaryList(data.ChannelModerators, context);\n }\n if (data.NextToken != null) {\n contents.NextToken = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.NextToken);\n }\n return contents;\n};\nconst deserializeAws_restJson1ListChannelModeratorsCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1ListChannelsCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1ListChannelsCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.Channels != null) {\n contents.Channels = deserializeAws_restJson1ChannelSummaryList(data.Channels, context);\n }\n if (data.NextToken != null) {\n contents.NextToken = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.NextToken);\n }\n return contents;\n};\nconst deserializeAws_restJson1ListChannelsCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1ListChannelsAssociatedWithChannelFlowCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1ListChannelsAssociatedWithChannelFlowCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.Channels != null) {\n contents.Channels = deserializeAws_restJson1ChannelAssociatedWithFlowSummaryList(data.Channels, context);\n }\n if (data.NextToken != null) {\n contents.NextToken = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.NextToken);\n }\n return contents;\n};\nconst deserializeAws_restJson1ListChannelsAssociatedWithChannelFlowCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.Channels != null) {\n contents.Channels = deserializeAws_restJson1ChannelModeratedByAppInstanceUserSummaryList(data.Channels, context);\n }\n if (data.NextToken != null) {\n contents.NextToken = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.NextToken);\n }\n return contents;\n};\nconst deserializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1ListSubChannelsCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1ListSubChannelsCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.ChannelArn != null) {\n contents.ChannelArn = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.ChannelArn);\n }\n if (data.NextToken != null) {\n contents.NextToken = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.NextToken);\n }\n if (data.SubChannels != null) {\n contents.SubChannels = deserializeAws_restJson1SubChannelSummaryList(data.SubChannels, context);\n }\n return contents;\n};\nconst deserializeAws_restJson1ListSubChannelsCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.Tags != null) {\n contents.Tags = deserializeAws_restJson1TagList(data.Tags, context);\n }\n return contents;\n};\nconst deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1PutChannelMembershipPreferencesCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1PutChannelMembershipPreferencesCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.ChannelArn != null) {\n contents.ChannelArn = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.ChannelArn);\n }\n if (data.Member != null) {\n contents.Member = deserializeAws_restJson1Identity(data.Member, context);\n }\n if (data.Preferences != null) {\n contents.Preferences = deserializeAws_restJson1ChannelMembershipPreferences(data.Preferences, context);\n }\n return contents;\n};\nconst deserializeAws_restJson1PutChannelMembershipPreferencesCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ConflictException":\n case "com.amazonaws.chimesdkmessaging#ConflictException":\n throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1RedactChannelMessageCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1RedactChannelMessageCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.ChannelArn != null) {\n contents.ChannelArn = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.ChannelArn);\n }\n if (data.MessageId != null) {\n contents.MessageId = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.MessageId);\n }\n if (data.SubChannelId != null) {\n contents.SubChannelId = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.SubChannelId);\n }\n return contents;\n};\nconst deserializeAws_restJson1RedactChannelMessageCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ConflictException":\n case "com.amazonaws.chimesdkmessaging#ConflictException":\n throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1SearchChannelsCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1SearchChannelsCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.Channels != null) {\n contents.Channels = deserializeAws_restJson1ChannelSummaryList(data.Channels, context);\n }\n if (data.NextToken != null) {\n contents.NextToken = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.NextToken);\n }\n return contents;\n};\nconst deserializeAws_restJson1SearchChannelsCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1SendChannelMessageCommand = async (output, context) => {\n if (output.statusCode !== 201 && output.statusCode >= 300) {\n return deserializeAws_restJson1SendChannelMessageCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.ChannelArn != null) {\n contents.ChannelArn = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.ChannelArn);\n }\n if (data.MessageId != null) {\n contents.MessageId = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.MessageId);\n }\n if (data.Status != null) {\n contents.Status = deserializeAws_restJson1ChannelMessageStatusStructure(data.Status, context);\n }\n if (data.SubChannelId != null) {\n contents.SubChannelId = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.SubChannelId);\n }\n return contents;\n};\nconst deserializeAws_restJson1SendChannelMessageCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ConflictException":\n case "com.amazonaws.chimesdkmessaging#ConflictException":\n throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1TagResourceCommand = async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return deserializeAws_restJson1TagResourceCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst deserializeAws_restJson1TagResourceCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ResourceLimitExceededException":\n case "com.amazonaws.chimesdkmessaging#ResourceLimitExceededException":\n throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1UntagResourceCommand = async (output, context) => {\n if (output.statusCode !== 204 && output.statusCode >= 300) {\n return deserializeAws_restJson1UntagResourceCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1UpdateChannelCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1UpdateChannelCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.ChannelArn != null) {\n contents.ChannelArn = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.ChannelArn);\n }\n return contents;\n};\nconst deserializeAws_restJson1UpdateChannelCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ConflictException":\n case "com.amazonaws.chimesdkmessaging#ConflictException":\n throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1UpdateChannelFlowCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1UpdateChannelFlowCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.ChannelFlowArn != null) {\n contents.ChannelFlowArn = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.ChannelFlowArn);\n }\n return contents;\n};\nconst deserializeAws_restJson1UpdateChannelFlowCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ConflictException":\n case "com.amazonaws.chimesdkmessaging#ConflictException":\n throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1UpdateChannelMessageCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1UpdateChannelMessageCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.ChannelArn != null) {\n contents.ChannelArn = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.ChannelArn);\n }\n if (data.MessageId != null) {\n contents.MessageId = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.MessageId);\n }\n if (data.Status != null) {\n contents.Status = deserializeAws_restJson1ChannelMessageStatusStructure(data.Status, context);\n }\n if (data.SubChannelId != null) {\n contents.SubChannelId = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.SubChannelId);\n }\n return contents;\n};\nconst deserializeAws_restJson1UpdateChannelMessageCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ConflictException":\n case "com.amazonaws.chimesdkmessaging#ConflictException":\n throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst deserializeAws_restJson1UpdateChannelReadMarkerCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return deserializeAws_restJson1UpdateChannelReadMarkerCommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectObject)(await parseBody(output.body, context)), "body");\n if (data.ChannelArn != null) {\n contents.ChannelArn = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.ChannelArn);\n }\n if (data.SubChannelId != null) {\n contents.SubChannelId = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.SubChannelId);\n }\n return contents;\n};\nconst deserializeAws_restJson1UpdateChannelReadMarkerCommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case "BadRequestException":\n case "com.amazonaws.chimesdkmessaging#BadRequestException":\n throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);\n case "ConflictException":\n case "com.amazonaws.chimesdkmessaging#ConflictException":\n throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);\n case "ForbiddenException":\n case "com.amazonaws.chimesdkmessaging#ForbiddenException":\n throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);\n case "ServiceFailureException":\n case "com.amazonaws.chimesdkmessaging#ServiceFailureException":\n throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);\n case "ServiceUnavailableException":\n case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":\n throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);\n case "ThrottledClientException":\n case "com.amazonaws.chimesdkmessaging#ThrottledClientException":\n throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);\n case "UnauthorizedClientException":\n case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":\n throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.throwDefaultError)({\n output,\n parsedBody,\n exceptionCtor: _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException,\n errorCode,\n });\n }\n};\nconst map = _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.map;\nconst deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {\n const contents = map({});\n const data = parsedOutput.body;\n if (data.Code != null) {\n contents.Code = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.Code);\n }\n if (data.Message != null) {\n contents.Message = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.Message);\n }\n const exception = new _models_models_0__WEBPACK_IMPORTED_MODULE_4__.BadRequestException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents,\n });\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.decorateServiceException)(exception, parsedOutput.body);\n};\nconst deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {\n const contents = map({});\n const data = parsedOutput.body;\n if (data.Code != null) {\n contents.Code = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.Code);\n }\n if (data.Message != null) {\n contents.Message = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.Message);\n }\n const exception = new _models_models_0__WEBPACK_IMPORTED_MODULE_4__.ConflictException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents,\n });\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.decorateServiceException)(exception, parsedOutput.body);\n};\nconst deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput, context) => {\n const contents = map({});\n const data = parsedOutput.body;\n if (data.Code != null) {\n contents.Code = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.Code);\n }\n if (data.Message != null) {\n contents.Message = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.Message);\n }\n const exception = new _models_models_0__WEBPACK_IMPORTED_MODULE_4__.ForbiddenException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents,\n });\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.decorateServiceException)(exception, parsedOutput.body);\n};\nconst deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {\n const contents = map({});\n const data = parsedOutput.body;\n if (data.Code != null) {\n contents.Code = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.Code);\n }\n if (data.Message != null) {\n contents.Message = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.Message);\n }\n const exception = new _models_models_0__WEBPACK_IMPORTED_MODULE_4__.NotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents,\n });\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.decorateServiceException)(exception, parsedOutput.body);\n};\nconst deserializeAws_restJson1ResourceLimitExceededExceptionResponse = async (parsedOutput, context) => {\n const contents = map({});\n const data = parsedOutput.body;\n if (data.Code != null) {\n contents.Code = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.Code);\n }\n if (data.Message != null) {\n contents.Message = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.Message);\n }\n const exception = new _models_models_0__WEBPACK_IMPORTED_MODULE_4__.ResourceLimitExceededException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents,\n });\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.decorateServiceException)(exception, parsedOutput.body);\n};\nconst deserializeAws_restJson1ServiceFailureExceptionResponse = async (parsedOutput, context) => {\n const contents = map({});\n const data = parsedOutput.body;\n if (data.Code != null) {\n contents.Code = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.Code);\n }\n if (data.Message != null) {\n contents.Message = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.Message);\n }\n const exception = new _models_models_0__WEBPACK_IMPORTED_MODULE_4__.ServiceFailureException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents,\n });\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.decorateServiceException)(exception, parsedOutput.body);\n};\nconst deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parsedOutput, context) => {\n const contents = map({});\n const data = parsedOutput.body;\n if (data.Code != null) {\n contents.Code = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.Code);\n }\n if (data.Message != null) {\n contents.Message = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.Message);\n }\n const exception = new _models_models_0__WEBPACK_IMPORTED_MODULE_4__.ServiceUnavailableException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents,\n });\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.decorateServiceException)(exception, parsedOutput.body);\n};\nconst deserializeAws_restJson1ThrottledClientExceptionResponse = async (parsedOutput, context) => {\n const contents = map({});\n const data = parsedOutput.body;\n if (data.Code != null) {\n contents.Code = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.Code);\n }\n if (data.Message != null) {\n contents.Message = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.Message);\n }\n const exception = new _models_models_0__WEBPACK_IMPORTED_MODULE_4__.ThrottledClientException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents,\n });\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.decorateServiceException)(exception, parsedOutput.body);\n};\nconst deserializeAws_restJson1UnauthorizedClientExceptionResponse = async (parsedOutput, context) => {\n const contents = map({});\n const data = parsedOutput.body;\n if (data.Code != null) {\n contents.Code = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.Code);\n }\n if (data.Message != null) {\n contents.Message = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(data.Message);\n }\n const exception = new _models_models_0__WEBPACK_IMPORTED_MODULE_4__.UnauthorizedClientException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents,\n });\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.decorateServiceException)(exception, parsedOutput.body);\n};\nconst serializeAws_restJson1ChannelMemberArns = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n return entry;\n });\n};\nconst serializeAws_restJson1ChannelMembershipPreferences = (input, context) => {\n return {\n ...(input.PushNotifications != null && {\n PushNotifications: serializeAws_restJson1PushNotificationPreferences(input.PushNotifications, context),\n }),\n };\n};\nconst serializeAws_restJson1ChannelMessageCallback = (input, context) => {\n return {\n ...(input.Content != null && { Content: input.Content }),\n ...(input.MessageAttributes != null && {\n MessageAttributes: serializeAws_restJson1MessageAttributeMap(input.MessageAttributes, context),\n }),\n ...(input.MessageId != null && { MessageId: input.MessageId }),\n ...(input.Metadata != null && { Metadata: input.Metadata }),\n ...(input.PushNotification != null && {\n PushNotification: serializeAws_restJson1PushNotificationConfiguration(input.PushNotification, context),\n }),\n ...(input.SubChannelId != null && { SubChannelId: input.SubChannelId }),\n };\n};\nconst serializeAws_restJson1ChannelModeratorArns = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n return entry;\n });\n};\nconst serializeAws_restJson1ElasticChannelConfiguration = (input, context) => {\n return {\n ...(input.MaximumSubChannels != null && { MaximumSubChannels: input.MaximumSubChannels }),\n ...(input.MinimumMembershipPercentage != null && {\n MinimumMembershipPercentage: input.MinimumMembershipPercentage,\n }),\n ...(input.TargetMembershipsPerSubChannel != null && {\n TargetMembershipsPerSubChannel: input.TargetMembershipsPerSubChannel,\n }),\n };\n};\nconst serializeAws_restJson1LambdaConfiguration = (input, context) => {\n return {\n ...(input.InvocationType != null && { InvocationType: input.InvocationType }),\n ...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),\n };\n};\nconst serializeAws_restJson1MemberArns = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n return entry;\n });\n};\nconst serializeAws_restJson1MessageAttributeMap = (input, context) => {\n return Object.entries(input).reduce((acc, [key, value]) => {\n if (value === null) {\n return acc;\n }\n acc[key] = serializeAws_restJson1MessageAttributeValue(value, context);\n return acc;\n }, {});\n};\nconst serializeAws_restJson1MessageAttributeStringValues = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n return entry;\n });\n};\nconst serializeAws_restJson1MessageAttributeValue = (input, context) => {\n return {\n ...(input.StringValues != null && {\n StringValues: serializeAws_restJson1MessageAttributeStringValues(input.StringValues, context),\n }),\n };\n};\nconst serializeAws_restJson1Processor = (input, context) => {\n return {\n ...(input.Configuration != null && {\n Configuration: serializeAws_restJson1ProcessorConfiguration(input.Configuration, context),\n }),\n ...(input.ExecutionOrder != null && { ExecutionOrder: input.ExecutionOrder }),\n ...(input.FallbackAction != null && { FallbackAction: input.FallbackAction }),\n ...(input.Name != null && { Name: input.Name }),\n };\n};\nconst serializeAws_restJson1ProcessorConfiguration = (input, context) => {\n return {\n ...(input.Lambda != null && { Lambda: serializeAws_restJson1LambdaConfiguration(input.Lambda, context) }),\n };\n};\nconst serializeAws_restJson1ProcessorList = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n return serializeAws_restJson1Processor(entry, context);\n });\n};\nconst serializeAws_restJson1PushNotificationConfiguration = (input, context) => {\n return {\n ...(input.Body != null && { Body: input.Body }),\n ...(input.Title != null && { Title: input.Title }),\n ...(input.Type != null && { Type: input.Type }),\n };\n};\nconst serializeAws_restJson1PushNotificationPreferences = (input, context) => {\n return {\n ...(input.AllowNotifications != null && { AllowNotifications: input.AllowNotifications }),\n ...(input.FilterRule != null && { FilterRule: input.FilterRule }),\n };\n};\nconst serializeAws_restJson1SearchField = (input, context) => {\n return {\n ...(input.Key != null && { Key: input.Key }),\n ...(input.Operator != null && { Operator: input.Operator }),\n ...(input.Values != null && { Values: serializeAws_restJson1SearchFieldValues(input.Values, context) }),\n };\n};\nconst serializeAws_restJson1SearchFields = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n return serializeAws_restJson1SearchField(entry, context);\n });\n};\nconst serializeAws_restJson1SearchFieldValues = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n return entry;\n });\n};\nconst serializeAws_restJson1Tag = (input, context) => {\n return {\n ...(input.Key != null && { Key: input.Key }),\n ...(input.Value != null && { Value: input.Value }),\n };\n};\nconst serializeAws_restJson1TagKeyList = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n return entry;\n });\n};\nconst serializeAws_restJson1TagList = (input, context) => {\n return input\n .filter((e) => e != null)\n .map((entry) => {\n return serializeAws_restJson1Tag(entry, context);\n });\n};\nconst deserializeAws_restJson1AppInstanceUserMembershipSummary = (output, context) => {\n return {\n ReadMarkerTimestamp: output.ReadMarkerTimestamp != null\n ? (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNumber)(output.ReadMarkerTimestamp)))\n : undefined,\n SubChannelId: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.SubChannelId),\n Type: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Type),\n };\n};\nconst deserializeAws_restJson1BatchChannelMemberships = (output, context) => {\n return {\n ChannelArn: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.ChannelArn),\n InvitedBy: output.InvitedBy != null ? deserializeAws_restJson1Identity(output.InvitedBy, context) : undefined,\n Members: output.Members != null ? deserializeAws_restJson1Members(output.Members, context) : undefined,\n SubChannelId: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.SubChannelId),\n Type: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Type),\n };\n};\nconst deserializeAws_restJson1BatchCreateChannelMembershipError = (output, context) => {\n return {\n ErrorCode: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.ErrorCode),\n ErrorMessage: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.ErrorMessage),\n MemberArn: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.MemberArn),\n };\n};\nconst deserializeAws_restJson1BatchCreateChannelMembershipErrors = (output, context) => {\n const retVal = (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n if (entry === null) {\n return null;\n }\n return deserializeAws_restJson1BatchCreateChannelMembershipError(entry, context);\n });\n return retVal;\n};\nconst deserializeAws_restJson1Channel = (output, context) => {\n return {\n ChannelArn: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.ChannelArn),\n ChannelFlowArn: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.ChannelFlowArn),\n CreatedBy: output.CreatedBy != null ? deserializeAws_restJson1Identity(output.CreatedBy, context) : undefined,\n CreatedTimestamp: output.CreatedTimestamp != null\n ? (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNumber)(output.CreatedTimestamp)))\n : undefined,\n ElasticChannelConfiguration: output.ElasticChannelConfiguration != null\n ? deserializeAws_restJson1ElasticChannelConfiguration(output.ElasticChannelConfiguration, context)\n : undefined,\n LastMessageTimestamp: output.LastMessageTimestamp != null\n ? (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNumber)(output.LastMessageTimestamp)))\n : undefined,\n LastUpdatedTimestamp: output.LastUpdatedTimestamp != null\n ? (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNumber)(output.LastUpdatedTimestamp)))\n : undefined,\n Metadata: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Metadata),\n Mode: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Mode),\n Name: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Name),\n Privacy: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Privacy),\n };\n};\nconst deserializeAws_restJson1ChannelAssociatedWithFlowSummary = (output, context) => {\n return {\n ChannelArn: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.ChannelArn),\n Metadata: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Metadata),\n Mode: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Mode),\n Name: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Name),\n Privacy: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Privacy),\n };\n};\nconst deserializeAws_restJson1ChannelAssociatedWithFlowSummaryList = (output, context) => {\n const retVal = (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n if (entry === null) {\n return null;\n }\n return deserializeAws_restJson1ChannelAssociatedWithFlowSummary(entry, context);\n });\n return retVal;\n};\nconst deserializeAws_restJson1ChannelBan = (output, context) => {\n return {\n ChannelArn: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.ChannelArn),\n CreatedBy: output.CreatedBy != null ? deserializeAws_restJson1Identity(output.CreatedBy, context) : undefined,\n CreatedTimestamp: output.CreatedTimestamp != null\n ? (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNumber)(output.CreatedTimestamp)))\n : undefined,\n Member: output.Member != null ? deserializeAws_restJson1Identity(output.Member, context) : undefined,\n };\n};\nconst deserializeAws_restJson1ChannelBanSummary = (output, context) => {\n return {\n Member: output.Member != null ? deserializeAws_restJson1Identity(output.Member, context) : undefined,\n };\n};\nconst deserializeAws_restJson1ChannelBanSummaryList = (output, context) => {\n const retVal = (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n if (entry === null) {\n return null;\n }\n return deserializeAws_restJson1ChannelBanSummary(entry, context);\n });\n return retVal;\n};\nconst deserializeAws_restJson1ChannelFlow = (output, context) => {\n return {\n ChannelFlowArn: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.ChannelFlowArn),\n CreatedTimestamp: output.CreatedTimestamp != null\n ? (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNumber)(output.CreatedTimestamp)))\n : undefined,\n LastUpdatedTimestamp: output.LastUpdatedTimestamp != null\n ? (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNumber)(output.LastUpdatedTimestamp)))\n : undefined,\n Name: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Name),\n Processors: output.Processors != null ? deserializeAws_restJson1ProcessorList(output.Processors, context) : undefined,\n };\n};\nconst deserializeAws_restJson1ChannelFlowSummary = (output, context) => {\n return {\n ChannelFlowArn: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.ChannelFlowArn),\n Name: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Name),\n Processors: output.Processors != null ? deserializeAws_restJson1ProcessorList(output.Processors, context) : undefined,\n };\n};\nconst deserializeAws_restJson1ChannelFlowSummaryList = (output, context) => {\n const retVal = (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n if (entry === null) {\n return null;\n }\n return deserializeAws_restJson1ChannelFlowSummary(entry, context);\n });\n return retVal;\n};\nconst deserializeAws_restJson1ChannelMembership = (output, context) => {\n return {\n ChannelArn: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.ChannelArn),\n CreatedTimestamp: output.CreatedTimestamp != null\n ? (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNumber)(output.CreatedTimestamp)))\n : undefined,\n InvitedBy: output.InvitedBy != null ? deserializeAws_restJson1Identity(output.InvitedBy, context) : undefined,\n LastUpdatedTimestamp: output.LastUpdatedTimestamp != null\n ? (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNumber)(output.LastUpdatedTimestamp)))\n : undefined,\n Member: output.Member != null ? deserializeAws_restJson1Identity(output.Member, context) : undefined,\n SubChannelId: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.SubChannelId),\n Type: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Type),\n };\n};\nconst deserializeAws_restJson1ChannelMembershipForAppInstanceUserSummary = (output, context) => {\n return {\n AppInstanceUserMembershipSummary: output.AppInstanceUserMembershipSummary != null\n ? deserializeAws_restJson1AppInstanceUserMembershipSummary(output.AppInstanceUserMembershipSummary, context)\n : undefined,\n ChannelSummary: output.ChannelSummary != null\n ? deserializeAws_restJson1ChannelSummary(output.ChannelSummary, context)\n : undefined,\n };\n};\nconst deserializeAws_restJson1ChannelMembershipForAppInstanceUserSummaryList = (output, context) => {\n const retVal = (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n if (entry === null) {\n return null;\n }\n return deserializeAws_restJson1ChannelMembershipForAppInstanceUserSummary(entry, context);\n });\n return retVal;\n};\nconst deserializeAws_restJson1ChannelMembershipPreferences = (output, context) => {\n return {\n PushNotifications: output.PushNotifications != null\n ? deserializeAws_restJson1PushNotificationPreferences(output.PushNotifications, context)\n : undefined,\n };\n};\nconst deserializeAws_restJson1ChannelMembershipSummary = (output, context) => {\n return {\n Member: output.Member != null ? deserializeAws_restJson1Identity(output.Member, context) : undefined,\n };\n};\nconst deserializeAws_restJson1ChannelMembershipSummaryList = (output, context) => {\n const retVal = (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n if (entry === null) {\n return null;\n }\n return deserializeAws_restJson1ChannelMembershipSummary(entry, context);\n });\n return retVal;\n};\nconst deserializeAws_restJson1ChannelMessage = (output, context) => {\n return {\n ChannelArn: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.ChannelArn),\n Content: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Content),\n CreatedTimestamp: output.CreatedTimestamp != null\n ? (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNumber)(output.CreatedTimestamp)))\n : undefined,\n LastEditedTimestamp: output.LastEditedTimestamp != null\n ? (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNumber)(output.LastEditedTimestamp)))\n : undefined,\n LastUpdatedTimestamp: output.LastUpdatedTimestamp != null\n ? (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNumber)(output.LastUpdatedTimestamp)))\n : undefined,\n MessageAttributes: output.MessageAttributes != null\n ? deserializeAws_restJson1MessageAttributeMap(output.MessageAttributes, context)\n : undefined,\n MessageId: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.MessageId),\n Metadata: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Metadata),\n Persistence: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Persistence),\n Redacted: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectBoolean)(output.Redacted),\n Sender: output.Sender != null ? deserializeAws_restJson1Identity(output.Sender, context) : undefined,\n Status: output.Status != null ? deserializeAws_restJson1ChannelMessageStatusStructure(output.Status, context) : undefined,\n SubChannelId: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.SubChannelId),\n Type: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Type),\n };\n};\nconst deserializeAws_restJson1ChannelMessageStatusStructure = (output, context) => {\n return {\n Detail: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Detail),\n Value: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Value),\n };\n};\nconst deserializeAws_restJson1ChannelMessageSummary = (output, context) => {\n return {\n Content: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Content),\n CreatedTimestamp: output.CreatedTimestamp != null\n ? (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNumber)(output.CreatedTimestamp)))\n : undefined,\n LastEditedTimestamp: output.LastEditedTimestamp != null\n ? (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNumber)(output.LastEditedTimestamp)))\n : undefined,\n LastUpdatedTimestamp: output.LastUpdatedTimestamp != null\n ? (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNumber)(output.LastUpdatedTimestamp)))\n : undefined,\n MessageAttributes: output.MessageAttributes != null\n ? deserializeAws_restJson1MessageAttributeMap(output.MessageAttributes, context)\n : undefined,\n MessageId: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.MessageId),\n Metadata: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Metadata),\n Redacted: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectBoolean)(output.Redacted),\n Sender: output.Sender != null ? deserializeAws_restJson1Identity(output.Sender, context) : undefined,\n Status: output.Status != null ? deserializeAws_restJson1ChannelMessageStatusStructure(output.Status, context) : undefined,\n Type: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Type),\n };\n};\nconst deserializeAws_restJson1ChannelMessageSummaryList = (output, context) => {\n const retVal = (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n if (entry === null) {\n return null;\n }\n return deserializeAws_restJson1ChannelMessageSummary(entry, context);\n });\n return retVal;\n};\nconst deserializeAws_restJson1ChannelModeratedByAppInstanceUserSummary = (output, context) => {\n return {\n ChannelSummary: output.ChannelSummary != null\n ? deserializeAws_restJson1ChannelSummary(output.ChannelSummary, context)\n : undefined,\n };\n};\nconst deserializeAws_restJson1ChannelModeratedByAppInstanceUserSummaryList = (output, context) => {\n const retVal = (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n if (entry === null) {\n return null;\n }\n return deserializeAws_restJson1ChannelModeratedByAppInstanceUserSummary(entry, context);\n });\n return retVal;\n};\nconst deserializeAws_restJson1ChannelModerator = (output, context) => {\n return {\n ChannelArn: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.ChannelArn),\n CreatedBy: output.CreatedBy != null ? deserializeAws_restJson1Identity(output.CreatedBy, context) : undefined,\n CreatedTimestamp: output.CreatedTimestamp != null\n ? (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNumber)(output.CreatedTimestamp)))\n : undefined,\n Moderator: output.Moderator != null ? deserializeAws_restJson1Identity(output.Moderator, context) : undefined,\n };\n};\nconst deserializeAws_restJson1ChannelModeratorSummary = (output, context) => {\n return {\n Moderator: output.Moderator != null ? deserializeAws_restJson1Identity(output.Moderator, context) : undefined,\n };\n};\nconst deserializeAws_restJson1ChannelModeratorSummaryList = (output, context) => {\n const retVal = (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n if (entry === null) {\n return null;\n }\n return deserializeAws_restJson1ChannelModeratorSummary(entry, context);\n });\n return retVal;\n};\nconst deserializeAws_restJson1ChannelSummary = (output, context) => {\n return {\n ChannelArn: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.ChannelArn),\n LastMessageTimestamp: output.LastMessageTimestamp != null\n ? (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectNumber)(output.LastMessageTimestamp)))\n : undefined,\n Metadata: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Metadata),\n Mode: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Mode),\n Name: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Name),\n Privacy: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Privacy),\n };\n};\nconst deserializeAws_restJson1ChannelSummaryList = (output, context) => {\n const retVal = (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n if (entry === null) {\n return null;\n }\n return deserializeAws_restJson1ChannelSummary(entry, context);\n });\n return retVal;\n};\nconst deserializeAws_restJson1ElasticChannelConfiguration = (output, context) => {\n return {\n MaximumSubChannels: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectInt32)(output.MaximumSubChannels),\n MinimumMembershipPercentage: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectInt32)(output.MinimumMembershipPercentage),\n TargetMembershipsPerSubChannel: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectInt32)(output.TargetMembershipsPerSubChannel),\n };\n};\nconst deserializeAws_restJson1Identity = (output, context) => {\n return {\n Arn: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Arn),\n Name: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Name),\n };\n};\nconst deserializeAws_restJson1LambdaConfiguration = (output, context) => {\n return {\n InvocationType: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.InvocationType),\n ResourceArn: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.ResourceArn),\n };\n};\nconst deserializeAws_restJson1Members = (output, context) => {\n const retVal = (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n if (entry === null) {\n return null;\n }\n return deserializeAws_restJson1Identity(entry, context);\n });\n return retVal;\n};\nconst deserializeAws_restJson1MessageAttributeMap = (output, context) => {\n return Object.entries(output).reduce((acc, [key, value]) => {\n if (value === null) {\n return acc;\n }\n acc[key] = deserializeAws_restJson1MessageAttributeValue(value, context);\n return acc;\n }, {});\n};\nconst deserializeAws_restJson1MessageAttributeStringValues = (output, context) => {\n const retVal = (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n if (entry === null) {\n return null;\n }\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(entry);\n });\n return retVal;\n};\nconst deserializeAws_restJson1MessageAttributeValue = (output, context) => {\n return {\n StringValues: output.StringValues != null\n ? deserializeAws_restJson1MessageAttributeStringValues(output.StringValues, context)\n : undefined,\n };\n};\nconst deserializeAws_restJson1MessagingSessionEndpoint = (output, context) => {\n return {\n Url: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Url),\n };\n};\nconst deserializeAws_restJson1Processor = (output, context) => {\n return {\n Configuration: output.Configuration != null\n ? deserializeAws_restJson1ProcessorConfiguration(output.Configuration, context)\n : undefined,\n ExecutionOrder: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectInt32)(output.ExecutionOrder),\n FallbackAction: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.FallbackAction),\n Name: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Name),\n };\n};\nconst deserializeAws_restJson1ProcessorConfiguration = (output, context) => {\n return {\n Lambda: output.Lambda != null ? deserializeAws_restJson1LambdaConfiguration(output.Lambda, context) : undefined,\n };\n};\nconst deserializeAws_restJson1ProcessorList = (output, context) => {\n const retVal = (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n if (entry === null) {\n return null;\n }\n return deserializeAws_restJson1Processor(entry, context);\n });\n return retVal;\n};\nconst deserializeAws_restJson1PushNotificationPreferences = (output, context) => {\n return {\n AllowNotifications: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.AllowNotifications),\n FilterRule: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.FilterRule),\n };\n};\nconst deserializeAws_restJson1SubChannelSummary = (output, context) => {\n return {\n MembershipCount: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectInt32)(output.MembershipCount),\n SubChannelId: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.SubChannelId),\n };\n};\nconst deserializeAws_restJson1SubChannelSummaryList = (output, context) => {\n const retVal = (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n if (entry === null) {\n return null;\n }\n return deserializeAws_restJson1SubChannelSummary(entry, context);\n });\n return retVal;\n};\nconst deserializeAws_restJson1Tag = (output, context) => {\n return {\n Key: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Key),\n Value: (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_1__.expectString)(output.Value),\n };\n};\nconst deserializeAws_restJson1TagList = (output, context) => {\n const retVal = (output || [])\n .filter((e) => e != null)\n .map((entry) => {\n if (entry === null) {\n return null;\n }\n return deserializeAws_restJson1Tag(entry, context);\n });\n return retVal;\n};\nconst deserializeMetadata = (output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],\n extendedRequestId: output.headers["x-amz-id-2"],\n cfId: output.headers["x-amz-cf-id"],\n});\nconst collectBody = (streamBody = new Uint8Array(), context) => {\n if (streamBody instanceof Uint8Array) {\n return Promise.resolve(streamBody);\n }\n return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());\n};\nconst collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));\nconst isSerializableHeaderValue = (value) => value !== undefined &&\n value !== null &&\n value !== "" &&\n (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&\n (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);\nconst parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {\n if (encoded.length) {\n return JSON.parse(encoded);\n }\n return {};\n});\nconst parseErrorBody = async (errorBody, context) => {\n const value = await parseBody(errorBody, context);\n value.message = value.message ?? value.Message;\n return value;\n};\nconst loadRestJsonErrorCode = (output, data) => {\n const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());\n const sanitizeErrorCode = (rawValue) => {\n let cleanValue = rawValue;\n if (typeof cleanValue === "number") {\n cleanValue = cleanValue.toString();\n }\n if (cleanValue.indexOf(",") >= 0) {\n cleanValue = cleanValue.split(",")[0];\n }\n if (cleanValue.indexOf(":") >= 0) {\n cleanValue = cleanValue.split(":")[0];\n }\n if (cleanValue.indexOf("#") >= 0) {\n cleanValue = cleanValue.split("#")[1];\n }\n return cleanValue;\n };\n const headerKey = findKey(output.headers, "x-amzn-errortype");\n if (headerKey !== undefined) {\n return sanitizeErrorCode(output.headers[headerKey]);\n }\n if (data.code !== undefined) {\n return sanitizeErrorCode(data.code);\n }\n if (data["__type"] !== undefined) {\n return sanitizeErrorCode(data["__type"]);\n }\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/runtimeConfig.browser.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getRuntimeConfig": () => (/* binding */ getRuntimeConfig)\n/* harmony export */ });\n/* harmony import */ var _package_json__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../package.json */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/package.json");\n/* harmony import */ var _aws_crypto_sha256_browser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-crypto/sha256-browser */ "./node_modules/@aws-crypto/sha256-browser/build/index.js");\n/* harmony import */ var _aws_crypto_sha256_browser__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_aws_crypto_sha256_browser__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _aws_sdk_config_resolver__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/config-resolver */ "./node_modules/@aws-sdk/config-resolver/dist-es/index.js");\n/* harmony import */ var _aws_sdk_fetch_http_handler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/fetch-http-handler */ "./node_modules/@aws-sdk/fetch-http-handler/dist-es/index.js");\n/* harmony import */ var _aws_sdk_invalid_dependency__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @aws-sdk/invalid-dependency */ "./node_modules/@aws-sdk/invalid-dependency/dist-es/index.js");\n/* harmony import */ var _aws_sdk_util_body_length_browser__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @aws-sdk/util-body-length-browser */ "./node_modules/@aws-sdk/util-body-length-browser/dist-es/index.js");\n/* harmony import */ var _aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @aws-sdk/util-retry */ "./node_modules/@aws-sdk/util-retry/dist-es/index.js");\n/* harmony import */ var _aws_sdk_util_user_agent_browser__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @aws-sdk/util-user-agent-browser */ "./node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js");\n/* harmony import */ var _runtimeConfig_shared__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./runtimeConfig.shared */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/runtimeConfig.shared.js");\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _aws_sdk_util_defaults_mode_browser__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @aws-sdk/util-defaults-mode-browser */ "./node_modules/@aws-sdk/util-defaults-mode-browser/dist-es/index.js");\n\n\n\n\n\n\n\n\n\n\n\nconst getRuntimeConfig = (config) => {\n const defaultsMode = (0,_aws_sdk_util_defaults_mode_browser__WEBPACK_IMPORTED_MODULE_8__.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_7__.loadConfigsForDefaultMode);\n const clientSharedValues = (0,_runtimeConfig_shared__WEBPACK_IMPORTED_MODULE_9__.getRuntimeConfig)(config);\n return {\n ...clientSharedValues,\n ...config,\n runtime: "browser",\n defaultsMode,\n bodyLengthChecker: config?.bodyLengthChecker ?? _aws_sdk_util_body_length_browser__WEBPACK_IMPORTED_MODULE_4__.calculateBodyLength,\n credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n (0,_aws_sdk_util_user_agent_browser__WEBPACK_IMPORTED_MODULE_6__.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: _package_json__WEBPACK_IMPORTED_MODULE_10__.version }),\n maxAttempts: config?.maxAttempts ?? _aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_5__.DEFAULT_MAX_ATTEMPTS,\n region: config?.region ?? (0,_aws_sdk_invalid_dependency__WEBPACK_IMPORTED_MODULE_3__.invalidProvider)("Region is missing"),\n requestHandler: config?.requestHandler ?? new _aws_sdk_fetch_http_handler__WEBPACK_IMPORTED_MODULE_2__.FetchHttpHandler(defaultConfigProvider),\n retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || _aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_5__.DEFAULT_RETRY_MODE),\n sha256: config?.sha256 ?? _aws_crypto_sha256_browser__WEBPACK_IMPORTED_MODULE_0__.Sha256,\n streamCollector: config?.streamCollector ?? _aws_sdk_fetch_http_handler__WEBPACK_IMPORTED_MODULE_2__.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(_aws_sdk_config_resolver__WEBPACK_IMPORTED_MODULE_1__.DEFAULT_USE_DUALSTACK_ENDPOINT)),\n useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(_aws_sdk_config_resolver__WEBPACK_IMPORTED_MODULE_1__.DEFAULT_USE_FIPS_ENDPOINT)),\n };\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/runtimeConfig.browser.js?')},"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/runtimeConfig.shared.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getRuntimeConfig": () => (/* binding */ getRuntimeConfig)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/smithy-client */ "./node_modules/@aws-sdk/smithy-client/dist-es/index.js");\n/* harmony import */ var _aws_sdk_url_parser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/url-parser */ "./node_modules/@aws-sdk/url-parser/dist-es/index.js");\n/* harmony import */ var _aws_sdk_util_base64__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/util-base64 */ "./node_modules/@aws-sdk/util-base64/dist-es/index.js");\n/* harmony import */ var _aws_sdk_util_utf8__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @aws-sdk/util-utf8 */ "./node_modules/@aws-sdk/util-utf8/dist-es/index.js");\n/* harmony import */ var _endpoint_endpointResolver__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./endpoint/endpointResolver */ "./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/endpoint/endpointResolver.js");\n\n\n\n\n\nconst getRuntimeConfig = (config) => ({\n apiVersion: "2021-05-15",\n base64Decoder: config?.base64Decoder ?? _aws_sdk_util_base64__WEBPACK_IMPORTED_MODULE_2__.fromBase64,\n base64Encoder: config?.base64Encoder ?? _aws_sdk_util_base64__WEBPACK_IMPORTED_MODULE_2__.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? _endpoint_endpointResolver__WEBPACK_IMPORTED_MODULE_4__.defaultEndpointResolver,\n logger: config?.logger ?? new _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.NoOpLogger(),\n serviceId: config?.serviceId ?? "Chime SDK Messaging",\n urlParser: config?.urlParser ?? _aws_sdk_url_parser__WEBPACK_IMPORTED_MODULE_1__.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? _aws_sdk_util_utf8__WEBPACK_IMPORTED_MODULE_3__.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? _aws_sdk_util_utf8__WEBPACK_IMPORTED_MODULE_3__.toUtf8,\n});\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/runtimeConfig.shared.js?')},"./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "CONFIG_USE_DUALSTACK_ENDPOINT": () => (/* binding */ CONFIG_USE_DUALSTACK_ENDPOINT),\n/* harmony export */ "DEFAULT_USE_DUALSTACK_ENDPOINT": () => (/* binding */ DEFAULT_USE_DUALSTACK_ENDPOINT),\n/* harmony export */ "ENV_USE_DUALSTACK_ENDPOINT": () => (/* binding */ ENV_USE_DUALSTACK_ENDPOINT),\n/* harmony export */ "NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS": () => (/* binding */ NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_util_config_provider__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/util-config-provider */ "./node_modules/@aws-sdk/util-config-provider/dist-es/index.js");\n\nconst ENV_USE_DUALSTACK_ENDPOINT = "AWS_USE_DUALSTACK_ENDPOINT";\nconst CONFIG_USE_DUALSTACK_ENDPOINT = "use_dualstack_endpoint";\nconst DEFAULT_USE_DUALSTACK_ENDPOINT = false;\nconst NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = {\n environmentVariableSelector: (env) => (0,_aws_sdk_util_config_provider__WEBPACK_IMPORTED_MODULE_0__.booleanSelector)(env, ENV_USE_DUALSTACK_ENDPOINT, _aws_sdk_util_config_provider__WEBPACK_IMPORTED_MODULE_0__.SelectorType.ENV),\n configFileSelector: (profile) => (0,_aws_sdk_util_config_provider__WEBPACK_IMPORTED_MODULE_0__.booleanSelector)(profile, CONFIG_USE_DUALSTACK_ENDPOINT, _aws_sdk_util_config_provider__WEBPACK_IMPORTED_MODULE_0__.SelectorType.CONFIG),\n default: false,\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js?')},"./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "CONFIG_USE_FIPS_ENDPOINT": () => (/* binding */ CONFIG_USE_FIPS_ENDPOINT),\n/* harmony export */ "DEFAULT_USE_FIPS_ENDPOINT": () => (/* binding */ DEFAULT_USE_FIPS_ENDPOINT),\n/* harmony export */ "ENV_USE_FIPS_ENDPOINT": () => (/* binding */ ENV_USE_FIPS_ENDPOINT),\n/* harmony export */ "NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS": () => (/* binding */ NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_util_config_provider__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/util-config-provider */ "./node_modules/@aws-sdk/util-config-provider/dist-es/index.js");\n\nconst ENV_USE_FIPS_ENDPOINT = "AWS_USE_FIPS_ENDPOINT";\nconst CONFIG_USE_FIPS_ENDPOINT = "use_fips_endpoint";\nconst DEFAULT_USE_FIPS_ENDPOINT = false;\nconst NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = {\n environmentVariableSelector: (env) => (0,_aws_sdk_util_config_provider__WEBPACK_IMPORTED_MODULE_0__.booleanSelector)(env, ENV_USE_FIPS_ENDPOINT, _aws_sdk_util_config_provider__WEBPACK_IMPORTED_MODULE_0__.SelectorType.ENV),\n configFileSelector: (profile) => (0,_aws_sdk_util_config_provider__WEBPACK_IMPORTED_MODULE_0__.booleanSelector)(profile, CONFIG_USE_FIPS_ENDPOINT, _aws_sdk_util_config_provider__WEBPACK_IMPORTED_MODULE_0__.SelectorType.CONFIG),\n default: false,\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js?')},"./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "CONFIG_USE_DUALSTACK_ENDPOINT": () => (/* reexport safe */ _NodeUseDualstackEndpointConfigOptions__WEBPACK_IMPORTED_MODULE_0__.CONFIG_USE_DUALSTACK_ENDPOINT),\n/* harmony export */ "CONFIG_USE_FIPS_ENDPOINT": () => (/* reexport safe */ _NodeUseFipsEndpointConfigOptions__WEBPACK_IMPORTED_MODULE_1__.CONFIG_USE_FIPS_ENDPOINT),\n/* harmony export */ "DEFAULT_USE_DUALSTACK_ENDPOINT": () => (/* reexport safe */ _NodeUseDualstackEndpointConfigOptions__WEBPACK_IMPORTED_MODULE_0__.DEFAULT_USE_DUALSTACK_ENDPOINT),\n/* harmony export */ "DEFAULT_USE_FIPS_ENDPOINT": () => (/* reexport safe */ _NodeUseFipsEndpointConfigOptions__WEBPACK_IMPORTED_MODULE_1__.DEFAULT_USE_FIPS_ENDPOINT),\n/* harmony export */ "ENV_USE_DUALSTACK_ENDPOINT": () => (/* reexport safe */ _NodeUseDualstackEndpointConfigOptions__WEBPACK_IMPORTED_MODULE_0__.ENV_USE_DUALSTACK_ENDPOINT),\n/* harmony export */ "ENV_USE_FIPS_ENDPOINT": () => (/* reexport safe */ _NodeUseFipsEndpointConfigOptions__WEBPACK_IMPORTED_MODULE_1__.ENV_USE_FIPS_ENDPOINT),\n/* harmony export */ "NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS": () => (/* reexport safe */ _NodeUseDualstackEndpointConfigOptions__WEBPACK_IMPORTED_MODULE_0__.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),\n/* harmony export */ "NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS": () => (/* reexport safe */ _NodeUseFipsEndpointConfigOptions__WEBPACK_IMPORTED_MODULE_1__.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),\n/* harmony export */ "resolveCustomEndpointsConfig": () => (/* reexport safe */ _resolveCustomEndpointsConfig__WEBPACK_IMPORTED_MODULE_2__.resolveCustomEndpointsConfig),\n/* harmony export */ "resolveEndpointsConfig": () => (/* reexport safe */ _resolveEndpointsConfig__WEBPACK_IMPORTED_MODULE_3__.resolveEndpointsConfig)\n/* harmony export */ });\n/* harmony import */ var _NodeUseDualstackEndpointConfigOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./NodeUseDualstackEndpointConfigOptions */ "./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js");\n/* harmony import */ var _NodeUseFipsEndpointConfigOptions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./NodeUseFipsEndpointConfigOptions */ "./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js");\n/* harmony import */ var _resolveCustomEndpointsConfig__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./resolveCustomEndpointsConfig */ "./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js");\n/* harmony import */ var _resolveEndpointsConfig__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./resolveEndpointsConfig */ "./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js");\n\n\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/index.js?')},"./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "resolveCustomEndpointsConfig": () => (/* binding */ resolveCustomEndpointsConfig)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_util_middleware__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/util-middleware */ "./node_modules/@aws-sdk/util-middleware/dist-es/index.js");\n\nconst resolveCustomEndpointsConfig = (input) => {\n const { endpoint, urlParser } = input;\n return {\n ...input,\n tls: input.tls ?? true,\n endpoint: (0,_aws_sdk_util_middleware__WEBPACK_IMPORTED_MODULE_0__.normalizeProvider)(typeof endpoint === "string" ? urlParser(endpoint) : endpoint),\n isCustomEndpoint: true,\n useDualstackEndpoint: (0,_aws_sdk_util_middleware__WEBPACK_IMPORTED_MODULE_0__.normalizeProvider)(input.useDualstackEndpoint ?? false),\n };\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js?')},"./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "resolveEndpointsConfig": () => (/* binding */ resolveEndpointsConfig)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_util_middleware__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/util-middleware */ "./node_modules/@aws-sdk/util-middleware/dist-es/index.js");\n/* harmony import */ var _utils_getEndpointFromRegion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils/getEndpointFromRegion */ "./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/utils/getEndpointFromRegion.js");\n\n\nconst resolveEndpointsConfig = (input) => {\n const useDualstackEndpoint = (0,_aws_sdk_util_middleware__WEBPACK_IMPORTED_MODULE_0__.normalizeProvider)(input.useDualstackEndpoint ?? false);\n const { endpoint, useFipsEndpoint, urlParser } = input;\n return {\n ...input,\n tls: input.tls ?? true,\n endpoint: endpoint\n ? (0,_aws_sdk_util_middleware__WEBPACK_IMPORTED_MODULE_0__.normalizeProvider)(typeof endpoint === "string" ? urlParser(endpoint) : endpoint)\n : () => (0,_utils_getEndpointFromRegion__WEBPACK_IMPORTED_MODULE_1__.getEndpointFromRegion)({ ...input, useDualstackEndpoint, useFipsEndpoint }),\n isCustomEndpoint: !!endpoint,\n useDualstackEndpoint,\n };\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js?')},"./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/utils/getEndpointFromRegion.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getEndpointFromRegion": () => (/* binding */ getEndpointFromRegion)\n/* harmony export */ });\nconst getEndpointFromRegion = async (input) => {\n const { tls = true } = input;\n const region = await input.region();\n const dnsHostRegex = new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/);\n if (!dnsHostRegex.test(region)) {\n throw new Error("Invalid region in client config");\n }\n const useDualstackEndpoint = await input.useDualstackEndpoint();\n const useFipsEndpoint = await input.useFipsEndpoint();\n const { hostname } = (await input.regionInfoProvider(region, { useDualstackEndpoint, useFipsEndpoint })) ?? {};\n if (!hostname) {\n throw new Error("Cannot resolve hostname from client config");\n }\n return input.urlParser(`${tls ? "https:" : "http:"}//${hostname}`);\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/utils/getEndpointFromRegion.js?')},"./node_modules/@aws-sdk/config-resolver/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "CONFIG_USE_DUALSTACK_ENDPOINT": () => (/* reexport safe */ _endpointsConfig__WEBPACK_IMPORTED_MODULE_0__.CONFIG_USE_DUALSTACK_ENDPOINT),\n/* harmony export */ "CONFIG_USE_FIPS_ENDPOINT": () => (/* reexport safe */ _endpointsConfig__WEBPACK_IMPORTED_MODULE_0__.CONFIG_USE_FIPS_ENDPOINT),\n/* harmony export */ "DEFAULT_USE_DUALSTACK_ENDPOINT": () => (/* reexport safe */ _endpointsConfig__WEBPACK_IMPORTED_MODULE_0__.DEFAULT_USE_DUALSTACK_ENDPOINT),\n/* harmony export */ "DEFAULT_USE_FIPS_ENDPOINT": () => (/* reexport safe */ _endpointsConfig__WEBPACK_IMPORTED_MODULE_0__.DEFAULT_USE_FIPS_ENDPOINT),\n/* harmony export */ "ENV_USE_DUALSTACK_ENDPOINT": () => (/* reexport safe */ _endpointsConfig__WEBPACK_IMPORTED_MODULE_0__.ENV_USE_DUALSTACK_ENDPOINT),\n/* harmony export */ "ENV_USE_FIPS_ENDPOINT": () => (/* reexport safe */ _endpointsConfig__WEBPACK_IMPORTED_MODULE_0__.ENV_USE_FIPS_ENDPOINT),\n/* harmony export */ "NODE_REGION_CONFIG_FILE_OPTIONS": () => (/* reexport safe */ _regionConfig__WEBPACK_IMPORTED_MODULE_1__.NODE_REGION_CONFIG_FILE_OPTIONS),\n/* harmony export */ "NODE_REGION_CONFIG_OPTIONS": () => (/* reexport safe */ _regionConfig__WEBPACK_IMPORTED_MODULE_1__.NODE_REGION_CONFIG_OPTIONS),\n/* harmony export */ "NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS": () => (/* reexport safe */ _endpointsConfig__WEBPACK_IMPORTED_MODULE_0__.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),\n/* harmony export */ "NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS": () => (/* reexport safe */ _endpointsConfig__WEBPACK_IMPORTED_MODULE_0__.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),\n/* harmony export */ "REGION_ENV_NAME": () => (/* reexport safe */ _regionConfig__WEBPACK_IMPORTED_MODULE_1__.REGION_ENV_NAME),\n/* harmony export */ "REGION_INI_NAME": () => (/* reexport safe */ _regionConfig__WEBPACK_IMPORTED_MODULE_1__.REGION_INI_NAME),\n/* harmony export */ "getRegionInfo": () => (/* reexport safe */ _regionInfo__WEBPACK_IMPORTED_MODULE_2__.getRegionInfo),\n/* harmony export */ "resolveCustomEndpointsConfig": () => (/* reexport safe */ _endpointsConfig__WEBPACK_IMPORTED_MODULE_0__.resolveCustomEndpointsConfig),\n/* harmony export */ "resolveEndpointsConfig": () => (/* reexport safe */ _endpointsConfig__WEBPACK_IMPORTED_MODULE_0__.resolveEndpointsConfig),\n/* harmony export */ "resolveRegionConfig": () => (/* reexport safe */ _regionConfig__WEBPACK_IMPORTED_MODULE_1__.resolveRegionConfig)\n/* harmony export */ });\n/* harmony import */ var _endpointsConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./endpointsConfig */ "./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/index.js");\n/* harmony import */ var _regionConfig__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./regionConfig */ "./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/index.js");\n/* harmony import */ var _regionInfo__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./regionInfo */ "./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/index.js");\n\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/config-resolver/dist-es/index.js?')},"./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/config.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "NODE_REGION_CONFIG_FILE_OPTIONS": () => (/* binding */ NODE_REGION_CONFIG_FILE_OPTIONS),\n/* harmony export */ "NODE_REGION_CONFIG_OPTIONS": () => (/* binding */ NODE_REGION_CONFIG_OPTIONS),\n/* harmony export */ "REGION_ENV_NAME": () => (/* binding */ REGION_ENV_NAME),\n/* harmony export */ "REGION_INI_NAME": () => (/* binding */ REGION_INI_NAME)\n/* harmony export */ });\nconst REGION_ENV_NAME = "AWS_REGION";\nconst REGION_INI_NAME = "region";\nconst NODE_REGION_CONFIG_OPTIONS = {\n environmentVariableSelector: (env) => env[REGION_ENV_NAME],\n configFileSelector: (profile) => profile[REGION_INI_NAME],\n default: () => {\n throw new Error("Region is missing");\n },\n};\nconst NODE_REGION_CONFIG_FILE_OPTIONS = {\n preferredFile: "credentials",\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/config.js?')},"./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/getRealRegion.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getRealRegion": () => (/* binding */ getRealRegion)\n/* harmony export */ });\n/* harmony import */ var _isFipsRegion__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isFipsRegion */ "./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/isFipsRegion.js");\n\nconst getRealRegion = (region) => (0,_isFipsRegion__WEBPACK_IMPORTED_MODULE_0__.isFipsRegion)(region)\n ? ["fips-aws-global", "aws-fips"].includes(region)\n ? "us-east-1"\n : region.replace(/fips-(dkr-|prod-)?|-fips/, "")\n : region;\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/getRealRegion.js?')},"./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "NODE_REGION_CONFIG_FILE_OPTIONS": () => (/* reexport safe */ _config__WEBPACK_IMPORTED_MODULE_0__.NODE_REGION_CONFIG_FILE_OPTIONS),\n/* harmony export */ "NODE_REGION_CONFIG_OPTIONS": () => (/* reexport safe */ _config__WEBPACK_IMPORTED_MODULE_0__.NODE_REGION_CONFIG_OPTIONS),\n/* harmony export */ "REGION_ENV_NAME": () => (/* reexport safe */ _config__WEBPACK_IMPORTED_MODULE_0__.REGION_ENV_NAME),\n/* harmony export */ "REGION_INI_NAME": () => (/* reexport safe */ _config__WEBPACK_IMPORTED_MODULE_0__.REGION_INI_NAME),\n/* harmony export */ "resolveRegionConfig": () => (/* reexport safe */ _resolveRegionConfig__WEBPACK_IMPORTED_MODULE_1__.resolveRegionConfig)\n/* harmony export */ });\n/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./config */ "./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/config.js");\n/* harmony import */ var _resolveRegionConfig__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./resolveRegionConfig */ "./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/resolveRegionConfig.js");\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/index.js?')},"./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/isFipsRegion.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "isFipsRegion": () => (/* binding */ isFipsRegion)\n/* harmony export */ });\nconst isFipsRegion = (region) => typeof region === "string" && (region.startsWith("fips-") || region.endsWith("-fips"));\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/isFipsRegion.js?')},"./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/resolveRegionConfig.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "resolveRegionConfig": () => (/* binding */ resolveRegionConfig)\n/* harmony export */ });\n/* harmony import */ var _getRealRegion__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getRealRegion */ "./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/getRealRegion.js");\n/* harmony import */ var _isFipsRegion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./isFipsRegion */ "./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/isFipsRegion.js");\n\n\nconst resolveRegionConfig = (input) => {\n const { region, useFipsEndpoint } = input;\n if (!region) {\n throw new Error("Region is missing");\n }\n return {\n ...input,\n region: async () => {\n if (typeof region === "string") {\n return (0,_getRealRegion__WEBPACK_IMPORTED_MODULE_0__.getRealRegion)(region);\n }\n const providedRegion = await region();\n return (0,_getRealRegion__WEBPACK_IMPORTED_MODULE_0__.getRealRegion)(providedRegion);\n },\n useFipsEndpoint: async () => {\n const providedRegion = typeof region === "string" ? region : await region();\n if ((0,_isFipsRegion__WEBPACK_IMPORTED_MODULE_1__.isFipsRegion)(providedRegion)) {\n return true;\n }\n return typeof useFipsEndpoint !== "function" ? Promise.resolve(!!useFipsEndpoint) : useFipsEndpoint();\n },\n };\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/resolveRegionConfig.js?')},"./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/PartitionHash.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/PartitionHash.js?")},"./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/RegionHash.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/RegionHash.js?")},"./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getHostnameFromVariants.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getHostnameFromVariants": () => (/* binding */ getHostnameFromVariants)\n/* harmony export */ });\nconst getHostnameFromVariants = (variants = [], { useFipsEndpoint, useDualstackEndpoint }) => variants.find(({ tags }) => useFipsEndpoint === tags.includes("fips") && useDualstackEndpoint === tags.includes("dualstack"))?.hostname;\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getHostnameFromVariants.js?')},"./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getRegionInfo.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getRegionInfo": () => (/* binding */ getRegionInfo)\n/* harmony export */ });\n/* harmony import */ var _getHostnameFromVariants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getHostnameFromVariants */ "./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getHostnameFromVariants.js");\n/* harmony import */ var _getResolvedHostname__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getResolvedHostname */ "./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getResolvedHostname.js");\n/* harmony import */ var _getResolvedPartition__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getResolvedPartition */ "./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getResolvedPartition.js");\n/* harmony import */ var _getResolvedSigningRegion__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getResolvedSigningRegion */ "./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getResolvedSigningRegion.js");\n\n\n\n\nconst getRegionInfo = (region, { useFipsEndpoint = false, useDualstackEndpoint = false, signingService, regionHash, partitionHash, }) => {\n const partition = (0,_getResolvedPartition__WEBPACK_IMPORTED_MODULE_2__.getResolvedPartition)(region, { partitionHash });\n const resolvedRegion = region in regionHash ? region : partitionHash[partition]?.endpoint ?? region;\n const hostnameOptions = { useFipsEndpoint, useDualstackEndpoint };\n const regionHostname = (0,_getHostnameFromVariants__WEBPACK_IMPORTED_MODULE_0__.getHostnameFromVariants)(regionHash[resolvedRegion]?.variants, hostnameOptions);\n const partitionHostname = (0,_getHostnameFromVariants__WEBPACK_IMPORTED_MODULE_0__.getHostnameFromVariants)(partitionHash[partition]?.variants, hostnameOptions);\n const hostname = (0,_getResolvedHostname__WEBPACK_IMPORTED_MODULE_1__.getResolvedHostname)(resolvedRegion, { regionHostname, partitionHostname });\n if (hostname === undefined) {\n throw new Error(`Endpoint resolution failed for: ${{ resolvedRegion, useFipsEndpoint, useDualstackEndpoint }}`);\n }\n const signingRegion = (0,_getResolvedSigningRegion__WEBPACK_IMPORTED_MODULE_3__.getResolvedSigningRegion)(hostname, {\n signingRegion: regionHash[resolvedRegion]?.signingRegion,\n regionRegex: partitionHash[partition].regionRegex,\n useFipsEndpoint,\n });\n return {\n partition,\n signingService,\n hostname,\n ...(signingRegion && { signingRegion }),\n ...(regionHash[resolvedRegion]?.signingService && {\n signingService: regionHash[resolvedRegion].signingService,\n }),\n };\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getRegionInfo.js?')},"./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getResolvedHostname.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getResolvedHostname": () => (/* binding */ getResolvedHostname)\n/* harmony export */ });\nconst getResolvedHostname = (resolvedRegion, { regionHostname, partitionHostname }) => regionHostname\n ? regionHostname\n : partitionHostname\n ? partitionHostname.replace("{region}", resolvedRegion)\n : undefined;\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getResolvedHostname.js?')},"./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getResolvedPartition.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getResolvedPartition": () => (/* binding */ getResolvedPartition)\n/* harmony export */ });\nconst getResolvedPartition = (region, { partitionHash }) => Object.keys(partitionHash || {}).find((key) => partitionHash[key].regions.includes(region)) ?? "aws";\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getResolvedPartition.js?')},"./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getResolvedSigningRegion.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getResolvedSigningRegion": () => (/* binding */ getResolvedSigningRegion)\n/* harmony export */ });\nconst getResolvedSigningRegion = (hostname, { signingRegion, regionRegex, useFipsEndpoint }) => {\n if (signingRegion) {\n return signingRegion;\n }\n else if (useFipsEndpoint) {\n const regionRegexJs = regionRegex.replace("\\\\\\\\", "\\\\").replace(/^\\^/g, "\\\\.").replace(/\\$$/g, "\\\\.");\n const regionRegexmatchArray = hostname.match(regionRegexJs);\n if (regionRegexmatchArray) {\n return regionRegexmatchArray[0].slice(1, -1);\n }\n }\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getResolvedSigningRegion.js?')},"./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getRegionInfo": () => (/* reexport safe */ _getRegionInfo__WEBPACK_IMPORTED_MODULE_2__.getRegionInfo)\n/* harmony export */ });\n/* harmony import */ var _PartitionHash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PartitionHash */ "./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/PartitionHash.js");\n/* harmony import */ var _RegionHash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./RegionHash */ "./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/RegionHash.js");\n/* harmony import */ var _getRegionInfo__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getRegionInfo */ "./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getRegionInfo.js");\n\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/index.js?')},"./node_modules/@aws-sdk/fetch-http-handler/dist-es/fetch-http-handler.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "FetchHttpHandler": () => (/* binding */ FetchHttpHandler)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/protocol-http */ "./node_modules/@aws-sdk/protocol-http/dist-es/index.js");\n/* harmony import */ var _aws_sdk_querystring_builder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/querystring-builder */ "./node_modules/@aws-sdk/querystring-builder/dist-es/index.js");\n/* harmony import */ var _request_timeout__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./request-timeout */ "./node_modules/@aws-sdk/fetch-http-handler/dist-es/request-timeout.js");\n\n\n\nclass FetchHttpHandler {\n constructor(options) {\n if (typeof options === "function") {\n this.configProvider = options().then((opts) => opts || {});\n }\n else {\n this.config = options ?? {};\n this.configProvider = Promise.resolve(this.config);\n }\n }\n destroy() {\n }\n async handle(request, { abortSignal } = {}) {\n if (!this.config) {\n this.config = await this.configProvider;\n }\n const requestTimeoutInMs = this.config.requestTimeout;\n if (abortSignal?.aborted) {\n const abortError = new Error("Request aborted");\n abortError.name = "AbortError";\n return Promise.reject(abortError);\n }\n let path = request.path;\n if (request.query) {\n const queryString = (0,_aws_sdk_querystring_builder__WEBPACK_IMPORTED_MODULE_1__.buildQueryString)(request.query);\n if (queryString) {\n path += `?${queryString}`;\n }\n }\n const { port, method } = request;\n const url = `${request.protocol}//${request.hostname}${port ? `:${port}` : ""}${path}`;\n const body = method === "GET" || method === "HEAD" ? undefined : request.body;\n const requestOptions = {\n body,\n headers: new Headers(request.headers),\n method: method,\n };\n if (typeof AbortController !== "undefined") {\n requestOptions["signal"] = abortSignal;\n }\n const fetchRequest = new Request(url, requestOptions);\n const raceOfPromises = [\n fetch(fetchRequest).then((response) => {\n const fetchHeaders = response.headers;\n const transformedHeaders = {};\n for (const pair of fetchHeaders.entries()) {\n transformedHeaders[pair[0]] = pair[1];\n }\n const hasReadableStream = response.body !== undefined;\n if (!hasReadableStream) {\n return response.blob().then((body) => ({\n response: new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpResponse({\n headers: transformedHeaders,\n statusCode: response.status,\n body,\n }),\n }));\n }\n return {\n response: new _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpResponse({\n headers: transformedHeaders,\n statusCode: response.status,\n body: response.body,\n }),\n };\n }),\n (0,_request_timeout__WEBPACK_IMPORTED_MODULE_2__.requestTimeout)(requestTimeoutInMs),\n ];\n if (abortSignal) {\n raceOfPromises.push(new Promise((resolve, reject) => {\n abortSignal.onabort = () => {\n const abortError = new Error("Request aborted");\n abortError.name = "AbortError";\n reject(abortError);\n };\n }));\n }\n return Promise.race(raceOfPromises);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/fetch-http-handler/dist-es/fetch-http-handler.js?')},"./node_modules/@aws-sdk/fetch-http-handler/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "FetchHttpHandler": () => (/* reexport safe */ _fetch_http_handler__WEBPACK_IMPORTED_MODULE_0__.FetchHttpHandler),\n/* harmony export */ "streamCollector": () => (/* reexport safe */ _stream_collector__WEBPACK_IMPORTED_MODULE_1__.streamCollector)\n/* harmony export */ });\n/* harmony import */ var _fetch_http_handler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./fetch-http-handler */ "./node_modules/@aws-sdk/fetch-http-handler/dist-es/fetch-http-handler.js");\n/* harmony import */ var _stream_collector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./stream-collector */ "./node_modules/@aws-sdk/fetch-http-handler/dist-es/stream-collector.js");\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/fetch-http-handler/dist-es/index.js?')},"./node_modules/@aws-sdk/fetch-http-handler/dist-es/request-timeout.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "requestTimeout": () => (/* binding */ requestTimeout)\n/* harmony export */ });\nfunction requestTimeout(timeoutInMs = 0) {\n return new Promise((resolve, reject) => {\n if (timeoutInMs) {\n setTimeout(() => {\n const timeoutError = new Error(`Request did not complete within ${timeoutInMs} ms`);\n timeoutError.name = "TimeoutError";\n reject(timeoutError);\n }, timeoutInMs);\n }\n });\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/fetch-http-handler/dist-es/request-timeout.js?')},"./node_modules/@aws-sdk/fetch-http-handler/dist-es/stream-collector.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "streamCollector": () => (/* binding */ streamCollector)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_util_base64__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/util-base64 */ "./node_modules/@aws-sdk/util-base64/dist-es/index.js");\n\nconst streamCollector = (stream) => {\n if (typeof Blob === "function" && stream instanceof Blob) {\n return collectBlob(stream);\n }\n return collectStream(stream);\n};\nasync function collectBlob(blob) {\n const base64 = await readToBase64(blob);\n const arrayBuffer = (0,_aws_sdk_util_base64__WEBPACK_IMPORTED_MODULE_0__.fromBase64)(base64);\n return new Uint8Array(arrayBuffer);\n}\nasync function collectStream(stream) {\n let res = new Uint8Array(0);\n const reader = stream.getReader();\n let isDone = false;\n while (!isDone) {\n const { done, value } = await reader.read();\n if (value) {\n const prior = res;\n res = new Uint8Array(prior.length + value.length);\n res.set(prior);\n res.set(value, prior.length);\n }\n isDone = done;\n }\n return res;\n}\nfunction readToBase64(blob) {\n return new Promise((resolve, reject) => {\n const reader = new FileReader();\n reader.onloadend = () => {\n if (reader.readyState !== 2) {\n return reject(new Error("Reader aborted too early"));\n }\n const result = (reader.result ?? "");\n const commaIndex = result.indexOf(",");\n const dataOffset = commaIndex > -1 ? commaIndex + 1 : result.length;\n resolve(result.substring(dataOffset));\n };\n reader.onabort = () => reject(new Error("Read aborted"));\n reader.onerror = () => reject(reader.error);\n reader.readAsDataURL(blob);\n });\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/fetch-http-handler/dist-es/stream-collector.js?')},"./node_modules/@aws-sdk/invalid-dependency/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "invalidFunction": () => (/* reexport safe */ _invalidFunction__WEBPACK_IMPORTED_MODULE_0__.invalidFunction),\n/* harmony export */ "invalidProvider": () => (/* reexport safe */ _invalidProvider__WEBPACK_IMPORTED_MODULE_1__.invalidProvider)\n/* harmony export */ });\n/* harmony import */ var _invalidFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./invalidFunction */ "./node_modules/@aws-sdk/invalid-dependency/dist-es/invalidFunction.js");\n/* harmony import */ var _invalidProvider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./invalidProvider */ "./node_modules/@aws-sdk/invalid-dependency/dist-es/invalidProvider.js");\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/invalid-dependency/dist-es/index.js?')},"./node_modules/@aws-sdk/invalid-dependency/dist-es/invalidFunction.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "invalidFunction": () => (/* binding */ invalidFunction)\n/* harmony export */ });\nconst invalidFunction = (message) => () => {\n throw new Error(message);\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/invalid-dependency/dist-es/invalidFunction.js?')},"./node_modules/@aws-sdk/invalid-dependency/dist-es/invalidProvider.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "invalidProvider": () => (/* binding */ invalidProvider)\n/* harmony export */ });\nconst invalidProvider = (message) => () => Promise.reject(message);\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/invalid-dependency/dist-es/invalidProvider.js?')},"./node_modules/@aws-sdk/is-array-buffer/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "isArrayBuffer": () => (/* binding */ isArrayBuffer)\n/* harmony export */ });\nconst isArrayBuffer = (arg) => (typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer) ||\n Object.prototype.toString.call(arg) === "[object ArrayBuffer]";\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/is-array-buffer/dist-es/index.js?')},"./node_modules/@aws-sdk/middleware-content-length/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "contentLengthMiddleware": () => (/* binding */ contentLengthMiddleware),\n/* harmony export */ "contentLengthMiddlewareOptions": () => (/* binding */ contentLengthMiddlewareOptions),\n/* harmony export */ "getContentLengthPlugin": () => (/* binding */ getContentLengthPlugin)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/protocol-http */ "./node_modules/@aws-sdk/protocol-http/dist-es/index.js");\n\nconst CONTENT_LENGTH_HEADER = "content-length";\nfunction contentLengthMiddleware(bodyLengthChecker) {\n return (next) => async (args) => {\n const request = args.request;\n if (_aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest.isInstance(request)) {\n const { body, headers } = request;\n if (body &&\n Object.keys(headers)\n .map((str) => str.toLowerCase())\n .indexOf(CONTENT_LENGTH_HEADER) === -1) {\n try {\n const length = bodyLengthChecker(body);\n request.headers = {\n ...request.headers,\n [CONTENT_LENGTH_HEADER]: String(length),\n };\n }\n catch (error) {\n }\n }\n }\n return next({\n ...args,\n request,\n });\n };\n}\nconst contentLengthMiddlewareOptions = {\n step: "build",\n tags: ["SET_CONTENT_LENGTH", "CONTENT_LENGTH"],\n name: "contentLengthMiddleware",\n override: true,\n};\nconst getContentLengthPlugin = (options) => ({\n applyToStack: (clientStack) => {\n clientStack.add(contentLengthMiddleware(options.bodyLengthChecker), contentLengthMiddlewareOptions);\n },\n});\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-content-length/dist-es/index.js?')},"./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "createConfigValueProvider": () => (/* binding */ createConfigValueProvider)\n/* harmony export */ });\nconst createConfigValueProvider = (configKey, canonicalEndpointParamKey, config) => {\n const configProvider = async () => {\n const configValue = config[configKey] ?? config[canonicalEndpointParamKey];\n if (typeof configValue === "function") {\n return configValue();\n }\n return configValue;\n };\n if (configKey === "endpoint" || canonicalEndpointParamKey === "endpoint") {\n return async () => {\n const endpoint = await configProvider();\n if (endpoint && typeof endpoint === "object") {\n if ("url" in endpoint) {\n return endpoint.url.href;\n }\n if ("hostname" in endpoint) {\n const { protocol, hostname, port, path } = endpoint;\n return `${protocol}//${hostname}${port ? ":" + port : ""}${path}`;\n }\n }\n return endpoint;\n };\n }\n return configProvider;\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js?')},"./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getEndpointFromInstructions": () => (/* binding */ getEndpointFromInstructions),\n/* harmony export */ "resolveParams": () => (/* binding */ resolveParams)\n/* harmony export */ });\n/* harmony import */ var _service_customizations__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../service-customizations */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/service-customizations/index.js");\n/* harmony import */ var _createConfigValueProvider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./createConfigValueProvider */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js");\n\n\nconst getEndpointFromInstructions = async (commandInput, instructionsSupplier, clientConfig, context) => {\n const endpointParams = await resolveParams(commandInput, instructionsSupplier, clientConfig);\n if (typeof clientConfig.endpointProvider !== "function") {\n throw new Error("config.endpointProvider is not set.");\n }\n const endpoint = clientConfig.endpointProvider(endpointParams, context);\n return endpoint;\n};\nconst resolveParams = async (commandInput, instructionsSupplier, clientConfig) => {\n const endpointParams = {};\n const instructions = instructionsSupplier?.getEndpointParameterInstructions?.() || {};\n for (const [name, instruction] of Object.entries(instructions)) {\n switch (instruction.type) {\n case "staticContextParams":\n endpointParams[name] = instruction.value;\n break;\n case "contextParams":\n endpointParams[name] = commandInput[instruction.name];\n break;\n case "clientContextParams":\n case "builtInParams":\n endpointParams[name] = await (0,_createConfigValueProvider__WEBPACK_IMPORTED_MODULE_1__.createConfigValueProvider)(instruction.name, name, clientConfig)();\n break;\n default:\n throw new Error("Unrecognized endpoint parameter instruction: " + JSON.stringify(instruction));\n }\n }\n if (Object.keys(instructions).length === 0) {\n Object.assign(endpointParams, clientConfig);\n }\n if (String(clientConfig.serviceId).toLowerCase() === "s3") {\n await (0,_service_customizations__WEBPACK_IMPORTED_MODULE_0__.resolveParamsForS3)(endpointParams);\n }\n return endpointParams;\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js?')},"./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getEndpointFromInstructions": () => (/* reexport safe */ _getEndpointFromInstructions__WEBPACK_IMPORTED_MODULE_0__.getEndpointFromInstructions),\n/* harmony export */ "resolveParams": () => (/* reexport safe */ _getEndpointFromInstructions__WEBPACK_IMPORTED_MODULE_0__.resolveParams),\n/* harmony export */ "toEndpointV1": () => (/* reexport safe */ _toEndpointV1__WEBPACK_IMPORTED_MODULE_1__.toEndpointV1)\n/* harmony export */ });\n/* harmony import */ var _getEndpointFromInstructions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getEndpointFromInstructions */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js");\n/* harmony import */ var _toEndpointV1__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toEndpointV1 */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/toEndpointV1.js");\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/index.js?')},"./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/toEndpointV1.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "toEndpointV1": () => (/* binding */ toEndpointV1)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_url_parser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/url-parser */ "./node_modules/@aws-sdk/url-parser/dist-es/index.js");\n\nconst toEndpointV1 = (endpoint) => {\n if (typeof endpoint === "object") {\n if ("url" in endpoint) {\n return (0,_aws_sdk_url_parser__WEBPACK_IMPORTED_MODULE_0__.parseUrl)(endpoint.url);\n }\n return endpoint;\n }\n return (0,_aws_sdk_url_parser__WEBPACK_IMPORTED_MODULE_0__.parseUrl)(endpoint);\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/toEndpointV1.js?')},"./node_modules/@aws-sdk/middleware-endpoint/dist-es/endpointMiddleware.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "endpointMiddleware": () => (/* binding */ endpointMiddleware)\n/* harmony export */ });\n/* harmony import */ var _adaptors_getEndpointFromInstructions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./adaptors/getEndpointFromInstructions */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js");\n\nconst endpointMiddleware = ({ config, instructions, }) => {\n return (next, context) => async (args) => {\n const endpoint = await (0,_adaptors_getEndpointFromInstructions__WEBPACK_IMPORTED_MODULE_0__.getEndpointFromInstructions)(args.input, {\n getEndpointParameterInstructions() {\n return instructions;\n },\n }, { ...config }, context);\n context.endpointV2 = endpoint;\n context.authSchemes = endpoint.properties?.authSchemes;\n const authScheme = context.authSchemes?.[0];\n if (authScheme) {\n context["signing_region"] = authScheme.signingRegion;\n context["signing_service"] = authScheme.signingName;\n }\n return next({\n ...args,\n });\n };\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-endpoint/dist-es/endpointMiddleware.js?')},"./node_modules/@aws-sdk/middleware-endpoint/dist-es/getEndpointPlugin.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "endpointMiddlewareOptions": () => (/* binding */ endpointMiddlewareOptions),\n/* harmony export */ "getEndpointPlugin": () => (/* binding */ getEndpointPlugin)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-serde */ "./node_modules/@aws-sdk/middleware-serde/dist-es/index.js");\n/* harmony import */ var _endpointMiddleware__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./endpointMiddleware */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/endpointMiddleware.js");\n\n\nconst endpointMiddlewareOptions = {\n step: "serialize",\n tags: ["ENDPOINT_PARAMETERS", "ENDPOINT_V2", "ENDPOINT"],\n name: "endpointV2Middleware",\n override: true,\n relation: "before",\n toMiddleware: _aws_sdk_middleware_serde__WEBPACK_IMPORTED_MODULE_0__.serializerMiddlewareOption.name,\n};\nconst getEndpointPlugin = (config, instructions) => ({\n applyToStack: (clientStack) => {\n clientStack.addRelativeTo((0,_endpointMiddleware__WEBPACK_IMPORTED_MODULE_1__.endpointMiddleware)({\n config,\n instructions,\n }), endpointMiddlewareOptions);\n },\n});\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-endpoint/dist-es/getEndpointPlugin.js?')},"./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "endpointMiddleware": () => (/* reexport safe */ _endpointMiddleware__WEBPACK_IMPORTED_MODULE_1__.endpointMiddleware),\n/* harmony export */ "endpointMiddlewareOptions": () => (/* reexport safe */ _getEndpointPlugin__WEBPACK_IMPORTED_MODULE_2__.endpointMiddlewareOptions),\n/* harmony export */ "getEndpointFromInstructions": () => (/* reexport safe */ _adaptors__WEBPACK_IMPORTED_MODULE_0__.getEndpointFromInstructions),\n/* harmony export */ "getEndpointPlugin": () => (/* reexport safe */ _getEndpointPlugin__WEBPACK_IMPORTED_MODULE_2__.getEndpointPlugin),\n/* harmony export */ "resolveEndpointConfig": () => (/* reexport safe */ _resolveEndpointConfig__WEBPACK_IMPORTED_MODULE_3__.resolveEndpointConfig),\n/* harmony export */ "resolveParams": () => (/* reexport safe */ _adaptors__WEBPACK_IMPORTED_MODULE_0__.resolveParams),\n/* harmony export */ "toEndpointV1": () => (/* reexport safe */ _adaptors__WEBPACK_IMPORTED_MODULE_0__.toEndpointV1)\n/* harmony export */ });\n/* harmony import */ var _adaptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./adaptors */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/index.js");\n/* harmony import */ var _endpointMiddleware__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./endpointMiddleware */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/endpointMiddleware.js");\n/* harmony import */ var _getEndpointPlugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getEndpointPlugin */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/getEndpointPlugin.js");\n/* harmony import */ var _resolveEndpointConfig__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./resolveEndpointConfig */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/resolveEndpointConfig.js");\n/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./types */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/types.js");\n\n\n\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js?')},"./node_modules/@aws-sdk/middleware-endpoint/dist-es/resolveEndpointConfig.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "resolveEndpointConfig": () => (/* binding */ resolveEndpointConfig)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_util_middleware__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/util-middleware */ "./node_modules/@aws-sdk/util-middleware/dist-es/index.js");\n/* harmony import */ var _adaptors_toEndpointV1__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adaptors/toEndpointV1 */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/toEndpointV1.js");\n\n\nconst resolveEndpointConfig = (input) => {\n const tls = input.tls ?? true;\n const { endpoint } = input;\n const customEndpointProvider = endpoint != null ? async () => (0,_adaptors_toEndpointV1__WEBPACK_IMPORTED_MODULE_1__.toEndpointV1)(await (0,_aws_sdk_util_middleware__WEBPACK_IMPORTED_MODULE_0__.normalizeProvider)(endpoint)()) : undefined;\n const isCustomEndpoint = !!endpoint;\n return {\n ...input,\n endpoint: customEndpointProvider,\n tls,\n isCustomEndpoint,\n useDualstackEndpoint: (0,_aws_sdk_util_middleware__WEBPACK_IMPORTED_MODULE_0__.normalizeProvider)(input.useDualstackEndpoint ?? false),\n useFipsEndpoint: (0,_aws_sdk_util_middleware__WEBPACK_IMPORTED_MODULE_0__.normalizeProvider)(input.useFipsEndpoint ?? false),\n };\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-endpoint/dist-es/resolveEndpointConfig.js?')},"./node_modules/@aws-sdk/middleware-endpoint/dist-es/service-customizations/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "DOT_PATTERN": () => (/* reexport safe */ _s3__WEBPACK_IMPORTED_MODULE_0__.DOT_PATTERN),\n/* harmony export */ "S3_HOSTNAME_PATTERN": () => (/* reexport safe */ _s3__WEBPACK_IMPORTED_MODULE_0__.S3_HOSTNAME_PATTERN),\n/* harmony export */ "isArnBucketName": () => (/* reexport safe */ _s3__WEBPACK_IMPORTED_MODULE_0__.isArnBucketName),\n/* harmony export */ "isDnsCompatibleBucketName": () => (/* reexport safe */ _s3__WEBPACK_IMPORTED_MODULE_0__.isDnsCompatibleBucketName),\n/* harmony export */ "resolveParamsForS3": () => (/* reexport safe */ _s3__WEBPACK_IMPORTED_MODULE_0__.resolveParamsForS3)\n/* harmony export */ });\n/* harmony import */ var _s3__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./s3 */ "./node_modules/@aws-sdk/middleware-endpoint/dist-es/service-customizations/s3.js");\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-endpoint/dist-es/service-customizations/index.js?')},"./node_modules/@aws-sdk/middleware-endpoint/dist-es/service-customizations/s3.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "DOT_PATTERN": () => (/* binding */ DOT_PATTERN),\n/* harmony export */ "S3_HOSTNAME_PATTERN": () => (/* binding */ S3_HOSTNAME_PATTERN),\n/* harmony export */ "isArnBucketName": () => (/* binding */ isArnBucketName),\n/* harmony export */ "isDnsCompatibleBucketName": () => (/* binding */ isDnsCompatibleBucketName),\n/* harmony export */ "resolveParamsForS3": () => (/* binding */ resolveParamsForS3)\n/* harmony export */ });\nconst resolveParamsForS3 = async (endpointParams) => {\n const bucket = endpointParams?.Bucket || "";\n if (typeof endpointParams.Bucket === "string") {\n endpointParams.Bucket = bucket.replace(/#/g, encodeURIComponent("#")).replace(/\\?/g, encodeURIComponent("?"));\n }\n if (isArnBucketName(bucket)) {\n if (endpointParams.ForcePathStyle === true) {\n throw new Error("Path-style addressing cannot be used with ARN buckets");\n }\n }\n else if (!isDnsCompatibleBucketName(bucket) ||\n (bucket.indexOf(".") !== -1 && !String(endpointParams.Endpoint).startsWith("http:")) ||\n bucket.toLowerCase() !== bucket ||\n bucket.length < 3) {\n endpointParams.ForcePathStyle = true;\n }\n if (endpointParams.DisableMultiRegionAccessPoints) {\n endpointParams.disableMultiRegionAccessPoints = true;\n endpointParams.DisableMRAP = true;\n }\n return endpointParams;\n};\nconst DOMAIN_PATTERN = /^[a-z0-9][a-z0-9\\.\\-]{1,61}[a-z0-9]$/;\nconst IP_ADDRESS_PATTERN = /(\\d+\\.){3}\\d+/;\nconst DOTS_PATTERN = /\\.\\./;\nconst DOT_PATTERN = /\\./;\nconst S3_HOSTNAME_PATTERN = /^(.+\\.)?s3(-fips)?(\\.dualstack)?[.-]([a-z0-9-]+)\\./;\nconst isDnsCompatibleBucketName = (bucketName) => DOMAIN_PATTERN.test(bucketName) && !IP_ADDRESS_PATTERN.test(bucketName) && !DOTS_PATTERN.test(bucketName);\nconst isArnBucketName = (bucketName) => {\n const [arn, partition, service, region, account, typeOrId] = bucketName.split(":");\n const isArn = arn === "arn" && bucketName.split(":").length >= 6;\n const isValidArn = [arn, partition, service, account, typeOrId].filter(Boolean).length === 5;\n if (isArn && !isValidArn) {\n throw new Error(`Invalid ARN: ${bucketName} was an invalid ARN.`);\n }\n return arn === "arn" && !!partition && !!service && !!account && !!typeOrId;\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-endpoint/dist-es/service-customizations/s3.js?')},"./node_modules/@aws-sdk/middleware-endpoint/dist-es/types.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-endpoint/dist-es/types.js?")},"./node_modules/@aws-sdk/middleware-host-header/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getHostHeaderPlugin": () => (/* binding */ getHostHeaderPlugin),\n/* harmony export */ "hostHeaderMiddleware": () => (/* binding */ hostHeaderMiddleware),\n/* harmony export */ "hostHeaderMiddlewareOptions": () => (/* binding */ hostHeaderMiddlewareOptions),\n/* harmony export */ "resolveHostHeaderConfig": () => (/* binding */ resolveHostHeaderConfig)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/protocol-http */ "./node_modules/@aws-sdk/protocol-http/dist-es/index.js");\n\nfunction resolveHostHeaderConfig(input) {\n return input;\n}\nconst hostHeaderMiddleware = (options) => (next) => async (args) => {\n if (!_aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest.isInstance(args.request))\n return next(args);\n const { request } = args;\n const { handlerProtocol = "" } = options.requestHandler.metadata || {};\n if (handlerProtocol.indexOf("h2") >= 0 && !request.headers[":authority"]) {\n delete request.headers["host"];\n request.headers[":authority"] = "";\n }\n else if (!request.headers["host"]) {\n request.headers["host"] = request.hostname;\n }\n return next(args);\n};\nconst hostHeaderMiddlewareOptions = {\n name: "hostHeaderMiddleware",\n step: "build",\n priority: "low",\n tags: ["HOST"],\n override: true,\n};\nconst getHostHeaderPlugin = (options) => ({\n applyToStack: (clientStack) => {\n clientStack.add(hostHeaderMiddleware(options), hostHeaderMiddlewareOptions);\n },\n});\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-host-header/dist-es/index.js?')},"./node_modules/@aws-sdk/middleware-logger/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getLoggerPlugin": () => (/* reexport safe */ _loggerMiddleware__WEBPACK_IMPORTED_MODULE_0__.getLoggerPlugin),\n/* harmony export */ "loggerMiddleware": () => (/* reexport safe */ _loggerMiddleware__WEBPACK_IMPORTED_MODULE_0__.loggerMiddleware),\n/* harmony export */ "loggerMiddlewareOptions": () => (/* reexport safe */ _loggerMiddleware__WEBPACK_IMPORTED_MODULE_0__.loggerMiddlewareOptions)\n/* harmony export */ });\n/* harmony import */ var _loggerMiddleware__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./loggerMiddleware */ "./node_modules/@aws-sdk/middleware-logger/dist-es/loggerMiddleware.js");\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-logger/dist-es/index.js?')},"./node_modules/@aws-sdk/middleware-logger/dist-es/loggerMiddleware.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getLoggerPlugin": () => (/* binding */ getLoggerPlugin),\n/* harmony export */ "loggerMiddleware": () => (/* binding */ loggerMiddleware),\n/* harmony export */ "loggerMiddlewareOptions": () => (/* binding */ loggerMiddlewareOptions)\n/* harmony export */ });\nconst loggerMiddleware = () => (next, context) => async (args) => {\n const response = await next(args);\n const { clientName, commandName, logger, inputFilterSensitiveLog, outputFilterSensitiveLog, dynamoDbDocumentClientOptions = {}, } = context;\n const { overrideInputFilterSensitiveLog, overrideOutputFilterSensitiveLog } = dynamoDbDocumentClientOptions;\n if (!logger) {\n return response;\n }\n if (typeof logger.info === "function") {\n const { $metadata, ...outputWithoutMetadata } = response.output;\n logger.info({\n clientName,\n commandName,\n input: (overrideInputFilterSensitiveLog ?? inputFilterSensitiveLog)(args.input),\n output: (overrideOutputFilterSensitiveLog ?? outputFilterSensitiveLog)(outputWithoutMetadata),\n metadata: $metadata,\n });\n }\n return response;\n};\nconst loggerMiddlewareOptions = {\n name: "loggerMiddleware",\n tags: ["LOGGER"],\n step: "initialize",\n override: true,\n};\nconst getLoggerPlugin = (options) => ({\n applyToStack: (clientStack) => {\n clientStack.add(loggerMiddleware(), loggerMiddlewareOptions);\n },\n});\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-logger/dist-es/loggerMiddleware.js?')},"./node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "addRecursionDetectionMiddlewareOptions": () => (/* binding */ addRecursionDetectionMiddlewareOptions),\n/* harmony export */ "getRecursionDetectionPlugin": () => (/* binding */ getRecursionDetectionPlugin),\n/* harmony export */ "recursionDetectionMiddleware": () => (/* binding */ recursionDetectionMiddleware)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/protocol-http */ "./node_modules/@aws-sdk/protocol-http/dist-es/index.js");\n\nconst TRACE_ID_HEADER_NAME = "X-Amzn-Trace-Id";\nconst ENV_LAMBDA_FUNCTION_NAME = "AWS_LAMBDA_FUNCTION_NAME";\nconst ENV_TRACE_ID = "_X_AMZN_TRACE_ID";\nconst recursionDetectionMiddleware = (options) => (next) => async (args) => {\n const { request } = args;\n if (!_aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest.isInstance(request) ||\n options.runtime !== "node" ||\n request.headers.hasOwnProperty(TRACE_ID_HEADER_NAME)) {\n return next(args);\n }\n const functionName = process.env[ENV_LAMBDA_FUNCTION_NAME];\n const traceId = process.env[ENV_TRACE_ID];\n const nonEmptyString = (str) => typeof str === "string" && str.length > 0;\n if (nonEmptyString(functionName) && nonEmptyString(traceId)) {\n request.headers[TRACE_ID_HEADER_NAME] = traceId;\n }\n return next({\n ...args,\n request,\n });\n};\nconst addRecursionDetectionMiddlewareOptions = {\n step: "build",\n tags: ["RECURSION_DETECTION"],\n name: "recursionDetectionMiddleware",\n override: true,\n priority: "low",\n};\nconst getRecursionDetectionPlugin = (options) => ({\n applyToStack: (clientStack) => {\n clientStack.add(recursionDetectionMiddleware(options), addRecursionDetectionMiddlewareOptions);\n },\n});\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js?')},"./node_modules/@aws-sdk/middleware-retry/dist-es/AdaptiveRetryStrategy.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "AdaptiveRetryStrategy": () => (/* binding */ AdaptiveRetryStrategy)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/util-retry */ "./node_modules/@aws-sdk/util-retry/dist-es/index.js");\n/* harmony import */ var _StandardRetryStrategy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./StandardRetryStrategy */ "./node_modules/@aws-sdk/middleware-retry/dist-es/StandardRetryStrategy.js");\n\n\nclass AdaptiveRetryStrategy extends _StandardRetryStrategy__WEBPACK_IMPORTED_MODULE_1__.StandardRetryStrategy {\n constructor(maxAttemptsProvider, options) {\n const { rateLimiter, ...superOptions } = options ?? {};\n super(maxAttemptsProvider, superOptions);\n this.rateLimiter = rateLimiter ?? new _aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_0__.DefaultRateLimiter();\n this.mode = _aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_0__.RETRY_MODES.ADAPTIVE;\n }\n async retry(next, args) {\n return super.retry(next, args, {\n beforeRequest: async () => {\n return this.rateLimiter.getSendToken();\n },\n afterRequest: (response) => {\n this.rateLimiter.updateClientSendingRate(response);\n },\n });\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-retry/dist-es/AdaptiveRetryStrategy.js?')},"./node_modules/@aws-sdk/middleware-retry/dist-es/StandardRetryStrategy.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "StandardRetryStrategy": () => (/* binding */ StandardRetryStrategy)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/protocol-http */ "./node_modules/@aws-sdk/protocol-http/dist-es/index.js");\n/* harmony import */ var _aws_sdk_service_error_classification__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/service-error-classification */ "./node_modules/@aws-sdk/service-error-classification/dist-es/index.js");\n/* harmony import */ var _aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/util-retry */ "./node_modules/@aws-sdk/util-retry/dist-es/index.js");\n/* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! uuid */ "./node_modules/uuid/dist/esm-browser/v4.js");\n/* harmony import */ var _defaultRetryQuota__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./defaultRetryQuota */ "./node_modules/@aws-sdk/middleware-retry/dist-es/defaultRetryQuota.js");\n/* harmony import */ var _delayDecider__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./delayDecider */ "./node_modules/@aws-sdk/middleware-retry/dist-es/delayDecider.js");\n/* harmony import */ var _retryDecider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./retryDecider */ "./node_modules/@aws-sdk/middleware-retry/dist-es/retryDecider.js");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./util */ "./node_modules/@aws-sdk/middleware-retry/dist-es/util.js");\n\n\n\n\n\n\n\n\nclass StandardRetryStrategy {\n constructor(maxAttemptsProvider, options) {\n this.maxAttemptsProvider = maxAttemptsProvider;\n this.mode = _aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_2__.RETRY_MODES.STANDARD;\n this.retryDecider = options?.retryDecider ?? _retryDecider__WEBPACK_IMPORTED_MODULE_5__.defaultRetryDecider;\n this.delayDecider = options?.delayDecider ?? _delayDecider__WEBPACK_IMPORTED_MODULE_4__.defaultDelayDecider;\n this.retryQuota = options?.retryQuota ?? (0,_defaultRetryQuota__WEBPACK_IMPORTED_MODULE_3__.getDefaultRetryQuota)(_aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_2__.INITIAL_RETRY_TOKENS);\n }\n shouldRetry(error, attempts, maxAttempts) {\n return attempts < maxAttempts && this.retryDecider(error) && this.retryQuota.hasRetryTokens(error);\n }\n async getMaxAttempts() {\n let maxAttempts;\n try {\n maxAttempts = await this.maxAttemptsProvider();\n }\n catch (error) {\n maxAttempts = _aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_2__.DEFAULT_MAX_ATTEMPTS;\n }\n return maxAttempts;\n }\n async retry(next, args, options) {\n let retryTokenAmount;\n let attempts = 0;\n let totalDelay = 0;\n const maxAttempts = await this.getMaxAttempts();\n const { request } = args;\n if (_aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest.isInstance(request)) {\n request.headers[_aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_2__.INVOCATION_ID_HEADER] = (0,uuid__WEBPACK_IMPORTED_MODULE_7__["default"])();\n }\n while (true) {\n try {\n if (_aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest.isInstance(request)) {\n request.headers[_aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_2__.REQUEST_HEADER] = `attempt=${attempts + 1}; max=${maxAttempts}`;\n }\n if (options?.beforeRequest) {\n await options.beforeRequest();\n }\n const { response, output } = await next(args);\n if (options?.afterRequest) {\n options.afterRequest(response);\n }\n this.retryQuota.releaseRetryTokens(retryTokenAmount);\n output.$metadata.attempts = attempts + 1;\n output.$metadata.totalRetryDelay = totalDelay;\n return { response, output };\n }\n catch (e) {\n const err = (0,_util__WEBPACK_IMPORTED_MODULE_6__.asSdkError)(e);\n attempts++;\n if (this.shouldRetry(err, attempts, maxAttempts)) {\n retryTokenAmount = this.retryQuota.retrieveRetryTokens(err);\n const delayFromDecider = this.delayDecider((0,_aws_sdk_service_error_classification__WEBPACK_IMPORTED_MODULE_1__.isThrottlingError)(err) ? _aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_2__.THROTTLING_RETRY_DELAY_BASE : _aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_2__.DEFAULT_RETRY_DELAY_BASE, attempts);\n const delayFromResponse = getDelayFromRetryAfterHeader(err.$response);\n const delay = Math.max(delayFromResponse || 0, delayFromDecider);\n totalDelay += delay;\n await new Promise((resolve) => setTimeout(resolve, delay));\n continue;\n }\n if (!err.$metadata) {\n err.$metadata = {};\n }\n err.$metadata.attempts = attempts;\n err.$metadata.totalRetryDelay = totalDelay;\n throw err;\n }\n }\n }\n}\nconst getDelayFromRetryAfterHeader = (response) => {\n if (!_aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpResponse.isInstance(response))\n return;\n const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === "retry-after");\n if (!retryAfterHeaderName)\n return;\n const retryAfter = response.headers[retryAfterHeaderName];\n const retryAfterSeconds = Number(retryAfter);\n if (!Number.isNaN(retryAfterSeconds))\n return retryAfterSeconds * 1000;\n const retryAfterDate = new Date(retryAfter);\n return retryAfterDate.getTime() - Date.now();\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-retry/dist-es/StandardRetryStrategy.js?')},"./node_modules/@aws-sdk/middleware-retry/dist-es/configurations.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "CONFIG_MAX_ATTEMPTS": () => (/* binding */ CONFIG_MAX_ATTEMPTS),\n/* harmony export */ "CONFIG_RETRY_MODE": () => (/* binding */ CONFIG_RETRY_MODE),\n/* harmony export */ "ENV_MAX_ATTEMPTS": () => (/* binding */ ENV_MAX_ATTEMPTS),\n/* harmony export */ "ENV_RETRY_MODE": () => (/* binding */ ENV_RETRY_MODE),\n/* harmony export */ "NODE_MAX_ATTEMPT_CONFIG_OPTIONS": () => (/* binding */ NODE_MAX_ATTEMPT_CONFIG_OPTIONS),\n/* harmony export */ "NODE_RETRY_MODE_CONFIG_OPTIONS": () => (/* binding */ NODE_RETRY_MODE_CONFIG_OPTIONS),\n/* harmony export */ "resolveRetryConfig": () => (/* binding */ resolveRetryConfig)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_util_middleware__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/util-middleware */ "./node_modules/@aws-sdk/util-middleware/dist-es/index.js");\n/* harmony import */ var _aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/util-retry */ "./node_modules/@aws-sdk/util-retry/dist-es/index.js");\n\n\nconst ENV_MAX_ATTEMPTS = "AWS_MAX_ATTEMPTS";\nconst CONFIG_MAX_ATTEMPTS = "max_attempts";\nconst NODE_MAX_ATTEMPT_CONFIG_OPTIONS = {\n environmentVariableSelector: (env) => {\n const value = env[ENV_MAX_ATTEMPTS];\n if (!value)\n return undefined;\n const maxAttempt = parseInt(value);\n if (Number.isNaN(maxAttempt)) {\n throw new Error(`Environment variable ${ENV_MAX_ATTEMPTS} mast be a number, got "${value}"`);\n }\n return maxAttempt;\n },\n configFileSelector: (profile) => {\n const value = profile[CONFIG_MAX_ATTEMPTS];\n if (!value)\n return undefined;\n const maxAttempt = parseInt(value);\n if (Number.isNaN(maxAttempt)) {\n throw new Error(`Shared config file entry ${CONFIG_MAX_ATTEMPTS} mast be a number, got "${value}"`);\n }\n return maxAttempt;\n },\n default: _aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_1__.DEFAULT_MAX_ATTEMPTS,\n};\nconst resolveRetryConfig = (input) => {\n const { retryStrategy } = input;\n const maxAttempts = (0,_aws_sdk_util_middleware__WEBPACK_IMPORTED_MODULE_0__.normalizeProvider)(input.maxAttempts ?? _aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_1__.DEFAULT_MAX_ATTEMPTS);\n return {\n ...input,\n maxAttempts,\n retryStrategy: async () => {\n if (retryStrategy) {\n return retryStrategy;\n }\n const retryMode = await (0,_aws_sdk_util_middleware__WEBPACK_IMPORTED_MODULE_0__.normalizeProvider)(input.retryMode)();\n if (retryMode === _aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_1__.RETRY_MODES.ADAPTIVE) {\n return new _aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_1__.AdaptiveRetryStrategy(maxAttempts);\n }\n return new _aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_1__.StandardRetryStrategy(maxAttempts);\n },\n };\n};\nconst ENV_RETRY_MODE = "AWS_RETRY_MODE";\nconst CONFIG_RETRY_MODE = "retry_mode";\nconst NODE_RETRY_MODE_CONFIG_OPTIONS = {\n environmentVariableSelector: (env) => env[ENV_RETRY_MODE],\n configFileSelector: (profile) => profile[CONFIG_RETRY_MODE],\n default: _aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_1__.DEFAULT_RETRY_MODE,\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-retry/dist-es/configurations.js?')},"./node_modules/@aws-sdk/middleware-retry/dist-es/defaultRetryQuota.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getDefaultRetryQuota": () => (/* binding */ getDefaultRetryQuota)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/util-retry */ "./node_modules/@aws-sdk/util-retry/dist-es/index.js");\n\nconst getDefaultRetryQuota = (initialRetryTokens, options) => {\n const MAX_CAPACITY = initialRetryTokens;\n const noRetryIncrement = options?.noRetryIncrement ?? _aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_0__.NO_RETRY_INCREMENT;\n const retryCost = options?.retryCost ?? _aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_0__.RETRY_COST;\n const timeoutRetryCost = options?.timeoutRetryCost ?? _aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_0__.TIMEOUT_RETRY_COST;\n let availableCapacity = initialRetryTokens;\n const getCapacityAmount = (error) => (error.name === "TimeoutError" ? timeoutRetryCost : retryCost);\n const hasRetryTokens = (error) => getCapacityAmount(error) <= availableCapacity;\n const retrieveRetryTokens = (error) => {\n if (!hasRetryTokens(error)) {\n throw new Error("No retry token available");\n }\n const capacityAmount = getCapacityAmount(error);\n availableCapacity -= capacityAmount;\n return capacityAmount;\n };\n const releaseRetryTokens = (capacityReleaseAmount) => {\n availableCapacity += capacityReleaseAmount ?? noRetryIncrement;\n availableCapacity = Math.min(availableCapacity, MAX_CAPACITY);\n };\n return Object.freeze({\n hasRetryTokens,\n retrieveRetryTokens,\n releaseRetryTokens,\n });\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-retry/dist-es/defaultRetryQuota.js?')},"./node_modules/@aws-sdk/middleware-retry/dist-es/delayDecider.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "defaultDelayDecider": () => (/* binding */ defaultDelayDecider)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/util-retry */ "./node_modules/@aws-sdk/util-retry/dist-es/index.js");\n\nconst defaultDelayDecider = (delayBase, attempts) => Math.floor(Math.min(_aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_0__.MAXIMUM_RETRY_DELAY, Math.random() * 2 ** attempts * delayBase));\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-retry/dist-es/delayDecider.js?')},"./node_modules/@aws-sdk/middleware-retry/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "AdaptiveRetryStrategy": () => (/* reexport safe */ _AdaptiveRetryStrategy__WEBPACK_IMPORTED_MODULE_0__.AdaptiveRetryStrategy),\n/* harmony export */ "CONFIG_MAX_ATTEMPTS": () => (/* reexport safe */ _configurations__WEBPACK_IMPORTED_MODULE_2__.CONFIG_MAX_ATTEMPTS),\n/* harmony export */ "CONFIG_RETRY_MODE": () => (/* reexport safe */ _configurations__WEBPACK_IMPORTED_MODULE_2__.CONFIG_RETRY_MODE),\n/* harmony export */ "ENV_MAX_ATTEMPTS": () => (/* reexport safe */ _configurations__WEBPACK_IMPORTED_MODULE_2__.ENV_MAX_ATTEMPTS),\n/* harmony export */ "ENV_RETRY_MODE": () => (/* reexport safe */ _configurations__WEBPACK_IMPORTED_MODULE_2__.ENV_RETRY_MODE),\n/* harmony export */ "NODE_MAX_ATTEMPT_CONFIG_OPTIONS": () => (/* reexport safe */ _configurations__WEBPACK_IMPORTED_MODULE_2__.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),\n/* harmony export */ "NODE_RETRY_MODE_CONFIG_OPTIONS": () => (/* reexport safe */ _configurations__WEBPACK_IMPORTED_MODULE_2__.NODE_RETRY_MODE_CONFIG_OPTIONS),\n/* harmony export */ "StandardRetryStrategy": () => (/* reexport safe */ _StandardRetryStrategy__WEBPACK_IMPORTED_MODULE_1__.StandardRetryStrategy),\n/* harmony export */ "defaultDelayDecider": () => (/* reexport safe */ _delayDecider__WEBPACK_IMPORTED_MODULE_3__.defaultDelayDecider),\n/* harmony export */ "defaultRetryDecider": () => (/* reexport safe */ _retryDecider__WEBPACK_IMPORTED_MODULE_5__.defaultRetryDecider),\n/* harmony export */ "getOmitRetryHeadersPlugin": () => (/* reexport safe */ _omitRetryHeadersMiddleware__WEBPACK_IMPORTED_MODULE_4__.getOmitRetryHeadersPlugin),\n/* harmony export */ "getRetryAfterHint": () => (/* reexport safe */ _retryMiddleware__WEBPACK_IMPORTED_MODULE_6__.getRetryAfterHint),\n/* harmony export */ "getRetryPlugin": () => (/* reexport safe */ _retryMiddleware__WEBPACK_IMPORTED_MODULE_6__.getRetryPlugin),\n/* harmony export */ "omitRetryHeadersMiddleware": () => (/* reexport safe */ _omitRetryHeadersMiddleware__WEBPACK_IMPORTED_MODULE_4__.omitRetryHeadersMiddleware),\n/* harmony export */ "omitRetryHeadersMiddlewareOptions": () => (/* reexport safe */ _omitRetryHeadersMiddleware__WEBPACK_IMPORTED_MODULE_4__.omitRetryHeadersMiddlewareOptions),\n/* harmony export */ "resolveRetryConfig": () => (/* reexport safe */ _configurations__WEBPACK_IMPORTED_MODULE_2__.resolveRetryConfig),\n/* harmony export */ "retryMiddleware": () => (/* reexport safe */ _retryMiddleware__WEBPACK_IMPORTED_MODULE_6__.retryMiddleware),\n/* harmony export */ "retryMiddlewareOptions": () => (/* reexport safe */ _retryMiddleware__WEBPACK_IMPORTED_MODULE_6__.retryMiddlewareOptions)\n/* harmony export */ });\n/* harmony import */ var _AdaptiveRetryStrategy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AdaptiveRetryStrategy */ "./node_modules/@aws-sdk/middleware-retry/dist-es/AdaptiveRetryStrategy.js");\n/* harmony import */ var _StandardRetryStrategy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./StandardRetryStrategy */ "./node_modules/@aws-sdk/middleware-retry/dist-es/StandardRetryStrategy.js");\n/* harmony import */ var _configurations__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./configurations */ "./node_modules/@aws-sdk/middleware-retry/dist-es/configurations.js");\n/* harmony import */ var _delayDecider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./delayDecider */ "./node_modules/@aws-sdk/middleware-retry/dist-es/delayDecider.js");\n/* harmony import */ var _omitRetryHeadersMiddleware__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./omitRetryHeadersMiddleware */ "./node_modules/@aws-sdk/middleware-retry/dist-es/omitRetryHeadersMiddleware.js");\n/* harmony import */ var _retryDecider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./retryDecider */ "./node_modules/@aws-sdk/middleware-retry/dist-es/retryDecider.js");\n/* harmony import */ var _retryMiddleware__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./retryMiddleware */ "./node_modules/@aws-sdk/middleware-retry/dist-es/retryMiddleware.js");\n\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-retry/dist-es/index.js?')},"./node_modules/@aws-sdk/middleware-retry/dist-es/omitRetryHeadersMiddleware.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getOmitRetryHeadersPlugin": () => (/* binding */ getOmitRetryHeadersPlugin),\n/* harmony export */ "omitRetryHeadersMiddleware": () => (/* binding */ omitRetryHeadersMiddleware),\n/* harmony export */ "omitRetryHeadersMiddlewareOptions": () => (/* binding */ omitRetryHeadersMiddlewareOptions)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/protocol-http */ "./node_modules/@aws-sdk/protocol-http/dist-es/index.js");\n/* harmony import */ var _aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/util-retry */ "./node_modules/@aws-sdk/util-retry/dist-es/index.js");\n\n\nconst omitRetryHeadersMiddleware = () => (next) => async (args) => {\n const { request } = args;\n if (_aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest.isInstance(request)) {\n delete request.headers[_aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_1__.INVOCATION_ID_HEADER];\n delete request.headers[_aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_1__.REQUEST_HEADER];\n }\n return next(args);\n};\nconst omitRetryHeadersMiddlewareOptions = {\n name: "omitRetryHeadersMiddleware",\n tags: ["RETRY", "HEADERS", "OMIT_RETRY_HEADERS"],\n relation: "before",\n toMiddleware: "awsAuthMiddleware",\n override: true,\n};\nconst getOmitRetryHeadersPlugin = (options) => ({\n applyToStack: (clientStack) => {\n clientStack.addRelativeTo(omitRetryHeadersMiddleware(), omitRetryHeadersMiddlewareOptions);\n },\n});\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-retry/dist-es/omitRetryHeadersMiddleware.js?')},"./node_modules/@aws-sdk/middleware-retry/dist-es/retryDecider.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "defaultRetryDecider": () => (/* binding */ defaultRetryDecider)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_service_error_classification__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/service-error-classification */ "./node_modules/@aws-sdk/service-error-classification/dist-es/index.js");\n\nconst defaultRetryDecider = (error) => {\n if (!error) {\n return false;\n }\n return (0,_aws_sdk_service_error_classification__WEBPACK_IMPORTED_MODULE_0__.isRetryableByTrait)(error) || (0,_aws_sdk_service_error_classification__WEBPACK_IMPORTED_MODULE_0__.isClockSkewError)(error) || (0,_aws_sdk_service_error_classification__WEBPACK_IMPORTED_MODULE_0__.isThrottlingError)(error) || (0,_aws_sdk_service_error_classification__WEBPACK_IMPORTED_MODULE_0__.isTransientError)(error);\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-retry/dist-es/retryDecider.js?')},"./node_modules/@aws-sdk/middleware-retry/dist-es/retryMiddleware.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getRetryAfterHint": () => (/* binding */ getRetryAfterHint),\n/* harmony export */ "getRetryPlugin": () => (/* binding */ getRetryPlugin),\n/* harmony export */ "retryMiddleware": () => (/* binding */ retryMiddleware),\n/* harmony export */ "retryMiddlewareOptions": () => (/* binding */ retryMiddlewareOptions)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/protocol-http */ "./node_modules/@aws-sdk/protocol-http/dist-es/index.js");\n/* harmony import */ var _aws_sdk_service_error_classification__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/service-error-classification */ "./node_modules/@aws-sdk/service-error-classification/dist-es/index.js");\n/* harmony import */ var _aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/util-retry */ "./node_modules/@aws-sdk/util-retry/dist-es/index.js");\n/* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! uuid */ "./node_modules/uuid/dist/esm-browser/v4.js");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util */ "./node_modules/@aws-sdk/middleware-retry/dist-es/util.js");\n\n\n\n\n\nconst retryMiddleware = (options) => (next, context) => async (args) => {\n let retryStrategy = await options.retryStrategy();\n const maxAttempts = await options.maxAttempts();\n if (isRetryStrategyV2(retryStrategy)) {\n retryStrategy = retryStrategy;\n let retryToken = await retryStrategy.acquireInitialRetryToken(context["partition_id"]);\n let lastError = new Error();\n let attempts = 0;\n let totalRetryDelay = 0;\n const { request } = args;\n if (_aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest.isInstance(request)) {\n request.headers[_aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_2__.INVOCATION_ID_HEADER] = (0,uuid__WEBPACK_IMPORTED_MODULE_4__["default"])();\n }\n while (true) {\n try {\n if (_aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest.isInstance(request)) {\n request.headers[_aws_sdk_util_retry__WEBPACK_IMPORTED_MODULE_2__.REQUEST_HEADER] = `attempt=${attempts + 1}; max=${maxAttempts}`;\n }\n const { response, output } = await next(args);\n retryStrategy.recordSuccess(retryToken);\n output.$metadata.attempts = attempts + 1;\n output.$metadata.totalRetryDelay = totalRetryDelay;\n return { response, output };\n }\n catch (e) {\n const retryErrorInfo = getRetyErrorInto(e);\n lastError = (0,_util__WEBPACK_IMPORTED_MODULE_3__.asSdkError)(e);\n try {\n retryToken = await retryStrategy.refreshRetryTokenForRetry(retryToken, retryErrorInfo);\n }\n catch (refreshError) {\n if (!lastError.$metadata) {\n lastError.$metadata = {};\n }\n lastError.$metadata.attempts = attempts + 1;\n lastError.$metadata.totalRetryDelay = totalRetryDelay;\n throw lastError;\n }\n attempts = retryToken.getRetryCount();\n const delay = retryToken.getRetryDelay();\n totalRetryDelay += delay;\n await new Promise((resolve) => setTimeout(resolve, delay));\n }\n }\n }\n else {\n retryStrategy = retryStrategy;\n if (retryStrategy?.mode)\n context.userAgent = [...(context.userAgent || []), ["cfg/retry-mode", retryStrategy.mode]];\n return retryStrategy.retry(next, args);\n }\n};\nconst isRetryStrategyV2 = (retryStrategy) => typeof retryStrategy.acquireInitialRetryToken !== "undefined" &&\n typeof retryStrategy.refreshRetryTokenForRetry !== "undefined" &&\n typeof retryStrategy.recordSuccess !== "undefined";\nconst getRetyErrorInto = (error) => {\n const errorInfo = {\n errorType: getRetryErrorType(error),\n };\n const retryAfterHint = getRetryAfterHint(error.$response);\n if (retryAfterHint) {\n errorInfo.retryAfterHint = retryAfterHint;\n }\n return errorInfo;\n};\nconst getRetryErrorType = (error) => {\n if ((0,_aws_sdk_service_error_classification__WEBPACK_IMPORTED_MODULE_1__.isThrottlingError)(error))\n return "THROTTLING";\n if ((0,_aws_sdk_service_error_classification__WEBPACK_IMPORTED_MODULE_1__.isTransientError)(error))\n return "TRANSIENT";\n if ((0,_aws_sdk_service_error_classification__WEBPACK_IMPORTED_MODULE_1__.isServerError)(error))\n return "SERVER_ERROR";\n return "CLIENT_ERROR";\n};\nconst retryMiddlewareOptions = {\n name: "retryMiddleware",\n tags: ["RETRY"],\n step: "finalizeRequest",\n priority: "high",\n override: true,\n};\nconst getRetryPlugin = (options) => ({\n applyToStack: (clientStack) => {\n clientStack.add(retryMiddleware(options), retryMiddlewareOptions);\n },\n});\nconst getRetryAfterHint = (response) => {\n if (!_aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpResponse.isInstance(response))\n return;\n const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === "retry-after");\n if (!retryAfterHeaderName)\n return;\n const retryAfter = response.headers[retryAfterHeaderName];\n const retryAfterSeconds = Number(retryAfter);\n if (!Number.isNaN(retryAfterSeconds))\n return new Date(retryAfterSeconds * 1000);\n const retryAfterDate = new Date(retryAfter);\n return retryAfterDate;\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-retry/dist-es/retryMiddleware.js?')},"./node_modules/@aws-sdk/middleware-retry/dist-es/util.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "asSdkError": () => (/* binding */ asSdkError)\n/* harmony export */ });\nconst asSdkError = (error) => {\n if (error instanceof Error)\n return error;\n if (error instanceof Object)\n return Object.assign(new Error(), error);\n if (typeof error === "string")\n return new Error(error);\n return new Error(`AWS SDK error wrapper for ${error}`);\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-retry/dist-es/util.js?')},"./node_modules/@aws-sdk/middleware-serde/dist-es/deserializerMiddleware.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "deserializerMiddleware": () => (/* binding */ deserializerMiddleware)\n/* harmony export */ });\nconst deserializerMiddleware = (options, deserializer) => (next, context) => async (args) => {\n const { response } = await next(args);\n try {\n const parsed = await deserializer(response, options);\n return {\n response,\n output: parsed,\n };\n }\n catch (error) {\n Object.defineProperty(error, "$response", {\n value: response,\n });\n throw error;\n }\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-serde/dist-es/deserializerMiddleware.js?')},"./node_modules/@aws-sdk/middleware-serde/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "deserializerMiddleware": () => (/* reexport safe */ _deserializerMiddleware__WEBPACK_IMPORTED_MODULE_0__.deserializerMiddleware),\n/* harmony export */ "deserializerMiddlewareOption": () => (/* reexport safe */ _serdePlugin__WEBPACK_IMPORTED_MODULE_1__.deserializerMiddlewareOption),\n/* harmony export */ "getSerdePlugin": () => (/* reexport safe */ _serdePlugin__WEBPACK_IMPORTED_MODULE_1__.getSerdePlugin),\n/* harmony export */ "serializerMiddleware": () => (/* reexport safe */ _serializerMiddleware__WEBPACK_IMPORTED_MODULE_2__.serializerMiddleware),\n/* harmony export */ "serializerMiddlewareOption": () => (/* reexport safe */ _serdePlugin__WEBPACK_IMPORTED_MODULE_1__.serializerMiddlewareOption)\n/* harmony export */ });\n/* harmony import */ var _deserializerMiddleware__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./deserializerMiddleware */ "./node_modules/@aws-sdk/middleware-serde/dist-es/deserializerMiddleware.js");\n/* harmony import */ var _serdePlugin__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./serdePlugin */ "./node_modules/@aws-sdk/middleware-serde/dist-es/serdePlugin.js");\n/* harmony import */ var _serializerMiddleware__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./serializerMiddleware */ "./node_modules/@aws-sdk/middleware-serde/dist-es/serializerMiddleware.js");\n\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-serde/dist-es/index.js?')},"./node_modules/@aws-sdk/middleware-serde/dist-es/serdePlugin.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "deserializerMiddlewareOption": () => (/* binding */ deserializerMiddlewareOption),\n/* harmony export */ "getSerdePlugin": () => (/* binding */ getSerdePlugin),\n/* harmony export */ "serializerMiddlewareOption": () => (/* binding */ serializerMiddlewareOption)\n/* harmony export */ });\n/* harmony import */ var _deserializerMiddleware__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./deserializerMiddleware */ "./node_modules/@aws-sdk/middleware-serde/dist-es/deserializerMiddleware.js");\n/* harmony import */ var _serializerMiddleware__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./serializerMiddleware */ "./node_modules/@aws-sdk/middleware-serde/dist-es/serializerMiddleware.js");\n\n\nconst deserializerMiddlewareOption = {\n name: "deserializerMiddleware",\n step: "deserialize",\n tags: ["DESERIALIZER"],\n override: true,\n};\nconst serializerMiddlewareOption = {\n name: "serializerMiddleware",\n step: "serialize",\n tags: ["SERIALIZER"],\n override: true,\n};\nfunction getSerdePlugin(config, serializer, deserializer) {\n return {\n applyToStack: (commandStack) => {\n commandStack.add((0,_deserializerMiddleware__WEBPACK_IMPORTED_MODULE_0__.deserializerMiddleware)(config, deserializer), deserializerMiddlewareOption);\n commandStack.add((0,_serializerMiddleware__WEBPACK_IMPORTED_MODULE_1__.serializerMiddleware)(config, serializer), serializerMiddlewareOption);\n },\n };\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-serde/dist-es/serdePlugin.js?')},"./node_modules/@aws-sdk/middleware-serde/dist-es/serializerMiddleware.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "serializerMiddleware": () => (/* binding */ serializerMiddleware)\n/* harmony export */ });\nconst serializerMiddleware = (options, serializer) => (next, context) => async (args) => {\n const endpoint = context.endpointV2?.url && options.urlParser\n ? async () => options.urlParser(context.endpointV2.url)\n : options.endpoint;\n if (!endpoint) {\n throw new Error("No valid endpoint provider available.");\n }\n const request = await serializer(args.input, { ...options, endpoint });\n return next({\n ...args,\n request,\n });\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-serde/dist-es/serializerMiddleware.js?')},"./node_modules/@aws-sdk/middleware-signing/dist-es/configurations.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "resolveAwsAuthConfig": () => (/* binding */ resolveAwsAuthConfig),\n/* harmony export */ "resolveSigV4AuthConfig": () => (/* binding */ resolveSigV4AuthConfig)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_property_provider__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/property-provider */ "./node_modules/@aws-sdk/property-provider/dist-es/index.js");\n/* harmony import */ var _aws_sdk_signature_v4__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/signature-v4 */ "./node_modules/@aws-sdk/signature-v4/dist-es/index.js");\n/* harmony import */ var _aws_sdk_util_middleware__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/util-middleware */ "./node_modules/@aws-sdk/util-middleware/dist-es/index.js");\n\n\n\nconst CREDENTIAL_EXPIRE_WINDOW = 300000;\nconst resolveAwsAuthConfig = (input) => {\n const normalizedCreds = input.credentials\n ? normalizeCredentialProvider(input.credentials)\n : input.credentialDefaultProvider(input);\n const { signingEscapePath = true, systemClockOffset = input.systemClockOffset || 0, sha256 } = input;\n let signer;\n if (input.signer) {\n signer = (0,_aws_sdk_util_middleware__WEBPACK_IMPORTED_MODULE_2__.normalizeProvider)(input.signer);\n }\n else if (input.regionInfoProvider) {\n signer = () => (0,_aws_sdk_util_middleware__WEBPACK_IMPORTED_MODULE_2__.normalizeProvider)(input.region)()\n .then(async (region) => [\n (await input.regionInfoProvider(region, {\n useFipsEndpoint: await input.useFipsEndpoint(),\n useDualstackEndpoint: await input.useDualstackEndpoint(),\n })) || {},\n region,\n ])\n .then(([regionInfo, region]) => {\n const { signingRegion, signingService } = regionInfo;\n input.signingRegion = input.signingRegion || signingRegion || region;\n input.signingName = input.signingName || signingService || input.serviceId;\n const params = {\n ...input,\n credentials: normalizedCreds,\n region: input.signingRegion,\n service: input.signingName,\n sha256,\n uriEscapePath: signingEscapePath,\n };\n const SignerCtor = input.signerConstructor || _aws_sdk_signature_v4__WEBPACK_IMPORTED_MODULE_1__.SignatureV4;\n return new SignerCtor(params);\n });\n }\n else {\n signer = async (authScheme) => {\n authScheme = Object.assign({}, {\n name: "sigv4",\n signingName: input.signingName || input.defaultSigningName,\n signingRegion: await (0,_aws_sdk_util_middleware__WEBPACK_IMPORTED_MODULE_2__.normalizeProvider)(input.region)(),\n properties: {},\n }, authScheme);\n const signingRegion = authScheme.signingRegion;\n const signingService = authScheme.signingName;\n input.signingRegion = input.signingRegion || signingRegion;\n input.signingName = input.signingName || signingService || input.serviceId;\n const params = {\n ...input,\n credentials: normalizedCreds,\n region: input.signingRegion,\n service: input.signingName,\n sha256,\n uriEscapePath: signingEscapePath,\n };\n const SignerCtor = input.signerConstructor || _aws_sdk_signature_v4__WEBPACK_IMPORTED_MODULE_1__.SignatureV4;\n return new SignerCtor(params);\n };\n }\n return {\n ...input,\n systemClockOffset,\n signingEscapePath,\n credentials: normalizedCreds,\n signer,\n };\n};\nconst resolveSigV4AuthConfig = (input) => {\n const normalizedCreds = input.credentials\n ? normalizeCredentialProvider(input.credentials)\n : input.credentialDefaultProvider(input);\n const { signingEscapePath = true, systemClockOffset = input.systemClockOffset || 0, sha256 } = input;\n let signer;\n if (input.signer) {\n signer = (0,_aws_sdk_util_middleware__WEBPACK_IMPORTED_MODULE_2__.normalizeProvider)(input.signer);\n }\n else {\n signer = (0,_aws_sdk_util_middleware__WEBPACK_IMPORTED_MODULE_2__.normalizeProvider)(new _aws_sdk_signature_v4__WEBPACK_IMPORTED_MODULE_1__.SignatureV4({\n credentials: normalizedCreds,\n region: input.region,\n service: input.signingName,\n sha256,\n uriEscapePath: signingEscapePath,\n }));\n }\n return {\n ...input,\n systemClockOffset,\n signingEscapePath,\n credentials: normalizedCreds,\n signer,\n };\n};\nconst normalizeCredentialProvider = (credentials) => {\n if (typeof credentials === "function") {\n return (0,_aws_sdk_property_provider__WEBPACK_IMPORTED_MODULE_0__.memoize)(credentials, (credentials) => credentials.expiration !== undefined &&\n credentials.expiration.getTime() - Date.now() < CREDENTIAL_EXPIRE_WINDOW, (credentials) => credentials.expiration !== undefined);\n }\n return (0,_aws_sdk_util_middleware__WEBPACK_IMPORTED_MODULE_2__.normalizeProvider)(credentials);\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-signing/dist-es/configurations.js?')},"./node_modules/@aws-sdk/middleware-signing/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "awsAuthMiddleware": () => (/* reexport safe */ _middleware__WEBPACK_IMPORTED_MODULE_1__.awsAuthMiddleware),\n/* harmony export */ "awsAuthMiddlewareOptions": () => (/* reexport safe */ _middleware__WEBPACK_IMPORTED_MODULE_1__.awsAuthMiddlewareOptions),\n/* harmony export */ "getAwsAuthPlugin": () => (/* reexport safe */ _middleware__WEBPACK_IMPORTED_MODULE_1__.getAwsAuthPlugin),\n/* harmony export */ "getSigV4AuthPlugin": () => (/* reexport safe */ _middleware__WEBPACK_IMPORTED_MODULE_1__.getSigV4AuthPlugin),\n/* harmony export */ "resolveAwsAuthConfig": () => (/* reexport safe */ _configurations__WEBPACK_IMPORTED_MODULE_0__.resolveAwsAuthConfig),\n/* harmony export */ "resolveSigV4AuthConfig": () => (/* reexport safe */ _configurations__WEBPACK_IMPORTED_MODULE_0__.resolveSigV4AuthConfig)\n/* harmony export */ });\n/* harmony import */ var _configurations__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./configurations */ "./node_modules/@aws-sdk/middleware-signing/dist-es/configurations.js");\n/* harmony import */ var _middleware__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./middleware */ "./node_modules/@aws-sdk/middleware-signing/dist-es/middleware.js");\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-signing/dist-es/index.js?')},"./node_modules/@aws-sdk/middleware-signing/dist-es/middleware.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "awsAuthMiddleware": () => (/* binding */ awsAuthMiddleware),\n/* harmony export */ "awsAuthMiddlewareOptions": () => (/* binding */ awsAuthMiddlewareOptions),\n/* harmony export */ "getAwsAuthPlugin": () => (/* binding */ getAwsAuthPlugin),\n/* harmony export */ "getSigV4AuthPlugin": () => (/* binding */ getSigV4AuthPlugin)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/protocol-http */ "./node_modules/@aws-sdk/protocol-http/dist-es/index.js");\n/* harmony import */ var _utils_getSkewCorrectedDate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils/getSkewCorrectedDate */ "./node_modules/@aws-sdk/middleware-signing/dist-es/utils/getSkewCorrectedDate.js");\n/* harmony import */ var _utils_getUpdatedSystemClockOffset__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils/getUpdatedSystemClockOffset */ "./node_modules/@aws-sdk/middleware-signing/dist-es/utils/getUpdatedSystemClockOffset.js");\n\n\n\nconst awsAuthMiddleware = (options) => (next, context) => async function (args) {\n if (!_aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest.isInstance(args.request))\n return next(args);\n const authScheme = context.endpointV2?.properties?.authSchemes?.[0];\n const multiRegionOverride = authScheme?.name === "sigv4a" ? authScheme?.signingRegionSet?.join(",") : undefined;\n const signer = await options.signer(authScheme);\n const output = await next({\n ...args,\n request: await signer.sign(args.request, {\n signingDate: (0,_utils_getSkewCorrectedDate__WEBPACK_IMPORTED_MODULE_1__.getSkewCorrectedDate)(options.systemClockOffset),\n signingRegion: multiRegionOverride || context["signing_region"],\n signingService: context["signing_service"],\n }),\n }).catch((error) => {\n const serverTime = error.ServerTime ?? getDateHeader(error.$response);\n if (serverTime) {\n options.systemClockOffset = (0,_utils_getUpdatedSystemClockOffset__WEBPACK_IMPORTED_MODULE_2__.getUpdatedSystemClockOffset)(serverTime, options.systemClockOffset);\n }\n throw error;\n });\n const dateHeader = getDateHeader(output.response);\n if (dateHeader) {\n options.systemClockOffset = (0,_utils_getUpdatedSystemClockOffset__WEBPACK_IMPORTED_MODULE_2__.getUpdatedSystemClockOffset)(dateHeader, options.systemClockOffset);\n }\n return output;\n};\nconst getDateHeader = (response) => _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : undefined;\nconst awsAuthMiddlewareOptions = {\n name: "awsAuthMiddleware",\n tags: ["SIGNATURE", "AWSAUTH"],\n relation: "after",\n toMiddleware: "retryMiddleware",\n override: true,\n};\nconst getAwsAuthPlugin = (options) => ({\n applyToStack: (clientStack) => {\n clientStack.addRelativeTo(awsAuthMiddleware(options), awsAuthMiddlewareOptions);\n },\n});\nconst getSigV4AuthPlugin = getAwsAuthPlugin;\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-signing/dist-es/middleware.js?')},"./node_modules/@aws-sdk/middleware-signing/dist-es/utils/getSkewCorrectedDate.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getSkewCorrectedDate": () => (/* binding */ getSkewCorrectedDate)\n/* harmony export */ });\nconst getSkewCorrectedDate = (systemClockOffset) => new Date(Date.now() + systemClockOffset);\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-signing/dist-es/utils/getSkewCorrectedDate.js?')},"./node_modules/@aws-sdk/middleware-signing/dist-es/utils/getUpdatedSystemClockOffset.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getUpdatedSystemClockOffset": () => (/* binding */ getUpdatedSystemClockOffset)\n/* harmony export */ });\n/* harmony import */ var _isClockSkewed__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isClockSkewed */ "./node_modules/@aws-sdk/middleware-signing/dist-es/utils/isClockSkewed.js");\n\nconst getUpdatedSystemClockOffset = (clockTime, currentSystemClockOffset) => {\n const clockTimeInMs = Date.parse(clockTime);\n if ((0,_isClockSkewed__WEBPACK_IMPORTED_MODULE_0__.isClockSkewed)(clockTimeInMs, currentSystemClockOffset)) {\n return clockTimeInMs - Date.now();\n }\n return currentSystemClockOffset;\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-signing/dist-es/utils/getUpdatedSystemClockOffset.js?')},"./node_modules/@aws-sdk/middleware-signing/dist-es/utils/isClockSkewed.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "isClockSkewed": () => (/* binding */ isClockSkewed)\n/* harmony export */ });\n/* harmony import */ var _getSkewCorrectedDate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getSkewCorrectedDate */ "./node_modules/@aws-sdk/middleware-signing/dist-es/utils/getSkewCorrectedDate.js");\n\nconst isClockSkewed = (clockTime, systemClockOffset) => Math.abs((0,_getSkewCorrectedDate__WEBPACK_IMPORTED_MODULE_0__.getSkewCorrectedDate)(systemClockOffset).getTime() - clockTime) >= 300000;\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-signing/dist-es/utils/isClockSkewed.js?')},"./node_modules/@aws-sdk/middleware-stack/dist-es/MiddlewareStack.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "constructStack": () => (/* binding */ constructStack)\n/* harmony export */ });\nconst constructStack = () => {\n let absoluteEntries = [];\n let relativeEntries = [];\n const entriesNameSet = new Set();\n const sort = (entries) => entries.sort((a, b) => stepWeights[b.step] - stepWeights[a.step] ||\n priorityWeights[b.priority || "normal"] - priorityWeights[a.priority || "normal"]);\n const removeByName = (toRemove) => {\n let isRemoved = false;\n const filterCb = (entry) => {\n if (entry.name && entry.name === toRemove) {\n isRemoved = true;\n entriesNameSet.delete(toRemove);\n return false;\n }\n return true;\n };\n absoluteEntries = absoluteEntries.filter(filterCb);\n relativeEntries = relativeEntries.filter(filterCb);\n return isRemoved;\n };\n const removeByReference = (toRemove) => {\n let isRemoved = false;\n const filterCb = (entry) => {\n if (entry.middleware === toRemove) {\n isRemoved = true;\n if (entry.name)\n entriesNameSet.delete(entry.name);\n return false;\n }\n return true;\n };\n absoluteEntries = absoluteEntries.filter(filterCb);\n relativeEntries = relativeEntries.filter(filterCb);\n return isRemoved;\n };\n const cloneTo = (toStack) => {\n absoluteEntries.forEach((entry) => {\n toStack.add(entry.middleware, { ...entry });\n });\n relativeEntries.forEach((entry) => {\n toStack.addRelativeTo(entry.middleware, { ...entry });\n });\n return toStack;\n };\n const expandRelativeMiddlewareList = (from) => {\n const expandedMiddlewareList = [];\n from.before.forEach((entry) => {\n if (entry.before.length === 0 && entry.after.length === 0) {\n expandedMiddlewareList.push(entry);\n }\n else {\n expandedMiddlewareList.push(...expandRelativeMiddlewareList(entry));\n }\n });\n expandedMiddlewareList.push(from);\n from.after.reverse().forEach((entry) => {\n if (entry.before.length === 0 && entry.after.length === 0) {\n expandedMiddlewareList.push(entry);\n }\n else {\n expandedMiddlewareList.push(...expandRelativeMiddlewareList(entry));\n }\n });\n return expandedMiddlewareList;\n };\n const getMiddlewareList = (debug = false) => {\n const normalizedAbsoluteEntries = [];\n const normalizedRelativeEntries = [];\n const normalizedEntriesNameMap = {};\n absoluteEntries.forEach((entry) => {\n const normalizedEntry = {\n ...entry,\n before: [],\n after: [],\n };\n if (normalizedEntry.name)\n normalizedEntriesNameMap[normalizedEntry.name] = normalizedEntry;\n normalizedAbsoluteEntries.push(normalizedEntry);\n });\n relativeEntries.forEach((entry) => {\n const normalizedEntry = {\n ...entry,\n before: [],\n after: [],\n };\n if (normalizedEntry.name)\n normalizedEntriesNameMap[normalizedEntry.name] = normalizedEntry;\n normalizedRelativeEntries.push(normalizedEntry);\n });\n normalizedRelativeEntries.forEach((entry) => {\n if (entry.toMiddleware) {\n const toMiddleware = normalizedEntriesNameMap[entry.toMiddleware];\n if (toMiddleware === undefined) {\n if (debug) {\n return;\n }\n throw new Error(`${entry.toMiddleware} is not found when adding ${entry.name || "anonymous"} middleware ${entry.relation} ${entry.toMiddleware}`);\n }\n if (entry.relation === "after") {\n toMiddleware.after.push(entry);\n }\n if (entry.relation === "before") {\n toMiddleware.before.push(entry);\n }\n }\n });\n const mainChain = sort(normalizedAbsoluteEntries)\n .map(expandRelativeMiddlewareList)\n .reduce((wholeList, expendedMiddlewareList) => {\n wholeList.push(...expendedMiddlewareList);\n return wholeList;\n }, []);\n return mainChain;\n };\n const stack = {\n add: (middleware, options = {}) => {\n const { name, override } = options;\n const entry = {\n step: "initialize",\n priority: "normal",\n middleware,\n ...options,\n };\n if (name) {\n if (entriesNameSet.has(name)) {\n if (!override)\n throw new Error(`Duplicate middleware name \'${name}\'`);\n const toOverrideIndex = absoluteEntries.findIndex((entry) => entry.name === name);\n const toOverride = absoluteEntries[toOverrideIndex];\n if (toOverride.step !== entry.step || toOverride.priority !== entry.priority) {\n throw new Error(`"${name}" middleware with ${toOverride.priority} priority in ${toOverride.step} step cannot be ` +\n `overridden by same-name middleware with ${entry.priority} priority in ${entry.step} step.`);\n }\n absoluteEntries.splice(toOverrideIndex, 1);\n }\n entriesNameSet.add(name);\n }\n absoluteEntries.push(entry);\n },\n addRelativeTo: (middleware, options) => {\n const { name, override } = options;\n const entry = {\n middleware,\n ...options,\n };\n if (name) {\n if (entriesNameSet.has(name)) {\n if (!override)\n throw new Error(`Duplicate middleware name \'${name}\'`);\n const toOverrideIndex = relativeEntries.findIndex((entry) => entry.name === name);\n const toOverride = relativeEntries[toOverrideIndex];\n if (toOverride.toMiddleware !== entry.toMiddleware || toOverride.relation !== entry.relation) {\n throw new Error(`"${name}" middleware ${toOverride.relation} "${toOverride.toMiddleware}" middleware cannot be overridden ` +\n `by same-name middleware ${entry.relation} "${entry.toMiddleware}" middleware.`);\n }\n relativeEntries.splice(toOverrideIndex, 1);\n }\n entriesNameSet.add(name);\n }\n relativeEntries.push(entry);\n },\n clone: () => cloneTo(constructStack()),\n use: (plugin) => {\n plugin.applyToStack(stack);\n },\n remove: (toRemove) => {\n if (typeof toRemove === "string")\n return removeByName(toRemove);\n else\n return removeByReference(toRemove);\n },\n removeByTag: (toRemove) => {\n let isRemoved = false;\n const filterCb = (entry) => {\n const { tags, name } = entry;\n if (tags && tags.includes(toRemove)) {\n if (name)\n entriesNameSet.delete(name);\n isRemoved = true;\n return false;\n }\n return true;\n };\n absoluteEntries = absoluteEntries.filter(filterCb);\n relativeEntries = relativeEntries.filter(filterCb);\n return isRemoved;\n },\n concat: (from) => {\n const cloned = cloneTo(constructStack());\n cloned.use(from);\n return cloned;\n },\n applyToStack: cloneTo,\n identify: () => {\n return getMiddlewareList(true).map((mw) => {\n return mw.name + ": " + (mw.tags || []).join(",");\n });\n },\n resolve: (handler, context) => {\n for (const middleware of getMiddlewareList()\n .map((entry) => entry.middleware)\n .reverse()) {\n handler = middleware(handler, context);\n }\n return handler;\n },\n };\n return stack;\n};\nconst stepWeights = {\n initialize: 5,\n serialize: 4,\n build: 3,\n finalizeRequest: 2,\n deserialize: 1,\n};\nconst priorityWeights = {\n high: 3,\n normal: 2,\n low: 1,\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-stack/dist-es/MiddlewareStack.js?')},"./node_modules/@aws-sdk/middleware-stack/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "constructStack": () => (/* reexport safe */ _MiddlewareStack__WEBPACK_IMPORTED_MODULE_0__.constructStack)\n/* harmony export */ });\n/* harmony import */ var _MiddlewareStack__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./MiddlewareStack */ "./node_modules/@aws-sdk/middleware-stack/dist-es/MiddlewareStack.js");\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-stack/dist-es/index.js?')},"./node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "resolveUserAgentConfig": () => (/* binding */ resolveUserAgentConfig)\n/* harmony export */ });\nfunction resolveUserAgentConfig(input) {\n return {\n ...input,\n customUserAgent: typeof input.customUserAgent === "string" ? [[input.customUserAgent]] : input.customUserAgent,\n };\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js?')},"./node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "SPACE": () => (/* binding */ SPACE),\n/* harmony export */ "UA_ESCAPE_REGEX": () => (/* binding */ UA_ESCAPE_REGEX),\n/* harmony export */ "USER_AGENT": () => (/* binding */ USER_AGENT),\n/* harmony export */ "X_AMZ_USER_AGENT": () => (/* binding */ X_AMZ_USER_AGENT)\n/* harmony export */ });\nconst USER_AGENT = "user-agent";\nconst X_AMZ_USER_AGENT = "x-amz-user-agent";\nconst SPACE = " ";\nconst UA_ESCAPE_REGEX = /[^\\!\\#\\$\\%\\&\\\'\\*\\+\\-\\.\\^\\_\\`\\|\\~\\d\\w]/g;\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js?')},"./node_modules/@aws-sdk/middleware-user-agent/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getUserAgentMiddlewareOptions": () => (/* reexport safe */ _user_agent_middleware__WEBPACK_IMPORTED_MODULE_1__.getUserAgentMiddlewareOptions),\n/* harmony export */ "getUserAgentPlugin": () => (/* reexport safe */ _user_agent_middleware__WEBPACK_IMPORTED_MODULE_1__.getUserAgentPlugin),\n/* harmony export */ "resolveUserAgentConfig": () => (/* reexport safe */ _configurations__WEBPACK_IMPORTED_MODULE_0__.resolveUserAgentConfig),\n/* harmony export */ "userAgentMiddleware": () => (/* reexport safe */ _user_agent_middleware__WEBPACK_IMPORTED_MODULE_1__.userAgentMiddleware)\n/* harmony export */ });\n/* harmony import */ var _configurations__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./configurations */ "./node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js");\n/* harmony import */ var _user_agent_middleware__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./user-agent-middleware */ "./node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js");\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-user-agent/dist-es/index.js?')},"./node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getUserAgentMiddlewareOptions": () => (/* binding */ getUserAgentMiddlewareOptions),\n/* harmony export */ "getUserAgentPlugin": () => (/* binding */ getUserAgentPlugin),\n/* harmony export */ "userAgentMiddleware": () => (/* binding */ userAgentMiddleware)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/protocol-http */ "./node_modules/@aws-sdk/protocol-http/dist-es/index.js");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constants */ "./node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js");\n\n\nconst userAgentMiddleware = (options) => (next, context) => async (args) => {\n const { request } = args;\n if (!_aws_sdk_protocol_http__WEBPACK_IMPORTED_MODULE_0__.HttpRequest.isInstance(request))\n return next(args);\n const { headers } = request;\n const userAgent = context?.userAgent?.map(escapeUserAgent) || [];\n const defaultUserAgent = (await options.defaultUserAgentProvider()).map(escapeUserAgent);\n const customUserAgent = options?.customUserAgent?.map(escapeUserAgent) || [];\n const sdkUserAgentValue = [...defaultUserAgent, ...userAgent, ...customUserAgent].join(_constants__WEBPACK_IMPORTED_MODULE_1__.SPACE);\n const normalUAValue = [\n ...defaultUserAgent.filter((section) => section.startsWith("aws-sdk-")),\n ...customUserAgent,\n ].join(_constants__WEBPACK_IMPORTED_MODULE_1__.SPACE);\n if (options.runtime !== "browser") {\n if (normalUAValue) {\n headers[_constants__WEBPACK_IMPORTED_MODULE_1__.X_AMZ_USER_AGENT] = headers[_constants__WEBPACK_IMPORTED_MODULE_1__.X_AMZ_USER_AGENT]\n ? `${headers[_constants__WEBPACK_IMPORTED_MODULE_1__.USER_AGENT]} ${normalUAValue}`\n : normalUAValue;\n }\n headers[_constants__WEBPACK_IMPORTED_MODULE_1__.USER_AGENT] = sdkUserAgentValue;\n }\n else {\n headers[_constants__WEBPACK_IMPORTED_MODULE_1__.X_AMZ_USER_AGENT] = sdkUserAgentValue;\n }\n return next({\n ...args,\n request,\n });\n};\nconst escapeUserAgent = ([name, version]) => {\n const prefixSeparatorIndex = name.indexOf("/");\n const prefix = name.substring(0, prefixSeparatorIndex);\n let uaName = name.substring(prefixSeparatorIndex + 1);\n if (prefix === "api") {\n uaName = uaName.toLowerCase();\n }\n return [prefix, uaName, version]\n .filter((item) => item && item.length > 0)\n .map((item) => item?.replace(_constants__WEBPACK_IMPORTED_MODULE_1__.UA_ESCAPE_REGEX, "_"))\n .join("/");\n};\nconst getUserAgentMiddlewareOptions = {\n name: "getUserAgentMiddleware",\n step: "build",\n priority: "low",\n tags: ["SET_USER_AGENT", "USER_AGENT"],\n override: true,\n};\nconst getUserAgentPlugin = (config) => ({\n applyToStack: (clientStack) => {\n clientStack.add(userAgentMiddleware(config), getUserAgentMiddlewareOptions);\n },\n});\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js?')},"./node_modules/@aws-sdk/property-provider/dist-es/CredentialsProviderError.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "CredentialsProviderError": () => (/* binding */ CredentialsProviderError)\n/* harmony export */ });\n/* harmony import */ var _ProviderError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ProviderError */ "./node_modules/@aws-sdk/property-provider/dist-es/ProviderError.js");\n\nclass CredentialsProviderError extends _ProviderError__WEBPACK_IMPORTED_MODULE_0__.ProviderError {\n constructor(message, tryNextLink = true) {\n super(message, tryNextLink);\n this.tryNextLink = tryNextLink;\n this.name = "CredentialsProviderError";\n Object.setPrototypeOf(this, CredentialsProviderError.prototype);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/property-provider/dist-es/CredentialsProviderError.js?')},"./node_modules/@aws-sdk/property-provider/dist-es/ProviderError.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "ProviderError": () => (/* binding */ ProviderError)\n/* harmony export */ });\nclass ProviderError extends Error {\n constructor(message, tryNextLink = true) {\n super(message);\n this.tryNextLink = tryNextLink;\n this.name = "ProviderError";\n Object.setPrototypeOf(this, ProviderError.prototype);\n }\n static from(error, tryNextLink = true) {\n return Object.assign(new this(error.message, tryNextLink), error);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/property-provider/dist-es/ProviderError.js?')},"./node_modules/@aws-sdk/property-provider/dist-es/TokenProviderError.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "TokenProviderError": () => (/* binding */ TokenProviderError)\n/* harmony export */ });\n/* harmony import */ var _ProviderError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ProviderError */ "./node_modules/@aws-sdk/property-provider/dist-es/ProviderError.js");\n\nclass TokenProviderError extends _ProviderError__WEBPACK_IMPORTED_MODULE_0__.ProviderError {\n constructor(message, tryNextLink = true) {\n super(message, tryNextLink);\n this.tryNextLink = tryNextLink;\n this.name = "TokenProviderError";\n Object.setPrototypeOf(this, TokenProviderError.prototype);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/property-provider/dist-es/TokenProviderError.js?')},"./node_modules/@aws-sdk/property-provider/dist-es/chain.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "chain": () => (/* binding */ chain)\n/* harmony export */ });\n/* harmony import */ var _ProviderError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ProviderError */ "./node_modules/@aws-sdk/property-provider/dist-es/ProviderError.js");\n\nfunction chain(...providers) {\n return () => {\n let promise = Promise.reject(new _ProviderError__WEBPACK_IMPORTED_MODULE_0__.ProviderError("No providers in chain"));\n for (const provider of providers) {\n promise = promise.catch((err) => {\n if (err?.tryNextLink) {\n return provider();\n }\n throw err;\n });\n }\n return promise;\n };\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/property-provider/dist-es/chain.js?')},"./node_modules/@aws-sdk/property-provider/dist-es/fromStatic.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "fromStatic": () => (/* binding */ fromStatic)\n/* harmony export */ });\nconst fromStatic = (staticValue) => () => Promise.resolve(staticValue);\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/property-provider/dist-es/fromStatic.js?')},"./node_modules/@aws-sdk/property-provider/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "CredentialsProviderError": () => (/* reexport safe */ _CredentialsProviderError__WEBPACK_IMPORTED_MODULE_0__.CredentialsProviderError),\n/* harmony export */ "ProviderError": () => (/* reexport safe */ _ProviderError__WEBPACK_IMPORTED_MODULE_1__.ProviderError),\n/* harmony export */ "TokenProviderError": () => (/* reexport safe */ _TokenProviderError__WEBPACK_IMPORTED_MODULE_2__.TokenProviderError),\n/* harmony export */ "chain": () => (/* reexport safe */ _chain__WEBPACK_IMPORTED_MODULE_3__.chain),\n/* harmony export */ "fromStatic": () => (/* reexport safe */ _fromStatic__WEBPACK_IMPORTED_MODULE_4__.fromStatic),\n/* harmony export */ "memoize": () => (/* reexport safe */ _memoize__WEBPACK_IMPORTED_MODULE_5__.memoize)\n/* harmony export */ });\n/* harmony import */ var _CredentialsProviderError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CredentialsProviderError */ "./node_modules/@aws-sdk/property-provider/dist-es/CredentialsProviderError.js");\n/* harmony import */ var _ProviderError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ProviderError */ "./node_modules/@aws-sdk/property-provider/dist-es/ProviderError.js");\n/* harmony import */ var _TokenProviderError__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./TokenProviderError */ "./node_modules/@aws-sdk/property-provider/dist-es/TokenProviderError.js");\n/* harmony import */ var _chain__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./chain */ "./node_modules/@aws-sdk/property-provider/dist-es/chain.js");\n/* harmony import */ var _fromStatic__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./fromStatic */ "./node_modules/@aws-sdk/property-provider/dist-es/fromStatic.js");\n/* harmony import */ var _memoize__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./memoize */ "./node_modules/@aws-sdk/property-provider/dist-es/memoize.js");\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/property-provider/dist-es/index.js?')},"./node_modules/@aws-sdk/property-provider/dist-es/memoize.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "memoize": () => (/* binding */ memoize)\n/* harmony export */ });\nconst memoize = (provider, isExpired, requiresRefresh) => {\n let resolved;\n let pending;\n let hasResult;\n let isConstant = false;\n const coalesceProvider = async () => {\n if (!pending) {\n pending = provider();\n }\n try {\n resolved = await pending;\n hasResult = true;\n isConstant = false;\n }\n finally {\n pending = undefined;\n }\n return resolved;\n };\n if (isExpired === undefined) {\n return async (options) => {\n if (!hasResult || options?.forceRefresh) {\n resolved = await coalesceProvider();\n }\n return resolved;\n };\n }\n return async (options) => {\n if (!hasResult || options?.forceRefresh) {\n resolved = await coalesceProvider();\n }\n if (isConstant) {\n return resolved;\n }\n if (requiresRefresh && !requiresRefresh(resolved)) {\n isConstant = true;\n return resolved;\n }\n if (isExpired(resolved)) {\n await coalesceProvider();\n return resolved;\n }\n return resolved;\n };\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/property-provider/dist-es/memoize.js?')},"./node_modules/@aws-sdk/protocol-http/dist-es/Field.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "Field": () => (/* binding */ Field)\n/* harmony export */ });\n/* harmony import */ var _FieldPosition__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./FieldPosition */ "./node_modules/@aws-sdk/protocol-http/dist-es/FieldPosition.js");\n\nclass Field {\n constructor({ name, kind = _FieldPosition__WEBPACK_IMPORTED_MODULE_0__.FieldPosition.HEADER, values = [] }) {\n this.name = name;\n this.kind = kind;\n this.values = values;\n }\n add(value) {\n this.values.push(value);\n }\n set(values) {\n this.values = values;\n }\n remove(value) {\n this.values = this.values.filter((v) => v !== value);\n }\n toString() {\n return this.values\n .map((v) => (v.includes(",") || v.includes(" ") ? `"${v}"` : v))\n .join(", ");\n }\n get() {\n return this.values;\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/protocol-http/dist-es/Field.js?')},"./node_modules/@aws-sdk/protocol-http/dist-es/FieldPosition.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "FieldPosition": () => (/* binding */ FieldPosition)\n/* harmony export */ });\nvar FieldPosition;\n(function (FieldPosition) {\n FieldPosition[FieldPosition["HEADER"] = 0] = "HEADER";\n FieldPosition[FieldPosition["TRAILER"] = 1] = "TRAILER";\n})(FieldPosition || (FieldPosition = {}));\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/protocol-http/dist-es/FieldPosition.js?')},"./node_modules/@aws-sdk/protocol-http/dist-es/Fields.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "Fields": () => (/* binding */ Fields)\n/* harmony export */ });\nclass Fields {\n constructor({ fields = [], encoding = "utf-8" }) {\n this.entries = {};\n fields.forEach(this.setField.bind(this));\n this.encoding = encoding;\n }\n setField(field) {\n this.entries[field.name] = field;\n }\n getField(name) {\n return this.entries[name];\n }\n removeField(name) {\n delete this.entries[name];\n }\n getByType(kind) {\n return Object.values(this.entries).filter((field) => field.kind === kind);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/protocol-http/dist-es/Fields.js?')},"./node_modules/@aws-sdk/protocol-http/dist-es/httpHandler.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/protocol-http/dist-es/httpHandler.js?")},"./node_modules/@aws-sdk/protocol-http/dist-es/httpRequest.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "HttpRequest": () => (/* binding */ HttpRequest)\n/* harmony export */ });\nclass HttpRequest {\n constructor(options) {\n this.method = options.method || "GET";\n this.hostname = options.hostname || "localhost";\n this.port = options.port;\n this.query = options.query || {};\n this.headers = options.headers || {};\n this.body = options.body;\n this.protocol = options.protocol\n ? options.protocol.slice(-1) !== ":"\n ? `${options.protocol}:`\n : options.protocol\n : "https:";\n this.path = options.path ? (options.path.charAt(0) !== "/" ? `/${options.path}` : options.path) : "/";\n }\n static isInstance(request) {\n if (!request)\n return false;\n const req = request;\n return ("method" in req &&\n "protocol" in req &&\n "hostname" in req &&\n "path" in req &&\n typeof req["query"] === "object" &&\n typeof req["headers"] === "object");\n }\n clone() {\n const cloned = new HttpRequest({\n ...this,\n headers: { ...this.headers },\n });\n if (cloned.query)\n cloned.query = cloneQuery(cloned.query);\n return cloned;\n }\n}\nfunction cloneQuery(query) {\n return Object.keys(query).reduce((carry, paramName) => {\n const param = query[paramName];\n return {\n ...carry,\n [paramName]: Array.isArray(param) ? [...param] : param,\n };\n }, {});\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/protocol-http/dist-es/httpRequest.js?')},"./node_modules/@aws-sdk/protocol-http/dist-es/httpResponse.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "HttpResponse": () => (/* binding */ HttpResponse)\n/* harmony export */ });\nclass HttpResponse {\n constructor(options) {\n this.statusCode = options.statusCode;\n this.headers = options.headers || {};\n this.body = options.body;\n }\n static isInstance(response) {\n if (!response)\n return false;\n const resp = response;\n return typeof resp.statusCode === "number" && typeof resp.headers === "object";\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/protocol-http/dist-es/httpResponse.js?')},"./node_modules/@aws-sdk/protocol-http/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "Field": () => (/* reexport safe */ _Field__WEBPACK_IMPORTED_MODULE_0__.Field),\n/* harmony export */ "FieldPosition": () => (/* reexport safe */ _FieldPosition__WEBPACK_IMPORTED_MODULE_1__.FieldPosition),\n/* harmony export */ "Fields": () => (/* reexport safe */ _Fields__WEBPACK_IMPORTED_MODULE_2__.Fields),\n/* harmony export */ "HttpRequest": () => (/* reexport safe */ _httpRequest__WEBPACK_IMPORTED_MODULE_4__.HttpRequest),\n/* harmony export */ "HttpResponse": () => (/* reexport safe */ _httpResponse__WEBPACK_IMPORTED_MODULE_5__.HttpResponse),\n/* harmony export */ "isValidHostname": () => (/* reexport safe */ _isValidHostname__WEBPACK_IMPORTED_MODULE_6__.isValidHostname)\n/* harmony export */ });\n/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Field */ "./node_modules/@aws-sdk/protocol-http/dist-es/Field.js");\n/* harmony import */ var _FieldPosition__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./FieldPosition */ "./node_modules/@aws-sdk/protocol-http/dist-es/FieldPosition.js");\n/* harmony import */ var _Fields__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Fields */ "./node_modules/@aws-sdk/protocol-http/dist-es/Fields.js");\n/* harmony import */ var _httpHandler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./httpHandler */ "./node_modules/@aws-sdk/protocol-http/dist-es/httpHandler.js");\n/* harmony import */ var _httpRequest__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./httpRequest */ "./node_modules/@aws-sdk/protocol-http/dist-es/httpRequest.js");\n/* harmony import */ var _httpResponse__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./httpResponse */ "./node_modules/@aws-sdk/protocol-http/dist-es/httpResponse.js");\n/* harmony import */ var _isValidHostname__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./isValidHostname */ "./node_modules/@aws-sdk/protocol-http/dist-es/isValidHostname.js");\n\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/protocol-http/dist-es/index.js?')},"./node_modules/@aws-sdk/protocol-http/dist-es/isValidHostname.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "isValidHostname": () => (/* binding */ isValidHostname)\n/* harmony export */ });\nfunction isValidHostname(hostname) {\n const hostPattern = /^[a-z0-9][a-z0-9\\.\\-]*[a-z0-9]$/;\n return hostPattern.test(hostname);\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/protocol-http/dist-es/isValidHostname.js?')},"./node_modules/@aws-sdk/querystring-builder/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "buildQueryString": () => (/* binding */ buildQueryString)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_util_uri_escape__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/util-uri-escape */ "./node_modules/@aws-sdk/util-uri-escape/dist-es/index.js");\n\nfunction buildQueryString(query) {\n const parts = [];\n for (let key of Object.keys(query).sort()) {\n const value = query[key];\n key = (0,_aws_sdk_util_uri_escape__WEBPACK_IMPORTED_MODULE_0__.escapeUri)(key);\n if (Array.isArray(value)) {\n for (let i = 0, iLen = value.length; i < iLen; i++) {\n parts.push(`${key}=${(0,_aws_sdk_util_uri_escape__WEBPACK_IMPORTED_MODULE_0__.escapeUri)(value[i])}`);\n }\n }\n else {\n let qsEntry = key;\n if (value || typeof value === "string") {\n qsEntry += `=${(0,_aws_sdk_util_uri_escape__WEBPACK_IMPORTED_MODULE_0__.escapeUri)(value)}`;\n }\n parts.push(qsEntry);\n }\n }\n return parts.join("&");\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/querystring-builder/dist-es/index.js?')},"./node_modules/@aws-sdk/querystring-parser/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "parseQueryString": () => (/* binding */ parseQueryString)\n/* harmony export */ });\nfunction parseQueryString(querystring) {\n const query = {};\n querystring = querystring.replace(/^\\?/, "");\n if (querystring) {\n for (const pair of querystring.split("&")) {\n let [key, value = null] = pair.split("=");\n key = decodeURIComponent(key);\n if (value) {\n value = decodeURIComponent(value);\n }\n if (!(key in query)) {\n query[key] = value;\n }\n else if (Array.isArray(query[key])) {\n query[key].push(value);\n }\n else {\n query[key] = [query[key], value];\n }\n }\n }\n return query;\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/querystring-parser/dist-es/index.js?')},"./node_modules/@aws-sdk/service-error-classification/dist-es/constants.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "CLOCK_SKEW_ERROR_CODES": () => (/* binding */ CLOCK_SKEW_ERROR_CODES),\n/* harmony export */ "NODEJS_TIMEOUT_ERROR_CODES": () => (/* binding */ NODEJS_TIMEOUT_ERROR_CODES),\n/* harmony export */ "THROTTLING_ERROR_CODES": () => (/* binding */ THROTTLING_ERROR_CODES),\n/* harmony export */ "TRANSIENT_ERROR_CODES": () => (/* binding */ TRANSIENT_ERROR_CODES),\n/* harmony export */ "TRANSIENT_ERROR_STATUS_CODES": () => (/* binding */ TRANSIENT_ERROR_STATUS_CODES)\n/* harmony export */ });\nconst CLOCK_SKEW_ERROR_CODES = [\n "AuthFailure",\n "InvalidSignatureException",\n "RequestExpired",\n "RequestInTheFuture",\n "RequestTimeTooSkewed",\n "SignatureDoesNotMatch",\n];\nconst THROTTLING_ERROR_CODES = [\n "BandwidthLimitExceeded",\n "EC2ThrottledException",\n "LimitExceededException",\n "PriorRequestNotComplete",\n "ProvisionedThroughputExceededException",\n "RequestLimitExceeded",\n "RequestThrottled",\n "RequestThrottledException",\n "SlowDown",\n "ThrottledException",\n "Throttling",\n "ThrottlingException",\n "TooManyRequestsException",\n "TransactionInProgressException",\n];\nconst TRANSIENT_ERROR_CODES = ["AbortError", "TimeoutError", "RequestTimeout", "RequestTimeoutException"];\nconst TRANSIENT_ERROR_STATUS_CODES = [500, 502, 503, 504];\nconst NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "EPIPE", "ETIMEDOUT"];\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/service-error-classification/dist-es/constants.js?')},"./node_modules/@aws-sdk/service-error-classification/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "isClockSkewError": () => (/* binding */ isClockSkewError),\n/* harmony export */ "isRetryableByTrait": () => (/* binding */ isRetryableByTrait),\n/* harmony export */ "isServerError": () => (/* binding */ isServerError),\n/* harmony export */ "isThrottlingError": () => (/* binding */ isThrottlingError),\n/* harmony export */ "isTransientError": () => (/* binding */ isTransientError)\n/* harmony export */ });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ "./node_modules/@aws-sdk/service-error-classification/dist-es/constants.js");\n\nconst isRetryableByTrait = (error) => error.$retryable !== undefined;\nconst isClockSkewError = (error) => _constants__WEBPACK_IMPORTED_MODULE_0__.CLOCK_SKEW_ERROR_CODES.includes(error.name);\nconst isThrottlingError = (error) => error.$metadata?.httpStatusCode === 429 ||\n _constants__WEBPACK_IMPORTED_MODULE_0__.THROTTLING_ERROR_CODES.includes(error.name) ||\n error.$retryable?.throttling == true;\nconst isTransientError = (error) => _constants__WEBPACK_IMPORTED_MODULE_0__.TRANSIENT_ERROR_CODES.includes(error.name) ||\n _constants__WEBPACK_IMPORTED_MODULE_0__.NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code || "") ||\n _constants__WEBPACK_IMPORTED_MODULE_0__.TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0);\nconst isServerError = (error) => {\n if (error.$metadata?.httpStatusCode !== undefined) {\n const statusCode = error.$metadata.httpStatusCode;\n if (500 <= statusCode && statusCode <= 599 && !isTransientError(error)) {\n return true;\n }\n return false;\n }\n return false;\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/service-error-classification/dist-es/index.js?')},"./node_modules/@aws-sdk/signature-v4/dist-es/SignatureV4.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "SignatureV4": () => (/* binding */ SignatureV4)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/util-hex-encoding */ "./node_modules/@aws-sdk/util-hex-encoding/dist-es/index.js");\n/* harmony import */ var _aws_sdk_util_middleware__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/util-middleware */ "./node_modules/@aws-sdk/util-middleware/dist-es/index.js");\n/* harmony import */ var _aws_sdk_util_utf8__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/util-utf8 */ "./node_modules/@aws-sdk/util-utf8/dist-es/index.js");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./constants */ "./node_modules/@aws-sdk/signature-v4/dist-es/constants.js");\n/* harmony import */ var _credentialDerivation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./credentialDerivation */ "./node_modules/@aws-sdk/signature-v4/dist-es/credentialDerivation.js");\n/* harmony import */ var _getCanonicalHeaders__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./getCanonicalHeaders */ "./node_modules/@aws-sdk/signature-v4/dist-es/getCanonicalHeaders.js");\n/* harmony import */ var _getCanonicalQuery__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./getCanonicalQuery */ "./node_modules/@aws-sdk/signature-v4/dist-es/getCanonicalQuery.js");\n/* harmony import */ var _getPayloadHash__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./getPayloadHash */ "./node_modules/@aws-sdk/signature-v4/dist-es/getPayloadHash.js");\n/* harmony import */ var _headerUtil__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./headerUtil */ "./node_modules/@aws-sdk/signature-v4/dist-es/headerUtil.js");\n/* harmony import */ var _moveHeadersToQuery__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./moveHeadersToQuery */ "./node_modules/@aws-sdk/signature-v4/dist-es/moveHeadersToQuery.js");\n/* harmony import */ var _prepareRequest__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./prepareRequest */ "./node_modules/@aws-sdk/signature-v4/dist-es/prepareRequest.js");\n/* harmony import */ var _utilDate__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./utilDate */ "./node_modules/@aws-sdk/signature-v4/dist-es/utilDate.js");\n\n\n\n\n\n\n\n\n\n\n\n\nclass SignatureV4 {\n constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath = true, }) {\n this.service = service;\n this.sha256 = sha256;\n this.uriEscapePath = uriEscapePath;\n this.applyChecksum = typeof applyChecksum === "boolean" ? applyChecksum : true;\n this.regionProvider = (0,_aws_sdk_util_middleware__WEBPACK_IMPORTED_MODULE_1__.normalizeProvider)(region);\n this.credentialProvider = (0,_aws_sdk_util_middleware__WEBPACK_IMPORTED_MODULE_1__.normalizeProvider)(credentials);\n }\n async presign(originalRequest, options = {}) {\n const { signingDate = new Date(), expiresIn = 3600, unsignableHeaders, unhoistableHeaders, signableHeaders, signingRegion, signingService, } = options;\n const credentials = await this.credentialProvider();\n this.validateResolvedCredentials(credentials);\n const region = signingRegion ?? (await this.regionProvider());\n const { longDate, shortDate } = formatDate(signingDate);\n if (expiresIn > _constants__WEBPACK_IMPORTED_MODULE_3__.MAX_PRESIGNED_TTL) {\n return Promise.reject("Signature version 4 presigned URLs" + " must have an expiration date less than one week in" + " the future");\n }\n const scope = (0,_credentialDerivation__WEBPACK_IMPORTED_MODULE_4__.createScope)(shortDate, region, signingService ?? this.service);\n const request = (0,_moveHeadersToQuery__WEBPACK_IMPORTED_MODULE_9__.moveHeadersToQuery)((0,_prepareRequest__WEBPACK_IMPORTED_MODULE_10__.prepareRequest)(originalRequest), { unhoistableHeaders });\n if (credentials.sessionToken) {\n request.query[_constants__WEBPACK_IMPORTED_MODULE_3__.TOKEN_QUERY_PARAM] = credentials.sessionToken;\n }\n request.query[_constants__WEBPACK_IMPORTED_MODULE_3__.ALGORITHM_QUERY_PARAM] = _constants__WEBPACK_IMPORTED_MODULE_3__.ALGORITHM_IDENTIFIER;\n request.query[_constants__WEBPACK_IMPORTED_MODULE_3__.CREDENTIAL_QUERY_PARAM] = `${credentials.accessKeyId}/${scope}`;\n request.query[_constants__WEBPACK_IMPORTED_MODULE_3__.AMZ_DATE_QUERY_PARAM] = longDate;\n request.query[_constants__WEBPACK_IMPORTED_MODULE_3__.EXPIRES_QUERY_PARAM] = expiresIn.toString(10);\n const canonicalHeaders = (0,_getCanonicalHeaders__WEBPACK_IMPORTED_MODULE_5__.getCanonicalHeaders)(request, unsignableHeaders, signableHeaders);\n request.query[_constants__WEBPACK_IMPORTED_MODULE_3__.SIGNED_HEADERS_QUERY_PARAM] = getCanonicalHeaderList(canonicalHeaders);\n request.query[_constants__WEBPACK_IMPORTED_MODULE_3__.SIGNATURE_QUERY_PARAM] = await this.getSignature(longDate, scope, this.getSigningKey(credentials, region, shortDate, signingService), this.createCanonicalRequest(request, canonicalHeaders, await (0,_getPayloadHash__WEBPACK_IMPORTED_MODULE_7__.getPayloadHash)(originalRequest, this.sha256)));\n return request;\n }\n async sign(toSign, options) {\n if (typeof toSign === "string") {\n return this.signString(toSign, options);\n }\n else if (toSign.headers && toSign.payload) {\n return this.signEvent(toSign, options);\n }\n else {\n return this.signRequest(toSign, options);\n }\n }\n async signEvent({ headers, payload }, { signingDate = new Date(), priorSignature, signingRegion, signingService }) {\n const region = signingRegion ?? (await this.regionProvider());\n const { shortDate, longDate } = formatDate(signingDate);\n const scope = (0,_credentialDerivation__WEBPACK_IMPORTED_MODULE_4__.createScope)(shortDate, region, signingService ?? this.service);\n const hashedPayload = await (0,_getPayloadHash__WEBPACK_IMPORTED_MODULE_7__.getPayloadHash)({ headers: {}, body: payload }, this.sha256);\n const hash = new this.sha256();\n hash.update(headers);\n const hashedHeaders = (0,_aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_0__.toHex)(await hash.digest());\n const stringToSign = [\n _constants__WEBPACK_IMPORTED_MODULE_3__.EVENT_ALGORITHM_IDENTIFIER,\n longDate,\n scope,\n priorSignature,\n hashedHeaders,\n hashedPayload,\n ].join("\\n");\n return this.signString(stringToSign, { signingDate, signingRegion: region, signingService });\n }\n async signString(stringToSign, { signingDate = new Date(), signingRegion, signingService } = {}) {\n const credentials = await this.credentialProvider();\n this.validateResolvedCredentials(credentials);\n const region = signingRegion ?? (await this.regionProvider());\n const { shortDate } = formatDate(signingDate);\n const hash = new this.sha256(await this.getSigningKey(credentials, region, shortDate, signingService));\n hash.update((0,_aws_sdk_util_utf8__WEBPACK_IMPORTED_MODULE_2__.toUint8Array)(stringToSign));\n return (0,_aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_0__.toHex)(await hash.digest());\n }\n async signRequest(requestToSign, { signingDate = new Date(), signableHeaders, unsignableHeaders, signingRegion, signingService, } = {}) {\n const credentials = await this.credentialProvider();\n this.validateResolvedCredentials(credentials);\n const region = signingRegion ?? (await this.regionProvider());\n const request = (0,_prepareRequest__WEBPACK_IMPORTED_MODULE_10__.prepareRequest)(requestToSign);\n const { longDate, shortDate } = formatDate(signingDate);\n const scope = (0,_credentialDerivation__WEBPACK_IMPORTED_MODULE_4__.createScope)(shortDate, region, signingService ?? this.service);\n request.headers[_constants__WEBPACK_IMPORTED_MODULE_3__.AMZ_DATE_HEADER] = longDate;\n if (credentials.sessionToken) {\n request.headers[_constants__WEBPACK_IMPORTED_MODULE_3__.TOKEN_HEADER] = credentials.sessionToken;\n }\n const payloadHash = await (0,_getPayloadHash__WEBPACK_IMPORTED_MODULE_7__.getPayloadHash)(request, this.sha256);\n if (!(0,_headerUtil__WEBPACK_IMPORTED_MODULE_8__.hasHeader)(_constants__WEBPACK_IMPORTED_MODULE_3__.SHA256_HEADER, request.headers) && this.applyChecksum) {\n request.headers[_constants__WEBPACK_IMPORTED_MODULE_3__.SHA256_HEADER] = payloadHash;\n }\n const canonicalHeaders = (0,_getCanonicalHeaders__WEBPACK_IMPORTED_MODULE_5__.getCanonicalHeaders)(request, unsignableHeaders, signableHeaders);\n const signature = await this.getSignature(longDate, scope, this.getSigningKey(credentials, region, shortDate, signingService), this.createCanonicalRequest(request, canonicalHeaders, payloadHash));\n request.headers[_constants__WEBPACK_IMPORTED_MODULE_3__.AUTH_HEADER] =\n `${_constants__WEBPACK_IMPORTED_MODULE_3__.ALGORITHM_IDENTIFIER} ` +\n `Credential=${credentials.accessKeyId}/${scope}, ` +\n `SignedHeaders=${getCanonicalHeaderList(canonicalHeaders)}, ` +\n `Signature=${signature}`;\n return request;\n }\n createCanonicalRequest(request, canonicalHeaders, payloadHash) {\n const sortedHeaders = Object.keys(canonicalHeaders).sort();\n return `${request.method}\n${this.getCanonicalPath(request)}\n${(0,_getCanonicalQuery__WEBPACK_IMPORTED_MODULE_6__.getCanonicalQuery)(request)}\n${sortedHeaders.map((name) => `${name}:${canonicalHeaders[name]}`).join("\\n")}\n\n${sortedHeaders.join(";")}\n${payloadHash}`;\n }\n async createStringToSign(longDate, credentialScope, canonicalRequest) {\n const hash = new this.sha256();\n hash.update((0,_aws_sdk_util_utf8__WEBPACK_IMPORTED_MODULE_2__.toUint8Array)(canonicalRequest));\n const hashedRequest = await hash.digest();\n return `${_constants__WEBPACK_IMPORTED_MODULE_3__.ALGORITHM_IDENTIFIER}\n${longDate}\n${credentialScope}\n${(0,_aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_0__.toHex)(hashedRequest)}`;\n }\n getCanonicalPath({ path }) {\n if (this.uriEscapePath) {\n const normalizedPathSegments = [];\n for (const pathSegment of path.split("/")) {\n if (pathSegment?.length === 0)\n continue;\n if (pathSegment === ".")\n continue;\n if (pathSegment === "..") {\n normalizedPathSegments.pop();\n }\n else {\n normalizedPathSegments.push(pathSegment);\n }\n }\n const normalizedPath = `${path?.startsWith("/") ? "/" : ""}${normalizedPathSegments.join("/")}${normalizedPathSegments.length > 0 && path?.endsWith("/") ? "/" : ""}`;\n const doubleEncoded = encodeURIComponent(normalizedPath);\n return doubleEncoded.replace(/%2F/g, "/");\n }\n return path;\n }\n async getSignature(longDate, credentialScope, keyPromise, canonicalRequest) {\n const stringToSign = await this.createStringToSign(longDate, credentialScope, canonicalRequest);\n const hash = new this.sha256(await keyPromise);\n hash.update((0,_aws_sdk_util_utf8__WEBPACK_IMPORTED_MODULE_2__.toUint8Array)(stringToSign));\n return (0,_aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_0__.toHex)(await hash.digest());\n }\n getSigningKey(credentials, region, shortDate, service) {\n return (0,_credentialDerivation__WEBPACK_IMPORTED_MODULE_4__.getSigningKey)(this.sha256, credentials, shortDate, region, service || this.service);\n }\n validateResolvedCredentials(credentials) {\n if (typeof credentials !== "object" ||\n typeof credentials.accessKeyId !== "string" ||\n typeof credentials.secretAccessKey !== "string") {\n throw new Error("Resolved credential object is not valid");\n }\n }\n}\nconst formatDate = (now) => {\n const longDate = (0,_utilDate__WEBPACK_IMPORTED_MODULE_11__.iso8601)(now).replace(/[\\-:]/g, "");\n return {\n longDate,\n shortDate: longDate.slice(0, 8),\n };\n};\nconst getCanonicalHeaderList = (headers) => Object.keys(headers).sort().join(";");\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/signature-v4/dist-es/SignatureV4.js?')},"./node_modules/@aws-sdk/signature-v4/dist-es/cloneRequest.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "cloneQuery": () => (/* binding */ cloneQuery),\n/* harmony export */ "cloneRequest": () => (/* binding */ cloneRequest)\n/* harmony export */ });\nconst cloneRequest = ({ headers, query, ...rest }) => ({\n ...rest,\n headers: { ...headers },\n query: query ? cloneQuery(query) : undefined,\n});\nconst cloneQuery = (query) => Object.keys(query).reduce((carry, paramName) => {\n const param = query[paramName];\n return {\n ...carry,\n [paramName]: Array.isArray(param) ? [...param] : param,\n };\n}, {});\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/signature-v4/dist-es/cloneRequest.js?')},"./node_modules/@aws-sdk/signature-v4/dist-es/constants.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "ALGORITHM_IDENTIFIER": () => (/* binding */ ALGORITHM_IDENTIFIER),\n/* harmony export */ "ALGORITHM_IDENTIFIER_V4A": () => (/* binding */ ALGORITHM_IDENTIFIER_V4A),\n/* harmony export */ "ALGORITHM_QUERY_PARAM": () => (/* binding */ ALGORITHM_QUERY_PARAM),\n/* harmony export */ "ALWAYS_UNSIGNABLE_HEADERS": () => (/* binding */ ALWAYS_UNSIGNABLE_HEADERS),\n/* harmony export */ "AMZ_DATE_HEADER": () => (/* binding */ AMZ_DATE_HEADER),\n/* harmony export */ "AMZ_DATE_QUERY_PARAM": () => (/* binding */ AMZ_DATE_QUERY_PARAM),\n/* harmony export */ "AUTH_HEADER": () => (/* binding */ AUTH_HEADER),\n/* harmony export */ "CREDENTIAL_QUERY_PARAM": () => (/* binding */ CREDENTIAL_QUERY_PARAM),\n/* harmony export */ "DATE_HEADER": () => (/* binding */ DATE_HEADER),\n/* harmony export */ "EVENT_ALGORITHM_IDENTIFIER": () => (/* binding */ EVENT_ALGORITHM_IDENTIFIER),\n/* harmony export */ "EXPIRES_QUERY_PARAM": () => (/* binding */ EXPIRES_QUERY_PARAM),\n/* harmony export */ "GENERATED_HEADERS": () => (/* binding */ GENERATED_HEADERS),\n/* harmony export */ "HOST_HEADER": () => (/* binding */ HOST_HEADER),\n/* harmony export */ "KEY_TYPE_IDENTIFIER": () => (/* binding */ KEY_TYPE_IDENTIFIER),\n/* harmony export */ "MAX_CACHE_SIZE": () => (/* binding */ MAX_CACHE_SIZE),\n/* harmony export */ "MAX_PRESIGNED_TTL": () => (/* binding */ MAX_PRESIGNED_TTL),\n/* harmony export */ "PROXY_HEADER_PATTERN": () => (/* binding */ PROXY_HEADER_PATTERN),\n/* harmony export */ "REGION_SET_PARAM": () => (/* binding */ REGION_SET_PARAM),\n/* harmony export */ "SEC_HEADER_PATTERN": () => (/* binding */ SEC_HEADER_PATTERN),\n/* harmony export */ "SHA256_HEADER": () => (/* binding */ SHA256_HEADER),\n/* harmony export */ "SIGNATURE_HEADER": () => (/* binding */ SIGNATURE_HEADER),\n/* harmony export */ "SIGNATURE_QUERY_PARAM": () => (/* binding */ SIGNATURE_QUERY_PARAM),\n/* harmony export */ "SIGNED_HEADERS_QUERY_PARAM": () => (/* binding */ SIGNED_HEADERS_QUERY_PARAM),\n/* harmony export */ "TOKEN_HEADER": () => (/* binding */ TOKEN_HEADER),\n/* harmony export */ "TOKEN_QUERY_PARAM": () => (/* binding */ TOKEN_QUERY_PARAM),\n/* harmony export */ "UNSIGNABLE_PATTERNS": () => (/* binding */ UNSIGNABLE_PATTERNS),\n/* harmony export */ "UNSIGNED_PAYLOAD": () => (/* binding */ UNSIGNED_PAYLOAD)\n/* harmony export */ });\nconst ALGORITHM_QUERY_PARAM = "X-Amz-Algorithm";\nconst CREDENTIAL_QUERY_PARAM = "X-Amz-Credential";\nconst AMZ_DATE_QUERY_PARAM = "X-Amz-Date";\nconst SIGNED_HEADERS_QUERY_PARAM = "X-Amz-SignedHeaders";\nconst EXPIRES_QUERY_PARAM = "X-Amz-Expires";\nconst SIGNATURE_QUERY_PARAM = "X-Amz-Signature";\nconst TOKEN_QUERY_PARAM = "X-Amz-Security-Token";\nconst REGION_SET_PARAM = "X-Amz-Region-Set";\nconst AUTH_HEADER = "authorization";\nconst AMZ_DATE_HEADER = AMZ_DATE_QUERY_PARAM.toLowerCase();\nconst DATE_HEADER = "date";\nconst GENERATED_HEADERS = [AUTH_HEADER, AMZ_DATE_HEADER, DATE_HEADER];\nconst SIGNATURE_HEADER = SIGNATURE_QUERY_PARAM.toLowerCase();\nconst SHA256_HEADER = "x-amz-content-sha256";\nconst TOKEN_HEADER = TOKEN_QUERY_PARAM.toLowerCase();\nconst HOST_HEADER = "host";\nconst ALWAYS_UNSIGNABLE_HEADERS = {\n authorization: true,\n "cache-control": true,\n connection: true,\n expect: true,\n from: true,\n "keep-alive": true,\n "max-forwards": true,\n pragma: true,\n referer: true,\n te: true,\n trailer: true,\n "transfer-encoding": true,\n upgrade: true,\n "user-agent": true,\n "x-amzn-trace-id": true,\n};\nconst PROXY_HEADER_PATTERN = /^proxy-/;\nconst SEC_HEADER_PATTERN = /^sec-/;\nconst UNSIGNABLE_PATTERNS = [/^proxy-/i, /^sec-/i];\nconst ALGORITHM_IDENTIFIER = "AWS4-HMAC-SHA256";\nconst ALGORITHM_IDENTIFIER_V4A = "AWS4-ECDSA-P256-SHA256";\nconst EVENT_ALGORITHM_IDENTIFIER = "AWS4-HMAC-SHA256-PAYLOAD";\nconst UNSIGNED_PAYLOAD = "UNSIGNED-PAYLOAD";\nconst MAX_CACHE_SIZE = 50;\nconst KEY_TYPE_IDENTIFIER = "aws4_request";\nconst MAX_PRESIGNED_TTL = 60 * 60 * 24 * 7;\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/signature-v4/dist-es/constants.js?')},"./node_modules/@aws-sdk/signature-v4/dist-es/credentialDerivation.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "clearCredentialCache": () => (/* binding */ clearCredentialCache),\n/* harmony export */ "createScope": () => (/* binding */ createScope),\n/* harmony export */ "getSigningKey": () => (/* binding */ getSigningKey)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/util-hex-encoding */ "./node_modules/@aws-sdk/util-hex-encoding/dist-es/index.js");\n/* harmony import */ var _aws_sdk_util_utf8__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/util-utf8 */ "./node_modules/@aws-sdk/util-utf8/dist-es/index.js");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ "./node_modules/@aws-sdk/signature-v4/dist-es/constants.js");\n\n\n\nconst signingKeyCache = {};\nconst cacheQueue = [];\nconst createScope = (shortDate, region, service) => `${shortDate}/${region}/${service}/${_constants__WEBPACK_IMPORTED_MODULE_2__.KEY_TYPE_IDENTIFIER}`;\nconst getSigningKey = async (sha256Constructor, credentials, shortDate, region, service) => {\n const credsHash = await hmac(sha256Constructor, credentials.secretAccessKey, credentials.accessKeyId);\n const cacheKey = `${shortDate}:${region}:${service}:${(0,_aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_0__.toHex)(credsHash)}:${credentials.sessionToken}`;\n if (cacheKey in signingKeyCache) {\n return signingKeyCache[cacheKey];\n }\n cacheQueue.push(cacheKey);\n while (cacheQueue.length > _constants__WEBPACK_IMPORTED_MODULE_2__.MAX_CACHE_SIZE) {\n delete signingKeyCache[cacheQueue.shift()];\n }\n let key = `AWS4${credentials.secretAccessKey}`;\n for (const signable of [shortDate, region, service, _constants__WEBPACK_IMPORTED_MODULE_2__.KEY_TYPE_IDENTIFIER]) {\n key = await hmac(sha256Constructor, key, signable);\n }\n return (signingKeyCache[cacheKey] = key);\n};\nconst clearCredentialCache = () => {\n cacheQueue.length = 0;\n Object.keys(signingKeyCache).forEach((cacheKey) => {\n delete signingKeyCache[cacheKey];\n });\n};\nconst hmac = (ctor, secret, data) => {\n const hash = new ctor(secret);\n hash.update((0,_aws_sdk_util_utf8__WEBPACK_IMPORTED_MODULE_1__.toUint8Array)(data));\n return hash.digest();\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/signature-v4/dist-es/credentialDerivation.js?')},"./node_modules/@aws-sdk/signature-v4/dist-es/getCanonicalHeaders.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getCanonicalHeaders": () => (/* binding */ getCanonicalHeaders)\n/* harmony export */ });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ "./node_modules/@aws-sdk/signature-v4/dist-es/constants.js");\n\nconst getCanonicalHeaders = ({ headers }, unsignableHeaders, signableHeaders) => {\n const canonical = {};\n for (const headerName of Object.keys(headers).sort()) {\n if (headers[headerName] == undefined) {\n continue;\n }\n const canonicalHeaderName = headerName.toLowerCase();\n if (canonicalHeaderName in _constants__WEBPACK_IMPORTED_MODULE_0__.ALWAYS_UNSIGNABLE_HEADERS ||\n unsignableHeaders?.has(canonicalHeaderName) ||\n _constants__WEBPACK_IMPORTED_MODULE_0__.PROXY_HEADER_PATTERN.test(canonicalHeaderName) ||\n _constants__WEBPACK_IMPORTED_MODULE_0__.SEC_HEADER_PATTERN.test(canonicalHeaderName)) {\n if (!signableHeaders || (signableHeaders && !signableHeaders.has(canonicalHeaderName))) {\n continue;\n }\n }\n canonical[canonicalHeaderName] = headers[headerName].trim().replace(/\\s+/g, " ");\n }\n return canonical;\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/signature-v4/dist-es/getCanonicalHeaders.js?')},"./node_modules/@aws-sdk/signature-v4/dist-es/getCanonicalQuery.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getCanonicalQuery": () => (/* binding */ getCanonicalQuery)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_util_uri_escape__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/util-uri-escape */ "./node_modules/@aws-sdk/util-uri-escape/dist-es/index.js");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constants */ "./node_modules/@aws-sdk/signature-v4/dist-es/constants.js");\n\n\nconst getCanonicalQuery = ({ query = {} }) => {\n const keys = [];\n const serialized = {};\n for (const key of Object.keys(query).sort()) {\n if (key.toLowerCase() === _constants__WEBPACK_IMPORTED_MODULE_1__.SIGNATURE_HEADER) {\n continue;\n }\n keys.push(key);\n const value = query[key];\n if (typeof value === "string") {\n serialized[key] = `${(0,_aws_sdk_util_uri_escape__WEBPACK_IMPORTED_MODULE_0__.escapeUri)(key)}=${(0,_aws_sdk_util_uri_escape__WEBPACK_IMPORTED_MODULE_0__.escapeUri)(value)}`;\n }\n else if (Array.isArray(value)) {\n serialized[key] = value\n .slice(0)\n .sort()\n .reduce((encoded, value) => encoded.concat([`${(0,_aws_sdk_util_uri_escape__WEBPACK_IMPORTED_MODULE_0__.escapeUri)(key)}=${(0,_aws_sdk_util_uri_escape__WEBPACK_IMPORTED_MODULE_0__.escapeUri)(value)}`]), [])\n .join("&");\n }\n }\n return keys\n .map((key) => serialized[key])\n .filter((serialized) => serialized)\n .join("&");\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/signature-v4/dist-es/getCanonicalQuery.js?')},"./node_modules/@aws-sdk/signature-v4/dist-es/getPayloadHash.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getPayloadHash": () => (/* binding */ getPayloadHash)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_is_array_buffer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/is-array-buffer */ "./node_modules/@aws-sdk/is-array-buffer/dist-es/index.js");\n/* harmony import */ var _aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/util-hex-encoding */ "./node_modules/@aws-sdk/util-hex-encoding/dist-es/index.js");\n/* harmony import */ var _aws_sdk_util_utf8__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-sdk/util-utf8 */ "./node_modules/@aws-sdk/util-utf8/dist-es/index.js");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./constants */ "./node_modules/@aws-sdk/signature-v4/dist-es/constants.js");\n\n\n\n\nconst getPayloadHash = async ({ headers, body }, hashConstructor) => {\n for (const headerName of Object.keys(headers)) {\n if (headerName.toLowerCase() === _constants__WEBPACK_IMPORTED_MODULE_3__.SHA256_HEADER) {\n return headers[headerName];\n }\n }\n if (body == undefined) {\n return "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";\n }\n else if (typeof body === "string" || ArrayBuffer.isView(body) || (0,_aws_sdk_is_array_buffer__WEBPACK_IMPORTED_MODULE_0__.isArrayBuffer)(body)) {\n const hashCtor = new hashConstructor();\n hashCtor.update((0,_aws_sdk_util_utf8__WEBPACK_IMPORTED_MODULE_2__.toUint8Array)(body));\n return (0,_aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_1__.toHex)(await hashCtor.digest());\n }\n return _constants__WEBPACK_IMPORTED_MODULE_3__.UNSIGNED_PAYLOAD;\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/signature-v4/dist-es/getPayloadHash.js?')},"./node_modules/@aws-sdk/signature-v4/dist-es/headerUtil.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "deleteHeader": () => (/* binding */ deleteHeader),\n/* harmony export */ "getHeaderValue": () => (/* binding */ getHeaderValue),\n/* harmony export */ "hasHeader": () => (/* binding */ hasHeader)\n/* harmony export */ });\nconst hasHeader = (soughtHeader, headers) => {\n soughtHeader = soughtHeader.toLowerCase();\n for (const headerName of Object.keys(headers)) {\n if (soughtHeader === headerName.toLowerCase()) {\n return true;\n }\n }\n return false;\n};\nconst getHeaderValue = (soughtHeader, headers) => {\n soughtHeader = soughtHeader.toLowerCase();\n for (const headerName of Object.keys(headers)) {\n if (soughtHeader === headerName.toLowerCase()) {\n return headers[headerName];\n }\n }\n return undefined;\n};\nconst deleteHeader = (soughtHeader, headers) => {\n soughtHeader = soughtHeader.toLowerCase();\n for (const headerName of Object.keys(headers)) {\n if (soughtHeader === headerName.toLowerCase()) {\n delete headers[headerName];\n }\n }\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/signature-v4/dist-es/headerUtil.js?')},"./node_modules/@aws-sdk/signature-v4/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "SignatureV4": () => (/* reexport safe */ _SignatureV4__WEBPACK_IMPORTED_MODULE_0__.SignatureV4),\n/* harmony export */ "clearCredentialCache": () => (/* reexport safe */ _credentialDerivation__WEBPACK_IMPORTED_MODULE_6__.clearCredentialCache),\n/* harmony export */ "createScope": () => (/* reexport safe */ _credentialDerivation__WEBPACK_IMPORTED_MODULE_6__.createScope),\n/* harmony export */ "getCanonicalHeaders": () => (/* reexport safe */ _getCanonicalHeaders__WEBPACK_IMPORTED_MODULE_1__.getCanonicalHeaders),\n/* harmony export */ "getCanonicalQuery": () => (/* reexport safe */ _getCanonicalQuery__WEBPACK_IMPORTED_MODULE_2__.getCanonicalQuery),\n/* harmony export */ "getPayloadHash": () => (/* reexport safe */ _getPayloadHash__WEBPACK_IMPORTED_MODULE_3__.getPayloadHash),\n/* harmony export */ "getSigningKey": () => (/* reexport safe */ _credentialDerivation__WEBPACK_IMPORTED_MODULE_6__.getSigningKey),\n/* harmony export */ "moveHeadersToQuery": () => (/* reexport safe */ _moveHeadersToQuery__WEBPACK_IMPORTED_MODULE_4__.moveHeadersToQuery),\n/* harmony export */ "prepareRequest": () => (/* reexport safe */ _prepareRequest__WEBPACK_IMPORTED_MODULE_5__.prepareRequest)\n/* harmony export */ });\n/* harmony import */ var _SignatureV4__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SignatureV4 */ "./node_modules/@aws-sdk/signature-v4/dist-es/SignatureV4.js");\n/* harmony import */ var _getCanonicalHeaders__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getCanonicalHeaders */ "./node_modules/@aws-sdk/signature-v4/dist-es/getCanonicalHeaders.js");\n/* harmony import */ var _getCanonicalQuery__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getCanonicalQuery */ "./node_modules/@aws-sdk/signature-v4/dist-es/getCanonicalQuery.js");\n/* harmony import */ var _getPayloadHash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getPayloadHash */ "./node_modules/@aws-sdk/signature-v4/dist-es/getPayloadHash.js");\n/* harmony import */ var _moveHeadersToQuery__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./moveHeadersToQuery */ "./node_modules/@aws-sdk/signature-v4/dist-es/moveHeadersToQuery.js");\n/* harmony import */ var _prepareRequest__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./prepareRequest */ "./node_modules/@aws-sdk/signature-v4/dist-es/prepareRequest.js");\n/* harmony import */ var _credentialDerivation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./credentialDerivation */ "./node_modules/@aws-sdk/signature-v4/dist-es/credentialDerivation.js");\n\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/signature-v4/dist-es/index.js?')},"./node_modules/@aws-sdk/signature-v4/dist-es/moveHeadersToQuery.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "moveHeadersToQuery": () => (/* binding */ moveHeadersToQuery)\n/* harmony export */ });\n/* harmony import */ var _cloneRequest__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cloneRequest */ "./node_modules/@aws-sdk/signature-v4/dist-es/cloneRequest.js");\n\nconst moveHeadersToQuery = (request, options = {}) => {\n const { headers, query = {} } = typeof request.clone === "function" ? request.clone() : (0,_cloneRequest__WEBPACK_IMPORTED_MODULE_0__.cloneRequest)(request);\n for (const name of Object.keys(headers)) {\n const lname = name.toLowerCase();\n if (lname.slice(0, 6) === "x-amz-" && !options.unhoistableHeaders?.has(lname)) {\n query[name] = headers[name];\n delete headers[name];\n }\n }\n return {\n ...request,\n headers,\n query,\n };\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/signature-v4/dist-es/moveHeadersToQuery.js?')},"./node_modules/@aws-sdk/signature-v4/dist-es/prepareRequest.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "prepareRequest": () => (/* binding */ prepareRequest)\n/* harmony export */ });\n/* harmony import */ var _cloneRequest__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cloneRequest */ "./node_modules/@aws-sdk/signature-v4/dist-es/cloneRequest.js");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constants */ "./node_modules/@aws-sdk/signature-v4/dist-es/constants.js");\n\n\nconst prepareRequest = (request) => {\n request = typeof request.clone === "function" ? request.clone() : (0,_cloneRequest__WEBPACK_IMPORTED_MODULE_0__.cloneRequest)(request);\n for (const headerName of Object.keys(request.headers)) {\n if (_constants__WEBPACK_IMPORTED_MODULE_1__.GENERATED_HEADERS.indexOf(headerName.toLowerCase()) > -1) {\n delete request.headers[headerName];\n }\n }\n return request;\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/signature-v4/dist-es/prepareRequest.js?')},"./node_modules/@aws-sdk/signature-v4/dist-es/utilDate.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "iso8601": () => (/* binding */ iso8601),\n/* harmony export */ "toDate": () => (/* binding */ toDate)\n/* harmony export */ });\nconst iso8601 = (time) => toDate(time)\n .toISOString()\n .replace(/\\.\\d{3}Z$/, "Z");\nconst toDate = (time) => {\n if (typeof time === "number") {\n return new Date(time * 1000);\n }\n if (typeof time === "string") {\n if (Number(time)) {\n return new Date(Number(time) * 1000);\n }\n return new Date(time);\n }\n return time;\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/signature-v4/dist-es/utilDate.js?')},"./node_modules/@aws-sdk/smithy-client/dist-es/NoOpLogger.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "NoOpLogger": () => (/* binding */ NoOpLogger)\n/* harmony export */ });\nclass NoOpLogger {\n trace() { }\n debug() { }\n info() { }\n warn() { }\n error() { }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/smithy-client/dist-es/NoOpLogger.js?')},"./node_modules/@aws-sdk/smithy-client/dist-es/client.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "Client": () => (/* binding */ Client)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_stack__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-stack */ "./node_modules/@aws-sdk/middleware-stack/dist-es/index.js");\n\nclass Client {\n constructor(config) {\n this.middlewareStack = (0,_aws_sdk_middleware_stack__WEBPACK_IMPORTED_MODULE_0__.constructStack)();\n this.config = config;\n }\n send(command, optionsOrCb, cb) {\n const options = typeof optionsOrCb !== "function" ? optionsOrCb : undefined;\n const callback = typeof optionsOrCb === "function" ? optionsOrCb : cb;\n const handler = command.resolveMiddleware(this.middlewareStack, this.config, options);\n if (callback) {\n handler(command)\n .then((result) => callback(null, result.output), (err) => callback(err))\n .catch(() => { });\n }\n else {\n return handler(command).then((result) => result.output);\n }\n }\n destroy() {\n if (this.config.requestHandler.destroy)\n this.config.requestHandler.destroy();\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/smithy-client/dist-es/client.js?')},"./node_modules/@aws-sdk/smithy-client/dist-es/command.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "Command": () => (/* binding */ Command)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_middleware_stack__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/middleware-stack */ "./node_modules/@aws-sdk/middleware-stack/dist-es/index.js");\n\nclass Command {\n constructor() {\n this.middlewareStack = (0,_aws_sdk_middleware_stack__WEBPACK_IMPORTED_MODULE_0__.constructStack)();\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/smithy-client/dist-es/command.js?')},"./node_modules/@aws-sdk/smithy-client/dist-es/constants.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "SENSITIVE_STRING": () => (/* binding */ SENSITIVE_STRING)\n/* harmony export */ });\nconst SENSITIVE_STRING = "***SensitiveInformation***";\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/smithy-client/dist-es/constants.js?')},"./node_modules/@aws-sdk/smithy-client/dist-es/date-utils.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "dateToUtcString": () => (/* binding */ dateToUtcString),\n/* harmony export */ "parseEpochTimestamp": () => (/* binding */ parseEpochTimestamp),\n/* harmony export */ "parseRfc3339DateTime": () => (/* binding */ parseRfc3339DateTime),\n/* harmony export */ "parseRfc3339DateTimeWithOffset": () => (/* binding */ parseRfc3339DateTimeWithOffset),\n/* harmony export */ "parseRfc7231DateTime": () => (/* binding */ parseRfc7231DateTime)\n/* harmony export */ });\n/* harmony import */ var _parse_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./parse-utils */ "./node_modules/@aws-sdk/smithy-client/dist-es/parse-utils.js");\n\nconst DAYS = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];\nconst MONTHS = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];\nfunction dateToUtcString(date) {\n const year = date.getUTCFullYear();\n const month = date.getUTCMonth();\n const dayOfWeek = date.getUTCDay();\n const dayOfMonthInt = date.getUTCDate();\n const hoursInt = date.getUTCHours();\n const minutesInt = date.getUTCMinutes();\n const secondsInt = date.getUTCSeconds();\n const dayOfMonthString = dayOfMonthInt < 10 ? `0${dayOfMonthInt}` : `${dayOfMonthInt}`;\n const hoursString = hoursInt < 10 ? `0${hoursInt}` : `${hoursInt}`;\n const minutesString = minutesInt < 10 ? `0${minutesInt}` : `${minutesInt}`;\n const secondsString = secondsInt < 10 ? `0${secondsInt}` : `${secondsInt}`;\n return `${DAYS[dayOfWeek]}, ${dayOfMonthString} ${MONTHS[month]} ${year} ${hoursString}:${minutesString}:${secondsString} GMT`;\n}\nconst RFC3339 = new RegExp(/^(\\d{4})-(\\d{2})-(\\d{2})[tT](\\d{2}):(\\d{2}):(\\d{2})(?:\\.(\\d+))?[zZ]$/);\nconst parseRfc3339DateTime = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n if (typeof value !== "string") {\n throw new TypeError("RFC-3339 date-times must be expressed as strings");\n }\n const match = RFC3339.exec(value);\n if (!match) {\n throw new TypeError("Invalid RFC-3339 date-time value");\n }\n const [_, yearStr, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds] = match;\n const year = (0,_parse_utils__WEBPACK_IMPORTED_MODULE_0__.strictParseShort)(stripLeadingZeroes(yearStr));\n const month = parseDateValue(monthStr, "month", 1, 12);\n const day = parseDateValue(dayStr, "day", 1, 31);\n return buildDate(year, month, day, { hours, minutes, seconds, fractionalMilliseconds });\n};\nconst RFC3339_WITH_OFFSET = new RegExp(/^(\\d{4})-(\\d{2})-(\\d{2})[tT](\\d{2}):(\\d{2}):(\\d{2})(?:\\.(\\d+))?(([-+]\\d{2}\\:\\d{2})|[zZ])$/);\nconst parseRfc3339DateTimeWithOffset = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n if (typeof value !== "string") {\n throw new TypeError("RFC-3339 date-times must be expressed as strings");\n }\n const match = RFC3339_WITH_OFFSET.exec(value);\n if (!match) {\n throw new TypeError("Invalid RFC-3339 date-time value");\n }\n const [_, yearStr, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds, offsetStr] = match;\n const year = (0,_parse_utils__WEBPACK_IMPORTED_MODULE_0__.strictParseShort)(stripLeadingZeroes(yearStr));\n const month = parseDateValue(monthStr, "month", 1, 12);\n const day = parseDateValue(dayStr, "day", 1, 31);\n const date = buildDate(year, month, day, { hours, minutes, seconds, fractionalMilliseconds });\n if (offsetStr.toUpperCase() != "Z") {\n date.setTime(date.getTime() - parseOffsetToMilliseconds(offsetStr));\n }\n return date;\n};\nconst IMF_FIXDATE = new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\\d{4}) (\\d{1,2}):(\\d{2}):(\\d{2})(?:\\.(\\d+))? GMT$/);\nconst RFC_850_DATE = new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\\d{2}) (\\d{1,2}):(\\d{2}):(\\d{2})(?:\\.(\\d+))? GMT$/);\nconst ASC_TIME = new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\\d{2}) (\\d{1,2}):(\\d{2}):(\\d{2})(?:\\.(\\d+))? (\\d{4})$/);\nconst parseRfc7231DateTime = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n if (typeof value !== "string") {\n throw new TypeError("RFC-7231 date-times must be expressed as strings");\n }\n let match = IMF_FIXDATE.exec(value);\n if (match) {\n const [_, dayStr, monthStr, yearStr, hours, minutes, seconds, fractionalMilliseconds] = match;\n return buildDate((0,_parse_utils__WEBPACK_IMPORTED_MODULE_0__.strictParseShort)(stripLeadingZeroes(yearStr)), parseMonthByShortName(monthStr), parseDateValue(dayStr, "day", 1, 31), { hours, minutes, seconds, fractionalMilliseconds });\n }\n match = RFC_850_DATE.exec(value);\n if (match) {\n const [_, dayStr, monthStr, yearStr, hours, minutes, seconds, fractionalMilliseconds] = match;\n return adjustRfc850Year(buildDate(parseTwoDigitYear(yearStr), parseMonthByShortName(monthStr), parseDateValue(dayStr, "day", 1, 31), {\n hours,\n minutes,\n seconds,\n fractionalMilliseconds,\n }));\n }\n match = ASC_TIME.exec(value);\n if (match) {\n const [_, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds, yearStr] = match;\n return buildDate((0,_parse_utils__WEBPACK_IMPORTED_MODULE_0__.strictParseShort)(stripLeadingZeroes(yearStr)), parseMonthByShortName(monthStr), parseDateValue(dayStr.trimLeft(), "day", 1, 31), { hours, minutes, seconds, fractionalMilliseconds });\n }\n throw new TypeError("Invalid RFC-7231 date-time value");\n};\nconst parseEpochTimestamp = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n let valueAsDouble;\n if (typeof value === "number") {\n valueAsDouble = value;\n }\n else if (typeof value === "string") {\n valueAsDouble = (0,_parse_utils__WEBPACK_IMPORTED_MODULE_0__.strictParseDouble)(value);\n }\n else {\n throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");\n }\n if (Number.isNaN(valueAsDouble) || valueAsDouble === Infinity || valueAsDouble === -Infinity) {\n throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");\n }\n return new Date(Math.round(valueAsDouble * 1000));\n};\nconst buildDate = (year, month, day, time) => {\n const adjustedMonth = month - 1;\n validateDayOfMonth(year, adjustedMonth, day);\n return new Date(Date.UTC(year, adjustedMonth, day, parseDateValue(time.hours, "hour", 0, 23), parseDateValue(time.minutes, "minute", 0, 59), parseDateValue(time.seconds, "seconds", 0, 60), parseMilliseconds(time.fractionalMilliseconds)));\n};\nconst parseTwoDigitYear = (value) => {\n const thisYear = new Date().getUTCFullYear();\n const valueInThisCentury = Math.floor(thisYear / 100) * 100 + (0,_parse_utils__WEBPACK_IMPORTED_MODULE_0__.strictParseShort)(stripLeadingZeroes(value));\n if (valueInThisCentury < thisYear) {\n return valueInThisCentury + 100;\n }\n return valueInThisCentury;\n};\nconst FIFTY_YEARS_IN_MILLIS = 50 * 365 * 24 * 60 * 60 * 1000;\nconst adjustRfc850Year = (input) => {\n if (input.getTime() - new Date().getTime() > FIFTY_YEARS_IN_MILLIS) {\n return new Date(Date.UTC(input.getUTCFullYear() - 100, input.getUTCMonth(), input.getUTCDate(), input.getUTCHours(), input.getUTCMinutes(), input.getUTCSeconds(), input.getUTCMilliseconds()));\n }\n return input;\n};\nconst parseMonthByShortName = (value) => {\n const monthIdx = MONTHS.indexOf(value);\n if (monthIdx < 0) {\n throw new TypeError(`Invalid month: ${value}`);\n }\n return monthIdx + 1;\n};\nconst DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];\nconst validateDayOfMonth = (year, month, day) => {\n let maxDays = DAYS_IN_MONTH[month];\n if (month === 1 && isLeapYear(year)) {\n maxDays = 29;\n }\n if (day > maxDays) {\n throw new TypeError(`Invalid day for ${MONTHS[month]} in ${year}: ${day}`);\n }\n};\nconst isLeapYear = (year) => {\n return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);\n};\nconst parseDateValue = (value, type, lower, upper) => {\n const dateVal = (0,_parse_utils__WEBPACK_IMPORTED_MODULE_0__.strictParseByte)(stripLeadingZeroes(value));\n if (dateVal < lower || dateVal > upper) {\n throw new TypeError(`${type} must be between ${lower} and ${upper}, inclusive`);\n }\n return dateVal;\n};\nconst parseMilliseconds = (value) => {\n if (value === null || value === undefined) {\n return 0;\n }\n return (0,_parse_utils__WEBPACK_IMPORTED_MODULE_0__.strictParseFloat32)("0." + value) * 1000;\n};\nconst parseOffsetToMilliseconds = (value) => {\n const directionStr = value[0];\n let direction = 1;\n if (directionStr == "+") {\n direction = 1;\n }\n else if (directionStr == "-") {\n direction = -1;\n }\n else {\n throw new TypeError(`Offset direction, ${directionStr}, must be "+" or "-"`);\n }\n const hour = Number(value.substring(1, 3));\n const minute = Number(value.substring(4, 6));\n return direction * (hour * 60 + minute) * 60 * 1000;\n};\nconst stripLeadingZeroes = (value) => {\n let idx = 0;\n while (idx < value.length - 1 && value.charAt(idx) === "0") {\n idx++;\n }\n if (idx === 0) {\n return value;\n }\n return value.slice(idx);\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/smithy-client/dist-es/date-utils.js?')},"./node_modules/@aws-sdk/smithy-client/dist-es/default-error-handler.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "throwDefaultError": () => (/* binding */ throwDefaultError)\n/* harmony export */ });\n/* harmony import */ var _exceptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./exceptions */ "./node_modules/@aws-sdk/smithy-client/dist-es/exceptions.js");\n\nconst throwDefaultError = ({ output, parsedBody, exceptionCtor, errorCode }) => {\n const $metadata = deserializeMetadata(output);\n const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;\n const response = new exceptionCtor({\n name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknownError",\n $fault: "client",\n $metadata,\n });\n throw (0,_exceptions__WEBPACK_IMPORTED_MODULE_0__.decorateServiceException)(response, parsedBody);\n};\nconst deserializeMetadata = (output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],\n extendedRequestId: output.headers["x-amz-id-2"],\n cfId: output.headers["x-amz-cf-id"],\n});\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/smithy-client/dist-es/default-error-handler.js?')},"./node_modules/@aws-sdk/smithy-client/dist-es/defaults-mode.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "loadConfigsForDefaultMode": () => (/* binding */ loadConfigsForDefaultMode)\n/* harmony export */ });\nconst loadConfigsForDefaultMode = (mode) => {\n switch (mode) {\n case "standard":\n return {\n retryMode: "standard",\n connectionTimeout: 3100,\n };\n case "in-region":\n return {\n retryMode: "standard",\n connectionTimeout: 1100,\n };\n case "cross-region":\n return {\n retryMode: "standard",\n connectionTimeout: 3100,\n };\n case "mobile":\n return {\n retryMode: "standard",\n connectionTimeout: 30000,\n };\n default:\n return {};\n }\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/smithy-client/dist-es/defaults-mode.js?')},"./node_modules/@aws-sdk/smithy-client/dist-es/emitWarningIfUnsupportedVersion.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "emitWarningIfUnsupportedVersion": () => (/* binding */ emitWarningIfUnsupportedVersion)\n/* harmony export */ });\nlet warningEmitted = false;\nconst emitWarningIfUnsupportedVersion = (version) => {\n if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 14) {\n warningEmitted = true;\n }\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/smithy-client/dist-es/emitWarningIfUnsupportedVersion.js?')},"./node_modules/@aws-sdk/smithy-client/dist-es/exceptions.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "ServiceException": () => (/* binding */ ServiceException),\n/* harmony export */ "decorateServiceException": () => (/* binding */ decorateServiceException)\n/* harmony export */ });\nclass ServiceException extends Error {\n constructor(options) {\n super(options.message);\n Object.setPrototypeOf(this, ServiceException.prototype);\n this.name = options.name;\n this.$fault = options.$fault;\n this.$metadata = options.$metadata;\n }\n}\nconst decorateServiceException = (exception, additions = {}) => {\n Object.entries(additions)\n .filter(([, v]) => v !== undefined)\n .forEach(([k, v]) => {\n if (exception[k] == undefined || exception[k] === "") {\n exception[k] = v;\n }\n });\n const message = exception.message || exception.Message || "UnknownError";\n exception.message = message;\n delete exception.Message;\n return exception;\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/smithy-client/dist-es/exceptions.js?')},"./node_modules/@aws-sdk/smithy-client/dist-es/extended-encode-uri-component.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "extendedEncodeURIComponent": () => (/* binding */ extendedEncodeURIComponent)\n/* harmony export */ });\nfunction extendedEncodeURIComponent(str) {\n return encodeURIComponent(str).replace(/[!\'()*]/g, function (c) {\n return "%" + c.charCodeAt(0).toString(16).toUpperCase();\n });\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/smithy-client/dist-es/extended-encode-uri-component.js?')},"./node_modules/@aws-sdk/smithy-client/dist-es/get-array-if-single-item.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getArrayIfSingleItem": () => (/* binding */ getArrayIfSingleItem)\n/* harmony export */ });\nconst getArrayIfSingleItem = (mayBeArray) => Array.isArray(mayBeArray) ? mayBeArray : [mayBeArray];\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/smithy-client/dist-es/get-array-if-single-item.js?')},"./node_modules/@aws-sdk/smithy-client/dist-es/get-value-from-text-node.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getValueFromTextNode": () => (/* binding */ getValueFromTextNode)\n/* harmony export */ });\nconst getValueFromTextNode = (obj) => {\n const textNodeName = "#text";\n for (const key in obj) {\n if (obj.hasOwnProperty(key) && obj[key][textNodeName] !== undefined) {\n obj[key] = obj[key][textNodeName];\n }\n else if (typeof obj[key] === "object" && obj[key] !== null) {\n obj[key] = getValueFromTextNode(obj[key]);\n }\n }\n return obj;\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/smithy-client/dist-es/get-value-from-text-node.js?')},"./node_modules/@aws-sdk/smithy-client/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "Client": () => (/* reexport safe */ _client__WEBPACK_IMPORTED_MODULE_1__.Client),\n/* harmony export */ "Command": () => (/* reexport safe */ _command__WEBPACK_IMPORTED_MODULE_2__.Command),\n/* harmony export */ "LazyJsonString": () => (/* reexport safe */ _lazy_json__WEBPACK_IMPORTED_MODULE_12__.LazyJsonString),\n/* harmony export */ "NoOpLogger": () => (/* reexport safe */ _NoOpLogger__WEBPACK_IMPORTED_MODULE_0__.NoOpLogger),\n/* harmony export */ "SENSITIVE_STRING": () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_3__.SENSITIVE_STRING),\n/* harmony export */ "ServiceException": () => (/* reexport safe */ _exceptions__WEBPACK_IMPORTED_MODULE_8__.ServiceException),\n/* harmony export */ "StringWrapper": () => (/* reexport safe */ _lazy_json__WEBPACK_IMPORTED_MODULE_12__.StringWrapper),\n/* harmony export */ "convertMap": () => (/* reexport safe */ _object_mapping__WEBPACK_IMPORTED_MODULE_13__.convertMap),\n/* harmony export */ "dateToUtcString": () => (/* reexport safe */ _date_utils__WEBPACK_IMPORTED_MODULE_4__.dateToUtcString),\n/* harmony export */ "decorateServiceException": () => (/* reexport safe */ _exceptions__WEBPACK_IMPORTED_MODULE_8__.decorateServiceException),\n/* harmony export */ "emitWarningIfUnsupportedVersion": () => (/* reexport safe */ _emitWarningIfUnsupportedVersion__WEBPACK_IMPORTED_MODULE_7__.emitWarningIfUnsupportedVersion),\n/* harmony export */ "expectBoolean": () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_14__.expectBoolean),\n/* harmony export */ "expectByte": () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_14__.expectByte),\n/* harmony export */ "expectFloat32": () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_14__.expectFloat32),\n/* harmony export */ "expectInt": () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_14__.expectInt),\n/* harmony export */ "expectInt32": () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_14__.expectInt32),\n/* harmony export */ "expectLong": () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_14__.expectLong),\n/* harmony export */ "expectNonNull": () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_14__.expectNonNull),\n/* harmony export */ "expectNumber": () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_14__.expectNumber),\n/* harmony export */ "expectObject": () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_14__.expectObject),\n/* harmony export */ "expectShort": () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_14__.expectShort),\n/* harmony export */ "expectString": () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_14__.expectString),\n/* harmony export */ "expectUnion": () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_14__.expectUnion),\n/* harmony export */ "extendedEncodeURIComponent": () => (/* reexport safe */ _extended_encode_uri_component__WEBPACK_IMPORTED_MODULE_9__.extendedEncodeURIComponent),\n/* harmony export */ "getArrayIfSingleItem": () => (/* reexport safe */ _get_array_if_single_item__WEBPACK_IMPORTED_MODULE_10__.getArrayIfSingleItem),\n/* harmony export */ "getValueFromTextNode": () => (/* reexport safe */ _get_value_from_text_node__WEBPACK_IMPORTED_MODULE_11__.getValueFromTextNode),\n/* harmony export */ "handleFloat": () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_14__.handleFloat),\n/* harmony export */ "limitedParseDouble": () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_14__.limitedParseDouble),\n/* harmony export */ "limitedParseFloat": () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_14__.limitedParseFloat),\n/* harmony export */ "limitedParseFloat32": () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_14__.limitedParseFloat32),\n/* harmony export */ "loadConfigsForDefaultMode": () => (/* reexport safe */ _defaults_mode__WEBPACK_IMPORTED_MODULE_6__.loadConfigsForDefaultMode),\n/* harmony export */ "logger": () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_14__.logger),\n/* harmony export */ "map": () => (/* reexport safe */ _object_mapping__WEBPACK_IMPORTED_MODULE_13__.map),\n/* harmony export */ "parseBoolean": () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_14__.parseBoolean),\n/* harmony export */ "parseEpochTimestamp": () => (/* reexport safe */ _date_utils__WEBPACK_IMPORTED_MODULE_4__.parseEpochTimestamp),\n/* harmony export */ "parseRfc3339DateTime": () => (/* reexport safe */ _date_utils__WEBPACK_IMPORTED_MODULE_4__.parseRfc3339DateTime),\n/* harmony export */ "parseRfc3339DateTimeWithOffset": () => (/* reexport safe */ _date_utils__WEBPACK_IMPORTED_MODULE_4__.parseRfc3339DateTimeWithOffset),\n/* harmony export */ "parseRfc7231DateTime": () => (/* reexport safe */ _date_utils__WEBPACK_IMPORTED_MODULE_4__.parseRfc7231DateTime),\n/* harmony export */ "resolvedPath": () => (/* reexport safe */ _resolve_path__WEBPACK_IMPORTED_MODULE_15__.resolvedPath),\n/* harmony export */ "serializeFloat": () => (/* reexport safe */ _ser_utils__WEBPACK_IMPORTED_MODULE_16__.serializeFloat),\n/* harmony export */ "splitEvery": () => (/* reexport safe */ _split_every__WEBPACK_IMPORTED_MODULE_17__.splitEvery),\n/* harmony export */ "strictParseByte": () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_14__.strictParseByte),\n/* harmony export */ "strictParseDouble": () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_14__.strictParseDouble),\n/* harmony export */ "strictParseFloat": () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_14__.strictParseFloat),\n/* harmony export */ "strictParseFloat32": () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_14__.strictParseFloat32),\n/* harmony export */ "strictParseInt": () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_14__.strictParseInt),\n/* harmony export */ "strictParseInt32": () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_14__.strictParseInt32),\n/* harmony export */ "strictParseLong": () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_14__.strictParseLong),\n/* harmony export */ "strictParseShort": () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_14__.strictParseShort),\n/* harmony export */ "throwDefaultError": () => (/* reexport safe */ _default_error_handler__WEBPACK_IMPORTED_MODULE_5__.throwDefaultError)\n/* harmony export */ });\n/* harmony import */ var _NoOpLogger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./NoOpLogger */ "./node_modules/@aws-sdk/smithy-client/dist-es/NoOpLogger.js");\n/* harmony import */ var _client__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./client */ "./node_modules/@aws-sdk/smithy-client/dist-es/client.js");\n/* harmony import */ var _command__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./command */ "./node_modules/@aws-sdk/smithy-client/dist-es/command.js");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./constants */ "./node_modules/@aws-sdk/smithy-client/dist-es/constants.js");\n/* harmony import */ var _date_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./date-utils */ "./node_modules/@aws-sdk/smithy-client/dist-es/date-utils.js");\n/* harmony import */ var _default_error_handler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./default-error-handler */ "./node_modules/@aws-sdk/smithy-client/dist-es/default-error-handler.js");\n/* harmony import */ var _defaults_mode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./defaults-mode */ "./node_modules/@aws-sdk/smithy-client/dist-es/defaults-mode.js");\n/* harmony import */ var _emitWarningIfUnsupportedVersion__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./emitWarningIfUnsupportedVersion */ "./node_modules/@aws-sdk/smithy-client/dist-es/emitWarningIfUnsupportedVersion.js");\n/* harmony import */ var _exceptions__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./exceptions */ "./node_modules/@aws-sdk/smithy-client/dist-es/exceptions.js");\n/* harmony import */ var _extended_encode_uri_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./extended-encode-uri-component */ "./node_modules/@aws-sdk/smithy-client/dist-es/extended-encode-uri-component.js");\n/* harmony import */ var _get_array_if_single_item__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./get-array-if-single-item */ "./node_modules/@aws-sdk/smithy-client/dist-es/get-array-if-single-item.js");\n/* harmony import */ var _get_value_from_text_node__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./get-value-from-text-node */ "./node_modules/@aws-sdk/smithy-client/dist-es/get-value-from-text-node.js");\n/* harmony import */ var _lazy_json__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./lazy-json */ "./node_modules/@aws-sdk/smithy-client/dist-es/lazy-json.js");\n/* harmony import */ var _object_mapping__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./object-mapping */ "./node_modules/@aws-sdk/smithy-client/dist-es/object-mapping.js");\n/* harmony import */ var _parse_utils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./parse-utils */ "./node_modules/@aws-sdk/smithy-client/dist-es/parse-utils.js");\n/* harmony import */ var _resolve_path__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./resolve-path */ "./node_modules/@aws-sdk/smithy-client/dist-es/resolve-path.js");\n/* harmony import */ var _ser_utils__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./ser-utils */ "./node_modules/@aws-sdk/smithy-client/dist-es/ser-utils.js");\n/* harmony import */ var _split_every__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./split-every */ "./node_modules/@aws-sdk/smithy-client/dist-es/split-every.js");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/smithy-client/dist-es/index.js?')},"./node_modules/@aws-sdk/smithy-client/dist-es/lazy-json.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "LazyJsonString": () => (/* binding */ LazyJsonString),\n/* harmony export */ "StringWrapper": () => (/* binding */ StringWrapper)\n/* harmony export */ });\nconst StringWrapper = function () {\n const Class = Object.getPrototypeOf(this).constructor;\n const Constructor = Function.bind.apply(String, [null, ...arguments]);\n const instance = new Constructor();\n Object.setPrototypeOf(instance, Class.prototype);\n return instance;\n};\nStringWrapper.prototype = Object.create(String.prototype, {\n constructor: {\n value: StringWrapper,\n enumerable: false,\n writable: true,\n configurable: true,\n },\n});\nObject.setPrototypeOf(StringWrapper, String);\nclass LazyJsonString extends StringWrapper {\n deserializeJSON() {\n return JSON.parse(super.toString());\n }\n toJSON() {\n return super.toString();\n }\n static fromObject(object) {\n if (object instanceof LazyJsonString) {\n return object;\n }\n else if (object instanceof String || typeof object === "string") {\n return new LazyJsonString(object);\n }\n return new LazyJsonString(JSON.stringify(object));\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/smithy-client/dist-es/lazy-json.js?')},"./node_modules/@aws-sdk/smithy-client/dist-es/object-mapping.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "convertMap": () => (/* binding */ convertMap),\n/* harmony export */ "map": () => (/* binding */ map)\n/* harmony export */ });\nfunction map(arg0, arg1, arg2) {\n let target;\n let filter;\n let instructions;\n if (typeof arg1 === "undefined" && typeof arg2 === "undefined") {\n target = {};\n instructions = arg0;\n }\n else {\n target = arg0;\n if (typeof arg1 === "function") {\n filter = arg1;\n instructions = arg2;\n return mapWithFilter(target, filter, instructions);\n }\n else {\n instructions = arg1;\n }\n }\n for (const key of Object.keys(instructions)) {\n if (!Array.isArray(instructions[key])) {\n target[key] = instructions[key];\n continue;\n }\n let [filter, value] = instructions[key];\n if (typeof value === "function") {\n let _value;\n const defaultFilterPassed = filter === undefined && (_value = value()) != null;\n const customFilterPassed = (typeof filter === "function" && !!filter(void 0)) || (typeof filter !== "function" && !!filter);\n if (defaultFilterPassed) {\n target[key] = _value;\n }\n else if (customFilterPassed) {\n target[key] = value();\n }\n }\n else {\n const defaultFilterPassed = filter === undefined && value != null;\n const customFilterPassed = (typeof filter === "function" && !!filter(value)) || (typeof filter !== "function" && !!filter);\n if (defaultFilterPassed || customFilterPassed) {\n target[key] = value;\n }\n }\n }\n return target;\n}\nconst convertMap = (target) => {\n const output = {};\n for (const [k, v] of Object.entries(target || {})) {\n output[k] = [, v];\n }\n return output;\n};\nconst mapWithFilter = (target, filter, instructions) => {\n return map(target, Object.entries(instructions).reduce((_instructions, [key, value]) => {\n if (Array.isArray(value)) {\n _instructions[key] = value;\n }\n else {\n if (typeof value === "function") {\n _instructions[key] = [filter, value()];\n }\n else {\n _instructions[key] = [filter, value];\n }\n }\n return _instructions;\n }, {}));\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/smithy-client/dist-es/object-mapping.js?')},"./node_modules/@aws-sdk/smithy-client/dist-es/parse-utils.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "expectBoolean": () => (/* binding */ expectBoolean),\n/* harmony export */ "expectByte": () => (/* binding */ expectByte),\n/* harmony export */ "expectFloat32": () => (/* binding */ expectFloat32),\n/* harmony export */ "expectInt": () => (/* binding */ expectInt),\n/* harmony export */ "expectInt32": () => (/* binding */ expectInt32),\n/* harmony export */ "expectLong": () => (/* binding */ expectLong),\n/* harmony export */ "expectNonNull": () => (/* binding */ expectNonNull),\n/* harmony export */ "expectNumber": () => (/* binding */ expectNumber),\n/* harmony export */ "expectObject": () => (/* binding */ expectObject),\n/* harmony export */ "expectShort": () => (/* binding */ expectShort),\n/* harmony export */ "expectString": () => (/* binding */ expectString),\n/* harmony export */ "expectUnion": () => (/* binding */ expectUnion),\n/* harmony export */ "handleFloat": () => (/* binding */ handleFloat),\n/* harmony export */ "limitedParseDouble": () => (/* binding */ limitedParseDouble),\n/* harmony export */ "limitedParseFloat": () => (/* binding */ limitedParseFloat),\n/* harmony export */ "limitedParseFloat32": () => (/* binding */ limitedParseFloat32),\n/* harmony export */ "logger": () => (/* binding */ logger),\n/* harmony export */ "parseBoolean": () => (/* binding */ parseBoolean),\n/* harmony export */ "strictParseByte": () => (/* binding */ strictParseByte),\n/* harmony export */ "strictParseDouble": () => (/* binding */ strictParseDouble),\n/* harmony export */ "strictParseFloat": () => (/* binding */ strictParseFloat),\n/* harmony export */ "strictParseFloat32": () => (/* binding */ strictParseFloat32),\n/* harmony export */ "strictParseInt": () => (/* binding */ strictParseInt),\n/* harmony export */ "strictParseInt32": () => (/* binding */ strictParseInt32),\n/* harmony export */ "strictParseLong": () => (/* binding */ strictParseLong),\n/* harmony export */ "strictParseShort": () => (/* binding */ strictParseShort)\n/* harmony export */ });\nconst parseBoolean = (value) => {\n switch (value) {\n case "true":\n return true;\n case "false":\n return false;\n default:\n throw new Error(`Unable to parse boolean value "${value}"`);\n }\n};\nconst expectBoolean = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n if (typeof value === "number") {\n if (value === 0 || value === 1) {\n logger.warn(stackTraceWarning(`Expected boolean, got ${typeof value}: ${value}`));\n }\n if (value === 0) {\n return false;\n }\n if (value === 1) {\n return true;\n }\n }\n if (typeof value === "string") {\n const lower = value.toLowerCase();\n if (lower === "false" || lower === "true") {\n logger.warn(stackTraceWarning(`Expected boolean, got ${typeof value}: ${value}`));\n }\n if (lower === "false") {\n return false;\n }\n if (lower === "true") {\n return true;\n }\n }\n if (typeof value === "boolean") {\n return value;\n }\n throw new TypeError(`Expected boolean, got ${typeof value}: ${value}`);\n};\nconst expectNumber = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n if (typeof value === "string") {\n const parsed = parseFloat(value);\n if (!Number.isNaN(parsed)) {\n if (String(parsed) !== String(value)) {\n logger.warn(stackTraceWarning(`Expected number but observed string: ${value}`));\n }\n return parsed;\n }\n }\n if (typeof value === "number") {\n return value;\n }\n throw new TypeError(`Expected number, got ${typeof value}: ${value}`);\n};\nconst MAX_FLOAT = Math.ceil(2 ** 127 * (2 - 2 ** -23));\nconst expectFloat32 = (value) => {\n const expected = expectNumber(value);\n if (expected !== undefined && !Number.isNaN(expected) && expected !== Infinity && expected !== -Infinity) {\n if (Math.abs(expected) > MAX_FLOAT) {\n throw new TypeError(`Expected 32-bit float, got ${value}`);\n }\n }\n return expected;\n};\nconst expectLong = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n if (Number.isInteger(value) && !Number.isNaN(value)) {\n return value;\n }\n throw new TypeError(`Expected integer, got ${typeof value}: ${value}`);\n};\nconst expectInt = expectLong;\nconst expectInt32 = (value) => expectSizedInt(value, 32);\nconst expectShort = (value) => expectSizedInt(value, 16);\nconst expectByte = (value) => expectSizedInt(value, 8);\nconst expectSizedInt = (value, size) => {\n const expected = expectLong(value);\n if (expected !== undefined && castInt(expected, size) !== expected) {\n throw new TypeError(`Expected ${size}-bit integer, got ${value}`);\n }\n return expected;\n};\nconst castInt = (value, size) => {\n switch (size) {\n case 32:\n return Int32Array.of(value)[0];\n case 16:\n return Int16Array.of(value)[0];\n case 8:\n return Int8Array.of(value)[0];\n }\n};\nconst expectNonNull = (value, location) => {\n if (value === null || value === undefined) {\n if (location) {\n throw new TypeError(`Expected a non-null value for ${location}`);\n }\n throw new TypeError("Expected a non-null value");\n }\n return value;\n};\nconst expectObject = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n if (typeof value === "object" && !Array.isArray(value)) {\n return value;\n }\n const receivedType = Array.isArray(value) ? "array" : typeof value;\n throw new TypeError(`Expected object, got ${receivedType}: ${value}`);\n};\nconst expectString = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n if (typeof value === "string") {\n return value;\n }\n if (["boolean", "number", "bigint"].includes(typeof value)) {\n logger.warn(stackTraceWarning(`Expected string, got ${typeof value}: ${value}`));\n return String(value);\n }\n throw new TypeError(`Expected string, got ${typeof value}: ${value}`);\n};\nconst expectUnion = (value) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n const asObject = expectObject(value);\n const setKeys = Object.entries(asObject)\n .filter(([, v]) => v != null)\n .map(([k]) => k);\n if (setKeys.length === 0) {\n throw new TypeError(`Unions must have exactly one non-null member. None were found.`);\n }\n if (setKeys.length > 1) {\n throw new TypeError(`Unions must have exactly one non-null member. Keys ${setKeys} were not null.`);\n }\n return asObject;\n};\nconst strictParseDouble = (value) => {\n if (typeof value == "string") {\n return expectNumber(parseNumber(value));\n }\n return expectNumber(value);\n};\nconst strictParseFloat = strictParseDouble;\nconst strictParseFloat32 = (value) => {\n if (typeof value == "string") {\n return expectFloat32(parseNumber(value));\n }\n return expectFloat32(value);\n};\nconst NUMBER_REGEX = /(-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)|(-?Infinity)|(NaN)/g;\nconst parseNumber = (value) => {\n const matches = value.match(NUMBER_REGEX);\n if (matches === null || matches[0].length !== value.length) {\n throw new TypeError(`Expected real number, got implicit NaN`);\n }\n return parseFloat(value);\n};\nconst limitedParseDouble = (value) => {\n if (typeof value == "string") {\n return parseFloatString(value);\n }\n return expectNumber(value);\n};\nconst handleFloat = limitedParseDouble;\nconst limitedParseFloat = limitedParseDouble;\nconst limitedParseFloat32 = (value) => {\n if (typeof value == "string") {\n return parseFloatString(value);\n }\n return expectFloat32(value);\n};\nconst parseFloatString = (value) => {\n switch (value) {\n case "NaN":\n return NaN;\n case "Infinity":\n return Infinity;\n case "-Infinity":\n return -Infinity;\n default:\n throw new Error(`Unable to parse float value: ${value}`);\n }\n};\nconst strictParseLong = (value) => {\n if (typeof value === "string") {\n return expectLong(parseNumber(value));\n }\n return expectLong(value);\n};\nconst strictParseInt = strictParseLong;\nconst strictParseInt32 = (value) => {\n if (typeof value === "string") {\n return expectInt32(parseNumber(value));\n }\n return expectInt32(value);\n};\nconst strictParseShort = (value) => {\n if (typeof value === "string") {\n return expectShort(parseNumber(value));\n }\n return expectShort(value);\n};\nconst strictParseByte = (value) => {\n if (typeof value === "string") {\n return expectByte(parseNumber(value));\n }\n return expectByte(value);\n};\nconst stackTraceWarning = (message) => {\n return String(new TypeError(message).stack || message)\n .split("\\n")\n .slice(0, 5)\n .filter((s) => !s.includes("stackTraceWarning"))\n .join("\\n");\n};\nconst logger = {\n warn: console.warn,\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/smithy-client/dist-es/parse-utils.js?')},"./node_modules/@aws-sdk/smithy-client/dist-es/resolve-path.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "resolvedPath": () => (/* binding */ resolvedPath)\n/* harmony export */ });\n/* harmony import */ var _extended_encode_uri_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./extended-encode-uri-component */ "./node_modules/@aws-sdk/smithy-client/dist-es/extended-encode-uri-component.js");\n\nconst resolvedPath = (resolvedPath, input, memberName, labelValueProvider, uriLabel, isGreedyLabel) => {\n if (input != null && input[memberName] !== undefined) {\n const labelValue = labelValueProvider();\n if (labelValue.length <= 0) {\n throw new Error("Empty value provided for input HTTP label: " + memberName + ".");\n }\n resolvedPath = resolvedPath.replace(uriLabel, isGreedyLabel\n ? labelValue\n .split("/")\n .map((segment) => (0,_extended_encode_uri_component__WEBPACK_IMPORTED_MODULE_0__.extendedEncodeURIComponent)(segment))\n .join("/")\n : (0,_extended_encode_uri_component__WEBPACK_IMPORTED_MODULE_0__.extendedEncodeURIComponent)(labelValue));\n }\n else {\n throw new Error("No value provided for input HTTP label: " + memberName + ".");\n }\n return resolvedPath;\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/smithy-client/dist-es/resolve-path.js?')},"./node_modules/@aws-sdk/smithy-client/dist-es/ser-utils.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "serializeFloat": () => (/* binding */ serializeFloat)\n/* harmony export */ });\nconst serializeFloat = (value) => {\n if (value !== value) {\n return "NaN";\n }\n switch (value) {\n case Infinity:\n return "Infinity";\n case -Infinity:\n return "-Infinity";\n default:\n return value;\n }\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/smithy-client/dist-es/ser-utils.js?')},"./node_modules/@aws-sdk/smithy-client/dist-es/split-every.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "splitEvery": () => (/* binding */ splitEvery)\n/* harmony export */ });\nfunction splitEvery(value, delimiter, numDelimiters) {\n if (numDelimiters <= 0 || !Number.isInteger(numDelimiters)) {\n throw new Error("Invalid number of delimiters (" + numDelimiters + ") for splitEvery.");\n }\n const segments = value.split(delimiter);\n if (numDelimiters === 1) {\n return segments;\n }\n const compoundSegments = [];\n let currentSegment = "";\n for (let i = 0; i < segments.length; i++) {\n if (currentSegment === "") {\n currentSegment = segments[i];\n }\n else {\n currentSegment += delimiter + segments[i];\n }\n if ((i + 1) % numDelimiters === 0) {\n compoundSegments.push(currentSegment);\n currentSegment = "";\n }\n }\n if (currentSegment !== "") {\n compoundSegments.push(currentSegment);\n }\n return compoundSegments;\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/smithy-client/dist-es/split-every.js?')},"./node_modules/@aws-sdk/types/dist-es/abort.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/abort.js?")},"./node_modules/@aws-sdk/types/dist-es/auth.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "HttpAuthLocation": () => (/* binding */ HttpAuthLocation)\n/* harmony export */ });\nvar HttpAuthLocation;\n(function (HttpAuthLocation) {\n HttpAuthLocation["HEADER"] = "header";\n HttpAuthLocation["QUERY"] = "query";\n})(HttpAuthLocation || (HttpAuthLocation = {}));\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/auth.js?')},"./node_modules/@aws-sdk/types/dist-es/checksum.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/checksum.js?")},"./node_modules/@aws-sdk/types/dist-es/client.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/client.js?")},"./node_modules/@aws-sdk/types/dist-es/command.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/command.js?")},"./node_modules/@aws-sdk/types/dist-es/credentials.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/credentials.js?")},"./node_modules/@aws-sdk/types/dist-es/crypto.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/crypto.js?")},"./node_modules/@aws-sdk/types/dist-es/dns.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "HostAddressType": () => (/* binding */ HostAddressType)\n/* harmony export */ });\nvar HostAddressType;\n(function (HostAddressType) {\n HostAddressType["AAAA"] = "AAAA";\n HostAddressType["A"] = "A";\n})(HostAddressType || (HostAddressType = {}));\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/dns.js?')},"./node_modules/@aws-sdk/types/dist-es/endpoint.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "EndpointURLScheme": () => (/* binding */ EndpointURLScheme)\n/* harmony export */ });\nvar EndpointURLScheme;\n(function (EndpointURLScheme) {\n EndpointURLScheme["HTTP"] = "http";\n EndpointURLScheme["HTTPS"] = "https";\n})(EndpointURLScheme || (EndpointURLScheme = {}));\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/endpoint.js?')},"./node_modules/@aws-sdk/types/dist-es/eventStream.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/eventStream.js?")},"./node_modules/@aws-sdk/types/dist-es/http.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/http.js?")},"./node_modules/@aws-sdk/types/dist-es/identity/AnonymousIdentity.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/identity/AnonymousIdentity.js?")},"./node_modules/@aws-sdk/types/dist-es/identity/AwsCredentialIdentity.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/identity/AwsCredentialIdentity.js?")},"./node_modules/@aws-sdk/types/dist-es/identity/Identity.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n;\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/identity/Identity.js?")},"./node_modules/@aws-sdk/types/dist-es/identity/LoginIdentity.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/identity/LoginIdentity.js?")},"./node_modules/@aws-sdk/types/dist-es/identity/TokenIdentity.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/identity/TokenIdentity.js?")},"./node_modules/@aws-sdk/types/dist-es/identity/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _AnonymousIdentity__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AnonymousIdentity */ "./node_modules/@aws-sdk/types/dist-es/identity/AnonymousIdentity.js");\n/* harmony import */ var _AwsCredentialIdentity__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AwsCredentialIdentity */ "./node_modules/@aws-sdk/types/dist-es/identity/AwsCredentialIdentity.js");\n/* harmony import */ var _Identity__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Identity */ "./node_modules/@aws-sdk/types/dist-es/identity/Identity.js");\n/* harmony import */ var _LoginIdentity__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./LoginIdentity */ "./node_modules/@aws-sdk/types/dist-es/identity/LoginIdentity.js");\n/* harmony import */ var _TokenIdentity__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./TokenIdentity */ "./node_modules/@aws-sdk/types/dist-es/identity/TokenIdentity.js");\n\n\n\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/identity/index.js?')},"./node_modules/@aws-sdk/types/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "EndpointURLScheme": () => (/* reexport safe */ _endpoint__WEBPACK_IMPORTED_MODULE_8__.EndpointURLScheme),\n/* harmony export */ "HostAddressType": () => (/* reexport safe */ _dns__WEBPACK_IMPORTED_MODULE_7__.HostAddressType),\n/* harmony export */ "HttpAuthLocation": () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_1__.HttpAuthLocation)\n/* harmony export */ });\n/* harmony import */ var _abort__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./abort */ "./node_modules/@aws-sdk/types/dist-es/abort.js");\n/* harmony import */ var _auth__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./auth */ "./node_modules/@aws-sdk/types/dist-es/auth.js");\n/* harmony import */ var _checksum__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./checksum */ "./node_modules/@aws-sdk/types/dist-es/checksum.js");\n/* harmony import */ var _client__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./client */ "./node_modules/@aws-sdk/types/dist-es/client.js");\n/* harmony import */ var _command__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./command */ "./node_modules/@aws-sdk/types/dist-es/command.js");\n/* harmony import */ var _credentials__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./credentials */ "./node_modules/@aws-sdk/types/dist-es/credentials.js");\n/* harmony import */ var _crypto__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./crypto */ "./node_modules/@aws-sdk/types/dist-es/crypto.js");\n/* harmony import */ var _dns__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./dns */ "./node_modules/@aws-sdk/types/dist-es/dns.js");\n/* harmony import */ var _endpoint__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./endpoint */ "./node_modules/@aws-sdk/types/dist-es/endpoint.js");\n/* harmony import */ var _eventStream__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./eventStream */ "./node_modules/@aws-sdk/types/dist-es/eventStream.js");\n/* harmony import */ var _http__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./http */ "./node_modules/@aws-sdk/types/dist-es/http.js");\n/* harmony import */ var _identity__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./identity */ "./node_modules/@aws-sdk/types/dist-es/identity/index.js");\n/* harmony import */ var _logger__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./logger */ "./node_modules/@aws-sdk/types/dist-es/logger.js");\n/* harmony import */ var _middleware__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./middleware */ "./node_modules/@aws-sdk/types/dist-es/middleware.js");\n/* harmony import */ var _pagination__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./pagination */ "./node_modules/@aws-sdk/types/dist-es/pagination.js");\n/* harmony import */ var _profile__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./profile */ "./node_modules/@aws-sdk/types/dist-es/profile.js");\n/* harmony import */ var _request__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./request */ "./node_modules/@aws-sdk/types/dist-es/request.js");\n/* harmony import */ var _response__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./response */ "./node_modules/@aws-sdk/types/dist-es/response.js");\n/* harmony import */ var _retry__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./retry */ "./node_modules/@aws-sdk/types/dist-es/retry.js");\n/* harmony import */ var _serde__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./serde */ "./node_modules/@aws-sdk/types/dist-es/serde.js");\n/* harmony import */ var _shapes__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./shapes */ "./node_modules/@aws-sdk/types/dist-es/shapes.js");\n/* harmony import */ var _signature__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./signature */ "./node_modules/@aws-sdk/types/dist-es/signature.js");\n/* harmony import */ var _stream__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./stream */ "./node_modules/@aws-sdk/types/dist-es/stream.js");\n/* harmony import */ var _token__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./token */ "./node_modules/@aws-sdk/types/dist-es/token.js");\n/* harmony import */ var _transfer__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./transfer */ "./node_modules/@aws-sdk/types/dist-es/transfer.js");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./util */ "./node_modules/@aws-sdk/types/dist-es/util.js");\n/* harmony import */ var _waiter__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./waiter */ "./node_modules/@aws-sdk/types/dist-es/waiter.js");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/index.js?')},"./node_modules/@aws-sdk/types/dist-es/logger.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/logger.js?")},"./node_modules/@aws-sdk/types/dist-es/middleware.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/middleware.js?")},"./node_modules/@aws-sdk/types/dist-es/pagination.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/pagination.js?")},"./node_modules/@aws-sdk/types/dist-es/profile.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/profile.js?")},"./node_modules/@aws-sdk/types/dist-es/request.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/request.js?")},"./node_modules/@aws-sdk/types/dist-es/response.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/response.js?")},"./node_modules/@aws-sdk/types/dist-es/retry.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/retry.js?")},"./node_modules/@aws-sdk/types/dist-es/serde.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/serde.js?")},"./node_modules/@aws-sdk/types/dist-es/shapes.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/shapes.js?")},"./node_modules/@aws-sdk/types/dist-es/signature.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/signature.js?")},"./node_modules/@aws-sdk/types/dist-es/stream.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/stream.js?")},"./node_modules/@aws-sdk/types/dist-es/token.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/token.js?")},"./node_modules/@aws-sdk/types/dist-es/transfer.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/transfer.js?")},"./node_modules/@aws-sdk/types/dist-es/util.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/util.js?")},"./node_modules/@aws-sdk/types/dist-es/waiter.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/waiter.js?")},"./node_modules/@aws-sdk/url-parser/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "parseUrl": () => (/* binding */ parseUrl)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_querystring_parser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/querystring-parser */ "./node_modules/@aws-sdk/querystring-parser/dist-es/index.js");\n\nconst parseUrl = (url) => {\n if (typeof url === "string") {\n return parseUrl(new URL(url));\n }\n const { hostname, pathname, port, protocol, search } = url;\n let query;\n if (search) {\n query = (0,_aws_sdk_querystring_parser__WEBPACK_IMPORTED_MODULE_0__.parseQueryString)(search);\n }\n return {\n hostname,\n port: port ? parseInt(port) : undefined,\n protocol,\n path: pathname,\n query,\n };\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/url-parser/dist-es/index.js?')},"./node_modules/@aws-sdk/util-base64/dist-es/constants.browser.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "alphabetByEncoding": () => (/* binding */ alphabetByEncoding),\n/* harmony export */ "alphabetByValue": () => (/* binding */ alphabetByValue),\n/* harmony export */ "bitsPerByte": () => (/* binding */ bitsPerByte),\n/* harmony export */ "bitsPerLetter": () => (/* binding */ bitsPerLetter),\n/* harmony export */ "maxLetterValue": () => (/* binding */ maxLetterValue)\n/* harmony export */ });\nconst alphabetByEncoding = {};\nconst alphabetByValue = new Array(64);\nfor (let i = 0, start = "A".charCodeAt(0), limit = "Z".charCodeAt(0); i + start <= limit; i++) {\n const char = String.fromCharCode(i + start);\n alphabetByEncoding[char] = i;\n alphabetByValue[i] = char;\n}\nfor (let i = 0, start = "a".charCodeAt(0), limit = "z".charCodeAt(0); i + start <= limit; i++) {\n const char = String.fromCharCode(i + start);\n const index = i + 26;\n alphabetByEncoding[char] = index;\n alphabetByValue[index] = char;\n}\nfor (let i = 0; i < 10; i++) {\n alphabetByEncoding[i.toString(10)] = i + 52;\n const char = i.toString(10);\n const index = i + 52;\n alphabetByEncoding[char] = index;\n alphabetByValue[index] = char;\n}\nalphabetByEncoding["+"] = 62;\nalphabetByValue[62] = "+";\nalphabetByEncoding["/"] = 63;\nalphabetByValue[63] = "/";\nconst bitsPerLetter = 6;\nconst bitsPerByte = 8;\nconst maxLetterValue = 0b111111;\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-base64/dist-es/constants.browser.js?')},"./node_modules/@aws-sdk/util-base64/dist-es/fromBase64.browser.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "fromBase64": () => (/* binding */ fromBase64)\n/* harmony export */ });\n/* harmony import */ var _constants_browser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants.browser */ "./node_modules/@aws-sdk/util-base64/dist-es/constants.browser.js");\n\nconst fromBase64 = (input) => {\n let totalByteLength = (input.length / 4) * 3;\n if (input.slice(-2) === "==") {\n totalByteLength -= 2;\n }\n else if (input.slice(-1) === "=") {\n totalByteLength--;\n }\n const out = new ArrayBuffer(totalByteLength);\n const dataView = new DataView(out);\n for (let i = 0; i < input.length; i += 4) {\n let bits = 0;\n let bitLength = 0;\n for (let j = i, limit = i + 3; j <= limit; j++) {\n if (input[j] !== "=") {\n if (!(input[j] in _constants_browser__WEBPACK_IMPORTED_MODULE_0__.alphabetByEncoding)) {\n throw new TypeError(`Invalid character ${input[j]} in base64 string.`);\n }\n bits |= _constants_browser__WEBPACK_IMPORTED_MODULE_0__.alphabetByEncoding[input[j]] << ((limit - j) * _constants_browser__WEBPACK_IMPORTED_MODULE_0__.bitsPerLetter);\n bitLength += _constants_browser__WEBPACK_IMPORTED_MODULE_0__.bitsPerLetter;\n }\n else {\n bits >>= _constants_browser__WEBPACK_IMPORTED_MODULE_0__.bitsPerLetter;\n }\n }\n const chunkOffset = (i / 4) * 3;\n bits >>= bitLength % _constants_browser__WEBPACK_IMPORTED_MODULE_0__.bitsPerByte;\n const byteLength = Math.floor(bitLength / _constants_browser__WEBPACK_IMPORTED_MODULE_0__.bitsPerByte);\n for (let k = 0; k < byteLength; k++) {\n const offset = (byteLength - k - 1) * _constants_browser__WEBPACK_IMPORTED_MODULE_0__.bitsPerByte;\n dataView.setUint8(chunkOffset + k, (bits & (255 << offset)) >> offset);\n }\n }\n return new Uint8Array(out);\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-base64/dist-es/fromBase64.browser.js?')},"./node_modules/@aws-sdk/util-base64/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "fromBase64": () => (/* reexport safe */ _fromBase64__WEBPACK_IMPORTED_MODULE_0__.fromBase64),\n/* harmony export */ "toBase64": () => (/* reexport safe */ _toBase64__WEBPACK_IMPORTED_MODULE_1__.toBase64)\n/* harmony export */ });\n/* harmony import */ var _fromBase64__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./fromBase64 */ "./node_modules/@aws-sdk/util-base64/dist-es/fromBase64.browser.js");\n/* harmony import */ var _toBase64__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toBase64 */ "./node_modules/@aws-sdk/util-base64/dist-es/toBase64.browser.js");\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-base64/dist-es/index.js?')},"./node_modules/@aws-sdk/util-base64/dist-es/toBase64.browser.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "toBase64": () => (/* binding */ toBase64)\n/* harmony export */ });\n/* harmony import */ var _constants_browser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants.browser */ "./node_modules/@aws-sdk/util-base64/dist-es/constants.browser.js");\n\nfunction toBase64(input) {\n let str = "";\n for (let i = 0; i < input.length; i += 3) {\n let bits = 0;\n let bitLength = 0;\n for (let j = i, limit = Math.min(i + 3, input.length); j < limit; j++) {\n bits |= input[j] << ((limit - j - 1) * _constants_browser__WEBPACK_IMPORTED_MODULE_0__.bitsPerByte);\n bitLength += _constants_browser__WEBPACK_IMPORTED_MODULE_0__.bitsPerByte;\n }\n const bitClusterCount = Math.ceil(bitLength / _constants_browser__WEBPACK_IMPORTED_MODULE_0__.bitsPerLetter);\n bits <<= bitClusterCount * _constants_browser__WEBPACK_IMPORTED_MODULE_0__.bitsPerLetter - bitLength;\n for (let k = 1; k <= bitClusterCount; k++) {\n const offset = (bitClusterCount - k) * _constants_browser__WEBPACK_IMPORTED_MODULE_0__.bitsPerLetter;\n str += _constants_browser__WEBPACK_IMPORTED_MODULE_0__.alphabetByValue[(bits & (_constants_browser__WEBPACK_IMPORTED_MODULE_0__.maxLetterValue << offset)) >> offset];\n }\n str += "==".slice(0, 4 - bitClusterCount);\n }\n return str;\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-base64/dist-es/toBase64.browser.js?')},"./node_modules/@aws-sdk/util-body-length-browser/dist-es/calculateBodyLength.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "calculateBodyLength": () => (/* binding */ calculateBodyLength)\n/* harmony export */ });\nconst calculateBodyLength = (body) => {\n if (typeof body === "string") {\n let len = body.length;\n for (let i = len - 1; i >= 0; i--) {\n const code = body.charCodeAt(i);\n if (code > 0x7f && code <= 0x7ff)\n len++;\n else if (code > 0x7ff && code <= 0xffff)\n len += 2;\n if (code >= 0xdc00 && code <= 0xdfff)\n i--;\n }\n return len;\n }\n else if (typeof body.byteLength === "number") {\n return body.byteLength;\n }\n else if (typeof body.size === "number") {\n return body.size;\n }\n throw new Error(`Body Length computation failed for ${body}`);\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-body-length-browser/dist-es/calculateBodyLength.js?')},"./node_modules/@aws-sdk/util-body-length-browser/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "calculateBodyLength": () => (/* reexport safe */ _calculateBodyLength__WEBPACK_IMPORTED_MODULE_0__.calculateBodyLength)\n/* harmony export */ });\n/* harmony import */ var _calculateBodyLength__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./calculateBodyLength */ "./node_modules/@aws-sdk/util-body-length-browser/dist-es/calculateBodyLength.js");\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-body-length-browser/dist-es/index.js?')},"./node_modules/@aws-sdk/util-config-provider/dist-es/booleanSelector.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "SelectorType": () => (/* binding */ SelectorType),\n/* harmony export */ "booleanSelector": () => (/* binding */ booleanSelector)\n/* harmony export */ });\nvar SelectorType;\n(function (SelectorType) {\n SelectorType["ENV"] = "env";\n SelectorType["CONFIG"] = "shared config entry";\n})(SelectorType || (SelectorType = {}));\nconst booleanSelector = (obj, key, type) => {\n if (!(key in obj))\n return undefined;\n if (obj[key] === "true")\n return true;\n if (obj[key] === "false")\n return false;\n throw new Error(`Cannot load ${type} "${key}". Expected "true" or "false", got ${obj[key]}.`);\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-config-provider/dist-es/booleanSelector.js?')},"./node_modules/@aws-sdk/util-config-provider/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "SelectorType": () => (/* reexport safe */ _booleanSelector__WEBPACK_IMPORTED_MODULE_0__.SelectorType),\n/* harmony export */ "booleanSelector": () => (/* reexport safe */ _booleanSelector__WEBPACK_IMPORTED_MODULE_0__.booleanSelector)\n/* harmony export */ });\n/* harmony import */ var _booleanSelector__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./booleanSelector */ "./node_modules/@aws-sdk/util-config-provider/dist-es/booleanSelector.js");\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-config-provider/dist-es/index.js?')},"./node_modules/@aws-sdk/util-defaults-mode-browser/dist-es/constants.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "DEFAULTS_MODE_OPTIONS": () => (/* binding */ DEFAULTS_MODE_OPTIONS)\n/* harmony export */ });\nconst DEFAULTS_MODE_OPTIONS = ["in-region", "cross-region", "mobile", "standard", "legacy"];\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-defaults-mode-browser/dist-es/constants.js?')},"./node_modules/@aws-sdk/util-defaults-mode-browser/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "resolveDefaultsModeConfig": () => (/* reexport safe */ _resolveDefaultsModeConfig__WEBPACK_IMPORTED_MODULE_0__.resolveDefaultsModeConfig)\n/* harmony export */ });\n/* harmony import */ var _resolveDefaultsModeConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./resolveDefaultsModeConfig */ "./node_modules/@aws-sdk/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js");\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-defaults-mode-browser/dist-es/index.js?')},"./node_modules/@aws-sdk/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "resolveDefaultsModeConfig": () => (/* binding */ resolveDefaultsModeConfig)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_property_provider__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/property-provider */ "./node_modules/@aws-sdk/property-provider/dist-es/index.js");\n/* harmony import */ var bowser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! bowser */ "./node_modules/bowser/es5.js");\n/* harmony import */ var bowser__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(bowser__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ "./node_modules/@aws-sdk/util-defaults-mode-browser/dist-es/constants.js");\n\n\n\nconst resolveDefaultsModeConfig = ({ defaultsMode, } = {}) => (0,_aws_sdk_property_provider__WEBPACK_IMPORTED_MODULE_0__.memoize)(async () => {\n const mode = typeof defaultsMode === "function" ? await defaultsMode() : defaultsMode;\n switch (mode?.toLowerCase()) {\n case "auto":\n return Promise.resolve(isMobileBrowser() ? "mobile" : "standard");\n case "mobile":\n case "in-region":\n case "cross-region":\n case "standard":\n case "legacy":\n return Promise.resolve(mode?.toLocaleLowerCase());\n case undefined:\n return Promise.resolve("legacy");\n default:\n throw new Error(`Invalid parameter for "defaultsMode", expect ${_constants__WEBPACK_IMPORTED_MODULE_2__.DEFAULTS_MODE_OPTIONS.join(", ")}, got ${mode}`);\n }\n});\nconst isMobileBrowser = () => {\n const parsedUA = typeof window !== "undefined" && window?.navigator?.userAgent\n ? bowser__WEBPACK_IMPORTED_MODULE_1___default().parse(window.navigator.userAgent)\n : undefined;\n const platform = parsedUA?.platform?.type;\n return platform === "tablet" || platform === "mobile";\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/debug/debugId.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "debugId": () => (/* binding */ debugId)\n/* harmony export */ });\nconst debugId = "endpoints";\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/debug/debugId.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/debug/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "debugId": () => (/* reexport safe */ _debugId__WEBPACK_IMPORTED_MODULE_0__.debugId),\n/* harmony export */ "toDebugString": () => (/* reexport safe */ _toDebugString__WEBPACK_IMPORTED_MODULE_1__.toDebugString)\n/* harmony export */ });\n/* harmony import */ var _debugId__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./debugId */ "./node_modules/@aws-sdk/util-endpoints/dist-es/debug/debugId.js");\n/* harmony import */ var _toDebugString__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toDebugString */ "./node_modules/@aws-sdk/util-endpoints/dist-es/debug/toDebugString.js");\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/debug/index.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/debug/toDebugString.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "toDebugString": () => (/* binding */ toDebugString)\n/* harmony export */ });\nfunction toDebugString(input) {\n if (typeof input !== "object" || input == null) {\n return input;\n }\n if ("ref" in input) {\n return `$${toDebugString(input.ref)}`;\n }\n if ("fn" in input) {\n return `${input.fn}(${(input.argv || []).map(toDebugString).join(", ")})`;\n }\n return JSON.stringify(input, null, 2);\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/debug/toDebugString.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "EndpointError": () => (/* reexport safe */ _types__WEBPACK_IMPORTED_MODULE_2__.EndpointError),\n/* harmony export */ "partition": () => (/* reexport safe */ _lib_aws_partition__WEBPACK_IMPORTED_MODULE_0__.partition),\n/* harmony export */ "resolveEndpoint": () => (/* reexport safe */ _resolveEndpoint__WEBPACK_IMPORTED_MODULE_1__.resolveEndpoint)\n/* harmony export */ });\n/* harmony import */ var _lib_aws_partition__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/aws/partition */ "./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js");\n/* harmony import */ var _resolveEndpoint__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./resolveEndpoint */ "./node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js");\n/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./types */ "./node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js");\n\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/index.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "isVirtualHostableS3Bucket": () => (/* reexport safe */ _isVirtualHostableS3Bucket__WEBPACK_IMPORTED_MODULE_0__.isVirtualHostableS3Bucket),\n/* harmony export */ "parseArn": () => (/* reexport safe */ _parseArn__WEBPACK_IMPORTED_MODULE_1__.parseArn),\n/* harmony export */ "partition": () => (/* reexport safe */ _partition__WEBPACK_IMPORTED_MODULE_2__.partition)\n/* harmony export */ });\n/* harmony import */ var _isVirtualHostableS3Bucket__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isVirtualHostableS3Bucket */ "./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js");\n/* harmony import */ var _parseArn__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./parseArn */ "./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js");\n/* harmony import */ var _partition__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./partition */ "./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js");\n\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "isVirtualHostableS3Bucket": () => (/* binding */ isVirtualHostableS3Bucket)\n/* harmony export */ });\n/* harmony import */ var _isIpAddress__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../isIpAddress */ "./node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js");\n/* harmony import */ var _isValidHostLabel__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../isValidHostLabel */ "./node_modules/@aws-sdk/util-endpoints/dist-es/lib/isValidHostLabel.js");\n\n\nconst isVirtualHostableS3Bucket = (value, allowSubDomains = false) => {\n if (allowSubDomains) {\n for (const label of value.split(".")) {\n if (!isVirtualHostableS3Bucket(label)) {\n return false;\n }\n }\n return true;\n }\n if (!(0,_isValidHostLabel__WEBPACK_IMPORTED_MODULE_1__.isValidHostLabel)(value)) {\n return false;\n }\n if (value.length < 3 || value.length > 63) {\n return false;\n }\n if (value !== value.toLowerCase()) {\n return false;\n }\n if ((0,_isIpAddress__WEBPACK_IMPORTED_MODULE_0__.isIpAddress)(value)) {\n return false;\n }\n return true;\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "parseArn": () => (/* binding */ parseArn)\n/* harmony export */ });\nconst parseArn = (value) => {\n const segments = value.split(":");\n if (segments.length < 6)\n return null;\n const [arn, partition, service, region, accountId, ...resourceId] = segments;\n if (arn !== "arn" || partition === "" || service === "" || resourceId[0] === "")\n return null;\n return {\n partition,\n service,\n region,\n accountId,\n resourceId: resourceId[0].includes("/") ? resourceId[0].split("/") : resourceId,\n };\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "partition": () => (/* binding */ partition)\n/* harmony export */ });\n/* harmony import */ var _partitions_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./partitions.json */ "./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json");\n\nconst { partitions } = _partitions_json__WEBPACK_IMPORTED_MODULE_0__;\nconst DEFAULT_PARTITION = partitions.find((partition) => partition.id === "aws");\nconst partition = (value) => {\n for (const partition of partitions) {\n const { regions, outputs } = partition;\n for (const [region, regionData] of Object.entries(regions)) {\n if (region === value) {\n return {\n ...outputs,\n ...regionData,\n };\n }\n }\n }\n for (const partition of partitions) {\n const { regionRegex, outputs } = partition;\n if (new RegExp(regionRegex).test(value)) {\n return {\n ...outputs,\n };\n }\n }\n if (!DEFAULT_PARTITION) {\n throw new Error("Provided region was not found in the partition array or regex," +\n " and default partition with id \'aws\' doesn\'t exist.");\n }\n return {\n ...DEFAULT_PARTITION.outputs,\n };\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/booleanEquals.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "booleanEquals": () => (/* binding */ booleanEquals)\n/* harmony export */ });\nconst booleanEquals = (value1, value2) => value1 === value2;\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/lib/booleanEquals.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/getAttr.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getAttr": () => (/* binding */ getAttr)\n/* harmony export */ });\n/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../types */ "./node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js");\n/* harmony import */ var _getAttrPathList__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getAttrPathList */ "./node_modules/@aws-sdk/util-endpoints/dist-es/lib/getAttrPathList.js");\n\n\nconst getAttr = (value, path) => (0,_getAttrPathList__WEBPACK_IMPORTED_MODULE_1__.getAttrPathList)(path).reduce((acc, index) => {\n if (typeof acc !== "object") {\n throw new _types__WEBPACK_IMPORTED_MODULE_0__.EndpointError(`Index \'${index}\' in \'${path}\' not found in \'${JSON.stringify(value)}\'`);\n }\n else if (Array.isArray(acc)) {\n return acc[parseInt(index)];\n }\n return acc[index];\n}, value);\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/lib/getAttr.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/getAttrPathList.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getAttrPathList": () => (/* binding */ getAttrPathList)\n/* harmony export */ });\n/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../types */ "./node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js");\n\nconst getAttrPathList = (path) => {\n const parts = path.split(".");\n const pathList = [];\n for (const part of parts) {\n const squareBracketIndex = part.indexOf("[");\n if (squareBracketIndex !== -1) {\n if (part.indexOf("]") !== part.length - 1) {\n throw new _types__WEBPACK_IMPORTED_MODULE_0__.EndpointError(`Path: \'${path}\' does not end with \']\'`);\n }\n const arrayIndex = part.slice(squareBracketIndex + 1, -1);\n if (Number.isNaN(parseInt(arrayIndex))) {\n throw new _types__WEBPACK_IMPORTED_MODULE_0__.EndpointError(`Invalid array index: \'${arrayIndex}\' in path: \'${path}\'`);\n }\n if (squareBracketIndex !== 0) {\n pathList.push(part.slice(0, squareBracketIndex));\n }\n pathList.push(arrayIndex);\n }\n else {\n pathList.push(part);\n }\n }\n return pathList;\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/lib/getAttrPathList.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "aws": () => (/* reexport module object */ _aws__WEBPACK_IMPORTED_MODULE_0__),\n/* harmony export */ "booleanEquals": () => (/* reexport safe */ _booleanEquals__WEBPACK_IMPORTED_MODULE_1__.booleanEquals),\n/* harmony export */ "getAttr": () => (/* reexport safe */ _getAttr__WEBPACK_IMPORTED_MODULE_2__.getAttr),\n/* harmony export */ "isSet": () => (/* reexport safe */ _isSet__WEBPACK_IMPORTED_MODULE_3__.isSet),\n/* harmony export */ "isValidHostLabel": () => (/* reexport safe */ _isValidHostLabel__WEBPACK_IMPORTED_MODULE_4__.isValidHostLabel),\n/* harmony export */ "not": () => (/* reexport safe */ _not__WEBPACK_IMPORTED_MODULE_5__.not),\n/* harmony export */ "parseURL": () => (/* reexport safe */ _parseURL__WEBPACK_IMPORTED_MODULE_6__.parseURL),\n/* harmony export */ "stringEquals": () => (/* reexport safe */ _stringEquals__WEBPACK_IMPORTED_MODULE_7__.stringEquals),\n/* harmony export */ "substring": () => (/* reexport safe */ _substring__WEBPACK_IMPORTED_MODULE_8__.substring),\n/* harmony export */ "uriEncode": () => (/* reexport safe */ _uriEncode__WEBPACK_IMPORTED_MODULE_9__.uriEncode)\n/* harmony export */ });\n/* harmony import */ var _aws__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./aws */ "./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js");\n/* harmony import */ var _booleanEquals__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./booleanEquals */ "./node_modules/@aws-sdk/util-endpoints/dist-es/lib/booleanEquals.js");\n/* harmony import */ var _getAttr__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getAttr */ "./node_modules/@aws-sdk/util-endpoints/dist-es/lib/getAttr.js");\n/* harmony import */ var _isSet__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./isSet */ "./node_modules/@aws-sdk/util-endpoints/dist-es/lib/isSet.js");\n/* harmony import */ var _isValidHostLabel__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./isValidHostLabel */ "./node_modules/@aws-sdk/util-endpoints/dist-es/lib/isValidHostLabel.js");\n/* harmony import */ var _not__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./not */ "./node_modules/@aws-sdk/util-endpoints/dist-es/lib/not.js");\n/* harmony import */ var _parseURL__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./parseURL */ "./node_modules/@aws-sdk/util-endpoints/dist-es/lib/parseURL.js");\n/* harmony import */ var _stringEquals__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./stringEquals */ "./node_modules/@aws-sdk/util-endpoints/dist-es/lib/stringEquals.js");\n/* harmony import */ var _substring__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./substring */ "./node_modules/@aws-sdk/util-endpoints/dist-es/lib/substring.js");\n/* harmony import */ var _uriEncode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./uriEncode */ "./node_modules/@aws-sdk/util-endpoints/dist-es/lib/uriEncode.js");\n\n\n\n\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/lib/index.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "isIpAddress": () => (/* binding */ isIpAddress)\n/* harmony export */ });\nconst IP_V4_REGEX = new RegExp(`^(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)(?:\\\\.(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)){3}$`);\nconst isIpAddress = (value) => IP_V4_REGEX.test(value) || (value.startsWith("[") && value.endsWith("]"));\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/isSet.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "isSet": () => (/* binding */ isSet)\n/* harmony export */ });\nconst isSet = (value) => value != null;\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/lib/isSet.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/isValidHostLabel.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "isValidHostLabel": () => (/* binding */ isValidHostLabel)\n/* harmony export */ });\nconst VALID_HOST_LABEL_REGEX = new RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`);\nconst isValidHostLabel = (value, allowSubDomains = false) => {\n if (!allowSubDomains) {\n return VALID_HOST_LABEL_REGEX.test(value);\n }\n const labels = value.split(".");\n for (const label of labels) {\n if (!isValidHostLabel(label)) {\n return false;\n }\n }\n return true;\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/lib/isValidHostLabel.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/not.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "not": () => (/* binding */ not)\n/* harmony export */ });\nconst not = (value) => !value;\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/lib/not.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/parseURL.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "parseURL": () => (/* binding */ parseURL)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/types */ "./node_modules/@aws-sdk/types/dist-es/index.js");\n/* harmony import */ var _isIpAddress__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./isIpAddress */ "./node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js");\n\n\nconst DEFAULT_PORTS = {\n [_aws_sdk_types__WEBPACK_IMPORTED_MODULE_0__.EndpointURLScheme.HTTP]: 80,\n [_aws_sdk_types__WEBPACK_IMPORTED_MODULE_0__.EndpointURLScheme.HTTPS]: 443,\n};\nconst parseURL = (value) => {\n const whatwgURL = (() => {\n try {\n if (value instanceof URL) {\n return value;\n }\n if (typeof value === "object" && "hostname" in value) {\n const { hostname, port, protocol = "", path = "", query = {} } = value;\n const url = new URL(`${protocol}//${hostname}${port ? `:${port}` : ""}${path}`);\n url.search = Object.entries(query)\n .map(([k, v]) => `${k}=${v}`)\n .join("&");\n return url;\n }\n return new URL(value);\n }\n catch (error) {\n return null;\n }\n })();\n if (!whatwgURL) {\n console.error(`Unable to parse ${JSON.stringify(value)} as a whatwg URL.`);\n return null;\n }\n const urlString = whatwgURL.href;\n const { host, hostname, pathname, protocol, search } = whatwgURL;\n if (search) {\n return null;\n }\n const scheme = protocol.slice(0, -1);\n if (!Object.values(_aws_sdk_types__WEBPACK_IMPORTED_MODULE_0__.EndpointURLScheme).includes(scheme)) {\n return null;\n }\n const isIp = (0,_isIpAddress__WEBPACK_IMPORTED_MODULE_1__.isIpAddress)(hostname);\n const inputContainsDefaultPort = urlString.includes(`${host}:${DEFAULT_PORTS[scheme]}`) ||\n (typeof value === "string" && value.includes(`${host}:${DEFAULT_PORTS[scheme]}`));\n const authority = `${host}${inputContainsDefaultPort ? `:${DEFAULT_PORTS[scheme]}` : ``}`;\n return {\n scheme,\n authority,\n path: pathname,\n normalizedPath: pathname.endsWith("/") ? pathname : `${pathname}/`,\n isIp,\n };\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/lib/parseURL.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/stringEquals.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "stringEquals": () => (/* binding */ stringEquals)\n/* harmony export */ });\nconst stringEquals = (value1, value2) => value1 === value2;\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/lib/stringEquals.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/substring.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "substring": () => (/* binding */ substring)\n/* harmony export */ });\nconst substring = (input, start, stop, reverse) => {\n if (start >= stop || input.length < stop) {\n return null;\n }\n if (!reverse) {\n return input.substring(start, stop);\n }\n return input.substring(input.length - stop, input.length - start);\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/lib/substring.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/uriEncode.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "uriEncode": () => (/* binding */ uriEncode)\n/* harmony export */ });\nconst uriEncode = (value) => encodeURIComponent(value).replace(/[!*\'()]/g, (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`);\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/lib/uriEncode.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "resolveEndpoint": () => (/* binding */ resolveEndpoint)\n/* harmony export */ });\n/* harmony import */ var _debug__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./debug */ "./node_modules/@aws-sdk/util-endpoints/dist-es/debug/index.js");\n/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./types */ "./node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils */ "./node_modules/@aws-sdk/util-endpoints/dist-es/utils/index.js");\n\n\n\nconst resolveEndpoint = (ruleSetObject, options) => {\n const { endpointParams, logger } = options;\n const { parameters, rules } = ruleSetObject;\n options.logger?.debug?.(_debug__WEBPACK_IMPORTED_MODULE_0__.debugId, `Initial EndpointParams: ${(0,_debug__WEBPACK_IMPORTED_MODULE_0__.toDebugString)(endpointParams)}`);\n const paramsWithDefault = Object.entries(parameters)\n .filter(([, v]) => v.default != null)\n .map(([k, v]) => [k, v.default]);\n if (paramsWithDefault.length > 0) {\n for (const [paramKey, paramDefaultValue] of paramsWithDefault) {\n endpointParams[paramKey] = endpointParams[paramKey] ?? paramDefaultValue;\n }\n }\n const requiredParams = Object.entries(parameters)\n .filter(([, v]) => v.required)\n .map(([k]) => k);\n for (const requiredParam of requiredParams) {\n if (endpointParams[requiredParam] == null) {\n throw new _types__WEBPACK_IMPORTED_MODULE_1__.EndpointError(`Missing required parameter: \'${requiredParam}\'`);\n }\n }\n const endpoint = (0,_utils__WEBPACK_IMPORTED_MODULE_2__.evaluateRules)(rules, { endpointParams, logger, referenceRecord: {} });\n if (options.endpointParams?.Endpoint) {\n try {\n const givenEndpoint = new URL(options.endpointParams.Endpoint);\n const { protocol, port } = givenEndpoint;\n endpoint.url.protocol = protocol;\n endpoint.url.port = port;\n }\n catch (e) {\n }\n }\n options.logger?.debug?.(_debug__WEBPACK_IMPORTED_MODULE_0__.debugId, `Resolved endpoint: ${(0,_debug__WEBPACK_IMPORTED_MODULE_0__.toDebugString)(endpoint)}`);\n return endpoint;\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "EndpointError": () => (/* binding */ EndpointError)\n/* harmony export */ });\nclass EndpointError extends Error {\n constructor(message) {\n super(message);\n this.name = "EndpointError";\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js?")},"./node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js?")},"./node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js?")},"./node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js?")},"./node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "EndpointError": () => (/* reexport safe */ _EndpointError__WEBPACK_IMPORTED_MODULE_0__.EndpointError)\n/* harmony export */ });\n/* harmony import */ var _EndpointError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EndpointError */ "./node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js");\n/* harmony import */ var _EndpointRuleObject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./EndpointRuleObject */ "./node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js");\n/* harmony import */ var _ErrorRuleObject__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ErrorRuleObject */ "./node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js");\n/* harmony import */ var _RuleSetObject__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./RuleSetObject */ "./node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js");\n/* harmony import */ var _TreeRuleObject__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./TreeRuleObject */ "./node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js");\n/* harmony import */ var _shared__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./shared */ "./node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js");\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js?")},"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/callFunction.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "callFunction": () => (/* binding */ callFunction)\n/* harmony export */ });\n/* harmony import */ var _lib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../lib */ "./node_modules/@aws-sdk/util-endpoints/dist-es/lib/index.js");\n/* harmony import */ var _evaluateExpression__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./evaluateExpression */ "./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateExpression.js");\n\n\nconst callFunction = ({ fn, argv }, options) => {\n const evaluatedArgs = argv.map((arg) => ["boolean", "number"].includes(typeof arg) ? arg : (0,_evaluateExpression__WEBPACK_IMPORTED_MODULE_1__.evaluateExpression)(arg, "arg", options));\n return fn.split(".").reduce((acc, key) => acc[key], _lib__WEBPACK_IMPORTED_MODULE_0__)(...evaluatedArgs);\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/utils/callFunction.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateCondition.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "evaluateCondition": () => (/* binding */ evaluateCondition)\n/* harmony export */ });\n/* harmony import */ var _debug__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../debug */ "./node_modules/@aws-sdk/util-endpoints/dist-es/debug/index.js");\n/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../types */ "./node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js");\n/* harmony import */ var _callFunction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./callFunction */ "./node_modules/@aws-sdk/util-endpoints/dist-es/utils/callFunction.js");\n\n\n\nconst evaluateCondition = ({ assign, ...fnArgs }, options) => {\n if (assign && assign in options.referenceRecord) {\n throw new _types__WEBPACK_IMPORTED_MODULE_1__.EndpointError(`\'${assign}\' is already defined in Reference Record.`);\n }\n const value = (0,_callFunction__WEBPACK_IMPORTED_MODULE_2__.callFunction)(fnArgs, options);\n options.logger?.debug?.(_debug__WEBPACK_IMPORTED_MODULE_0__.debugId, `evaluateCondition: ${(0,_debug__WEBPACK_IMPORTED_MODULE_0__.toDebugString)(fnArgs)} = ${(0,_debug__WEBPACK_IMPORTED_MODULE_0__.toDebugString)(value)}`);\n return {\n result: value === "" ? true : !!value,\n ...(assign != null && { toAssign: { name: assign, value } }),\n };\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateCondition.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateConditions.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "evaluateConditions": () => (/* binding */ evaluateConditions)\n/* harmony export */ });\n/* harmony import */ var _debug__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../debug */ "./node_modules/@aws-sdk/util-endpoints/dist-es/debug/index.js");\n/* harmony import */ var _evaluateCondition__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./evaluateCondition */ "./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateCondition.js");\n\n\nconst evaluateConditions = (conditions = [], options) => {\n const conditionsReferenceRecord = {};\n for (const condition of conditions) {\n const { result, toAssign } = (0,_evaluateCondition__WEBPACK_IMPORTED_MODULE_1__.evaluateCondition)(condition, {\n ...options,\n referenceRecord: {\n ...options.referenceRecord,\n ...conditionsReferenceRecord,\n },\n });\n if (!result) {\n return { result };\n }\n if (toAssign) {\n conditionsReferenceRecord[toAssign.name] = toAssign.value;\n options.logger?.debug?.(_debug__WEBPACK_IMPORTED_MODULE_0__.debugId, `assign: ${toAssign.name} := ${(0,_debug__WEBPACK_IMPORTED_MODULE_0__.toDebugString)(toAssign.value)}`);\n }\n }\n return { result: true, referenceRecord: conditionsReferenceRecord };\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateConditions.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateEndpointRule.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "evaluateEndpointRule": () => (/* binding */ evaluateEndpointRule)\n/* harmony export */ });\n/* harmony import */ var _debug__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../debug */ "./node_modules/@aws-sdk/util-endpoints/dist-es/debug/index.js");\n/* harmony import */ var _evaluateConditions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./evaluateConditions */ "./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateConditions.js");\n/* harmony import */ var _getEndpointHeaders__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getEndpointHeaders */ "./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointHeaders.js");\n/* harmony import */ var _getEndpointProperties__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getEndpointProperties */ "./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointProperties.js");\n/* harmony import */ var _getEndpointUrl__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./getEndpointUrl */ "./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointUrl.js");\n\n\n\n\n\nconst evaluateEndpointRule = (endpointRule, options) => {\n const { conditions, endpoint } = endpointRule;\n const { result, referenceRecord } = (0,_evaluateConditions__WEBPACK_IMPORTED_MODULE_1__.evaluateConditions)(conditions, options);\n if (!result) {\n return;\n }\n const endpointRuleOptions = {\n ...options,\n referenceRecord: { ...options.referenceRecord, ...referenceRecord },\n };\n const { url, properties, headers } = endpoint;\n options.logger?.debug?.(_debug__WEBPACK_IMPORTED_MODULE_0__.debugId, `Resolving endpoint from template: ${(0,_debug__WEBPACK_IMPORTED_MODULE_0__.toDebugString)(endpoint)}`);\n return {\n ...(headers != undefined && {\n headers: (0,_getEndpointHeaders__WEBPACK_IMPORTED_MODULE_2__.getEndpointHeaders)(headers, endpointRuleOptions),\n }),\n ...(properties != undefined && {\n properties: (0,_getEndpointProperties__WEBPACK_IMPORTED_MODULE_3__.getEndpointProperties)(properties, endpointRuleOptions),\n }),\n url: (0,_getEndpointUrl__WEBPACK_IMPORTED_MODULE_4__.getEndpointUrl)(url, endpointRuleOptions),\n };\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateEndpointRule.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateErrorRule.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "evaluateErrorRule": () => (/* binding */ evaluateErrorRule)\n/* harmony export */ });\n/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../types */ "./node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js");\n/* harmony import */ var _evaluateConditions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./evaluateConditions */ "./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateConditions.js");\n/* harmony import */ var _evaluateExpression__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./evaluateExpression */ "./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateExpression.js");\n\n\n\nconst evaluateErrorRule = (errorRule, options) => {\n const { conditions, error } = errorRule;\n const { result, referenceRecord } = (0,_evaluateConditions__WEBPACK_IMPORTED_MODULE_1__.evaluateConditions)(conditions, options);\n if (!result) {\n return;\n }\n throw new _types__WEBPACK_IMPORTED_MODULE_0__.EndpointError((0,_evaluateExpression__WEBPACK_IMPORTED_MODULE_2__.evaluateExpression)(error, "Error", {\n ...options,\n referenceRecord: { ...options.referenceRecord, ...referenceRecord },\n }));\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateErrorRule.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateExpression.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "evaluateExpression": () => (/* binding */ evaluateExpression)\n/* harmony export */ });\n/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../types */ "./node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js");\n/* harmony import */ var _callFunction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./callFunction */ "./node_modules/@aws-sdk/util-endpoints/dist-es/utils/callFunction.js");\n/* harmony import */ var _evaluateTemplate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./evaluateTemplate */ "./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateTemplate.js");\n/* harmony import */ var _getReferenceValue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getReferenceValue */ "./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getReferenceValue.js");\n\n\n\n\nconst evaluateExpression = (obj, keyName, options) => {\n if (typeof obj === "string") {\n return (0,_evaluateTemplate__WEBPACK_IMPORTED_MODULE_2__.evaluateTemplate)(obj, options);\n }\n else if (obj["fn"]) {\n return (0,_callFunction__WEBPACK_IMPORTED_MODULE_1__.callFunction)(obj, options);\n }\n else if (obj["ref"]) {\n return (0,_getReferenceValue__WEBPACK_IMPORTED_MODULE_3__.getReferenceValue)(obj, options);\n }\n throw new _types__WEBPACK_IMPORTED_MODULE_0__.EndpointError(`\'${keyName}\': ${String(obj)} is not a string, function or reference.`);\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateExpression.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateRules.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "evaluateRules": () => (/* binding */ evaluateRules)\n/* harmony export */ });\n/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../types */ "./node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js");\n/* harmony import */ var _evaluateEndpointRule__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./evaluateEndpointRule */ "./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateEndpointRule.js");\n/* harmony import */ var _evaluateErrorRule__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./evaluateErrorRule */ "./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateErrorRule.js");\n/* harmony import */ var _evaluateTreeRule__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./evaluateTreeRule */ "./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateTreeRule.js");\n\n\n\n\nconst evaluateRules = (rules, options) => {\n for (const rule of rules) {\n if (rule.type === "endpoint") {\n const endpointOrUndefined = (0,_evaluateEndpointRule__WEBPACK_IMPORTED_MODULE_1__.evaluateEndpointRule)(rule, options);\n if (endpointOrUndefined) {\n return endpointOrUndefined;\n }\n }\n else if (rule.type === "error") {\n (0,_evaluateErrorRule__WEBPACK_IMPORTED_MODULE_2__.evaluateErrorRule)(rule, options);\n }\n else if (rule.type === "tree") {\n const endpointOrUndefined = (0,_evaluateTreeRule__WEBPACK_IMPORTED_MODULE_3__.evaluateTreeRule)(rule, options);\n if (endpointOrUndefined) {\n return endpointOrUndefined;\n }\n }\n else {\n throw new _types__WEBPACK_IMPORTED_MODULE_0__.EndpointError(`Unknown endpoint rule: ${rule}`);\n }\n }\n throw new _types__WEBPACK_IMPORTED_MODULE_0__.EndpointError(`Rules evaluation failed`);\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateRules.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateTemplate.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "evaluateTemplate": () => (/* binding */ evaluateTemplate)\n/* harmony export */ });\n/* harmony import */ var _lib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../lib */ "./node_modules/@aws-sdk/util-endpoints/dist-es/lib/index.js");\n\nconst evaluateTemplate = (template, options) => {\n const evaluatedTemplateArr = [];\n const templateContext = {\n ...options.endpointParams,\n ...options.referenceRecord,\n };\n let currentIndex = 0;\n while (currentIndex < template.length) {\n const openingBraceIndex = template.indexOf("{", currentIndex);\n if (openingBraceIndex === -1) {\n evaluatedTemplateArr.push(template.slice(currentIndex));\n break;\n }\n evaluatedTemplateArr.push(template.slice(currentIndex, openingBraceIndex));\n const closingBraceIndex = template.indexOf("}", openingBraceIndex);\n if (closingBraceIndex === -1) {\n evaluatedTemplateArr.push(template.slice(openingBraceIndex));\n break;\n }\n if (template[openingBraceIndex + 1] === "{" && template[closingBraceIndex + 1] === "}") {\n evaluatedTemplateArr.push(template.slice(openingBraceIndex + 1, closingBraceIndex));\n currentIndex = closingBraceIndex + 2;\n }\n const parameterName = template.substring(openingBraceIndex + 1, closingBraceIndex);\n if (parameterName.includes("#")) {\n const [refName, attrName] = parameterName.split("#");\n evaluatedTemplateArr.push((0,_lib__WEBPACK_IMPORTED_MODULE_0__.getAttr)(templateContext[refName], attrName));\n }\n else {\n evaluatedTemplateArr.push(templateContext[parameterName]);\n }\n currentIndex = closingBraceIndex + 1;\n }\n return evaluatedTemplateArr.join("");\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateTemplate.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateTreeRule.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "evaluateTreeRule": () => (/* binding */ evaluateTreeRule)\n/* harmony export */ });\n/* harmony import */ var _evaluateConditions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./evaluateConditions */ "./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateConditions.js");\n/* harmony import */ var _evaluateRules__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./evaluateRules */ "./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateRules.js");\n\n\nconst evaluateTreeRule = (treeRule, options) => {\n const { conditions, rules } = treeRule;\n const { result, referenceRecord } = (0,_evaluateConditions__WEBPACK_IMPORTED_MODULE_0__.evaluateConditions)(conditions, options);\n if (!result) {\n return;\n }\n return (0,_evaluateRules__WEBPACK_IMPORTED_MODULE_1__.evaluateRules)(rules, {\n ...options,\n referenceRecord: { ...options.referenceRecord, ...referenceRecord },\n });\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateTreeRule.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointHeaders.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getEndpointHeaders": () => (/* binding */ getEndpointHeaders)\n/* harmony export */ });\n/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../types */ "./node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js");\n/* harmony import */ var _evaluateExpression__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./evaluateExpression */ "./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateExpression.js");\n\n\nconst getEndpointHeaders = (headers, options) => Object.entries(headers).reduce((acc, [headerKey, headerVal]) => ({\n ...acc,\n [headerKey]: headerVal.map((headerValEntry) => {\n const processedExpr = (0,_evaluateExpression__WEBPACK_IMPORTED_MODULE_1__.evaluateExpression)(headerValEntry, "Header value entry", options);\n if (typeof processedExpr !== "string") {\n throw new _types__WEBPACK_IMPORTED_MODULE_0__.EndpointError(`Header \'${headerKey}\' value \'${processedExpr}\' is not a string`);\n }\n return processedExpr;\n }),\n}), {});\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointHeaders.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointProperties.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getEndpointProperties": () => (/* binding */ getEndpointProperties)\n/* harmony export */ });\n/* harmony import */ var _getEndpointProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getEndpointProperty */ "./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointProperty.js");\n\nconst getEndpointProperties = (properties, options) => Object.entries(properties).reduce((acc, [propertyKey, propertyVal]) => ({\n ...acc,\n [propertyKey]: (0,_getEndpointProperty__WEBPACK_IMPORTED_MODULE_0__.getEndpointProperty)(propertyVal, options),\n}), {});\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointProperties.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointProperty.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getEndpointProperty": () => (/* binding */ getEndpointProperty)\n/* harmony export */ });\n/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../types */ "./node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js");\n/* harmony import */ var _evaluateTemplate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./evaluateTemplate */ "./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateTemplate.js");\n/* harmony import */ var _getEndpointProperties__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getEndpointProperties */ "./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointProperties.js");\n\n\n\nconst getEndpointProperty = (property, options) => {\n if (Array.isArray(property)) {\n return property.map((propertyEntry) => getEndpointProperty(propertyEntry, options));\n }\n switch (typeof property) {\n case "string":\n return (0,_evaluateTemplate__WEBPACK_IMPORTED_MODULE_1__.evaluateTemplate)(property, options);\n case "object":\n if (property === null) {\n throw new _types__WEBPACK_IMPORTED_MODULE_0__.EndpointError(`Unexpected endpoint property: ${property}`);\n }\n return (0,_getEndpointProperties__WEBPACK_IMPORTED_MODULE_2__.getEndpointProperties)(property, options);\n case "boolean":\n return property;\n default:\n throw new _types__WEBPACK_IMPORTED_MODULE_0__.EndpointError(`Unexpected endpoint property type: ${typeof property}`);\n }\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointProperty.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointUrl.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getEndpointUrl": () => (/* binding */ getEndpointUrl)\n/* harmony export */ });\n/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../types */ "./node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js");\n/* harmony import */ var _evaluateExpression__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./evaluateExpression */ "./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateExpression.js");\n\n\nconst getEndpointUrl = (endpointUrl, options) => {\n const expression = (0,_evaluateExpression__WEBPACK_IMPORTED_MODULE_1__.evaluateExpression)(endpointUrl, "Endpoint URL", options);\n if (typeof expression === "string") {\n try {\n return new URL(expression);\n }\n catch (error) {\n console.error(`Failed to construct URL with ${expression}`, error);\n throw error;\n }\n }\n throw new _types__WEBPACK_IMPORTED_MODULE_0__.EndpointError(`Endpoint URL must be a string, got ${typeof expression}`);\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointUrl.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getReferenceValue.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getReferenceValue": () => (/* binding */ getReferenceValue)\n/* harmony export */ });\nconst getReferenceValue = ({ ref }, options) => {\n const referenceRecord = {\n ...options.endpointParams,\n ...options.referenceRecord,\n };\n return referenceRecord[ref];\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getReferenceValue.js?')},"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "evaluateRules": () => (/* reexport safe */ _evaluateRules__WEBPACK_IMPORTED_MODULE_0__.evaluateRules)\n/* harmony export */ });\n/* harmony import */ var _evaluateRules__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./evaluateRules */ "./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateRules.js");\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/utils/index.js?')},"./node_modules/@aws-sdk/util-hex-encoding/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "fromHex": () => (/* binding */ fromHex),\n/* harmony export */ "toHex": () => (/* binding */ toHex)\n/* harmony export */ });\nconst SHORT_TO_HEX = {};\nconst HEX_TO_SHORT = {};\nfor (let i = 0; i < 256; i++) {\n let encodedByte = i.toString(16).toLowerCase();\n if (encodedByte.length === 1) {\n encodedByte = `0${encodedByte}`;\n }\n SHORT_TO_HEX[i] = encodedByte;\n HEX_TO_SHORT[encodedByte] = i;\n}\nfunction fromHex(encoded) {\n if (encoded.length % 2 !== 0) {\n throw new Error("Hex encoded strings must have an even number length");\n }\n const out = new Uint8Array(encoded.length / 2);\n for (let i = 0; i < encoded.length; i += 2) {\n const encodedByte = encoded.slice(i, i + 2).toLowerCase();\n if (encodedByte in HEX_TO_SHORT) {\n out[i / 2] = HEX_TO_SHORT[encodedByte];\n }\n else {\n throw new Error(`Cannot decode unrecognized sequence ${encodedByte} as hexadecimal`);\n }\n }\n return out;\n}\nfunction toHex(bytes) {\n let out = "";\n for (let i = 0; i < bytes.byteLength; i++) {\n out += SHORT_TO_HEX[bytes[i]];\n }\n return out;\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-hex-encoding/dist-es/index.js?')},"./node_modules/@aws-sdk/util-locate-window/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "locateWindow": () => (/* binding */ locateWindow)\n/* harmony export */ });\nconst fallbackWindow = {};\nfunction locateWindow() {\n if (typeof window !== "undefined") {\n return window;\n }\n else if (typeof self !== "undefined") {\n return self;\n }\n return fallbackWindow;\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-locate-window/dist-es/index.js?')},"./node_modules/@aws-sdk/util-middleware/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "normalizeProvider": () => (/* reexport safe */ _normalizeProvider__WEBPACK_IMPORTED_MODULE_0__.normalizeProvider)\n/* harmony export */ });\n/* harmony import */ var _normalizeProvider__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./normalizeProvider */ "./node_modules/@aws-sdk/util-middleware/dist-es/normalizeProvider.js");\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-middleware/dist-es/index.js?')},"./node_modules/@aws-sdk/util-middleware/dist-es/normalizeProvider.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "normalizeProvider": () => (/* binding */ normalizeProvider)\n/* harmony export */ });\nconst normalizeProvider = (input) => {\n if (typeof input === "function")\n return input;\n const promisified = Promise.resolve(input);\n return () => promisified;\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-middleware/dist-es/normalizeProvider.js?')},"./node_modules/@aws-sdk/util-retry/dist-es/AdaptiveRetryStrategy.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "AdaptiveRetryStrategy": () => (/* binding */ AdaptiveRetryStrategy)\n/* harmony export */ });\n/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./config */ "./node_modules/@aws-sdk/util-retry/dist-es/config.js");\n/* harmony import */ var _DefaultRateLimiter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./DefaultRateLimiter */ "./node_modules/@aws-sdk/util-retry/dist-es/DefaultRateLimiter.js");\n/* harmony import */ var _StandardRetryStrategy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./StandardRetryStrategy */ "./node_modules/@aws-sdk/util-retry/dist-es/StandardRetryStrategy.js");\n\n\n\nclass AdaptiveRetryStrategy {\n constructor(maxAttemptsProvider, options) {\n this.maxAttemptsProvider = maxAttemptsProvider;\n this.mode = _config__WEBPACK_IMPORTED_MODULE_0__.RETRY_MODES.ADAPTIVE;\n const { rateLimiter } = options ?? {};\n this.rateLimiter = rateLimiter ?? new _DefaultRateLimiter__WEBPACK_IMPORTED_MODULE_1__.DefaultRateLimiter();\n this.standardRetryStrategy = new _StandardRetryStrategy__WEBPACK_IMPORTED_MODULE_2__.StandardRetryStrategy(maxAttemptsProvider);\n }\n async acquireInitialRetryToken(retryTokenScope) {\n await this.rateLimiter.getSendToken();\n return this.standardRetryStrategy.acquireInitialRetryToken(retryTokenScope);\n }\n async refreshRetryTokenForRetry(tokenToRenew, errorInfo) {\n this.rateLimiter.updateClientSendingRate(errorInfo);\n return this.standardRetryStrategy.refreshRetryTokenForRetry(tokenToRenew, errorInfo);\n }\n recordSuccess(token) {\n this.rateLimiter.updateClientSendingRate({});\n this.standardRetryStrategy.recordSuccess(token);\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-retry/dist-es/AdaptiveRetryStrategy.js?')},"./node_modules/@aws-sdk/util-retry/dist-es/DefaultRateLimiter.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "DefaultRateLimiter": () => (/* binding */ DefaultRateLimiter)\n/* harmony export */ });\n/* harmony import */ var _aws_sdk_service_error_classification__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/service-error-classification */ "./node_modules/@aws-sdk/service-error-classification/dist-es/index.js");\n\nclass DefaultRateLimiter {\n constructor(options) {\n this.currentCapacity = 0;\n this.enabled = false;\n this.lastMaxRate = 0;\n this.measuredTxRate = 0;\n this.requestCount = 0;\n this.lastTimestamp = 0;\n this.timeWindow = 0;\n this.beta = options?.beta ?? 0.7;\n this.minCapacity = options?.minCapacity ?? 1;\n this.minFillRate = options?.minFillRate ?? 0.5;\n this.scaleConstant = options?.scaleConstant ?? 0.4;\n this.smooth = options?.smooth ?? 0.8;\n const currentTimeInSeconds = this.getCurrentTimeInSeconds();\n this.lastThrottleTime = currentTimeInSeconds;\n this.lastTxRateBucket = Math.floor(this.getCurrentTimeInSeconds());\n this.fillRate = this.minFillRate;\n this.maxCapacity = this.minCapacity;\n }\n getCurrentTimeInSeconds() {\n return Date.now() / 1000;\n }\n async getSendToken() {\n return this.acquireTokenBucket(1);\n }\n async acquireTokenBucket(amount) {\n if (!this.enabled) {\n return;\n }\n this.refillTokenBucket();\n if (amount > this.currentCapacity) {\n const delay = ((amount - this.currentCapacity) / this.fillRate) * 1000;\n await new Promise((resolve) => setTimeout(resolve, delay));\n }\n this.currentCapacity = this.currentCapacity - amount;\n }\n refillTokenBucket() {\n const timestamp = this.getCurrentTimeInSeconds();\n if (!this.lastTimestamp) {\n this.lastTimestamp = timestamp;\n return;\n }\n const fillAmount = (timestamp - this.lastTimestamp) * this.fillRate;\n this.currentCapacity = Math.min(this.maxCapacity, this.currentCapacity + fillAmount);\n this.lastTimestamp = timestamp;\n }\n updateClientSendingRate(response) {\n let calculatedRate;\n this.updateMeasuredRate();\n if ((0,_aws_sdk_service_error_classification__WEBPACK_IMPORTED_MODULE_0__.isThrottlingError)(response)) {\n const rateToUse = !this.enabled ? this.measuredTxRate : Math.min(this.measuredTxRate, this.fillRate);\n this.lastMaxRate = rateToUse;\n this.calculateTimeWindow();\n this.lastThrottleTime = this.getCurrentTimeInSeconds();\n calculatedRate = this.cubicThrottle(rateToUse);\n this.enableTokenBucket();\n }\n else {\n this.calculateTimeWindow();\n calculatedRate = this.cubicSuccess(this.getCurrentTimeInSeconds());\n }\n const newRate = Math.min(calculatedRate, 2 * this.measuredTxRate);\n this.updateTokenBucketRate(newRate);\n }\n calculateTimeWindow() {\n this.timeWindow = this.getPrecise(Math.pow((this.lastMaxRate * (1 - this.beta)) / this.scaleConstant, 1 / 3));\n }\n cubicThrottle(rateToUse) {\n return this.getPrecise(rateToUse * this.beta);\n }\n cubicSuccess(timestamp) {\n return this.getPrecise(this.scaleConstant * Math.pow(timestamp - this.lastThrottleTime - this.timeWindow, 3) + this.lastMaxRate);\n }\n enableTokenBucket() {\n this.enabled = true;\n }\n updateTokenBucketRate(newRate) {\n this.refillTokenBucket();\n this.fillRate = Math.max(newRate, this.minFillRate);\n this.maxCapacity = Math.max(newRate, this.minCapacity);\n this.currentCapacity = Math.min(this.currentCapacity, this.maxCapacity);\n }\n updateMeasuredRate() {\n const t = this.getCurrentTimeInSeconds();\n const timeBucket = Math.floor(t * 2) / 2;\n this.requestCount++;\n if (timeBucket > this.lastTxRateBucket) {\n const currentRate = this.requestCount / (timeBucket - this.lastTxRateBucket);\n this.measuredTxRate = this.getPrecise(currentRate * this.smooth + this.measuredTxRate * (1 - this.smooth));\n this.requestCount = 0;\n this.lastTxRateBucket = timeBucket;\n }\n }\n getPrecise(num) {\n return parseFloat(num.toFixed(8));\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-retry/dist-es/DefaultRateLimiter.js?')},"./node_modules/@aws-sdk/util-retry/dist-es/StandardRetryStrategy.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "StandardRetryStrategy": () => (/* binding */ StandardRetryStrategy)\n/* harmony export */ });\n/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./config */ "./node_modules/@aws-sdk/util-retry/dist-es/config.js");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constants */ "./node_modules/@aws-sdk/util-retry/dist-es/constants.js");\n/* harmony import */ var _defaultRetryToken__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./defaultRetryToken */ "./node_modules/@aws-sdk/util-retry/dist-es/defaultRetryToken.js");\n\n\n\nclass StandardRetryStrategy {\n constructor(maxAttemptsProvider) {\n this.maxAttemptsProvider = maxAttemptsProvider;\n this.mode = _config__WEBPACK_IMPORTED_MODULE_0__.RETRY_MODES.STANDARD;\n this.retryToken = (0,_defaultRetryToken__WEBPACK_IMPORTED_MODULE_2__.getDefaultRetryToken)(_constants__WEBPACK_IMPORTED_MODULE_1__.INITIAL_RETRY_TOKENS, _constants__WEBPACK_IMPORTED_MODULE_1__.DEFAULT_RETRY_DELAY_BASE);\n this.maxAttemptsProvider = maxAttemptsProvider;\n }\n async acquireInitialRetryToken(retryTokenScope) {\n return this.retryToken;\n }\n async refreshRetryTokenForRetry(tokenToRenew, errorInfo) {\n const maxAttempts = await this.getMaxAttempts();\n if (this.shouldRetry(tokenToRenew, errorInfo, maxAttempts)) {\n tokenToRenew.getRetryTokenCount(errorInfo);\n return tokenToRenew;\n }\n throw new Error("No retry token available");\n }\n recordSuccess(token) {\n this.retryToken.releaseRetryTokens(token.getLastRetryCost());\n }\n async getMaxAttempts() {\n let maxAttempts;\n try {\n return await this.maxAttemptsProvider();\n }\n catch (error) {\n console.warn(`Max attempts provider could not resolve. Using default of ${_config__WEBPACK_IMPORTED_MODULE_0__.DEFAULT_MAX_ATTEMPTS}`);\n return _config__WEBPACK_IMPORTED_MODULE_0__.DEFAULT_MAX_ATTEMPTS;\n }\n }\n shouldRetry(tokenToRenew, errorInfo, maxAttempts) {\n const attempts = tokenToRenew.getRetryCount();\n return (attempts < maxAttempts &&\n tokenToRenew.hasRetryTokens(errorInfo.errorType) &&\n this.isRetryableError(errorInfo.errorType));\n }\n isRetryableError(errorType) {\n return errorType === "THROTTLING" || errorType === "TRANSIENT";\n }\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-retry/dist-es/StandardRetryStrategy.js?')},"./node_modules/@aws-sdk/util-retry/dist-es/config.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "DEFAULT_MAX_ATTEMPTS": () => (/* binding */ DEFAULT_MAX_ATTEMPTS),\n/* harmony export */ "DEFAULT_RETRY_MODE": () => (/* binding */ DEFAULT_RETRY_MODE),\n/* harmony export */ "RETRY_MODES": () => (/* binding */ RETRY_MODES)\n/* harmony export */ });\nvar RETRY_MODES;\n(function (RETRY_MODES) {\n RETRY_MODES["STANDARD"] = "standard";\n RETRY_MODES["ADAPTIVE"] = "adaptive";\n})(RETRY_MODES || (RETRY_MODES = {}));\nconst DEFAULT_MAX_ATTEMPTS = 3;\nconst DEFAULT_RETRY_MODE = "STANDARD";\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-retry/dist-es/config.js?')},"./node_modules/@aws-sdk/util-retry/dist-es/constants.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "DEFAULT_RETRY_DELAY_BASE": () => (/* binding */ DEFAULT_RETRY_DELAY_BASE),\n/* harmony export */ "INITIAL_RETRY_TOKENS": () => (/* binding */ INITIAL_RETRY_TOKENS),\n/* harmony export */ "INVOCATION_ID_HEADER": () => (/* binding */ INVOCATION_ID_HEADER),\n/* harmony export */ "MAXIMUM_RETRY_DELAY": () => (/* binding */ MAXIMUM_RETRY_DELAY),\n/* harmony export */ "NO_RETRY_INCREMENT": () => (/* binding */ NO_RETRY_INCREMENT),\n/* harmony export */ "REQUEST_HEADER": () => (/* binding */ REQUEST_HEADER),\n/* harmony export */ "RETRY_COST": () => (/* binding */ RETRY_COST),\n/* harmony export */ "THROTTLING_RETRY_DELAY_BASE": () => (/* binding */ THROTTLING_RETRY_DELAY_BASE),\n/* harmony export */ "TIMEOUT_RETRY_COST": () => (/* binding */ TIMEOUT_RETRY_COST)\n/* harmony export */ });\nconst DEFAULT_RETRY_DELAY_BASE = 100;\nconst MAXIMUM_RETRY_DELAY = 20 * 1000;\nconst THROTTLING_RETRY_DELAY_BASE = 500;\nconst INITIAL_RETRY_TOKENS = 500;\nconst RETRY_COST = 5;\nconst TIMEOUT_RETRY_COST = 10;\nconst NO_RETRY_INCREMENT = 1;\nconst INVOCATION_ID_HEADER = "amz-sdk-invocation-id";\nconst REQUEST_HEADER = "amz-sdk-request";\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-retry/dist-es/constants.js?')},"./node_modules/@aws-sdk/util-retry/dist-es/defaultRetryBackoffStrategy.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getDefaultRetryBackoffStrategy": () => (/* binding */ getDefaultRetryBackoffStrategy)\n/* harmony export */ });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ "./node_modules/@aws-sdk/util-retry/dist-es/constants.js");\n\nconst getDefaultRetryBackoffStrategy = () => {\n let delayBase = _constants__WEBPACK_IMPORTED_MODULE_0__.DEFAULT_RETRY_DELAY_BASE;\n const computeNextBackoffDelay = (attempts) => {\n return Math.floor(Math.min(_constants__WEBPACK_IMPORTED_MODULE_0__.MAXIMUM_RETRY_DELAY, Math.random() * 2 ** attempts * delayBase));\n };\n const setDelayBase = (delay) => {\n delayBase = delay;\n };\n return {\n computeNextBackoffDelay,\n setDelayBase,\n };\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-retry/dist-es/defaultRetryBackoffStrategy.js?')},"./node_modules/@aws-sdk/util-retry/dist-es/defaultRetryToken.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "getDefaultRetryToken": () => (/* binding */ getDefaultRetryToken)\n/* harmony export */ });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ "./node_modules/@aws-sdk/util-retry/dist-es/constants.js");\n/* harmony import */ var _defaultRetryBackoffStrategy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./defaultRetryBackoffStrategy */ "./node_modules/@aws-sdk/util-retry/dist-es/defaultRetryBackoffStrategy.js");\n\n\nconst getDefaultRetryToken = (initialRetryTokens, initialRetryDelay, initialRetryCount, options) => {\n const MAX_CAPACITY = initialRetryTokens;\n const retryCost = options?.retryCost ?? _constants__WEBPACK_IMPORTED_MODULE_0__.RETRY_COST;\n const timeoutRetryCost = options?.timeoutRetryCost ?? _constants__WEBPACK_IMPORTED_MODULE_0__.TIMEOUT_RETRY_COST;\n const retryBackoffStrategy = options?.retryBackoffStrategy ?? (0,_defaultRetryBackoffStrategy__WEBPACK_IMPORTED_MODULE_1__.getDefaultRetryBackoffStrategy)();\n let availableCapacity = initialRetryTokens;\n let retryDelay = Math.min(_constants__WEBPACK_IMPORTED_MODULE_0__.MAXIMUM_RETRY_DELAY, initialRetryDelay);\n let lastRetryCost = undefined;\n let retryCount = initialRetryCount ?? 0;\n const getCapacityAmount = (errorType) => (errorType === "TRANSIENT" ? timeoutRetryCost : retryCost);\n const getRetryCount = () => retryCount;\n const getRetryDelay = () => retryDelay;\n const getLastRetryCost = () => lastRetryCost;\n const hasRetryTokens = (errorType) => getCapacityAmount(errorType) <= availableCapacity;\n const getRetryTokenCount = (errorInfo) => {\n const errorType = errorInfo.errorType;\n if (!hasRetryTokens(errorType)) {\n throw new Error("No retry token available");\n }\n const capacityAmount = getCapacityAmount(errorType);\n const delayBase = errorType === "THROTTLING" ? _constants__WEBPACK_IMPORTED_MODULE_0__.THROTTLING_RETRY_DELAY_BASE : _constants__WEBPACK_IMPORTED_MODULE_0__.DEFAULT_RETRY_DELAY_BASE;\n retryBackoffStrategy.setDelayBase(delayBase);\n const delayFromErrorType = retryBackoffStrategy.computeNextBackoffDelay(retryCount);\n if (errorInfo.retryAfterHint) {\n const delayFromRetryAfterHint = errorInfo.retryAfterHint.getTime() - Date.now();\n retryDelay = Math.max(delayFromRetryAfterHint || 0, delayFromErrorType);\n }\n else {\n retryDelay = delayFromErrorType;\n }\n retryCount++;\n lastRetryCost = capacityAmount;\n availableCapacity -= capacityAmount;\n return capacityAmount;\n };\n const releaseRetryTokens = (releaseAmount) => {\n availableCapacity += releaseAmount ?? _constants__WEBPACK_IMPORTED_MODULE_0__.NO_RETRY_INCREMENT;\n availableCapacity = Math.min(availableCapacity, MAX_CAPACITY);\n };\n return {\n getRetryCount,\n getRetryDelay,\n getLastRetryCost,\n hasRetryTokens,\n getRetryTokenCount,\n releaseRetryTokens,\n };\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-retry/dist-es/defaultRetryToken.js?')},"./node_modules/@aws-sdk/util-retry/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "AdaptiveRetryStrategy": () => (/* reexport safe */ _AdaptiveRetryStrategy__WEBPACK_IMPORTED_MODULE_0__.AdaptiveRetryStrategy),\n/* harmony export */ "DEFAULT_MAX_ATTEMPTS": () => (/* reexport safe */ _config__WEBPACK_IMPORTED_MODULE_3__.DEFAULT_MAX_ATTEMPTS),\n/* harmony export */ "DEFAULT_RETRY_DELAY_BASE": () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_4__.DEFAULT_RETRY_DELAY_BASE),\n/* harmony export */ "DEFAULT_RETRY_MODE": () => (/* reexport safe */ _config__WEBPACK_IMPORTED_MODULE_3__.DEFAULT_RETRY_MODE),\n/* harmony export */ "DefaultRateLimiter": () => (/* reexport safe */ _DefaultRateLimiter__WEBPACK_IMPORTED_MODULE_1__.DefaultRateLimiter),\n/* harmony export */ "INITIAL_RETRY_TOKENS": () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_4__.INITIAL_RETRY_TOKENS),\n/* harmony export */ "INVOCATION_ID_HEADER": () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_4__.INVOCATION_ID_HEADER),\n/* harmony export */ "MAXIMUM_RETRY_DELAY": () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_4__.MAXIMUM_RETRY_DELAY),\n/* harmony export */ "NO_RETRY_INCREMENT": () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_4__.NO_RETRY_INCREMENT),\n/* harmony export */ "REQUEST_HEADER": () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_4__.REQUEST_HEADER),\n/* harmony export */ "RETRY_COST": () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_4__.RETRY_COST),\n/* harmony export */ "RETRY_MODES": () => (/* reexport safe */ _config__WEBPACK_IMPORTED_MODULE_3__.RETRY_MODES),\n/* harmony export */ "StandardRetryStrategy": () => (/* reexport safe */ _StandardRetryStrategy__WEBPACK_IMPORTED_MODULE_2__.StandardRetryStrategy),\n/* harmony export */ "THROTTLING_RETRY_DELAY_BASE": () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_4__.THROTTLING_RETRY_DELAY_BASE),\n/* harmony export */ "TIMEOUT_RETRY_COST": () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_4__.TIMEOUT_RETRY_COST)\n/* harmony export */ });\n/* harmony import */ var _AdaptiveRetryStrategy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AdaptiveRetryStrategy */ "./node_modules/@aws-sdk/util-retry/dist-es/AdaptiveRetryStrategy.js");\n/* harmony import */ var _DefaultRateLimiter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./DefaultRateLimiter */ "./node_modules/@aws-sdk/util-retry/dist-es/DefaultRateLimiter.js");\n/* harmony import */ var _StandardRetryStrategy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./StandardRetryStrategy */ "./node_modules/@aws-sdk/util-retry/dist-es/StandardRetryStrategy.js");\n/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./config */ "./node_modules/@aws-sdk/util-retry/dist-es/config.js");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./constants */ "./node_modules/@aws-sdk/util-retry/dist-es/constants.js");\n/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./types */ "./node_modules/@aws-sdk/util-retry/dist-es/types.js");\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-retry/dist-es/index.js?')},"./node_modules/@aws-sdk/util-retry/dist-es/types.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval("__webpack_require__.r(__webpack_exports__);\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-retry/dist-es/types.js?")},"./node_modules/@aws-sdk/util-uri-escape/dist-es/escape-uri-path.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "escapeUriPath": () => (/* binding */ escapeUriPath)\n/* harmony export */ });\n/* harmony import */ var _escape_uri__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./escape-uri */ "./node_modules/@aws-sdk/util-uri-escape/dist-es/escape-uri.js");\n\nconst escapeUriPath = (uri) => uri.split("/").map(_escape_uri__WEBPACK_IMPORTED_MODULE_0__.escapeUri).join("/");\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-uri-escape/dist-es/escape-uri-path.js?')},"./node_modules/@aws-sdk/util-uri-escape/dist-es/escape-uri.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "escapeUri": () => (/* binding */ escapeUri)\n/* harmony export */ });\nconst escapeUri = (uri) => encodeURIComponent(uri).replace(/[!\'()*]/g, hexEncode);\nconst hexEncode = (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`;\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-uri-escape/dist-es/escape-uri.js?')},"./node_modules/@aws-sdk/util-uri-escape/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "escapeUri": () => (/* reexport safe */ _escape_uri__WEBPACK_IMPORTED_MODULE_0__.escapeUri),\n/* harmony export */ "escapeUriPath": () => (/* reexport safe */ _escape_uri_path__WEBPACK_IMPORTED_MODULE_1__.escapeUriPath)\n/* harmony export */ });\n/* harmony import */ var _escape_uri__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./escape-uri */ "./node_modules/@aws-sdk/util-uri-escape/dist-es/escape-uri.js");\n/* harmony import */ var _escape_uri_path__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./escape-uri-path */ "./node_modules/@aws-sdk/util-uri-escape/dist-es/escape-uri-path.js");\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-uri-escape/dist-es/index.js?')},"./node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "defaultUserAgent": () => (/* binding */ defaultUserAgent)\n/* harmony export */ });\n/* harmony import */ var bowser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! bowser */ "./node_modules/bowser/es5.js");\n/* harmony import */ var bowser__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(bowser__WEBPACK_IMPORTED_MODULE_0__);\n\nconst defaultUserAgent = ({ serviceId, clientVersion }) => async () => {\n const parsedUA = typeof window !== "undefined" && window?.navigator?.userAgent\n ? bowser__WEBPACK_IMPORTED_MODULE_0___default().parse(window.navigator.userAgent)\n : undefined;\n const sections = [\n ["aws-sdk-js", clientVersion],\n [`os/${parsedUA?.os?.name || "other"}`, parsedUA?.os?.version],\n ["lang/js"],\n ["md/browser", `${parsedUA?.browser?.name ?? "unknown"}_${parsedUA?.browser?.version ?? "unknown"}`],\n ];\n if (serviceId) {\n sections.push([`api/${serviceId}`, clientVersion]);\n }\n return sections;\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js?')},"./node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "fromUtf8": () => (/* binding */ fromUtf8),\n/* harmony export */ "toUtf8": () => (/* binding */ toUtf8)\n/* harmony export */ });\n/* harmony import */ var _pureJs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./pureJs */ "./node_modules/@aws-sdk/util-utf8-browser/dist-es/pureJs.js");\n/* harmony import */ var _whatwgEncodingApi__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./whatwgEncodingApi */ "./node_modules/@aws-sdk/util-utf8-browser/dist-es/whatwgEncodingApi.js");\n\n\nconst fromUtf8 = (input) => typeof TextEncoder === "function" ? (0,_whatwgEncodingApi__WEBPACK_IMPORTED_MODULE_1__.fromUtf8)(input) : (0,_pureJs__WEBPACK_IMPORTED_MODULE_0__.fromUtf8)(input);\nconst toUtf8 = (input) => typeof TextDecoder === "function" ? (0,_whatwgEncodingApi__WEBPACK_IMPORTED_MODULE_1__.toUtf8)(input) : (0,_pureJs__WEBPACK_IMPORTED_MODULE_0__.toUtf8)(input);\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js?')},"./node_modules/@aws-sdk/util-utf8-browser/dist-es/pureJs.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "fromUtf8": () => (/* binding */ fromUtf8),\n/* harmony export */ "toUtf8": () => (/* binding */ toUtf8)\n/* harmony export */ });\nconst fromUtf8 = (input) => {\n const bytes = [];\n for (let i = 0, len = input.length; i < len; i++) {\n const value = input.charCodeAt(i);\n if (value < 0x80) {\n bytes.push(value);\n }\n else if (value < 0x800) {\n bytes.push((value >> 6) | 0b11000000, (value & 0b111111) | 0b10000000);\n }\n else if (i + 1 < input.length && (value & 0xfc00) === 0xd800 && (input.charCodeAt(i + 1) & 0xfc00) === 0xdc00) {\n const surrogatePair = 0x10000 + ((value & 0b1111111111) << 10) + (input.charCodeAt(++i) & 0b1111111111);\n bytes.push((surrogatePair >> 18) | 0b11110000, ((surrogatePair >> 12) & 0b111111) | 0b10000000, ((surrogatePair >> 6) & 0b111111) | 0b10000000, (surrogatePair & 0b111111) | 0b10000000);\n }\n else {\n bytes.push((value >> 12) | 0b11100000, ((value >> 6) & 0b111111) | 0b10000000, (value & 0b111111) | 0b10000000);\n }\n }\n return Uint8Array.from(bytes);\n};\nconst toUtf8 = (input) => {\n let decoded = "";\n for (let i = 0, len = input.length; i < len; i++) {\n const byte = input[i];\n if (byte < 0x80) {\n decoded += String.fromCharCode(byte);\n }\n else if (0b11000000 <= byte && byte < 0b11100000) {\n const nextByte = input[++i];\n decoded += String.fromCharCode(((byte & 0b11111) << 6) | (nextByte & 0b111111));\n }\n else if (0b11110000 <= byte && byte < 0b101101101) {\n const surrogatePair = [byte, input[++i], input[++i], input[++i]];\n const encoded = "%" + surrogatePair.map((byteValue) => byteValue.toString(16)).join("%");\n decoded += decodeURIComponent(encoded);\n }\n else {\n decoded += String.fromCharCode(((byte & 0b1111) << 12) | ((input[++i] & 0b111111) << 6) | (input[++i] & 0b111111));\n }\n }\n return decoded;\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-utf8-browser/dist-es/pureJs.js?')},"./node_modules/@aws-sdk/util-utf8-browser/dist-es/whatwgEncodingApi.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "fromUtf8": () => (/* binding */ fromUtf8),\n/* harmony export */ "toUtf8": () => (/* binding */ toUtf8)\n/* harmony export */ });\nfunction fromUtf8(input) {\n return new TextEncoder().encode(input);\n}\nfunction toUtf8(input) {\n return new TextDecoder("utf-8").decode(input);\n}\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-utf8-browser/dist-es/whatwgEncodingApi.js?')},"./node_modules/@aws-sdk/util-utf8/dist-es/fromUtf8.browser.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "fromUtf8": () => (/* binding */ fromUtf8)\n/* harmony export */ });\nconst fromUtf8 = (input) => new TextEncoder().encode(input);\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-utf8/dist-es/fromUtf8.browser.js?')},"./node_modules/@aws-sdk/util-utf8/dist-es/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "fromUtf8": () => (/* reexport safe */ _fromUtf8__WEBPACK_IMPORTED_MODULE_0__.fromUtf8),\n/* harmony export */ "toUint8Array": () => (/* reexport safe */ _toUint8Array__WEBPACK_IMPORTED_MODULE_1__.toUint8Array),\n/* harmony export */ "toUtf8": () => (/* reexport safe */ _toUtf8__WEBPACK_IMPORTED_MODULE_2__.toUtf8)\n/* harmony export */ });\n/* harmony import */ var _fromUtf8__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./fromUtf8 */ "./node_modules/@aws-sdk/util-utf8/dist-es/fromUtf8.browser.js");\n/* harmony import */ var _toUint8Array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toUint8Array */ "./node_modules/@aws-sdk/util-utf8/dist-es/toUint8Array.js");\n/* harmony import */ var _toUtf8__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./toUtf8 */ "./node_modules/@aws-sdk/util-utf8/dist-es/toUtf8.browser.js");\n\n\n\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-utf8/dist-es/index.js?')},"./node_modules/@aws-sdk/util-utf8/dist-es/toUint8Array.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "toUint8Array": () => (/* binding */ toUint8Array)\n/* harmony export */ });\n/* harmony import */ var _fromUtf8__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./fromUtf8 */ "./node_modules/@aws-sdk/util-utf8/dist-es/fromUtf8.browser.js");\n\nconst toUint8Array = (data) => {\n if (typeof data === "string") {\n return (0,_fromUtf8__WEBPACK_IMPORTED_MODULE_0__.fromUtf8)(data);\n }\n if (ArrayBuffer.isView(data)) {\n return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT);\n }\n return new Uint8Array(data);\n};\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-utf8/dist-es/toUint8Array.js?')},"./node_modules/@aws-sdk/util-utf8/dist-es/toUtf8.browser.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ "toUtf8": () => (/* binding */ toUtf8)\n/* harmony export */ });\nconst toUtf8 = (input) => new TextDecoder("utf-8").decode(input);\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-utf8/dist-es/toUtf8.browser.js?')},"./node_modules/@protobufjs/aspromise/index.js":module=>{"use strict";eval("\r\nmodule.exports = asPromise;\r\n\r\n/**\r\n * Callback as used by {@link util.asPromise}.\r\n * @typedef asPromiseCallback\r\n * @type {function}\r\n * @param {Error|null} error Error, if any\r\n * @param {...*} params Additional arguments\r\n * @returns {undefined}\r\n */\r\n\r\n/**\r\n * Returns a promise from a node-style callback function.\r\n * @memberof util\r\n * @param {asPromiseCallback} fn Function to call\r\n * @param {*} ctx Function context\r\n * @param {...*} params Function arguments\r\n * @returns {Promise<*>} Promisified function\r\n */\r\nfunction asPromise(fn, ctx/*, varargs */) {\r\n var params = new Array(arguments.length - 1),\r\n offset = 0,\r\n index = 2,\r\n pending = true;\r\n while (index < arguments.length)\r\n params[offset++] = arguments[index++];\r\n return new Promise(function executor(resolve, reject) {\r\n params[offset] = function callback(err/*, varargs */) {\r\n if (pending) {\r\n pending = false;\r\n if (err)\r\n reject(err);\r\n else {\r\n var params = new Array(arguments.length - 1),\r\n offset = 0;\r\n while (offset < params.length)\r\n params[offset++] = arguments[offset];\r\n resolve.apply(null, params);\r\n }\r\n }\r\n };\r\n try {\r\n fn.apply(ctx || null, params);\r\n } catch (err) {\r\n if (pending) {\r\n pending = false;\r\n reject(err);\r\n }\r\n }\r\n });\r\n}\r\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@protobufjs/aspromise/index.js?")},"./node_modules/@protobufjs/base64/index.js":(__unused_webpack_module,exports)=>{"use strict";eval('\r\n\r\n/**\r\n * A minimal base64 implementation for number arrays.\r\n * @memberof util\r\n * @namespace\r\n */\r\nvar base64 = exports;\r\n\r\n/**\r\n * Calculates the byte length of a base64 encoded string.\r\n * @param {string} string Base64 encoded string\r\n * @returns {number} Byte length\r\n */\r\nbase64.length = function length(string) {\r\n var p = string.length;\r\n if (!p)\r\n return 0;\r\n var n = 0;\r\n while (--p % 4 > 1 && string.charAt(p) === "=")\r\n ++n;\r\n return Math.ceil(string.length * 3) / 4 - n;\r\n};\r\n\r\n// Base64 encoding table\r\nvar b64 = new Array(64);\r\n\r\n// Base64 decoding table\r\nvar s64 = new Array(123);\r\n\r\n// 65..90, 97..122, 48..57, 43, 47\r\nfor (var i = 0; i < 64;)\r\n s64[b64[i] = i < 26 ? i + 65 : i < 52 ? i + 71 : i < 62 ? i - 4 : i - 59 | 43] = i++;\r\n\r\n/**\r\n * Encodes a buffer to a base64 encoded string.\r\n * @param {Uint8Array} buffer Source buffer\r\n * @param {number} start Source start\r\n * @param {number} end Source end\r\n * @returns {string} Base64 encoded string\r\n */\r\nbase64.encode = function encode(buffer, start, end) {\r\n var parts = null,\r\n chunk = [];\r\n var i = 0, // output index\r\n j = 0, // goto index\r\n t; // temporary\r\n while (start < end) {\r\n var b = buffer[start++];\r\n switch (j) {\r\n case 0:\r\n chunk[i++] = b64[b >> 2];\r\n t = (b & 3) << 4;\r\n j = 1;\r\n break;\r\n case 1:\r\n chunk[i++] = b64[t | b >> 4];\r\n t = (b & 15) << 2;\r\n j = 2;\r\n break;\r\n case 2:\r\n chunk[i++] = b64[t | b >> 6];\r\n chunk[i++] = b64[b & 63];\r\n j = 0;\r\n break;\r\n }\r\n if (i > 8191) {\r\n (parts || (parts = [])).push(String.fromCharCode.apply(String, chunk));\r\n i = 0;\r\n }\r\n }\r\n if (j) {\r\n chunk[i++] = b64[t];\r\n chunk[i++] = 61;\r\n if (j === 1)\r\n chunk[i++] = 61;\r\n }\r\n if (parts) {\r\n if (i)\r\n parts.push(String.fromCharCode.apply(String, chunk.slice(0, i)));\r\n return parts.join("");\r\n }\r\n return String.fromCharCode.apply(String, chunk.slice(0, i));\r\n};\r\n\r\nvar invalidEncoding = "invalid encoding";\r\n\r\n/**\r\n * Decodes a base64 encoded string to a buffer.\r\n * @param {string} string Source string\r\n * @param {Uint8Array} buffer Destination buffer\r\n * @param {number} offset Destination offset\r\n * @returns {number} Number of bytes written\r\n * @throws {Error} If encoding is invalid\r\n */\r\nbase64.decode = function decode(string, buffer, offset) {\r\n var start = offset;\r\n var j = 0, // goto index\r\n t; // temporary\r\n for (var i = 0; i < string.length;) {\r\n var c = string.charCodeAt(i++);\r\n if (c === 61 && j > 1)\r\n break;\r\n if ((c = s64[c]) === undefined)\r\n throw Error(invalidEncoding);\r\n switch (j) {\r\n case 0:\r\n t = c;\r\n j = 1;\r\n break;\r\n case 1:\r\n buffer[offset++] = t << 2 | (c & 48) >> 4;\r\n t = c;\r\n j = 2;\r\n break;\r\n case 2:\r\n buffer[offset++] = (t & 15) << 4 | (c & 60) >> 2;\r\n t = c;\r\n j = 3;\r\n break;\r\n case 3:\r\n buffer[offset++] = (t & 3) << 6 | c;\r\n j = 0;\r\n break;\r\n }\r\n }\r\n if (j === 1)\r\n throw Error(invalidEncoding);\r\n return offset - start;\r\n};\r\n\r\n/**\r\n * Tests if the specified string appears to be base64 encoded.\r\n * @param {string} string String to test\r\n * @returns {boolean} `true` if probably base64 encoded, otherwise false\r\n */\r\nbase64.test = function test(string) {\r\n return /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(string);\r\n};\r\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@protobufjs/base64/index.js?')},"./node_modules/@protobufjs/eventemitter/index.js":module=>{"use strict";eval("\r\nmodule.exports = EventEmitter;\r\n\r\n/**\r\n * Constructs a new event emitter instance.\r\n * @classdesc A minimal event emitter.\r\n * @memberof util\r\n * @constructor\r\n */\r\nfunction EventEmitter() {\r\n\r\n /**\r\n * Registered listeners.\r\n * @type {Object.}\r\n * @private\r\n */\r\n this._listeners = {};\r\n}\r\n\r\n/**\r\n * Registers an event listener.\r\n * @param {string} evt Event name\r\n * @param {function} fn Listener\r\n * @param {*} [ctx] Listener context\r\n * @returns {util.EventEmitter} `this`\r\n */\r\nEventEmitter.prototype.on = function on(evt, fn, ctx) {\r\n (this._listeners[evt] || (this._listeners[evt] = [])).push({\r\n fn : fn,\r\n ctx : ctx || this\r\n });\r\n return this;\r\n};\r\n\r\n/**\r\n * Removes an event listener or any matching listeners if arguments are omitted.\r\n * @param {string} [evt] Event name. Removes all listeners if omitted.\r\n * @param {function} [fn] Listener to remove. Removes all listeners of `evt` if omitted.\r\n * @returns {util.EventEmitter} `this`\r\n */\r\nEventEmitter.prototype.off = function off(evt, fn) {\r\n if (evt === undefined)\r\n this._listeners = {};\r\n else {\r\n if (fn === undefined)\r\n this._listeners[evt] = [];\r\n else {\r\n var listeners = this._listeners[evt];\r\n for (var i = 0; i < listeners.length;)\r\n if (listeners[i].fn === fn)\r\n listeners.splice(i, 1);\r\n else\r\n ++i;\r\n }\r\n }\r\n return this;\r\n};\r\n\r\n/**\r\n * Emits an event by calling its listeners with the specified arguments.\r\n * @param {string} evt Event name\r\n * @param {...*} args Arguments\r\n * @returns {util.EventEmitter} `this`\r\n */\r\nEventEmitter.prototype.emit = function emit(evt) {\r\n var listeners = this._listeners[evt];\r\n if (listeners) {\r\n var args = [],\r\n i = 1;\r\n for (; i < arguments.length;)\r\n args.push(arguments[i++]);\r\n for (i = 0; i < listeners.length;)\r\n listeners[i].fn.apply(listeners[i++].ctx, args);\r\n }\r\n return this;\r\n};\r\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@protobufjs/eventemitter/index.js?")},"./node_modules/@protobufjs/float/index.js":module=>{"use strict";eval('\r\n\r\nmodule.exports = factory(factory);\r\n\r\n/**\r\n * Reads / writes floats / doubles from / to buffers.\r\n * @name util.float\r\n * @namespace\r\n */\r\n\r\n/**\r\n * Writes a 32 bit float to a buffer using little endian byte order.\r\n * @name util.float.writeFloatLE\r\n * @function\r\n * @param {number} val Value to write\r\n * @param {Uint8Array} buf Target buffer\r\n * @param {number} pos Target buffer offset\r\n * @returns {undefined}\r\n */\r\n\r\n/**\r\n * Writes a 32 bit float to a buffer using big endian byte order.\r\n * @name util.float.writeFloatBE\r\n * @function\r\n * @param {number} val Value to write\r\n * @param {Uint8Array} buf Target buffer\r\n * @param {number} pos Target buffer offset\r\n * @returns {undefined}\r\n */\r\n\r\n/**\r\n * Reads a 32 bit float from a buffer using little endian byte order.\r\n * @name util.float.readFloatLE\r\n * @function\r\n * @param {Uint8Array} buf Source buffer\r\n * @param {number} pos Source buffer offset\r\n * @returns {number} Value read\r\n */\r\n\r\n/**\r\n * Reads a 32 bit float from a buffer using big endian byte order.\r\n * @name util.float.readFloatBE\r\n * @function\r\n * @param {Uint8Array} buf Source buffer\r\n * @param {number} pos Source buffer offset\r\n * @returns {number} Value read\r\n */\r\n\r\n/**\r\n * Writes a 64 bit double to a buffer using little endian byte order.\r\n * @name util.float.writeDoubleLE\r\n * @function\r\n * @param {number} val Value to write\r\n * @param {Uint8Array} buf Target buffer\r\n * @param {number} pos Target buffer offset\r\n * @returns {undefined}\r\n */\r\n\r\n/**\r\n * Writes a 64 bit double to a buffer using big endian byte order.\r\n * @name util.float.writeDoubleBE\r\n * @function\r\n * @param {number} val Value to write\r\n * @param {Uint8Array} buf Target buffer\r\n * @param {number} pos Target buffer offset\r\n * @returns {undefined}\r\n */\r\n\r\n/**\r\n * Reads a 64 bit double from a buffer using little endian byte order.\r\n * @name util.float.readDoubleLE\r\n * @function\r\n * @param {Uint8Array} buf Source buffer\r\n * @param {number} pos Source buffer offset\r\n * @returns {number} Value read\r\n */\r\n\r\n/**\r\n * Reads a 64 bit double from a buffer using big endian byte order.\r\n * @name util.float.readDoubleBE\r\n * @function\r\n * @param {Uint8Array} buf Source buffer\r\n * @param {number} pos Source buffer offset\r\n * @returns {number} Value read\r\n */\r\n\r\n// Factory function for the purpose of node-based testing in modified global environments\r\nfunction factory(exports) {\r\n\r\n // float: typed array\r\n if (typeof Float32Array !== "undefined") (function() {\r\n\r\n var f32 = new Float32Array([ -0 ]),\r\n f8b = new Uint8Array(f32.buffer),\r\n le = f8b[3] === 128;\r\n\r\n function writeFloat_f32_cpy(val, buf, pos) {\r\n f32[0] = val;\r\n buf[pos ] = f8b[0];\r\n buf[pos + 1] = f8b[1];\r\n buf[pos + 2] = f8b[2];\r\n buf[pos + 3] = f8b[3];\r\n }\r\n\r\n function writeFloat_f32_rev(val, buf, pos) {\r\n f32[0] = val;\r\n buf[pos ] = f8b[3];\r\n buf[pos + 1] = f8b[2];\r\n buf[pos + 2] = f8b[1];\r\n buf[pos + 3] = f8b[0];\r\n }\r\n\r\n /* istanbul ignore next */\r\n exports.writeFloatLE = le ? writeFloat_f32_cpy : writeFloat_f32_rev;\r\n /* istanbul ignore next */\r\n exports.writeFloatBE = le ? writeFloat_f32_rev : writeFloat_f32_cpy;\r\n\r\n function readFloat_f32_cpy(buf, pos) {\r\n f8b[0] = buf[pos ];\r\n f8b[1] = buf[pos + 1];\r\n f8b[2] = buf[pos + 2];\r\n f8b[3] = buf[pos + 3];\r\n return f32[0];\r\n }\r\n\r\n function readFloat_f32_rev(buf, pos) {\r\n f8b[3] = buf[pos ];\r\n f8b[2] = buf[pos + 1];\r\n f8b[1] = buf[pos + 2];\r\n f8b[0] = buf[pos + 3];\r\n return f32[0];\r\n }\r\n\r\n /* istanbul ignore next */\r\n exports.readFloatLE = le ? readFloat_f32_cpy : readFloat_f32_rev;\r\n /* istanbul ignore next */\r\n exports.readFloatBE = le ? readFloat_f32_rev : readFloat_f32_cpy;\r\n\r\n // float: ieee754\r\n })(); else (function() {\r\n\r\n function writeFloat_ieee754(writeUint, val, buf, pos) {\r\n var sign = val < 0 ? 1 : 0;\r\n if (sign)\r\n val = -val;\r\n if (val === 0)\r\n writeUint(1 / val > 0 ? /* positive */ 0 : /* negative 0 */ 2147483648, buf, pos);\r\n else if (isNaN(val))\r\n writeUint(2143289344, buf, pos);\r\n else if (val > 3.4028234663852886e+38) // +-Infinity\r\n writeUint((sign << 31 | 2139095040) >>> 0, buf, pos);\r\n else if (val < 1.1754943508222875e-38) // denormal\r\n writeUint((sign << 31 | Math.round(val / 1.401298464324817e-45)) >>> 0, buf, pos);\r\n else {\r\n var exponent = Math.floor(Math.log(val) / Math.LN2),\r\n mantissa = Math.round(val * Math.pow(2, -exponent) * 8388608) & 8388607;\r\n writeUint((sign << 31 | exponent + 127 << 23 | mantissa) >>> 0, buf, pos);\r\n }\r\n }\r\n\r\n exports.writeFloatLE = writeFloat_ieee754.bind(null, writeUintLE);\r\n exports.writeFloatBE = writeFloat_ieee754.bind(null, writeUintBE);\r\n\r\n function readFloat_ieee754(readUint, buf, pos) {\r\n var uint = readUint(buf, pos),\r\n sign = (uint >> 31) * 2 + 1,\r\n exponent = uint >>> 23 & 255,\r\n mantissa = uint & 8388607;\r\n return exponent === 255\r\n ? mantissa\r\n ? NaN\r\n : sign * Infinity\r\n : exponent === 0 // denormal\r\n ? sign * 1.401298464324817e-45 * mantissa\r\n : sign * Math.pow(2, exponent - 150) * (mantissa + 8388608);\r\n }\r\n\r\n exports.readFloatLE = readFloat_ieee754.bind(null, readUintLE);\r\n exports.readFloatBE = readFloat_ieee754.bind(null, readUintBE);\r\n\r\n })();\r\n\r\n // double: typed array\r\n if (typeof Float64Array !== "undefined") (function() {\r\n\r\n var f64 = new Float64Array([-0]),\r\n f8b = new Uint8Array(f64.buffer),\r\n le = f8b[7] === 128;\r\n\r\n function writeDouble_f64_cpy(val, buf, pos) {\r\n f64[0] = val;\r\n buf[pos ] = f8b[0];\r\n buf[pos + 1] = f8b[1];\r\n buf[pos + 2] = f8b[2];\r\n buf[pos + 3] = f8b[3];\r\n buf[pos + 4] = f8b[4];\r\n buf[pos + 5] = f8b[5];\r\n buf[pos + 6] = f8b[6];\r\n buf[pos + 7] = f8b[7];\r\n }\r\n\r\n function writeDouble_f64_rev(val, buf, pos) {\r\n f64[0] = val;\r\n buf[pos ] = f8b[7];\r\n buf[pos + 1] = f8b[6];\r\n buf[pos + 2] = f8b[5];\r\n buf[pos + 3] = f8b[4];\r\n buf[pos + 4] = f8b[3];\r\n buf[pos + 5] = f8b[2];\r\n buf[pos + 6] = f8b[1];\r\n buf[pos + 7] = f8b[0];\r\n }\r\n\r\n /* istanbul ignore next */\r\n exports.writeDoubleLE = le ? writeDouble_f64_cpy : writeDouble_f64_rev;\r\n /* istanbul ignore next */\r\n exports.writeDoubleBE = le ? writeDouble_f64_rev : writeDouble_f64_cpy;\r\n\r\n function readDouble_f64_cpy(buf, pos) {\r\n f8b[0] = buf[pos ];\r\n f8b[1] = buf[pos + 1];\r\n f8b[2] = buf[pos + 2];\r\n f8b[3] = buf[pos + 3];\r\n f8b[4] = buf[pos + 4];\r\n f8b[5] = buf[pos + 5];\r\n f8b[6] = buf[pos + 6];\r\n f8b[7] = buf[pos + 7];\r\n return f64[0];\r\n }\r\n\r\n function readDouble_f64_rev(buf, pos) {\r\n f8b[7] = buf[pos ];\r\n f8b[6] = buf[pos + 1];\r\n f8b[5] = buf[pos + 2];\r\n f8b[4] = buf[pos + 3];\r\n f8b[3] = buf[pos + 4];\r\n f8b[2] = buf[pos + 5];\r\n f8b[1] = buf[pos + 6];\r\n f8b[0] = buf[pos + 7];\r\n return f64[0];\r\n }\r\n\r\n /* istanbul ignore next */\r\n exports.readDoubleLE = le ? readDouble_f64_cpy : readDouble_f64_rev;\r\n /* istanbul ignore next */\r\n exports.readDoubleBE = le ? readDouble_f64_rev : readDouble_f64_cpy;\r\n\r\n // double: ieee754\r\n })(); else (function() {\r\n\r\n function writeDouble_ieee754(writeUint, off0, off1, val, buf, pos) {\r\n var sign = val < 0 ? 1 : 0;\r\n if (sign)\r\n val = -val;\r\n if (val === 0) {\r\n writeUint(0, buf, pos + off0);\r\n writeUint(1 / val > 0 ? /* positive */ 0 : /* negative 0 */ 2147483648, buf, pos + off1);\r\n } else if (isNaN(val)) {\r\n writeUint(0, buf, pos + off0);\r\n writeUint(2146959360, buf, pos + off1);\r\n } else if (val > 1.7976931348623157e+308) { // +-Infinity\r\n writeUint(0, buf, pos + off0);\r\n writeUint((sign << 31 | 2146435072) >>> 0, buf, pos + off1);\r\n } else {\r\n var mantissa;\r\n if (val < 2.2250738585072014e-308) { // denormal\r\n mantissa = val / 5e-324;\r\n writeUint(mantissa >>> 0, buf, pos + off0);\r\n writeUint((sign << 31 | mantissa / 4294967296) >>> 0, buf, pos + off1);\r\n } else {\r\n var exponent = Math.floor(Math.log(val) / Math.LN2);\r\n if (exponent === 1024)\r\n exponent = 1023;\r\n mantissa = val * Math.pow(2, -exponent);\r\n writeUint(mantissa * 4503599627370496 >>> 0, buf, pos + off0);\r\n writeUint((sign << 31 | exponent + 1023 << 20 | mantissa * 1048576 & 1048575) >>> 0, buf, pos + off1);\r\n }\r\n }\r\n }\r\n\r\n exports.writeDoubleLE = writeDouble_ieee754.bind(null, writeUintLE, 0, 4);\r\n exports.writeDoubleBE = writeDouble_ieee754.bind(null, writeUintBE, 4, 0);\r\n\r\n function readDouble_ieee754(readUint, off0, off1, buf, pos) {\r\n var lo = readUint(buf, pos + off0),\r\n hi = readUint(buf, pos + off1);\r\n var sign = (hi >> 31) * 2 + 1,\r\n exponent = hi >>> 20 & 2047,\r\n mantissa = 4294967296 * (hi & 1048575) + lo;\r\n return exponent === 2047\r\n ? mantissa\r\n ? NaN\r\n : sign * Infinity\r\n : exponent === 0 // denormal\r\n ? sign * 5e-324 * mantissa\r\n : sign * Math.pow(2, exponent - 1075) * (mantissa + 4503599627370496);\r\n }\r\n\r\n exports.readDoubleLE = readDouble_ieee754.bind(null, readUintLE, 0, 4);\r\n exports.readDoubleBE = readDouble_ieee754.bind(null, readUintBE, 4, 0);\r\n\r\n })();\r\n\r\n return exports;\r\n}\r\n\r\n// uint helpers\r\n\r\nfunction writeUintLE(val, buf, pos) {\r\n buf[pos ] = val & 255;\r\n buf[pos + 1] = val >>> 8 & 255;\r\n buf[pos + 2] = val >>> 16 & 255;\r\n buf[pos + 3] = val >>> 24;\r\n}\r\n\r\nfunction writeUintBE(val, buf, pos) {\r\n buf[pos ] = val >>> 24;\r\n buf[pos + 1] = val >>> 16 & 255;\r\n buf[pos + 2] = val >>> 8 & 255;\r\n buf[pos + 3] = val & 255;\r\n}\r\n\r\nfunction readUintLE(buf, pos) {\r\n return (buf[pos ]\r\n | buf[pos + 1] << 8\r\n | buf[pos + 2] << 16\r\n | buf[pos + 3] << 24) >>> 0;\r\n}\r\n\r\nfunction readUintBE(buf, pos) {\r\n return (buf[pos ] << 24\r\n | buf[pos + 1] << 16\r\n | buf[pos + 2] << 8\r\n | buf[pos + 3]) >>> 0;\r\n}\r\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@protobufjs/float/index.js?')},"./node_modules/@protobufjs/inquire/index.js":module=>{"use strict";eval('\r\nmodule.exports = inquire;\r\n\r\n/**\r\n * Requires a module only if available.\r\n * @memberof util\r\n * @param {string} moduleName Module to require\r\n * @returns {?Object} Required module if available and not empty, otherwise `null`\r\n */\r\nfunction inquire(moduleName) {\r\n try {\r\n var mod = eval("quire".replace(/^/,"re"))(moduleName); // eslint-disable-line no-eval\r\n if (mod && (mod.length || Object.keys(mod).length))\r\n return mod;\r\n } catch (e) {} // eslint-disable-line no-empty\r\n return null;\r\n}\r\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@protobufjs/inquire/index.js?')},"./node_modules/@protobufjs/pool/index.js":module=>{"use strict";eval("\r\nmodule.exports = pool;\r\n\r\n/**\r\n * An allocator as used by {@link util.pool}.\r\n * @typedef PoolAllocator\r\n * @type {function}\r\n * @param {number} size Buffer size\r\n * @returns {Uint8Array} Buffer\r\n */\r\n\r\n/**\r\n * A slicer as used by {@link util.pool}.\r\n * @typedef PoolSlicer\r\n * @type {function}\r\n * @param {number} start Start offset\r\n * @param {number} end End offset\r\n * @returns {Uint8Array} Buffer slice\r\n * @this {Uint8Array}\r\n */\r\n\r\n/**\r\n * A general purpose buffer pool.\r\n * @memberof util\r\n * @function\r\n * @param {PoolAllocator} alloc Allocator\r\n * @param {PoolSlicer} slice Slicer\r\n * @param {number} [size=8192] Slab size\r\n * @returns {PoolAllocator} Pooled allocator\r\n */\r\nfunction pool(alloc, slice, size) {\r\n var SIZE = size || 8192;\r\n var MAX = SIZE >>> 1;\r\n var slab = null;\r\n var offset = SIZE;\r\n return function pool_alloc(size) {\r\n if (size < 1 || size > MAX)\r\n return alloc(size);\r\n if (offset + size > SIZE) {\r\n slab = alloc(SIZE);\r\n offset = 0;\r\n }\r\n var buf = slice.call(slab, offset, offset += size);\r\n if (offset & 7) // align to 32 bit\r\n offset = (offset | 7) + 1;\r\n return buf;\r\n };\r\n}\r\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@protobufjs/pool/index.js?")},"./node_modules/@protobufjs/utf8/index.js":(__unused_webpack_module,exports)=>{"use strict";eval('\r\n\r\n/**\r\n * A minimal UTF8 implementation for number arrays.\r\n * @memberof util\r\n * @namespace\r\n */\r\nvar utf8 = exports;\r\n\r\n/**\r\n * Calculates the UTF8 byte length of a string.\r\n * @param {string} string String\r\n * @returns {number} Byte length\r\n */\r\nutf8.length = function utf8_length(string) {\r\n var len = 0,\r\n c = 0;\r\n for (var i = 0; i < string.length; ++i) {\r\n c = string.charCodeAt(i);\r\n if (c < 128)\r\n len += 1;\r\n else if (c < 2048)\r\n len += 2;\r\n else if ((c & 0xFC00) === 0xD800 && (string.charCodeAt(i + 1) & 0xFC00) === 0xDC00) {\r\n ++i;\r\n len += 4;\r\n } else\r\n len += 3;\r\n }\r\n return len;\r\n};\r\n\r\n/**\r\n * Reads UTF8 bytes as a string.\r\n * @param {Uint8Array} buffer Source buffer\r\n * @param {number} start Source start\r\n * @param {number} end Source end\r\n * @returns {string} String read\r\n */\r\nutf8.read = function utf8_read(buffer, start, end) {\r\n var len = end - start;\r\n if (len < 1)\r\n return "";\r\n var parts = null,\r\n chunk = [],\r\n i = 0, // char offset\r\n t; // temporary\r\n while (start < end) {\r\n t = buffer[start++];\r\n if (t < 128)\r\n chunk[i++] = t;\r\n else if (t > 191 && t < 224)\r\n chunk[i++] = (t & 31) << 6 | buffer[start++] & 63;\r\n else if (t > 239 && t < 365) {\r\n t = ((t & 7) << 18 | (buffer[start++] & 63) << 12 | (buffer[start++] & 63) << 6 | buffer[start++] & 63) - 0x10000;\r\n chunk[i++] = 0xD800 + (t >> 10);\r\n chunk[i++] = 0xDC00 + (t & 1023);\r\n } else\r\n chunk[i++] = (t & 15) << 12 | (buffer[start++] & 63) << 6 | buffer[start++] & 63;\r\n if (i > 8191) {\r\n (parts || (parts = [])).push(String.fromCharCode.apply(String, chunk));\r\n i = 0;\r\n }\r\n }\r\n if (parts) {\r\n if (i)\r\n parts.push(String.fromCharCode.apply(String, chunk.slice(0, i)));\r\n return parts.join("");\r\n }\r\n return String.fromCharCode.apply(String, chunk.slice(0, i));\r\n};\r\n\r\n/**\r\n * Writes a string as UTF8 bytes.\r\n * @param {string} string Source string\r\n * @param {Uint8Array} buffer Destination buffer\r\n * @param {number} offset Destination offset\r\n * @returns {number} Bytes written\r\n */\r\nutf8.write = function utf8_write(string, buffer, offset) {\r\n var start = offset,\r\n c1, // character 1\r\n c2; // character 2\r\n for (var i = 0; i < string.length; ++i) {\r\n c1 = string.charCodeAt(i);\r\n if (c1 < 128) {\r\n buffer[offset++] = c1;\r\n } else if (c1 < 2048) {\r\n buffer[offset++] = c1 >> 6 | 192;\r\n buffer[offset++] = c1 & 63 | 128;\r\n } else if ((c1 & 0xFC00) === 0xD800 && ((c2 = string.charCodeAt(i + 1)) & 0xFC00) === 0xDC00) {\r\n c1 = 0x10000 + ((c1 & 0x03FF) << 10) + (c2 & 0x03FF);\r\n ++i;\r\n buffer[offset++] = c1 >> 18 | 240;\r\n buffer[offset++] = c1 >> 12 & 63 | 128;\r\n buffer[offset++] = c1 >> 6 & 63 | 128;\r\n buffer[offset++] = c1 & 63 | 128;\r\n } else {\r\n buffer[offset++] = c1 >> 12 | 224;\r\n buffer[offset++] = c1 >> 6 & 63 | 128;\r\n buffer[offset++] = c1 & 63 | 128;\r\n }\r\n }\r\n return offset - start;\r\n};\r\n\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@protobufjs/utf8/index.js?')},"./node_modules/amazon-chime-sdk-js/build/activespeakerdetector/DefaultActiveSpeakerDetector.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst IntervalScheduler_1 = __webpack_require__(/*! ../scheduler/IntervalScheduler */ "./node_modules/amazon-chime-sdk-js/build/scheduler/IntervalScheduler.js");\nclass DefaultActiveSpeakerDetector {\n constructor(realtimeController, selfAttendeeId, hasBandwidthPriorityCallback, waitIntervalMs = 1000, updateIntervalMs = 200) {\n this.realtimeController = realtimeController;\n this.selfAttendeeId = selfAttendeeId;\n this.hasBandwidthPriorityCallback = hasBandwidthPriorityCallback;\n this.waitIntervalMs = waitIntervalMs;\n this.updateIntervalMs = updateIntervalMs;\n this.speakerScores = {};\n this.speakerMuteState = {};\n this.detectorCallbackToHandler = new Map();\n this.detectorCallbackToScoresTimer = new Map();\n this.detectorCallbackToActivityTimer = new Map();\n this.hasBandwidthPriority = false;\n this.mostRecentUpdateTimestamp = {};\n }\n needUpdate(attendeeId) {\n if (!this.activeSpeakers) {\n return true;\n }\n return ((this.speakerScores[attendeeId] === 0 && this.activeSpeakers.includes(attendeeId)) ||\n (this.speakerScores[attendeeId] > 0 && !this.activeSpeakers.includes(attendeeId)));\n }\n updateActiveSpeakers(policy, callback, attendeeId) {\n if (!this.needUpdate(attendeeId)) {\n return;\n }\n const sortedSpeakers = [];\n const attendeeIds = Object.keys(this.speakerScores);\n for (let i = 0; i < attendeeIds.length; i++) {\n const attendeeId = attendeeIds[i];\n sortedSpeakers.push({ attendeeId: attendeeId, activeScore: this.speakerScores[attendeeId] });\n }\n const sortedAttendeeIds = sortedSpeakers\n .sort((s1, s2) => s2.activeScore - s1.activeScore)\n .filter(function (s) {\n return s.activeScore > 0;\n })\n .map(function (s) {\n return s.attendeeId;\n });\n this.activeSpeakers = sortedAttendeeIds;\n callback(sortedAttendeeIds);\n const selfIsActive = sortedAttendeeIds.length > 0 && sortedAttendeeIds[0] === this.selfAttendeeId;\n const hasBandwidthPriority = selfIsActive && policy.prioritizeVideoSendBandwidthForActiveSpeaker();\n const hasBandwidthPriorityDidChange = this.hasBandwidthPriority !== hasBandwidthPriority;\n if (hasBandwidthPriorityDidChange) {\n this.hasBandwidthPriority = hasBandwidthPriority;\n this.hasBandwidthPriorityCallback(hasBandwidthPriority);\n }\n }\n updateScore(policy, callback, attendeeId, volume, muted) {\n const activeScore = policy.calculateScore(attendeeId, volume, muted);\n if (this.speakerScores[attendeeId] !== activeScore) {\n this.speakerScores[attendeeId] = activeScore;\n this.mostRecentUpdateTimestamp[attendeeId] = Date.now();\n this.updateActiveSpeakers(policy, callback, attendeeId);\n }\n }\n subscribe(policy, callback, scoresCallback, scoresCallbackIntervalMs) {\n const handler = (attendeeId, present) => {\n if (!present) {\n this.speakerScores[attendeeId] = 0;\n this.mostRecentUpdateTimestamp[attendeeId] = Date.now();\n this.updateActiveSpeakers(policy, callback, attendeeId);\n return;\n }\n this.realtimeController.realtimeSubscribeToVolumeIndicator(attendeeId, (attendeeId, volume, muted, _signalStrength) => {\n this.mostRecentUpdateTimestamp[attendeeId] = Date.now();\n if (muted !== null) {\n this.speakerMuteState[attendeeId] = muted;\n }\n this.updateScore(policy, callback, attendeeId, volume, muted);\n });\n };\n this.detectorCallbackToHandler.set(callback, handler);\n const activityTimer = new IntervalScheduler_1.default(this.updateIntervalMs);\n activityTimer.start(() => {\n for (const attendeeId in this.speakerScores) {\n if (Date.now() - this.mostRecentUpdateTimestamp[attendeeId] > this.waitIntervalMs) {\n this.updateScore(policy, callback, attendeeId, 0, this.speakerMuteState[attendeeId]);\n }\n }\n });\n this.detectorCallbackToActivityTimer.set(callback, activityTimer);\n if (scoresCallback && scoresCallbackIntervalMs) {\n const scoresTimer = new IntervalScheduler_1.default(scoresCallbackIntervalMs);\n scoresTimer.start(() => {\n scoresCallback(this.speakerScores);\n });\n this.detectorCallbackToScoresTimer.set(callback, scoresTimer);\n }\n this.realtimeController.realtimeSubscribeToAttendeeIdPresence(handler);\n }\n unsubscribe(callback) {\n const handler = this.detectorCallbackToHandler.get(callback);\n this.detectorCallbackToHandler.delete(callback);\n if (handler) {\n this.realtimeController.realtimeUnsubscribeToAttendeeIdPresence(handler);\n }\n const activityTimer = this.detectorCallbackToActivityTimer.get(callback);\n if (activityTimer) {\n activityTimer.stop();\n this.detectorCallbackToActivityTimer.delete(callback);\n }\n const scoresTimer = this.detectorCallbackToScoresTimer.get(callback);\n if (scoresTimer) {\n scoresTimer.stop();\n this.detectorCallbackToHandler.delete(callback);\n }\n }\n destroy() {\n return __awaiter(this, void 0, void 0, function* () {\n for (const handler of this.detectorCallbackToHandler.values()) {\n this.realtimeController.realtimeUnsubscribeToAttendeeIdPresence(handler);\n }\n for (const activityTimer of this.detectorCallbackToActivityTimer.values()) {\n activityTimer.stop();\n }\n for (const scoresTimer of this.detectorCallbackToScoresTimer.values()) {\n scoresTimer.stop();\n }\n this.detectorCallbackToHandler.clear();\n this.detectorCallbackToActivityTimer.clear();\n this.detectorCallbackToScoresTimer.clear();\n });\n }\n}\nexports["default"] = DefaultActiveSpeakerDetector;\n//# sourceMappingURL=DefaultActiveSpeakerDetector.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/activespeakerdetector/DefaultActiveSpeakerDetector.js?')},"./node_modules/amazon-chime-sdk-js/build/activespeakerpolicy/DefaultActiveSpeakerPolicy.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nclass DefaultActiveSpeakerPolicy {\n /** Creates active speaker policy with speakerWeight, cutoffThreshold, silenceThreshold, and takeoverRate.\n *\n * @param speakerWeight\n * The number used to calculate new active speaker score for current attendee.\n * ```js\n * Formula:\n * updatedCurrentAttendeeScore = currentAttendeeExistingScore * speakerWeight + currentReceivedVolume * (1 - speakerWeight)\n * ```\n *\n * @param cutoffThreshold\n * The threshold number compared with updated active speaker score.\n * If the updated active speaker score is less than this threshold value,\n * the updated score is returned as 0, else the updated score is returned.\n *\n * @param silenceThreshold\n * The threshold number compared with current received volume.\n * While calculating the new active speaker score, if the current received\n * volume is less than this threshold value, the current received volume is considered as 0,\n * else 1.\n *\n * @param takeoverRate\n * The number used to calculate other attendee\'s active speaker score, other than the current attendee.\n * ```js\n * Formula:\n * updatedOtherAttendeeActiveSpeakerScore = Math.max(\n * existingOtherAttendeeActiveSpeakerScore - takeoverRate * currentReceivedVolume,\n * 0\n * );\n * ```\n */\n constructor(speakerWeight = 0.9, cutoffThreshold = 0.01, silenceThreshold = 0.2, takeoverRate = 0.2) {\n this.speakerWeight = speakerWeight;\n this.cutoffThreshold = cutoffThreshold;\n this.silenceThreshold = silenceThreshold;\n this.takeoverRate = takeoverRate;\n /**\n * The map of attendeeIds to their active speaker score values\n */\n this.volumes = {};\n }\n calculateScore(attendeeId, volume, muted) {\n if (muted || volume === null) {\n volume = 0;\n }\n if (!this.volumes.hasOwnProperty(attendeeId)) {\n this.volumes[attendeeId] = 0;\n }\n if (volume > this.silenceThreshold) {\n volume = 1.0;\n }\n else {\n volume = 0.0;\n }\n const score = this.volumes[attendeeId] * this.speakerWeight + volume * (1 - this.speakerWeight);\n this.volumes[attendeeId] = score;\n for (const otherAttendeeId in this.volumes) {\n if (otherAttendeeId !== attendeeId) {\n this.volumes[otherAttendeeId] = Math.max(this.volumes[otherAttendeeId] - this.takeoverRate * volume, 0);\n }\n }\n if (score < this.cutoffThreshold) {\n return 0;\n }\n return score;\n }\n prioritizeVideoSendBandwidthForActiveSpeaker() {\n return true;\n }\n}\nexports["default"] = DefaultActiveSpeakerPolicy;\n//# sourceMappingURL=DefaultActiveSpeakerPolicy.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/activespeakerpolicy/DefaultActiveSpeakerPolicy.js?')},"./node_modules/amazon-chime-sdk-js/build/applicationmetadata/ApplicationMetadata.js":(__unused_webpack_module,exports)=>{"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n/**\n *\n * [[ApplicationMetadata]] contains application metadata such as application name and version.\n * Amazon Chime SDK for JavaScript allows builders to provide application metadata in\n * the meeting session configuration. This field is optional. Amazon Chime uses application metadata to\n * analyze meeting health trends or identify common failures to improve your meeting experience.\n *\n * Do not pass any Personal Identifiable Information (PII).\n *\n * ```js\n * import { MeetingSessionConfiguration, ApplicationMetadata } from 'amazon-chime-sdk-js';\n *\n * const createMeetingResponse = // CreateMeeting API response.\n * const createAttendeeResponse = // CreateAttendee API response.\n * const meetingSessionConfiguration = new MeetingSessionConfiguration(\n * createMeetingResponse,\n * createAttendeeResponse\n * );\n *\n * meetingSessionConfiguration.applicationMetadata = ApplicationMetadata.create({\n * appName: 'AppName',\n * appVersion: '1.0.0'\n * });\n *\n * ```\n */\nclass ApplicationMetadata {\n constructor(appName, appVersion) {\n this.appName = appName;\n this.appVersion = appVersion;\n }\n /**\n *\n * @param appName Builder's application name.\n * The app name must satisfy following regular expression:\n * `/^[a-zA-Z0-9]+[a-zA-Z0-9_-]*[a-zA-Z0-9]+$/g`\n *\n * @param appVersion Builder's application version.\n * The app version must follow the [Semantic Versioning](https://semver.org/) format.\n *\n * @returns [[ApplicationMetadata]]\n */\n static create(appName, appVersion) {\n const APP_NAME_REGEX = /^[a-zA-Z0-9]+[a-zA-Z0-9_-]*[a-zA-Z0-9]+$/g;\n if (!appName || appName.length > 32) {\n throw new Error(`appName should be a valid string and 1 to 32 characters in length`);\n }\n if (!APP_NAME_REGEX.test(appName)) {\n throw new Error(`appName must satisfy ${APP_NAME_REGEX} regular expression`);\n }\n const APP_VERSION_REGEX = /^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$/gm;\n if (!appVersion || appVersion.length > 32) {\n throw new Error(`appVersion should be a valid string and 1 to 32 characters in length`);\n }\n if (!APP_VERSION_REGEX.test(appVersion)) {\n throw new Error(`appVersion must satisfy Semantic Versioning format`);\n }\n return new ApplicationMetadata(appName, appVersion);\n }\n}\nexports[\"default\"] = ApplicationMetadata;\n//# sourceMappingURL=ApplicationMetadata.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/applicationmetadata/ApplicationMetadata.js?")},"./node_modules/amazon-chime-sdk-js/build/attendee/Attendee.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n/**\n * [[Attendee]] contains the information of an attendee.\n */\nclass Attendee {\n}\nexports["default"] = Attendee;\n//# sourceMappingURL=Attendee.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/attendee/Attendee.js?')},"./node_modules/amazon-chime-sdk-js/build/audiomixcontroller/DefaultAudioMixController.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst DefaultBrowserBehavior_1 = __webpack_require__(/*! ../browserbehavior/DefaultBrowserBehavior */ \"./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js\");\nconst AsyncScheduler_1 = __webpack_require__(/*! ../scheduler/AsyncScheduler */ \"./node_modules/amazon-chime-sdk-js/build/scheduler/AsyncScheduler.js\");\nclass DefaultAudioMixController {\n constructor(logger) {\n this.logger = logger;\n this.audioDevice = null;\n this.audioElement = null;\n this.audioStream = null;\n this.browserBehavior = new DefaultBrowserBehavior_1.default();\n this.observers = new Set();\n }\n bindAudioElement(element) {\n return __awaiter(this, void 0, void 0, function* () {\n if (!element) {\n throw new Error(`Cannot bind audio element: ${element}`);\n }\n this.audioElement = element;\n this.audioElement.autoplay = true;\n return this.bindAudioMix();\n });\n }\n unbindAudioElement() {\n if (!this.audioElement) {\n return;\n }\n this.audioElement.srcObject = null;\n this.audioElement = null;\n this.forEachObserver((observer) => {\n if (this.audioStream) {\n observer.meetingAudioStreamBecameInactive(this.audioStream);\n }\n });\n }\n bindAudioStream(stream) {\n return __awaiter(this, void 0, void 0, function* () {\n if (!stream) {\n return;\n }\n this.audioStream = stream;\n try {\n yield this.bindAudioMix();\n }\n catch (error) {\n /* istanbul ignore else */\n if (this.logger) {\n this.logger.warn(`Failed to bind audio stream: ${error}`);\n }\n }\n });\n }\n bindAudioDevice(device) {\n return __awaiter(this, void 0, void 0, function* () {\n /**\n * Throw error if browser doesn't even support setSinkId\n * Read more: https://caniuse.com/?search=setSinkId\n */\n if (device && !this.browserBehavior.supportsSetSinkId()) {\n throw new Error('Cannot select audio output device. This browser does not support setSinkId.');\n }\n // Always set device -- we might be setting it back to `null` to reselect\n // the default, and even in that case we need to call `bindAudioMix` in\n // order to update the sink ID to the empty string.\n this.audioDevice = device;\n return this.bindAudioMix();\n });\n }\n forEachObserver(observerFunc) {\n for (const observer of this.observers) {\n AsyncScheduler_1.default.nextTick(() => {\n observerFunc(observer);\n });\n }\n }\n bindAudioMix() {\n var _a, _b;\n return __awaiter(this, void 0, void 0, function* () {\n if (!this.audioElement) {\n return;\n }\n const previousStream = this.audioElement.srcObject;\n if (this.audioStream) {\n this.audioElement.srcObject = this.audioStream;\n }\n if (previousStream !== this.audioStream) {\n this.forEachObserver((observer) => {\n if (previousStream) {\n observer.meetingAudioStreamBecameInactive(previousStream);\n }\n if (this.audioStream) {\n observer.meetingAudioStreamBecameActive(this.audioStream);\n }\n });\n }\n // In usual operation, the output device is undefined, and so is the element\n // sink ID. In this case, don't throw an error -- we're being called as a side\n // effect of just binding the audio element, not choosing an output device.\n const shouldSetSinkId = ((_a = this.audioDevice) === null || _a === void 0 ? void 0 : _a.deviceId) !== this.audioElement.sinkId;\n if (shouldSetSinkId &&\n typeof this.audioElement.sinkId === 'undefined') {\n throw new Error('Cannot select audio output device. This browser does not support setSinkId.');\n }\n const newSinkId = this.audioDevice ? this.audioDevice.deviceId : '';\n const oldSinkId = this.audioElement.sinkId;\n if (newSinkId === oldSinkId) {\n return;\n }\n // Take the existing stream and temporarily unbind it while we change\n // the sink ID.\n const existingAudioElement = this\n .audioElement;\n const existingStream = this.audioStream;\n if (this.browserBehavior.hasChromiumWebRTC()) {\n existingAudioElement.srcObject = null;\n }\n if (shouldSetSinkId) {\n try {\n yield existingAudioElement.setSinkId(newSinkId);\n }\n catch (error) {\n (_b = this.logger) === null || _b === void 0 ? void 0 : _b.error(`Failed to set sinkId for audio element: ${error}`);\n throw error;\n }\n }\n if (this.browserBehavior.hasChromiumWebRTC()) {\n existingAudioElement.srcObject = existingStream;\n }\n });\n }\n getCurrentMeetingAudioStream() {\n return __awaiter(this, void 0, void 0, function* () {\n return this.audioStream;\n });\n }\n addAudioMixObserver(observer) {\n return __awaiter(this, void 0, void 0, function* () {\n this.observers.add(observer);\n });\n }\n removeAudioMixObserver(observer) {\n return __awaiter(this, void 0, void 0, function* () {\n this.observers.delete(observer);\n });\n }\n audioOutputDidChange(device) {\n return __awaiter(this, void 0, void 0, function* () {\n this.logger.info('Receive an audio output change event');\n return this.bindAudioDevice(device);\n });\n }\n}\nexports[\"default\"] = DefaultAudioMixController;\n//# sourceMappingURL=DefaultAudioMixController.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/audiomixcontroller/DefaultAudioMixController.js?")},"./node_modules/amazon-chime-sdk-js/build/audioprofile/AudioProfile.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n/**\n * AudioProfile defines quality settings of the audio input\n * device. Use the static methods to create presets optimized\n * for fullband speech and fullband music with a mono channel.\n */\nclass AudioProfile {\n /**\n * Constructs an AudioProfile given an audio bitrate. If no\n * audio bitrate is supplied, then the default AudioProfile\n * is constructed. The default AudioProfile does not adjust\n * the browser\'s internal bitrate setting.\n */\n constructor(audioBitrateBps = null) {\n this.audioBitrateBps = audioBitrateBps;\n }\n /**\n * Creates an AudioProfile optimized for fullband speech (40 kbit/s mono).\n */\n static fullbandSpeechMono() {\n return new AudioProfile(40000);\n }\n /**\n * Creates an AudioProfile optimized for fullband music (64 kbit/s mono).\n */\n static fullbandMusicMono() {\n return new AudioProfile(64000);\n }\n /**\n * Creates an AudioProfile optimized for fullband stereo music (128 kbit/s stereo).\n */\n static fullbandMusicStereo() {\n return new AudioProfile(128000);\n }\n /**\n * Returns true if audio profile is set to stereo mode.\n */\n isStereo() {\n return this.audioBitrateBps === 128000;\n }\n}\nexports["default"] = AudioProfile;\n//# sourceMappingURL=AudioProfile.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/audioprofile/AudioProfile.js?')},"./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/AudioVideoControllerState.js":(__unused_webpack_module,exports)=>{"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.DEFAULT_VIDEO_SUBSCRIPTION_LIMIT = void 0;\nexports.DEFAULT_VIDEO_SUBSCRIPTION_LIMIT = 25;\n/**\n * [[AudioVideoControllerState]] includes the compute resources shared by [[DefaultAudioVideoController]] and any running [[Task]].\n *\n * **Note**: Any additions to this class need to consider whether they need to be reset in `resetConnectionSpecificState`, `CleanStoppedSessionTask`, or\n * `CleanRestartedSessionTask`, e.g. if it is relies on backend state and will go stale across reconnections. Failing\n * to reset state may lead to unexpected behavior.\n */\nclass AudioVideoControllerState {\n constructor() {\n this.logger = null;\n this.browserBehavior = null;\n this.meetingSessionConfiguration = null;\n this.signalingClient = null;\n this.peer = null;\n this.previousSdpOffer = null;\n this.sdpOfferInit = null;\n this.audioVideoController = null;\n this.realtimeController = null;\n this.videoTileController = null;\n this.mediaStreamBroker = null;\n this.activeAudioInput = undefined;\n this.activeVideoInput = undefined;\n this.audioMixController = null;\n this.transceiverController = null;\n this.indexFrame = null;\n this.iceCandidates = [];\n this.iceCandidateHandler = null;\n this.iceGatheringStateEventHandler = null;\n this.sdpAnswer = null;\n this.turnCredentials = null;\n this.reconnectController = null;\n this.removableObservers = [];\n this.audioProfile = null;\n this.videoStreamIndex = null;\n this.videoDownlinkBandwidthPolicy = null;\n this.videoUplinkBandwidthPolicy = null;\n this.lastKnownVideoAvailability = null;\n this.videoCaptureAndEncodeParameter = null;\n // An unordered list of IDs provided by the downlink policy that\n // we will eventually subscribe to.\n this.videosToReceive = null;\n // The last processed set of IDs provided by the policy, so that we can\n // compare what changes were additions, stream switches, or removals.\n this.lastVideosToReceive = null;\n // An ordered list corresponding to `videosToReceive` where the order\n // itself correspond to transceivers; 0 in this list corresponds to an inactive tranceiver.\n this.videoSubscriptions = null;\n // The video subscription limit is set by the backend and is subject to change in future.\n // This value is set in the `JoinAndReceiveIndexTask` when we process the `SdkJoinAckFrame`\n // and is used in the `ReceiveVideoStreamIndexTask` to limit the total number of streams\n // that we include in the `videosToReceive`.\n this.videoSubscriptionLimit = exports.DEFAULT_VIDEO_SUBSCRIPTION_LIMIT;\n // The previous SDP answer will be used as a dictionary to seed the compression library\n // during decompressing the compressed SDP answer.\n this.previousSdpAnswerAsString = '';\n // This flag indicates if the backend supports compression for the client.\n this.serverSupportsCompression = false;\n // Values set by `setVideoCodecSendPreferences`.\n this.videoSendCodecPreferences = [];\n // Calculated as the highest priority available codec set in the (possibly munged) SDP answer\n // that is provide to the peer connection, which will be what is sent.\n this.currentVideoSendCodec = undefined;\n // Intersection of `videoSendCodecPreferences` and the supported receive codecs of\n // all the other clients in the meeting.\n this.meetingSupportedVideoSendCodecPreferences = undefined;\n this.videosPaused = null;\n this.videoDuplexMode = null;\n this.volumeIndicatorAdapter = null;\n this.statsCollector = null;\n this.connectionMonitor = null;\n // This state is deprecated and unused.\n this.videoInputAttachedTimestampMs = 0;\n // This state is deprecated and unused.\n this.audioDeviceInformation = {};\n // This state is deprecated and unused.\n this.videoDeviceInformation = {};\n this.enableSimulcast = false;\n this.eventController = null;\n this.signalingOpenDurationMs = null;\n this.iceGatheringDurationMs = null;\n this.startAudioVideoTimestamp = null;\n this.attendeePresenceDurationMs = null;\n this.meetingStartDurationMs = null;\n this.poorConnectionCount = 0;\n this.maxVideoTileCount = 0;\n this.startTimeMs = null;\n }\n /*\n * Reset state corresponding to state that is dependent on a individual connection\n * and may not be valid for others, e.g. on a reconnection.\n */\n resetConnectionSpecificState() {\n // For auditing reasons, we will comment on the state that we do not touch here. Note that `DefaultAudioVideoController.actionConnect`\n // also resets certain state, some to cached members:\n // Reset to empty/null/new state: `browserBehavior`, `transceiverController`, `volumeIndicatorAdapter`, `enableSimulcast`\n // `signalingOpenDurationMs`, `iceGatheringDurationMs`, `startAudioVideoTimestamp`, `attendeePresenceDurationMs`\n // `meetingStartDurationMs`, `startTimeMs`, `lastKnownVideoAvailability`, `videoCaptureAndEncodeParameter`, `videosToReceive`\n // `videosPaused`, `videoStreamIndex`, `statsCollector`, `connectionMonitor`\n // Reset to existing/cached values: `logger`, `meetingSessionConfiguration`, `realtimeController`, `mediaStreamBroker`,\n // `audioMixController`, `reconnectController, `audioProfile`, `eventController`\n // `signalingClient` can be reused from a failed/disconnected state.\n if (this.peer) {\n this.peer.close();\n }\n this.peer = null;\n this.previousSdpOffer = null;\n this.sdpOfferInit = null;\n // `audioVideoController` members should either be reusable, or moved to `AudioVideoControllerState` and\n // cleaned up here.\n // We don't want to mutate `videoTileController` as most video tiles will still be there on reconnect. We can remove tiles on the\n // first index we receive if they no longer exist\n // `mediaStreamBroker`, `activeAudioInput`, and `activeVideoInput` are cleaned up seperately in `DefaultAudioVideoController.cleanUpMediaStreamsAfterStop`\n // but only on `stop` or non-reconnectable failures. They are also set to cached `DefaultAudioVideoController` members on restart.\n if (this.transceiverController !== undefined) {\n this.transceiverController.reset();\n }\n this.indexFrame = null;\n this.iceCandidates = [];\n this.iceCandidateHandler = null;\n this.sdpAnswer = null;\n this.turnCredentials = null;\n this.videoDownlinkBandwidthPolicy.reset();\n if (this.videoUplinkBandwidthPolicy.reset) {\n this.videoUplinkBandwidthPolicy.reset();\n }\n this.lastVideosToReceive = null;\n this.videoSubscriptions = null;\n this.videoSubscriptionLimit = exports.DEFAULT_VIDEO_SUBSCRIPTION_LIMIT;\n this.previousSdpAnswerAsString = '';\n this.serverSupportsCompression = false;\n // `videoSendCodecPreferences` is set by builder and needs to stay consistent.\n this.currentVideoSendCodec = undefined;\n this.meetingSupportedVideoSendCodecPreferences = undefined;\n this.videoDuplexMode = null;\n // `poorConnectionCount`and `maxVideoTileCount` is intentionally not set to 0 across reconnections.\n }\n}\nexports[\"default\"] = AudioVideoControllerState;\n//# sourceMappingURL=AudioVideoControllerState.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/AudioVideoControllerState.js?")},"./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/DefaultAudioVideoController.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst DefaultActiveSpeakerDetector_1 = __webpack_require__(/*! ../activespeakerdetector/DefaultActiveSpeakerDetector */ \"./node_modules/amazon-chime-sdk-js/build/activespeakerdetector/DefaultActiveSpeakerDetector.js\");\nconst DefaultAudioMixController_1 = __webpack_require__(/*! ../audiomixcontroller/DefaultAudioMixController */ \"./node_modules/amazon-chime-sdk-js/build/audiomixcontroller/DefaultAudioMixController.js\");\nconst AudioProfile_1 = __webpack_require__(/*! ../audioprofile/AudioProfile */ \"./node_modules/amazon-chime-sdk-js/build/audioprofile/AudioProfile.js\");\nconst DefaultBrowserBehavior_1 = __webpack_require__(/*! ../browserbehavior/DefaultBrowserBehavior */ \"./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js\");\nconst ConnectionHealthData_1 = __webpack_require__(/*! ../connectionhealthpolicy/ConnectionHealthData */ \"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ConnectionHealthData.js\");\nconst SignalingAndMetricsConnectionMonitor_1 = __webpack_require__(/*! ../connectionmonitor/SignalingAndMetricsConnectionMonitor */ \"./node_modules/amazon-chime-sdk-js/build/connectionmonitor/SignalingAndMetricsConnectionMonitor.js\");\nconst MeetingSessionStatus_1 = __webpack_require__(/*! ../meetingsession/MeetingSessionStatus */ \"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatus.js\");\nconst MeetingSessionStatusCode_1 = __webpack_require__(/*! ../meetingsession/MeetingSessionStatusCode */ \"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js\");\nconst MeetingSessionVideoAvailability_1 = __webpack_require__(/*! ../meetingsession/MeetingSessionVideoAvailability */ \"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionVideoAvailability.js\");\nconst DefaultModality_1 = __webpack_require__(/*! ../modality/DefaultModality */ \"./node_modules/amazon-chime-sdk-js/build/modality/DefaultModality.js\");\nconst DefaultPingPong_1 = __webpack_require__(/*! ../pingpong/DefaultPingPong */ \"./node_modules/amazon-chime-sdk-js/build/pingpong/DefaultPingPong.js\");\nconst DefaultRealtimeController_1 = __webpack_require__(/*! ../realtimecontroller/DefaultRealtimeController */ \"./node_modules/amazon-chime-sdk-js/build/realtimecontroller/DefaultRealtimeController.js\");\nconst AsyncScheduler_1 = __webpack_require__(/*! ../scheduler/AsyncScheduler */ \"./node_modules/amazon-chime-sdk-js/build/scheduler/AsyncScheduler.js\");\nconst DefaultSessionStateController_1 = __webpack_require__(/*! ../sessionstatecontroller/DefaultSessionStateController */ \"./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/DefaultSessionStateController.js\");\nconst SessionStateControllerAction_1 = __webpack_require__(/*! ../sessionstatecontroller/SessionStateControllerAction */ \"./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerAction.js\");\nconst SessionStateControllerState_1 = __webpack_require__(/*! ../sessionstatecontroller/SessionStateControllerState */ \"./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerState.js\");\nconst SessionStateControllerTransitionResult_1 = __webpack_require__(/*! ../sessionstatecontroller/SessionStateControllerTransitionResult */ \"./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerTransitionResult.js\");\nconst DefaultSignalingClient_1 = __webpack_require__(/*! ../signalingclient/DefaultSignalingClient */ \"./node_modules/amazon-chime-sdk-js/build/signalingclient/DefaultSignalingClient.js\");\nconst SignalingClientEventType_1 = __webpack_require__(/*! ../signalingclient/SignalingClientEventType */ \"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js\");\nconst SignalingClientVideoSubscriptionConfiguration_1 = __webpack_require__(/*! ../signalingclient/SignalingClientVideoSubscriptionConfiguration */ \"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientVideoSubscriptionConfiguration.js\");\nconst SignalingProtocol_js_1 = __webpack_require__(/*! ../signalingprotocol/SignalingProtocol.js */ \"./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js\");\nconst StatsCollector_1 = __webpack_require__(/*! ../statscollector/StatsCollector */ \"./node_modules/amazon-chime-sdk-js/build/statscollector/StatsCollector.js\");\nconst AttachMediaInputTask_1 = __webpack_require__(/*! ../task/AttachMediaInputTask */ \"./node_modules/amazon-chime-sdk-js/build/task/AttachMediaInputTask.js\");\nconst CleanRestartedSessionTask_1 = __webpack_require__(/*! ../task/CleanRestartedSessionTask */ \"./node_modules/amazon-chime-sdk-js/build/task/CleanRestartedSessionTask.js\");\nconst CleanStoppedSessionTask_1 = __webpack_require__(/*! ../task/CleanStoppedSessionTask */ \"./node_modules/amazon-chime-sdk-js/build/task/CleanStoppedSessionTask.js\");\nconst CreatePeerConnectionTask_1 = __webpack_require__(/*! ../task/CreatePeerConnectionTask */ \"./node_modules/amazon-chime-sdk-js/build/task/CreatePeerConnectionTask.js\");\nconst CreateSDPTask_1 = __webpack_require__(/*! ../task/CreateSDPTask */ \"./node_modules/amazon-chime-sdk-js/build/task/CreateSDPTask.js\");\nconst FinishGatheringICECandidatesTask_1 = __webpack_require__(/*! ../task/FinishGatheringICECandidatesTask */ \"./node_modules/amazon-chime-sdk-js/build/task/FinishGatheringICECandidatesTask.js\");\nconst JoinAndReceiveIndexTask_1 = __webpack_require__(/*! ../task/JoinAndReceiveIndexTask */ \"./node_modules/amazon-chime-sdk-js/build/task/JoinAndReceiveIndexTask.js\");\nconst LeaveAndReceiveLeaveAckTask_1 = __webpack_require__(/*! ../task/LeaveAndReceiveLeaveAckTask */ \"./node_modules/amazon-chime-sdk-js/build/task/LeaveAndReceiveLeaveAckTask.js\");\nconst ListenForVolumeIndicatorsTask_1 = __webpack_require__(/*! ../task/ListenForVolumeIndicatorsTask */ \"./node_modules/amazon-chime-sdk-js/build/task/ListenForVolumeIndicatorsTask.js\");\nconst MonitorTask_1 = __webpack_require__(/*! ../task/MonitorTask */ \"./node_modules/amazon-chime-sdk-js/build/task/MonitorTask.js\");\nconst OpenSignalingConnectionTask_1 = __webpack_require__(/*! ../task/OpenSignalingConnectionTask */ \"./node_modules/amazon-chime-sdk-js/build/task/OpenSignalingConnectionTask.js\");\nconst ParallelGroupTask_1 = __webpack_require__(/*! ../task/ParallelGroupTask */ \"./node_modules/amazon-chime-sdk-js/build/task/ParallelGroupTask.js\");\nconst PromoteToPrimaryMeetingTask_1 = __webpack_require__(/*! ../task/PromoteToPrimaryMeetingTask */ \"./node_modules/amazon-chime-sdk-js/build/task/PromoteToPrimaryMeetingTask.js\");\nconst ReceiveAudioInputTask_1 = __webpack_require__(/*! ../task/ReceiveAudioInputTask */ \"./node_modules/amazon-chime-sdk-js/build/task/ReceiveAudioInputTask.js\");\nconst ReceiveTURNCredentialsTask_1 = __webpack_require__(/*! ../task/ReceiveTURNCredentialsTask */ \"./node_modules/amazon-chime-sdk-js/build/task/ReceiveTURNCredentialsTask.js\");\nconst ReceiveVideoInputTask_1 = __webpack_require__(/*! ../task/ReceiveVideoInputTask */ \"./node_modules/amazon-chime-sdk-js/build/task/ReceiveVideoInputTask.js\");\nconst ReceiveVideoStreamIndexTask_1 = __webpack_require__(/*! ../task/ReceiveVideoStreamIndexTask */ \"./node_modules/amazon-chime-sdk-js/build/task/ReceiveVideoStreamIndexTask.js\");\nconst SendAndReceiveDataMessagesTask_1 = __webpack_require__(/*! ../task/SendAndReceiveDataMessagesTask */ \"./node_modules/amazon-chime-sdk-js/build/task/SendAndReceiveDataMessagesTask.js\");\nconst SerialGroupTask_1 = __webpack_require__(/*! ../task/SerialGroupTask */ \"./node_modules/amazon-chime-sdk-js/build/task/SerialGroupTask.js\");\nconst SetLocalDescriptionTask_1 = __webpack_require__(/*! ../task/SetLocalDescriptionTask */ \"./node_modules/amazon-chime-sdk-js/build/task/SetLocalDescriptionTask.js\");\nconst SetRemoteDescriptionTask_1 = __webpack_require__(/*! ../task/SetRemoteDescriptionTask */ \"./node_modules/amazon-chime-sdk-js/build/task/SetRemoteDescriptionTask.js\");\nconst SubscribeAndReceiveSubscribeAckTask_1 = __webpack_require__(/*! ../task/SubscribeAndReceiveSubscribeAckTask */ \"./node_modules/amazon-chime-sdk-js/build/task/SubscribeAndReceiveSubscribeAckTask.js\");\nconst TimeoutTask_1 = __webpack_require__(/*! ../task/TimeoutTask */ \"./node_modules/amazon-chime-sdk-js/build/task/TimeoutTask.js\");\nconst WaitForAttendeePresenceTask_1 = __webpack_require__(/*! ../task/WaitForAttendeePresenceTask */ \"./node_modules/amazon-chime-sdk-js/build/task/WaitForAttendeePresenceTask.js\");\nconst DefaultTransceiverController_1 = __webpack_require__(/*! ../transceivercontroller/DefaultTransceiverController */ \"./node_modules/amazon-chime-sdk-js/build/transceivercontroller/DefaultTransceiverController.js\");\nconst SimulcastContentShareTransceiverController_1 = __webpack_require__(/*! ../transceivercontroller/SimulcastContentShareTransceiverController */ \"./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastContentShareTransceiverController.js\");\nconst SimulcastTransceiverController_1 = __webpack_require__(/*! ../transceivercontroller/SimulcastTransceiverController */ \"./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastTransceiverController.js\");\nconst VideoOnlyTransceiverController_1 = __webpack_require__(/*! ../transceivercontroller/VideoOnlyTransceiverController */ \"./node_modules/amazon-chime-sdk-js/build/transceivercontroller/VideoOnlyTransceiverController.js\");\nconst Types_1 = __webpack_require__(/*! ../utils/Types */ \"./node_modules/amazon-chime-sdk-js/build/utils/Types.js\");\nconst DefaultVideoCaptureAndEncodeParameter_1 = __webpack_require__(/*! ../videocaptureandencodeparameter/DefaultVideoCaptureAndEncodeParameter */ \"./node_modules/amazon-chime-sdk-js/build/videocaptureandencodeparameter/DefaultVideoCaptureAndEncodeParameter.js\");\nconst AllHighestVideoBandwidthPolicy_1 = __webpack_require__(/*! ../videodownlinkbandwidthpolicy/AllHighestVideoBandwidthPolicy */ \"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/AllHighestVideoBandwidthPolicy.js\");\nconst VideoAdaptiveProbePolicy_1 = __webpack_require__(/*! ../videodownlinkbandwidthpolicy/VideoAdaptiveProbePolicy */ \"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoAdaptiveProbePolicy.js\");\nconst DefaultVideoStreamIdSet_1 = __webpack_require__(/*! ../videostreamidset/DefaultVideoStreamIdSet */ \"./node_modules/amazon-chime-sdk-js/build/videostreamidset/DefaultVideoStreamIdSet.js\");\nconst DefaultVideoStreamIndex_1 = __webpack_require__(/*! ../videostreamindex/DefaultVideoStreamIndex */ \"./node_modules/amazon-chime-sdk-js/build/videostreamindex/DefaultVideoStreamIndex.js\");\nconst SimulcastVideoStreamIndex_1 = __webpack_require__(/*! ../videostreamindex/SimulcastVideoStreamIndex */ \"./node_modules/amazon-chime-sdk-js/build/videostreamindex/SimulcastVideoStreamIndex.js\");\nconst DefaultVideoTileController_1 = __webpack_require__(/*! ../videotilecontroller/DefaultVideoTileController */ \"./node_modules/amazon-chime-sdk-js/build/videotilecontroller/DefaultVideoTileController.js\");\nconst DefaultVideoTileFactory_1 = __webpack_require__(/*! ../videotilefactory/DefaultVideoTileFactory */ \"./node_modules/amazon-chime-sdk-js/build/videotilefactory/DefaultVideoTileFactory.js\");\nconst DefaultSimulcastUplinkPolicy_1 = __webpack_require__(/*! ../videouplinkbandwidthpolicy/DefaultSimulcastUplinkPolicy */ \"./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/DefaultSimulcastUplinkPolicy.js\");\nconst NScaleVideoUplinkBandwidthPolicy_1 = __webpack_require__(/*! ../videouplinkbandwidthpolicy/NScaleVideoUplinkBandwidthPolicy */ \"./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/NScaleVideoUplinkBandwidthPolicy.js\");\nconst DefaultVolumeIndicatorAdapter_1 = __webpack_require__(/*! ../volumeindicatoradapter/DefaultVolumeIndicatorAdapter */ \"./node_modules/amazon-chime-sdk-js/build/volumeindicatoradapter/DefaultVolumeIndicatorAdapter.js\");\nconst AudioVideoControllerState_1 = __webpack_require__(/*! ./AudioVideoControllerState */ \"./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/AudioVideoControllerState.js\");\nclass DefaultAudioVideoController {\n constructor(configuration, logger, webSocketAdapter, mediaStreamBroker, reconnectController, eventController) {\n this._audioProfile = new AudioProfile_1.default();\n this.connectionHealthData = new ConnectionHealthData_1.default();\n this.observerQueue = new Set();\n this.meetingSessionContext = new AudioVideoControllerState_1.default();\n this.enableSimulcast = false;\n this.useUpdateTransceiverControllerForUplink = false;\n this.totalRetryCount = 0;\n this.startAudioVideoTimestamp = 0;\n this.mayNeedRenegotiationForSimulcastLayerChange = false;\n // Stored solely to trigger demotion callback on disconnection (expected behavior).\n //\n // We otherwise intentionally do not use this for any other behavior to avoid the complexity\n // of the added state.\n this.promotedToPrimaryMeeting = false;\n this.hasGetRTCPeerConnectionStatsDeprecationMessageBeenSent = false;\n // `connectWithPromises`, `connectWithTasks`, and `actionUpdateWithRenegotiation` all\n // contains a significant portion of asynchronous tasks, so we need to explicitly defer\n // any task operation which may be performed on the event queue that may modify\n // mutable state in `MeetingSessionContext`, as this mutable state needs to be consistent over the course of the update.\n //\n // Currently this includes\n // * `ReceiveVideoStreamIndexTask` which updates `videosToReceive` and `videoCaptureAndEncodeParameter`\n // * `MonitorTask` which updates `videosToReceive`\n this.receiveIndexTask = undefined;\n this.monitorTask = undefined;\n this.destroyed = false;\n /** @internal */\n this.usePromises = true;\n this._logger = logger;\n this.sessionStateController = new DefaultSessionStateController_1.default(this._logger);\n this._configuration = configuration;\n this._webSocketAdapter = webSocketAdapter;\n this._realtimeController = new DefaultRealtimeController_1.default(mediaStreamBroker);\n this._realtimeController.realtimeSetLocalAttendeeId(configuration.credentials.attendeeId, configuration.credentials.externalUserId);\n this._mediaStreamBroker = mediaStreamBroker;\n this._reconnectController = reconnectController;\n this._videoTileController = new DefaultVideoTileController_1.default(new DefaultVideoTileFactory_1.default(), this, this._logger);\n this._audioMixController = new DefaultAudioMixController_1.default(this._logger);\n this._mediaStreamBroker.addMediaStreamBrokerObserver(this._audioMixController);\n this.meetingSessionContext.logger = this._logger;\n this._eventController = eventController;\n }\n destroy() {\n return __awaiter(this, void 0, void 0, function* () {\n this.observerQueue.clear();\n this._mediaStreamBroker.removeMediaStreamBrokerObserver(this._audioMixController);\n this.destroyed = true;\n });\n }\n get configuration() {\n return this._configuration;\n }\n get realtimeController() {\n return this._realtimeController;\n }\n get activeSpeakerDetector() {\n // Lazy init.\n if (!this._activeSpeakerDetector) {\n this._activeSpeakerDetector = new DefaultActiveSpeakerDetector_1.default(this._realtimeController, this._configuration.credentials.attendeeId, this.handleHasBandwidthPriority.bind(this));\n }\n return this._activeSpeakerDetector;\n }\n get videoTileController() {\n return this._videoTileController;\n }\n get audioMixController() {\n return this._audioMixController;\n }\n get logger() {\n return this._logger;\n }\n get rtcPeerConnection() {\n return (this.meetingSessionContext && this.meetingSessionContext.peer) || null;\n }\n get mediaStreamBroker() {\n return this._mediaStreamBroker;\n }\n get eventController() {\n return this._eventController;\n }\n /**\n * This API will be deprecated in favor of `ClientMetricReport.getRTCStatsReport()`.\n *\n * It makes an additional call to the `getStats` API and therefore may cause slight performance degradation.\n *\n * Please subscribe to `metricsDidReceive(clientMetricReport: ClientMetricReport)` callback,\n * and get the raw `RTCStatsReport` via `clientMetricReport.getRTCStatsReport()`.\n */\n getRTCPeerConnectionStats(selector) {\n /* istanbul ignore else */\n if (!this.hasGetRTCPeerConnectionStatsDeprecationMessageBeenSent) {\n this.logger.warn('The `getRTCPeerConnectionStats()` is on its way to be deprecated. It makes an additional call to the `getStats` API and therefore may cause slight performance degradation. Please use the new API `clientMetricReport.getRTCStatsReport()` returned by `metricsDidReceive(clientMetricReport)` callback instead.');\n this.hasGetRTCPeerConnectionStatsDeprecationMessageBeenSent = true;\n }\n if (!this.rtcPeerConnection) {\n return null;\n }\n return this.rtcPeerConnection.getStats(selector);\n }\n setAudioProfile(audioProfile) {\n this._audioProfile = audioProfile;\n }\n addObserver(observer) {\n this.logger.info('adding meeting observer');\n this.observerQueue.add(observer);\n }\n removeObserver(observer) {\n this.logger.info('removing meeting observer');\n this.observerQueue.delete(observer);\n }\n forEachObserver(observerFunc) {\n for (const observer of this.observerQueue) {\n AsyncScheduler_1.default.nextTick(() => {\n if (this.observerQueue.has(observer)) {\n observerFunc(observer);\n }\n });\n }\n }\n initSignalingClient() {\n this.connectionHealthData.reset();\n if (this.meetingSessionContext.signalingClient) {\n return;\n }\n this.meetingSessionContext = new AudioVideoControllerState_1.default();\n this.meetingSessionContext.logger = this.logger;\n this.meetingSessionContext.eventController = this.eventController;\n this.meetingSessionContext.browserBehavior = new DefaultBrowserBehavior_1.default();\n this.meetingSessionContext.videoSendCodecPreferences = this.videoSendCodecPreferences;\n this.meetingSessionContext.meetingSessionConfiguration = this.configuration;\n this.meetingSessionContext.signalingClient = new DefaultSignalingClient_1.default(this._webSocketAdapter, this.logger);\n }\n uninstallPreStartObserver() {\n this.meetingSessionContext.signalingClient.removeObserver(this.preStartObserver);\n this.preStartObserver = undefined;\n }\n prestart() {\n this.logger.info('Pre-connecting signaling connection.');\n return this.createOrReuseSignalingTask()\n .run()\n .then(() => {\n const handleClosed = () => __awaiter(this, void 0, void 0, function* () {\n this.logger.info('Early connection closed; discarding signaling task.');\n this.signalingTask = undefined;\n this.uninstallPreStartObserver();\n });\n this.preStartObserver = {\n handleSignalingClientEvent(event) {\n if (event.type === SignalingClientEventType_1.default.WebSocketClosed) {\n handleClosed();\n }\n },\n };\n this.meetingSessionContext.signalingClient.registerObserver(this.preStartObserver);\n })\n .catch(e => {\n this.logger.error(`Signaling task pre-start failed: ${e}`);\n // Clean up just in case a subsequent attempt will succeed.\n this.signalingTask = undefined;\n });\n }\n start(options) {\n this.startReturningPromise(options)\n .then(() => {\n this.logger.info('start completed');\n })\n // Just-in-case error handling.\n .catch(\n /* istanbul ignore next */\n e => {\n this.logger.error(`start failed: ${e}`);\n });\n }\n // This is public (albeit marked internal) for tests only.\n /* @internal */\n startReturningPromise(options) {\n if ((options === null || options === void 0 ? void 0 : options.signalingOnly) === true) {\n return this.prestart();\n }\n // For side-effects: lazy getter.\n this.activeSpeakerDetector;\n return new Promise((resolve, reject) => {\n this.sessionStateController.perform(SessionStateControllerAction_1.default.Connect, () => {\n this.actionConnect(false).then(resolve).catch(reject);\n });\n });\n }\n // @ts-ignore\n connectWithPromises(needsToWaitForAttendeePresence) {\n const context = this.meetingSessionContext;\n // Syntactic sugar.\n const timeout = (timeoutMs, task) => {\n return new TimeoutTask_1.default(this.logger, task, timeoutMs);\n };\n // First layer.\n this.monitorTask = new MonitorTask_1.default(context, this.configuration.connectionHealthPolicyConfiguration, this.connectionHealthData);\n const monitor = this.monitorTask.once();\n // Second layer.\n const receiveAudioInput = new ReceiveAudioInputTask_1.default(context).once();\n this.receiveIndexTask = new ReceiveVideoStreamIndexTask_1.default(context);\n // See declaration (unpaused in actionFinishConnecting)\n this.monitorTask.pauseResubscribeCheck();\n this.receiveIndexTask.pauseIngestion();\n const signaling = new SerialGroupTask_1.default(this.logger, 'Signaling', [\n // If pre-connecting, this will be an existing task that has already been run.\n this.createOrReuseSignalingTask(),\n new ListenForVolumeIndicatorsTask_1.default(context),\n new SendAndReceiveDataMessagesTask_1.default(context),\n new JoinAndReceiveIndexTask_1.default(context),\n new ReceiveTURNCredentialsTask_1.default(context),\n this.receiveIndexTask,\n ]).once();\n // Third layer.\n const createPeerConnection = new CreatePeerConnectionTask_1.default(context).once(signaling);\n const attachMediaInput = new AttachMediaInputTask_1.default(context).once(createPeerConnection, receiveAudioInput);\n // Mostly serial section -- kept as promises to allow for finer-grained breakdown.\n const createSDP = new CreateSDPTask_1.default(context).once(attachMediaInput);\n const setLocalDescription = new SetLocalDescriptionTask_1.default(context).once(createSDP);\n const ice = new FinishGatheringICECandidatesTask_1.default(context).once(setLocalDescription);\n const subscribeAck = new SubscribeAndReceiveSubscribeAckTask_1.default(context).once(ice);\n // The ending is a delicate time: we need the connection as a whole to have a timeout,\n // and for the attendee presence timer to not start ticking until after the subscribe/ack.\n return new SerialGroupTask_1.default(this.logger, this.wrapTaskName('AudioVideoStart'), [\n monitor,\n timeout(this.configuration.connectionTimeoutMs, new SerialGroupTask_1.default(this.logger, 'Peer', [\n // The order of these two matters. If canceled, the first one that's still running\n // will contribute any special rejection, and we don't want that to be \"attendee not found\"!\n subscribeAck,\n needsToWaitForAttendeePresence\n ? new TimeoutTask_1.default(this.logger, new ParallelGroupTask_1.default(this.logger, 'FinalizeConnection', [\n new WaitForAttendeePresenceTask_1.default(context),\n new SetRemoteDescriptionTask_1.default(context),\n ]), this.meetingSessionContext.meetingSessionConfiguration.attendeePresenceTimeoutMs)\n : /* istanbul ignore next */ new SetRemoteDescriptionTask_1.default(context),\n ])),\n ]);\n }\n connectWithTasks(needsToWaitForAttendeePresence) {\n this.receiveIndexTask = new ReceiveVideoStreamIndexTask_1.default(this.meetingSessionContext);\n this.monitorTask = new MonitorTask_1.default(this.meetingSessionContext, this.configuration.connectionHealthPolicyConfiguration, this.connectionHealthData);\n // See declaration (unpaused in actionFinishConnecting)\n this.receiveIndexTask.pauseIngestion();\n this.monitorTask.pauseResubscribeCheck();\n return new SerialGroupTask_1.default(this.logger, this.wrapTaskName('AudioVideoStart'), [\n this.monitorTask,\n new ReceiveAudioInputTask_1.default(this.meetingSessionContext),\n new TimeoutTask_1.default(this.logger, new SerialGroupTask_1.default(this.logger, 'Media', [\n new SerialGroupTask_1.default(this.logger, 'Signaling', [\n new OpenSignalingConnectionTask_1.default(this.meetingSessionContext),\n new ListenForVolumeIndicatorsTask_1.default(this.meetingSessionContext),\n new SendAndReceiveDataMessagesTask_1.default(this.meetingSessionContext),\n new JoinAndReceiveIndexTask_1.default(this.meetingSessionContext),\n new ReceiveTURNCredentialsTask_1.default(this.meetingSessionContext),\n this.receiveIndexTask,\n ]),\n new SerialGroupTask_1.default(this.logger, 'Peer', [\n new CreatePeerConnectionTask_1.default(this.meetingSessionContext),\n new AttachMediaInputTask_1.default(this.meetingSessionContext),\n new CreateSDPTask_1.default(this.meetingSessionContext),\n new SetLocalDescriptionTask_1.default(this.meetingSessionContext),\n new FinishGatheringICECandidatesTask_1.default(this.meetingSessionContext),\n new SubscribeAndReceiveSubscribeAckTask_1.default(this.meetingSessionContext),\n needsToWaitForAttendeePresence\n ? new TimeoutTask_1.default(this.logger, new ParallelGroupTask_1.default(this.logger, 'FinalizeConnection', [\n new WaitForAttendeePresenceTask_1.default(this.meetingSessionContext),\n new SetRemoteDescriptionTask_1.default(this.meetingSessionContext),\n ]), this.meetingSessionContext.meetingSessionConfiguration.attendeePresenceTimeoutMs)\n : /* istanbul ignore next */ new SetRemoteDescriptionTask_1.default(this.meetingSessionContext),\n ]),\n ]), this.configuration.connectionTimeoutMs),\n ]);\n }\n actionConnect(reconnecting) {\n var _a;\n return __awaiter(this, void 0, void 0, function* () {\n this.initSignalingClient();\n // We no longer need to watch for the early connection dropping; we're back where\n // we otherwise would have been had we not pre-started.\n this.uninstallPreStartObserver();\n // Note that some of the assignments in this function exist to clean up previous connections.\n // All future 'clean up' assignments should go in `AudioVideoControllerState.resetConnectionSpecificState`\n // for consolidation purposes.\n this.meetingSessionContext.mediaStreamBroker = this._mediaStreamBroker;\n this.meetingSessionContext.realtimeController = this._realtimeController;\n this.meetingSessionContext.audioMixController = this._audioMixController;\n this.meetingSessionContext.audioVideoController = this;\n this.enableSimulcast =\n this.configuration.enableSimulcastForUnifiedPlanChromiumBasedBrowsers &&\n new DefaultBrowserBehavior_1.default().hasChromiumWebRTC();\n const useAudioConnection = !!this.configuration.urls.audioHostURL;\n if (!useAudioConnection) {\n this.logger.info(`Using video only transceiver controller`);\n this.meetingSessionContext.transceiverController = new VideoOnlyTransceiverController_1.default(this.logger, this.meetingSessionContext.browserBehavior);\n }\n else if (this.enableSimulcast) {\n this.logger.info(`Using transceiver controller with simulcast support`);\n if (new DefaultModality_1.default(this.configuration.credentials.attendeeId).hasModality(DefaultModality_1.default.MODALITY_CONTENT)) {\n this.meetingSessionContext.transceiverController = new SimulcastContentShareTransceiverController_1.default(this.logger, this.meetingSessionContext.browserBehavior);\n }\n else {\n this.meetingSessionContext.transceiverController = new SimulcastTransceiverController_1.default(this.logger, this.meetingSessionContext.browserBehavior);\n }\n }\n else {\n this.logger.info(`Using default transceiver controller`);\n this.meetingSessionContext.transceiverController = new DefaultTransceiverController_1.default(this.logger, this.meetingSessionContext.browserBehavior);\n }\n this.meetingSessionContext.volumeIndicatorAdapter = new DefaultVolumeIndicatorAdapter_1.default(this.logger, this._realtimeController, DefaultAudioVideoController.MIN_VOLUME_DECIBELS, DefaultAudioVideoController.MAX_VOLUME_DECIBELS, this.configuration.credentials.attendeeId);\n this.meetingSessionContext.videoTileController = this._videoTileController;\n this.meetingSessionContext.videoDownlinkBandwidthPolicy = this.configuration.videoDownlinkBandwidthPolicy;\n this.meetingSessionContext.videoUplinkBandwidthPolicy = this.configuration.videoUplinkBandwidthPolicy;\n this.meetingSessionContext.enableSimulcast = this.enableSimulcast;\n if (this.enableSimulcast) {\n let simulcastPolicy = this.meetingSessionContext\n .videoUplinkBandwidthPolicy;\n if (!simulcastPolicy) {\n simulcastPolicy = new DefaultSimulcastUplinkPolicy_1.default(this.configuration.credentials.attendeeId, this.meetingSessionContext.logger);\n this.meetingSessionContext.videoUplinkBandwidthPolicy = simulcastPolicy;\n }\n simulcastPolicy.addObserver(this);\n if (!this.meetingSessionContext.videoDownlinkBandwidthPolicy) {\n this.meetingSessionContext.videoDownlinkBandwidthPolicy = new VideoAdaptiveProbePolicy_1.default(this.meetingSessionContext.logger);\n }\n this.meetingSessionContext.videoStreamIndex = new SimulcastVideoStreamIndex_1.default(this.logger);\n }\n else {\n this.meetingSessionContext.enableSimulcast = false;\n this.meetingSessionContext.videoStreamIndex = new DefaultVideoStreamIndex_1.default(this.logger);\n if (!this.meetingSessionContext.videoUplinkBandwidthPolicy) {\n this.meetingSessionContext.videoUplinkBandwidthPolicy = new NScaleVideoUplinkBandwidthPolicy_1.default(this.configuration.credentials.attendeeId, !this.meetingSessionContext.browserBehavior.disableResolutionScaleDown(), this.meetingSessionContext.logger, this.meetingSessionContext.browserBehavior);\n }\n if (!this.meetingSessionContext.videoDownlinkBandwidthPolicy) {\n this.meetingSessionContext.videoDownlinkBandwidthPolicy = new AllHighestVideoBandwidthPolicy_1.default(this.configuration.credentials.attendeeId);\n }\n if (this.meetingSessionContext.videoUplinkBandwidthPolicy.setTransceiverController &&\n this.meetingSessionContext.videoUplinkBandwidthPolicy.updateTransceiverController) {\n this.useUpdateTransceiverControllerForUplink = true;\n this.meetingSessionContext.videoUplinkBandwidthPolicy.setTransceiverController(this.meetingSessionContext.transceiverController);\n }\n this.meetingSessionContext.audioProfile = this._audioProfile;\n }\n if (this.meetingSessionContext.videoUplinkBandwidthPolicy && this.maxUplinkBandwidthKbps) {\n this.meetingSessionContext.videoUplinkBandwidthPolicy.setIdealMaxBandwidthKbps(this.maxUplinkBandwidthKbps);\n }\n if (this.meetingSessionContext.videoDownlinkBandwidthPolicy.bindToTileController) {\n this.meetingSessionContext.videoDownlinkBandwidthPolicy.bindToTileController(this._videoTileController);\n }\n this.meetingSessionContext.lastKnownVideoAvailability = new MeetingSessionVideoAvailability_1.default();\n this.meetingSessionContext.videoCaptureAndEncodeParameter = new DefaultVideoCaptureAndEncodeParameter_1.default(0, 0, 0, 0, false);\n this.meetingSessionContext.videosToReceive = new DefaultVideoStreamIdSet_1.default();\n this.meetingSessionContext.videosPaused = new DefaultVideoStreamIdSet_1.default();\n this.meetingSessionContext.statsCollector = new StatsCollector_1.default(this, this.logger);\n this.meetingSessionContext.connectionMonitor = new SignalingAndMetricsConnectionMonitor_1.default(this, this._realtimeController, this.connectionHealthData, new DefaultPingPong_1.default(this.meetingSessionContext.signalingClient, DefaultAudioVideoController.PING_PONG_INTERVAL_MS, this.logger), this.meetingSessionContext.statsCollector);\n this.meetingSessionContext.reconnectController = this._reconnectController;\n this.meetingSessionContext.videoDeviceInformation = {};\n if (!reconnecting) {\n this.totalRetryCount = 0;\n this._reconnectController.reset();\n this.startAudioVideoTimestamp = Date.now();\n this.forEachObserver(observer => {\n Types_1.Maybe.of(observer.audioVideoDidStartConnecting).map(f => f.bind(observer)(false));\n });\n (_a = this.eventController) === null || _a === void 0 ? void 0 : _a.publishEvent('meetingStartRequested');\n }\n this.meetingSessionContext.startAudioVideoTimestamp = this.startAudioVideoTimestamp;\n if (this._reconnectController.hasStartedConnectionAttempt()) {\n // This does not reset the reconnect deadline, but declare it's not the first connection.\n this._reconnectController.startedConnectionAttempt(false);\n }\n else {\n this._reconnectController.startedConnectionAttempt(true);\n }\n // No attendee presence event will be triggered if there is no audio connection.\n // Waiting for attendee presence is explicitly executed\n // if `attendeePresenceTimeoutMs` is configured to larger than 0.\n const needsToWaitForAttendeePresence = useAudioConnection &&\n this.meetingSessionContext.meetingSessionConfiguration.attendeePresenceTimeoutMs > 0;\n this.logger.info('Needs to wait for attendee presence? ' + needsToWaitForAttendeePresence);\n let connect;\n if (this.usePromises) {\n connect = this.connectWithPromises(needsToWaitForAttendeePresence);\n }\n else {\n connect = this.connectWithTasks(needsToWaitForAttendeePresence);\n }\n // The rest.\n try {\n yield connect.run();\n this.connectionHealthData.setConnectionStartTime();\n this._mediaStreamBroker.addMediaStreamBrokerObserver(this);\n this.sessionStateController.perform(SessionStateControllerAction_1.default.FinishConnecting, () => {\n /* istanbul ignore else */\n if (this.eventController) {\n this.meetingSessionContext.meetingStartDurationMs =\n Date.now() - this.startAudioVideoTimestamp;\n this.eventController.publishEvent('meetingStartSucceeded', {\n maxVideoTileCount: this.meetingSessionContext.maxVideoTileCount,\n poorConnectionCount: this.meetingSessionContext.poorConnectionCount,\n retryCount: this.totalRetryCount,\n signalingOpenDurationMs: this.meetingSessionContext.signalingOpenDurationMs,\n iceGatheringDurationMs: this.meetingSessionContext.iceGatheringDurationMs,\n meetingStartDurationMs: this.meetingSessionContext.meetingStartDurationMs,\n });\n }\n this.meetingSessionContext.startTimeMs = Date.now();\n this.actionFinishConnecting();\n });\n }\n catch (error) {\n this.signalingTask = undefined;\n const status = new MeetingSessionStatus_1.default(this.getMeetingStatusCode(error) || MeetingSessionStatusCode_1.default.TaskFailed);\n this.logger.info(`Start failed: ${status} due to error ${error}.`);\n // I am not able to successfully reach this state in the test suite with mock\n // websockets -- it always ends up in 'Disconnecting' instead. As such, this\n // has to be marked for Istanbul.\n /* istanbul ignore if */\n if (this.sessionStateController.state() === SessionStateControllerState_1.default.NotConnected) {\n // There's no point trying to 'disconnect', because we're not connected.\n // The session state controller will bail.\n this.logger.info('Start failed and not connected. Not cleaning up.');\n return;\n }\n this.sessionStateController.perform(SessionStateControllerAction_1.default.Fail, () => __awaiter(this, void 0, void 0, function* () {\n yield this.actionDisconnect(status, true, error);\n if (!this.handleMeetingSessionStatus(status, error)) {\n this.notifyStop(status, error);\n }\n }));\n }\n });\n }\n createOrReuseSignalingTask() {\n if (!this.signalingTask) {\n this.initSignalingClient();\n this.signalingTask = new TimeoutTask_1.default(this.logger, new OpenSignalingConnectionTask_1.default(this.meetingSessionContext), this.configuration.connectionTimeoutMs).once();\n }\n return this.signalingTask;\n }\n actionFinishConnecting() {\n this.signalingTask = undefined;\n this.meetingSessionContext.videoDuplexMode = SignalingProtocol_js_1.SdkStreamServiceType.RX;\n if (!this.meetingSessionContext.enableSimulcast) {\n if (this.useUpdateTransceiverControllerForUplink) {\n this.meetingSessionContext.videoUplinkBandwidthPolicy.updateTransceiverController();\n }\n else {\n this.enforceBandwidthLimitationForSender(this.meetingSessionContext.videoCaptureAndEncodeParameter.encodeBitrates()[0]);\n }\n }\n this.forEachObserver(observer => {\n Types_1.Maybe.of(observer.audioVideoDidStart).map(f => f.bind(observer)());\n });\n this._reconnectController.reset();\n // `receiveIndexTask` needs to be resumed first so it can set `remoteStreamDescriptions`\n this.receiveIndexTask.resumeIngestion();\n this.monitorTask.resumeResubscribeCheck();\n }\n /* @internal */\n stopReturningPromise() {\n var _a;\n // In order to avoid breaking backward compatibility, when only the\n // signaling connection is established we appear to not be connected.\n // We handle this by simply disconnecting the websocket directly.\n if (this.sessionStateController.state() === SessionStateControllerState_1.default.NotConnected) {\n // Unfortunately, this does not return a promise.\n (_a = this.meetingSessionContext.signalingClient) === null || _a === void 0 ? void 0 : _a.closeConnection();\n this.cleanUpMediaStreamsAfterStop();\n return Promise.resolve();\n }\n /*\n Stops the current audio video meeting session.\n The stop method execution is deferred and executed after\n the current reconnection attempt completes.\n It disables any further reconnection attempts.\n Upon completion, AudioVideoObserver's `audioVideoDidStop`\n callback function is called with `MeetingSessionStatusCode.Left`.\n */\n return new Promise((resolve, reject) => {\n this.sessionStateController.perform(SessionStateControllerAction_1.default.Disconnect, () => {\n this._reconnectController.disableReconnect();\n this.logger.info('attendee left meeting, session will not be reconnected');\n this.actionDisconnect(new MeetingSessionStatus_1.default(MeetingSessionStatusCode_1.default.Left), false, null)\n .then(resolve)\n .catch(reject);\n });\n });\n }\n stop() {\n this.stopReturningPromise();\n }\n actionDisconnect(status, reconnecting, error) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n yield new SerialGroupTask_1.default(this.logger, this.wrapTaskName('AudioVideoStop'), [\n new TimeoutTask_1.default(this.logger, new LeaveAndReceiveLeaveAckTask_1.default(this.meetingSessionContext), this.configuration.connectionTimeoutMs),\n ]).run();\n }\n catch (stopError) {\n this.logger.info('fail to stop');\n }\n try {\n const subtasks = [\n new TimeoutTask_1.default(this.logger, new CleanStoppedSessionTask_1.default(this.meetingSessionContext), this.configuration.connectionTimeoutMs),\n ];\n this.cleanUpMediaStreamsAfterStop();\n yield new SerialGroupTask_1.default(this.logger, this.wrapTaskName('AudioVideoClean'), subtasks).run();\n }\n catch (cleanError) {\n /* istanbul ignore next */\n this.logger.info('fail to clean');\n }\n this.sessionStateController.perform(SessionStateControllerAction_1.default.FinishDisconnecting, () => {\n if (!reconnecting) {\n this.notifyStop(status, error);\n }\n });\n });\n }\n update(options = { needsRenegotiation: true }) {\n let needsRenegotiation = options.needsRenegotiation;\n // Check in case this function has been called before peer connection is set up\n // since that is necessary to try to update remote videos without the full resubscribe path\n needsRenegotiation || (needsRenegotiation = this.meetingSessionContext.peer === undefined);\n // If updating local or remote video without negotiation fails, fall back to renegotiation\n needsRenegotiation || (needsRenegotiation = !this.updateRemoteVideosFromLastVideosToReceive());\n needsRenegotiation || (needsRenegotiation = !this.updateLocalVideoFromPolicy());\n // `MeetingSessionContext.lastVideosToReceive` needs to be updated regardless\n this.meetingSessionContext.lastVideosToReceive = this.meetingSessionContext.videosToReceive;\n if (!needsRenegotiation) {\n this.logger.info('Update request does not require resubscribe');\n // Call `actionFinishUpdating` to apply the new encoding parameters that may have been set in `updateLocalVideoFromPolicy`.\n this.actionFinishUpdating();\n return true; // Skip the subscribe!\n }\n this.logger.info('Update request requires resubscribe');\n const result = this.sessionStateController.perform(SessionStateControllerAction_1.default.Update, () => {\n this.actionUpdateWithRenegotiation(true);\n });\n return (result === SessionStateControllerTransitionResult_1.default.Transitioned ||\n result === SessionStateControllerTransitionResult_1.default.DeferredTransition);\n }\n // This function will try to use the diff between `this.meetingSessionContext.lastVideosToReceive`\n // and `this.meetingSessionContext.videosToReceive` to determine if the changes can be accomplished\n // through `SignalingClient.remoteVideoUpdate` rather then the full subscribe.\n //\n // It requires the caller to manage `this.meetingSessionContext.lastVideosToReceive`\n // and `this.meetingSessionContext.videosToReceive` so that `this.meetingSessionContext.lastVideosToReceive`\n // contains the stream IDs from either last time a subscribe was set, or last time this function was set.\n //\n // It will return true if succesful, if false the caller must fall back to a full renegotiation\n updateRemoteVideosFromLastVideosToReceive() {\n var _a, _b;\n const context = this.meetingSessionContext;\n if (((_a = context.videosToReceive) === null || _a === void 0 ? void 0 : _a.empty()) || ((_b = context.lastVideosToReceive) === null || _b === void 0 ? void 0 : _b.empty())) {\n return false;\n }\n // Check existence of all required dependencies and requisite functions\n if (!context.transceiverController ||\n !context.transceiverController.getMidForStreamId ||\n !context.transceiverController.setStreamIdForMid ||\n !context.videosToReceive.forEach ||\n !context.signalingClient.remoteVideoUpdate ||\n !context.videoStreamIndex.overrideStreamIdMappings) {\n return false;\n }\n let added = [];\n const simulcastStreamUpdates = new Map();\n let removed = [];\n if (context.lastVideosToReceive === null) {\n added = context.videosToReceive.array();\n }\n else {\n const index = context.videoStreamIndex;\n context.videosToReceive.forEach((currentId) => {\n if (context.lastVideosToReceive.contain(currentId)) {\n return;\n }\n // Check if group ID exists in previous set (i.e. simulcast stream switch)\n let foundUpdatedPreviousStreamId = false;\n context.lastVideosToReceive.forEach((previousId) => {\n if (foundUpdatedPreviousStreamId) {\n return; // Short circuit since we have already found it\n }\n if (index.StreamIdsInSameGroup(previousId, currentId)) {\n simulcastStreamUpdates.set(previousId, currentId);\n foundUpdatedPreviousStreamId = true;\n }\n });\n if (!foundUpdatedPreviousStreamId) {\n // Otherwise this must be a new stream\n added.push(currentId);\n }\n });\n removed = context.lastVideosToReceive.array().filter(idFromPrevious => {\n const stillReceiving = context.videosToReceive.contain(idFromPrevious);\n const isUpdated = simulcastStreamUpdates.has(idFromPrevious);\n return !stillReceiving && !isUpdated;\n });\n }\n this.logger.info(`Request to update remote videos with added: ${added}, updated: ${[\n ...simulcastStreamUpdates.entries(),\n ]}, removed: ${removed}`);\n const updatedVideoSubscriptionConfigurations = [];\n for (const [previousId, currentId] of simulcastStreamUpdates.entries()) {\n const updatedConfig = new SignalingClientVideoSubscriptionConfiguration_1.default();\n updatedConfig.streamId = currentId;\n updatedConfig.attendeeId = context.videoStreamIndex.attendeeIdForStreamId(currentId);\n updatedConfig.mid = context.transceiverController.getMidForStreamId(previousId);\n if (updatedConfig.mid === undefined) {\n this.logger.info(`No MID found for stream ID ${previousId}, cannot update stream without renegotiation`);\n return false;\n }\n updatedVideoSubscriptionConfigurations.push(updatedConfig);\n // We need to override some other components dependent on the subscribe paths for certain functionality\n context.transceiverController.setStreamIdForMid(updatedConfig.mid, currentId);\n context.videoStreamIndex.overrideStreamIdMappings(previousId, currentId);\n if (context.videoTileController.haveVideoTileForAttendeeId(updatedConfig.attendeeId)) {\n const tile = context.videoTileController.getVideoTileForAttendeeId(updatedConfig.attendeeId);\n if (!tile.setStreamId) {\n // Required function\n return false;\n }\n tile.setStreamId(currentId);\n }\n }\n if (updatedVideoSubscriptionConfigurations.length !== 0) {\n context.signalingClient.remoteVideoUpdate(updatedVideoSubscriptionConfigurations, []);\n }\n // Only simulcast stream switches (i.e. not add/remove/source switches) are possible currently\n if (added.length !== 0 || removed.length !== 0) {\n return false;\n }\n // `updateRemoteVideosFromLastVideosToReceive` does not actually send a subscribe but it uses\n // `subscribeFrameSent` to cache the previous index so that we are able to do switches (not add/removes)\n // for simulcast stream layer changes. See `subscribeFrameSent` for more details.\n context.videoStreamIndex.subscribeFrameSent();\n return true;\n }\n updateLocalVideoFromPolicy() {\n // Try updating parameters without renegotiation\n if (this.meetingSessionContext.enableSimulcast) {\n // The following may result in `this.mayNeedRenegotiationForSimulcastLayerChange` being switched on\n const encodingParam = this.meetingSessionContext.videoUplinkBandwidthPolicy.chooseEncodingParameters();\n if (this.mayNeedRenegotiationForSimulcastLayerChange &&\n !this.negotiatedBitrateLayersAllocationRtpHeaderExtension()) {\n this.logger.info('Needs regenotiation for local video simulcast layer change');\n this.mayNeedRenegotiationForSimulcastLayerChange = false;\n return false;\n }\n this.meetingSessionContext.transceiverController.setEncodingParameters(encodingParam);\n }\n else {\n this.meetingSessionContext.videoCaptureAndEncodeParameter = this.meetingSessionContext.videoUplinkBandwidthPolicy.chooseCaptureAndEncodeParameters();\n // Bitrate will be set in `actionFinishUpdating`. This should never need a resubscribe.\n }\n this.logger.info('Updated local video from policy without renegotiation');\n return true;\n }\n negotiatedBitrateLayersAllocationRtpHeaderExtension() {\n if (!this.meetingSessionContext.transceiverController.localVideoTransceiver()) {\n return false;\n }\n const parameters = this.meetingSessionContext.transceiverController\n .localVideoTransceiver()\n .sender.getParameters();\n if (!parameters || !parameters.headerExtensions) {\n return false;\n }\n return parameters.headerExtensions.some(extension => extension.uri === 'http://www.webrtc.org/experiments/rtp-hdrext/video-layers-allocation00');\n }\n restartLocalVideo(callback) {\n const restartVideo = () => __awaiter(this, void 0, void 0, function* () {\n if (this._videoTileController.hasStartedLocalVideoTile()) {\n this.logger.info('stopping local video tile prior to local video restart');\n this._videoTileController.stopLocalVideoTile();\n this.logger.info('preparing local video restart update');\n yield this.actionUpdateWithRenegotiation(false);\n this.logger.info('starting local video tile for local video restart');\n this._videoTileController.startLocalVideoTile();\n }\n this.logger.info('finalizing local video restart update');\n yield this.actionUpdateWithRenegotiation(true);\n callback();\n });\n const result = this.sessionStateController.perform(SessionStateControllerAction_1.default.Update, () => {\n restartVideo();\n });\n return (result === SessionStateControllerTransitionResult_1.default.Transitioned ||\n result === SessionStateControllerTransitionResult_1.default.DeferredTransition);\n }\n replaceLocalVideo(videoStream) {\n return __awaiter(this, void 0, void 0, function* () {\n if (!videoStream || videoStream.getVideoTracks().length < 1) {\n throw new Error('could not acquire video track');\n }\n if (!this.meetingSessionContext || !this.meetingSessionContext.peer) {\n throw new Error('no active meeting and peer connection');\n }\n // if there is a local tile, a video tile update event should be fired.\n const localTile = this.meetingSessionContext.videoTileController.getLocalVideoTile();\n if (localTile) {\n const state = localTile.state();\n const settings = videoStream.getVideoTracks()[0].getSettings();\n // so tile update wil be fired.\n localTile.bindVideoStream(state.boundAttendeeId, true, videoStream, settings.width, settings.height, state.streamId, state.boundExternalUserId);\n }\n yield this.meetingSessionContext.transceiverController.setVideoInput(videoStream.getVideoTracks()[0]);\n // Update the active video input on subscription context to match what we just changed\n // so that subsequent meeting actions can reuse and destroy it.\n this.meetingSessionContext.activeVideoInput = videoStream;\n this.logger.info('Local video input is updated');\n });\n }\n replaceLocalAudio(audioStream) {\n return __awaiter(this, void 0, void 0, function* () {\n if (!audioStream || audioStream.getAudioTracks().length < 1) {\n throw new Error('could not acquire audio track');\n }\n if (!this.meetingSessionContext || !this.meetingSessionContext.peer) {\n throw new Error('no active meeting and peer connection');\n }\n this.connectionHealthData.reset();\n this.connectionHealthData.setConnectionStartTime();\n const replaceTrackSuccess = yield this.meetingSessionContext.transceiverController.replaceAudioTrack(audioStream.getAudioTracks()[0]);\n if (!replaceTrackSuccess) {\n throw new Error('Failed to replace audio track');\n }\n this.meetingSessionContext.activeAudioInput = audioStream;\n this.logger.info('Local audio input is updated');\n });\n }\n actionUpdateWithRenegotiation(notify) {\n return __awaiter(this, void 0, void 0, function* () {\n // See declaration (unpaused in actionFinishUpdating)\n // The operations in `update` do not need this protection because they are synchronous.\n this.monitorTask.pauseResubscribeCheck();\n this.receiveIndexTask.pauseIngestion();\n // TODO: do not block other updates while waiting for video input\n try {\n yield new SerialGroupTask_1.default(this.logger, this.wrapTaskName('AudioVideoUpdate'), [\n new ReceiveVideoInputTask_1.default(this.meetingSessionContext),\n new TimeoutTask_1.default(this.logger, new SerialGroupTask_1.default(this.logger, 'UpdateSession', [\n new AttachMediaInputTask_1.default(this.meetingSessionContext),\n new CreateSDPTask_1.default(this.meetingSessionContext),\n new SetLocalDescriptionTask_1.default(this.meetingSessionContext),\n new FinishGatheringICECandidatesTask_1.default(this.meetingSessionContext),\n new SubscribeAndReceiveSubscribeAckTask_1.default(this.meetingSessionContext),\n new SetRemoteDescriptionTask_1.default(this.meetingSessionContext),\n ]), this.configuration.connectionTimeoutMs),\n ]).run();\n if (notify) {\n this.sessionStateController.perform(SessionStateControllerAction_1.default.FinishUpdating, () => {\n this.actionFinishUpdating();\n });\n }\n }\n catch (error) {\n this.sessionStateController.perform(SessionStateControllerAction_1.default.FinishUpdating, () => {\n const status = new MeetingSessionStatus_1.default(this.getMeetingStatusCode(error) || MeetingSessionStatusCode_1.default.TaskFailed);\n if (status.statusCode() !== MeetingSessionStatusCode_1.default.IncompatibleSDP) {\n this.logger.info('failed to update audio-video session');\n }\n this.handleMeetingSessionStatus(status, error);\n });\n }\n });\n }\n notifyStop(status, error) {\n var _a;\n this.forEachObserver(observer => {\n Types_1.Maybe.of(observer.audioVideoDidStop).map(f => f.bind(observer)(status));\n });\n if (this.promotedToPrimaryMeeting && error) {\n this.forEachObserver(observer => {\n this.promotedToPrimaryMeeting = false;\n Types_1.Maybe.of(observer.audioVideoWasDemotedFromPrimaryMeeting).map(f => f.bind(observer)(new MeetingSessionStatus_1.default(MeetingSessionStatusCode_1.default.SignalingInternalServerError)));\n });\n }\n /* istanbul ignore else */\n if (this.eventController) {\n const { signalingOpenDurationMs, poorConnectionCount, startTimeMs, iceGatheringDurationMs, attendeePresenceDurationMs, meetingStartDurationMs, } = this.meetingSessionContext;\n const attributes = {\n maxVideoTileCount: this.meetingSessionContext.maxVideoTileCount,\n meetingDurationMs: startTimeMs === null ? 0 : Math.round(Date.now() - startTimeMs),\n meetingStatus: MeetingSessionStatusCode_1.default[status.statusCode()],\n signalingOpenDurationMs,\n iceGatheringDurationMs,\n attendeePresenceDurationMs,\n poorConnectionCount,\n meetingStartDurationMs,\n retryCount: this.totalRetryCount,\n };\n /* istanbul ignore next: toString is optional */\n const meetingErrorMessage = (error && error.message) || ((_a = status.toString) === null || _a === void 0 ? void 0 : _a.call(status)) || '';\n if (attributes.meetingDurationMs === 0) {\n attributes.meetingErrorMessage = meetingErrorMessage;\n delete attributes.meetingDurationMs;\n delete attributes.attendeePresenceDurationMs;\n delete attributes.meetingStartDurationMs;\n this.eventController.publishEvent('meetingStartFailed', attributes);\n }\n else if (status.isFailure() || status.isAudioConnectionFailure()) {\n attributes.meetingErrorMessage = meetingErrorMessage;\n this.eventController.publishEvent('meetingFailed', attributes);\n }\n else {\n this.eventController.publishEvent('meetingEnded', attributes);\n }\n }\n }\n actionFinishUpdating() {\n // we do not update parameter for simulcast since they are updated in AttachMediaInputTask\n if (!this.meetingSessionContext.enableSimulcast) {\n if (this.useUpdateTransceiverControllerForUplink) {\n this.meetingSessionContext.videoUplinkBandwidthPolicy.updateTransceiverController();\n }\n else {\n const maxBitrateKbps = this.meetingSessionContext.videoCaptureAndEncodeParameter.encodeBitrates()[0];\n this.enforceBandwidthLimitationForSender(maxBitrateKbps);\n }\n }\n this.monitorTask.resumeResubscribeCheck();\n this.receiveIndexTask.resumeIngestion();\n this.logger.info('updated audio-video session');\n }\n reconnect(status, error) {\n const willRetry = this._reconnectController.retryWithBackoff(() => __awaiter(this, void 0, void 0, function* () {\n if (this.sessionStateController.state() === SessionStateControllerState_1.default.NotConnected) {\n this.sessionStateController.perform(SessionStateControllerAction_1.default.Connect, () => {\n this.actionConnect(true);\n });\n }\n else {\n this.sessionStateController.perform(SessionStateControllerAction_1.default.Reconnect, () => {\n this.actionReconnect(status);\n });\n }\n this.totalRetryCount += 1;\n }), () => {\n this.logger.info('canceled retry');\n });\n if (!willRetry) {\n this.sessionStateController.perform(SessionStateControllerAction_1.default.Fail, () => {\n this.actionDisconnect(status, false, error);\n });\n }\n return willRetry;\n }\n actionReconnect(status) {\n return __awaiter(this, void 0, void 0, function* () {\n if (!this._reconnectController.hasStartedConnectionAttempt()) {\n this._reconnectController.startedConnectionAttempt(false);\n this.forEachObserver(observer => {\n Types_1.Maybe.of(observer.audioVideoDidStartConnecting).map(f => f.bind(observer)(true));\n });\n }\n this.meetingSessionContext.volumeIndicatorAdapter.onReconnect();\n this.connectionHealthData.reset();\n try {\n yield new SerialGroupTask_1.default(this.logger, this.wrapTaskName('AudioVideoReconnect'), [\n new TimeoutTask_1.default(this.logger, new SerialGroupTask_1.default(this.logger, 'Media', [\n new CleanRestartedSessionTask_1.default(this.meetingSessionContext),\n new SerialGroupTask_1.default(this.logger, 'Signaling', [\n new OpenSignalingConnectionTask_1.default(this.meetingSessionContext),\n new JoinAndReceiveIndexTask_1.default(this.meetingSessionContext),\n new ReceiveTURNCredentialsTask_1.default(this.meetingSessionContext),\n ]),\n new CreatePeerConnectionTask_1.default(this.meetingSessionContext),\n ]), this.configuration.connectionTimeoutMs),\n // TODO: Do we need ReceiveVideoInputTask in the reconnect operation?\n new ReceiveVideoInputTask_1.default(this.meetingSessionContext),\n new TimeoutTask_1.default(this.logger, new SerialGroupTask_1.default(this.logger, 'UpdateSession', [\n new AttachMediaInputTask_1.default(this.meetingSessionContext),\n new CreateSDPTask_1.default(this.meetingSessionContext),\n new SetLocalDescriptionTask_1.default(this.meetingSessionContext),\n new FinishGatheringICECandidatesTask_1.default(this.meetingSessionContext),\n new SubscribeAndReceiveSubscribeAckTask_1.default(this.meetingSessionContext),\n new SetRemoteDescriptionTask_1.default(this.meetingSessionContext),\n ]), this.configuration.connectionTimeoutMs),\n ]).run();\n this.sessionStateController.perform(SessionStateControllerAction_1.default.FinishConnecting, () => {\n /* istanbul ignore else */\n if (this.eventController) {\n const { signalingOpenDurationMs, poorConnectionCount, startTimeMs, iceGatheringDurationMs, attendeePresenceDurationMs, meetingStartDurationMs, } = this.meetingSessionContext;\n const attributes = {\n maxVideoTileCount: this.meetingSessionContext.maxVideoTileCount,\n meetingDurationMs: Math.round(Date.now() - startTimeMs),\n meetingStatus: MeetingSessionStatusCode_1.default[status.statusCode()],\n signalingOpenDurationMs,\n iceGatheringDurationMs,\n attendeePresenceDurationMs,\n poorConnectionCount,\n meetingStartDurationMs,\n retryCount: this.totalRetryCount,\n };\n this.eventController.publishEvent('meetingReconnected', attributes);\n }\n this.actionFinishConnecting();\n });\n }\n catch (error) {\n // To perform the \"Reconnect\" action again, the session should be in the \"Connected\" state.\n this.sessionStateController.perform(SessionStateControllerAction_1.default.FinishConnecting, () => {\n this.logger.info('failed to reconnect audio-video session');\n const status = new MeetingSessionStatus_1.default(this.getMeetingStatusCode(error) || MeetingSessionStatusCode_1.default.TaskFailed);\n this.handleMeetingSessionStatus(status, error);\n });\n }\n this.connectionHealthData.setConnectionStartTime();\n });\n }\n wrapTaskName(taskName) {\n return `${taskName}/${this.configuration.meetingId}/${this.configuration.credentials.attendeeId}`;\n }\n cleanUpMediaStreamsAfterStop() {\n this._mediaStreamBroker.removeMediaStreamBrokerObserver(this);\n this.meetingSessionContext.activeAudioInput = undefined;\n this.meetingSessionContext.activeVideoInput = undefined;\n }\n // Extract the meeting status from `Error.message`, relying on specific phrasing\n // 'the meeting status code ${CODE}`.\n //\n // e.g. reject(new Error(\n // `canceling ${this.name()} due to the meeting status code: ${MeetingSessionStatusCode.MeetingEnded}`));\n getMeetingStatusCode(error) {\n const matched = /the meeting status code: (\\d+)/.exec(error && error.message);\n if (matched && matched.length > 1) {\n return Number.parseInt(matched[1], 10);\n }\n return null;\n }\n enforceBandwidthLimitationForSender(maxBitrateKbps) {\n return __awaiter(this, void 0, void 0, function* () {\n yield this.meetingSessionContext.transceiverController.setVideoSendingBitrateKbps(maxBitrateKbps);\n });\n }\n handleMeetingSessionStatus(status, error) {\n this.logger.info(`handling status: ${MeetingSessionStatusCode_1.default[status.statusCode()]}`);\n if (!status.isTerminal()) {\n if (this.meetingSessionContext.statsCollector) {\n this.meetingSessionContext.statsCollector.logMeetingSessionStatus(status);\n }\n }\n if (status.statusCode() === MeetingSessionStatusCode_1.default.IncompatibleSDP) {\n this.restartLocalVideo(() => {\n this.logger.info('handled incompatible SDP by attempting to restart video');\n });\n return true;\n }\n if (status.statusCode() === MeetingSessionStatusCode_1.default.VideoCallSwitchToViewOnly) {\n this._videoTileController.removeLocalVideoTile();\n this.forEachObserver((observer) => {\n Types_1.Maybe.of(observer.videoSendDidBecomeUnavailable).map(f => f.bind(observer)());\n });\n return false;\n }\n if (status.statusCode() === MeetingSessionStatusCode_1.default.AudioVideoWasRemovedFromPrimaryMeeting) {\n this.forEachObserver((observer) => {\n Types_1.Maybe.of(observer.audioVideoWasDemotedFromPrimaryMeeting).map(f => f.bind(observer)(status));\n });\n return false;\n }\n if (status.isTerminal()) {\n this.logger.error('session will not be reconnected');\n if (this.meetingSessionContext.reconnectController) {\n this.meetingSessionContext.reconnectController.disableReconnect();\n }\n }\n if (status.isFailure() || status.isTerminal()) {\n if (this.meetingSessionContext.reconnectController) {\n const willRetry = this.reconnect(status, error);\n if (willRetry) {\n this.logger.warn(`will retry due to status code ${MeetingSessionStatusCode_1.default[status.statusCode()]}${error ? ` and error: ${error.message}` : ``}`);\n }\n else {\n this.logger.error(`failed with status code ${MeetingSessionStatusCode_1.default[status.statusCode()]}${error ? ` and error: ${error.message}` : ``}`);\n }\n return willRetry;\n }\n }\n return false;\n }\n setVideoMaxBandwidthKbps(maxBandwidthKbps) {\n if (maxBandwidthKbps <= 0) {\n throw new Error('Max bandwidth kbps has to be greater than 0');\n }\n if (this.meetingSessionContext && this.meetingSessionContext.videoUplinkBandwidthPolicy) {\n this.logger.info(`video send has ideal max bandwidth ${maxBandwidthKbps} kbps`);\n this.meetingSessionContext.videoUplinkBandwidthPolicy.setIdealMaxBandwidthKbps(maxBandwidthKbps);\n }\n this.maxUplinkBandwidthKbps = maxBandwidthKbps;\n }\n handleHasBandwidthPriority(hasBandwidthPriority) {\n return __awaiter(this, void 0, void 0, function* () {\n if (this.meetingSessionContext &&\n this.meetingSessionContext.videoUplinkBandwidthPolicy &&\n !this.meetingSessionContext.enableSimulcast) {\n if (this.useUpdateTransceiverControllerForUplink) {\n this.meetingSessionContext.videoUplinkBandwidthPolicy.setHasBandwidthPriority(hasBandwidthPriority);\n yield this.meetingSessionContext.videoUplinkBandwidthPolicy.updateTransceiverController();\n return;\n }\n const oldMaxBandwidth = this.meetingSessionContext.videoUplinkBandwidthPolicy.maxBandwidthKbps();\n this.meetingSessionContext.videoUplinkBandwidthPolicy.setHasBandwidthPriority(hasBandwidthPriority);\n const newMaxBandwidth = this.meetingSessionContext.videoUplinkBandwidthPolicy.maxBandwidthKbps();\n if (oldMaxBandwidth !== newMaxBandwidth) {\n this.logger.info(`video send bandwidth priority ${hasBandwidthPriority} max has changed from ${oldMaxBandwidth} kbps to ${newMaxBandwidth} kbps`);\n yield this.enforceBandwidthLimitationForSender(newMaxBandwidth);\n }\n }\n });\n }\n pauseReceivingStream(streamId) {\n if (!!this.meetingSessionContext && this.meetingSessionContext.signalingClient) {\n this.meetingSessionContext.signalingClient.pause([streamId]);\n }\n }\n resumeReceivingStream(streamId) {\n if (!!this.meetingSessionContext && this.meetingSessionContext.signalingClient) {\n this.meetingSessionContext.signalingClient.resume([streamId]);\n }\n }\n setVideoCodecSendPreferences(preferences) {\n this.videoSendCodecPreferences = preferences; // In case we haven't called `initSignalingClient` yet\n this.meetingSessionContext.videoSendCodecPreferences = preferences;\n this.update({ needsRenegotiation: true });\n }\n getRemoteVideoSources() {\n const { videoStreamIndex } = this.meetingSessionContext;\n if (!videoStreamIndex) {\n this.logger.info('meeting has not started');\n return [];\n }\n const selfAttendeeId = this.configuration.credentials.attendeeId;\n return videoStreamIndex.allVideoSendingSourcesExcludingSelf(selfAttendeeId);\n }\n encodingSimulcastLayersDidChange(simulcastLayers) {\n this.mayNeedRenegotiationForSimulcastLayerChange = true;\n this.forEachObserver(observer => {\n Types_1.Maybe.of(observer.encodingSimulcastLayersDidChange).map(f => f.bind(observer)(simulcastLayers));\n });\n }\n promoteToPrimaryMeeting(credentials) {\n return this.actionPromoteToPrimaryMeeting(credentials);\n }\n actionPromoteToPrimaryMeeting(credentials) {\n return __awaiter(this, void 0, void 0, function* () {\n let resultingStatus = new MeetingSessionStatus_1.default(MeetingSessionStatusCode_1.default.SignalingRequestFailed);\n yield new SerialGroupTask_1.default(this.logger, this.wrapTaskName('PromoteToPrimaryMeeting'), [\n new TimeoutTask_1.default(this.logger, new PromoteToPrimaryMeetingTask_1.default(this.meetingSessionContext, credentials, (status) => {\n resultingStatus = status;\n }), this.configuration.connectionTimeoutMs),\n ]).run();\n this.promotedToPrimaryMeeting = resultingStatus.statusCode() === MeetingSessionStatusCode_1.default.OK;\n return resultingStatus;\n });\n }\n demoteFromPrimaryMeeting() {\n this.meetingSessionContext.signalingClient.demoteFromPrimaryMeeting();\n this.forEachObserver(observer => {\n Types_1.Maybe.of(observer.audioVideoWasDemotedFromPrimaryMeeting).map(f => f.bind(observer)(new MeetingSessionStatus_1.default(MeetingSessionStatusCode_1.default.OK)));\n });\n }\n videoInputDidChange(videoStream) {\n return __awaiter(this, void 0, void 0, function* () {\n this.logger.info('Receive a video input change event');\n // No active meeting, there is nothing to do\n if (!this.meetingSessionContext || !this.meetingSessionContext.peer) {\n this.logger.info('Skip updating video input because there is no active meeting and peer connection');\n return;\n }\n if (this._videoTileController.hasStartedLocalVideoTile()) {\n if (videoStream) {\n yield this.replaceLocalVideo(videoStream);\n }\n else {\n this._videoTileController.stopLocalVideoTile();\n }\n }\n });\n }\n audioInputDidChange(audioStream) {\n return __awaiter(this, void 0, void 0, function* () {\n this.logger.info('Receive an audio input change event');\n // No active meeting, there is nothing to do\n if (!this.meetingSessionContext || !this.meetingSessionContext.peer) {\n this.logger.info('Skip updating audio input because there is no active meeting and peer connection');\n return;\n }\n if (!audioStream) {\n // If audio input stream stopped, try to get empty audio device from media stream broker\n try {\n audioStream = yield this.mediaStreamBroker.acquireAudioInputStream();\n }\n catch (error) {\n this.logger.error('Could not acquire audio track from mediaStreamBroker');\n return;\n }\n }\n yield this.replaceLocalAudio(audioStream);\n });\n }\n}\nexports[\"default\"] = DefaultAudioVideoController;\nDefaultAudioVideoController.MIN_VOLUME_DECIBELS = -42;\nDefaultAudioVideoController.MAX_VOLUME_DECIBELS = -14;\nDefaultAudioVideoController.PING_PONG_INTERVAL_MS = 10000;\n//# sourceMappingURL=DefaultAudioVideoController.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/DefaultAudioVideoController.js?")},"./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/NoOpAudioVideoController.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst FullJitterBackoff_1 = __webpack_require__(/*! ../backoff/FullJitterBackoff */ "./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoff.js");\nconst DefaultEventController_1 = __webpack_require__(/*! ../eventcontroller/DefaultEventController */ "./node_modules/amazon-chime-sdk-js/build/eventcontroller/DefaultEventController.js");\nconst NoOpDebugLogger_1 = __webpack_require__(/*! ../logger/NoOpDebugLogger */ "./node_modules/amazon-chime-sdk-js/build/logger/NoOpDebugLogger.js");\nconst NoOpMediaStreamBroker_1 = __webpack_require__(/*! ../mediastreambroker/NoOpMediaStreamBroker */ "./node_modules/amazon-chime-sdk-js/build/mediastreambroker/NoOpMediaStreamBroker.js");\nconst MeetingSessionConfiguration_1 = __webpack_require__(/*! ../meetingsession/MeetingSessionConfiguration */ "./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionConfiguration.js");\nconst MeetingSessionCredentials_1 = __webpack_require__(/*! ../meetingsession/MeetingSessionCredentials */ "./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionCredentials.js");\nconst MeetingSessionStatus_1 = __webpack_require__(/*! ../meetingsession/MeetingSessionStatus */ "./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatus.js");\nconst MeetingSessionStatusCode_1 = __webpack_require__(/*! ../meetingsession/MeetingSessionStatusCode */ "./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js");\nconst MeetingSessionURLs_1 = __webpack_require__(/*! ../meetingsession/MeetingSessionURLs */ "./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionURLs.js");\nconst DefaultReconnectController_1 = __webpack_require__(/*! ../reconnectcontroller/DefaultReconnectController */ "./node_modules/amazon-chime-sdk-js/build/reconnectcontroller/DefaultReconnectController.js");\nconst DefaultWebSocketAdapter_1 = __webpack_require__(/*! ../websocketadapter/DefaultWebSocketAdapter */ "./node_modules/amazon-chime-sdk-js/build/websocketadapter/DefaultWebSocketAdapter.js");\nconst DefaultAudioVideoController_1 = __webpack_require__(/*! ./DefaultAudioVideoController */ "./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/DefaultAudioVideoController.js");\nclass NoOpAudioVideoController extends DefaultAudioVideoController_1.default {\n constructor(configuration) {\n const emptyConfiguration = new MeetingSessionConfiguration_1.default();\n emptyConfiguration.meetingId = \'\';\n emptyConfiguration.externalMeetingId = \'\';\n emptyConfiguration.credentials = new MeetingSessionCredentials_1.default();\n emptyConfiguration.credentials.attendeeId = \'\';\n emptyConfiguration.credentials.joinToken = \'\';\n emptyConfiguration.urls = new MeetingSessionURLs_1.default();\n emptyConfiguration.urls.turnControlURL = \'\';\n emptyConfiguration.urls.audioHostURL = \'\';\n emptyConfiguration.urls.signalingURL = \'wss://localhost/\';\n const noOpLogger = new NoOpDebugLogger_1.default();\n super(configuration ? configuration : emptyConfiguration, noOpLogger, new DefaultWebSocketAdapter_1.default(new NoOpDebugLogger_1.default()), new NoOpMediaStreamBroker_1.default(), new DefaultReconnectController_1.default(0, new FullJitterBackoff_1.default(0, 0, 0)), new DefaultEventController_1.default(configuration ? configuration : emptyConfiguration, noOpLogger));\n }\n setAudioProfile(_audioProfile) { }\n start() { }\n stop() { }\n promoteToPrimaryMeeting(_) {\n return Promise.resolve(new MeetingSessionStatus_1.default(MeetingSessionStatusCode_1.default.OK));\n }\n demoteFromPrimaryMeeting() { }\n}\nexports["default"] = NoOpAudioVideoController;\n//# sourceMappingURL=NoOpAudioVideoController.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/NoOpAudioVideoController.js?')},"./node_modules/amazon-chime-sdk-js/build/audiovideofacade/DefaultAudioVideoFacade.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst VideoTransformDevice_1 = __webpack_require__(/*! ../devicecontroller/VideoTransformDevice */ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/VideoTransformDevice.js\");\nclass DefaultAudioVideoFacade {\n constructor(audioVideoController, videoTileController, realtimeController, audioMixController, deviceController, contentShareController) {\n this.audioVideoController = audioVideoController;\n this.videoTileController = videoTileController;\n this.realtimeController = realtimeController;\n this.audioMixController = audioMixController;\n this.deviceController = deviceController;\n this.contentShareController = contentShareController;\n }\n addObserver(observer) {\n this.audioVideoController.addObserver(observer);\n this.trace('addObserver');\n }\n removeObserver(observer) {\n this.audioVideoController.removeObserver(observer);\n this.trace('removeObserver');\n }\n setAudioProfile(audioProfile) {\n this.trace('setAudioProfile', audioProfile);\n this.audioVideoController.setAudioProfile(audioProfile);\n }\n start(options) {\n this.audioVideoController.start(options);\n this.trace('start');\n }\n stop() {\n this.audioVideoController.stop();\n this.trace('stop');\n }\n /**\n * This API will be deprecated in favor of `ClientMetricReport.getRTCStatsReport()`.\n *\n * It makes an additional call to the `getStats` API and therefore may cause slight performance degradation.\n *\n * Please subscribe to `metricsDidReceive(clientMetricReport: ClientMetricReport)` callback,\n * and get the raw `RTCStatsReport` via `clientMetricReport.getRTCStatsReport()`.\n */\n getRTCPeerConnectionStats(selector) {\n this.trace('getRTCPeerConnectionStats', selector ? selector.id : null);\n return this.audioVideoController.getRTCPeerConnectionStats(selector);\n }\n bindAudioElement(element) {\n const result = this.audioMixController.bindAudioElement(element);\n this.trace('bindAudioElement', element.id, result);\n return result;\n }\n unbindAudioElement() {\n this.audioMixController.unbindAudioElement();\n this.trace('unbindAudioElement');\n }\n getCurrentMeetingAudioStream() {\n this.trace('getCurrentConferenceStream');\n return this.audioMixController.getCurrentMeetingAudioStream();\n }\n addAudioMixObserver(observer) {\n this.trace('addAudioMixObserver');\n this.audioMixController.addAudioMixObserver(observer);\n }\n removeAudioMixObserver(observer) {\n this.trace('removeAudioMixObserver');\n this.audioMixController.removeAudioMixObserver(observer);\n }\n bindVideoElement(tileId, videoElement) {\n this.videoTileController.bindVideoElement(tileId, videoElement);\n this.trace('bindVideoElement', { tileId: tileId, videoElementId: videoElement.id });\n }\n unbindVideoElement(tileId, cleanUpVideoElement = true) {\n this.videoTileController.unbindVideoElement(tileId, cleanUpVideoElement);\n this.trace('unbindVideoElement', { tileId: tileId, cleanUpVideoElement: cleanUpVideoElement });\n }\n startLocalVideoTile() {\n const result = this.videoTileController.startLocalVideoTile();\n this.trace('startLocalVideoTile', null, result);\n return result;\n }\n stopLocalVideoTile() {\n this.videoTileController.stopLocalVideoTile();\n this.trace('stopLocalVideoTile');\n }\n hasStartedLocalVideoTile() {\n const result = this.videoTileController.hasStartedLocalVideoTile();\n this.trace('hasStartedLocalVideoTile', null, result);\n return result;\n }\n removeLocalVideoTile() {\n this.videoTileController.removeLocalVideoTile();\n this.trace('removeLocalVideoTile');\n }\n getLocalVideoTile() {\n const result = this.videoTileController.getLocalVideoTile();\n this.trace('getLocalVideoTile');\n return result;\n }\n pauseVideoTile(tileId) {\n this.videoTileController.pauseVideoTile(tileId);\n this.trace('pauseVideoTile', tileId);\n }\n unpauseVideoTile(tileId) {\n this.videoTileController.unpauseVideoTile(tileId);\n this.trace('unpauseVideoTile', tileId);\n }\n getVideoTile(tileId) {\n const result = this.videoTileController.getVideoTile(tileId);\n this.trace('getVideoTile', tileId);\n return result;\n }\n getAllRemoteVideoTiles() {\n const result = this.videoTileController.getAllRemoteVideoTiles();\n this.trace('getAllRemoteVideoTiles');\n return result;\n }\n getAllVideoTiles() {\n const result = this.videoTileController.getAllVideoTiles();\n this.trace('getAllVideoTiles');\n return result;\n }\n addVideoTile() {\n const result = this.videoTileController.addVideoTile();\n this.trace('addVideoTile', null, result.state());\n return result;\n }\n removeVideoTile(tileId) {\n this.videoTileController.removeVideoTile(tileId);\n this.trace('removeVideoTile', tileId);\n }\n removeVideoTilesByAttendeeId(attendeeId) {\n const result = this.videoTileController.removeVideoTilesByAttendeeId(attendeeId);\n this.trace('removeVideoTilesByAttendeeId', attendeeId, result);\n return result;\n }\n removeAllVideoTiles() {\n this.videoTileController.removeAllVideoTiles();\n this.trace('removeAllVideoTiles');\n }\n captureVideoTile(tileId) {\n const result = this.videoTileController.captureVideoTile(tileId);\n this.trace('captureVideoTile', tileId);\n return result;\n }\n realtimeSubscribeToAttendeeIdPresence(callback) {\n this.realtimeController.realtimeSubscribeToAttendeeIdPresence(callback);\n this.trace('realtimeSubscribeToAttendeeIdPresence');\n }\n realtimeUnsubscribeToAttendeeIdPresence(callback) {\n this.realtimeController.realtimeUnsubscribeToAttendeeIdPresence(callback);\n this.trace('realtimeUnsubscribeToAttendeeIdPresence');\n }\n realtimeSetCanUnmuteLocalAudio(canUnmute) {\n this.realtimeController.realtimeSetCanUnmuteLocalAudio(canUnmute);\n this.trace('realtimeSetCanUnmuteLocalAudio', canUnmute);\n }\n realtimeSubscribeToSetCanUnmuteLocalAudio(callback) {\n this.realtimeController.realtimeSubscribeToSetCanUnmuteLocalAudio(callback);\n this.trace('realtimeSubscribeToSetCanUnmuteLocalAudio');\n }\n realtimeUnsubscribeToSetCanUnmuteLocalAudio(callback) {\n this.realtimeController.realtimeUnsubscribeToSetCanUnmuteLocalAudio(callback);\n this.trace('realtimeUnsubscribeToSetCanUnmuteLocalAudio');\n }\n realtimeCanUnmuteLocalAudio() {\n const result = this.realtimeController.realtimeCanUnmuteLocalAudio();\n this.trace('realtimeCanUnmuteLocalAudio', null, result);\n return result;\n }\n realtimeMuteLocalAudio() {\n this.realtimeController.realtimeMuteLocalAudio();\n this.trace('realtimeMuteLocalAudio');\n }\n realtimeUnmuteLocalAudio() {\n const result = this.realtimeController.realtimeUnmuteLocalAudio();\n this.trace('realtimeUnmuteLocalAudio');\n return result;\n }\n realtimeSubscribeToMuteAndUnmuteLocalAudio(callback) {\n this.realtimeController.realtimeSubscribeToMuteAndUnmuteLocalAudio(callback);\n this.trace('realtimeSubscribeToMuteAndUnmuteLocalAudio');\n }\n realtimeUnsubscribeToMuteAndUnmuteLocalAudio(callback) {\n this.realtimeController.realtimeUnsubscribeToMuteAndUnmuteLocalAudio(callback);\n this.trace('realtimeUnsubscribeToMuteAndUnmuteLocalAudio');\n }\n realtimeIsLocalAudioMuted() {\n const result = this.realtimeController.realtimeIsLocalAudioMuted();\n this.trace('realtimeIsLocalAudioMuted');\n return result;\n }\n realtimeSubscribeToVolumeIndicator(attendeeId, callback) {\n this.realtimeController.realtimeSubscribeToVolumeIndicator(attendeeId, callback);\n this.trace('realtimeSubscribeToVolumeIndicator', attendeeId);\n }\n realtimeUnsubscribeFromVolumeIndicator(attendeeId, callback) {\n this.realtimeController.realtimeUnsubscribeFromVolumeIndicator(attendeeId, callback);\n this.trace('realtimeUnsubscribeFromVolumeIndicator', attendeeId, callback);\n }\n realtimeSubscribeToLocalSignalStrengthChange(callback) {\n this.realtimeController.realtimeSubscribeToLocalSignalStrengthChange(callback);\n this.trace('realtimeSubscribeToLocalSignalStrengthChange');\n }\n realtimeUnsubscribeToLocalSignalStrengthChange(callback) {\n this.realtimeController.realtimeUnsubscribeToLocalSignalStrengthChange(callback);\n this.trace('realtimeUnsubscribeToLocalSignalStrengthChange');\n }\n realtimeSendDataMessage(topic, // eslint-disable-next-line @typescript-eslint/no-explicit-any\n data, lifetimeMs) {\n this.realtimeController.realtimeSendDataMessage(topic, data, lifetimeMs);\n this.trace('realtimeSendDataMessage');\n }\n realtimeSubscribeToReceiveDataMessage(topic, callback) {\n this.realtimeController.realtimeSubscribeToReceiveDataMessage(topic, callback);\n this.trace('realtimeSubscribeToReceiveDataMessage');\n }\n realtimeUnsubscribeFromReceiveDataMessage(topic) {\n this.realtimeController.realtimeUnsubscribeFromReceiveDataMessage(topic);\n this.trace('realtimeUnsubscribeFromReceiveDataMessage');\n }\n realtimeSubscribeToFatalError(callback) {\n this.realtimeController.realtimeSubscribeToFatalError(callback);\n this.trace('realtimeSubscribeToFatalError');\n }\n realtimeUnsubscribeToFatalError(callback) {\n this.realtimeController.realtimeUnsubscribeToFatalError(callback);\n this.trace('realtimeUnsubscribeToFatalError');\n }\n subscribeToActiveSpeakerDetector(policy, callback, scoresCallback, scoresCallbackIntervalMs) {\n this.audioVideoController.activeSpeakerDetector.subscribe(policy, callback, scoresCallback, scoresCallbackIntervalMs);\n this.trace('subscribeToActiveSpeakerDetector');\n }\n unsubscribeFromActiveSpeakerDetector(callback) {\n this.audioVideoController.activeSpeakerDetector.unsubscribe(callback);\n this.trace('unsubscribeFromActiveSpeakerDetector');\n }\n listAudioInputDevices(forceUpdate = false) {\n return __awaiter(this, void 0, void 0, function* () {\n const result = yield this.deviceController.listAudioInputDevices(forceUpdate);\n this.trace('listAudioInputDevices', forceUpdate, result);\n return result;\n });\n }\n listVideoInputDevices(forceUpdate = false) {\n return __awaiter(this, void 0, void 0, function* () {\n const result = yield this.deviceController.listVideoInputDevices(forceUpdate);\n this.trace('listVideoInputDevices', forceUpdate, result);\n return result;\n });\n }\n listAudioOutputDevices(forceUpdate = false) {\n return __awaiter(this, void 0, void 0, function* () {\n const result = yield this.deviceController.listAudioOutputDevices(forceUpdate);\n this.trace('listAudioOutputDevices', forceUpdate, result);\n return result;\n });\n }\n startAudioInput(device) {\n return __awaiter(this, void 0, void 0, function* () {\n this.trace('startAudioInput', device);\n return this.deviceController.startAudioInput(device);\n });\n }\n stopAudioInput() {\n return __awaiter(this, void 0, void 0, function* () {\n this.trace('stopAudioInput');\n return this.deviceController.stopAudioInput();\n });\n }\n startVideoInput(device) {\n return __awaiter(this, void 0, void 0, function* () {\n if (VideoTransformDevice_1.isVideoTransformDevice(device)) {\n // Don't stringify the device to avoid failures when cyclic object references are present.\n this.trace('startVideoInput with transform device');\n }\n else {\n this.trace('startVideoInput', device);\n }\n return this.deviceController.startVideoInput(device);\n });\n }\n stopVideoInput() {\n return __awaiter(this, void 0, void 0, function* () {\n this.trace('stopVideoInput');\n return this.deviceController.stopVideoInput();\n });\n }\n chooseAudioOutput(deviceId) {\n const result = this.deviceController.chooseAudioOutput(deviceId);\n this.trace('chooseAudioOutput', deviceId);\n return result;\n }\n addDeviceChangeObserver(observer) {\n this.deviceController.addDeviceChangeObserver(observer);\n this.trace('addDeviceChangeObserver');\n }\n removeDeviceChangeObserver(observer) {\n this.deviceController.removeDeviceChangeObserver(observer);\n this.trace('removeDeviceChangeObserver');\n }\n createAnalyserNodeForAudioInput() {\n const result = this.deviceController.createAnalyserNodeForAudioInput();\n this.trace('createAnalyserNodeForAudioInput');\n return result;\n }\n startVideoPreviewForVideoInput(element) {\n this.deviceController.startVideoPreviewForVideoInput(element);\n this.trace('startVideoPreviewForVideoInput', element.id);\n }\n stopVideoPreviewForVideoInput(element) {\n this.deviceController.stopVideoPreviewForVideoInput(element);\n this.trace('stopVideoPreviewForVideoInput', element.id);\n }\n setDeviceLabelTrigger(trigger) {\n this.deviceController.setDeviceLabelTrigger(trigger);\n this.trace('setDeviceLabelTrigger');\n }\n mixIntoAudioInput(stream) {\n const result = this.deviceController.mixIntoAudioInput(stream);\n this.trace('mixIntoAudioInput', stream.id);\n return result;\n }\n chooseVideoInputQuality(width, height, frameRate) {\n this.deviceController.chooseVideoInputQuality(width, height, frameRate);\n this.trace('chooseVideoInputQuality', {\n width: width,\n height: height,\n frameRate: frameRate,\n });\n }\n setVideoMaxBandwidthKbps(maxBandwidthKbps) {\n this.audioVideoController.setVideoMaxBandwidthKbps(maxBandwidthKbps);\n this.trace('setVideoMaxBandwidthKbps', maxBandwidthKbps);\n }\n setVideoCodecSendPreferences(preferences) {\n this.audioVideoController.setVideoCodecSendPreferences(preferences);\n this.trace('setVideoCodecSendPreferences', preferences);\n }\n getVideoInputQualitySettings() {\n const result = this.deviceController.getVideoInputQualitySettings();\n this.trace('getVideoInputQualitySettings');\n return result;\n }\n setContentAudioProfile(audioProfile) {\n this.trace('setContentAudioProfile', audioProfile);\n this.contentShareController.setContentAudioProfile(audioProfile);\n }\n enableSimulcastForContentShare(enable, encodingParams) {\n this.trace('enableSimulcastForContentShare');\n this.contentShareController.enableSimulcastForContentShare(enable, encodingParams);\n }\n startContentShare(stream) {\n const result = this.contentShareController.startContentShare(stream);\n this.trace('startContentShare');\n return result;\n }\n startContentShareFromScreenCapture(sourceId, frameRate) {\n const result = this.contentShareController.startContentShareFromScreenCapture(sourceId, frameRate);\n this.trace('startContentShareFromScreenCapture');\n return result;\n }\n pauseContentShare() {\n this.contentShareController.pauseContentShare();\n this.trace('pauseContentShare');\n }\n unpauseContentShare() {\n this.contentShareController.unpauseContentShare();\n this.trace('unpauseContentShare');\n }\n stopContentShare() {\n this.contentShareController.stopContentShare();\n this.trace('stopContentShare');\n }\n addContentShareObserver(observer) {\n this.contentShareController.addContentShareObserver(observer);\n this.trace('addContentShareObserver');\n }\n removeContentShareObserver(observer) {\n this.contentShareController.removeContentShareObserver(observer);\n this.trace('removeContentShareObserver');\n }\n setContentShareVideoCodecPreferences(preferences) {\n this.contentShareController.setContentShareVideoCodecPreferences(preferences);\n this.trace('setContentShareVideoCodecPreferences');\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n trace(name, input, output) {\n const meetingId = this.audioVideoController.configuration.meetingId;\n const attendeeId = this.audioVideoController.configuration.credentials.attendeeId;\n let s = `API/DefaultAudioVideoFacade/${meetingId}/${attendeeId}/${name}`;\n if (typeof input !== 'undefined') {\n s += ` ${JSON.stringify(input)}`;\n }\n if (typeof output !== 'undefined') {\n s += ` -> ${JSON.stringify(output)}`;\n }\n this.audioVideoController.logger.info(s);\n }\n getRemoteVideoSources() {\n const result = this.audioVideoController.getRemoteVideoSources();\n this.trace('getRemoteVideoSources', null, result);\n return result;\n }\n get transcriptionController() {\n return this.realtimeController.transcriptionController;\n }\n promoteToPrimaryMeeting(credentials) {\n this.audioVideoController.removeObserver(this); // Avoid adding multiple times\n this.audioVideoController.addObserver(this); // See note in `audioVideoWasDemotedFromPrimaryMeeting`\n const result = this.audioVideoController.promoteToPrimaryMeeting(credentials);\n this.trace('promoteToPrimaryMeeting', null, result); // Don't trace credentials\n return result;\n }\n demoteFromPrimaryMeeting() {\n this.trace('demoteFromPrimaryMeeting');\n this.audioVideoController.demoteFromPrimaryMeeting();\n }\n audioVideoWasDemotedFromPrimaryMeeting(_) {\n // `DefaultContentShareController` currently does not respond to the connection ending\n // so `contentShareDidStop` will not be called even if backend cleans up the connection.\n // Thus we try to pre-emptively clean up on client side.\n this.contentShareController.stopContentShare();\n this.audioVideoController.removeObserver(this);\n }\n}\nexports[\"default\"] = DefaultAudioVideoFacade;\n//# sourceMappingURL=DefaultAudioVideoFacade.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/audiovideofacade/DefaultAudioVideoFacade.js?")},"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurProcessorBuiltIn.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst BackgroundBlurProcessorProvided_1 = __webpack_require__(/*! ./BackgroundBlurProcessorProvided */ \"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurProcessorProvided.js\");\nconst BackgroundBlurStrength_1 = __webpack_require__(/*! ./BackgroundBlurStrength */ \"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurStrength.js\");\n/**\n * The [[BackgroundBlurProcessorBuiltIn]] uses the browser's built-in capability to apply blurring to\n * the background image as apposed to [[BackgroundBlurProcessorProvided]] that uses WASM and\n * TensorFlow Lite to apply the blur.\n */\n/** @internal */\nclass BackgroundBlurProcessorBuiltIn extends BackgroundBlurProcessorProvided_1.default {\n /**\n * A constructor that will apply default values if spec and strength are not provided.\n * If no spec is provided the selfie segmentation model is used with default paths to CDN for the\n * worker and wasm files used to process each frame.\n * @param spec The spec defines the assets that will be used for adding background blur to a frame.\n * @param options How much blur to apply to a frame.\n */\n constructor(spec, options) {\n super(spec, options);\n this.blurCanvas = document.createElement('canvas');\n this.blurCanvasCtx = this.blurCanvas.getContext('2d');\n this.blurCanvas.width = this.spec.model.input.width;\n this.blurCanvas.height = this.spec.model.input.height;\n this.logger.info('BackgroundBlur processor using builtin blur');\n }\n drawImageWithMask(inputCanvas, mask) {\n // Mask will not be set until the worker has completed handling the predict event. Until the first frame is processed,\n // the whole frame will be blurred.\n const blurredImage = this.blurredImage;\n const { canvasCtx, targetCanvas } = this;\n const { width, height } = targetCanvas;\n if (!mask || !blurredImage) {\n canvasCtx.clearRect(0, 0, width, height);\n return;\n }\n const scaledCtx = this.scaledCanvas.getContext('2d');\n scaledCtx.putImageData(mask, 0, 0);\n this.blurCanvasCtx.putImageData(this.blurredImage, 0, 0);\n // draw the mask\n canvasCtx.save();\n canvasCtx.clearRect(0, 0, width, height);\n canvasCtx.drawImage(this.scaledCanvas, 0, 0, width, height);\n // Only overwrite existing pixels.\n canvasCtx.globalCompositeOperation = 'source-in';\n // draw image over mask...\n canvasCtx.drawImage(inputCanvas, 0, 0, width, height);\n // draw under person\n canvasCtx.globalCompositeOperation = 'destination-over';\n canvasCtx.drawImage(this.blurCanvas, 0, 0, width, height);\n canvasCtx.restore();\n }\n setBlurStrength(blurStrength) {\n super.setBlurStrength(blurStrength);\n if (this.worker) {\n // live update\n this.modelInitialized = false;\n this.worker.postMessage({ msg: 'destroy' });\n const model = this.spec.model;\n this.worker.postMessage({\n msg: 'loadModel',\n payload: {\n modelUrl: model.path,\n inputHeight: model.input.height,\n inputWidth: model.input.width,\n inputChannels: 4,\n modelRangeMin: model.input.range[0],\n modelRangeMax: model.input.range[1],\n blurPixels: this.blurAmount,\n },\n });\n }\n }\n setBlurPixels() {\n // the blurred image is sized down to 144, regardless of what the canvas size is, so\n // we use the default blur strengths (540p)\n this.blurAmount = BackgroundBlurStrength_1.BlurStrengthMapper.getBlurAmount(this._blurStrength, { height: 540 });\n this.logger.info(`background blur amount set to ${this.blurAmount}`);\n }\n handleInitialize(msg) {\n this.logger.info(`received initialize message: ${this.stringify(msg)}`);\n if (!msg.payload) {\n this.logger.error('failed to initialize module');\n this.initWorkerPromise.reject(new Error('failed to initialize the module'));\n return;\n }\n const model = this.spec.model;\n this.worker.postMessage({\n msg: 'loadModel',\n payload: {\n modelUrl: model.path,\n inputHeight: model.input.height,\n inputWidth: model.input.width,\n inputChannels: 4,\n modelRangeMin: model.input.range[0],\n modelRangeMax: model.input.range[1],\n blurPixels: this.blurAmount,\n },\n });\n this.initWorkerPromise.resolve({});\n }\n handlePredict(msg) {\n this.blurredImage = msg.payload.blurOutput;\n super.handlePredict(msg);\n }\n destroy() {\n const _super = Object.create(null, {\n destroy: { get: () => super.destroy }\n });\n var _a;\n return __awaiter(this, void 0, void 0, function* () {\n _super.destroy.call(this);\n (_a = this.blurCanvas) === null || _a === void 0 ? void 0 : _a.remove();\n this.blurCanvas = undefined;\n });\n }\n}\nexports[\"default\"] = BackgroundBlurProcessorBuiltIn;\n//# sourceMappingURL=BackgroundBlurProcessorBuiltIn.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurProcessorBuiltIn.js?")},"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurProcessorProvided.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst BackgroundFilterProcessor_1 = __webpack_require__(/*! ../backgroundfilter/BackgroundFilterProcessor */ \"./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterProcessor.js\");\nconst BackgroundBlurStrength_1 = __webpack_require__(/*! ./BackgroundBlurStrength */ \"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurStrength.js\");\nconst BackgroundBlurVideoFrameProcessorDelegate_1 = __webpack_require__(/*! ./BackgroundBlurVideoFrameProcessorDelegate */ \"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurVideoFrameProcessorDelegate.js\");\n/**\n * [[BackgroundBlurProcessorProvided]] implements [[BackgroundBlurProcessor]].\n * It's a background blur processor and input is passed into a worker that will apply a segmentation\n * to separate the foreground from the background. Then the background will have a blur applied.\n *\n * The [[BackgroundBlurProcessorProvided]] uses WASM and TensorFlow Lite to apply the blurring of the\n * background image as apposed to [[BackgroundBlurProcessorBuiltIn]] that uses the browser's built-in\n * capability to apply the blur.\n */\n/** @internal */\nclass BackgroundBlurProcessorProvided extends BackgroundFilterProcessor_1.default {\n /**\n * A constructor that will apply default values if spec and strength are not provided.\n * If no spec is provided the selfie segmentation model is used with default paths to CDN for the\n * worker and wasm files used to process each frame.\n * @param spec The spec defines the assets that will be used for adding background blur to a frame\n * @param options How much blur to apply to a frame\n */\n constructor(spec, options) {\n super('background blur', spec, options, new BackgroundBlurVideoFrameProcessorDelegate_1.default());\n this.blurAmount = 0;\n this.setBlurStrength(options.blurStrength);\n this.logger.info('BackgroundBlur processor successfully created');\n this.logger.info(`BackgroundBlur spec: ${this.stringify(this.spec)}`);\n this.logger.info(`BackgroundBlur options: ${this.stringify(options)}`);\n }\n validateOptions(options) {\n super.validateOptions(options);\n if (!options.blurStrength) {\n throw new Error('processor has null options - blurStrength');\n }\n }\n initOnFirstExecution() {\n this.setBlurPixels();\n }\n drawImageWithMask(inputCanvas, mask) {\n // Mask will not be set until the worker has completed handling the predict event. Until the first frame is processed,\n // the whole frame will be blurred.\n if (!mask) {\n mask = new ImageData(this.spec.model.input.width, this.spec.model.input.height);\n }\n const scaledCtx = this.scaledCanvas.getContext('2d');\n scaledCtx.putImageData(mask, 0, 0);\n const { canvasCtx, targetCanvas } = this;\n const { width, height } = targetCanvas;\n // draw the mask\n canvasCtx.save();\n canvasCtx.clearRect(0, 0, width, height);\n canvasCtx.drawImage(this.scaledCanvas, 0, 0, width, height);\n // Only overwrite existing pixels.\n canvasCtx.globalCompositeOperation = 'source-in';\n // draw image over mask...\n canvasCtx.drawImage(inputCanvas, 0, 0, width, height);\n // draw under person\n canvasCtx.globalCompositeOperation = 'destination-over';\n canvasCtx.filter = `blur(${this.blurAmount}px)`;\n canvasCtx.drawImage(inputCanvas, 0, 0, targetCanvas.width, targetCanvas.height);\n canvasCtx.restore();\n }\n setBlurStrength(blurStrength) {\n this._blurStrength = blurStrength;\n this.logger.info(`blur strength set to ${this._blurStrength}`);\n this.setBlurPixels();\n }\n /**\n * Calculate the blur amount based on the blur strength passed in and height of the image being blurred.\n */\n setBlurPixels() {\n this.blurAmount = BackgroundBlurStrength_1.BlurStrengthMapper.getBlurAmount(this._blurStrength, {\n height: this.sourceHeight,\n });\n this.logger.info(`background blur amount set to ${this.blurAmount}`);\n }\n addObserver(observer) {\n this.delegate.addObserver(observer);\n }\n removeObserver(observer) {\n this.delegate.removeObserver(observer);\n }\n static isSupported() {\n return __awaiter(this, void 0, void 0, function* () {\n const canvas = document.createElement('canvas');\n const supportsBlurFilter = canvas.getContext('2d').filter !== undefined;\n canvas.remove();\n return supportsBlurFilter;\n });\n }\n}\nexports[\"default\"] = BackgroundBlurProcessorProvided;\n//# sourceMappingURL=BackgroundBlurProcessorProvided.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurProcessorProvided.js?")},"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurStrength.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.BlurStrengthMapper = void 0;\n/**\n * The numbers below indicate the amount of blur to apply. Larger numbers will produce\n * more blur.\n */\nconst BlurStrength = {\n LOW: 7,\n MEDIUM: 15,\n HIGH: 30,\n};\n/** @internal */\nclass BlurStrengthMapper {\n static getBlurAmount(bstrength, options) {\n if (bstrength <= 0) {\n throw new Error(`invalid value for blur strength: ${bstrength}`);\n }\n return Math.round((bstrength * options.height) / this.BLUR_STRENGTH_DIVISOR);\n }\n}\nexports.BlurStrengthMapper = BlurStrengthMapper;\nBlurStrengthMapper.BLUR_STRENGTH_DIVISOR = 540; // use 540P as baseline blur strength\nexports["default"] = BlurStrength;\n//# sourceMappingURL=BackgroundBlurStrength.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurStrength.js?')},"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurVideoFrameProcessor.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst BackgroundFilterVideoFrameProcessor_1 = __webpack_require__(/*! ../backgroundfilter/BackgroundFilterVideoFrameProcessor */ "./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterVideoFrameProcessor.js");\nconst ConsoleLogger_1 = __webpack_require__(/*! ../logger/ConsoleLogger */ "./node_modules/amazon-chime-sdk-js/build/logger/ConsoleLogger.js");\nconst LogLevel_1 = __webpack_require__(/*! ../logger/LogLevel */ "./node_modules/amazon-chime-sdk-js/build/logger/LogLevel.js");\nconst NoOpVideoFrameProcessor_1 = __webpack_require__(/*! ../videoframeprocessor/NoOpVideoFrameProcessor */ "./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/NoOpVideoFrameProcessor.js");\nconst BackgroundBlurProcessorBuiltIn_1 = __webpack_require__(/*! ./BackgroundBlurProcessorBuiltIn */ "./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurProcessorBuiltIn.js");\nconst BackgroundBlurProcessorProvided_1 = __webpack_require__(/*! ./BackgroundBlurProcessorProvided */ "./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurProcessorProvided.js");\nconst BackgroundBlurStrength_1 = __webpack_require__(/*! ./BackgroundBlurStrength */ "./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurStrength.js");\n/**\n * No-op implementation of the blur processor. An instance of this class will be returned when a user attempts\n * to create a blur processor when it is not supported.\n */\n/** @internal */\nclass NoOpBackgroundBlurProcessor extends NoOpVideoFrameProcessor_1.default {\n /**\n * no-op\n */\n setBlurStrength() { }\n /**\n * no-op\n * @returns\n */\n loadAssets() {\n return __awaiter(this, void 0, void 0, function* () {\n return;\n });\n }\n /**\n * no-op\n */\n addObserver() { }\n /**\n * no-op\n */\n removeObserver() { }\n}\n/**\n * [[BackgroundBlurVideoFrameProcessor]]\n * Creates a background blur processor which identifies the foreground person and blurs the background.\n */\nclass BackgroundBlurVideoFrameProcessor extends BackgroundFilterVideoFrameProcessor_1.default {\n /**\n * A factory method that will call the private constructor to instantiate the processor and asynchronously\n * initialize the worker, wasm, and ML models. Upon completion of the initialization the promise will either\n * be resolved or rejected.\n * @param spec The spec defines the assets that will be used for adding background blur to a frame\n * @param blurStrength How much blur to apply to a frame\n * @returns\n */\n static create(spec, options) {\n return __awaiter(this, void 0, void 0, function* () {\n spec = BackgroundBlurVideoFrameProcessor.resolveSpec(spec);\n options = BackgroundBlurVideoFrameProcessor.resolveOptions(options);\n const { logger } = options;\n const supported = yield BackgroundBlurVideoFrameProcessor.isSupported(spec, options);\n // if blur is not supported do not initialize. The processor will become a no op if not supported.\n logger.info(`processor is ${supported ? \'\' : \'not\'} supported`);\n if (!supported) {\n logger.warn(\'Using no-op processor because background blur is not supported\');\n return new NoOpBackgroundBlurProcessor();\n }\n let processor;\n if (yield BackgroundBlurProcessorProvided_1.default.isSupported()) {\n logger.info(\'Using browser-provided background blur\');\n processor = new BackgroundBlurProcessorProvided_1.default(spec, options);\n }\n else {\n logger.info(\'Using built-in background blur\');\n processor = new BackgroundBlurProcessorBuiltIn_1.default(spec, options);\n }\n yield processor.loadAssets();\n return processor;\n });\n }\n /**\n * Based on the options that are passed in set defaults for options\n * @param options the options that are passed in\n * @returns An updated set of options with defaults set\n */\n static resolveOptions(options = {}) {\n let processorOptions = Object.assign({}, options);\n if (!processorOptions.blurStrength) {\n processorOptions.blurStrength = BackgroundBlurStrength_1.default.MEDIUM;\n }\n if (!processorOptions.logger) {\n processorOptions.logger = new ConsoleLogger_1.default(\'BackgroundBlurProcessor\', LogLevel_1.default.INFO);\n }\n processorOptions = super.resolveOptions(processorOptions);\n return processorOptions;\n }\n /**\n * This method will detect the environment in which it is being used and determine if background\n * blur can be used.\n * @param spec The {@link BackgroundBlurSpec} spec that will be used to initialize assets\n * @param options options such as logger\n * @returns a boolean promise that will resolve to true if supported and false if not\n */\n static isSupported(spec, options) {\n spec = BackgroundBlurVideoFrameProcessor.resolveSpec(spec);\n options = BackgroundBlurVideoFrameProcessor.resolveOptions(options);\n return super.isSupported(spec, options);\n }\n}\nexports["default"] = BackgroundBlurVideoFrameProcessor;\n//# sourceMappingURL=BackgroundBlurVideoFrameProcessor.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurVideoFrameProcessor.js?')},"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurVideoFrameProcessorDelegate.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst BackgroundFilterVideoFrameProcessorDelegate_1 = __webpack_require__(/*! ../backgroundfilter/BackgroundFilterVideoFrameProcessorDelegate */ "./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterVideoFrameProcessorDelegate.js");\n/**\n * This class adds the functionality to allow for a set of unique observers to be added to the\n * video frame processor.\n */\n/** @internal */\nclass BackgroundBlurVideoFrameProcessorDelegate extends BackgroundFilterVideoFrameProcessorDelegate_1.default {\n}\nexports["default"] = BackgroundBlurVideoFrameProcessorDelegate;\n//# sourceMappingURL=BackgroundBlurVideoFrameProcessorDelegate.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurVideoFrameProcessorDelegate.js?')},"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/ModelSpecBuilder.js":(__unused_webpack_module,exports)=>{"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n/**\n * A builder class to instantiate a model spec.\n */\nclass ModelSpecBuilder {\n constructor() {\n this.path = null;\n this.input = null;\n this.output = null;\n }\n static builder() {\n return new ModelSpecBuilder();\n }\n /**\n * Set up the builder to use the default model implementation.\n *\n * Members of this interface can change without a major version bump to accommodate new browser\n * bugs and capabilities. If you extend this type, you might need to rework your code for new minor\n * versions of this library.\n * @returns a reference to the current builder.\n */\n withDefaultModel() {\n return this.withSelfieSegmentationDefaults();\n }\n /**\n * Set up the builder to use the defaults for selfie segmentation model.\n * @returns the builder to allow for fluent API (e.g., ModelSpecBuilder.withSelfieSegmentationDefaults().build()).\n */\n withSelfieSegmentationDefaults() {\n const SELFIE_MODEL_INPUT_SHAPE = {\n height: 144,\n width: 256,\n range: [0, 1],\n channels: 3,\n };\n const SELFIE_MODEL_OUTPUT_SHAPE = {\n height: 144,\n width: 256,\n range: [0, 1],\n channels: 1,\n };\n const DEFAULT_SELFIE_MODEL_PATH = 'https://static.sdkassets.chime.aws/bgblur/models/selfie_segmentation_landscape.tflite';\n this.path = DEFAULT_SELFIE_MODEL_PATH;\n this.input = SELFIE_MODEL_INPUT_SHAPE;\n this.output = SELFIE_MODEL_OUTPUT_SHAPE;\n return this;\n }\n /**\n * A method to override the path to the segmentation model.\n * @param path A function that returns the path to the segmentation model.\n * @returns the builder to allow for fluent API (e.g., ModelSpecBuilder.builder().withPath(\"some path\").build()).\n */\n withPath(path) {\n this.path = path;\n return this;\n }\n /**\n * A method to override the input shape to the segmentation model.\n * @param input An object that defines input shape of the segmentation model.\n * @returns the builder to allow for fluent API (e.g., ModelSpecBuilder.builder().withInput({}).build()).\n */\n withInput(input) {\n this.input = input;\n return this;\n }\n /**\n * A method to override the output shape to the segmentation model.\n * @param input An object that defines input shape of the segmentation model.\n * @returns the builder to allow for fluent API (e.g., ModelSpecBuilder.builder().withOutput({}).build()).\n */\n withOutput(output) {\n this.output = output;\n return this;\n }\n /**\n * Validate that inputs to the model spec are valid.\n */\n validate() {\n if (!this.path) {\n throw new Error('model spec path is not set');\n }\n if (!this.input) {\n throw new Error('model spec input is not set');\n }\n if (!this.output) {\n throw new Error('model spec output is not set');\n }\n }\n /**\n * A method that returns an instantiated object that implements the ModelSpec interface with values set for\n * the use of the selfie segmentation model.\n * @returns an object that implements the ModelSpec interface.\n */\n build() {\n this.validate();\n return {\n path: this.path,\n input: this.input,\n output: this.output,\n };\n }\n}\nexports[\"default\"] = ModelSpecBuilder;\n//# sourceMappingURL=ModelSpecBuilder.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/ModelSpecBuilder.js?")},"./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterFrameCounter.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst FILTER_DURATION_FACTOR = 0.8;\n/**\n * The frame counter tracks frame rates of video and segmentation.\n */\n/** @internal */\nclass BackgroundFilterFrameCounter {\n constructor(delegate, reportingPeriodMillis, filterCPUUtilization, logger) {\n this.delegate = delegate;\n this.reportingPeriodMillis = reportingPeriodMillis;\n this.filterCPUUtilization = filterCPUUtilization;\n this.logger = logger;\n this._processingFilter = true;\n this.lastReportedEventTimestamp = 0;\n this.lastFilterCompleteTimestamp = 0;\n this.filterTotalMillis = 0;\n this.filterCount = 0;\n this.framerate = 0;\n this.filterDurationNotifyMillis = 0;\n this.setSegmentationDuration();\n }\n /**\n * Report events once per period.\n */\n reportEvent(timestamp) {\n const timeDiff = timestamp - this.lastReportedEventTimestamp;\n if (timeDiff >= this.reportingPeriodMillis) {\n const currentFilterCount = this.filterCount;\n const currentFilterTotalMillis = this.filterTotalMillis;\n this.filterCount = 0;\n this.filterTotalMillis = 0;\n this.lastReportedEventTimestamp = timestamp;\n // Do not send notification unless a valid framerate or segment count is set.\n if (this.framerate === 0 || currentFilterCount === 0) {\n return;\n }\n const avgFilterDurationMillis = Math.round(currentFilterTotalMillis / currentFilterCount);\n const framesDropped = Math.round(this.framerate * (timeDiff / 1000)) - currentFilterCount;\n const cpuUtilization = Math.round((100 * currentFilterTotalMillis) / timeDiff);\n if (avgFilterDurationMillis >= this.filterDurationNotifyMillis) {\n this.delegate.filterFrameDurationHigh({\n framesDropped,\n avgFilterDurationMillis,\n framerate: this.framerate,\n periodMillis: timeDiff,\n });\n }\n if (cpuUtilization >= this.filterCPUUtilization) {\n this.delegate.filterCPUUtilizationHigh({\n cpuUtilization,\n filterMillis: currentFilterTotalMillis,\n periodMillis: timeDiff,\n });\n }\n }\n }\n setSegmentationDuration() {\n // allow filtering to take up to 80% of the expected frame duration\n this.filterDurationNotifyMillis = Math.round((1000 / this.framerate) * FILTER_DURATION_FACTOR);\n }\n frameReceived(framerate) {\n if (framerate !== this.framerate) {\n this.framerate = framerate;\n this.logger.info(`frame counter setting frame rate to ${this.framerate}`);\n this.setSegmentationDuration();\n }\n const timestamp = Date.now();\n this.reportEvent(timestamp);\n }\n filterSubmitted() {\n this._processingFilter = true;\n this.lastFilterCompleteTimestamp = Date.now();\n }\n filterComplete() {\n this.filterTotalMillis += Date.now() - this.lastFilterCompleteTimestamp;\n this._processingFilter = false;\n this.filterCount++;\n }\n get processingSegment() {\n return this._processingFilter;\n }\n}\nexports["default"] = BackgroundFilterFrameCounter;\n//# sourceMappingURL=BackgroundFilterFrameCounter.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterFrameCounter.js?')},"./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterProcessor.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.BackgroundFilterMonitor = void 0;\nconst loader_1 = __webpack_require__(/*! ../../libs/voicefocus/loader */ \"./node_modules/amazon-chime-sdk-js/libs/voicefocus/loader.js\");\nconst CanvasVideoFrameBuffer_1 = __webpack_require__(/*! ../videoframeprocessor/CanvasVideoFrameBuffer */ \"./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/CanvasVideoFrameBuffer.js\");\nconst BackgroundFilterFrameCounter_1 = __webpack_require__(/*! ./BackgroundFilterFrameCounter */ \"./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterFrameCounter.js\");\n/** @internal */\nclass DeferredObservable {\n constructor() {\n /** Access the last-resolved value of next()\n */\n this.value = undefined;\n this.resolve = null;\n }\n /** Create a promise that resolves once next() is called\n */\n whenNext() {\n /* istanbul ignore else */\n if (!this.promise) {\n // externally-resolvable promise\n this.promise = new Promise(resolve => (this.resolve = resolve));\n }\n return this.promise;\n }\n /** Update the value and resolve\n */\n next(value) {\n // store the value, for sync access\n this.value = value;\n // resolve the promise so anyone awaiting whenNext resolves\n this.resolve(value);\n // delete the promise so future whenNext calls get a new promise\n delete this.promise;\n }\n}\n/**\n * The [[BackgroundFilterProcessor]] uses WASM and TensorFlow Lite to apply changes to the\n * background image.\n */\n/** @internal */\nclass BackgroundFilterProcessor {\n constructor(filterType, spec, options, delegate) {\n this.targetCanvas = document.createElement('canvas');\n this.canvasCtx = this.targetCanvas.getContext('2d');\n this.canvasVideoFrameBuffer = new CanvasVideoFrameBuffer_1.default(this.targetCanvas);\n this.mask$ = new DeferredObservable();\n this.sourceWidth = 0;\n this.sourceHeight = 0;\n this.frameNumber = 0;\n this.videoFramesPerFilterUpdate = 1;\n this.initWorkerPromise = BackgroundFilterProcessor.createWorkerPromise();\n this.loadModelPromise = BackgroundFilterProcessor.createWorkerPromise();\n this.modelInitialized = false;\n this.destroyed = false;\n this.filterType = filterType;\n this.validateSpec(spec);\n this.validateOptions(options);\n this.spec = spec;\n this.logger = options.logger;\n this.delegate = delegate;\n this.initCPUMonitor(options);\n }\n static createWorkerPromise() {\n const resolver = { resolve: null, reject: null, promise: null };\n resolver.promise = new Promise((resolve, reject) => {\n resolver.resolve = resolve;\n resolver.reject = reject;\n });\n return resolver;\n }\n /** Check if the input spec are not null\n */\n validateSpec(spec) {\n if (!spec) {\n throw new Error('processor has null spec');\n }\n if (!spec.model) {\n throw new Error('processor spec has null model');\n }\n if (!spec.paths) {\n throw new Error('processor spec has null paths');\n }\n }\n validateOptions(options) {\n if (!options) {\n throw new Error('processor has null options');\n }\n if (!options.logger) {\n throw new Error('processor has null options - logger');\n }\n if (!options.reportingPeriodMillis) {\n throw new Error('processor has null options - reportingPeriodMillis');\n }\n if (!options.filterCPUUtilization) {\n throw new Error('processor has null options - filterCPUUtilization');\n }\n }\n initCPUMonitor(options) {\n const CPU_MONITORING_PERIOD_MILLIS = 5000;\n const MAX_SEGMENTATION_SKIP_RATE = 10;\n const MIN_SEGMENTATION_SKIP_RATE = 1;\n this.videoFramesPerFilterUpdate = 1;\n this.frameCounter = new BackgroundFilterFrameCounter_1.default(this.delegate, options.reportingPeriodMillis, options.filterCPUUtilization, this.logger);\n this.cpuMonitor = new BackgroundFilterMonitor(CPU_MONITORING_PERIOD_MILLIS, {\n reduceCPUUtilization: () => {\n this.updateVideoFramesPerFilterUpdate(Math.min(this.videoFramesPerFilterUpdate + 1, MAX_SEGMENTATION_SKIP_RATE));\n },\n increaseCPUUtilization: () => {\n this.updateVideoFramesPerFilterUpdate(Math.max(this.videoFramesPerFilterUpdate - 1, MIN_SEGMENTATION_SKIP_RATE));\n },\n });\n this.delegate.addObserver(this.cpuMonitor);\n }\n /** Converts a value to a JSON string\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n stringify(value) {\n return JSON.stringify(value, null, 2);\n }\n /**\n * Sends a message to worker and resolves promise in response to worker's initialize event\n */\n handleInitialize(msg) {\n this.logger.info(`received initialize message: ${this.stringify(msg)}`);\n if (!msg.payload) {\n this.logger.error('failed to initialize module');\n this.initWorkerPromise.reject(new Error('failed to initialize the module'));\n return;\n }\n const model = this.spec.model;\n this.worker.postMessage({\n msg: 'loadModel',\n payload: {\n modelUrl: model.path,\n inputHeight: model.input.height,\n inputWidth: model.input.width,\n inputChannels: 4,\n modelRangeMin: model.input.range[0],\n modelRangeMax: model.input.range[1],\n blurPixels: 0,\n },\n });\n this.initWorkerPromise.resolve({});\n }\n /**\n * Resolves promise in response to worker's loadModel event\n */\n handleLoadModel(msg) {\n this.logger.info(`received load model message: ${this.stringify(msg)}`);\n if (msg.payload !== 2) {\n this.logger.error('failed to load model! status: ' + msg.payload);\n /** Rejects model promise\n */\n this.loadModelPromise.reject(new Error('failed to load model! status: ' + msg.payload));\n return;\n }\n this.modelInitialized = true;\n this.loadModelPromise.resolve({});\n }\n /** Updates the payload output value in response to worker's predict event\n */\n handlePredict(msg) {\n this.mask$.next(msg.payload.output);\n }\n /**\n * This method will handle the asynchronous messaging between the main JS thread\n * and the worker thread.\n * @param evt An event that was sent from the worker to the JS thread.\n * @returns\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n handleWorkerEvent(evt) {\n const msg = evt.data;\n switch (msg.msg) {\n case 'initialize':\n this.handleInitialize(msg);\n break;\n case 'loadModel':\n this.handleLoadModel(msg);\n break;\n case 'predict':\n this.handlePredict(msg);\n break;\n default:\n this.logger.info(`unexpected event msg: ${this.stringify(msg)}`);\n break;\n }\n }\n /**\n * This method initializes all of the resource necessary to processs background filter. It returns\n * a promise and resolves or rejects the promise once the initialization is complete.\n * @returns\n * @throws An error will be thrown\n */\n loadAssets() {\n return __awaiter(this, void 0, void 0, function* () {\n this.logger.info('start initializing the processor');\n try {\n this.worker = yield loader_1.loadWorker(this.spec.paths.worker, 'BackgroundFilterWorker', {}, null);\n this.worker.addEventListener('message', ev => this.handleWorkerEvent(ev));\n this.worker.postMessage({\n msg: 'initialize',\n payload: {\n wasmPath: this.spec.paths.wasm,\n simdPath: this.spec.paths.simd,\n },\n });\n yield this.initWorkerPromise.promise;\n this.logger.info(`successfully initialized the ${this.filterType} worker`);\n yield this.loadModelPromise.promise;\n this.logger.info(`successfully loaded ${this.filterType} worker segmentation model`);\n }\n catch (error) {\n throw new Error(`could not initialize the ${this.filterType} video frame processor due to '${error.message}'`);\n }\n this.logger.info(`successfully initialized the ${this.filterType} processor`);\n });\n }\n /**\n * Processes the VideoFrameBuffer by applying a segmentation mask and replacing the background.\n * @param buffers object that contains the canvas element that will be used to obtain the image data to process\n * @returns the updated buffer that contains the image with the background replaced.\n */\n process(buffers) {\n return __awaiter(this, void 0, void 0, function* () {\n if (this.destroyed) {\n return buffers;\n }\n this.frameCounter.frameReceived(buffers[0].framerate);\n this.cpuMonitor.frameReceived();\n const inputCanvas = buffers[0].asCanvasElement();\n if (!inputCanvas) {\n return buffers;\n }\n if (!this.modelInitialized) {\n // return existing buffer, if any\n buffers[0] = this.canvasVideoFrameBuffer;\n return buffers;\n }\n const frameWidth = inputCanvas.width;\n const frameHeight = inputCanvas.height;\n if (frameWidth === 0 || frameHeight === 0) {\n return buffers;\n }\n // on first execution of process the source width will be zero\n if (this.sourceWidth === 0) {\n this.sourceWidth = frameWidth;\n this.sourceHeight = frameHeight;\n // update target canvas size to match the frame size\n this.targetCanvas.width = this.sourceWidth;\n this.targetCanvas.height = this.sourceHeight;\n this.logger.info(`${this.filterType} source width: ${this.sourceWidth}`);\n this.logger.info(`${this.filterType} source height: ${this.sourceHeight}`);\n this.initOnFirstExecution();\n }\n if (this.sourceWidth !== frameWidth || this.sourceHeight !== frameHeight) {\n this.sourceWidth = frameWidth;\n this.sourceHeight = frameHeight;\n // update target canvas size to match the frame size\n this.targetCanvas.width = this.sourceWidth;\n this.targetCanvas.height = this.sourceHeight;\n }\n try {\n this.frameCounter.filterSubmitted();\n let mask = this.mask$.value;\n const hscale = this.spec.model.input.width / inputCanvas.width;\n const vscale = this.spec.model.input.height / inputCanvas.height;\n if (this.scaledCanvas === undefined) {\n this.scaledCanvas = document.createElement('canvas');\n this.scaledCanvas.width = this.spec.model.input.width;\n this.scaledCanvas.height = this.spec.model.input.height;\n }\n const scaledCtx = this.scaledCanvas.getContext('2d');\n scaledCtx.save();\n scaledCtx.scale(hscale, vscale);\n scaledCtx.drawImage(inputCanvas, 0, 0);\n scaledCtx.restore();\n const imageData = scaledCtx.getImageData(0, 0, this.scaledCanvas.width, this.scaledCanvas.height);\n // update the filter mask based on the filter update rate\n if (this.frameNumber % this.videoFramesPerFilterUpdate === 0) {\n // process frame...\n const maskPromise = this.mask$.whenNext();\n this.worker.postMessage({ msg: 'predict', payload: imageData }, [imageData.data.buffer]);\n mask = yield maskPromise;\n }\n // It's possible that while waiting for the predict to complete the processor was destroyed.\n // adding a destroyed check here to ensure the implementation of drawImageWithMask does not throw\n // an error due to destroyed processor.\n if (!this.destroyed) {\n this.drawImageWithMask(inputCanvas, mask);\n }\n }\n catch (error) {\n this.logger.error(`could not process ${this.filterType} frame buffer due to ${error}`);\n return buffers;\n }\n finally {\n this.frameCounter.filterComplete();\n this.frameNumber++;\n }\n buffers[0] = this.canvasVideoFrameBuffer;\n return buffers;\n });\n }\n updateVideoFramesPerFilterUpdate(newRate) {\n if (newRate !== this.videoFramesPerFilterUpdate) {\n this.videoFramesPerFilterUpdate = newRate;\n this.logger.info(`Adjusting filter rate to compensate for CPU utilization. ` +\n `Filter rate is ${this.videoFramesPerFilterUpdate} video frames per filter.`);\n }\n }\n /**\n * Clean up processor resources\n */\n destroy() {\n var _a, _b, _c, _d;\n return __awaiter(this, void 0, void 0, function* () {\n this.destroyed = true;\n this.delegate.removeObserver(this.cpuMonitor);\n this.canvasVideoFrameBuffer.destroy();\n (_a = this.worker) === null || _a === void 0 ? void 0 : _a.postMessage({ msg: 'destroy' });\n (_b = this.worker) === null || _b === void 0 ? void 0 : _b.postMessage({ msg: 'stop' });\n (_c = this.targetCanvas) === null || _c === void 0 ? void 0 : _c.remove();\n this.targetCanvas = undefined;\n (_d = this.scaledCanvas) === null || _d === void 0 ? void 0 : _d.remove();\n this.scaledCanvas = undefined;\n this.logger.info(`${this.filterType} frame process destroyed`);\n });\n }\n}\nexports[\"default\"] = BackgroundFilterProcessor;\n/** @internal */\nclass BackgroundFilterMonitor {\n constructor(monitoringPeriodMillis, observer) {\n this.monitoringPeriodMillis = monitoringPeriodMillis;\n this.observer = observer;\n this.lastCPUChangeTimestamp = 0;\n }\n filterCPUUtilizationHigh() {\n const timestamp = Date.now();\n // Allow some time to pass before we check CPU utilization.\n if (timestamp - this.lastCPUChangeTimestamp >= this.monitoringPeriodMillis) {\n this.lastCPUChangeTimestamp = timestamp;\n this.observer.reduceCPUUtilization();\n }\n }\n frameReceived() {\n const timestamp = Date.now();\n // If a enough time has passed, reset the processor and continue to monitor\n if (timestamp - this.lastCPUChangeTimestamp >= this.monitoringPeriodMillis * 2) {\n this.lastCPUChangeTimestamp = timestamp;\n this.observer.increaseCPUUtilization();\n }\n }\n}\nexports.BackgroundFilterMonitor = BackgroundFilterMonitor;\n//# sourceMappingURL=BackgroundFilterProcessor.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterProcessor.js?")},"./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterVideoFrameProcessor.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst loader_1 = __webpack_require__(/*! ../../libs/voicefocus/loader */ \"./node_modules/amazon-chime-sdk-js/libs/voicefocus/loader.js\");\nconst support_1 = __webpack_require__(/*! ../../libs/voicefocus/support */ \"./node_modules/amazon-chime-sdk-js/libs/voicefocus/support.js\");\nconst ModelSpecBuilder_1 = __webpack_require__(/*! ../backgroundblurprocessor/ModelSpecBuilder */ \"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/ModelSpecBuilder.js\");\nconst DefaultBrowserBehavior_1 = __webpack_require__(/*! ../browserbehavior/DefaultBrowserBehavior */ \"./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js\");\nconst Versioning_1 = __webpack_require__(/*! ../versioning/Versioning */ \"./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js\");\n/** @internal */\nconst CREATE_DEFAULT_MODEL_SPEC = () => ModelSpecBuilder_1.default.builder().withSelfieSegmentationDefaults().build();\n/** @internal */\nconst DEFAULT_CDN = 'https://static.sdkassets.chime.aws';\n/** @internal */\nconst DEFAULT_PATHS = {\n worker: `${DEFAULT_CDN}/bgblur/workers/worker.js`,\n wasm: `${DEFAULT_CDN}/bgblur/wasm/_cwt-wasm.wasm`,\n simd: `${DEFAULT_CDN}/bgblur/wasm/_cwt-wasm-simd.wasm`,\n};\nclass BackgroundFilterVideoFrameProcessor {\n /**\n * Based on the SDK version, return an asset group.\n *\n * @returns the default asset spec, based on the SDK version.\n */\n static defaultAssetSpec() {\n const version = Versioning_1.default.sdkVersionSemVer;\n return {\n assetGroup: `sdk-${version.major}.${version.minor}`,\n };\n }\n /**\n * Set the given parameters to the url. Existing parameters in the url are preserved.\n * If duplicate parameters exist, they are overwritten, so it's safe to call this method multiple\n * times on the same url.\n *\n * @param url the initial url, can include query parameters\n * @param queryParams the query parameters to set\n * @returns a new url with the given query parameters.\n */\n static createUrlWithParams(url, queryParams) {\n const u = new URL(url);\n const keys = Object.keys(queryParams);\n for (const key of keys) {\n if (queryParams[key] !== undefined) {\n u.searchParams.set(key, queryParams[key]);\n }\n }\n return u.toString();\n }\n /**\n * Based on the spec that is passed in set defaults for spec\n * @param spec the spec that was passed in\n * @returns An updated spec with defaults set\n */\n static resolveSpec(spec) {\n const { paths = DEFAULT_PATHS, model = CREATE_DEFAULT_MODEL_SPEC(), assetGroup = this.defaultAssetSpec().assetGroup, revisionID = this.defaultAssetSpec().revisionID, } = spec || {};\n const params = {\n assetGroup,\n revisionID,\n sdk: encodeURIComponent(Versioning_1.default.sdkVersion),\n ua: encodeURIComponent(Versioning_1.default.sdkUserAgentLowResolution),\n };\n paths.worker = this.createUrlWithParams(paths.worker, params);\n paths.wasm = this.createUrlWithParams(paths.wasm, params);\n paths.simd = this.createUrlWithParams(paths.simd, params);\n model.path = this.createUrlWithParams(model.path, params);\n return {\n paths,\n model,\n assetGroup,\n revisionID,\n };\n }\n /**\n * Based on the options that are passed in set defaults for options\n * @param options the options that are passed in\n * @returns An updated set of options with defaults set\n */\n static resolveOptions(options) {\n if (!options.reportingPeriodMillis) {\n options.reportingPeriodMillis = 1000;\n }\n const DEFAULT_FILTER_CPU_UTILIZATION = 30;\n if (!options.filterCPUUtilization) {\n options.filterCPUUtilization = DEFAULT_FILTER_CPU_UTILIZATION;\n }\n else if (options.filterCPUUtilization < 0 || options.filterCPUUtilization > 100) {\n options.logger.warn(`filterCPUUtilization must be set to a range between 0 and 100 percent. Falling back to default of ${DEFAULT_FILTER_CPU_UTILIZATION} percent`);\n options.filterCPUUtilization = DEFAULT_FILTER_CPU_UTILIZATION;\n }\n return options;\n }\n /**\n * This method will detect the environment in which it is being used and determine if background\n * blur/replacement can be used.\n * @param spec The {@link BackgroundBlurSpec} spec that will be used to initialize assets\n * @param options options such as logger\n * @returns a boolean promise that will resolve to true if supported and false if not\n */\n static isSupported(spec, options) {\n const { logger } = options;\n // could not figure out how to remove globalThis to test failure case\n /* istanbul ignore next */\n if (typeof globalThis === 'undefined') {\n logger.info('Browser does not have globalThis.');\n return Promise.resolve(false);\n }\n const browser = new DefaultBrowserBehavior_1.default();\n if (!browser.supportsBackgroundFilter()) {\n logger.info('Browser is not supported.');\n return Promise.resolve(false);\n }\n if (!support_1.supportsWASM(globalThis, logger)) {\n logger.info('Browser does not support WASM.');\n return Promise.resolve(false);\n }\n return this.supportsBackgroundFilter(globalThis, spec, logger);\n }\n static supportsBackgroundFilter(\n /* istanbul ignore next */\n scope = globalThis, spec, logger) {\n return __awaiter(this, void 0, void 0, function* () {\n if (!support_1.supportsWorker(scope, logger)) {\n logger.info('Browser does not support web workers.');\n return false;\n }\n // Use the actual worker path -- it's only 20KB, and it'll get the cache warm.\n const workerURL = spec.paths.worker;\n try {\n const worker = yield loader_1.loadWorker(workerURL, 'BackgroundFilterWorker', {}, null);\n try {\n worker.terminate();\n }\n catch (e) {\n logger.info(`Failed to terminate worker. ${e.message}`);\n }\n return true;\n }\n catch (e) {\n logger.info(`Failed to fetch and instantiate test worker ${e.message}`);\n return false;\n }\n });\n }\n}\nexports[\"default\"] = BackgroundFilterVideoFrameProcessor;\n//# sourceMappingURL=BackgroundFilterVideoFrameProcessor.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterVideoFrameProcessor.js?")},"./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterVideoFrameProcessorDelegate.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n/**\n * This class adds the functionality to allow for a set of unique observers to be added to the\n * video frame processor.\n */\n/** @internal */\nclass BackgroundFilterVideoFrameProcessorDelegate {\n constructor() {\n this.observers = new Set();\n }\n /**\n * Add an observer to the unique set. If a duplicate observer cannot be added.\n * @param observer An implementation of the observer interface.\n */\n addObserver(observer) {\n this.observers.add(observer);\n }\n /**\n * Remove the observer from the set of observers.\n * @param observer An implementation of the observer interface.\n */\n removeObserver(observer) {\n this.observers.delete(observer);\n }\n /**\n * Call the observer method with the event information. See [[BackgroundFilterVideoFrameProcessorObserver]]\n * for detailed info on this event.\n * @param event\n */\n filterFrameDurationHigh(event) {\n var _a;\n for (const observer of this.observers) {\n (_a = observer.filterFrameDurationHigh) === null || _a === void 0 ? void 0 : _a.call(observer, event);\n }\n }\n filterCPUUtilizationHigh(event) {\n var _a;\n for (const observer of this.observers) {\n (_a = observer.filterCPUUtilizationHigh) === null || _a === void 0 ? void 0 : _a.call(observer, event);\n }\n }\n}\nexports["default"] = BackgroundFilterVideoFrameProcessorDelegate;\n//# sourceMappingURL=BackgroundFilterVideoFrameProcessorDelegate.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterVideoFrameProcessorDelegate.js?')},"./node_modules/amazon-chime-sdk-js/build/backgroundreplacementprocessor/BackgroundReplacementFilter.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst BackgroundFilterProcessor_1 = __webpack_require__(/*! ../backgroundfilter/BackgroundFilterProcessor */ \"./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterProcessor.js\");\nconst BackgroundReplacementVideoFrameProcessorDelegate_1 = __webpack_require__(/*! ./BackgroundReplacementVideoFrameProcessorDelegate */ \"./node_modules/amazon-chime-sdk-js/build/backgroundreplacementprocessor/BackgroundReplacementVideoFrameProcessorDelegate.js\");\n/**\n * [[BackgroundReplacementFilter]] implements [[BackgroundReplacementProcessor]].\n * It's a background replacement processor and input is passed into a worker that will apply a segmentation\n * to separate the foreground from the background. Then the background will have a replacement applied.\n *\n * The [[BackgroundReplacementProcessorProvided]] uses WASM and TensorFlow Lite to apply replacement of the\n * background image.\n */\n/** @internal */\nclass BackgroundReplacementFilter extends BackgroundFilterProcessor_1.default {\n /**\n * A constructor that will apply default values if spec and strength are not provided.\n * If no spec is provided the selfie segmentation model is used with default paths to CDN for the\n * worker and wasm files used to process each frame.\n * @param spec The spec defines the assets that will be used for adding background filter to a frame\n * @param options The background replacement image path\n */\n constructor(spec, options) {\n super('background replacement', spec, options, new BackgroundReplacementVideoFrameProcessorDelegate_1.default());\n this.replacementBlob = options.imageBlob;\n this.logger.info('BackgroundReplacement processor successfully created');\n this.logger.info(`BackgroundReplacement spec: ${this.stringify(this.spec)}`);\n this.logger.info(`BackgroundReplacement options: ${this.stringify(options)}`);\n }\n setImageBlob(blob) {\n return __awaiter(this, void 0, void 0, function* () {\n this.replacementBlob = blob;\n this.replacementImage = yield BackgroundReplacementFilter.loadImage(this.createReplacementObjectUrl());\n });\n }\n initOnFirstExecution() { }\n drawImageWithMask(inputCanvas, mask) {\n // Mask will not be set until the worker has completed handling the predict event. Until the first frame is processed,\n // the whole frame will be replaced.\n if (!mask) {\n mask = new ImageData(this.spec.model.input.width, this.spec.model.input.height);\n }\n const scaledCtx = this.scaledCanvas.getContext('2d');\n scaledCtx.putImageData(mask, 0, 0);\n const { canvasCtx, targetCanvas } = this;\n const { width, height } = targetCanvas;\n // draw the mask\n canvasCtx.save();\n canvasCtx.clearRect(0, 0, width, height);\n canvasCtx.drawImage(this.scaledCanvas, 0, 0, width, height);\n // Only overwrite existing pixels.\n canvasCtx.globalCompositeOperation = 'source-in';\n // draw image over mask...\n canvasCtx.drawImage(inputCanvas, 0, 0, width, height);\n // draw under person\n canvasCtx.globalCompositeOperation = 'destination-over';\n canvasCtx.drawImage(this.replacementImage, 0, 0, targetCanvas.width, targetCanvas.height);\n canvasCtx.restore();\n }\n /* istanbul ignore next */\n static loadImageExecutor(resolve, \n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n reject, imageUrl) {\n const image = new Image();\n image.crossOrigin = 'Anonymous';\n image.addEventListener('load', () => {\n resolve(image);\n }, false);\n image.addEventListener('error', error => {\n reject(new Error(`Could not load replacement image ${image.src}: ${error.message}`));\n }, false);\n image.src = imageUrl;\n }\n /** @internal */\n static loadImage(imageUrl) {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve, reject) => this.loadImageExecutor(resolve, reject, imageUrl));\n });\n }\n revokeReplacementObjectUrl() {\n if (this.replacementObjectUrl) {\n URL.revokeObjectURL(this.replacementObjectUrl);\n }\n }\n createReplacementObjectUrl() {\n this.revokeReplacementObjectUrl();\n this.replacementObjectUrl = URL.createObjectURL(this.replacementBlob);\n return this.replacementObjectUrl;\n }\n /**\n * This method initializes all of the resource necessary to process background replacement. It returns\n * a promise and resolves or rejects the promise once the initialization is complete.\n * @returns\n * @throws An error will be thrown\n */\n loadAssets() {\n const _super = Object.create(null, {\n loadAssets: { get: () => super.loadAssets }\n });\n return __awaiter(this, void 0, void 0, function* () {\n this.replacementImage = yield BackgroundReplacementFilter.loadImage(this.createReplacementObjectUrl());\n _super.loadAssets.call(this);\n return;\n });\n }\n addObserver(observer) {\n this.delegate.addObserver(observer);\n }\n removeObserver(observer) {\n this.delegate.removeObserver(observer);\n }\n destroy() {\n const _super = Object.create(null, {\n destroy: { get: () => super.destroy }\n });\n return __awaiter(this, void 0, void 0, function* () {\n _super.destroy.call(this);\n this.revokeReplacementObjectUrl();\n });\n }\n}\nexports[\"default\"] = BackgroundReplacementFilter;\n//# sourceMappingURL=BackgroundReplacementFilter.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/backgroundreplacementprocessor/BackgroundReplacementFilter.js?")},"./node_modules/amazon-chime-sdk-js/build/backgroundreplacementprocessor/BackgroundReplacementVideoFrameProcessor.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst BackgroundFilterVideoFrameProcessor_1 = __webpack_require__(/*! ../backgroundfilter/BackgroundFilterVideoFrameProcessor */ "./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterVideoFrameProcessor.js");\nconst ConsoleLogger_1 = __webpack_require__(/*! ../logger/ConsoleLogger */ "./node_modules/amazon-chime-sdk-js/build/logger/ConsoleLogger.js");\nconst LogLevel_1 = __webpack_require__(/*! ../logger/LogLevel */ "./node_modules/amazon-chime-sdk-js/build/logger/LogLevel.js");\nconst NoOpVideoFrameProcessor_1 = __webpack_require__(/*! ../videoframeprocessor/NoOpVideoFrameProcessor */ "./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/NoOpVideoFrameProcessor.js");\nconst BackgroundReplacementFilter_1 = __webpack_require__(/*! ./BackgroundReplacementFilter */ "./node_modules/amazon-chime-sdk-js/build/backgroundreplacementprocessor/BackgroundReplacementFilter.js");\n/**\n * No-op implementation of the background replacement processor. An instance of this class will be returned when a user attempts\n * to create a background replacement processor when it is not supported.\n */\n/** @internal */\nclass NoOpBackgroundReplacementProcessor extends NoOpVideoFrameProcessor_1.default {\n /**\n * no-op\n * @returns\n */\n loadAssets() {\n return __awaiter(this, void 0, void 0, function* () {\n return;\n });\n }\n /**\n * no-op\n */\n addObserver() { }\n /**\n * no-op\n */\n removeObserver() { }\n /**\n * no-op\n */\n setImageBlob() {\n return __awaiter(this, void 0, void 0, function* () {\n return;\n });\n }\n}\n/**\n * [[BackgroundReplacementVideoFrameProcessor]]\n * Creates a background replacement processor which identifies the foreground person and replaces the background.\n */\nclass BackgroundReplacementVideoFrameProcessor extends BackgroundFilterVideoFrameProcessor_1.default {\n /**\n * A factory method that will call the private constructor to instantiate the processor and asynchronously\n * initialize the worker, wasm, and ML models. Upon completion of the initialization the promise will either\n * be resolved or rejected.\n * @param spec The spec defines the assets that will be used for adding background filter to a frame\n * @param imagePath The background replacement image path\n */\n static create(spec, options) {\n return __awaiter(this, void 0, void 0, function* () {\n spec = this.resolveSpec(spec);\n options = this.resolveOptions(options);\n yield this.resolveOptionsAsync(options);\n const { logger } = options;\n const supported = yield BackgroundReplacementVideoFrameProcessor.isSupported(spec, options);\n // if background replacement is not supported do not initialize. The processor will become a no op if not supported.\n if (!supported) {\n logger.warn(\'Using no-op processor because background replacement is not supported\');\n return new NoOpBackgroundReplacementProcessor();\n }\n logger.info(\'Using background replacement filter\');\n const processor = new BackgroundReplacementFilter_1.default(spec, options);\n yield processor.loadAssets();\n return processor;\n });\n }\n /**\n * Based on the options that are passed in set defaults for options\n * @param options the options that are passed in\n * @returns An updated set of options with defaults set\n */\n static resolveOptions(options = {}) {\n const processorOptions = Object.assign({}, options);\n if (!processorOptions.logger) {\n processorOptions.logger = new ConsoleLogger_1.default(\'BackgroundReplacementProcessor\', LogLevel_1.default.INFO);\n }\n return super.resolveOptions(processorOptions);\n }\n static resolveOptionsAsync(options) {\n return __awaiter(this, void 0, void 0, function* () {\n if (!options.imageBlob) {\n const canvas = document.createElement(\'canvas\');\n canvas.width = 100;\n canvas.height = 100;\n const ctx = canvas.getContext(\'2d\');\n ctx.fillStyle = \'blue\';\n ctx.fillRect(0, 0, 100, 100);\n const blob = yield new Promise(resolve => {\n canvas.toBlob(resolve);\n });\n options.imageBlob = blob;\n }\n return;\n });\n }\n /**\n * This method will detect the environment in which it is being used and determine if background\n * replacement can be used.\n * @param spec The {@link BackgroundFilterSpec} spec that will be used to initialize assets\n * @param options options such as logger and imagePath\n * @returns a boolean promise that will resolve to true if supported and false if not\n */\n static isSupported(spec, options) {\n const _super = Object.create(null, {\n isSupported: { get: () => super.isSupported }\n });\n return __awaiter(this, void 0, void 0, function* () {\n spec = this.resolveSpec(spec);\n options = this.resolveOptions(options);\n yield this.resolveOptionsAsync(options);\n const imageBlob = options.imageBlob;\n const imageUrl = URL.createObjectURL(imageBlob);\n try {\n yield BackgroundReplacementFilter_1.default.loadImage(imageUrl);\n }\n catch (e) {\n options.logger.info(`Failed to fetch load replacement image ${e.message}`);\n return false;\n }\n finally {\n URL.revokeObjectURL(imageUrl);\n }\n return _super.isSupported.call(this, spec, options);\n });\n }\n}\nexports["default"] = BackgroundReplacementVideoFrameProcessor;\n//# sourceMappingURL=BackgroundReplacementVideoFrameProcessor.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/backgroundreplacementprocessor/BackgroundReplacementVideoFrameProcessor.js?')},"./node_modules/amazon-chime-sdk-js/build/backgroundreplacementprocessor/BackgroundReplacementVideoFrameProcessorDelegate.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst BackgroundFilterVideoFrameProcessorDelegate_1 = __webpack_require__(/*! ../backgroundfilter/BackgroundFilterVideoFrameProcessorDelegate */ "./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterVideoFrameProcessorDelegate.js");\n/**\n * This class adds the functionality to allow for a set of unique observers to be added to the\n * video frame processor.\n */\n/** @internal */\nclass BackgroundReplacementVideoFrameProcessorDelegate extends BackgroundFilterVideoFrameProcessorDelegate_1.default {\n}\nexports["default"] = BackgroundReplacementVideoFrameProcessorDelegate;\n//# sourceMappingURL=BackgroundReplacementVideoFrameProcessorDelegate.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/backgroundreplacementprocessor/BackgroundReplacementVideoFrameProcessorDelegate.js?')},"./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoff.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n/**\n * Implements the [Full Jitter algorithm](\n * https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/)\n * and also allows for specifying a fixed wait added to the full jitter backoff\n * (which can be zero).\n */\nclass FullJitterBackoff {\n constructor(fixedWaitMs, shortBackoffMs, longBackoffMs) {\n this.fixedWaitMs = fixedWaitMs;\n this.shortBackoffMs = shortBackoffMs;\n this.longBackoffMs = longBackoffMs;\n this.currentRetry = 0;\n if (this.fixedWaitMs < 0) {\n this.fixedWaitMs = 0;\n }\n if (this.shortBackoffMs < 0) {\n this.shortBackoffMs = 0;\n }\n if (this.longBackoffMs < 0) {\n this.longBackoffMs = 0;\n }\n this.reset();\n }\n reset() {\n this.currentRetry = 0;\n }\n nextBackoffAmountMs() {\n const fullJitterMs = Math.random() *\n Math.min(this.longBackoffMs, this.shortBackoffMs * Math.pow(2.0, this.currentRetry)) +\n this.fixedWaitMs;\n this.currentRetry += 1;\n return fullJitterMs;\n }\n}\nexports["default"] = FullJitterBackoff;\n//# sourceMappingURL=FullJitterBackoff.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoff.js?')},"./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoffFactory.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst FullJitterBackoff_1 = __webpack_require__(/*! ./FullJitterBackoff */ "./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoff.js");\nconst FullJitterLimitedBackoff_1 = __webpack_require__(/*! ./FullJitterLimitedBackoff */ "./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterLimitedBackoff.js");\nclass FullJitterBackoffFactory {\n constructor(fixedWaitMs, shortBackoffMs, longBackoffMs) {\n this.fixedWaitMs = fixedWaitMs;\n this.shortBackoffMs = shortBackoffMs;\n this.longBackoffMs = longBackoffMs;\n }\n create() {\n return new FullJitterBackoff_1.default(this.fixedWaitMs, this.shortBackoffMs, this.longBackoffMs);\n }\n createWithLimit(limit) {\n return new FullJitterLimitedBackoff_1.default(this.fixedWaitMs, this.shortBackoffMs, this.longBackoffMs, limit);\n }\n}\nexports["default"] = FullJitterBackoffFactory;\n//# sourceMappingURL=FullJitterBackoffFactory.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoffFactory.js?')},"./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterLimitedBackoff.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst FullJitterBackoff_1 = __webpack_require__(/*! ./FullJitterBackoff */ "./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoff.js");\nclass FullJitterLimitedBackoff extends FullJitterBackoff_1.default {\n constructor(fixedWaitMs, shortBackoffMs, longBackoffMs, limit) {\n super(fixedWaitMs, shortBackoffMs, longBackoffMs);\n this.limit = limit;\n this.attempts = 0;\n }\n nextBackoffAmountMs() {\n this.attempts++;\n if (this.attempts > this.limit) {\n throw new Error(\'retry limit exceeded\');\n }\n return super.nextBackoffAmountMs();\n }\n}\nexports["default"] = FullJitterLimitedBackoff;\n//# sourceMappingURL=FullJitterLimitedBackoff.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterLimitedBackoff.js?')},"./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst detect_browser_1 = __webpack_require__(/*! detect-browser */ \"./node_modules/detect-browser/es/index.js\");\nconst ua_parser_js_1 = __webpack_require__(/*! ua-parser-js */ \"./node_modules/ua-parser-js/src/ua-parser.js\");\nclass DefaultBrowserBehavior {\n constructor() {\n this.browser = detect_browser_1.detect();\n this.uaParserResult = navigator && navigator.userAgent ? new ua_parser_js_1.UAParser(navigator.userAgent).getResult() : null;\n this.browserSupport = {\n chrome: 78,\n 'edge-chromium': 79,\n electron: 7,\n firefox: 75,\n ios: 13,\n safari: 13,\n opera: 66,\n samsung: 12,\n crios: 86,\n fxios: 23,\n 'ios-webview': 605,\n 'chromium-webview': 92,\n };\n this.browserName = {\n chrome: 'Google Chrome',\n 'edge-chromium': 'Microsoft Edge',\n electron: 'Electron',\n firefox: 'Mozilla Firefox',\n ios: 'Safari iOS',\n safari: 'Safari',\n opera: 'Opera',\n samsung: 'Samsung Internet',\n crios: 'Chrome iOS',\n fxios: 'Firefox iOS',\n 'ios-webview': 'WKWebView iOS',\n 'chromium-webview': 'Chrome WebView',\n };\n this.chromeLike = [\n 'chrome',\n 'edge-chromium',\n 'chromium-webview',\n 'opera',\n 'samsung',\n ];\n this.webkitBrowsers = ['crios', 'fxios', 'safari', 'ios', 'ios-webview', 'edge-ios'];\n }\n version() {\n return this.browser.version;\n }\n majorVersion() {\n return parseInt(this.version().split('.')[0]);\n }\n osMajorVersion() {\n return parseInt(this.uaParserResult.os.version.split('.')[0]);\n }\n name() {\n return this.browser.name;\n }\n hasChromiumWebRTC() {\n for (const browser of this.chromeLike) {\n if (browser === this.browser.name) {\n return true;\n }\n }\n return false;\n }\n hasWebKitWebRTC() {\n for (const browser of this.webkitBrowsers) {\n if (browser === this.browser.name) {\n return true;\n }\n }\n return false;\n }\n hasFirefoxWebRTC() {\n return this.isFirefox();\n }\n requiresPlaybackLatencyHintForAudioContext() {\n return navigator.userAgent.indexOf('Windows') !== -1;\n }\n supportsCanvasCapturedStreamPlayback() {\n return (\n // Desktop browser\n (!this.isIOSSafari() && !this.isIOSChrome() && !this.isIOSFirefox() && !this.isIOSEdge()) ||\n // iOS Safari (Firefox on iOS with desktop view will be identified as iOS Safari\n (this.isIOSSafari() &&\n this.majorVersion() >= DefaultBrowserBehavior.MIN_IOS_SUPPORT_CANVAS_STREAM_PLAYBACK) ||\n // Chrome, Edge, or Firefox (mobile view) on iOS\n this.majorVersion() >=\n DefaultBrowserBehavior.MIN_IOS_NON_SAFARI_SUPPORT_CANVAS_STREAM_PLAYBACK);\n }\n supportsBackgroundFilter() {\n // disable Safari 15\n // see: https://github.com/aws/amazon-chime-sdk-js/issues/1059\n if (this.name() === 'safari' && this.majorVersion() === 15) {\n return false;\n }\n if (!this.supportsCanvasCapturedStreamPlayback()) {\n return false;\n }\n return true;\n }\n supportsVideoLayersAllocationRtpHeaderExtension() {\n return this.hasChromiumWebRTC();\n }\n requiresResolutionAlignment(width, height) {\n if (this.isAndroid() && this.isPixel3()) {\n return [Math.ceil(width / 64) * 64, Math.ceil(height / 64) * 64];\n }\n return [width, height];\n }\n requiresCheckForSdpConnectionAttributes() {\n return !this.isIOSSafari() && !this.isIOSChrome() && !this.isIOSFirefox();\n }\n requiresIceCandidateGatheringTimeoutWorkaround() {\n return this.hasChromiumWebRTC();\n }\n requiresBundlePolicy() {\n return 'max-bundle';\n }\n requiresNoExactMediaStreamConstraints() {\n return this.isSamsungInternet();\n }\n requiresGroupIdMediaStreamConstraints() {\n return this.isSamsungInternet();\n }\n getDisplayMediaAudioCaptureSupport() {\n return this.isChrome() || this.isEdge();\n }\n // There's a issue in Chormium WebView that causes enumerate devices to return empty labels, this is a check for this issue.\n // https://bugs.chromium.org/p/chromium/issues/detail?id=669492\n doesNotSupportMediaDeviceLabels() {\n return this.browser.name === 'chromium-webview';\n }\n isSupported() {\n if (!this.browserSupport[this.browser.name] ||\n this.majorVersion() < this.browserSupport[this.browser.name]) {\n return false;\n }\n if (this.browser.name === 'firefox' && this.isAndroid()) {\n return false;\n }\n return true;\n }\n isSimulcastSupported() {\n return this.hasChromiumWebRTC();\n }\n supportDownlinkBandwidthEstimation() {\n return !this.isFirefox();\n }\n supportString() {\n if (this.isAndroid()) {\n return `${this.browserName['chrome']} ${this.browserSupport['chrome']}+, ${this.browserName['samsung']} ${this.browserSupport['samsung']}+`;\n }\n const s = [];\n for (const k in this.browserSupport) {\n s.push(`${this.browserName[k]} ${this.browserSupport[k]}+`);\n }\n return s.join(', ');\n }\n supportedVideoCodecs() {\n return __awaiter(this, void 0, void 0, function* () {\n const pc = new RTCPeerConnection();\n pc.addTransceiver('video', { direction: 'inactive', streams: [] });\n return (yield pc.createOffer({ offerToReceiveVideo: true })).sdp\n .split('\\r\\n')\n .filter(x => {\n return x.includes('a=rtpmap:');\n })\n .map(x => {\n return x.replace(/.* /, '').replace(/\\/.*/, '');\n })\n .filter((v, i, a) => {\n return a.indexOf(v) === i;\n })\n .filter(x => {\n return x !== 'rtx' && x !== 'red' && x !== 'ulpfec';\n });\n });\n }\n supportsSetSinkId() {\n return 'setSinkId' in HTMLAudioElement.prototype;\n }\n disableResolutionScaleDown() {\n return this.isAndroid();\n }\n disable480pResolutionScaleDown() {\n return /( Chrome\\/98\\.)/i.test(navigator.userAgent) && this.browser.os.startsWith('Windows');\n }\n requiresDisablingH264Encoding() {\n return ((this.isIOSSafari() || this.isIOSChrome() || this.isIOSFirefox()) &&\n (this.version() === '15.1.0' || /( OS 15_1)/i.test(navigator.userAgent)));\n }\n // In Safari, a hidden video element can show a black screen.\n // See https://bugs.webkit.org/show_bug.cgi?id=241152 for more information.\n requiresVideoPlayWorkaround() {\n return this.isSafari();\n }\n // These helpers should be kept private to encourage\n // feature detection instead of browser detection.\n isIOSSafari() {\n return (this.browser.name === 'ios' ||\n this.browser.name === 'ios-webview' ||\n (this.browser.name === 'safari' &&\n /( Mac )/i.test(navigator.userAgent) &&\n navigator.maxTouchPoints > 1) //Ipad\n );\n }\n isSafari() {\n return this.browser.name === 'safari' || this.isIOSSafari();\n }\n isFirefox() {\n return this.browser.name === 'firefox';\n }\n isIOSFirefox() {\n return this.browser.name === 'fxios';\n }\n isIOSChrome() {\n return this.browser.name === 'crios';\n }\n isChrome() {\n return this.browser.name === 'chrome';\n }\n isEdge() {\n return this.browser.name === 'edge-chromium';\n }\n isIOSEdge() {\n return this.browser.name === 'edge-ios';\n }\n isSamsungInternet() {\n return this.browser.name === 'samsung';\n }\n isAndroid() {\n return /(android)/i.test(navigator.userAgent);\n }\n isPixel3() {\n return /( pixel 3)/i.test(navigator.userAgent);\n }\n}\nexports[\"default\"] = DefaultBrowserBehavior;\nDefaultBrowserBehavior.MIN_IOS_SUPPORT_CANVAS_STREAM_PLAYBACK = 16;\nDefaultBrowserBehavior.MIN_IOS_NON_SAFARI_SUPPORT_CANVAS_STREAM_PLAYBACK = 106;\n//# sourceMappingURL=DefaultBrowserBehavior.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js?")},"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReport.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst SignalingProtocol_js_1 = __webpack_require__(/*! ../signalingprotocol/SignalingProtocol.js */ \"./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js\");\nconst ClientMetricReportDirection_1 = __webpack_require__(/*! ./ClientMetricReportDirection */ \"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportDirection.js\");\nconst ClientMetricReportMediaType_1 = __webpack_require__(/*! ./ClientMetricReportMediaType */ \"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportMediaType.js\");\nconst GlobalMetricReport_1 = __webpack_require__(/*! ./GlobalMetricReport */ \"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/GlobalMetricReport.js\");\n/**\n * [[ClientMetricReport]] gets the media metrics used by ConnectionMonitor to\n * update connection health data.\n */\nclass ClientMetricReport {\n constructor(logger, videoStreamIndex, selfAttendeeId) {\n this.logger = logger;\n this.videoStreamIndex = videoStreamIndex;\n this.selfAttendeeId = selfAttendeeId;\n this.globalMetricReport = new GlobalMetricReport_1.default();\n this.streamMetricReports = {};\n this.rtcStatsReport = {};\n this.currentTimestampMs = 0;\n this.previousTimestampMs = 0;\n this.currentSsrcs = {};\n /**\n * Metric transform functions\n */\n this.identityValue = (metricName, ssrc) => {\n const metricReport = ssrc ? this.streamMetricReports[ssrc] : this.globalMetricReport;\n return Number(metricReport.currentMetrics[metricName]);\n };\n this.decoderLossPercent = (metricName, ssrc) => {\n const metricReport = this.streamMetricReports[ssrc];\n const concealedSamples = metricReport.currentMetrics['concealedSamples'] -\n (metricReport.previousMetrics['concealedSamples'] || 0);\n const totalSamplesReceived = metricReport.currentMetrics['totalSamplesReceived'] -\n (metricReport.previousMetrics['totalSamplesReceived'] || 0);\n if (totalSamplesReceived <= 0) {\n return 0;\n }\n const decoderAbnormal = totalSamplesReceived - concealedSamples;\n if (decoderAbnormal <= 0) {\n return 0;\n }\n return (concealedSamples / totalSamplesReceived) * 100;\n };\n this.packetLossPercent = (sourceMetricName, ssrc) => {\n const metricReport = this.streamMetricReports[ssrc];\n const sentOrReceived = metricReport.currentMetrics[sourceMetricName] -\n (metricReport.previousMetrics[sourceMetricName] || 0);\n const lost = metricReport.currentMetrics['packetsLost'] -\n (metricReport.previousMetrics['packetsLost'] || 0);\n const total = sentOrReceived + lost;\n if (total <= 0 || lost <= 0) {\n return 0;\n }\n return (lost * 100) / total;\n };\n this.jitterBufferMs = (metricName, ssrc) => {\n const metricReport = this.streamMetricReports[ssrc];\n const jitterBufferDelay = metricReport.currentMetrics['jitterBufferDelay'] -\n (metricReport.previousMetrics['jitterBufferDelay'] || 0);\n const jitterBufferEmittedCount = metricReport.currentMetrics['jitterBufferEmittedCount'] -\n (metricReport.previousMetrics['jitterBufferEmittedCount'] || 0);\n if (jitterBufferDelay <= 0) {\n return 0;\n }\n if (jitterBufferEmittedCount <= 0) {\n return 0;\n }\n return (jitterBufferDelay / jitterBufferEmittedCount) * 1000;\n };\n this.countPerSecond = (metricName, ssrc) => {\n const metricReport = ssrc ? this.streamMetricReports[ssrc] : this.globalMetricReport;\n let intervalSeconds = (this.currentTimestampMs - this.previousTimestampMs) / 1000;\n if (intervalSeconds <= 0) {\n return 0;\n }\n if (this.previousTimestampMs <= 0) {\n intervalSeconds = 1;\n }\n const diff = metricReport.currentMetrics[metricName] - (metricReport.previousMetrics[metricName] || 0);\n if (diff <= 0) {\n return 0;\n }\n return Math.trunc(diff / intervalSeconds);\n };\n this.bitsPerSecond = (metricName, ssrc) => {\n const metricReport = ssrc ? this.streamMetricReports[ssrc] : this.globalMetricReport;\n let intervalSeconds = (this.currentTimestampMs - this.previousTimestampMs) / 1000;\n if (intervalSeconds <= 0) {\n return 0;\n }\n if (this.previousTimestampMs <= 0) {\n intervalSeconds = 1;\n }\n const diff = (metricReport.currentMetrics[metricName] - (metricReport.previousMetrics[metricName] || 0)) *\n 8;\n if (diff <= 0) {\n return 0;\n }\n return Math.trunc(diff / intervalSeconds);\n };\n this.secondsToMilliseconds = (metricName, ssrc) => {\n const metricReport = ssrc ? this.streamMetricReports[ssrc] : this.globalMetricReport;\n return Number(metricReport.currentMetrics[metricName] * 1000);\n };\n this.averageTimeSpentPerSecondInMilliseconds = (metricName, ssrc) => {\n const metricReport = ssrc ? this.streamMetricReports[ssrc] : this.globalMetricReport;\n let intervalSeconds = (this.currentTimestampMs - this.previousTimestampMs) / 1000;\n if (intervalSeconds <= 0) {\n return 0;\n }\n if (this.previousTimestampMs <= 0) {\n intervalSeconds = 1;\n }\n const diff = metricReport.currentMetrics[metricName] - (metricReport.previousMetrics[metricName] || 0);\n if (diff <= 0) {\n return 0;\n }\n return (diff * 1000) / intervalSeconds;\n };\n this.isHardwareImplementation = (metricName, ssrc) => {\n const metricReport = this.streamMetricReports[ssrc];\n const implName = String(metricReport.currentStringMetrics[metricName]);\n const hasHwName = implName.includes('ExternalDecoder') ||\n implName.includes('ExternalEncoder') ||\n implName.includes('EncodeAccelerator') ||\n implName.includes('DecodeAccelerator');\n const isFallback = implName.includes('fallback from');\n return hasHwName && !isFallback ? 1 : 0;\n };\n /**\n * Canonical and derived metric maps\n */\n this.globalMetricMap = {\n retransmittedBytesSent: {\n transform: this.identityValue,\n type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_RETRANSMIT_BITRATE,\n },\n totalEncodedBytesTarget: {\n transform: this.identityValue,\n type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_TARGET_ENCODER_BITRATE,\n },\n totalPacketSendDelay: {\n transform: this.identityValue,\n type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_BUCKET_DELAY_MS,\n },\n packetsDiscardedOnSend: {\n transform: this.countPerSecond,\n type: SignalingProtocol_js_1.SdkMetric.Type.SOCKET_DISCARDED_PPS,\n },\n availableIncomingBitrate: {\n transform: this.identityValue,\n type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_AVAILABLE_RECEIVE_BANDWIDTH,\n },\n availableOutgoingBitrate: {\n transform: this.identityValue,\n type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_AVAILABLE_SEND_BANDWIDTH,\n },\n currentRoundTripTime: {\n transform: this.secondsToMilliseconds,\n type: SignalingProtocol_js_1.SdkMetric.Type.STUN_RTT_MS,\n },\n };\n this.audioUpstreamMetricMap = {\n jitter: { transform: this.secondsToMilliseconds, type: SignalingProtocol_js_1.SdkMetric.Type.RTC_MIC_JITTER_MS },\n packetsSent: { transform: this.countPerSecond, type: SignalingProtocol_js_1.SdkMetric.Type.RTC_MIC_PPS },\n bytesSent: { transform: this.bitsPerSecond, type: SignalingProtocol_js_1.SdkMetric.Type.RTC_MIC_BITRATE },\n roundTripTime: { transform: this.secondsToMilliseconds, type: SignalingProtocol_js_1.SdkMetric.Type.RTC_MIC_RTT_MS },\n packetsLost: {\n transform: this.packetLossPercent,\n type: SignalingProtocol_js_1.SdkMetric.Type.RTC_MIC_FRACTION_PACKET_LOST_PERCENT,\n source: 'packetsSent',\n },\n };\n this.audioDownstreamMetricMap = {\n concealedSamples: {\n transform: this.countPerSecond,\n },\n totalSamplesReceived: {\n transform: this.countPerSecond,\n },\n decoderLoss: {\n transform: this.decoderLossPercent,\n type: SignalingProtocol_js_1.SdkMetric.Type.RTC_SPK_FRACTION_DECODER_LOSS_PERCENT,\n },\n packetsReceived: { transform: this.countPerSecond, type: SignalingProtocol_js_1.SdkMetric.Type.RTC_SPK_PPS },\n packetsLost: {\n transform: this.packetLossPercent,\n type: SignalingProtocol_js_1.SdkMetric.Type.RTC_SPK_FRACTION_PACKET_LOST_PERCENT,\n source: 'packetsReceived',\n },\n jitter: { transform: this.secondsToMilliseconds, type: SignalingProtocol_js_1.SdkMetric.Type.RTC_SPK_JITTER_MS },\n jitterBufferDelay: {\n transform: this.countPerSecond,\n },\n jitterBufferEmittedCount: {\n transform: this.countPerSecond,\n },\n jitterBufferMs: {\n transform: this.jitterBufferMs,\n type: SignalingProtocol_js_1.SdkMetric.Type.RTC_SPK_JITTER_BUFFER_MS,\n },\n bytesReceived: { transform: this.bitsPerSecond, type: SignalingProtocol_js_1.SdkMetric.Type.RTC_SPK_BITRATE },\n };\n this.videoUpstreamMetricMap = {\n roundTripTime: {\n transform: this.secondsToMilliseconds,\n type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_SENT_RTT_MS,\n },\n nackCount: { transform: this.countPerSecond, type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_NACKS_RECEIVED },\n pliCount: { transform: this.countPerSecond, type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_PLIS_RECEIVED },\n firCount: { transform: this.countPerSecond, type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_FIRS_RECEIVED },\n framesPerSecond: { transform: this.identityValue, type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_INPUT_FPS },\n framesEncoded: { transform: this.countPerSecond, type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_ENCODE_FPS },\n packetsSent: { transform: this.countPerSecond, type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_SENT_PPS },\n packetsLost: {\n transform: this.packetLossPercent,\n type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_SENT_FRACTION_PACKET_LOST_PERCENT,\n source: 'packetsSent',\n },\n bytesSent: { transform: this.bitsPerSecond, type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_SENT_BITRATE },\n qpSum: { transform: this.countPerSecond, type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_SENT_QP_SUM },\n frameHeight: { transform: this.identityValue, type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_ENCODE_HEIGHT },\n frameWidth: { transform: this.identityValue, type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_ENCODE_WIDTH },\n jitter: {\n transform: this.secondsToMilliseconds,\n },\n totalEncodeTime: {\n transform: this.averageTimeSpentPerSecondInMilliseconds,\n type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_ENCODE_MS,\n },\n encoderImplementation: {\n transform: this.isHardwareImplementation,\n type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_ENCODER_IS_HARDWARE,\n },\n };\n this.videoDownstreamMetricMap = {\n packetsReceived: { transform: this.countPerSecond, type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_RECEIVED_PPS },\n packetsLost: {\n transform: this.packetLossPercent,\n type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_RECEIVED_FRACTION_PACKET_LOST_PERCENT,\n source: 'packetsReceived',\n },\n framesReceived: {\n transform: this.identityValue,\n type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_RECEIVED_FPS,\n },\n framesDecoded: { transform: this.countPerSecond, type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_DECODE_FPS },\n nackCount: { transform: this.countPerSecond, type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_NACKS_SENT },\n firCount: { transform: this.countPerSecond, type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_FIRS_SENT },\n pliCount: { transform: this.countPerSecond, type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_PLIS_SENT },\n bytesReceived: { transform: this.bitsPerSecond, type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_RECEIVED_BITRATE },\n jitter: {\n transform: this.secondsToMilliseconds,\n type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_RECEIVED_JITTER_MS,\n },\n jitterBufferDelay: {\n transform: this.countPerSecond,\n },\n jitterBufferEmittedCount: {\n transform: this.countPerSecond,\n },\n jitterBufferMs: {\n transform: this.jitterBufferMs,\n type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_JITTER_BUFFER_MS,\n },\n qpSum: {\n transform: this.countPerSecond,\n type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_RECEIVED_QP_SUM,\n },\n frameHeight: { transform: this.identityValue, type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_DECODE_HEIGHT },\n frameWidth: { transform: this.identityValue, type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_DECODE_WIDTH },\n totalDecodeTime: {\n transform: this.averageTimeSpentPerSecondInMilliseconds,\n type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_DECODE_MS,\n },\n decoderImplementation: {\n transform: this.isHardwareImplementation,\n type: SignalingProtocol_js_1.SdkMetric.Type.VIDEO_DECODER_IS_HARDWARE,\n },\n };\n /**\n * Dimensions derived from metric\n */\n this.streamDimensionMap = {\n encoderImplementation: SignalingProtocol_js_1.SdkStreamDimension.Type.VIDEO_ENCODER_NAME,\n decoderImplementation: SignalingProtocol_js_1.SdkStreamDimension.Type.VIDEO_DECODER_NAME,\n };\n /**\n * media Stream metrics\n */\n this.observableVideoMetricSpec = {\n videoUpstreamBitrate: {\n source: 'bytesSent',\n media: ClientMetricReportMediaType_1.default.VIDEO,\n dir: ClientMetricReportDirection_1.default.UPSTREAM,\n },\n videoUpstreamPacketsSent: {\n source: 'packetsSent',\n media: ClientMetricReportMediaType_1.default.VIDEO,\n dir: ClientMetricReportDirection_1.default.UPSTREAM,\n },\n videoUpstreamPacketLossPercent: {\n source: 'packetsLost',\n media: ClientMetricReportMediaType_1.default.VIDEO,\n dir: ClientMetricReportDirection_1.default.UPSTREAM,\n },\n videoUpstreamFramesEncodedPerSecond: {\n source: 'framesEncoded',\n media: ClientMetricReportMediaType_1.default.VIDEO,\n dir: ClientMetricReportDirection_1.default.UPSTREAM,\n },\n videoUpstreamFrameHeight: {\n source: 'frameHeight',\n media: ClientMetricReportMediaType_1.default.VIDEO,\n dir: ClientMetricReportDirection_1.default.UPSTREAM,\n },\n videoUpstreamFrameWidth: {\n source: 'frameWidth',\n media: ClientMetricReportMediaType_1.default.VIDEO,\n dir: ClientMetricReportDirection_1.default.UPSTREAM,\n },\n videoUpstreamJitterMs: {\n source: 'jitter',\n media: ClientMetricReportMediaType_1.default.VIDEO,\n dir: ClientMetricReportDirection_1.default.UPSTREAM,\n },\n videoUpstreamRoundTripTimeMs: {\n source: 'roundTripTime',\n media: ClientMetricReportMediaType_1.default.VIDEO,\n dir: ClientMetricReportDirection_1.default.UPSTREAM,\n },\n videoDownstreamBitrate: {\n source: 'bytesReceived',\n media: ClientMetricReportMediaType_1.default.VIDEO,\n dir: ClientMetricReportDirection_1.default.DOWNSTREAM,\n },\n videoDownstreamPacketLossPercent: {\n source: 'packetsLost',\n media: ClientMetricReportMediaType_1.default.VIDEO,\n dir: ClientMetricReportDirection_1.default.DOWNSTREAM,\n },\n videoDownstreamPacketsReceived: {\n source: 'packetsReceived',\n media: ClientMetricReportMediaType_1.default.VIDEO,\n dir: ClientMetricReportDirection_1.default.DOWNSTREAM,\n },\n videoDownstreamFramesDecodedPerSecond: {\n source: 'framesDecoded',\n media: ClientMetricReportMediaType_1.default.VIDEO,\n dir: ClientMetricReportDirection_1.default.DOWNSTREAM,\n },\n videoDownstreamFrameHeight: {\n source: 'frameHeight',\n media: ClientMetricReportMediaType_1.default.VIDEO,\n dir: ClientMetricReportDirection_1.default.DOWNSTREAM,\n },\n videoDownstreamFrameWidth: {\n source: 'frameWidth',\n media: ClientMetricReportMediaType_1.default.VIDEO,\n dir: ClientMetricReportDirection_1.default.DOWNSTREAM,\n },\n videoDownstreamJitterMs: {\n source: 'jitter',\n media: ClientMetricReportMediaType_1.default.VIDEO,\n dir: ClientMetricReportDirection_1.default.DOWNSTREAM,\n },\n videoDownstreamDelayMs: {\n source: 'jitterBufferMs',\n media: ClientMetricReportMediaType_1.default.VIDEO,\n dir: ClientMetricReportDirection_1.default.DOWNSTREAM,\n },\n };\n /**\n * Observable metrics and related APIs\n */\n this.observableMetricSpec = {\n audioPacketsReceived: {\n source: 'packetsReceived',\n media: ClientMetricReportMediaType_1.default.AUDIO,\n dir: ClientMetricReportDirection_1.default.DOWNSTREAM,\n },\n audioPacketsReceivedFractionLoss: {\n source: 'packetsLost',\n media: ClientMetricReportMediaType_1.default.AUDIO,\n dir: ClientMetricReportDirection_1.default.DOWNSTREAM,\n },\n audioDecoderLoss: {\n source: 'decoderLoss',\n media: ClientMetricReportMediaType_1.default.AUDIO,\n dir: ClientMetricReportDirection_1.default.DOWNSTREAM,\n },\n audioPacketsSent: {\n source: 'packetsSent',\n media: ClientMetricReportMediaType_1.default.AUDIO,\n dir: ClientMetricReportDirection_1.default.UPSTREAM,\n },\n audioPacketLossPercent: {\n source: 'packetsLost',\n media: ClientMetricReportMediaType_1.default.AUDIO,\n dir: ClientMetricReportDirection_1.default.UPSTREAM,\n },\n audioUpstreamRoundTripTimeMs: {\n source: 'roundTripTime',\n media: ClientMetricReportMediaType_1.default.AUDIO,\n dir: ClientMetricReportDirection_1.default.UPSTREAM,\n },\n videoUpstreamBitrate: { source: 'bytesSent', media: ClientMetricReportMediaType_1.default.VIDEO, dir: ClientMetricReportDirection_1.default.UPSTREAM },\n videoPacketSentPerSecond: {\n source: 'packetsSent',\n media: ClientMetricReportMediaType_1.default.VIDEO,\n dir: ClientMetricReportDirection_1.default.UPSTREAM,\n },\n audioSpeakerDelayMs: {\n source: 'jitterBufferMs',\n media: ClientMetricReportMediaType_1.default.AUDIO,\n dir: ClientMetricReportDirection_1.default.DOWNSTREAM,\n },\n audioUpstreamJitterMs: {\n source: 'jitter',\n media: ClientMetricReportMediaType_1.default.AUDIO,\n dir: ClientMetricReportDirection_1.default.UPSTREAM,\n },\n audioDownstreamJitterMs: {\n source: 'jitter',\n media: ClientMetricReportMediaType_1.default.AUDIO,\n dir: ClientMetricReportDirection_1.default.DOWNSTREAM,\n },\n nackCountReceivedPerSecond: {\n source: 'nackCount',\n media: ClientMetricReportMediaType_1.default.VIDEO,\n dir: ClientMetricReportDirection_1.default.UPSTREAM,\n },\n availableOutgoingBitrate: { source: 'availableOutgoingBitrate' },\n availableIncomingBitrate: { source: 'availableIncomingBitrate' },\n currentRoundTripTimeMs: { source: 'currentRoundTripTime' },\n };\n }\n getMetricMap(mediaType, direction) {\n switch (mediaType) {\n case ClientMetricReportMediaType_1.default.AUDIO:\n switch (direction) {\n case ClientMetricReportDirection_1.default.UPSTREAM:\n return this.audioUpstreamMetricMap;\n case ClientMetricReportDirection_1.default.DOWNSTREAM:\n return this.audioDownstreamMetricMap;\n }\n case ClientMetricReportMediaType_1.default.VIDEO:\n switch (direction) {\n case ClientMetricReportDirection_1.default.UPSTREAM:\n return this.videoUpstreamMetricMap;\n case ClientMetricReportDirection_1.default.DOWNSTREAM:\n return this.videoDownstreamMetricMap;\n }\n default:\n return this.globalMetricMap;\n }\n }\n getStreamDimensionMap() {\n return this.streamDimensionMap;\n }\n /**\n * Returns the value of the specific metric in observableMetricSpec.\n */\n getObservableMetricValue(metricName) {\n const observableMetricSpec = this.observableMetricSpec[metricName];\n const metricMap = this.getMetricMap(observableMetricSpec.media, observableMetricSpec.dir);\n const metricSpec = metricMap[observableMetricSpec.source];\n const { transform, source } = metricSpec;\n if (observableMetricSpec.hasOwnProperty('media')) {\n for (const ssrc in this.streamMetricReports) {\n const streamMetricReport = this.streamMetricReports[ssrc];\n if (streamMetricReport.direction === observableMetricSpec.dir &&\n streamMetricReport.mediaType === observableMetricSpec.media) {\n return source\n ? transform(source, Number(ssrc))\n : transform(observableMetricSpec.source, Number(ssrc));\n }\n }\n }\n else {\n return source ? transform(source) : transform(observableMetricSpec.source);\n }\n return 0;\n }\n /**\n * Returns the value of the specific metric in observableVideoMetricSpec.\n */\n getObservableVideoMetricValue(metricName, ssrcNum) {\n const observableVideoMetricSpec = this.observableVideoMetricSpec[metricName];\n const metricMap = this.getMetricMap(observableVideoMetricSpec.media, observableVideoMetricSpec.dir);\n const metricSpec = metricMap[observableVideoMetricSpec.source];\n const { transform, source } = metricSpec;\n return source\n ? transform(source, ssrcNum)\n : transform(observableVideoMetricSpec.source, ssrcNum);\n }\n /**\n * Returns the value of metrics in observableMetricSpec.\n */\n getObservableMetrics() {\n const metric = {};\n for (const metricName in this.observableMetricSpec) {\n metric[metricName] = this.getObservableMetricValue(metricName);\n }\n return metric;\n }\n /**\n * Returns the value of metrics in observableVideoMetricSpec for each SSRC.\n */\n getObservableVideoMetrics() {\n const videoStreamMetrics = {};\n if (!this.videoStreamIndex || !this.selfAttendeeId) {\n this.logger.error('Need to define VideoStreamIndex and selfAttendeeId if using getObservableVideoMetrics API');\n return videoStreamMetrics;\n }\n for (const ssrc in this.streamMetricReports) {\n if (this.streamMetricReports[ssrc].mediaType === ClientMetricReportMediaType_1.default.VIDEO) {\n const metric = {};\n for (const metricName in this.observableVideoMetricSpec) {\n if (this.observableVideoMetricSpec[metricName].dir ===\n this.streamMetricReports[ssrc].direction) {\n const metricValue = this.getObservableVideoMetricValue(metricName, Number(ssrc));\n if (!isNaN(metricValue)) {\n metric[metricName] = metricValue;\n }\n }\n }\n const streamId = this.streamMetricReports[ssrc].streamId;\n const attendeeId = streamId\n ? this.videoStreamIndex.attendeeIdForStreamId(streamId)\n : this.selfAttendeeId;\n videoStreamMetrics[attendeeId] = videoStreamMetrics[attendeeId]\n ? videoStreamMetrics[attendeeId]\n : {};\n videoStreamMetrics[attendeeId][ssrc] = metric;\n }\n }\n return videoStreamMetrics;\n }\n /**\n * Returns the raw RTCStatsReport from RTCPeerConnection.getStats() API.\n */\n getRTCStatsReport() {\n return this.rtcStatsReport;\n }\n /**\n * Clones the ClientMetricReport and returns it.\n */\n clone() {\n const cloned = new ClientMetricReport(this.logger, this.videoStreamIndex, this.selfAttendeeId);\n cloned.globalMetricReport = this.globalMetricReport;\n cloned.streamMetricReports = this.streamMetricReports;\n cloned.rtcStatsReport = this.rtcStatsReport;\n cloned.currentTimestampMs = this.currentTimestampMs;\n cloned.previousTimestampMs = this.previousTimestampMs;\n return cloned;\n }\n /**\n * Prints out the globalMetricReport, streamMetricReports and the corresponding timestamps from the current ClientMetricReport.\n */\n print() {\n const clientMetricReport = {\n globalMetricReport: this.globalMetricReport,\n streamMetricReports: this.streamMetricReports,\n currentTimestampMs: this.currentTimestampMs,\n previousTimestampMs: this.previousTimestampMs,\n };\n this.logger.debug(() => {\n return `Client Metric Report: ${JSON.stringify(clientMetricReport)}`;\n });\n }\n /**\n * Removes the SSRCs that are no longer valid.\n */\n removeDestroyedSsrcs() {\n for (const ssrc in this.streamMetricReports) {\n if (!this.currentSsrcs[ssrc]) {\n delete this.streamMetricReports[ssrc];\n }\n }\n }\n}\nexports[\"default\"] = ClientMetricReport;\n//# sourceMappingURL=ClientMetricReport.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReport.js?")},"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportDirection.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.ClientMetricReportDirection = void 0;\nvar ClientMetricReportDirection;\n(function (ClientMetricReportDirection) {\n ClientMetricReportDirection[ClientMetricReportDirection["UPSTREAM"] = 0] = "UPSTREAM";\n ClientMetricReportDirection[ClientMetricReportDirection["DOWNSTREAM"] = 1] = "DOWNSTREAM";\n})(ClientMetricReportDirection = exports.ClientMetricReportDirection || (exports.ClientMetricReportDirection = {}));\nexports["default"] = ClientMetricReportDirection;\n//# sourceMappingURL=ClientMetricReportDirection.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportDirection.js?')},"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportMediaType.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.ClientMetricReportMediaType = void 0;\nvar ClientMetricReportMediaType;\n(function (ClientMetricReportMediaType) {\n ClientMetricReportMediaType[ClientMetricReportMediaType["AUDIO"] = 0] = "AUDIO";\n ClientMetricReportMediaType[ClientMetricReportMediaType["VIDEO"] = 1] = "VIDEO";\n})(ClientMetricReportMediaType = exports.ClientMetricReportMediaType || (exports.ClientMetricReportMediaType = {}));\nexports["default"] = ClientMetricReportMediaType;\n//# sourceMappingURL=ClientMetricReportMediaType.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportMediaType.js?')},"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientVideoStreamReceivingReport.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nclass ClientVideoStreamReceivingReport {\n}\nexports["default"] = ClientVideoStreamReceivingReport;\n//# sourceMappingURL=ClientVideoStreamReceivingReport.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientVideoStreamReceivingReport.js?')},"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/GlobalMetricReport.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nclass GlobalMetricReport {\n constructor() {\n this.previousMetrics = {};\n this.currentMetrics = {};\n // As metric values do not necessarily be number, this is a workaround in case metric value is string\n this.currentStringMetrics = {};\n }\n}\nexports["default"] = GlobalMetricReport;\n//# sourceMappingURL=GlobalMetricReport.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/clientmetricreport/GlobalMetricReport.js?')},"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/StreamMetricReport.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nclass StreamMetricReport {\n constructor() {\n this.previousMetrics = {};\n this.currentMetrics = {};\n // As metric values do not necessarily be number, this is a workaround in case metric value is string\n this.currentStringMetrics = {};\n }\n}\nexports["default"] = StreamMetricReport;\n//# sourceMappingURL=StreamMetricReport.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/clientmetricreport/StreamMetricReport.js?')},"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/BaseConnectionHealthPolicy.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nclass BaseConnectionHealthPolicy {\n constructor(configuration, data, name) {\n this.minHealth = configuration.minHealth;\n this.maxHealth = configuration.maxHealth;\n this.currentHealth = configuration.initialHealth;\n this.currentData = data.clone();\n this.name = name;\n }\n minimumHealth() {\n return this.minHealth;\n }\n maximumHealth() {\n return this.maxHealth;\n }\n health() {\n return this.maximumHealth();\n }\n update(connectionHealthData) {\n this.currentData = connectionHealthData;\n }\n getConnectionHealthData() {\n return this.currentData.clone();\n }\n healthy() {\n return this.health() > this.minimumHealth();\n }\n healthIfChanged() {\n const newHealth = this.health();\n if (newHealth !== this.currentHealth) {\n this.currentHealth = newHealth;\n return newHealth;\n }\n return null;\n }\n}\nexports["default"] = BaseConnectionHealthPolicy;\n//# sourceMappingURL=BaseConnectionHealthPolicy.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/BaseConnectionHealthPolicy.js?')},"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ConnectionHealthData.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nclass ConnectionHealthData {\n constructor() {\n this.connectionStartTimestampMs = 0;\n this.consecutiveStatsWithNoPackets = 0;\n this.consecutiveStatsWithNoAudioPacketsSent = 0;\n this.lastPacketLossInboundTimestampMs = 0;\n this.lastGoodSignalTimestampMs = 0;\n this.lastWeakSignalTimestampMs = 0;\n this.lastNoSignalTimestampMs = 0;\n this.consecutiveMissedPongs = 0;\n this.packetsReceivedInLastMinute = [];\n this.fractionPacketsLostInboundInLastMinute = [];\n this.audioSpeakerDelayMs = 0;\n this.connectionStartTimestampMs = Date.now();\n this.lastGoodSignalTimestampMs = Date.now();\n }\n static isTimestampRecent(timestampMs, recentDurationMs) {\n return Date.now() < timestampMs + recentDurationMs;\n }\n setConnectionStartTime() {\n this.connectionStartTimestampMs = Date.now();\n this.lastGoodSignalTimestampMs = Date.now();\n }\n reset() {\n this.connectionStartTimestampMs = 0;\n this.consecutiveStatsWithNoPackets = 0;\n this.consecutiveStatsWithNoAudioPacketsSent = 0;\n this.lastPacketLossInboundTimestampMs = 0;\n this.lastGoodSignalTimestampMs = 0;\n this.lastWeakSignalTimestampMs = 0;\n this.lastNoSignalTimestampMs = 0;\n this.consecutiveMissedPongs = 0;\n this.packetsReceivedInLastMinute = [];\n this.fractionPacketsLostInboundInLastMinute = [];\n this.audioSpeakerDelayMs = 0;\n this.connectionStartTimestampMs = Date.now();\n this.lastGoodSignalTimestampMs = Date.now();\n }\n isConnectionStartRecent(recentDurationMs) {\n return ConnectionHealthData.isTimestampRecent(this.connectionStartTimestampMs, recentDurationMs);\n }\n isLastPacketLossRecent(recentDurationMs) {\n return ConnectionHealthData.isTimestampRecent(this.lastPacketLossInboundTimestampMs, recentDurationMs);\n }\n isGoodSignalRecent(recentDurationMs) {\n return ConnectionHealthData.isTimestampRecent(this.lastGoodSignalTimestampMs, recentDurationMs);\n }\n isWeakSignalRecent(recentDurationMs) {\n return ConnectionHealthData.isTimestampRecent(this.lastWeakSignalTimestampMs, recentDurationMs);\n }\n isNoSignalRecent(recentDurationMs) {\n return ConnectionHealthData.isTimestampRecent(this.lastNoSignalTimestampMs, recentDurationMs);\n }\n clone() {\n const cloned = new ConnectionHealthData();\n cloned.connectionStartTimestampMs = this.connectionStartTimestampMs;\n cloned.consecutiveStatsWithNoPackets = this.consecutiveStatsWithNoPackets;\n cloned.consecutiveStatsWithNoAudioPacketsSent = this.consecutiveStatsWithNoAudioPacketsSent;\n cloned.lastPacketLossInboundTimestampMs = this.lastPacketLossInboundTimestampMs;\n cloned.lastGoodSignalTimestampMs = this.lastGoodSignalTimestampMs;\n cloned.lastWeakSignalTimestampMs = this.lastWeakSignalTimestampMs;\n cloned.lastNoSignalTimestampMs = this.lastNoSignalTimestampMs;\n cloned.consecutiveMissedPongs = this.consecutiveMissedPongs;\n cloned.packetsReceivedInLastMinute = this.packetsReceivedInLastMinute.slice(0);\n cloned.fractionPacketsLostInboundInLastMinute = this.fractionPacketsLostInboundInLastMinute.slice(0);\n cloned.audioSpeakerDelayMs = this.audioSpeakerDelayMs;\n return cloned;\n }\n setConsecutiveMissedPongs(pongs) {\n this.consecutiveMissedPongs = pongs;\n }\n setConsecutiveStatsWithNoPackets(stats) {\n this.consecutiveStatsWithNoPackets = stats;\n }\n setConsecutiveStatsWithNoAudioPacketsSent(stats) {\n this.consecutiveStatsWithNoAudioPacketsSent = stats;\n }\n setLastPacketLossInboundTimestampMs(timeStamp) {\n this.lastPacketLossInboundTimestampMs = timeStamp;\n }\n setLastNoSignalTimestampMs(timeStamp) {\n this.lastNoSignalTimestampMs = timeStamp;\n }\n setLastWeakSignalTimestampMs(timeStamp) {\n this.lastWeakSignalTimestampMs = timeStamp;\n }\n setLastGoodSignalTimestampMs(timeStamp) {\n this.lastGoodSignalTimestampMs = timeStamp;\n }\n setAudioSpeakerDelayMs(delayMs) {\n this.audioSpeakerDelayMs = delayMs;\n }\n}\nexports["default"] = ConnectionHealthData;\n//# sourceMappingURL=ConnectionHealthData.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ConnectionHealthData.js?')},"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ConnectionHealthPolicyConfiguration.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nclass ConnectionHealthPolicyConfiguration {\n constructor() {\n this.minHealth = 0;\n this.maxHealth = 1;\n this.initialHealth = 1;\n this.connectionUnhealthyThreshold = 25;\n this.noSignalThresholdTimeMs = 10000;\n this.connectionWaitTimeMs = 10000;\n this.zeroBarsNoSignalTimeMs = 5000;\n this.oneBarWeakSignalTimeMs = 5000;\n this.twoBarsTimeMs = 5000;\n this.threeBarsTimeMs = 10000;\n this.fourBarsTimeMs = 20000;\n this.fiveBarsTimeMs = 60000;\n this.cooldownTimeMs = 60000;\n this.pastSamplesToConsider = 15;\n this.goodSignalTimeMs = 15000;\n this.fractionalLoss = 0.5;\n this.packetsExpected = 50;\n this.maximumTimesToWarn = 2;\n this.missedPongsLowerThreshold = 1;\n this.missedPongsUpperThreshold = 4;\n this.maximumAudioDelayMs = 60000;\n this.maximumAudioDelayDataPoints = 10;\n /**\n * The number of samples required to consider sending-audio to be unhealthy\n *\n * The default value is derived from the median for time taken for receiving an attendee presence message from the\n * server after joining. Attendee presence is only received when the client sends audio packets to the server, so\n * this metric is used as a proxy.\n */\n this.sendingAudioFailureSamplesToConsider = 2;\n /**\n * The purpose of this field is to add a wait time/delay to our evaluation of sending audio health\n * as the microphone may sometimes cause a delay in sending audio packets during the initial stages of a connection.\n */\n this.sendingAudioFailureInitialWaitTimeMs = 3000;\n }\n}\nexports["default"] = ConnectionHealthPolicyConfiguration;\n//# sourceMappingURL=ConnectionHealthPolicyConfiguration.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ConnectionHealthPolicyConfiguration.js?')},"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ReconnectionHealthPolicy.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst BaseConnectionHealthPolicy_1 = __webpack_require__(/*! ./BaseConnectionHealthPolicy */ "./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/BaseConnectionHealthPolicy.js");\nclass ReconnectionHealthPolicy extends BaseConnectionHealthPolicy_1.default {\n constructor(logger, configuration, data) {\n super(configuration, data, \'Reconnection Health\');\n this.logger = logger;\n this.audioDelayPointsOverMaximum = 0;\n ReconnectionHealthPolicy.CONNECTION_UNHEALTHY_THRESHOLD =\n configuration.connectionUnhealthyThreshold;\n ReconnectionHealthPolicy.CONNECTION_WAIT_TIME_MS = configuration.connectionWaitTimeMs;\n ReconnectionHealthPolicy.MISSED_PONGS_THRESHOLD = configuration.missedPongsUpperThreshold;\n ReconnectionHealthPolicy.MAXIMUM_AUDIO_DELAY_MS = configuration.maximumAudioDelayMs;\n ReconnectionHealthPolicy.MAXIMUM_AUDIO_DELAY_DATA_POINTS =\n configuration.maximumAudioDelayDataPoints;\n }\n health() {\n const connectionStartedRecently = this.currentData.isConnectionStartRecent(ReconnectionHealthPolicy.CONNECTION_WAIT_TIME_MS);\n if (connectionStartedRecently) {\n return 1;\n }\n const noPacketsReceivedRecently = this.currentData.consecutiveStatsWithNoPackets >=\n ReconnectionHealthPolicy.CONNECTION_UNHEALTHY_THRESHOLD;\n const missedPongsRecently = this.currentData.consecutiveMissedPongs >= ReconnectionHealthPolicy.MISSED_PONGS_THRESHOLD;\n if (this.currentData.audioSpeakerDelayMs > ReconnectionHealthPolicy.MAXIMUM_AUDIO_DELAY_MS) {\n this.audioDelayPointsOverMaximum += 1;\n }\n else {\n this.audioDelayPointsOverMaximum = 0;\n }\n const hasBadAudioDelay = this.audioDelayPointsOverMaximum > ReconnectionHealthPolicy.MAXIMUM_AUDIO_DELAY_DATA_POINTS;\n if (hasBadAudioDelay) {\n this.audioDelayPointsOverMaximum = 0;\n }\n const needsReconnect = noPacketsReceivedRecently || missedPongsRecently || hasBadAudioDelay;\n if (needsReconnect) {\n this.logger.warn(`reconnection recommended due to: no packets received: ${noPacketsReceivedRecently}, missed pongs: ${missedPongsRecently}, bad audio delay: ${hasBadAudioDelay}`);\n return 0;\n }\n return 1;\n }\n}\nexports["default"] = ReconnectionHealthPolicy;\n//# sourceMappingURL=ReconnectionHealthPolicy.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ReconnectionHealthPolicy.js?')},"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/SendingAudioFailureConnectionHealthPolicy.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst BaseConnectionHealthPolicy_1 = __webpack_require__(/*! ./BaseConnectionHealthPolicy */ "./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/BaseConnectionHealthPolicy.js");\nclass SendingAudioFailureConnectionHealthPolicy extends BaseConnectionHealthPolicy_1.default {\n constructor(logger, configuration, data) {\n super(configuration, data, \'Sending Audio Health\');\n this.logger = logger;\n this.sendingAudioFailureSamplesToConsider =\n configuration.sendingAudioFailureSamplesToConsider > 0\n ? configuration.sendingAudioFailureSamplesToConsider\n : 1;\n this.sendingAudioFailureInitialWaitTimeMs = configuration.sendingAudioFailureInitialWaitTimeMs;\n this.maximumTimesToWarn = configuration.maximumTimesToWarn;\n this.coolDownTimeMs = configuration.cooldownTimeMs;\n this.lastWarnTimestampMs = 0;\n this.warnCount = 0;\n }\n isSendingAudioUnhealthy() {\n const hasEnoughTimeElapsedToEvaluateStatus = !this.currentData.isConnectionStartRecent(this.sendingAudioFailureInitialWaitTimeMs);\n const areAudioPacketsNotBeingSent = this.currentData.consecutiveStatsWithNoAudioPacketsSent >=\n this.sendingAudioFailureSamplesToConsider;\n return hasEnoughTimeElapsedToEvaluateStatus && areAudioPacketsNotBeingSent;\n }\n health() {\n if (this.isSendingAudioUnhealthy()) {\n const didWarnRecently = Date.now() - this.lastWarnTimestampMs < this.coolDownTimeMs;\n if (this.currentHealth > this.minimumHealth() && !didWarnRecently) {\n this.logger.warn(`Sending Audio is unhealthy for ${this.sendingAudioFailureSamplesToConsider} seconds consecutively.`);\n this.warnCount++;\n if (this.warnCount > this.maximumTimesToWarn) {\n this.logger.warn(\'SendingAudioFailure health policy maximum warnings breached. Falling back to reporting healthy.\');\n return this.maximumHealth();\n }\n this.lastWarnTimestampMs = Date.now();\n return this.minimumHealth();\n }\n else {\n return this.currentHealth;\n }\n }\n return this.maximumHealth();\n }\n}\nexports["default"] = SendingAudioFailureConnectionHealthPolicy;\n//# sourceMappingURL=SendingAudioFailureConnectionHealthPolicy.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/SendingAudioFailureConnectionHealthPolicy.js?')},"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/UnusableAudioWarningConnectionHealthPolicy.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst BaseConnectionHealthPolicy_1 = __webpack_require__(/*! ./BaseConnectionHealthPolicy */ "./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/BaseConnectionHealthPolicy.js");\nclass UnusableAudioWarningConnectionHealthPolicy extends BaseConnectionHealthPolicy_1.default {\n constructor(configuration, data) {\n super(configuration, data, \'Unusable Audio Warning\');\n this.coolDownTimeMs = configuration.cooldownTimeMs;\n this.pastSamplesToConsider = configuration.pastSamplesToConsider;\n this.fractionalLoss = configuration.fractionalLoss;\n this.packetsExpected = configuration.packetsExpected;\n this.maximumTimesToWarn = configuration.maximumTimesToWarn;\n this.lastWarnTimestampMs = 0;\n this.warnCount = 0;\n }\n calculateFractionalLoss() {\n if (this.currentData.packetsReceivedInLastMinute.length < this.pastSamplesToConsider) {\n return 0;\n }\n const samplesToConsider = this.pastSamplesToConsider;\n const totalPacketsExpected = samplesToConsider * this.packetsExpected;\n let totalPacketsReceived = 0;\n for (let i = 0; i < samplesToConsider; i++) {\n totalPacketsReceived += this.currentData.packetsReceivedInLastMinute[i];\n }\n return Math.min(Math.max(1 - totalPacketsReceived / totalPacketsExpected, 0), 1);\n }\n health() {\n const warnedRecently = Date.now() - this.lastWarnTimestampMs < this.coolDownTimeMs;\n if (warnedRecently) {\n return this.currentHealth;\n }\n const hasHadHighPacketLoss = this.calculateFractionalLoss() >= this.fractionalLoss;\n if (hasHadHighPacketLoss) {\n if (this.currentHealth !== 0) {\n this.lastWarnTimestampMs = Date.now();\n this.warnCount++;\n if (this.warnCount > this.maximumTimesToWarn) {\n return 1;\n }\n }\n return 0;\n }\n return 1;\n }\n}\nexports["default"] = UnusableAudioWarningConnectionHealthPolicy;\n//# sourceMappingURL=UnusableAudioWarningConnectionHealthPolicy.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/UnusableAudioWarningConnectionHealthPolicy.js?')},"./node_modules/amazon-chime-sdk-js/build/connectionmonitor/SignalingAndMetricsConnectionMonitor.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst Types_1 = __webpack_require__(/*! ../utils/Types */ \"./node_modules/amazon-chime-sdk-js/build/utils/Types.js\");\nclass SignalingAndMetricsConnectionMonitor {\n constructor(audioVideoController, realtimeController, connectionHealthData, pingPong, statsCollector) {\n this.audioVideoController = audioVideoController;\n this.realtimeController = realtimeController;\n this.connectionHealthData = connectionHealthData;\n this.pingPong = pingPong;\n this.statsCollector = statsCollector;\n this.isActive = false;\n this.hasSeenValidPacketMetricsBefore = false;\n this.realtimeController.realtimeSubscribeToLocalSignalStrengthChange((signalStrength) => {\n if (this.isActive) {\n this.receiveSignalStrengthChange(signalStrength);\n }\n });\n }\n start() {\n this.isActive = true;\n this.pingPong.addObserver(this);\n this.pingPong.start();\n this.audioVideoController.addObserver(this);\n }\n stop() {\n this.isActive = false;\n this.pingPong.removeObserver(this);\n this.pingPong.stop();\n this.audioVideoController.removeObserver(this);\n }\n receiveSignalStrengthChange(signalStrength) {\n if (signalStrength === 0) {\n this.connectionHealthData.setLastNoSignalTimestampMs(Date.now());\n }\n else if (signalStrength <= 0.5) {\n this.connectionHealthData.setLastWeakSignalTimestampMs(Date.now());\n }\n else {\n this.connectionHealthData.setLastGoodSignalTimestampMs(Date.now());\n }\n this.updateConnectionHealth();\n }\n didReceivePong(_id, latencyMs, clockSkewMs) {\n this.connectionHealthData.setConsecutiveMissedPongs(0);\n this.statsCollector.logLatency('ping_pong', latencyMs);\n this.statsCollector.logLatency('ping_pong_clock_skew', clockSkewMs);\n this.updateConnectionHealth();\n }\n didMissPongs() {\n this.connectionHealthData.setConsecutiveMissedPongs(this.connectionHealthData.consecutiveMissedPongs + 1);\n this.updateConnectionHealth();\n }\n metricsDidReceive(clientMetricReport) {\n let packetsReceived = 0;\n let fractionPacketsLostInbound = 0;\n const metricReport = clientMetricReport.getObservableMetrics();\n const potentialPacketsReceived = metricReport.audioPacketsReceived;\n const potentialFractionPacketsLostInbound = metricReport.audioPacketsReceivedFractionLoss;\n const audioSpeakerDelayMs = metricReport.audioSpeakerDelayMs;\n // Firefox does not presently have aggregated bandwidth estimation\n if (typeof audioSpeakerDelayMs === 'number' && !isNaN(audioSpeakerDelayMs)) {\n this.connectionHealthData.setAudioSpeakerDelayMs(audioSpeakerDelayMs);\n }\n if (typeof potentialPacketsReceived === 'number' &&\n typeof potentialFractionPacketsLostInbound === 'number') {\n packetsReceived = potentialPacketsReceived;\n fractionPacketsLostInbound = potentialFractionPacketsLostInbound;\n if (packetsReceived < 0 || fractionPacketsLostInbound < 0) {\n // TODO: getting negative numbers on this metric after reconnect sometimes\n // For now, just skip the metric if it looks weird.\n return;\n }\n }\n else {\n return;\n }\n this.addToMinuteWindow(this.connectionHealthData.packetsReceivedInLastMinute, packetsReceived);\n this.addToMinuteWindow(this.connectionHealthData.fractionPacketsLostInboundInLastMinute, fractionPacketsLostInbound);\n if (packetsReceived > 0) {\n this.hasSeenValidPacketMetricsBefore = true;\n this.connectionHealthData.setConsecutiveStatsWithNoPackets(0);\n }\n else if (this.hasSeenValidPacketMetricsBefore) {\n this.connectionHealthData.setConsecutiveStatsWithNoPackets(this.connectionHealthData.consecutiveStatsWithNoPackets + 1);\n }\n if (packetsReceived === 0 || fractionPacketsLostInbound > 0) {\n this.connectionHealthData.setLastPacketLossInboundTimestampMs(Date.now());\n }\n if (typeof metricReport.audioPacketsSent === 'number') {\n this.updateAudioPacketsSentInConnectionHealth(metricReport.audioPacketsSent);\n }\n this.updateConnectionHealth();\n }\n updateAudioPacketsSentInConnectionHealth(audioPacketsSent) {\n if (audioPacketsSent > 0) {\n this.connectionHealthData.setConsecutiveStatsWithNoAudioPacketsSent(0);\n }\n else {\n this.connectionHealthData.setConsecutiveStatsWithNoAudioPacketsSent(this.connectionHealthData.consecutiveStatsWithNoAudioPacketsSent + 1);\n }\n }\n addToMinuteWindow(array, value) {\n array.unshift(value);\n if (array.length > 60) {\n array.pop();\n }\n }\n updateConnectionHealth() {\n this.audioVideoController.forEachObserver((observer) => {\n Types_1.Maybe.of(observer.connectionHealthDidChange).map(f => f.bind(observer)(this.connectionHealthData.clone()));\n });\n }\n}\nexports[\"default\"] = SignalingAndMetricsConnectionMonitor;\n//# sourceMappingURL=SignalingAndMetricsConnectionMonitor.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/connectionmonitor/SignalingAndMetricsConnectionMonitor.js?")},"./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/ContentShareConstants.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nvar ContentShareConstants;\n(function (ContentShareConstants) {\n ContentShareConstants["Modality"] = "#content";\n})(ContentShareConstants || (ContentShareConstants = {}));\nexports["default"] = ContentShareConstants;\n//# sourceMappingURL=ContentShareConstants.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/ContentShareConstants.js?')},"./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/ContentShareMediaStreamBroker.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst DefaultBrowserBehavior_1 = __webpack_require__(/*! ../browserbehavior/DefaultBrowserBehavior */ "./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js");\nconst DefaultDeviceController_1 = __webpack_require__(/*! ../devicecontroller/DefaultDeviceController */ "./node_modules/amazon-chime-sdk-js/build/devicecontroller/DefaultDeviceController.js");\nclass ContentShareMediaStreamBroker {\n constructor(logger) {\n this.logger = logger;\n }\n get mediaStream() {\n return this._mediaStream;\n }\n set mediaStream(mediaStream) {\n this._mediaStream = mediaStream;\n }\n acquireAudioInputStream() {\n return __awaiter(this, void 0, void 0, function* () {\n if (this._mediaStream.getAudioTracks().length === 0) {\n this.logger.info(\'No audio stream available. Synthesizing an audio stream.\');\n return DefaultDeviceController_1.default.synthesizeAudioDevice(0);\n }\n return this._mediaStream;\n });\n }\n acquireVideoInputStream() {\n return __awaiter(this, void 0, void 0, function* () {\n return this._mediaStream;\n });\n }\n acquireDisplayInputStream(streamConstraints) {\n return __awaiter(this, void 0, void 0, function* () {\n if (streamConstraints &&\n streamConstraints.video &&\n // @ts-ignore\n streamConstraints.video.mandatory &&\n // @ts-ignore\n streamConstraints.video.mandatory.chromeMediaSource &&\n // @ts-ignore\n streamConstraints.video.mandatory.chromeMediaSourceId) {\n return navigator.mediaDevices.getUserMedia(streamConstraints);\n }\n // @ts-ignore https://github.com/microsoft/TypeScript/issues/31821\n return navigator.mediaDevices.getDisplayMedia(streamConstraints);\n });\n }\n acquireScreenCaptureDisplayInputStream(sourceId, frameRate) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.acquireDisplayInputStream(this.screenCaptureDisplayMediaConstraints(sourceId, frameRate));\n });\n }\n screenCaptureDisplayMediaConstraints(sourceId, frameRate) {\n return {\n audio: !sourceId && new DefaultBrowserBehavior_1.default().getDisplayMediaAudioCaptureSupport()\n ? true\n : false,\n video: Object.assign(Object.assign({}, (!sourceId && {\n frameRate: {\n max: frameRate ? frameRate : ContentShareMediaStreamBroker.defaultFrameRate,\n },\n })), (sourceId && {\n mandatory: {\n chromeMediaSource: \'desktop\',\n chromeMediaSourceId: sourceId,\n maxFrameRate: frameRate ? frameRate : ContentShareMediaStreamBroker.defaultFrameRate,\n },\n })),\n };\n }\n toggleMediaStream(enable) {\n let changed = false;\n if (this.mediaStream) {\n for (let i = 0; i < this.mediaStream.getTracks().length; i++) {\n if (this.mediaStream.getTracks()[i].enabled !== enable) {\n this.mediaStream.getTracks()[i].enabled = enable;\n changed = true;\n }\n }\n }\n return changed;\n }\n cleanup() {\n if (this.mediaStream) {\n for (let i = 0; i < this.mediaStream.getTracks().length; i++) {\n const track = this.mediaStream.getTracks()[i];\n track.stop();\n }\n }\n this.mediaStream = null;\n }\n muteLocalAudioInputStream() {\n throw new Error(\'unsupported\');\n }\n unmuteLocalAudioInputStream() {\n throw new Error(\'unsupported\');\n }\n addMediaStreamBrokerObserver(_observer) { }\n removeMediaStreamBrokerObserver(_observer) { }\n}\nexports["default"] = ContentShareMediaStreamBroker;\nContentShareMediaStreamBroker.defaultFrameRate = 15;\n//# sourceMappingURL=ContentShareMediaStreamBroker.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/ContentShareMediaStreamBroker.js?')},"./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/DefaultContentShareController.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst MeetingSessionConfiguration_1 = __webpack_require__(/*! ../meetingsession/MeetingSessionConfiguration */ "./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionConfiguration.js");\nconst MeetingSessionCredentials_1 = __webpack_require__(/*! ../meetingsession/MeetingSessionCredentials */ "./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionCredentials.js");\nconst DefaultModality_1 = __webpack_require__(/*! ../modality/DefaultModality */ "./node_modules/amazon-chime-sdk-js/build/modality/DefaultModality.js");\nconst AsyncScheduler_1 = __webpack_require__(/*! ../scheduler/AsyncScheduler */ "./node_modules/amazon-chime-sdk-js/build/scheduler/AsyncScheduler.js");\nconst Types_1 = __webpack_require__(/*! ../utils/Types */ "./node_modules/amazon-chime-sdk-js/build/utils/Types.js");\nconst DefaultSimulcastUplinkPolicyForContentShare_1 = __webpack_require__(/*! ../videouplinkbandwidthpolicy/DefaultSimulcastUplinkPolicyForContentShare */ "./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/DefaultSimulcastUplinkPolicyForContentShare.js");\nconst ContentShareConstants_1 = __webpack_require__(/*! ./ContentShareConstants */ "./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/ContentShareConstants.js");\nclass DefaultContentShareController {\n constructor(mediaStreamBroker, contentAudioVideo, attendeeAudioVideo) {\n this.mediaStreamBroker = mediaStreamBroker;\n this.contentAudioVideo = contentAudioVideo;\n this.attendeeAudioVideo = attendeeAudioVideo;\n this.observerQueue = new Set();\n this.destroyed = false;\n this.contentAudioVideo.addObserver(this);\n this.setupContentShareEvents();\n }\n static createContentShareMeetingSessionConfigure(configuration) {\n const contentShareConfiguration = new MeetingSessionConfiguration_1.default();\n contentShareConfiguration.meetingId = configuration.meetingId;\n contentShareConfiguration.externalMeetingId = configuration.externalMeetingId;\n contentShareConfiguration.urls = configuration.urls;\n contentShareConfiguration.disablePeriodicKeyframeRequestOnContentSender =\n configuration.disablePeriodicKeyframeRequestOnContentSender;\n contentShareConfiguration.credentials = new MeetingSessionCredentials_1.default();\n contentShareConfiguration.credentials.attendeeId =\n configuration.credentials.attendeeId + ContentShareConstants_1.default.Modality;\n contentShareConfiguration.credentials.externalUserId = configuration.credentials.externalUserId;\n contentShareConfiguration.credentials.joinToken =\n configuration.credentials.joinToken + ContentShareConstants_1.default.Modality;\n return contentShareConfiguration;\n }\n setContentAudioProfile(audioProfile) {\n this.contentAudioVideo.setAudioProfile(audioProfile);\n }\n enableSimulcastForContentShare(enable, encodingParams) {\n if (enable) {\n this.contentAudioVideo.configuration.enableSimulcastForUnifiedPlanChromiumBasedBrowsers = true;\n this.contentAudioVideo.configuration.videoUplinkBandwidthPolicy = new DefaultSimulcastUplinkPolicyForContentShare_1.default(this.contentAudioVideo.logger, encodingParams);\n }\n else {\n this.contentAudioVideo.configuration.enableSimulcastForUnifiedPlanChromiumBasedBrowsers = false;\n this.contentAudioVideo.configuration.videoUplinkBandwidthPolicy = undefined;\n }\n }\n startContentShare(stream) {\n return __awaiter(this, void 0, void 0, function* () {\n if (!stream) {\n return;\n }\n this.mediaStreamBroker.mediaStream = stream;\n for (let i = 0; i < this.mediaStreamBroker.mediaStream.getTracks().length; i++) {\n this.mediaStreamBroker.mediaStream.getTracks()[i].addEventListener(\'ended\', () => {\n this.stopContentShare();\n });\n }\n this.contentAudioVideo.start();\n });\n }\n startContentShareFromScreenCapture(sourceId, frameRate) {\n return __awaiter(this, void 0, void 0, function* () {\n const mediaStream = yield this.mediaStreamBroker.acquireScreenCaptureDisplayInputStream(sourceId, frameRate);\n yield this.startContentShare(mediaStream);\n return mediaStream;\n });\n }\n pauseContentShare() {\n if (this.mediaStreamBroker.toggleMediaStream(false)) {\n this.forEachContentShareObserver(observer => {\n Types_1.Maybe.of(observer.contentShareDidPause).map(f => f.call(observer));\n });\n }\n }\n unpauseContentShare() {\n if (this.mediaStreamBroker.toggleMediaStream(true)) {\n this.forEachContentShareObserver(observer => {\n Types_1.Maybe.of(observer.contentShareDidUnpause).map(f => f.call(observer));\n });\n }\n }\n setContentShareVideoCodecPreferences(preferences) {\n this.contentAudioVideo.setVideoCodecSendPreferences(preferences);\n }\n destroy() {\n return __awaiter(this, void 0, void 0, function* () {\n // Idempotency.\n /* istanbul ignore if */\n if (!this.contentAudioVideo) {\n return;\n }\n this.destroyed = true;\n this.contentAudioVideo.removeObserver(this);\n this.stopContentShare();\n this.observerQueue.clear();\n this.contentAudioVideo = undefined;\n this.attendeeAudioVideo = undefined;\n this.mediaStreamBroker = undefined;\n });\n }\n stopContentShare() {\n this.contentAudioVideo.stop();\n this.mediaStreamBroker.cleanup();\n }\n addContentShareObserver(observer) {\n this.observerQueue.add(observer);\n }\n removeContentShareObserver(observer) {\n this.observerQueue.delete(observer);\n }\n forEachContentShareObserver(observerFunc) {\n for (const observer of this.observerQueue) {\n AsyncScheduler_1.default.nextTick(() => {\n if (this.observerQueue.has(observer)) {\n observerFunc(observer);\n }\n });\n }\n }\n audioVideoDidStart() {\n if (this.mediaStreamBroker.mediaStream.getVideoTracks().length > 0) {\n this.contentAudioVideo.videoTileController.startLocalVideoTile();\n }\n }\n audioVideoDidStop(_sessionStatus) {\n // If the content attendee got dropped or could not connect, stopContentShare will not be called\n // so make sure to clean up the media stream.\n this.mediaStreamBroker.cleanup();\n if (this.contentShareTile) {\n this.attendeeAudioVideo.videoTileController.removeVideoTile(this.contentShareTile.id());\n this.contentShareTile = null;\n }\n this.forEachContentShareObserver(observer => {\n Types_1.Maybe.of(observer.contentShareDidStop).map(f => f.call(observer));\n });\n }\n setupContentShareEvents() {\n // We use realtimeSubscribeToAttendeeIdPresence instead of audioVideoDidStart because audioVideoDidStart fires\n // before the capacity check in Tincan while when realtimeSubscribeToAttendeeIdPresence fires, we know the\n // content attendee has been able to pass the capacity check and join the call so we can start the local\n // content share video\n this.attendeeAudioVideo.realtimeController.realtimeSubscribeToAttendeeIdPresence((attendeeId, present, _externalUserId, _dropped) => {\n const isContentAttendee = new DefaultModality_1.default(attendeeId).hasModality(DefaultModality_1.default.MODALITY_CONTENT);\n const isSelfAttendee = new DefaultModality_1.default(attendeeId).base() ===\n this.attendeeAudioVideo.configuration.credentials.attendeeId;\n if (!isContentAttendee || !isSelfAttendee || !present || this.contentShareTile) {\n return;\n }\n const stream = this.mediaStreamBroker.mediaStream;\n if (stream === null || stream === void 0 ? void 0 : stream.getVideoTracks().length) {\n this.contentShareTile = this.attendeeAudioVideo.videoTileController.addVideoTile();\n const track = stream.getVideoTracks()[0];\n let width, height;\n if (track.getSettings) {\n const cap = track.getSettings();\n width = cap.width;\n height = cap.height;\n }\n else {\n const cap = track.getCapabilities();\n width = cap.width;\n height = cap.height;\n }\n this.contentShareTile.bindVideoStream(this.contentAudioVideo.configuration.credentials.attendeeId, false, stream, width, height, null, this.contentAudioVideo.configuration.credentials.externalUserId);\n }\n this.forEachContentShareObserver(observer => {\n Types_1.Maybe.of(observer.contentShareDidStart).map(f => f.call(observer));\n });\n });\n }\n}\nexports["default"] = DefaultContentShareController;\n//# sourceMappingURL=DefaultContentShareController.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/DefaultContentShareController.js?')},"./node_modules/amazon-chime-sdk-js/build/cspmonitor/CSPMonitor.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nclass CSPMonitor {\n /* istanbul ignore next */\n static register() {\n if (!('document' in __webpack_require__.g) || !document.addEventListener) {\n return;\n }\n if (CSPMonitor.shouldRegisterCSPMonitor) {\n if (!CSPMonitor.added) {\n document.addEventListener('securitypolicyviolation', CSPMonitor.listener);\n CSPMonitor.added = true;\n }\n }\n }\n /* istanbul ignore next */\n static unregister() {\n if (!('document' in __webpack_require__.g) || !document.removeEventListener) {\n return;\n }\n document.removeEventListener('securitypolicyviolation', CSPMonitor.listener);\n CSPMonitor.loggers = new Set();\n CSPMonitor.added = false;\n }\n static disable() {\n CSPMonitor.shouldRegisterCSPMonitor = false;\n CSPMonitor.unregister();\n }\n static addLogger(logger) {\n if (logger) {\n CSPMonitor.loggers.add(logger);\n }\n }\n static removeLogger(logger) {\n if (logger) {\n CSPMonitor.loggers.delete(logger);\n }\n }\n}\nexports[\"default\"] = CSPMonitor;\nCSPMonitor.loggers = new Set();\nCSPMonitor.shouldRegisterCSPMonitor = true;\nCSPMonitor.added = false;\n/* istanbul ignore next */\nCSPMonitor.listener = (event) => {\n const message = 'Security Policy Violation\\n' +\n `Blocked URI: ${event.blockedURI}\\n` +\n `Violated Directive: ${event.violatedDirective}\\n` +\n `Original Policy: ${event.originalPolicy}\\n` +\n `Document URI: ${event.documentURI}\\n` +\n `Source File: ${event.sourceFile}\\n` +\n `Line No.: ${event.lineNumber}\\n`;\n for (const logger of CSPMonitor.loggers) {\n logger.error(message);\n }\n if (CSPMonitor.loggers.size === 0) {\n console.error(message);\n }\n};\n//# sourceMappingURL=CSPMonitor.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/cspmonitor/CSPMonitor.js?")},"./node_modules/amazon-chime-sdk-js/build/datamessage/DataMessage.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n/* eslint @typescript-eslint/no-explicit-any: 0 */\nclass DataMessage {\n constructor(timestampMs, topic, data, senderAttendeeId, senderExternalUserId, throttled) {\n this.timestampMs = timestampMs;\n this.topic = topic;\n this.data = data;\n this.senderAttendeeId = senderAttendeeId;\n this.senderExternalUserId = senderExternalUserId;\n this.throttled = !!throttled;\n }\n /**\n * Helper conversion methods to convert {@link Uint8Array} data to string\n */\n text() {\n return new TextDecoder().decode(this.data);\n }\n /**\n * Helper conversion methods to convert {@link Uint8Array} data to JSON\n */\n json() {\n return JSON.parse(new TextDecoder().decode(this.data));\n }\n}\nexports["default"] = DataMessage;\n//# sourceMappingURL=DataMessage.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/datamessage/DataMessage.js?')},"./node_modules/amazon-chime-sdk-js/build/destroyable/Destroyable.js":(__unused_webpack_module,exports)=>{"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.isDestroyable = void 0;\n/**\n * Type guard for `Destroyable`.\n *\n * @param x A value that might implement the `Destroyable` interface.\n * @returns Whether the value implements `Destroyable`.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction isDestroyable(x) {\n return x && 'destroy' in x;\n}\nexports.isDestroyable = isDestroyable;\n//# sourceMappingURL=Destroyable.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/destroyable/Destroyable.js?")},"./node_modules/amazon-chime-sdk-js/build/devicecontroller/AudioTransformDevice.js":(__unused_webpack_module,exports)=>{"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.isAudioTransformDevice = void 0;\n/**\n * `isAudioTransformDevice` is a type guard for {@link AudioTransformDevice}.\n *\n * @param device the value to check.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any,@typescript-eslint/explicit-module-boundary-types\nfunction isAudioTransformDevice(device) {\n return (!!device &&\n typeof device === 'object' &&\n 'mute' in device &&\n 'stop' in device &&\n 'intrinsicDevice' in device);\n}\nexports.isAudioTransformDevice = isAudioTransformDevice;\n//# sourceMappingURL=AudioTransformDevice.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/devicecontroller/AudioTransformDevice.js?")},"./node_modules/amazon-chime-sdk-js/build/devicecontroller/DefaultDeviceController.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst DefaultBrowserBehavior_1 = __webpack_require__(/*! ../browserbehavior/DefaultBrowserBehavior */ \"./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js\");\nconst DefaultMediaDeviceFactory_1 = __webpack_require__(/*! ../mediadevicefactory/DefaultMediaDeviceFactory */ \"./node_modules/amazon-chime-sdk-js/build/mediadevicefactory/DefaultMediaDeviceFactory.js\");\nconst AsyncScheduler_1 = __webpack_require__(/*! ../scheduler/AsyncScheduler */ \"./node_modules/amazon-chime-sdk-js/build/scheduler/AsyncScheduler.js\");\nconst PromiseQueue_1 = __webpack_require__(/*! ../utils/PromiseQueue */ \"./node_modules/amazon-chime-sdk-js/build/utils/PromiseQueue.js\");\nconst Types_1 = __webpack_require__(/*! ../utils/Types */ \"./node_modules/amazon-chime-sdk-js/build/utils/Types.js\");\nconst DefaultVideoTile_1 = __webpack_require__(/*! ../videotile/DefaultVideoTile */ \"./node_modules/amazon-chime-sdk-js/build/videotile/DefaultVideoTile.js\");\nconst AudioTransformDevice_1 = __webpack_require__(/*! ./AudioTransformDevice */ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/AudioTransformDevice.js\");\nconst DeviceSelection_1 = __webpack_require__(/*! ./DeviceSelection */ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/DeviceSelection.js\");\nconst GetUserMediaError_1 = __webpack_require__(/*! ./GetUserMediaError */ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/GetUserMediaError.js\");\nconst NotFoundError_1 = __webpack_require__(/*! ./NotFoundError */ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/NotFoundError.js\");\nconst NotReadableError_1 = __webpack_require__(/*! ./NotReadableError */ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/NotReadableError.js\");\nconst OverconstrainedError_1 = __webpack_require__(/*! ./OverconstrainedError */ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/OverconstrainedError.js\");\nconst PermissionDeniedError_1 = __webpack_require__(/*! ./PermissionDeniedError */ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/PermissionDeniedError.js\");\nconst TypeError_1 = __webpack_require__(/*! ./TypeError */ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/TypeError.js\");\nconst VideoQualitySettings_1 = __webpack_require__(/*! ./VideoQualitySettings */ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/VideoQualitySettings.js\");\nconst VideoTransformDevice_1 = __webpack_require__(/*! ./VideoTransformDevice */ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/VideoTransformDevice.js\");\nclass DefaultDeviceController {\n constructor(logger, options, browserBehavior = new DefaultBrowserBehavior_1.default(), eventController) {\n this.logger = logger;\n this.browserBehavior = browserBehavior;\n this.eventController = eventController;\n this.deviceInfoCache = null;\n this.activeDevices = { audio: null, video: null };\n // `chosenVideoTransformDevice` is tracked and owned by device controller.\n // It is saved when `chooseVideoInputDevice` is called with VideoTransformDevice object.\n this.chosenVideoTransformDevice = null;\n this.audioOutputDeviceId = undefined;\n this.deviceChangeObservers = new Set();\n this.mediaStreamBrokerObservers = new Set();\n this.deviceLabelTrigger = () => {\n return navigator.mediaDevices.getUserMedia({ audio: true, video: true });\n };\n this.audioInputDestinationNode = null;\n this.audioInputSourceNode = null;\n this.videoInputQualitySettings = null;\n this.useWebAudio = false;\n this.useMediaConstraintsFallback = true;\n this.audioInputTaskQueue = new PromiseQueue_1.default();\n this.videoInputTaskQueue = new PromiseQueue_1.default();\n this.muted = false;\n // This handles the dispatch of `mute` and `unmute` events from audio tracks.\n // There's a bit of a semantic mismatch here if input streams allow individual component tracks to be muted,\n // but addressing that gap is not feasible in our stream-oriented world.\n this.mediaStreamMuteObserver = (id, muted) => {\n for (const observer of this.deviceChangeObservers) {\n AsyncScheduler_1.default.nextTick(() => {\n /* istanbul ignore else */\n if (this.deviceChangeObservers.has(observer) && observer.audioInputMuteStateChanged) {\n observer.audioInputMuteStateChanged(id, muted);\n }\n });\n }\n };\n this.alreadyHandlingDeviceChange = false;\n const { enableWebAudio = false, useMediaConstraintsFallback = true } = options || {};\n this.useWebAudio = enableWebAudio;\n this.useMediaConstraintsFallback = useMediaConstraintsFallback;\n this.videoInputQualitySettings = new VideoQualitySettings_1.default(DefaultDeviceController.defaultVideoWidth, DefaultDeviceController.defaultVideoHeight, DefaultDeviceController.defaultVideoFrameRate);\n const dimension = this.browserBehavior.requiresResolutionAlignment(this.videoInputQualitySettings.videoWidth, this.videoInputQualitySettings.videoHeight);\n this.videoInputQualitySettings.videoWidth = dimension[0];\n this.videoInputQualitySettings.videoHeight = dimension[1];\n this.logger.info(`DefaultDeviceController video dimension ${this.videoInputQualitySettings.videoWidth} x ${this.videoInputQualitySettings.videoHeight}`);\n try {\n this.mediaDeviceWrapper = new DefaultMediaDeviceFactory_1.default().create();\n const supportedConstraints = navigator.mediaDevices.getSupportedConstraints();\n this.logger.info(`Supported Constraints in this browser ${JSON.stringify(supportedConstraints)}`);\n }\n catch (error) {\n logger.error(error.message);\n }\n }\n isWatchingForDeviceChanges() {\n return !!this.onDeviceChangeCallback;\n }\n ensureWatchingDeviceChanges() {\n var _a;\n if (this.isWatchingForDeviceChanges()) {\n return;\n }\n this.logger.info('Starting devicechange listener.');\n this.onDeviceChangeCallback = () => {\n this.logger.info('Device change event callback is triggered');\n this.handleDeviceChange();\n };\n (_a = this.mediaDeviceWrapper) === null || _a === void 0 ? void 0 : _a.addEventListener('devicechange', this.onDeviceChangeCallback);\n }\n /**\n * Unsubscribe from the `devicechange` event, which allows the device controller to\n * update its device cache.\n */\n stopWatchingDeviceChanges() {\n var _a;\n if (!this.isWatchingForDeviceChanges()) {\n return;\n }\n this.logger.info('Stopping devicechange listener.');\n (_a = this.mediaDeviceWrapper) === null || _a === void 0 ? void 0 : _a.removeEventListener('devicechange', this.onDeviceChangeCallback);\n this.onDeviceChangeCallback = undefined;\n }\n shouldObserveDeviceChanges() {\n if (this.deviceChangeObservers.size) {\n return true;\n }\n const hasActiveDevices = (this.activeDevices['audio'] && this.activeDevices['audio'].constraints !== null) ||\n (this.activeDevices['video'] && this.activeDevices['video'].constraints !== null) ||\n !!this.audioOutputDeviceId;\n return hasActiveDevices;\n }\n watchForDeviceChangesIfNecessary() {\n if (this.shouldObserveDeviceChanges()) {\n this.ensureWatchingDeviceChanges();\n }\n else {\n this.stopWatchingDeviceChanges();\n }\n }\n destroy() {\n return __awaiter(this, void 0, void 0, function* () {\n // Remove device change callbacks.\n this.stopWatchingDeviceChanges();\n // Deselect any audio input devices and throw away the streams.\n // Discard the current video device, if there is one.\n // Discard any audio or video transforms.\n yield this.stopAudioInput();\n yield this.stopVideoInput();\n });\n }\n listAudioInputDevices(forceUpdate = false) {\n return __awaiter(this, void 0, void 0, function* () {\n const result = yield this.listDevicesOfKind('audioinput', forceUpdate);\n this.trace('listAudioInputDevices', forceUpdate, result);\n return result;\n });\n }\n listVideoInputDevices(forceUpdate = false) {\n return __awaiter(this, void 0, void 0, function* () {\n const result = yield this.listDevicesOfKind('videoinput', forceUpdate);\n this.trace('listVideoInputDevices', forceUpdate, result);\n return result;\n });\n }\n listAudioOutputDevices(forceUpdate = false) {\n return __awaiter(this, void 0, void 0, function* () {\n const result = yield this.listDevicesOfKind('audiooutput', forceUpdate);\n this.trace('listAudioOutputDevices', forceUpdate, result);\n return result;\n });\n }\n pushAudioMeetingStateForPermissions(audioStream) {\n var _a;\n (_a = this.eventController) === null || _a === void 0 ? void 0 : _a.publishEvent(audioStream === undefined ? 'audioInputUnselected' : 'audioInputSelected');\n }\n pushVideoMeetingStateForPermissions(videoStream) {\n var _a;\n (_a = this.eventController) === null || _a === void 0 ? void 0 : _a.publishEvent(videoStream === undefined ? 'videoInputUnselected' : 'videoInputSelected');\n }\n startAudioInput(device) {\n return __awaiter(this, void 0, void 0, function* () {\n return yield this.audioInputTaskQueue.add(() => this.startAudioInputTask(device));\n });\n }\n startAudioInputTask(device) {\n var _a;\n return __awaiter(this, void 0, void 0, function* () {\n if (device === undefined) {\n this.logger.error('Audio input device cannot be undefined');\n return undefined;\n }\n try {\n if (AudioTransformDevice_1.isAudioTransformDevice(device)) {\n // N.B., do not JSON.stringify here — for some kinds of devices this\n // will cause a cyclic object reference error.\n this.logger.info(`Choosing transform input device ${device}`);\n yield this.chooseAudioTransformInputDevice(device);\n }\n else {\n this.logger.info(`Choosing intrinsic audio input device ${device}`);\n this.removeTransform();\n yield this.chooseInputIntrinsicDevice('audio', device);\n }\n this.trace('startAudioInputDevice', device, `success`);\n // For web audio, the audio destination stream stays the same so audio input did not change\n if (this.useWebAudio) {\n this.attachAudioInputStreamToAudioContext(this.activeDevices['audio'].stream);\n this.pushAudioMeetingStateForPermissions(this.getMediaStreamDestinationNode().stream);\n yield ((_a = this.transform) === null || _a === void 0 ? void 0 : _a.device.mute(this.muted));\n return this.getMediaStreamDestinationNode().stream;\n }\n else {\n this.publishAudioInputDidChangeEvent(this.activeDevices['audio'].stream);\n return this.activeDevices['audio'].stream;\n }\n }\n catch (error) {\n throw error;\n }\n });\n }\n stopAudioInput() {\n return __awaiter(this, void 0, void 0, function* () {\n return this.audioInputTaskQueue.add(() => this.stopAudioInputTask());\n });\n }\n stopAudioInputTask() {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n if (this.useWebAudio) {\n this.releaseAudioTransformStream();\n return;\n }\n this.stopTracksAndRemoveCallbacks('audio');\n }\n finally {\n this.watchForDeviceChangesIfNecessary();\n this.publishAudioInputDidChangeEvent(undefined);\n }\n });\n }\n chooseAudioTransformInputDevice(device) {\n var _a;\n return __awaiter(this, void 0, void 0, function* () {\n if (((_a = this.transform) === null || _a === void 0 ? void 0 : _a.device) === device) {\n return;\n }\n if (!this.useWebAudio) {\n throw new Error('Cannot apply transform device without enabling Web Audio.');\n }\n const context = DefaultDeviceController.getAudioContext();\n if (context instanceof OfflineAudioContext) {\n // Nothing to do.\n }\n else {\n switch (context.state) {\n case 'running':\n // Nothing to do.\n break;\n case 'closed':\n // A closed context cannot be used for creating nodes, so the correct\n // thing to do is to raise a descriptive error sooner.\n throw new Error('Cannot choose a transform device with a closed audio context.');\n case 'suspended':\n // A context might be suspended after page load. We try to resume it\n // here, otherwise audio won't work.\n yield context.resume();\n }\n }\n let nodes;\n try {\n nodes = yield device.createAudioNode(context);\n }\n catch (e) {\n this.logger.error(`Unable to create transform device node: ${e}.`);\n throw e;\n }\n // Pick the plain ol' inner device as the source. It will be\n // connected to the node.\n const inner = yield device.intrinsicDevice();\n yield this.chooseInputIntrinsicDevice('audio', inner);\n this.logger.debug(`Got inner stream: ${inner}.`);\n // Otherwise, continue: hook up the new node.\n this.setTransform(device, nodes);\n });\n }\n chooseVideoTransformInputDevice(device) {\n var _a;\n return __awaiter(this, void 0, void 0, function* () {\n if (device === this.chosenVideoTransformDevice) {\n this.logger.info('Reselecting same VideoTransformDevice');\n return;\n }\n const prevVideoTransformDevice = this.chosenVideoTransformDevice;\n if (prevVideoTransformDevice) {\n this.logger.info('Switched from previous VideoTransformDevice');\n }\n const wasUsingTransformDevice = !!prevVideoTransformDevice;\n const inner = yield device.intrinsicDevice();\n const canReuseMediaStream = this.isMediaStreamReusableByDeviceId((_a = this.activeDevices['video']) === null || _a === void 0 ? void 0 : _a.stream, inner);\n if (!canReuseMediaStream) {\n this.logger.info('video transform device needs new intrinsic device');\n if (wasUsingTransformDevice) {\n // detach input media stream - turn off the camera or leave it be if inner is media stream\n prevVideoTransformDevice.onOutputStreamDisconnect();\n }\n this.chosenVideoTransformDevice = device;\n // VideoTransformDevice owns input MediaStream\n this.activeDevices['video'] = null;\n yield this.chooseInputIntrinsicDevice('video', inner);\n this.logger.info('apply processors to transform');\n yield this.chosenVideoTransformDevice.transformStream(this.activeDevices['video'].stream);\n return;\n }\n // When saved stream is reusable, only switch the saved stream to filtered stream for sending\n // but keep the saved stream intact.\n // Note: to keep the chosen media stream intact, it is important to avoid a full stop\n // because videoTileUpdate can be called when video is stopped and user might call `bindVideoElement` to disconnect the element.\n // In current implementation, disconnecting the element will `hard` stop the media stream.\n // Update device and stream\n this.chosenVideoTransformDevice = device;\n this.logger.info('video transform device uses previous stream');\n // `transformStream` will start processing.\n this.logger.info('apply processors to transform');\n yield device.transformStream(this.activeDevices['video'].stream);\n });\n }\n startVideoInput(device) {\n return __awaiter(this, void 0, void 0, function* () {\n return yield this.videoInputTaskQueue.add(() => this.startVideoInputTask(device));\n });\n }\n startVideoInputTask(device) {\n return __awaiter(this, void 0, void 0, function* () {\n if (!device) {\n this.logger.error('Invalid video input device');\n return undefined;\n }\n try {\n if (VideoTransformDevice_1.isVideoTransformDevice(device)) {\n this.logger.info(`Choosing video transform device ${device}`);\n yield this.chooseVideoTransformInputDevice(device);\n this.publishVideoInputDidChangeEvent(this.chosenVideoTransformDevice.outputMediaStream);\n return this.chosenVideoTransformDevice.outputMediaStream;\n }\n // handle direct switching from VideoTransformDevice to Device\n // From WebRTC point, it is a device switching.\n if (this.chosenVideoInputIsTransformDevice()) {\n // disconnect old stream\n this.chosenVideoTransformDevice.onOutputStreamDisconnect();\n this.chosenVideoTransformDevice = null;\n }\n yield this.chooseInputIntrinsicDevice('video', device);\n this.trace('startVideoInputDevice', device);\n this.publishVideoInputDidChangeEvent(this.activeDevices['video'].stream);\n return this.activeDevices['video'].stream;\n }\n catch (error) {\n throw error;\n }\n });\n }\n stopVideoInput() {\n return __awaiter(this, void 0, void 0, function* () {\n return this.videoInputTaskQueue.add(() => this.stopVideoInputTask());\n });\n }\n stopVideoInputTask() {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n if (this.chosenVideoInputIsTransformDevice()) {\n this.releaseVideoTransformStream();\n return;\n }\n this.stopTracksAndRemoveCallbacks('video');\n }\n finally {\n this.watchForDeviceChangesIfNecessary();\n this.publishVideoInputDidChangeEvent(undefined);\n }\n });\n }\n chooseAudioOutput(deviceId) {\n return __awaiter(this, void 0, void 0, function* () {\n this.audioOutputDeviceId = deviceId;\n this.watchForDeviceChangesIfNecessary();\n const deviceInfo = this.deviceInfoFromDeviceId('audiooutput', this.audioOutputDeviceId);\n this.publishAudioOutputDidChangeEvent(deviceInfo);\n this.trace('chooseAudioOutput', deviceId, null);\n return;\n });\n }\n addDeviceChangeObserver(observer) {\n this.logger.info('adding device change observer');\n this.deviceChangeObservers.add(observer);\n this.watchForDeviceChangesIfNecessary();\n this.trace('addDeviceChangeObserver');\n }\n removeDeviceChangeObserver(observer) {\n this.logger.info('removing device change observer');\n this.deviceChangeObservers.delete(observer);\n this.watchForDeviceChangesIfNecessary();\n this.trace('removeDeviceChangeObserver');\n }\n createAnalyserNodeForAudioInput() {\n var _a, _b;\n if (!this.activeDevices['audio']) {\n return null;\n }\n // If there is a WebAudio node in the graph, we use that as the source instead of the stream.\n const node = (_b = (_a = this.transform) === null || _a === void 0 ? void 0 : _a.nodes) === null || _b === void 0 ? void 0 : _b.end;\n if (node) {\n const analyser = node.context.createAnalyser();\n analyser.removeOriginalInputs = () => {\n try {\n node.disconnect(analyser);\n }\n catch (e) {\n // This can fail in some unusual cases, but this is best-effort.\n }\n };\n node.connect(analyser);\n return analyser;\n }\n return this.createAnalyserNodeForRawAudioInput();\n }\n //\n // N.B., this bypasses any applied transform node.\n //\n createAnalyserNodeForRawAudioInput() {\n if (!this.activeDevices['audio']) {\n return null;\n }\n return this.createAnalyserNodeForStream(this.activeDevices['audio'].stream);\n }\n createAnalyserNodeForStream(stream) {\n const audioContext = DefaultDeviceController.getAudioContext();\n const analyser = audioContext.createAnalyser();\n const source = audioContext.createMediaStreamSource(stream);\n source.connect(analyser);\n this.trace('createAnalyserNodeForAudioInput');\n analyser.removeOriginalInputs = () => {\n try {\n source.disconnect(analyser);\n }\n catch (e) {\n // This can fail in some unusual cases, but this is best-effort.\n }\n };\n return analyser;\n }\n startVideoPreviewForVideoInput(element) {\n if (!this.activeDevices['video']) {\n this.logger.warn('cannot bind video preview since video input device has not been chosen');\n this.trace('startVideoPreviewForVideoInput', element.id);\n return;\n }\n DefaultVideoTile_1.default.connectVideoStreamToVideoElement(this.chosenVideoTransformDevice\n ? this.chosenVideoTransformDevice.outputMediaStream\n : this.activeDevices['video'].stream, element, true);\n this.trace('startVideoPreviewForVideoInput', element.id);\n }\n stopVideoPreviewForVideoInput(element) {\n DefaultVideoTile_1.default.disconnectVideoStreamFromVideoElement(element, false);\n this.trace('stopVideoPreviewForVideoInput', element.id);\n }\n setDeviceLabelTrigger(trigger) {\n // Discard the cache if it was populated with unlabeled devices.\n if (this.deviceInfoCache) {\n for (const device of this.deviceInfoCache) {\n if (!device.label) {\n this.deviceInfoCache = null;\n break;\n }\n }\n }\n this.deviceLabelTrigger = trigger;\n this.trace('setDeviceLabelTrigger');\n }\n mixIntoAudioInput(stream) {\n let node = null;\n if (this.useWebAudio) {\n node = DefaultDeviceController.getAudioContext().createMediaStreamSource(stream);\n node.connect(this.getMediaStreamOutputNode());\n }\n else {\n this.logger.warn('WebAudio is not enabled, mixIntoAudioInput will not work');\n }\n this.trace('mixIntoAudioInput', stream.id);\n return node;\n }\n chooseVideoInputQuality(width, height, frameRate) {\n const dimension = this.browserBehavior.requiresResolutionAlignment(width, height);\n this.videoInputQualitySettings = new VideoQualitySettings_1.default(dimension[0], dimension[1], frameRate);\n }\n getVideoInputQualitySettings() {\n return this.videoInputQualitySettings;\n }\n acquireAudioInputStream() {\n return __awaiter(this, void 0, void 0, function* () {\n if (!this.activeDevices['audio']) {\n this.logger.info(`No audio device chosen, creating empty audio device`);\n yield this.startAudioInput(null);\n }\n if (this.useWebAudio) {\n const dest = this.getMediaStreamDestinationNode();\n return dest.stream;\n }\n return this.activeDevices['audio'].stream;\n });\n }\n acquireVideoInputStream() {\n return __awaiter(this, void 0, void 0, function* () {\n if (!this.activeDevices['video']) {\n throw new Error(`No video device chosen`);\n }\n if (this.chosenVideoInputIsTransformDevice()) {\n return this.chosenVideoTransformDevice.outputMediaStream;\n }\n return this.activeDevices['video'].stream;\n });\n }\n acquireDisplayInputStream(_streamConstraints) {\n return __awaiter(this, void 0, void 0, function* () {\n throw new Error('unsupported');\n });\n }\n /**\n *\n * We need to do three things to clean up audio input\n *\n * * Close the tracks of the source stream.\n * * Remove the transform.\n * * Clean up the intrinsic stream's callback -- that's the stream that's tracked in\n * `activeDevices` and needs to have its callbacks removed.\n */\n releaseAudioTransformStream() {\n this.logger.info('Stopping audio track for Web Audio graph');\n this.stopTracksAndRemoveCallbacks('audio');\n this.logger.info('Removing audio transform, if there is one.');\n this.removeTransform();\n // Remove the input and output nodes. They will be recreated later if\n // needed.\n /* istanbul ignore else */\n if (this.audioInputSourceNode) {\n this.audioInputSourceNode.disconnect();\n this.audioInputSourceNode = undefined;\n }\n /* istanbul ignore else */\n if (this.audioInputDestinationNode) {\n this.audioInputDestinationNode.disconnect();\n this.audioInputDestinationNode = undefined;\n }\n }\n /**\n *\n * We need to do three things to clean up video input\n *\n * * Close the tracks of the source stream.\n * * Remove the transform.\n * * Clean up the intrinsic stream's callback -- that's the stream that's tracked in\n * `activeDevices` and needs to have its callbacks removed.\n */\n releaseVideoTransformStream() {\n this.logger.info('Stopping video track for transform');\n this.stopTracksAndRemoveCallbacks('video');\n this.logger.info('Disconnecting video transform');\n this.chosenVideoTransformDevice.onOutputStreamDisconnect();\n this.chosenVideoTransformDevice = null;\n }\n stopTracksAndRemoveCallbacks(kind) {\n const activeDevice = this.activeDevices[kind];\n // Just-in-case error handling.\n /* istanbul ignore if */\n if (!activeDevice) {\n return;\n }\n /* istanbul ignore next */\n const endedCallback = activeDevice.endedCallback;\n const trackMuteCallback = activeDevice.trackMuteCallback;\n const trackUnmuteCallback = activeDevice.trackUnmuteCallback;\n for (const track of activeDevice.stream.getTracks()) {\n track.stop();\n /* istanbul ignore else */\n if (endedCallback) {\n track.removeEventListener('ended', endedCallback);\n }\n /* istanbul ignore else */\n if (trackMuteCallback) {\n track.removeEventListener('mute', trackMuteCallback);\n }\n /* istanbul ignore else */\n if (trackUnmuteCallback) {\n track.removeEventListener('unmute', trackUnmuteCallback);\n }\n delete activeDevice.endedCallback;\n delete activeDevice.trackMuteCallback;\n delete activeDevice.trackUnmuteCallback;\n delete this.activeDevices[kind];\n }\n }\n chosenVideoInputIsTransformDevice() {\n return !!this.chosenVideoTransformDevice;\n }\n muteLocalAudioInputStream() {\n this.toggleLocalAudioInputStream(false);\n }\n unmuteLocalAudioInputStream() {\n this.toggleLocalAudioInputStream(true);\n }\n toggleLocalAudioInputStream(enabled) {\n var _a;\n let audioDevice = this.activeDevices['audio'];\n if (this.useWebAudio) {\n audioDevice = this.getMediaStreamDestinationNode();\n }\n if (!audioDevice) {\n return;\n }\n for (const track of audioDevice.stream.getTracks()) {\n if (track.enabled === enabled) {\n continue;\n }\n track.enabled = enabled;\n }\n if (this.muted !== !enabled) {\n this.muted = !enabled;\n (_a = this.transform) === null || _a === void 0 ? void 0 : _a.device.mute(this.muted);\n }\n }\n static getIntrinsicDeviceId(device) {\n if (!device) {\n return undefined;\n }\n if (typeof device === 'string') {\n return device;\n }\n if (device.id) {\n return device.id;\n }\n const constraints = device;\n const deviceIdConstraints = constraints.deviceId;\n if (!deviceIdConstraints) {\n return undefined;\n }\n if (typeof deviceIdConstraints === 'string' || Array.isArray(deviceIdConstraints)) {\n return deviceIdConstraints;\n }\n const constraintStringParams = deviceIdConstraints;\n if (typeof constraintStringParams.exact === 'string' ||\n Array.isArray(constraintStringParams.exact)) {\n return constraintStringParams.exact;\n }\n return undefined;\n }\n static createEmptyAudioDevice() {\n return DefaultDeviceController.synthesizeAudioDevice(0);\n }\n static synthesizeAudioDevice(toneHz) {\n const audioContext = DefaultDeviceController.getAudioContext();\n const outputNode = audioContext.createMediaStreamDestination();\n if (!toneHz) {\n const source = audioContext.createBufferSource();\n // The AudioContext object uses the sample rate of the default output device\n // if not specified. Creating an AudioBuffer object with the output device's\n // sample rate fails in some browsers, e.g. Safari with a Bluetooth headphone.\n try {\n source.buffer = audioContext.createBuffer(1, audioContext.sampleRate * 5, audioContext.sampleRate);\n }\n catch (error) {\n if (error && error.name === 'NotSupportedError') {\n source.buffer = audioContext.createBuffer(1, DefaultDeviceController.defaultSampleRate * 5, DefaultDeviceController.defaultSampleRate);\n }\n else {\n throw error;\n }\n }\n // Some browsers will not play audio out the MediaStreamDestination\n // unless there is actually audio to play, so we add a small amount of\n // noise here to ensure that audio is played out.\n source.buffer.getChannelData(0)[0] = 0.0003;\n source.loop = true;\n source.connect(outputNode);\n source.start();\n }\n else {\n const gainNode = audioContext.createGain();\n gainNode.gain.value = 0.1;\n gainNode.connect(outputNode);\n const oscillatorNode = audioContext.createOscillator();\n oscillatorNode.frequency.value = toneHz;\n oscillatorNode.connect(gainNode);\n oscillatorNode.start();\n }\n return outputNode.stream;\n }\n listDevicesOfKind(deviceKind, forceUpdate) {\n return __awaiter(this, void 0, void 0, function* () {\n if (forceUpdate || this.deviceInfoCache === null || !this.isWatchingForDeviceChanges()) {\n yield this.updateDeviceInfoCacheFromBrowser();\n }\n return this.listCachedDevicesOfKind(deviceKind);\n });\n }\n updateDeviceInfoCacheFromBrowser() {\n var _a, _b;\n return __awaiter(this, void 0, void 0, function* () {\n const doesNotHaveAccessToMediaDevices = typeof MediaDeviceInfo === 'undefined';\n if (doesNotHaveAccessToMediaDevices) {\n this.deviceInfoCache = [];\n return;\n }\n let devices = yield navigator.mediaDevices.enumerateDevices();\n let hasDeviceLabels = true;\n for (const device of devices) {\n if (!device.label) {\n hasDeviceLabels = false;\n break;\n }\n }\n if (!hasDeviceLabels) {\n try {\n this.logger.info('attempting to trigger media device labels since they are hidden');\n const triggerStream = yield this.deviceLabelTrigger();\n devices = yield navigator.mediaDevices.enumerateDevices();\n for (const track of triggerStream.getTracks()) {\n track.stop();\n }\n }\n catch (err) {\n this.logger.info('unable to get media device labels');\n (_a = this.eventController) === null || _a === void 0 ? void 0 : _a.publishEvent('audioInputFailed', {\n audioInputErrorMessage: this.getErrorMessage(err),\n });\n (_b = this.eventController) === null || _b === void 0 ? void 0 : _b.publishEvent('videoInputFailed', {\n videoInputErrorMessage: this.getErrorMessage(err),\n });\n }\n }\n this.logger.debug(`Update device info cache with devices: ${JSON.stringify(devices)}`);\n this.deviceInfoCache = devices;\n });\n }\n listCachedDevicesOfKind(deviceKind) {\n const devicesOfKind = [];\n if (this.deviceInfoCache) {\n for (const device of this.deviceInfoCache) {\n if (device.kind === deviceKind) {\n devicesOfKind.push(device);\n }\n }\n }\n return devicesOfKind;\n }\n handleDeviceChange() {\n return __awaiter(this, void 0, void 0, function* () {\n if (this.deviceInfoCache === null) {\n return;\n }\n if (this.alreadyHandlingDeviceChange) {\n AsyncScheduler_1.default.nextTick(() => {\n this.handleDeviceChange();\n });\n return;\n }\n this.alreadyHandlingDeviceChange = true;\n const oldAudioInputDevices = this.listCachedDevicesOfKind('audioinput');\n const oldVideoInputDevices = this.listCachedDevicesOfKind('videoinput');\n const oldAudioOutputDevices = this.listCachedDevicesOfKind('audiooutput');\n yield this.updateDeviceInfoCacheFromBrowser();\n const newAudioInputDevices = this.listCachedDevicesOfKind('audioinput');\n const newVideoInputDevices = this.listCachedDevicesOfKind('videoinput');\n const newAudioOutputDevices = this.listCachedDevicesOfKind('audiooutput');\n this.forEachObserver((observer) => {\n if (!this.areDeviceListsEqual(oldAudioInputDevices, newAudioInputDevices)) {\n Types_1.Maybe.of(observer.audioInputsChanged).map(f => f.bind(observer)(newAudioInputDevices));\n }\n if (!this.areDeviceListsEqual(oldVideoInputDevices, newVideoInputDevices)) {\n Types_1.Maybe.of(observer.videoInputsChanged).map(f => f.bind(observer)(newVideoInputDevices));\n }\n if (!this.areDeviceListsEqual(oldAudioOutputDevices, newAudioOutputDevices)) {\n Types_1.Maybe.of(observer.audioOutputsChanged).map(f => f.bind(observer)(newAudioOutputDevices));\n }\n });\n this.alreadyHandlingDeviceChange = false;\n });\n }\n handleDeviceStreamEnded(kind, deviceId) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n if (kind === 'audio') {\n this.logger.warn(`Audio input device which was active is no longer available, resetting to null device`);\n yield this.startAudioInput(null); //Need to switch to empty audio device\n }\n else {\n this.logger.warn(`Video input device which was active is no longer available, stopping video`);\n yield this.stopVideoInput();\n }\n }\n catch (e) {\n /* istanbul ignore next */\n this.logger.error('Failed to choose null device after stream ended.');\n }\n if (kind === 'audio') {\n this.forEachObserver((observer) => {\n Types_1.Maybe.of(observer.audioInputStreamEnded).map(f => f.bind(observer)(deviceId));\n });\n }\n else {\n this.forEachObserver((observer) => {\n Types_1.Maybe.of(observer.videoInputStreamEnded).map(f => f.bind(observer)(deviceId));\n });\n }\n });\n }\n forEachObserver(observerFunc) {\n for (const observer of this.deviceChangeObservers) {\n AsyncScheduler_1.default.nextTick(() => {\n /* istanbul ignore else */\n if (this.deviceChangeObservers.has(observer)) {\n observerFunc(observer);\n }\n });\n }\n }\n forEachMediaStreamBrokerObserver(observerFunc) {\n for (const observer of this.mediaStreamBrokerObservers) {\n observerFunc(observer);\n }\n }\n areDeviceListsEqual(a, b) {\n return (JSON.stringify(a.map(device => JSON.stringify(device)).sort()) ===\n JSON.stringify(b.map(device => JSON.stringify(device)).sort()));\n }\n intrinsicDeviceAsMediaStream(device) {\n // @ts-ignore\n return device && device.id ? device : null;\n }\n hasSameMediaStreamId(kind, selection, proposedConstraints) {\n var _a, _b, _c, _d;\n // Checking for stream using the fake constraint created in getMediaStreamConstraints\n let streamId;\n if (kind === 'audio') {\n // @ts-ignore\n streamId = proposedConstraints === null || proposedConstraints === void 0 ? void 0 : proposedConstraints.audio.streamId;\n /* istanbul ignore next */\n // @ts-ignore\n return !!streamId && streamId === ((_b = (_a = selection.constraints) === null || _a === void 0 ? void 0 : _a.audio) === null || _b === void 0 ? void 0 : _b.streamId);\n }\n /* istanbul ignore next */\n // @ts-ignore\n streamId = proposedConstraints === null || proposedConstraints === void 0 ? void 0 : proposedConstraints.video.streamId;\n /* istanbul ignore next */\n // @ts-ignore\n return !!streamId && streamId === ((_d = (_c = selection === null || selection === void 0 ? void 0 : selection.constraints) === null || _c === void 0 ? void 0 : _c.video) === null || _d === void 0 ? void 0 : _d.streamId);\n }\n hasSameGroupId(groupId, kind, device) {\n if (groupId === '') {\n return true;\n }\n const deviceIds = DefaultDeviceController.getIntrinsicDeviceId(device);\n this.logger.debug(`Checking deviceIds ${deviceIds} of type ${typeof deviceIds} with groupId ${groupId}`);\n if (typeof deviceIds === 'string' && groupId === this.getGroupIdFromDeviceId(kind, deviceIds)) {\n return true;\n }\n return false;\n }\n getGroupIdFromDeviceId(kind, deviceId) {\n if (this.deviceInfoCache !== null) {\n const cachedDeviceInfo = this.listCachedDevicesOfKind(`${kind}input`).find((cachedDevice) => cachedDevice.deviceId === deviceId);\n if (cachedDeviceInfo && cachedDeviceInfo.groupId) {\n this.logger.debug(`GroupId of deviceId ${deviceId} found in cache is ${cachedDeviceInfo.groupId}`);\n return cachedDeviceInfo.groupId;\n }\n }\n this.logger.debug(`GroupId of deviceId ${deviceId} found in cache is empty`);\n return '';\n }\n handleGetUserMediaError(error, errorTimeMs) {\n if (!error) {\n throw new GetUserMediaError_1.default(error);\n }\n switch (error.name) {\n case 'NotReadableError':\n case 'TrackStartError':\n throw new NotReadableError_1.default(error);\n case 'NotFoundError':\n case 'DevicesNotFoundError':\n throw new NotFoundError_1.default(error);\n case 'NotAllowedError':\n case 'PermissionDeniedError':\n case 'SecurityError':\n if (errorTimeMs &&\n errorTimeMs < DefaultDeviceController.permissionDeniedOriginDetectionThresholdMs) {\n throw new PermissionDeniedError_1.default(error, 'Permission denied by browser');\n }\n else {\n throw new PermissionDeniedError_1.default(error, 'Permission denied by user');\n }\n case 'OverconstrainedError':\n case 'ConstraintNotSatisfiedError':\n throw new OverconstrainedError_1.default(error);\n case 'TypeError':\n throw new TypeError_1.default(error);\n case 'AbortError':\n default:\n throw new GetUserMediaError_1.default(error);\n }\n }\n /**\n * Check whether a device is already selected.\n *\n * @param kind typically 'audio' or 'video'.\n * @param device the device about to be selected.\n * @param selection the existing device selection of this kind.\n * @param proposedConstraints the constraints that will be used when this device is selected.\n * @returns whether `device` matches `selection` — that is, whether this device is already selected.\n */\n matchesDeviceSelection(kind, device, selection, proposedConstraints) {\n if (selection &&\n selection.stream.active &&\n (this.hasSameMediaStreamId(kind, selection, proposedConstraints) ||\n (selection.groupId !== null && this.hasSameGroupId(selection.groupId, kind, device)))) {\n // TODO: this should be computed within this function.\n this.logger.debug(`Compare current device constraint ${JSON.stringify(selection.constraints)} to proposed constraints ${JSON.stringify(proposedConstraints)}`);\n return selection.matchesConstraints(proposedConstraints);\n }\n return false;\n }\n chooseInputIntrinsicDevice(kind, device) {\n var _a, _b;\n return __awaiter(this, void 0, void 0, function* () {\n // N.B.,: the input device might already have augmented constraints supplied\n // by an `AudioTransformDevice`. `getMediaStreamConstraints` will respect\n // settings supplied by the device.\n const proposedConstraints = this.getMediaStreamConstraints(kind, device);\n // TODO: `matchesConstraints` should really return compatible/incompatible/exact --\n // `applyConstraints` can be used to reuse the active device while changing the\n // requested constraints.\n if (this.matchesDeviceSelection(kind, device, this.activeDevices[kind], proposedConstraints)) {\n this.logger.info(`reusing existing ${kind} input device`);\n return;\n }\n if (this.activeDevices[kind] && this.activeDevices[kind].stream) {\n this.stopTracksAndRemoveCallbacks(kind);\n }\n const startTimeMs = Date.now();\n const newDevice = new DeviceSelection_1.default();\n try {\n this.logger.info(`requesting new ${kind} device with constraint ${JSON.stringify(proposedConstraints)}`);\n const stream = this.intrinsicDeviceAsMediaStream(device);\n if (kind === 'audio' && device === null) {\n newDevice.stream = DefaultDeviceController.createEmptyAudioDevice();\n newDevice.constraints = null;\n }\n else if (stream) {\n this.logger.info(`using media stream ${stream.id} for ${kind} device`);\n newDevice.stream = stream;\n newDevice.constraints = proposedConstraints;\n }\n else {\n newDevice.stream = yield navigator.mediaDevices.getUserMedia(proposedConstraints);\n newDevice.constraints = proposedConstraints;\n }\n yield this.handleNewInputDevice(kind, newDevice);\n }\n catch (error) {\n const errorMessage = this.getErrorMessage(error);\n if (kind === 'audio') {\n (_a = this.eventController) === null || _a === void 0 ? void 0 : _a.publishEvent('audioInputFailed', {\n audioInputErrorMessage: errorMessage,\n });\n }\n else {\n (_b = this.eventController) === null || _b === void 0 ? void 0 : _b.publishEvent('videoInputFailed', {\n videoInputErrorMessage: errorMessage,\n });\n }\n this.logger.error(`failed to get ${kind} device for constraints ${JSON.stringify(proposedConstraints)}: ${errorMessage}`);\n let hasError = true;\n // This is effectively `error instanceof OverconstrainedError` but works in Node.\n if (error && 'constraint' in error) {\n this.logger.error(`Over-constrained by constraint: ${error.constraint}`);\n // Try to reduce the constraints if over-constraints\n if (this.useMediaConstraintsFallback) {\n const fallbackConstraints = this.getMediaStreamConstraints(kind, device, true);\n const fallbackConstraintsJSON = JSON.stringify(fallbackConstraints);\n if (fallbackConstraintsJSON !== JSON.stringify(proposedConstraints)) {\n this.logger.info(`retry requesting new ${kind} device with minimal constraint ${fallbackConstraintsJSON}`);\n try {\n newDevice.stream = yield navigator.mediaDevices.getUserMedia(fallbackConstraints);\n newDevice.constraints = fallbackConstraints;\n yield this.handleNewInputDevice(kind, newDevice);\n hasError = false;\n }\n catch (e) {\n this.logger.error(`failed to get ${kind} device for constraints ${fallbackConstraintsJSON}: ${this.getErrorMessage(e)}`);\n }\n }\n }\n }\n if (hasError) {\n /*\n * If there is any error while acquiring the audio device, we fall back to null device.\n * Reason: If device selection fails (e.g. NotReadableError), the peer connection is left hanging\n * with no active audio track since we release the previously attached track.\n * If no audio packet has yet been sent to the server, the server will not emit the joined event.\n */\n if (kind === 'audio') {\n this.logger.info(`choosing null ${kind} device instead`);\n try {\n newDevice.stream = DefaultDeviceController.createEmptyAudioDevice();\n newDevice.constraints = null;\n yield this.handleNewInputDevice(kind, newDevice);\n }\n catch (error) {\n this.logger.error(`failed to choose null ${kind} device. ${error.name}: ${error.message}`);\n }\n }\n this.handleGetUserMediaError(error, Date.now() - startTimeMs);\n }\n }\n finally {\n this.watchForDeviceChangesIfNecessary();\n }\n });\n }\n getErrorMessage(error) {\n if (!error) {\n return 'UnknownError';\n }\n if (error.name && error.message) {\n return `${error.name}: ${error.message}`;\n }\n if (error.name) {\n return error.name;\n }\n if (error.message) {\n return error.message;\n }\n return 'UnknownError';\n }\n handleNewInputDevice(kind, newDevice) {\n var _a;\n return __awaiter(this, void 0, void 0, function* () {\n this.logger.info(`got ${kind} device for constraints ${JSON.stringify(newDevice.constraints)}`);\n const newDeviceId = (_a = this.getMediaTrackSettings(newDevice.stream)) === null || _a === void 0 ? void 0 : _a.deviceId;\n newDevice.groupId = newDeviceId ? this.getGroupIdFromDeviceId(kind, newDeviceId) : '';\n this.activeDevices[kind] = newDevice;\n this.logger.debug(`Set activeDevice to ${JSON.stringify(newDevice)}`);\n this.watchForDeviceChangesIfNecessary();\n // Add event listener to detect ended event of media track\n // We only monitor the first track, and use its device ID for observer notifications.\n const track = newDevice.stream.getTracks()[0];\n if (track) {\n newDevice.endedCallback = () => {\n // Hard to test, but the safety check is worthwhile.\n /* istanbul ignore else */\n if (this.activeDevices[kind] && this.activeDevices[kind].stream === newDevice.stream) {\n this.handleDeviceStreamEnded(kind, newDeviceId);\n delete newDevice.endedCallback;\n }\n };\n track.addEventListener('ended', newDevice.endedCallback, { once: true });\n }\n // Add event listener to mute/unmute event for audio\n if (kind === 'audio') {\n // We only monitor the first track, and use its device ID for observer notifications.\n const track = newDevice.stream.getAudioTracks()[0];\n if (track) {\n const id = track.getSettings().deviceId || newDevice.stream;\n newDevice.trackMuteCallback = () => {\n this.mediaStreamMuteObserver(id, true);\n };\n newDevice.trackUnmuteCallback = () => {\n this.mediaStreamMuteObserver(id, false);\n };\n track.addEventListener('mute', newDevice.trackMuteCallback, { once: false });\n track.addEventListener('unmute', newDevice.trackUnmuteCallback, { once: false });\n this.logger.debug('Notifying mute state after selection');\n if (track.muted) {\n newDevice.trackMuteCallback();\n }\n else {\n newDevice.trackUnmuteCallback();\n }\n }\n }\n });\n }\n calculateMediaStreamConstraints(kind, deviceId, groupId, minimal) {\n // No need for any constraints if we want minimal constraint and there is only one device\n if (minimal && this.listCachedDevicesOfKind(`${kind}input`).length === 1) {\n return true;\n }\n const trackConstraints = {};\n // In Samsung Internet browser, navigator.mediaDevices.enumerateDevices()\n // returns same deviceId but different groupdId for some audioinput and videoinput devices.\n // To handle this, we select appropriate device using deviceId + groupId.\n if (this.browserBehavior.requiresNoExactMediaStreamConstraints()) {\n trackConstraints.deviceId = deviceId;\n }\n else {\n trackConstraints.deviceId = { exact: deviceId };\n }\n if (groupId) {\n trackConstraints.groupId = groupId;\n }\n if (minimal) {\n return trackConstraints;\n }\n // Video additional constraints\n if (kind === 'video') {\n trackConstraints.width = {\n ideal: this.videoInputQualitySettings.videoWidth,\n };\n trackConstraints.height = {\n ideal: this.videoInputQualitySettings.videoHeight,\n };\n trackConstraints.frameRate = {\n ideal: this.videoInputQualitySettings.videoFrameRate,\n };\n return trackConstraints;\n }\n // Audio additional constraints\n if (this.supportSampleRateConstraint()) {\n trackConstraints.sampleRate = { ideal: DefaultDeviceController.defaultSampleRate };\n }\n if (this.supportSampleSizeConstraint()) {\n trackConstraints.sampleSize = { ideal: DefaultDeviceController.defaultSampleSize };\n }\n if (this.supportChannelCountConstraint()) {\n trackConstraints.channelCount = { ideal: DefaultDeviceController.defaultChannelCount };\n }\n const augmented = Object.assign({ echoCancellation: true, googEchoCancellation: true, googEchoCancellation2: true, googAutoGainControl: true, googAutoGainControl2: true, googNoiseSuppression: true, googNoiseSuppression2: true, googHighpassFilter: true }, trackConstraints);\n return augmented;\n }\n getMediaStreamConstraintsFromTrackConstraints(kind, trackConstraints) {\n return kind === 'audio' ? { audio: trackConstraints } : { video: trackConstraints };\n }\n getMediaStreamConstraints(kind, device, minimal = false) {\n let trackConstraints = {};\n if (!device) {\n return null;\n }\n const stream = this.intrinsicDeviceAsMediaStream(device);\n if (stream) {\n // @ts-ignore - create a fake track constraint using the stream id\n trackConstraints.streamId = stream.id;\n return this.getMediaStreamConstraintsFromTrackConstraints(kind, trackConstraints);\n }\n if (typeof device === 'string') {\n let groupId = '';\n if (this.browserBehavior.requiresGroupIdMediaStreamConstraints()) {\n if (this.deviceInfoCache !== null) {\n groupId = this.getGroupIdFromDeviceId(kind, device);\n }\n else {\n this.logger.error('Device cache is not populated. Please make sure to call list devices first');\n }\n }\n trackConstraints = this.calculateMediaStreamConstraints(kind, device, groupId, minimal);\n return this.getMediaStreamConstraintsFromTrackConstraints(kind, trackConstraints);\n }\n if (isMediaDeviceInfo(device)) {\n trackConstraints = this.calculateMediaStreamConstraints(kind, device.deviceId, device.groupId, minimal);\n return this.getMediaStreamConstraintsFromTrackConstraints(kind, trackConstraints);\n }\n // Take the input set of constraints.\n // In this case, we just use the constraints as-is.\n // @ts-ignore - device is a MediaTrackConstraints\n trackConstraints = device;\n return this.getMediaStreamConstraintsFromTrackConstraints(kind, trackConstraints);\n }\n deviceInfoFromDeviceId(deviceKind, deviceId) {\n if (this.deviceInfoCache === null) {\n return null;\n }\n for (const device of this.deviceInfoCache) {\n if (device.kind === deviceKind && device.deviceId === deviceId) {\n return device;\n }\n }\n return null;\n }\n hasAppliedTransform() {\n return !!this.transform;\n }\n isMediaStreamReusableByDeviceId(stream, device) {\n // for null device, assume the stream is not reusable\n if (!stream || !stream.active || !device) {\n return false;\n }\n if (device.id) {\n return stream.id === device.id;\n }\n const settings = this.getMediaTrackSettings(stream);\n // If a device does not specify deviceId, we have to assume the stream is not reusable.\n if (!settings.deviceId) {\n return false;\n }\n const deviceIds = DefaultDeviceController.getIntrinsicDeviceId(device);\n if (typeof deviceIds === 'string') {\n return settings.deviceId === deviceIds;\n }\n return false;\n }\n getMediaTrackSettings(stream) {\n var _a;\n return (_a = stream.getTracks()[0]) === null || _a === void 0 ? void 0 : _a.getSettings();\n }\n reconnectAudioInputs() {\n if (!this.audioInputSourceNode) {\n return;\n }\n this.audioInputSourceNode.disconnect();\n const output = this.getMediaStreamOutputNode();\n this.audioInputSourceNode.connect(output);\n }\n setTransform(device, nodes) {\n var _a, _b;\n (_b = (_a = this.transform) === null || _a === void 0 ? void 0 : _a.nodes) === null || _b === void 0 ? void 0 : _b.end.disconnect();\n this.transform = { nodes, device };\n const proc = nodes === null || nodes === void 0 ? void 0 : nodes.end;\n const dest = this.getMediaStreamDestinationNode();\n this.logger.debug(`Connecting transform node ${proc} to destination ${dest}.`);\n proc === null || proc === void 0 ? void 0 : proc.connect(dest);\n this.reconnectAudioInputs();\n }\n removeTransform() {\n var _a;\n const previous = this.transform;\n if (!previous) {\n return undefined;\n }\n (_a = this.transform.nodes) === null || _a === void 0 ? void 0 : _a.end.disconnect();\n this.transform = undefined;\n this.reconnectAudioInputs();\n return previous;\n }\n attachAudioInputStreamToAudioContext(stream) {\n var _a;\n (_a = this.audioInputSourceNode) === null || _a === void 0 ? void 0 : _a.disconnect();\n this.audioInputSourceNode = DefaultDeviceController.getAudioContext().createMediaStreamSource(stream);\n const output = this.getMediaStreamOutputNode();\n this.audioInputSourceNode.connect(output);\n }\n /**\n * Return the end of the Web Audio graph: post-transform audio.\n */\n getMediaStreamDestinationNode() {\n if (!this.audioInputDestinationNode) {\n this.audioInputDestinationNode = DefaultDeviceController.getAudioContext().createMediaStreamDestination();\n }\n return this.audioInputDestinationNode;\n }\n /**\n * Return the start of the Web Audio graph: pre-transform audio.\n * If there's no transform node, this is the destination node.\n */\n getMediaStreamOutputNode() {\n var _a, _b;\n return ((_b = (_a = this.transform) === null || _a === void 0 ? void 0 : _a.nodes) === null || _b === void 0 ? void 0 : _b.start) || this.getMediaStreamDestinationNode();\n }\n /**\n * Overrides the default latency hint used by the user agent when creating the `AudioContext`. By default,\n * user agents will choose \"interactive\" which opts for the smallest possible audio buffer. This can\n * cause choppy audio in some cases on Windows. Therefore, \"playback\" will be chosen on Windows unless\n * this value is overridden with this function.\n * @param latencyHint The latency hint to be used when creating the Web Audio `AudioContext`\n */\n static setDefaultLatencyHint(latencyHint) {\n DefaultDeviceController.defaultLatencyHint = latencyHint;\n }\n /**\n * Returns the Web Audio `AudioContext` used by the {@link DefaultDeviceController}. The `AudioContext`\n * is created lazily the first time this function is called.\n * @returns a Web Audio `AudioContext`\n */\n static getAudioContext() {\n if (!DefaultDeviceController.audioContext) {\n const options = {};\n if (navigator.mediaDevices.getSupportedConstraints().sampleRate) {\n options.sampleRate = DefaultDeviceController.defaultSampleRate;\n }\n const browserBehavior = new DefaultBrowserBehavior_1.default();\n if (browserBehavior.requiresPlaybackLatencyHintForAudioContext()) {\n options.latencyHint = 'playback'; // 'playback' is equivalent to 0.02s (20ms) on Windows\n }\n if (DefaultDeviceController.defaultLatencyHint) {\n options.latencyHint = DefaultDeviceController.defaultLatencyHint;\n }\n DefaultDeviceController.audioContext = new (window.AudioContext ||\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n window.webkitAudioContext)(options);\n }\n return DefaultDeviceController.audioContext;\n }\n static closeAudioContext() {\n if (DefaultDeviceController.audioContext) {\n try {\n DefaultDeviceController.audioContext.close();\n }\n catch (e) {\n // Nothing we can do.\n }\n }\n DefaultDeviceController.audioContext = null;\n }\n addMediaStreamBrokerObserver(observer) {\n this.mediaStreamBrokerObservers.add(observer);\n }\n removeMediaStreamBrokerObserver(observer) {\n this.mediaStreamBrokerObservers.delete(observer);\n }\n publishVideoInputDidChangeEvent(videoStream) {\n this.forEachMediaStreamBrokerObserver((observer) => {\n if (observer.videoInputDidChange) {\n observer.videoInputDidChange(videoStream);\n }\n });\n this.pushVideoMeetingStateForPermissions(videoStream);\n }\n publishAudioInputDidChangeEvent(audioStream) {\n this.forEachMediaStreamBrokerObserver((observer) => {\n if (observer.audioInputDidChange) {\n observer.audioInputDidChange(audioStream);\n }\n });\n this.pushAudioMeetingStateForPermissions(audioStream);\n }\n publishAudioOutputDidChangeEvent(device) {\n this.forEachMediaStreamBrokerObserver((observer) => {\n if (observer.audioOutputDidChange) {\n observer.audioOutputDidChange(device);\n }\n });\n }\n supportSampleRateConstraint() {\n return this.useWebAudio && !!navigator.mediaDevices.getSupportedConstraints().sampleRate;\n }\n supportSampleSizeConstraint() {\n return this.useWebAudio && !!navigator.mediaDevices.getSupportedConstraints().sampleSize;\n }\n supportChannelCountConstraint() {\n return this.useWebAudio && !!navigator.mediaDevices.getSupportedConstraints().channelCount;\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n trace(name, input, output) {\n let s = `API/DefaultDeviceController/${name}`;\n if (typeof input !== 'undefined') {\n s += ` ${JSON.stringify(input)}`;\n }\n if (typeof output !== 'undefined') {\n s += ` -> ${JSON.stringify(output)}`;\n }\n this.logger.info(s);\n }\n}\nexports[\"default\"] = DefaultDeviceController;\nDefaultDeviceController.permissionDeniedOriginDetectionThresholdMs = 500;\nDefaultDeviceController.defaultVideoWidth = 960;\nDefaultDeviceController.defaultVideoHeight = 540;\nDefaultDeviceController.defaultVideoFrameRate = 15;\nDefaultDeviceController.defaultSampleRate = 48000;\nDefaultDeviceController.defaultSampleSize = 16;\nDefaultDeviceController.defaultChannelCount = 1;\nDefaultDeviceController.audioContext = null;\nfunction isMediaDeviceInfo(device) {\n return (typeof device === 'object' &&\n 'deviceId' in device &&\n 'groupId' in device &&\n 'kind' in device &&\n 'label' in device);\n}\n//# sourceMappingURL=DefaultDeviceController.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/devicecontroller/DefaultDeviceController.js?")},"./node_modules/amazon-chime-sdk-js/build/devicecontroller/DeviceSelection.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nclass DeviceSelection {\n constructor() {\n this.groupId = \'\';\n }\n matchesConstraints(constraints) {\n return JSON.stringify(this.constraints) === JSON.stringify(constraints);\n }\n}\nexports["default"] = DeviceSelection;\n//# sourceMappingURL=DeviceSelection.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/devicecontroller/DeviceSelection.js?')},"./node_modules/amazon-chime-sdk-js/build/devicecontroller/GetUserMediaError.js":(__unused_webpack_module,exports)=>{"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nclass GetUserMediaError extends Error {\n constructor(cause, message) {\n super(message || 'Error fetching device.');\n this.cause = cause;\n this.name = 'GetUserMediaError';\n }\n}\nexports[\"default\"] = GetUserMediaError;\n//# sourceMappingURL=GetUserMediaError.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/devicecontroller/GetUserMediaError.js?")},"./node_modules/amazon-chime-sdk-js/build/devicecontroller/NoOpDeviceController.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.NoOpDeviceControllerWithEventController = void 0;\nconst NoOpMediaStreamBroker_1 = __webpack_require__(/*! ../mediastreambroker/NoOpMediaStreamBroker */ "./node_modules/amazon-chime-sdk-js/build/mediastreambroker/NoOpMediaStreamBroker.js");\nclass NoOpDeviceController extends NoOpMediaStreamBroker_1.default {\n constructor(_options) {\n super();\n this.destroyed = false;\n }\n destroy() {\n return __awaiter(this, void 0, void 0, function* () {\n this.destroyed = true;\n });\n }\n listAudioInputDevices() {\n return Promise.resolve([]);\n }\n listVideoInputDevices() {\n return Promise.resolve([]);\n }\n listAudioOutputDevices() {\n return Promise.resolve([]);\n }\n startAudioInput(_device) {\n return Promise.reject();\n }\n stopAudioInput() {\n return Promise.resolve();\n }\n startVideoInput(_device) {\n return Promise.reject();\n }\n stopVideoInput() {\n return Promise.resolve();\n }\n chooseAudioOutput(_deviceId) {\n return Promise.reject();\n }\n addDeviceChangeObserver(_observer) { }\n removeDeviceChangeObserver(_observer) { }\n createAnalyserNodeForAudioInput() {\n return null;\n }\n startVideoPreviewForVideoInput(_element) { }\n stopVideoPreviewForVideoInput(_element) { }\n setDeviceLabelTrigger(_trigger) { }\n mixIntoAudioInput(_stream) {\n return null;\n }\n chooseVideoInputQuality(_width, _height, _frameRate) { }\n getVideoInputQualitySettings() {\n return null;\n }\n}\nexports["default"] = NoOpDeviceController;\nclass NoOpDeviceControllerWithEventController extends NoOpDeviceController {\n constructor(eventController) {\n super();\n this.eventController = eventController;\n }\n}\nexports.NoOpDeviceControllerWithEventController = NoOpDeviceControllerWithEventController;\n//# sourceMappingURL=NoOpDeviceController.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/devicecontroller/NoOpDeviceController.js?')},"./node_modules/amazon-chime-sdk-js/build/devicecontroller/NotFoundError.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst GetUserMediaError_1 = __webpack_require__(/*! ./GetUserMediaError */ "./node_modules/amazon-chime-sdk-js/build/devicecontroller/GetUserMediaError.js");\nclass NotFoundError extends GetUserMediaError_1.default {\n constructor(cause) {\n super(cause);\n this.name = \'NotFoundError\';\n }\n}\nexports["default"] = NotFoundError;\n//# sourceMappingURL=NotFoundError.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/devicecontroller/NotFoundError.js?')},"./node_modules/amazon-chime-sdk-js/build/devicecontroller/NotReadableError.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst GetUserMediaError_1 = __webpack_require__(/*! ./GetUserMediaError */ "./node_modules/amazon-chime-sdk-js/build/devicecontroller/GetUserMediaError.js");\nclass NotReadableError extends GetUserMediaError_1.default {\n constructor(cause) {\n super(cause);\n this.name = \'NotReadableError\';\n }\n}\nexports["default"] = NotReadableError;\n//# sourceMappingURL=NotReadableError.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/devicecontroller/NotReadableError.js?')},"./node_modules/amazon-chime-sdk-js/build/devicecontroller/OverconstrainedError.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst GetUserMediaError_1 = __webpack_require__(/*! ./GetUserMediaError */ "./node_modules/amazon-chime-sdk-js/build/devicecontroller/GetUserMediaError.js");\nclass OverconstrainedError extends GetUserMediaError_1.default {\n constructor(cause, constraint) {\n super(cause);\n this.constraint = constraint;\n this.name = \'OverconstrainedError\';\n }\n}\nexports["default"] = OverconstrainedError;\n//# sourceMappingURL=OverconstrainedError.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/devicecontroller/OverconstrainedError.js?')},"./node_modules/amazon-chime-sdk-js/build/devicecontroller/PermissionDeniedError.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst GetUserMediaError_1 = __webpack_require__(/*! ./GetUserMediaError */ "./node_modules/amazon-chime-sdk-js/build/devicecontroller/GetUserMediaError.js");\nclass PermissionDeniedError extends GetUserMediaError_1.default {\n constructor(cause, message) {\n super(cause, message);\n this.name = \'PermissionDeniedError\';\n }\n}\nexports["default"] = PermissionDeniedError;\n//# sourceMappingURL=PermissionDeniedError.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/devicecontroller/PermissionDeniedError.js?')},"./node_modules/amazon-chime-sdk-js/build/devicecontroller/SingleNodeAudioTransformDevice.js":function(__unused_webpack_module,exports){"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n/**\n * This class simplifies the process of defining a transform device that\n * does not modify its input device constraints, and provides only a single audio node\n * to apply transforms.\n *\n * Subclass `SingleNodeAudioTransformDevice`, implementing `createSingleAudioNode`.\n */\nclass SingleNodeAudioTransformDevice {\n constructor(inner) {\n this.inner = inner;\n }\n mute(_muted) {\n return __awaiter(this, void 0, void 0, function* () { });\n }\n /**\n * `stop` should be called by the application to free any resources associated\n * with the device (e.g., workers).\n *\n * After this is called, the device should be discarded.\n */\n stop() {\n var _a;\n return __awaiter(this, void 0, void 0, function* () {\n (_a = this.node) === null || _a === void 0 ? void 0 : _a.disconnect();\n });\n }\n /**\n * Return the inner {@link Device} that the device controller should select as part\n * of the application of this `AudioTransformDevice`.\n */\n intrinsicDevice() {\n return __awaiter(this, void 0, void 0, function* () {\n return this.inner;\n });\n }\n /**\n * Optionally return a pair of `AudioNode`s that should be connected to the applied inner\n * device. The two nodes can be the same, indicating the smallest possible subgraph.\n *\n * @param context The `AudioContext` to use when instantiating the nodes.\n */\n createAudioNode(context) {\n var _a;\n return __awaiter(this, void 0, void 0, function* () {\n (_a = this.node) === null || _a === void 0 ? void 0 : _a.disconnect();\n this.node = yield this.createSingleAudioNode(context);\n return {\n start: this.node,\n end: this.node,\n };\n });\n }\n}\nexports["default"] = SingleNodeAudioTransformDevice;\n//# sourceMappingURL=SingleNodeAudioTransformDevice.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/devicecontroller/SingleNodeAudioTransformDevice.js?')},"./node_modules/amazon-chime-sdk-js/build/devicecontroller/TypeError.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst GetUserMediaError_1 = __webpack_require__(/*! ./GetUserMediaError */ "./node_modules/amazon-chime-sdk-js/build/devicecontroller/GetUserMediaError.js");\nclass TypeError extends GetUserMediaError_1.default {\n constructor(cause) {\n super(cause);\n this.name = \'TypeError\';\n }\n}\nexports["default"] = TypeError;\n//# sourceMappingURL=TypeError.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/devicecontroller/TypeError.js?')},"./node_modules/amazon-chime-sdk-js/build/devicecontroller/VideoQualitySettings.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nclass VideoQualitySettings {\n constructor(videoWidth, videoHeight, videoFrameRate) {\n this.videoWidth = videoWidth;\n this.videoHeight = videoHeight;\n this.videoFrameRate = videoFrameRate;\n }\n}\nexports["default"] = VideoQualitySettings;\n//# sourceMappingURL=VideoQualitySettings.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/devicecontroller/VideoQualitySettings.js?')},"./node_modules/amazon-chime-sdk-js/build/devicecontroller/VideoTransformDevice.js":(__unused_webpack_module,exports)=>{"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.isVideoTransformDevice = void 0;\n/**\n * `isVideoTransformDevice` is a type guard for {@link VideoTransformDevice}.\n *\n * @param device the value to check.\n */\nfunction isVideoTransformDevice(device) {\n return (!!device &&\n typeof device === 'object' &&\n 'transformStream' in device &&\n 'stop' in device &&\n 'intrinsicDevice' in device);\n}\nexports.isVideoTransformDevice = isVideoTransformDevice;\n//# sourceMappingURL=VideoTransformDevice.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/devicecontroller/VideoTransformDevice.js?")},"./node_modules/amazon-chime-sdk-js/build/devicepixelratiomonitor/DefaultDevicePixelRatioMonitor.js":function(__unused_webpack_module,exports){"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nclass DefaultDevicePixelRatioMonitor {\n constructor(devicePixelRatioSource, logger) {\n this.devicePixelRatioSource = devicePixelRatioSource;\n this.observerQueue = new Set();\n this.mediaQueryListener = () => {\n this.observerQueue.forEach(tileObserver => {\n tileObserver.devicePixelRatioChanged(this.devicePixelRatioSource.devicePixelRatio());\n });\n };\n if (typeof window === 'undefined') {\n return;\n }\n const mediaQueryList = matchMedia(`(resolution: ${this.devicePixelRatioSource.devicePixelRatio()}dppx)`);\n if (typeof mediaQueryList.addEventListener === 'function') {\n mediaQueryList.addEventListener('change', this.mediaQueryListener);\n this.mediaQueryList = mediaQueryList;\n }\n else if (typeof mediaQueryList.addListener === 'function') {\n mediaQueryList.addListener(this.mediaQueryListener);\n this.mediaQueryList = mediaQueryList;\n }\n else {\n logger.warn('ignoring DefaultDevicePixelRatioMonitor');\n }\n }\n destroy() {\n return __awaiter(this, void 0, void 0, function* () {\n if (this.mediaQueryList) {\n if (typeof this.mediaQueryList.addEventListener === 'function') {\n this.mediaQueryList.removeEventListener('change', this.mediaQueryListener);\n }\n else {\n this.mediaQueryList.removeListener(this.mediaQueryListener);\n }\n }\n delete this.mediaQueryListener;\n this.observerQueue.clear();\n });\n }\n registerObserver(observer) {\n this.observerQueue.add(observer);\n observer.devicePixelRatioChanged(this.devicePixelRatioSource.devicePixelRatio());\n }\n removeObserver(observer) {\n this.observerQueue.delete(observer);\n }\n}\nexports[\"default\"] = DefaultDevicePixelRatioMonitor;\n//# sourceMappingURL=DefaultDevicePixelRatioMonitor.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/devicepixelratiomonitor/DefaultDevicePixelRatioMonitor.js?")},"./node_modules/amazon-chime-sdk-js/build/devicepixelratiosource/DevicePixelRatioWindowSource.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nclass DevicePixelRatioWindowSource {\n devicePixelRatio() {\n if (typeof window === \'undefined\' || !window || !window.devicePixelRatio) {\n return 1;\n }\n return window.devicePixelRatio;\n }\n}\nexports["default"] = DevicePixelRatioWindowSource;\n//# sourceMappingURL=DevicePixelRatioWindowSource.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/devicepixelratiosource/DevicePixelRatioWindowSource.js?')},"./node_modules/amazon-chime-sdk-js/build/eventbuffer/InMemoryJSONEventBuffer.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst FullJitterBackoff_1 = __webpack_require__(/*! ../backoff/FullJitterBackoff */ \"./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoff.js\");\nconst IntervalScheduler_1 = __webpack_require__(/*! ../scheduler/IntervalScheduler */ \"./node_modules/amazon-chime-sdk-js/build/scheduler/IntervalScheduler.js\");\nconst DefaultUserAgentParser_1 = __webpack_require__(/*! ../useragentparser/DefaultUserAgentParser */ \"./node_modules/amazon-chime-sdk-js/build/useragentparser/DefaultUserAgentParser.js\");\nconst Utils_1 = __webpack_require__(/*! ../utils/Utils */ \"./node_modules/amazon-chime-sdk-js/build/utils/Utils.js\");\n/**\n * [[InMemoryJSONEventBuffer]] is an in-memory implementation for buffering and\n * sending events. It buffers events based on number of events and its size whichever reaches\n * first. Events are sent out at an scheduled interval where important events are sent immediately.\n * It also retries sending events if failed upto the retry count limit. It implements\n * beaconing mechanism based on 'pagehide' and 'visibilitychange' to beacon all events as a last attempt.\n */\nclass InMemoryJSONEventBuffer {\n constructor(eventBufferConfiguration, eventsClientConfiguration, ingestionURL, importantEvents, logger) {\n this.buffer = [];\n this.bufferSize = 0;\n this.maxBufferItemCapacityBytes = 0;\n this.ingestionEventSize = 0;\n this.flushIntervalMs = 0;\n this.flushSize = 0;\n this.failedIngestionEvents = [];\n this.retryCountLimit = 15;\n this.lock = false;\n this.cancellableEvents = new Map();\n this.attributesToFilter = ['externalUserId', 'externalMeetingId', 'timestampMs'];\n this.deepCopyCurrentIngestionEvent = (event) => {\n const newEvent = {\n type: event.type,\n v: event.v,\n payloads: [...event.payloads],\n };\n return newEvent;\n };\n this.sendEvents = () => __awaiter(this, void 0, void 0, function* () {\n if (this.lock) {\n return;\n }\n const batch = this.getItems(this.flushSize);\n if (batch.length === 0) {\n return;\n }\n this.lock = true;\n const body = this.makeRequestBody(batch);\n let failed = false;\n // If a page re-directs, in Safari and Chrome, the network\n // request shows cancelled but the data reaches the ingestion endpoint.\n // In Firefox, the request errors out with 'NS_BINDING_ABORT' state. Hence, add the event\n // to cancellable events to try with `sendBeacon` lastly.\n const timestamp = Date.now();\n if (this.metadata.browserName.toLowerCase() === 'firefox') {\n this.cancellableEvents.set(timestamp, batch);\n }\n try {\n this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - sendEvents - sending body ${body}`);\n const response = yield this.send(body);\n this.cancellableEvents.delete(timestamp);\n if (!response.ok) {\n this.logger.error(`Event Reporting - InMemoryJSONEventBuffer - sendEvents - Failed to send events ${body} with response status ${response.status}`);\n failed = true;\n }\n else {\n try {\n const data = yield response.json();\n this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - sendEvents - send successful events: ${body} message: ${JSON.stringify(data)}`);\n }\n catch (err) {\n /* istanbul ignore next */\n this.logger.warn(`Event Reporting - InMemoryJSONEventBuffer - sendEvents error reading OK response ${err} for events ${body}`);\n }\n }\n }\n catch (error) {\n failed = true;\n this.logger.warn(`Event Reporting - InMemoryJSONEventBuffer - sendEvents - Error in sending events ${body} to the ingestion endpoint ${error}`);\n }\n finally {\n this.lock = false;\n }\n if (failed) {\n this.cancellableEvents.delete(timestamp);\n this.failedIngestionEvents.push(...batch);\n }\n });\n const userAgentParserResult = new DefaultUserAgentParser_1.default(logger).getParserResult();\n const { browserMajorVersion: _browserMajorVersion } = userAgentParserResult, clientMetadata = __rest(userAgentParserResult, [\"browserMajorVersion\"]);\n const _a = eventsClientConfiguration.toJSON(), { type, v } = _a, rest = __rest(_a, [\"type\", \"v\"]);\n this.authenticationToken = eventsClientConfiguration.getAuthenticationToken();\n this.metadata = Object.assign(Object.assign({}, clientMetadata), rest);\n Object.keys(this.metadata).forEach(key => this.attributesToFilter.push(key));\n this.type = type;\n this.v = v;\n this.ingestionURL = ingestionURL;\n this.logger = logger;\n this.importantEvents = new Set(importantEvents);\n const { maxBufferCapacityKb, totalBufferItems, flushSize, flushIntervalMs, retryCountLimit, } = eventBufferConfiguration;\n this.maxBufferCapacityBytes = maxBufferCapacityKb * 1024;\n this.totalBufferItems = totalBufferItems;\n this.maxBufferItemCapacityBytes = Math.round(this.maxBufferCapacityBytes / totalBufferItems);\n this.flushIntervalMs = flushIntervalMs;\n this.flushSize = flushSize;\n this.retryCountLimit = retryCountLimit;\n this.currentIngestionEvent = this.initializeAndGetCurrentIngestionEvent();\n this.beaconEventListener = (e) => this.beaconEventHandler(e);\n this.addEventListeners();\n }\n addEventListeners() {\n if (!this.beaconEventListener ||\n !('window' in __webpack_require__.g) ||\n !window.addEventListener ||\n !('document' in __webpack_require__.g) ||\n !document.addEventListener) {\n return;\n }\n this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - addEventListeners - adding pagehide and visibility change event listeners`);\n window.addEventListener('pagehide', this.beaconEventListener);\n document.addEventListener('visibilitychange', this.beaconEventListener);\n }\n beaconEventHandler(e) {\n /* istanbul ignore else */\n if ((e.type === 'visibilitychange' && document.visibilityState === 'hidden') ||\n e.type === 'pagehide') {\n this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - beaconEventHandler is triggered calling sendBeacon`);\n this.sendBeacon();\n }\n }\n removeEventListeners() {\n if (!this.beaconEventListener ||\n !('window' in __webpack_require__.g) ||\n !window.removeEventListener ||\n !('document' in __webpack_require__.g) ||\n !document.removeEventListener) {\n return;\n }\n window.removeEventListener('pagehide', this.beaconEventListener);\n document.removeEventListener('visibilitychange', this.beaconEventListener);\n this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - removeEventListeners - removing pagehide and visibility change event listeners`);\n }\n start() {\n var _a;\n this.removeEventListeners();\n this.addEventListeners();\n (_a = this.intervalScheduler) === null || _a === void 0 ? void 0 : _a.stop();\n this.intervalScheduler = new IntervalScheduler_1.default(this.flushIntervalMs);\n this.intervalScheduler.start(() => this.sendEvents());\n }\n stop() {\n var _a;\n (_a = this.intervalScheduler) === null || _a === void 0 ? void 0 : _a.stop();\n this.intervalScheduler = undefined;\n this.sendBeacon();\n this.removeEventListeners();\n }\n addItem(item) {\n return __awaiter(this, void 0, void 0, function* () {\n this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - addItem - received event ${JSON.stringify(item)}`);\n const { name, ts, attributes } = item;\n // Filter out PII and redundant attributes.\n const filteredAttributes = attributes && this.filterAttributes(attributes, this.attributesToFilter);\n const event = Object.assign({ name, ts }, filteredAttributes);\n this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - addItem - event after filtering attributes ${JSON.stringify(event)}`);\n const size = this.getSize(event);\n if (size > InMemoryJSONEventBuffer.MAX_ITEM_SIZE_BYTES_ALLOWED) {\n throw new Error(`Event Reporting - Item to be added has size ${size} bytes. Item cannot exceed max item size allowed of ${InMemoryJSONEventBuffer.MAX_ITEM_SIZE_BYTES_ALLOWED} bytes.`);\n }\n if (this.importantEvents.has(name)) {\n // Send immediate events and asyncly retry.\n this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - addItem - sending important event ${JSON.stringify(event)}`);\n this.sendEventImmediately({ name, ts, attributes: filteredAttributes });\n return;\n }\n if (this.isFull()) {\n this.logger.warn('Event Reporting - Event buffer is full');\n throw new Error('Buffer full');\n }\n this.currentIngestionEvent.payloads.push(event);\n this.ingestionEventSize += size;\n if (this.bufferItemThresholdReached(size)) {\n const currentEvent = this.deepCopyCurrentIngestionEvent(this.currentIngestionEvent);\n this.buffer.push(currentEvent);\n this.bufferSize += this.ingestionEventSize;\n this.currentIngestionEvent = this.initializeAndGetCurrentIngestionEvent();\n this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - addItem - buffer item threshold reached updated buffer ${JSON.stringify(this.buffer)}`);\n }\n });\n }\n filterAttributes(attributes, attributesToFilter) {\n const attributesToFilterSet = new Set(attributesToFilter);\n const keysToFilterOut = Object.keys(attributes).filter(key => attributesToFilterSet.has(key));\n keysToFilterOut.forEach(key => delete attributes[key]);\n return attributes;\n }\n initializeAndGetCurrentIngestionEvent() {\n const bufferItem = {\n type: this.type,\n v: this.v,\n payloads: [],\n };\n this.ingestionEventSize = this.getSize(bufferItem);\n return bufferItem;\n }\n bufferItemThresholdReached(size) {\n return (size + this.ingestionEventSize >= this.maxBufferItemCapacityBytes ||\n this.currentIngestionEvent.payloads.length === InMemoryJSONEventBuffer.MAX_PAYLOAD_ITEMS);\n }\n getSize(item) {\n let bytes = 0;\n if (typeof item === 'object') {\n for (const [key, value] of Object.entries(item)) {\n bytes += this.getPrimitiveSize(key);\n bytes += this.getSize(value);\n }\n }\n else {\n bytes += this.getPrimitiveSize(item);\n }\n return bytes;\n }\n getPrimitiveSize(item) {\n let bytes = 0;\n /* istanbul ignore else */\n if (typeof item === 'string') {\n bytes += item.length * 2;\n }\n else if (typeof item === 'number') {\n bytes += 8;\n }\n return bytes;\n }\n isFull() {\n return (this.bufferSize === this.maxBufferCapacityBytes ||\n this.buffer.length === this.totalBufferItems);\n }\n isEmpty() {\n return this.buffer.length === 0 || this.bufferSize === 0;\n }\n getItems(end, start = 0) {\n if (this.isEmpty()) {\n return [];\n }\n end = Math.min(this.buffer.length, end + 1);\n const items = this.buffer.splice(start, end);\n return items;\n }\n makeBeaconRequestBody(batchEvents) {\n const ingestionRecord = {\n metadata: this.metadata,\n events: batchEvents,\n authorization: this.authenticationToken,\n };\n return JSON.stringify(ingestionRecord);\n }\n makeRequestBody(batchEvents) {\n const ingestionRecord = {\n metadata: this.metadata,\n events: batchEvents,\n };\n return JSON.stringify(ingestionRecord);\n }\n sendEventImmediately(item) {\n return __awaiter(this, void 0, void 0, function* () {\n this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - sendEventImmediately - important event received ${JSON.stringify(item)}`);\n const { name, ts, attributes } = item;\n const event = {\n type: this.type,\n v: this.v,\n payloads: [\n Object.assign({ name,\n ts }, attributes),\n ],\n };\n let failed = false;\n let response = null;\n const body = this.makeRequestBody([event]);\n try {\n response = yield this.send(body);\n if (response.ok) {\n try {\n const data = yield response.json();\n this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - sendEventImmediately - send successful event: ${body}, message: ${JSON.stringify(data)}`);\n }\n catch (err) {\n /* istanbul ignore next */\n this.logger.warn(`Event Reporting - InMemoryJSONEventBuffer - sendEventImmediately - Error reading OK response ${err} for event ${body}`);\n }\n return;\n }\n else {\n this.logger.error(`Event Reporting - InMemoryJSONEventBuffer - sendEventImmediately - Failed to send an important event ${body} with response status ${response.status}`);\n failed = true;\n }\n }\n catch (error) {\n this.logger.warn(`Event Reporting - There may be a failure in sending an important event ${body} to the ingestion endpoint ${error}.`);\n failed = true;\n try {\n /**\n * Important events like meetingEnded, meetingStartFailed may result into page-redirects.\n * In such a case, Firefox aborts the fetch request with 'NS_BINDING_ABORT' state.\n * Chrome and Safari show fetch request as cancelled and the fetch failure is catched, but,\n * events appear at ingestion backend. Chrome and Safari behavior is unreliable, but Firefox consistently fails,\n * hence, we beacon data as a last resort when using Firefox.\n * During the page-redirect, we do not have access to check fetch's response to handle Chrome and Safari behavior,\n * hence, event ingestion may fail.\n *\n */\n if (this.metadata.browserName.toLowerCase() === 'firefox') {\n const body = this.makeBeaconRequestBody([event]);\n this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - sendEventImmediately - beaconing data out ${body}`);\n if (!navigator.sendBeacon(`${this.ingestionURL}?beacon=1`, body)) {\n failed = true;\n }\n else {\n failed = false;\n }\n }\n }\n catch (error) {\n this.logger.warn(`Event Reporting - Error sending beacon for an important event ${body}`);\n failed = true;\n }\n }\n /* istanbul ignore else */\n if (failed) {\n this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - sendEventImmediately - pushing to failed events ${body}`);\n this.failedIngestionEvents.push(event);\n }\n });\n }\n send(data) {\n return __awaiter(this, void 0, void 0, function* () {\n const backoff = new FullJitterBackoff_1.default(InMemoryJSONEventBuffer.RETRY_FIXED_BACKOFF_WAIT_MS, InMemoryJSONEventBuffer.RETRY_SHORT_BACKOFF_MS, InMemoryJSONEventBuffer.RETRY_LONG_BACKOFF_MS);\n try {\n let retryCount = 0;\n while (retryCount < this.retryCountLimit) {\n const response = yield fetch(this.ingestionURL, {\n method: 'POST',\n headers: {\n Authorization: `Bearer ${this.authenticationToken}`,\n },\n body: data,\n });\n if (response.ok || !InMemoryJSONEventBuffer.SENDING_FAILURE_CODES.has(response.status)) {\n return response;\n }\n else {\n this.logger.warn(`Will retry sending failure for ${data} due to status code ${response.status}.`);\n retryCount++;\n /* istanbul ignore else */\n if (retryCount < this.retryCountLimit) {\n const backoffTime = backoff.nextBackoffAmountMs();\n yield Utils_1.wait(backoffTime);\n }\n }\n }\n /* istanbul ignore else */\n if (retryCount === this.retryCountLimit) {\n throw new Error(`Retry count limit reached for ${data}`);\n }\n }\n catch (error) {\n throw error;\n }\n });\n }\n sendBeacon() {\n return __awaiter(this, void 0, void 0, function* () {\n // Any pending events from buffer.\n const events = this.buffer;\n this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - sendBeacon - clearing out buffer events ${JSON.stringify(events)}`);\n this.buffer = [];\n // Any pending event in current ingestion event.\n if (this.currentIngestionEvent.payloads.length > 0) {\n const clearCurrenIngestionEvent = this.deepCopyCurrentIngestionEvent(this.currentIngestionEvent);\n events.push(clearCurrenIngestionEvent);\n this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - sendBeacon - clearing out current ingestion event ${JSON.stringify(clearCurrenIngestionEvent)}`);\n this.currentIngestionEvent = this.initializeAndGetCurrentIngestionEvent();\n }\n // Any failed ingestion events which were sent before.\n if (this.failedIngestionEvents.length > 0) {\n const failedRecordsCopy = this.failedIngestionEvents.map(record => this.deepCopyCurrentIngestionEvent(record));\n events.push(...failedRecordsCopy);\n this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - sendBeacon - clearing out any failed ingestion event ${JSON.stringify(failedRecordsCopy)}`);\n this.failedIngestionEvents = [];\n }\n // Any cancelled requests due to page-redirects.\n if (this.cancellableEvents.size > 0) {\n this.cancellableEvents.forEach(value => {\n events.push(...value);\n this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - sendBeacon - clearing out each cancellable event ${JSON.stringify(value)}`);\n });\n this.cancellableEvents.clear();\n }\n if (events.length === 0) {\n return;\n }\n const beaconData = this.makeBeaconRequestBody(events);\n this.logger.debug(`Event Reporting - InMemoryJSONEventBuffer - sendBeacon - beacon data to send ${beaconData}`);\n try {\n /* istanbul ignore else */\n if (!navigator.sendBeacon(`${this.ingestionURL}?beacon=1`, beaconData)) {\n this.logger.warn(`Event Reporting - Browser failed to queue beacon data ${beaconData}`);\n }\n }\n catch (error) {\n this.logger.warn(`Event Reporting - Sending beacon data ${beaconData} failed with error ${error}`);\n }\n });\n }\n reset() {\n this.maxBufferCapacityBytes = 0;\n this.totalBufferItems = 0;\n this.buffer = [];\n this.bufferSize = 0;\n this.maxBufferItemCapacityBytes = 0;\n this.ingestionEventSize = 0;\n this.flushIntervalMs = 0;\n this.flushSize = 0;\n this.failedIngestionEvents = [];\n this.lock = false;\n this.beaconEventListener = undefined;\n this.cancellableEvents.clear();\n }\n destroy() {\n return __awaiter(this, void 0, void 0, function* () {\n this.stop();\n this.reset();\n });\n }\n}\nexports[\"default\"] = InMemoryJSONEventBuffer;\nInMemoryJSONEventBuffer.SENDING_FAILURE_CODES = new Set([\n 408,\n 429,\n 500,\n 502,\n 503,\n 504, // Gateway Timeout.\n]);\nInMemoryJSONEventBuffer.RETRY_FIXED_BACKOFF_WAIT_MS = 0;\nInMemoryJSONEventBuffer.RETRY_SHORT_BACKOFF_MS = 1000;\nInMemoryJSONEventBuffer.RETRY_LONG_BACKOFF_MS = 15000;\nInMemoryJSONEventBuffer.MAX_PAYLOAD_ITEMS = 2;\nInMemoryJSONEventBuffer.MAX_ITEM_SIZE_BYTES_ALLOWED = 3000;\n//# sourceMappingURL=InMemoryJSONEventBuffer.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/eventbuffer/InMemoryJSONEventBuffer.js?")},"./node_modules/amazon-chime-sdk-js/build/eventbufferconfiguration/EventBufferConfiguration.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n/**\n * [[EventBufferConfiguration]] contains necessary information to\n * configure buffer.\n */\nclass EventBufferConfiguration {\n constructor(flushIntervalMs = 5000, flushSize = 2, maxBufferCapacityKb = 64, totalBufferItems = 100, retryCountLimit = 15) {\n this.flushIntervalMs = flushIntervalMs;\n this.flushSize = flushSize;\n this.maxBufferCapacityKb = maxBufferCapacityKb;\n this.totalBufferItems = totalBufferItems;\n this.retryCountLimit = retryCountLimit;\n }\n}\nexports["default"] = EventBufferConfiguration;\n//# sourceMappingURL=EventBufferConfiguration.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/eventbufferconfiguration/EventBufferConfiguration.js?')},"./node_modules/amazon-chime-sdk-js/build/eventcontroller/DefaultEventController.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst ua_parser_js_1 = __webpack_require__(/*! ua-parser-js */ "./node_modules/ua-parser-js/src/ua-parser.js");\nconst Destroyable_1 = __webpack_require__(/*! ../destroyable/Destroyable */ "./node_modules/amazon-chime-sdk-js/build/destroyable/Destroyable.js");\nconst EventIngestionConfiguration_1 = __webpack_require__(/*! ../eventingestionconfiguration/EventIngestionConfiguration */ "./node_modules/amazon-chime-sdk-js/build/eventingestionconfiguration/EventIngestionConfiguration.js");\nconst DefaultMeetingEventReporter_1 = __webpack_require__(/*! ../eventreporter/DefaultMeetingEventReporter */ "./node_modules/amazon-chime-sdk-js/build/eventreporter/DefaultMeetingEventReporter.js");\nconst MeetingEventsClientConfiguration_1 = __webpack_require__(/*! ../eventsclientconfiguration/MeetingEventsClientConfiguration */ "./node_modules/amazon-chime-sdk-js/build/eventsclientconfiguration/MeetingEventsClientConfiguration.js");\nconst AsyncScheduler_1 = __webpack_require__(/*! ../scheduler/AsyncScheduler */ "./node_modules/amazon-chime-sdk-js/build/scheduler/AsyncScheduler.js");\nconst Versioning_1 = __webpack_require__(/*! ../versioning/Versioning */ "./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js");\nconst flattenEventAttributes_1 = __webpack_require__(/*! ./flattenEventAttributes */ "./node_modules/amazon-chime-sdk-js/build/eventcontroller/flattenEventAttributes.js");\nclass DefaultEventController {\n constructor(configuration, logger, eventReporter) {\n var _a, _b, _c, _d, _e, _f, _g;\n this.meetingHistoryStates = [];\n this.observerSet = new Set();\n this.destroyed = false;\n this.logger = logger;\n this.configuration = configuration;\n this.setupEventReporter(configuration, logger, eventReporter);\n try {\n this.parserResult =\n navigator && navigator.userAgent ? new ua_parser_js_1.UAParser(navigator.userAgent).getResult() : null;\n }\n catch (error) {\n // This seems to never happen with ua-parser-js in reality, even with malformed strings.\n /* istanbul ignore next */\n this.logger.error(error.message);\n }\n this.browserMajorVersion =\n ((_c = (_b = (_a = this.parserResult) === null || _a === void 0 ? void 0 : _a.browser) === null || _b === void 0 ? void 0 : _b.version) === null || _c === void 0 ? void 0 : _c.split(\'.\')[0]) || DefaultEventController.UNAVAILABLE;\n this.browserName = ((_d = this.parserResult) === null || _d === void 0 ? void 0 : _d.browser.name) || DefaultEventController.UNAVAILABLE;\n this.browserVersion = ((_e = this.parserResult) === null || _e === void 0 ? void 0 : _e.browser.version) || DefaultEventController.UNAVAILABLE;\n this.deviceName =\n [((_f = this.parserResult) === null || _f === void 0 ? void 0 : _f.device.vendor) || \'\', ((_g = this.parserResult) === null || _g === void 0 ? void 0 : _g.device.model) || \'\']\n .join(\' \')\n .trim() || DefaultEventController.UNAVAILABLE;\n }\n addObserver(observer) {\n this.observerSet.add(observer);\n }\n removeObserver(observer) {\n this.observerSet.delete(observer);\n }\n forEachObserver(observerFunc) {\n for (const observer of this.observerSet) {\n AsyncScheduler_1.default.nextTick(() => {\n /* istanbul ignore else */\n if (this.observerSet.has(observer)) {\n observerFunc(observer);\n }\n });\n }\n }\n publishEvent(name, attributes) {\n return __awaiter(this, void 0, void 0, function* () {\n const timestampMs = Date.now();\n this.meetingHistoryStates.push({\n name,\n timestampMs,\n });\n // Make a single frozen copy of the event, reusing the object returned by\n // `getAttributes` to avoid copying too much.\n const eventAttributes = Object.freeze(Object.assign(this.getAttributes(timestampMs), attributes));\n // Publishes event to observers\n this.forEachObserver((observer) => {\n observer.eventDidReceive(name, eventAttributes);\n });\n // Reports event to the ingestion service\n this.reportEvent(name, timestampMs, attributes);\n });\n }\n reportEvent(name, timestampMs, attributes) {\n var _a;\n return __awaiter(this, void 0, void 0, function* () {\n let flattenedAttributes;\n try {\n if (attributes) {\n flattenedAttributes = flattenEventAttributes_1.default(attributes);\n }\n yield ((_a = this.eventReporter) === null || _a === void 0 ? void 0 : _a.reportEvent(timestampMs, name, flattenedAttributes));\n }\n catch (error) {\n /* istanbul ignore next */\n this.logger.error(`Error reporting event ${error}`);\n }\n });\n }\n setupEventReporter(configuration, logger, eventReporter) {\n if (eventReporter) {\n this._eventReporter = eventReporter;\n }\n else if (configuration.urls) {\n // Attempts to set up a event reporter using the meeting configuration if one is not provided\n const eventIngestionURL = configuration.urls.eventIngestionURL;\n if (eventIngestionURL) {\n this.logger.info(`Event ingestion URL is present in the configuration`);\n const { meetingId, credentials: { attendeeId, joinToken }, } = configuration;\n const meetingEventsClientConfiguration = new MeetingEventsClientConfiguration_1.default(meetingId, attendeeId, joinToken);\n const eventIngestionConfiguration = new EventIngestionConfiguration_1.default(meetingEventsClientConfiguration, eventIngestionURL);\n this._eventReporter = new DefaultMeetingEventReporter_1.default(eventIngestionConfiguration, logger);\n }\n }\n }\n getAttributes(timestampMs) {\n var _a, _b;\n return {\n attendeeId: this.configuration.credentials.attendeeId,\n browserMajorVersion: this.browserMajorVersion,\n browserName: this.browserName,\n browserVersion: this.browserVersion,\n deviceName: this.deviceName,\n externalMeetingId: typeof this.configuration.externalMeetingId === \'string\'\n ? this.configuration.externalMeetingId\n : \'\',\n externalUserId: this.configuration.credentials.externalUserId,\n meetingHistory: this.meetingHistoryStates,\n meetingId: this.configuration.meetingId,\n osName: ((_a = this.parserResult) === null || _a === void 0 ? void 0 : _a.os.name) || DefaultEventController.UNAVAILABLE,\n osVersion: ((_b = this.parserResult) === null || _b === void 0 ? void 0 : _b.os.version) || DefaultEventController.UNAVAILABLE,\n sdkVersion: Versioning_1.default.sdkVersion,\n sdkName: Versioning_1.default.sdkName,\n timestampMs,\n };\n }\n get eventReporter() {\n return this._eventReporter;\n }\n /**\n * Clean up this instance and resources that it created.\n *\n * After calling `destroy`, internal fields like `eventReporter` will be unavailable.\n */\n destroy() {\n return __awaiter(this, void 0, void 0, function* () {\n if (Destroyable_1.isDestroyable(this.eventReporter)) {\n yield this.eventReporter.destroy();\n }\n this.logger = undefined;\n this.configuration = undefined;\n this._eventReporter = undefined;\n this.destroyed = true;\n });\n }\n}\nexports["default"] = DefaultEventController;\nDefaultEventController.UNAVAILABLE = \'Unavailable\';\n//# sourceMappingURL=DefaultEventController.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/eventcontroller/DefaultEventController.js?')},"./node_modules/amazon-chime-sdk-js/build/eventcontroller/flattenEventAttributes.js":(__unused_webpack_module,exports)=>{"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n/**\n *\n * @param attributes Event attributes to flatten.\n * @returns flattened event attributes.\n * Note: This function needs to be extended to support 'Array', 'object'\n * as value types within the event attributes if added later.\n */\nconst flattenEventAttributes = (attributes) => {\n const flattenedAttributes = {};\n for (const [key, value] of Object.entries(attributes)) {\n if (value === null || value === undefined || value === '') {\n continue;\n }\n else if (typeof value === 'number' || typeof value === 'string') {\n flattenedAttributes[key] = value;\n }\n else {\n throw new TypeError('Unhandled type received while flattening attributes.');\n }\n }\n return flattenedAttributes;\n};\nexports[\"default\"] = flattenEventAttributes;\n//# sourceMappingURL=flattenEventAttributes.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/eventcontroller/flattenEventAttributes.js?")},"./node_modules/amazon-chime-sdk-js/build/eventingestionconfiguration/EventIngestionConfiguration.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst EventBufferConfiguration_1 = __webpack_require__(/*! ../eventbufferconfiguration/EventBufferConfiguration */ "./node_modules/amazon-chime-sdk-js/build/eventbufferconfiguration/EventBufferConfiguration.js");\n/**\n * [[EventIngestionConfiguration]] contains necessary information to\n * report events to the ingestion service.\n */\nclass EventIngestionConfiguration {\n constructor(eventsClientConfiguration, ingestionURL, eventBufferConfiguration = new EventBufferConfiguration_1.default()) {\n this.eventsClientConfiguration = eventsClientConfiguration;\n this.ingestionURL = ingestionURL;\n this.eventBufferConfiguration = eventBufferConfiguration;\n }\n}\nexports["default"] = EventIngestionConfiguration;\n//# sourceMappingURL=EventIngestionConfiguration.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/eventingestionconfiguration/EventIngestionConfiguration.js?')},"./node_modules/amazon-chime-sdk-js/build/eventreporter/DefaultMeetingEventReporter.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst Destroyable_1 = __webpack_require__(/*! ../destroyable/Destroyable */ \"./node_modules/amazon-chime-sdk-js/build/destroyable/Destroyable.js\");\nconst InMemoryJSONEventBuffer_1 = __webpack_require__(/*! ../eventbuffer/InMemoryJSONEventBuffer */ \"./node_modules/amazon-chime-sdk-js/build/eventbuffer/InMemoryJSONEventBuffer.js\");\nclass DefaultMeetingEventReporter {\n constructor(eventIngestionConfiguration, logger) {\n this.reportingEvents = false;\n this.importantEvents = [\n 'meetingEnded',\n 'meetingFailed',\n 'meetingStartFailed',\n 'audioInputFailed',\n 'videoInputFailed',\n 'meetingStartSucceeded',\n ];\n this.destroyed = false;\n const { eventsClientConfiguration, ingestionURL, eventBufferConfiguration, } = eventIngestionConfiguration;\n const { eventsToIgnore } = eventsClientConfiguration;\n this.eventBuffer = new InMemoryJSONEventBuffer_1.default(eventBufferConfiguration, eventsClientConfiguration, ingestionURL, this.importantEvents, logger);\n this.logger = logger;\n this.eventsToIgnore = eventsToIgnore;\n this.start();\n }\n start() {\n if (this.reportingEvents) {\n return;\n }\n try {\n this.eventBuffer.start();\n this.logger.info('Event reporting started');\n this.reportingEvents = true;\n }\n catch (error) {\n /* istanbul ignore next */\n this.logger.error(`Event Reporting - Error starting the event buffer ${error}`);\n }\n }\n stop() {\n if (!this.reportingEvents) {\n return;\n }\n try {\n this.eventBuffer.stop();\n this.logger.info('Event reporting stopped');\n this.reportingEvents = false;\n }\n catch (error) {\n /* istanbul ignore next */\n this.logger.error(`Event Reporting - Error stopping the event buffer ${error}`);\n }\n }\n reportEvent(ts, name, attributes) {\n return __awaiter(this, void 0, void 0, function* () {\n this.logger.debug(`Event Reporting - DefaultMeetingEventReporter - event received in reportEvent ${ts}, ${name}, ${JSON.stringify(attributes)}`);\n if (this.eventsToIgnore.includes(name)) {\n this.logger.debug(`Event Reporting - DefaultMeetingEventReporter - ${name} event will be ignored as it is in events to ignore`);\n return;\n }\n try {\n this.logger.debug(`Event Reporting - DefaultMeetingEventReporter - adding item to event buffer`);\n yield this.eventBuffer.addItem({ ts, name, attributes });\n }\n catch (error) {\n this.logger.error(`Event Reporting - Error adding event to buffer ${error}`);\n }\n });\n }\n destroy() {\n return __awaiter(this, void 0, void 0, function* () {\n this.destroyed = true;\n this.stop();\n /* istanbul ignore else */\n if (Destroyable_1.isDestroyable(this.eventBuffer)) {\n this.eventBuffer.destroy();\n }\n this.eventBuffer = undefined;\n });\n }\n}\nexports[\"default\"] = DefaultMeetingEventReporter;\n//# sourceMappingURL=DefaultMeetingEventReporter.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/eventreporter/DefaultMeetingEventReporter.js?")},"./node_modules/amazon-chime-sdk-js/build/eventreporter/NoOpEventReporter.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nclass NoOpEventReporter {\n constructor() { }\n reportEvent(_ts, _name, _attributes) {\n return;\n }\n start() { }\n stop() { }\n}\nexports["default"] = NoOpEventReporter;\n//# sourceMappingURL=NoOpEventReporter.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/eventreporter/NoOpEventReporter.js?')},"./node_modules/amazon-chime-sdk-js/build/eventsclientconfiguration/MeetingEventsClientConfiguration.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n/**\n * [[MeetingEventsClientConfiguration]] contains necessary information to\n * report meeting events metadata to each event while sending events to the ingestion service.\n */\nclass MeetingEventsClientConfiguration {\n constructor(meetingId, attendeeId, authenticationToken, eventsToIgnore = []) {\n this.type = \'Meet\';\n this.v = 1;\n this.meetingId = meetingId;\n this.attendeeId = attendeeId;\n this.eventsToIgnore = eventsToIgnore;\n this.authenticationToken = authenticationToken;\n }\n getAuthenticationToken() {\n return this.authenticationToken;\n }\n toJSON() {\n const attributes = {};\n attributes.type = this.type;\n attributes.v = this.v;\n attributes.meetingId = this.meetingId;\n attributes.attendeeId = this.attendeeId;\n return attributes;\n }\n}\nexports["default"] = MeetingEventsClientConfiguration;\n//# sourceMappingURL=MeetingEventsClientConfiguration.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/eventsclientconfiguration/MeetingEventsClientConfiguration.js?')},"./node_modules/amazon-chime-sdk-js/build/index.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.DefaultEventController = exports.DefaultDevicePixelRatioMonitor = exports.DefaultDeviceController = exports.DefaultContentShareController = exports.DefaultBrowserBehavior = exports.DefaultAudioVideoFacade = exports.DefaultAudioVideoController = exports.DefaultAudioMixController = exports.DefaultActiveSpeakerPolicy = exports.DefaultActiveSpeakerDetector = exports.DataMessage = exports.CreateSDPTask = exports.CreatePeerConnectionTask = exports.ContentShareMediaStreamBroker = exports.ContentShareConstants = exports.ConsoleLogger = exports.ConnectionHealthPolicyConfiguration = exports.ConnectionHealthData = exports.ClientVideoStreamReceivingReport = exports.ClientMetricReportMediaType = exports.ClientMetricReportDirection = exports.ClientMetricReport = exports.CleanStoppedSessionTask = exports.CleanRestartedSessionTask = exports.CheckVideoInputFeedback = exports.CheckVideoConnectivityFeedback = exports.CheckNetworkUDPConnectivityFeedback = exports.CheckNetworkTCPConnectivityFeedback = exports.CheckContentShareConnectivityFeedback = exports.CheckCameraResolutionFeedback = exports.CheckAudioOutputFeedback = exports.CheckAudioInputFeedback = exports.CheckAudioConnectivityFeedback = exports.CanvasVideoFrameBuffer = exports.CSPMonitor = exports.BitrateParameters = exports.BaseTask = exports.BaseConnectionHealthPolicy = exports.BackgroundReplacementVideoFrameProcessor = exports.BackgroundFilterVideoFrameProcessor = exports.BackgroundBlurVideoFrameProcessor = exports.BackgroundBlurStrength = exports.AudioVideoControllerState = exports.AudioProfile = exports.AudioLogEvent = exports.Attendee = exports.AttachMediaInputTask = exports.AsyncScheduler = exports.ApplicationMetadata = exports.AllHighestVideoBandwidthPolicy = void 0;\nexports.MeetingSessionCredentials = exports.MeetingSessionConfiguration = exports.MeetingReadinessCheckerConfiguration = exports.MeetingEventsClientConfiguration = exports.MediaDeviceProxyHandler = exports.Maybe = exports.LogLevel = exports.Log = exports.ListenForVolumeIndicatorsTask = exports.LeaveAndReceiveLeaveAckTask = exports.JoinAndReceiveIndexTask = exports.IntervalScheduler = exports.InMemoryJSONEventBuffer = exports.GlobalMetricReport = exports.GetUserMediaError = exports.FullJitterLimitedBackoff = exports.FullJitterBackoffFactory = exports.FullJitterBackoff = exports.FinishGatheringICECandidatesTask = exports.EventIngestionConfiguration = exports.EventBufferConfiguration = exports.DeviceSelection = exports.DevicePixelRatioWindowSource = exports.DefaultWebSocketAdapter = exports.DefaultVolumeIndicatorAdapter = exports.DefaultVideoTransformDevice = exports.DefaultVideoTileFactory = exports.DefaultVideoTileController = exports.DefaultVideoTile = exports.DefaultVideoStreamIndex = exports.DefaultVideoStreamIdSet = exports.DefaultVideoFrameProcessorPipeline = exports.DefaultVideoCaptureAndEncodeParameter = exports.DefaultUserAgentParser = exports.DefaultTranscriptionController = exports.DefaultTransceiverController = exports.DefaultSimulcastUplinkPolicyForContentShare = exports.DefaultSimulcastUplinkPolicy = exports.DefaultSignalingClient = exports.DefaultSigV4 = exports.DefaultSessionStateController = exports.DefaultReconnectController = exports.DefaultRealtimeController = exports.DefaultPingPong = exports.DefaultModality = exports.DefaultMessagingSession = exports.DefaultMeetingSession = exports.DefaultMeetingReadinessChecker = exports.DefaultMeetingEventReporter = exports.DefaultMediaDeviceFactory = void 0;\nexports.SDPMediaSection = exports.SDPCandidateType = exports.SDP = exports.RunnableTask = exports.ReconnectionHealthPolicy = exports.ReceiveVideoStreamIndexTask = exports.ReceiveVideoInputTask = exports.ReceiveTURNCredentialsTask = exports.ReceiveAudioInputTask = exports.RealtimeVolumeIndicator = exports.RealtimeState = exports.RealtimeAttendeePositionInFrame = exports.PromoteToPrimaryMeetingTask = exports.PromiseQueue = exports.PrefetchSortBy = exports.PrefetchOn = exports.PermissionDeniedError = exports.ParallelGroupTask = exports.POSTLogger = exports.OverconstrainedError = exports.OpenSignalingConnectionTask = exports.OnceTask = exports.NotReadableError = exports.NotFoundError = exports.None = exports.NoVideoUplinkBandwidthPolicy = exports.NoVideoDownlinkBandwidthPolicy = exports.NoOpVideoFrameProcessor = exports.NoOpVideoElementFactory = exports.NoOpTask = exports.NoOpMediaStreamBroker = exports.NoOpLogger = exports.NoOpEventReporter = exports.NoOpDeviceController = exports.NoOpDebugLogger = exports.NoOpAudioVideoController = exports.NScaleVideoUplinkBandwidthPolicy = exports.MutableVideoPreferences = exports.MultiLogger = exports.MonitorTask = exports.ModelSpecBuilder = exports.MessagingSessionConfiguration = exports.Message = exports.MeetingSessionVideoAvailability = exports.MeetingSessionURLs = exports.MeetingSessionTURNCredentials = exports.MeetingSessionStatusCode = exports.MeetingSessionStatus = exports.MeetingSessionLifecycleEventCondition = exports.MeetingSessionLifecycleEvent = void 0;\nexports.VideoQualitySettings = exports.VideoPriorityBasedPolicyConfig = exports.VideoPriorityBasedPolicy = exports.VideoPreferences = exports.VideoPreference = exports.VideoOnlyTransceiverController = exports.VideoLogEvent = exports.VideoCodecCapability = exports.VideoAdaptiveProbePolicy = exports.Versioning = exports.UnusableAudioWarningConnectionHealthPolicy = exports.TypeError = exports.TranscriptionStatusType = exports.TranscriptionStatus = exports.TranscriptResult = exports.TranscriptLanguageWithScore = exports.TranscriptItemType = exports.TranscriptItem = exports.TranscriptEntity = exports.TranscriptAlternative = exports.Transcript = exports.TimeoutTask = exports.TimeoutScheduler = exports.TaskStatus = exports.TargetDisplaySize = exports.SubscribeAndReceiveSubscribeAckTask = exports.StreamMetricReport = exports.Some = exports.SingleNodeAudioTransformDevice = exports.SimulcastVideoStreamIndex = exports.SimulcastTransceiverController = exports.SimulcastLayers = exports.SimulcastContentShareTransceiverController = exports.SignalingClientVideoSubscriptionConfiguration = exports.SignalingClientSubscribe = exports.SignalingClientJoin = exports.SignalingClientEventType = exports.SignalingClientEvent = exports.SignalingClientConnectionRequest = exports.SignalingAndMetricsConnectionMonitor = exports.SetRemoteDescriptionTask = exports.SetLocalDescriptionTask = exports.SessionStateControllerTransitionResult = exports.SessionStateControllerState = exports.SessionStateControllerDeferPriority = exports.SessionStateControllerAction = exports.ServerSideNetworkAdaption = exports.SerialGroupTask = exports.SendingAudioFailureConnectionHealthPolicy = exports.SendAndReceiveDataMessagesTask = void 0;\nexports.isVideoTransformDevice = exports.isDestroyable = exports.isAudioTransformDevice = exports.ZLIBTextCompressor = exports.WebSocketReadyState = exports.WaitForAttendeePresenceTask = exports.VoiceFocusTransformDevice = exports.VoiceFocusDeviceTransformer = exports.VideoTileState = exports.VideoStreamDescription = exports.VideoSource = void 0;\nconst AllHighestVideoBandwidthPolicy_1 = __webpack_require__(/*! ./videodownlinkbandwidthpolicy/AllHighestVideoBandwidthPolicy */ "./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/AllHighestVideoBandwidthPolicy.js");\nexports.AllHighestVideoBandwidthPolicy = AllHighestVideoBandwidthPolicy_1.default;\nconst ApplicationMetadata_1 = __webpack_require__(/*! ./applicationmetadata/ApplicationMetadata */ "./node_modules/amazon-chime-sdk-js/build/applicationmetadata/ApplicationMetadata.js");\nexports.ApplicationMetadata = ApplicationMetadata_1.default;\nconst AsyncScheduler_1 = __webpack_require__(/*! ./scheduler/AsyncScheduler */ "./node_modules/amazon-chime-sdk-js/build/scheduler/AsyncScheduler.js");\nexports.AsyncScheduler = AsyncScheduler_1.default;\nconst AttachMediaInputTask_1 = __webpack_require__(/*! ./task/AttachMediaInputTask */ "./node_modules/amazon-chime-sdk-js/build/task/AttachMediaInputTask.js");\nexports.AttachMediaInputTask = AttachMediaInputTask_1.default;\nconst Attendee_1 = __webpack_require__(/*! ./attendee/Attendee */ "./node_modules/amazon-chime-sdk-js/build/attendee/Attendee.js");\nexports.Attendee = Attendee_1.default;\nconst AudioLogEvent_1 = __webpack_require__(/*! ./statscollector/AudioLogEvent */ "./node_modules/amazon-chime-sdk-js/build/statscollector/AudioLogEvent.js");\nexports.AudioLogEvent = AudioLogEvent_1.default;\nconst AudioProfile_1 = __webpack_require__(/*! ./audioprofile/AudioProfile */ "./node_modules/amazon-chime-sdk-js/build/audioprofile/AudioProfile.js");\nexports.AudioProfile = AudioProfile_1.default;\nconst AudioVideoControllerState_1 = __webpack_require__(/*! ./audiovideocontroller/AudioVideoControllerState */ "./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/AudioVideoControllerState.js");\nexports.AudioVideoControllerState = AudioVideoControllerState_1.default;\nconst BackgroundBlurStrength_1 = __webpack_require__(/*! ./backgroundblurprocessor/BackgroundBlurStrength */ "./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurStrength.js");\nexports.BackgroundBlurStrength = BackgroundBlurStrength_1.default;\nconst BackgroundBlurVideoFrameProcessor_1 = __webpack_require__(/*! ./backgroundblurprocessor/BackgroundBlurVideoFrameProcessor */ "./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurVideoFrameProcessor.js");\nexports.BackgroundBlurVideoFrameProcessor = BackgroundBlurVideoFrameProcessor_1.default;\nconst BackgroundFilterVideoFrameProcessor_1 = __webpack_require__(/*! ./backgroundfilter/BackgroundFilterVideoFrameProcessor */ "./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterVideoFrameProcessor.js");\nexports.BackgroundFilterVideoFrameProcessor = BackgroundFilterVideoFrameProcessor_1.default;\nconst BackgroundReplacementVideoFrameProcessor_1 = __webpack_require__(/*! ./backgroundreplacementprocessor/BackgroundReplacementVideoFrameProcessor */ "./node_modules/amazon-chime-sdk-js/build/backgroundreplacementprocessor/BackgroundReplacementVideoFrameProcessor.js");\nexports.BackgroundReplacementVideoFrameProcessor = BackgroundReplacementVideoFrameProcessor_1.default;\nconst BaseConnectionHealthPolicy_1 = __webpack_require__(/*! ./connectionhealthpolicy/BaseConnectionHealthPolicy */ "./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/BaseConnectionHealthPolicy.js");\nexports.BaseConnectionHealthPolicy = BaseConnectionHealthPolicy_1.default;\nconst BaseTask_1 = __webpack_require__(/*! ./task/BaseTask */ "./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js");\nexports.BaseTask = BaseTask_1.default;\nconst BitrateParameters_1 = __webpack_require__(/*! ./videouplinkbandwidthpolicy/BitrateParameters */ "./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/BitrateParameters.js");\nexports.BitrateParameters = BitrateParameters_1.default;\nconst CSPMonitor_1 = __webpack_require__(/*! ./cspmonitor/CSPMonitor */ "./node_modules/amazon-chime-sdk-js/build/cspmonitor/CSPMonitor.js");\nexports.CSPMonitor = CSPMonitor_1.default;\nconst CanvasVideoFrameBuffer_1 = __webpack_require__(/*! ./videoframeprocessor/CanvasVideoFrameBuffer */ "./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/CanvasVideoFrameBuffer.js");\nexports.CanvasVideoFrameBuffer = CanvasVideoFrameBuffer_1.default;\nconst CheckAudioConnectivityFeedback_1 = __webpack_require__(/*! ./meetingreadinesschecker/CheckAudioConnectivityFeedback */ "./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioConnectivityFeedback.js");\nexports.CheckAudioConnectivityFeedback = CheckAudioConnectivityFeedback_1.default;\nconst CheckAudioInputFeedback_1 = __webpack_require__(/*! ./meetingreadinesschecker/CheckAudioInputFeedback */ "./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioInputFeedback.js");\nexports.CheckAudioInputFeedback = CheckAudioInputFeedback_1.default;\nconst CheckAudioOutputFeedback_1 = __webpack_require__(/*! ./meetingreadinesschecker/CheckAudioOutputFeedback */ "./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioOutputFeedback.js");\nexports.CheckAudioOutputFeedback = CheckAudioOutputFeedback_1.default;\nconst CheckCameraResolutionFeedback_1 = __webpack_require__(/*! ./meetingreadinesschecker/CheckCameraResolutionFeedback */ "./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckCameraResolutionFeedback.js");\nexports.CheckCameraResolutionFeedback = CheckCameraResolutionFeedback_1.default;\nconst CheckContentShareConnectivityFeedback_1 = __webpack_require__(/*! ./meetingreadinesschecker/CheckContentShareConnectivityFeedback */ "./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckContentShareConnectivityFeedback.js");\nexports.CheckContentShareConnectivityFeedback = CheckContentShareConnectivityFeedback_1.default;\nconst CheckNetworkTCPConnectivityFeedback_1 = __webpack_require__(/*! ./meetingreadinesschecker/CheckNetworkTCPConnectivityFeedback */ "./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckNetworkTCPConnectivityFeedback.js");\nexports.CheckNetworkTCPConnectivityFeedback = CheckNetworkTCPConnectivityFeedback_1.default;\nconst CheckNetworkUDPConnectivityFeedback_1 = __webpack_require__(/*! ./meetingreadinesschecker/CheckNetworkUDPConnectivityFeedback */ "./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckNetworkUDPConnectivityFeedback.js");\nexports.CheckNetworkUDPConnectivityFeedback = CheckNetworkUDPConnectivityFeedback_1.default;\nconst CheckVideoConnectivityFeedback_1 = __webpack_require__(/*! ./meetingreadinesschecker/CheckVideoConnectivityFeedback */ "./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckVideoConnectivityFeedback.js");\nexports.CheckVideoConnectivityFeedback = CheckVideoConnectivityFeedback_1.default;\nconst CheckVideoInputFeedback_1 = __webpack_require__(/*! ./meetingreadinesschecker/CheckVideoInputFeedback */ "./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckVideoInputFeedback.js");\nexports.CheckVideoInputFeedback = CheckVideoInputFeedback_1.default;\nconst CleanRestartedSessionTask_1 = __webpack_require__(/*! ./task/CleanRestartedSessionTask */ "./node_modules/amazon-chime-sdk-js/build/task/CleanRestartedSessionTask.js");\nexports.CleanRestartedSessionTask = CleanRestartedSessionTask_1.default;\nconst CleanStoppedSessionTask_1 = __webpack_require__(/*! ./task/CleanStoppedSessionTask */ "./node_modules/amazon-chime-sdk-js/build/task/CleanStoppedSessionTask.js");\nexports.CleanStoppedSessionTask = CleanStoppedSessionTask_1.default;\nconst ClientMetricReport_1 = __webpack_require__(/*! ./clientmetricreport/ClientMetricReport */ "./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReport.js");\nexports.ClientMetricReport = ClientMetricReport_1.default;\nconst ClientMetricReportDirection_1 = __webpack_require__(/*! ./clientmetricreport/ClientMetricReportDirection */ "./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportDirection.js");\nexports.ClientMetricReportDirection = ClientMetricReportDirection_1.default;\nconst ClientMetricReportMediaType_1 = __webpack_require__(/*! ./clientmetricreport/ClientMetricReportMediaType */ "./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportMediaType.js");\nexports.ClientMetricReportMediaType = ClientMetricReportMediaType_1.default;\nconst ClientVideoStreamReceivingReport_1 = __webpack_require__(/*! ./clientmetricreport/ClientVideoStreamReceivingReport */ "./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientVideoStreamReceivingReport.js");\nexports.ClientVideoStreamReceivingReport = ClientVideoStreamReceivingReport_1.default;\nconst ConnectionHealthData_1 = __webpack_require__(/*! ./connectionhealthpolicy/ConnectionHealthData */ "./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ConnectionHealthData.js");\nexports.ConnectionHealthData = ConnectionHealthData_1.default;\nconst ConnectionHealthPolicyConfiguration_1 = __webpack_require__(/*! ./connectionhealthpolicy/ConnectionHealthPolicyConfiguration */ "./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ConnectionHealthPolicyConfiguration.js");\nexports.ConnectionHealthPolicyConfiguration = ConnectionHealthPolicyConfiguration_1.default;\nconst ConsoleLogger_1 = __webpack_require__(/*! ./logger/ConsoleLogger */ "./node_modules/amazon-chime-sdk-js/build/logger/ConsoleLogger.js");\nexports.ConsoleLogger = ConsoleLogger_1.default;\nconst ContentShareConstants_1 = __webpack_require__(/*! ./contentsharecontroller/ContentShareConstants */ "./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/ContentShareConstants.js");\nexports.ContentShareConstants = ContentShareConstants_1.default;\nconst ContentShareMediaStreamBroker_1 = __webpack_require__(/*! ./contentsharecontroller/ContentShareMediaStreamBroker */ "./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/ContentShareMediaStreamBroker.js");\nexports.ContentShareMediaStreamBroker = ContentShareMediaStreamBroker_1.default;\nconst CreatePeerConnectionTask_1 = __webpack_require__(/*! ./task/CreatePeerConnectionTask */ "./node_modules/amazon-chime-sdk-js/build/task/CreatePeerConnectionTask.js");\nexports.CreatePeerConnectionTask = CreatePeerConnectionTask_1.default;\nconst CreateSDPTask_1 = __webpack_require__(/*! ./task/CreateSDPTask */ "./node_modules/amazon-chime-sdk-js/build/task/CreateSDPTask.js");\nexports.CreateSDPTask = CreateSDPTask_1.default;\nconst DataMessage_1 = __webpack_require__(/*! ./datamessage/DataMessage */ "./node_modules/amazon-chime-sdk-js/build/datamessage/DataMessage.js");\nexports.DataMessage = DataMessage_1.default;\nconst DefaultActiveSpeakerDetector_1 = __webpack_require__(/*! ./activespeakerdetector/DefaultActiveSpeakerDetector */ "./node_modules/amazon-chime-sdk-js/build/activespeakerdetector/DefaultActiveSpeakerDetector.js");\nexports.DefaultActiveSpeakerDetector = DefaultActiveSpeakerDetector_1.default;\nconst DefaultActiveSpeakerPolicy_1 = __webpack_require__(/*! ./activespeakerpolicy/DefaultActiveSpeakerPolicy */ "./node_modules/amazon-chime-sdk-js/build/activespeakerpolicy/DefaultActiveSpeakerPolicy.js");\nexports.DefaultActiveSpeakerPolicy = DefaultActiveSpeakerPolicy_1.default;\nconst DefaultAudioMixController_1 = __webpack_require__(/*! ./audiomixcontroller/DefaultAudioMixController */ "./node_modules/amazon-chime-sdk-js/build/audiomixcontroller/DefaultAudioMixController.js");\nexports.DefaultAudioMixController = DefaultAudioMixController_1.default;\nconst DefaultAudioVideoController_1 = __webpack_require__(/*! ./audiovideocontroller/DefaultAudioVideoController */ "./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/DefaultAudioVideoController.js");\nexports.DefaultAudioVideoController = DefaultAudioVideoController_1.default;\nconst DefaultAudioVideoFacade_1 = __webpack_require__(/*! ./audiovideofacade/DefaultAudioVideoFacade */ "./node_modules/amazon-chime-sdk-js/build/audiovideofacade/DefaultAudioVideoFacade.js");\nexports.DefaultAudioVideoFacade = DefaultAudioVideoFacade_1.default;\nconst DefaultBrowserBehavior_1 = __webpack_require__(/*! ./browserbehavior/DefaultBrowserBehavior */ "./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js");\nexports.DefaultBrowserBehavior = DefaultBrowserBehavior_1.default;\nconst DefaultContentShareController_1 = __webpack_require__(/*! ./contentsharecontroller/DefaultContentShareController */ "./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/DefaultContentShareController.js");\nexports.DefaultContentShareController = DefaultContentShareController_1.default;\nconst DefaultDeviceController_1 = __webpack_require__(/*! ./devicecontroller/DefaultDeviceController */ "./node_modules/amazon-chime-sdk-js/build/devicecontroller/DefaultDeviceController.js");\nexports.DefaultDeviceController = DefaultDeviceController_1.default;\nconst DefaultDevicePixelRatioMonitor_1 = __webpack_require__(/*! ./devicepixelratiomonitor/DefaultDevicePixelRatioMonitor */ "./node_modules/amazon-chime-sdk-js/build/devicepixelratiomonitor/DefaultDevicePixelRatioMonitor.js");\nexports.DefaultDevicePixelRatioMonitor = DefaultDevicePixelRatioMonitor_1.default;\nconst DefaultEventController_1 = __webpack_require__(/*! ./eventcontroller/DefaultEventController */ "./node_modules/amazon-chime-sdk-js/build/eventcontroller/DefaultEventController.js");\nexports.DefaultEventController = DefaultEventController_1.default;\nconst DefaultMediaDeviceFactory_1 = __webpack_require__(/*! ./mediadevicefactory/DefaultMediaDeviceFactory */ "./node_modules/amazon-chime-sdk-js/build/mediadevicefactory/DefaultMediaDeviceFactory.js");\nexports.DefaultMediaDeviceFactory = DefaultMediaDeviceFactory_1.default;\nconst DefaultMeetingEventReporter_1 = __webpack_require__(/*! ./eventreporter/DefaultMeetingEventReporter */ "./node_modules/amazon-chime-sdk-js/build/eventreporter/DefaultMeetingEventReporter.js");\nexports.DefaultMeetingEventReporter = DefaultMeetingEventReporter_1.default;\nconst DefaultMeetingReadinessChecker_1 = __webpack_require__(/*! ./meetingreadinesschecker/DefaultMeetingReadinessChecker */ "./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/DefaultMeetingReadinessChecker.js");\nexports.DefaultMeetingReadinessChecker = DefaultMeetingReadinessChecker_1.default;\nconst DefaultMeetingSession_1 = __webpack_require__(/*! ./meetingsession/DefaultMeetingSession */ "./node_modules/amazon-chime-sdk-js/build/meetingsession/DefaultMeetingSession.js");\nexports.DefaultMeetingSession = DefaultMeetingSession_1.default;\nconst DefaultMessagingSession_1 = __webpack_require__(/*! ./messagingsession/DefaultMessagingSession */ "./node_modules/amazon-chime-sdk-js/build/messagingsession/DefaultMessagingSession.js");\nexports.DefaultMessagingSession = DefaultMessagingSession_1.default;\nconst DefaultModality_1 = __webpack_require__(/*! ./modality/DefaultModality */ "./node_modules/amazon-chime-sdk-js/build/modality/DefaultModality.js");\nexports.DefaultModality = DefaultModality_1.default;\nconst DefaultPingPong_1 = __webpack_require__(/*! ./pingpong/DefaultPingPong */ "./node_modules/amazon-chime-sdk-js/build/pingpong/DefaultPingPong.js");\nexports.DefaultPingPong = DefaultPingPong_1.default;\nconst DefaultRealtimeController_1 = __webpack_require__(/*! ./realtimecontroller/DefaultRealtimeController */ "./node_modules/amazon-chime-sdk-js/build/realtimecontroller/DefaultRealtimeController.js");\nexports.DefaultRealtimeController = DefaultRealtimeController_1.default;\nconst DefaultReconnectController_1 = __webpack_require__(/*! ./reconnectcontroller/DefaultReconnectController */ "./node_modules/amazon-chime-sdk-js/build/reconnectcontroller/DefaultReconnectController.js");\nexports.DefaultReconnectController = DefaultReconnectController_1.default;\nconst DefaultSessionStateController_1 = __webpack_require__(/*! ./sessionstatecontroller/DefaultSessionStateController */ "./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/DefaultSessionStateController.js");\nexports.DefaultSessionStateController = DefaultSessionStateController_1.default;\nconst DefaultSigV4_1 = __webpack_require__(/*! ./sigv4/DefaultSigV4 */ "./node_modules/amazon-chime-sdk-js/build/sigv4/DefaultSigV4.js");\nexports.DefaultSigV4 = DefaultSigV4_1.default;\nconst DefaultSignalingClient_1 = __webpack_require__(/*! ./signalingclient/DefaultSignalingClient */ "./node_modules/amazon-chime-sdk-js/build/signalingclient/DefaultSignalingClient.js");\nexports.DefaultSignalingClient = DefaultSignalingClient_1.default;\nconst DefaultSimulcastUplinkPolicy_1 = __webpack_require__(/*! ./videouplinkbandwidthpolicy/DefaultSimulcastUplinkPolicy */ "./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/DefaultSimulcastUplinkPolicy.js");\nexports.DefaultSimulcastUplinkPolicy = DefaultSimulcastUplinkPolicy_1.default;\nconst DefaultSimulcastUplinkPolicyForContentShare_1 = __webpack_require__(/*! ./videouplinkbandwidthpolicy/DefaultSimulcastUplinkPolicyForContentShare */ "./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/DefaultSimulcastUplinkPolicyForContentShare.js");\nexports.DefaultSimulcastUplinkPolicyForContentShare = DefaultSimulcastUplinkPolicyForContentShare_1.default;\nconst DefaultTransceiverController_1 = __webpack_require__(/*! ./transceivercontroller/DefaultTransceiverController */ "./node_modules/amazon-chime-sdk-js/build/transceivercontroller/DefaultTransceiverController.js");\nexports.DefaultTransceiverController = DefaultTransceiverController_1.default;\nconst DefaultTranscriptionController_1 = __webpack_require__(/*! ./transcript/DefaultTranscriptionController */ "./node_modules/amazon-chime-sdk-js/build/transcript/DefaultTranscriptionController.js");\nexports.DefaultTranscriptionController = DefaultTranscriptionController_1.default;\nconst DefaultUserAgentParser_1 = __webpack_require__(/*! ./useragentparser/DefaultUserAgentParser */ "./node_modules/amazon-chime-sdk-js/build/useragentparser/DefaultUserAgentParser.js");\nexports.DefaultUserAgentParser = DefaultUserAgentParser_1.default;\nconst DefaultVideoCaptureAndEncodeParameter_1 = __webpack_require__(/*! ./videocaptureandencodeparameter/DefaultVideoCaptureAndEncodeParameter */ "./node_modules/amazon-chime-sdk-js/build/videocaptureandencodeparameter/DefaultVideoCaptureAndEncodeParameter.js");\nexports.DefaultVideoCaptureAndEncodeParameter = DefaultVideoCaptureAndEncodeParameter_1.default;\nconst DefaultVideoFrameProcessorPipeline_1 = __webpack_require__(/*! ./videoframeprocessor/DefaultVideoFrameProcessorPipeline */ "./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/DefaultVideoFrameProcessorPipeline.js");\nexports.DefaultVideoFrameProcessorPipeline = DefaultVideoFrameProcessorPipeline_1.default;\nconst DefaultVideoStreamIdSet_1 = __webpack_require__(/*! ./videostreamidset/DefaultVideoStreamIdSet */ "./node_modules/amazon-chime-sdk-js/build/videostreamidset/DefaultVideoStreamIdSet.js");\nexports.DefaultVideoStreamIdSet = DefaultVideoStreamIdSet_1.default;\nconst DefaultVideoStreamIndex_1 = __webpack_require__(/*! ./videostreamindex/DefaultVideoStreamIndex */ "./node_modules/amazon-chime-sdk-js/build/videostreamindex/DefaultVideoStreamIndex.js");\nexports.DefaultVideoStreamIndex = DefaultVideoStreamIndex_1.default;\nconst DefaultVideoTile_1 = __webpack_require__(/*! ./videotile/DefaultVideoTile */ "./node_modules/amazon-chime-sdk-js/build/videotile/DefaultVideoTile.js");\nexports.DefaultVideoTile = DefaultVideoTile_1.default;\nconst DefaultVideoTileController_1 = __webpack_require__(/*! ./videotilecontroller/DefaultVideoTileController */ "./node_modules/amazon-chime-sdk-js/build/videotilecontroller/DefaultVideoTileController.js");\nexports.DefaultVideoTileController = DefaultVideoTileController_1.default;\nconst DefaultVideoTileFactory_1 = __webpack_require__(/*! ./videotilefactory/DefaultVideoTileFactory */ "./node_modules/amazon-chime-sdk-js/build/videotilefactory/DefaultVideoTileFactory.js");\nexports.DefaultVideoTileFactory = DefaultVideoTileFactory_1.default;\nconst DefaultVideoTransformDevice_1 = __webpack_require__(/*! ./videoframeprocessor/DefaultVideoTransformDevice */ "./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/DefaultVideoTransformDevice.js");\nexports.DefaultVideoTransformDevice = DefaultVideoTransformDevice_1.default;\nconst DefaultVolumeIndicatorAdapter_1 = __webpack_require__(/*! ./volumeindicatoradapter/DefaultVolumeIndicatorAdapter */ "./node_modules/amazon-chime-sdk-js/build/volumeindicatoradapter/DefaultVolumeIndicatorAdapter.js");\nexports.DefaultVolumeIndicatorAdapter = DefaultVolumeIndicatorAdapter_1.default;\nconst DefaultWebSocketAdapter_1 = __webpack_require__(/*! ./websocketadapter/DefaultWebSocketAdapter */ "./node_modules/amazon-chime-sdk-js/build/websocketadapter/DefaultWebSocketAdapter.js");\nexports.DefaultWebSocketAdapter = DefaultWebSocketAdapter_1.default;\nconst DevicePixelRatioWindowSource_1 = __webpack_require__(/*! ./devicepixelratiosource/DevicePixelRatioWindowSource */ "./node_modules/amazon-chime-sdk-js/build/devicepixelratiosource/DevicePixelRatioWindowSource.js");\nexports.DevicePixelRatioWindowSource = DevicePixelRatioWindowSource_1.default;\nconst DeviceSelection_1 = __webpack_require__(/*! ./devicecontroller/DeviceSelection */ "./node_modules/amazon-chime-sdk-js/build/devicecontroller/DeviceSelection.js");\nexports.DeviceSelection = DeviceSelection_1.default;\nconst EventBufferConfiguration_1 = __webpack_require__(/*! ./eventbufferconfiguration/EventBufferConfiguration */ "./node_modules/amazon-chime-sdk-js/build/eventbufferconfiguration/EventBufferConfiguration.js");\nexports.EventBufferConfiguration = EventBufferConfiguration_1.default;\nconst EventIngestionConfiguration_1 = __webpack_require__(/*! ./eventingestionconfiguration/EventIngestionConfiguration */ "./node_modules/amazon-chime-sdk-js/build/eventingestionconfiguration/EventIngestionConfiguration.js");\nexports.EventIngestionConfiguration = EventIngestionConfiguration_1.default;\nconst FinishGatheringICECandidatesTask_1 = __webpack_require__(/*! ./task/FinishGatheringICECandidatesTask */ "./node_modules/amazon-chime-sdk-js/build/task/FinishGatheringICECandidatesTask.js");\nexports.FinishGatheringICECandidatesTask = FinishGatheringICECandidatesTask_1.default;\nconst FullJitterBackoff_1 = __webpack_require__(/*! ./backoff/FullJitterBackoff */ "./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoff.js");\nexports.FullJitterBackoff = FullJitterBackoff_1.default;\nconst FullJitterBackoffFactory_1 = __webpack_require__(/*! ./backoff/FullJitterBackoffFactory */ "./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoffFactory.js");\nexports.FullJitterBackoffFactory = FullJitterBackoffFactory_1.default;\nconst FullJitterLimitedBackoff_1 = __webpack_require__(/*! ./backoff/FullJitterLimitedBackoff */ "./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterLimitedBackoff.js");\nexports.FullJitterLimitedBackoff = FullJitterLimitedBackoff_1.default;\nconst GetUserMediaError_1 = __webpack_require__(/*! ./devicecontroller/GetUserMediaError */ "./node_modules/amazon-chime-sdk-js/build/devicecontroller/GetUserMediaError.js");\nexports.GetUserMediaError = GetUserMediaError_1.default;\nconst GlobalMetricReport_1 = __webpack_require__(/*! ./clientmetricreport/GlobalMetricReport */ "./node_modules/amazon-chime-sdk-js/build/clientmetricreport/GlobalMetricReport.js");\nexports.GlobalMetricReport = GlobalMetricReport_1.default;\nconst InMemoryJSONEventBuffer_1 = __webpack_require__(/*! ./eventbuffer/InMemoryJSONEventBuffer */ "./node_modules/amazon-chime-sdk-js/build/eventbuffer/InMemoryJSONEventBuffer.js");\nexports.InMemoryJSONEventBuffer = InMemoryJSONEventBuffer_1.default;\nconst IntervalScheduler_1 = __webpack_require__(/*! ./scheduler/IntervalScheduler */ "./node_modules/amazon-chime-sdk-js/build/scheduler/IntervalScheduler.js");\nexports.IntervalScheduler = IntervalScheduler_1.default;\nconst JoinAndReceiveIndexTask_1 = __webpack_require__(/*! ./task/JoinAndReceiveIndexTask */ "./node_modules/amazon-chime-sdk-js/build/task/JoinAndReceiveIndexTask.js");\nexports.JoinAndReceiveIndexTask = JoinAndReceiveIndexTask_1.default;\nconst LeaveAndReceiveLeaveAckTask_1 = __webpack_require__(/*! ./task/LeaveAndReceiveLeaveAckTask */ "./node_modules/amazon-chime-sdk-js/build/task/LeaveAndReceiveLeaveAckTask.js");\nexports.LeaveAndReceiveLeaveAckTask = LeaveAndReceiveLeaveAckTask_1.default;\nconst ListenForVolumeIndicatorsTask_1 = __webpack_require__(/*! ./task/ListenForVolumeIndicatorsTask */ "./node_modules/amazon-chime-sdk-js/build/task/ListenForVolumeIndicatorsTask.js");\nexports.ListenForVolumeIndicatorsTask = ListenForVolumeIndicatorsTask_1.default;\nconst Log_1 = __webpack_require__(/*! ./logger/Log */ "./node_modules/amazon-chime-sdk-js/build/logger/Log.js");\nexports.Log = Log_1.default;\nconst LogLevel_1 = __webpack_require__(/*! ./logger/LogLevel */ "./node_modules/amazon-chime-sdk-js/build/logger/LogLevel.js");\nexports.LogLevel = LogLevel_1.default;\nconst MediaDeviceProxyHandler_1 = __webpack_require__(/*! ./mediadevicefactory/MediaDeviceProxyHandler */ "./node_modules/amazon-chime-sdk-js/build/mediadevicefactory/MediaDeviceProxyHandler.js");\nexports.MediaDeviceProxyHandler = MediaDeviceProxyHandler_1.default;\nconst MeetingEventsClientConfiguration_1 = __webpack_require__(/*! ./eventsclientconfiguration/MeetingEventsClientConfiguration */ "./node_modules/amazon-chime-sdk-js/build/eventsclientconfiguration/MeetingEventsClientConfiguration.js");\nexports.MeetingEventsClientConfiguration = MeetingEventsClientConfiguration_1.default;\nconst MeetingReadinessCheckerConfiguration_1 = __webpack_require__(/*! ./meetingreadinesschecker/MeetingReadinessCheckerConfiguration */ "./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/MeetingReadinessCheckerConfiguration.js");\nexports.MeetingReadinessCheckerConfiguration = MeetingReadinessCheckerConfiguration_1.default;\nconst MeetingSessionConfiguration_1 = __webpack_require__(/*! ./meetingsession/MeetingSessionConfiguration */ "./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionConfiguration.js");\nexports.MeetingSessionConfiguration = MeetingSessionConfiguration_1.default;\nconst MeetingSessionCredentials_1 = __webpack_require__(/*! ./meetingsession/MeetingSessionCredentials */ "./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionCredentials.js");\nexports.MeetingSessionCredentials = MeetingSessionCredentials_1.default;\nconst MeetingSessionLifecycleEvent_1 = __webpack_require__(/*! ./meetingsession/MeetingSessionLifecycleEvent */ "./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionLifecycleEvent.js");\nexports.MeetingSessionLifecycleEvent = MeetingSessionLifecycleEvent_1.default;\nconst MeetingSessionLifecycleEventCondition_1 = __webpack_require__(/*! ./meetingsession/MeetingSessionLifecycleEventCondition */ "./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionLifecycleEventCondition.js");\nexports.MeetingSessionLifecycleEventCondition = MeetingSessionLifecycleEventCondition_1.default;\nconst MeetingSessionStatus_1 = __webpack_require__(/*! ./meetingsession/MeetingSessionStatus */ "./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatus.js");\nexports.MeetingSessionStatus = MeetingSessionStatus_1.default;\nconst MeetingSessionStatusCode_1 = __webpack_require__(/*! ./meetingsession/MeetingSessionStatusCode */ "./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js");\nexports.MeetingSessionStatusCode = MeetingSessionStatusCode_1.default;\nconst MeetingSessionTURNCredentials_1 = __webpack_require__(/*! ./meetingsession/MeetingSessionTURNCredentials */ "./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionTURNCredentials.js");\nexports.MeetingSessionTURNCredentials = MeetingSessionTURNCredentials_1.default;\nconst MeetingSessionURLs_1 = __webpack_require__(/*! ./meetingsession/MeetingSessionURLs */ "./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionURLs.js");\nexports.MeetingSessionURLs = MeetingSessionURLs_1.default;\nconst MeetingSessionVideoAvailability_1 = __webpack_require__(/*! ./meetingsession/MeetingSessionVideoAvailability */ "./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionVideoAvailability.js");\nexports.MeetingSessionVideoAvailability = MeetingSessionVideoAvailability_1.default;\nconst Message_1 = __webpack_require__(/*! ./message/Message */ "./node_modules/amazon-chime-sdk-js/build/message/Message.js");\nexports.Message = Message_1.default;\nconst MessagingSessionConfiguration_1 = __webpack_require__(/*! ./messagingsession/MessagingSessionConfiguration */ "./node_modules/amazon-chime-sdk-js/build/messagingsession/MessagingSessionConfiguration.js");\nexports.MessagingSessionConfiguration = MessagingSessionConfiguration_1.default;\nconst ModelSpecBuilder_1 = __webpack_require__(/*! ./backgroundblurprocessor/ModelSpecBuilder */ "./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/ModelSpecBuilder.js");\nexports.ModelSpecBuilder = ModelSpecBuilder_1.default;\nconst MonitorTask_1 = __webpack_require__(/*! ./task/MonitorTask */ "./node_modules/amazon-chime-sdk-js/build/task/MonitorTask.js");\nexports.MonitorTask = MonitorTask_1.default;\nconst MultiLogger_1 = __webpack_require__(/*! ./logger/MultiLogger */ "./node_modules/amazon-chime-sdk-js/build/logger/MultiLogger.js");\nexports.MultiLogger = MultiLogger_1.default;\nconst NScaleVideoUplinkBandwidthPolicy_1 = __webpack_require__(/*! ./videouplinkbandwidthpolicy/NScaleVideoUplinkBandwidthPolicy */ "./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/NScaleVideoUplinkBandwidthPolicy.js");\nexports.NScaleVideoUplinkBandwidthPolicy = NScaleVideoUplinkBandwidthPolicy_1.default;\nconst NoOpAudioVideoController_1 = __webpack_require__(/*! ./audiovideocontroller/NoOpAudioVideoController */ "./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/NoOpAudioVideoController.js");\nexports.NoOpAudioVideoController = NoOpAudioVideoController_1.default;\nconst NoOpDebugLogger_1 = __webpack_require__(/*! ./logger/NoOpDebugLogger */ "./node_modules/amazon-chime-sdk-js/build/logger/NoOpDebugLogger.js");\nexports.NoOpDebugLogger = NoOpDebugLogger_1.default;\nconst NoOpDeviceController_1 = __webpack_require__(/*! ./devicecontroller/NoOpDeviceController */ "./node_modules/amazon-chime-sdk-js/build/devicecontroller/NoOpDeviceController.js");\nexports.NoOpDeviceController = NoOpDeviceController_1.default;\nconst NoOpEventReporter_1 = __webpack_require__(/*! ./eventreporter/NoOpEventReporter */ "./node_modules/amazon-chime-sdk-js/build/eventreporter/NoOpEventReporter.js");\nexports.NoOpEventReporter = NoOpEventReporter_1.default;\nconst NoOpLogger_1 = __webpack_require__(/*! ./logger/NoOpLogger */ "./node_modules/amazon-chime-sdk-js/build/logger/NoOpLogger.js");\nexports.NoOpLogger = NoOpLogger_1.default;\nconst NoOpMediaStreamBroker_1 = __webpack_require__(/*! ./mediastreambroker/NoOpMediaStreamBroker */ "./node_modules/amazon-chime-sdk-js/build/mediastreambroker/NoOpMediaStreamBroker.js");\nexports.NoOpMediaStreamBroker = NoOpMediaStreamBroker_1.default;\nconst NoOpTask_1 = __webpack_require__(/*! ./task/NoOpTask */ "./node_modules/amazon-chime-sdk-js/build/task/NoOpTask.js");\nexports.NoOpTask = NoOpTask_1.default;\nconst NoOpVideoElementFactory_1 = __webpack_require__(/*! ./videoelementfactory/NoOpVideoElementFactory */ "./node_modules/amazon-chime-sdk-js/build/videoelementfactory/NoOpVideoElementFactory.js");\nexports.NoOpVideoElementFactory = NoOpVideoElementFactory_1.default;\nconst NoOpVideoFrameProcessor_1 = __webpack_require__(/*! ./videoframeprocessor/NoOpVideoFrameProcessor */ "./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/NoOpVideoFrameProcessor.js");\nexports.NoOpVideoFrameProcessor = NoOpVideoFrameProcessor_1.default;\nconst NoVideoDownlinkBandwidthPolicy_1 = __webpack_require__(/*! ./videodownlinkbandwidthpolicy/NoVideoDownlinkBandwidthPolicy */ "./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/NoVideoDownlinkBandwidthPolicy.js");\nexports.NoVideoDownlinkBandwidthPolicy = NoVideoDownlinkBandwidthPolicy_1.default;\nconst NoVideoUplinkBandwidthPolicy_1 = __webpack_require__(/*! ./videouplinkbandwidthpolicy/NoVideoUplinkBandwidthPolicy */ "./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/NoVideoUplinkBandwidthPolicy.js");\nexports.NoVideoUplinkBandwidthPolicy = NoVideoUplinkBandwidthPolicy_1.default;\nconst NotFoundError_1 = __webpack_require__(/*! ./devicecontroller/NotFoundError */ "./node_modules/amazon-chime-sdk-js/build/devicecontroller/NotFoundError.js");\nexports.NotFoundError = NotFoundError_1.default;\nconst NotReadableError_1 = __webpack_require__(/*! ./devicecontroller/NotReadableError */ "./node_modules/amazon-chime-sdk-js/build/devicecontroller/NotReadableError.js");\nexports.NotReadableError = NotReadableError_1.default;\nconst OnceTask_1 = __webpack_require__(/*! ./task/OnceTask */ "./node_modules/amazon-chime-sdk-js/build/task/OnceTask.js");\nexports.OnceTask = OnceTask_1.default;\nconst OpenSignalingConnectionTask_1 = __webpack_require__(/*! ./task/OpenSignalingConnectionTask */ "./node_modules/amazon-chime-sdk-js/build/task/OpenSignalingConnectionTask.js");\nexports.OpenSignalingConnectionTask = OpenSignalingConnectionTask_1.default;\nconst OverconstrainedError_1 = __webpack_require__(/*! ./devicecontroller/OverconstrainedError */ "./node_modules/amazon-chime-sdk-js/build/devicecontroller/OverconstrainedError.js");\nexports.OverconstrainedError = OverconstrainedError_1.default;\nconst POSTLogger_1 = __webpack_require__(/*! ./logger/POSTLogger */ "./node_modules/amazon-chime-sdk-js/build/logger/POSTLogger.js");\nexports.POSTLogger = POSTLogger_1.default;\nconst ParallelGroupTask_1 = __webpack_require__(/*! ./task/ParallelGroupTask */ "./node_modules/amazon-chime-sdk-js/build/task/ParallelGroupTask.js");\nexports.ParallelGroupTask = ParallelGroupTask_1.default;\nconst PermissionDeniedError_1 = __webpack_require__(/*! ./devicecontroller/PermissionDeniedError */ "./node_modules/amazon-chime-sdk-js/build/devicecontroller/PermissionDeniedError.js");\nexports.PermissionDeniedError = PermissionDeniedError_1.default;\nconst PrefetchOn_1 = __webpack_require__(/*! ./messagingsession/PrefetchOn */ "./node_modules/amazon-chime-sdk-js/build/messagingsession/PrefetchOn.js");\nexports.PrefetchOn = PrefetchOn_1.default;\nconst PrefetchSortBy_1 = __webpack_require__(/*! ./messagingsession/PrefetchSortBy */ "./node_modules/amazon-chime-sdk-js/build/messagingsession/PrefetchSortBy.js");\nexports.PrefetchSortBy = PrefetchSortBy_1.default;\nconst PromiseQueue_1 = __webpack_require__(/*! ./utils/PromiseQueue */ "./node_modules/amazon-chime-sdk-js/build/utils/PromiseQueue.js");\nexports.PromiseQueue = PromiseQueue_1.default;\nconst PromoteToPrimaryMeetingTask_1 = __webpack_require__(/*! ./task/PromoteToPrimaryMeetingTask */ "./node_modules/amazon-chime-sdk-js/build/task/PromoteToPrimaryMeetingTask.js");\nexports.PromoteToPrimaryMeetingTask = PromoteToPrimaryMeetingTask_1.default;\nconst RealtimeAttendeePositionInFrame_1 = __webpack_require__(/*! ./realtimecontroller/RealtimeAttendeePositionInFrame */ "./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeAttendeePositionInFrame.js");\nexports.RealtimeAttendeePositionInFrame = RealtimeAttendeePositionInFrame_1.default;\nconst RealtimeState_1 = __webpack_require__(/*! ./realtimecontroller/RealtimeState */ "./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeState.js");\nexports.RealtimeState = RealtimeState_1.default;\nconst RealtimeVolumeIndicator_1 = __webpack_require__(/*! ./realtimecontroller/RealtimeVolumeIndicator */ "./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeVolumeIndicator.js");\nexports.RealtimeVolumeIndicator = RealtimeVolumeIndicator_1.default;\nconst ReceiveAudioInputTask_1 = __webpack_require__(/*! ./task/ReceiveAudioInputTask */ "./node_modules/amazon-chime-sdk-js/build/task/ReceiveAudioInputTask.js");\nexports.ReceiveAudioInputTask = ReceiveAudioInputTask_1.default;\nconst ReceiveTURNCredentialsTask_1 = __webpack_require__(/*! ./task/ReceiveTURNCredentialsTask */ "./node_modules/amazon-chime-sdk-js/build/task/ReceiveTURNCredentialsTask.js");\nexports.ReceiveTURNCredentialsTask = ReceiveTURNCredentialsTask_1.default;\nconst ReceiveVideoInputTask_1 = __webpack_require__(/*! ./task/ReceiveVideoInputTask */ "./node_modules/amazon-chime-sdk-js/build/task/ReceiveVideoInputTask.js");\nexports.ReceiveVideoInputTask = ReceiveVideoInputTask_1.default;\nconst ReceiveVideoStreamIndexTask_1 = __webpack_require__(/*! ./task/ReceiveVideoStreamIndexTask */ "./node_modules/amazon-chime-sdk-js/build/task/ReceiveVideoStreamIndexTask.js");\nexports.ReceiveVideoStreamIndexTask = ReceiveVideoStreamIndexTask_1.default;\nconst ReconnectionHealthPolicy_1 = __webpack_require__(/*! ./connectionhealthpolicy/ReconnectionHealthPolicy */ "./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ReconnectionHealthPolicy.js");\nexports.ReconnectionHealthPolicy = ReconnectionHealthPolicy_1.default;\nconst RunnableTask_1 = __webpack_require__(/*! ./task/RunnableTask */ "./node_modules/amazon-chime-sdk-js/build/task/RunnableTask.js");\nexports.RunnableTask = RunnableTask_1.default;\nconst SDP_1 = __webpack_require__(/*! ./sdp/SDP */ "./node_modules/amazon-chime-sdk-js/build/sdp/SDP.js");\nexports.SDP = SDP_1.default;\nconst SDPCandidateType_1 = __webpack_require__(/*! ./sdp/SDPCandidateType */ "./node_modules/amazon-chime-sdk-js/build/sdp/SDPCandidateType.js");\nexports.SDPCandidateType = SDPCandidateType_1.default;\nconst SDPMediaSection_1 = __webpack_require__(/*! ./sdp/SDPMediaSection */ "./node_modules/amazon-chime-sdk-js/build/sdp/SDPMediaSection.js");\nexports.SDPMediaSection = SDPMediaSection_1.default;\nconst SendAndReceiveDataMessagesTask_1 = __webpack_require__(/*! ./task/SendAndReceiveDataMessagesTask */ "./node_modules/amazon-chime-sdk-js/build/task/SendAndReceiveDataMessagesTask.js");\nexports.SendAndReceiveDataMessagesTask = SendAndReceiveDataMessagesTask_1.default;\nconst SendingAudioFailureConnectionHealthPolicy_1 = __webpack_require__(/*! ./connectionhealthpolicy/SendingAudioFailureConnectionHealthPolicy */ "./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/SendingAudioFailureConnectionHealthPolicy.js");\nexports.SendingAudioFailureConnectionHealthPolicy = SendingAudioFailureConnectionHealthPolicy_1.default;\nconst SerialGroupTask_1 = __webpack_require__(/*! ./task/SerialGroupTask */ "./node_modules/amazon-chime-sdk-js/build/task/SerialGroupTask.js");\nexports.SerialGroupTask = SerialGroupTask_1.default;\nconst ServerSideNetworkAdaption_1 = __webpack_require__(/*! ./signalingclient/ServerSideNetworkAdaption */ "./node_modules/amazon-chime-sdk-js/build/signalingclient/ServerSideNetworkAdaption.js");\nexports.ServerSideNetworkAdaption = ServerSideNetworkAdaption_1.default;\nconst SessionStateControllerAction_1 = __webpack_require__(/*! ./sessionstatecontroller/SessionStateControllerAction */ "./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerAction.js");\nexports.SessionStateControllerAction = SessionStateControllerAction_1.default;\nconst SessionStateControllerDeferPriority_1 = __webpack_require__(/*! ./sessionstatecontroller/SessionStateControllerDeferPriority */ "./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerDeferPriority.js");\nexports.SessionStateControllerDeferPriority = SessionStateControllerDeferPriority_1.default;\nconst SessionStateControllerState_1 = __webpack_require__(/*! ./sessionstatecontroller/SessionStateControllerState */ "./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerState.js");\nexports.SessionStateControllerState = SessionStateControllerState_1.default;\nconst SessionStateControllerTransitionResult_1 = __webpack_require__(/*! ./sessionstatecontroller/SessionStateControllerTransitionResult */ "./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerTransitionResult.js");\nexports.SessionStateControllerTransitionResult = SessionStateControllerTransitionResult_1.default;\nconst SetLocalDescriptionTask_1 = __webpack_require__(/*! ./task/SetLocalDescriptionTask */ "./node_modules/amazon-chime-sdk-js/build/task/SetLocalDescriptionTask.js");\nexports.SetLocalDescriptionTask = SetLocalDescriptionTask_1.default;\nconst SetRemoteDescriptionTask_1 = __webpack_require__(/*! ./task/SetRemoteDescriptionTask */ "./node_modules/amazon-chime-sdk-js/build/task/SetRemoteDescriptionTask.js");\nexports.SetRemoteDescriptionTask = SetRemoteDescriptionTask_1.default;\nconst SignalingAndMetricsConnectionMonitor_1 = __webpack_require__(/*! ./connectionmonitor/SignalingAndMetricsConnectionMonitor */ "./node_modules/amazon-chime-sdk-js/build/connectionmonitor/SignalingAndMetricsConnectionMonitor.js");\nexports.SignalingAndMetricsConnectionMonitor = SignalingAndMetricsConnectionMonitor_1.default;\nconst SignalingClientConnectionRequest_1 = __webpack_require__(/*! ./signalingclient/SignalingClientConnectionRequest */ "./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientConnectionRequest.js");\nexports.SignalingClientConnectionRequest = SignalingClientConnectionRequest_1.default;\nconst SignalingClientEvent_1 = __webpack_require__(/*! ./signalingclient/SignalingClientEvent */ "./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEvent.js");\nexports.SignalingClientEvent = SignalingClientEvent_1.default;\nconst SignalingClientEventType_1 = __webpack_require__(/*! ./signalingclient/SignalingClientEventType */ "./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js");\nexports.SignalingClientEventType = SignalingClientEventType_1.default;\nconst SignalingClientJoin_1 = __webpack_require__(/*! ./signalingclient/SignalingClientJoin */ "./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientJoin.js");\nexports.SignalingClientJoin = SignalingClientJoin_1.default;\nconst SignalingClientSubscribe_1 = __webpack_require__(/*! ./signalingclient/SignalingClientSubscribe */ "./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientSubscribe.js");\nexports.SignalingClientSubscribe = SignalingClientSubscribe_1.default;\nconst SignalingClientVideoSubscriptionConfiguration_1 = __webpack_require__(/*! ./signalingclient/SignalingClientVideoSubscriptionConfiguration */ "./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientVideoSubscriptionConfiguration.js");\nexports.SignalingClientVideoSubscriptionConfiguration = SignalingClientVideoSubscriptionConfiguration_1.default;\nconst SimulcastContentShareTransceiverController_1 = __webpack_require__(/*! ./transceivercontroller/SimulcastContentShareTransceiverController */ "./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastContentShareTransceiverController.js");\nexports.SimulcastContentShareTransceiverController = SimulcastContentShareTransceiverController_1.default;\nconst SimulcastLayers_1 = __webpack_require__(/*! ./simulcastlayers/SimulcastLayers */ "./node_modules/amazon-chime-sdk-js/build/simulcastlayers/SimulcastLayers.js");\nexports.SimulcastLayers = SimulcastLayers_1.default;\nconst SimulcastTransceiverController_1 = __webpack_require__(/*! ./transceivercontroller/SimulcastTransceiverController */ "./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastTransceiverController.js");\nexports.SimulcastTransceiverController = SimulcastTransceiverController_1.default;\nconst SimulcastVideoStreamIndex_1 = __webpack_require__(/*! ./videostreamindex/SimulcastVideoStreamIndex */ "./node_modules/amazon-chime-sdk-js/build/videostreamindex/SimulcastVideoStreamIndex.js");\nexports.SimulcastVideoStreamIndex = SimulcastVideoStreamIndex_1.default;\nconst SingleNodeAudioTransformDevice_1 = __webpack_require__(/*! ./devicecontroller/SingleNodeAudioTransformDevice */ "./node_modules/amazon-chime-sdk-js/build/devicecontroller/SingleNodeAudioTransformDevice.js");\nexports.SingleNodeAudioTransformDevice = SingleNodeAudioTransformDevice_1.default;\nconst StreamMetricReport_1 = __webpack_require__(/*! ./clientmetricreport/StreamMetricReport */ "./node_modules/amazon-chime-sdk-js/build/clientmetricreport/StreamMetricReport.js");\nexports.StreamMetricReport = StreamMetricReport_1.default;\nconst SubscribeAndReceiveSubscribeAckTask_1 = __webpack_require__(/*! ./task/SubscribeAndReceiveSubscribeAckTask */ "./node_modules/amazon-chime-sdk-js/build/task/SubscribeAndReceiveSubscribeAckTask.js");\nexports.SubscribeAndReceiveSubscribeAckTask = SubscribeAndReceiveSubscribeAckTask_1.default;\nconst TargetDisplaySize_1 = __webpack_require__(/*! ./videodownlinkbandwidthpolicy/TargetDisplaySize */ "./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/TargetDisplaySize.js");\nexports.TargetDisplaySize = TargetDisplaySize_1.default;\nconst TaskStatus_1 = __webpack_require__(/*! ./task/TaskStatus */ "./node_modules/amazon-chime-sdk-js/build/task/TaskStatus.js");\nexports.TaskStatus = TaskStatus_1.default;\nconst TimeoutScheduler_1 = __webpack_require__(/*! ./scheduler/TimeoutScheduler */ "./node_modules/amazon-chime-sdk-js/build/scheduler/TimeoutScheduler.js");\nexports.TimeoutScheduler = TimeoutScheduler_1.default;\nconst TimeoutTask_1 = __webpack_require__(/*! ./task/TimeoutTask */ "./node_modules/amazon-chime-sdk-js/build/task/TimeoutTask.js");\nexports.TimeoutTask = TimeoutTask_1.default;\nconst Transcript_1 = __webpack_require__(/*! ./transcript/Transcript */ "./node_modules/amazon-chime-sdk-js/build/transcript/Transcript.js");\nexports.Transcript = Transcript_1.default;\nconst TranscriptAlternative_1 = __webpack_require__(/*! ./transcript/TranscriptAlternative */ "./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptAlternative.js");\nexports.TranscriptAlternative = TranscriptAlternative_1.default;\nconst TranscriptEntity_1 = __webpack_require__(/*! ./transcript/TranscriptEntity */ "./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptEntity.js");\nexports.TranscriptEntity = TranscriptEntity_1.default;\nconst TranscriptItem_1 = __webpack_require__(/*! ./transcript/TranscriptItem */ "./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptItem.js");\nexports.TranscriptItem = TranscriptItem_1.default;\nconst TranscriptItemType_1 = __webpack_require__(/*! ./transcript/TranscriptItemType */ "./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptItemType.js");\nexports.TranscriptItemType = TranscriptItemType_1.default;\nconst TranscriptLanguageWithScore_1 = __webpack_require__(/*! ./transcript/TranscriptLanguageWithScore */ "./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptLanguageWithScore.js");\nexports.TranscriptLanguageWithScore = TranscriptLanguageWithScore_1.default;\nconst TranscriptResult_1 = __webpack_require__(/*! ./transcript/TranscriptResult */ "./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptResult.js");\nexports.TranscriptResult = TranscriptResult_1.default;\nconst TranscriptionStatus_1 = __webpack_require__(/*! ./transcript/TranscriptionStatus */ "./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptionStatus.js");\nexports.TranscriptionStatus = TranscriptionStatus_1.default;\nconst TranscriptionStatusType_1 = __webpack_require__(/*! ./transcript/TranscriptionStatusType */ "./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptionStatusType.js");\nexports.TranscriptionStatusType = TranscriptionStatusType_1.default;\nconst TypeError_1 = __webpack_require__(/*! ./devicecontroller/TypeError */ "./node_modules/amazon-chime-sdk-js/build/devicecontroller/TypeError.js");\nexports.TypeError = TypeError_1.default;\nconst UnusableAudioWarningConnectionHealthPolicy_1 = __webpack_require__(/*! ./connectionhealthpolicy/UnusableAudioWarningConnectionHealthPolicy */ "./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/UnusableAudioWarningConnectionHealthPolicy.js");\nexports.UnusableAudioWarningConnectionHealthPolicy = UnusableAudioWarningConnectionHealthPolicy_1.default;\nconst Versioning_1 = __webpack_require__(/*! ./versioning/Versioning */ "./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js");\nexports.Versioning = Versioning_1.default;\nconst VideoAdaptiveProbePolicy_1 = __webpack_require__(/*! ./videodownlinkbandwidthpolicy/VideoAdaptiveProbePolicy */ "./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoAdaptiveProbePolicy.js");\nexports.VideoAdaptiveProbePolicy = VideoAdaptiveProbePolicy_1.default;\nconst VideoCodecCapability_1 = __webpack_require__(/*! ./sdp/VideoCodecCapability */ "./node_modules/amazon-chime-sdk-js/build/sdp/VideoCodecCapability.js");\nexports.VideoCodecCapability = VideoCodecCapability_1.default;\nconst VideoLogEvent_1 = __webpack_require__(/*! ./statscollector/VideoLogEvent */ "./node_modules/amazon-chime-sdk-js/build/statscollector/VideoLogEvent.js");\nexports.VideoLogEvent = VideoLogEvent_1.default;\nconst VideoOnlyTransceiverController_1 = __webpack_require__(/*! ./transceivercontroller/VideoOnlyTransceiverController */ "./node_modules/amazon-chime-sdk-js/build/transceivercontroller/VideoOnlyTransceiverController.js");\nexports.VideoOnlyTransceiverController = VideoOnlyTransceiverController_1.default;\nconst VideoPreference_1 = __webpack_require__(/*! ./videodownlinkbandwidthpolicy/VideoPreference */ "./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreference.js");\nexports.VideoPreference = VideoPreference_1.default;\nconst VideoPreferences_1 = __webpack_require__(/*! ./videodownlinkbandwidthpolicy/VideoPreferences */ "./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreferences.js");\nexports.VideoPreferences = VideoPreferences_1.default;\nconst VideoPriorityBasedPolicy_1 = __webpack_require__(/*! ./videodownlinkbandwidthpolicy/VideoPriorityBasedPolicy */ "./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPriorityBasedPolicy.js");\nexports.VideoPriorityBasedPolicy = VideoPriorityBasedPolicy_1.default;\nconst VideoPriorityBasedPolicyConfig_1 = __webpack_require__(/*! ./videodownlinkbandwidthpolicy/VideoPriorityBasedPolicyConfig */ "./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPriorityBasedPolicyConfig.js");\nexports.VideoPriorityBasedPolicyConfig = VideoPriorityBasedPolicyConfig_1.default;\nconst VideoQualitySettings_1 = __webpack_require__(/*! ./devicecontroller/VideoQualitySettings */ "./node_modules/amazon-chime-sdk-js/build/devicecontroller/VideoQualitySettings.js");\nexports.VideoQualitySettings = VideoQualitySettings_1.default;\nconst VideoSource_1 = __webpack_require__(/*! ./videosource/VideoSource */ "./node_modules/amazon-chime-sdk-js/build/videosource/VideoSource.js");\nexports.VideoSource = VideoSource_1.default;\nconst VideoStreamDescription_1 = __webpack_require__(/*! ./videostreamindex/VideoStreamDescription */ "./node_modules/amazon-chime-sdk-js/build/videostreamindex/VideoStreamDescription.js");\nexports.VideoStreamDescription = VideoStreamDescription_1.default;\nconst VideoTileState_1 = __webpack_require__(/*! ./videotile/VideoTileState */ "./node_modules/amazon-chime-sdk-js/build/videotile/VideoTileState.js");\nexports.VideoTileState = VideoTileState_1.default;\nconst VoiceFocusDeviceTransformer_1 = __webpack_require__(/*! ./voicefocus/VoiceFocusDeviceTransformer */ "./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusDeviceTransformer.js");\nexports.VoiceFocusDeviceTransformer = VoiceFocusDeviceTransformer_1.default;\nconst VoiceFocusTransformDevice_1 = __webpack_require__(/*! ./voicefocus/VoiceFocusTransformDevice */ "./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusTransformDevice.js");\nexports.VoiceFocusTransformDevice = VoiceFocusTransformDevice_1.default;\nconst WaitForAttendeePresenceTask_1 = __webpack_require__(/*! ./task/WaitForAttendeePresenceTask */ "./node_modules/amazon-chime-sdk-js/build/task/WaitForAttendeePresenceTask.js");\nexports.WaitForAttendeePresenceTask = WaitForAttendeePresenceTask_1.default;\nconst WebSocketReadyState_1 = __webpack_require__(/*! ./websocketadapter/WebSocketReadyState */ "./node_modules/amazon-chime-sdk-js/build/websocketadapter/WebSocketReadyState.js");\nexports.WebSocketReadyState = WebSocketReadyState_1.default;\nconst ZLIBTextCompressor_1 = __webpack_require__(/*! ./sdp/ZLIBTextCompressor */ "./node_modules/amazon-chime-sdk-js/build/sdp/ZLIBTextCompressor.js");\nexports.ZLIBTextCompressor = ZLIBTextCompressor_1.default;\nconst VideoPreferences_2 = __webpack_require__(/*! ./videodownlinkbandwidthpolicy/VideoPreferences */ "./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreferences.js");\nObject.defineProperty(exports, "MutableVideoPreferences", ({ enumerable: true, get: function () { return VideoPreferences_2.MutableVideoPreferences; } }));\nconst Types_1 = __webpack_require__(/*! ./utils/Types */ "./node_modules/amazon-chime-sdk-js/build/utils/Types.js");\nObject.defineProperty(exports, "Some", ({ enumerable: true, get: function () { return Types_1.Some; } }));\nObject.defineProperty(exports, "None", ({ enumerable: true, get: function () { return Types_1.None; } }));\nObject.defineProperty(exports, "Maybe", ({ enumerable: true, get: function () { return Types_1.Maybe; } }));\nconst AudioTransformDevice_1 = __webpack_require__(/*! ./devicecontroller/AudioTransformDevice */ "./node_modules/amazon-chime-sdk-js/build/devicecontroller/AudioTransformDevice.js");\nObject.defineProperty(exports, "isAudioTransformDevice", ({ enumerable: true, get: function () { return AudioTransformDevice_1.isAudioTransformDevice; } }));\nconst Destroyable_1 = __webpack_require__(/*! ./destroyable/Destroyable */ "./node_modules/amazon-chime-sdk-js/build/destroyable/Destroyable.js");\nObject.defineProperty(exports, "isDestroyable", ({ enumerable: true, get: function () { return Destroyable_1.isDestroyable; } }));\nconst VideoTransformDevice_1 = __webpack_require__(/*! ./devicecontroller/VideoTransformDevice */ "./node_modules/amazon-chime-sdk-js/build/devicecontroller/VideoTransformDevice.js");\nObject.defineProperty(exports, "isVideoTransformDevice", ({ enumerable: true, get: function () { return VideoTransformDevice_1.isVideoTransformDevice; } }));\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/index.js?')},"./node_modules/amazon-chime-sdk-js/build/logger/ConsoleLogger.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst LogLevel_1 = __webpack_require__(/*! ./LogLevel */ \"./node_modules/amazon-chime-sdk-js/build/logger/LogLevel.js\");\n/**\n * ConsoleLogger writes logs with console\n *\n * ```typescript\n * // working with the ConsoleLogger\n * const logger = new ConsoleLogger('demo'); //default level is LogLevel.WARN\n * logger.info('info');\n * logger.debug('debug');\n * logger.warn('warn');\n * logger.error('error');\n *\n * // setting logging levels\n * const logger = new ConsoleLogger('demo', LogLevel.INFO)\n * logger.debug(debugFunc()); // this will not show up\n * logger.setLogLevel(LogLevel.DEBUG)\n * logger.debug(debugFunc()); // this will show up\n *\n * ```\n */\nclass ConsoleLogger {\n constructor(name, level = LogLevel_1.default.WARN) {\n this.name = name;\n this.level = level;\n }\n info(msg) {\n this.log(LogLevel_1.default.INFO, msg);\n }\n warn(msg) {\n this.log(LogLevel_1.default.WARN, msg);\n }\n error(msg) {\n this.log(LogLevel_1.default.ERROR, msg);\n }\n debug(debugFunction) {\n if (LogLevel_1.default.DEBUG < this.level) {\n return;\n }\n if (typeof debugFunction === 'string') {\n this.log(LogLevel_1.default.DEBUG, debugFunction);\n }\n else if (debugFunction) {\n this.log(LogLevel_1.default.DEBUG, debugFunction());\n }\n else {\n this.log(LogLevel_1.default.DEBUG, '' + debugFunction);\n }\n }\n setLogLevel(level) {\n this.level = level;\n }\n getLogLevel() {\n return this.level;\n }\n log(type, msg) {\n if (type < this.level) {\n return;\n }\n const timestamp = new Date().toISOString();\n const logMessage = `${timestamp} [${LogLevel_1.default[type]}] ${this.name} - ${msg}`;\n switch (type) {\n case LogLevel_1.default.ERROR:\n console.error(logMessage);\n break;\n case LogLevel_1.default.WARN:\n console.warn(logMessage);\n break;\n case LogLevel_1.default.DEBUG:\n console.debug(logMessage.replace(/\\\\r\\\\n/g, '\\n'));\n break;\n case LogLevel_1.default.INFO:\n console.info(logMessage);\n break;\n }\n }\n}\nexports[\"default\"] = ConsoleLogger;\n//# sourceMappingURL=ConsoleLogger.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/logger/ConsoleLogger.js?")},"./node_modules/amazon-chime-sdk-js/build/logger/Log.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nclass Log {\n constructor(sequenceNumber, message, timestampMs, logLevel) {\n this.sequenceNumber = sequenceNumber;\n this.message = message;\n this.timestampMs = timestampMs;\n this.logLevel = logLevel;\n }\n}\nexports["default"] = Log;\n//# sourceMappingURL=Log.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/logger/Log.js?')},"./node_modules/amazon-chime-sdk-js/build/logger/LogLevel.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.LogLevel = void 0;\nvar LogLevel;\n(function (LogLevel) {\n LogLevel[LogLevel["DEBUG"] = 0] = "DEBUG";\n LogLevel[LogLevel["INFO"] = 1] = "INFO";\n LogLevel[LogLevel["WARN"] = 2] = "WARN";\n LogLevel[LogLevel["ERROR"] = 3] = "ERROR";\n LogLevel[LogLevel["OFF"] = 4] = "OFF";\n})(LogLevel = exports.LogLevel || (exports.LogLevel = {}));\nexports["default"] = LogLevel;\n//# sourceMappingURL=LogLevel.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/logger/LogLevel.js?')},"./node_modules/amazon-chime-sdk-js/build/logger/MultiLogger.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst LogLevel_1 = __webpack_require__(/*! ./LogLevel */ "./node_modules/amazon-chime-sdk-js/build/logger/LogLevel.js");\n/**\n * MultiLogger writes logs to multiple other loggers\n */\nclass MultiLogger {\n constructor(...loggers) {\n this._loggers = loggers;\n }\n info(msg) {\n for (const logger of this._loggers) {\n logger.info(msg);\n }\n }\n warn(msg) {\n for (const logger of this._loggers) {\n logger.warn(msg);\n }\n }\n error(msg) {\n for (const logger of this._loggers) {\n logger.error(msg);\n }\n }\n debug(debugFunction) {\n let message;\n let memoized;\n if (typeof debugFunction === \'string\') {\n memoized = debugFunction;\n }\n else if (debugFunction) {\n memoized = () => {\n if (!message) {\n message = debugFunction();\n }\n return message;\n };\n }\n else {\n memoized = \'\' + debugFunction;\n }\n for (const logger of this._loggers) {\n logger.debug(memoized);\n }\n }\n setLogLevel(level) {\n for (const logger of this._loggers) {\n logger.setLogLevel(level);\n }\n }\n getLogLevel() {\n for (const logger of this._loggers) {\n return logger.getLogLevel();\n }\n return LogLevel_1.default.OFF;\n }\n}\nexports["default"] = MultiLogger;\n//# sourceMappingURL=MultiLogger.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/logger/MultiLogger.js?')},"./node_modules/amazon-chime-sdk-js/build/logger/NoOpDebugLogger.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst LogLevel_1 = __webpack_require__(/*! ./LogLevel */ "./node_modules/amazon-chime-sdk-js/build/logger/LogLevel.js");\nconst NoOpLogger_1 = __webpack_require__(/*! ./NoOpLogger */ "./node_modules/amazon-chime-sdk-js/build/logger/NoOpLogger.js");\n/**\n * [[NoOpDebugLogger]] does not log any message but does call\n * debug functions by default.\n */\nclass NoOpDebugLogger extends NoOpLogger_1.default {\n constructor() {\n super(LogLevel_1.default.DEBUG);\n }\n}\nexports["default"] = NoOpDebugLogger;\n//# sourceMappingURL=NoOpDebugLogger.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/logger/NoOpDebugLogger.js?')},"./node_modules/amazon-chime-sdk-js/build/logger/NoOpLogger.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst LogLevel_1 = __webpack_require__(/*! ./LogLevel */ "./node_modules/amazon-chime-sdk-js/build/logger/LogLevel.js");\n/**\n * [[NoOpLogger]] does not log any message.\n */\nclass NoOpLogger {\n constructor(level = LogLevel_1.default.OFF) {\n this.level = level;\n }\n info(_msg) { }\n warn(_msg) { }\n error(_msg) { }\n debug(debugFunction) {\n if (LogLevel_1.default.DEBUG < this.level) {\n return;\n }\n if (typeof debugFunction !== \'string\') {\n debugFunction();\n }\n }\n setLogLevel(level) {\n this.level = level;\n }\n getLogLevel() {\n return this.level;\n }\n}\nexports["default"] = NoOpLogger;\n//# sourceMappingURL=NoOpLogger.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/logger/NoOpLogger.js?')},"./node_modules/amazon-chime-sdk-js/build/logger/POSTLogger.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst IntervalScheduler_1 = __webpack_require__(/*! ../scheduler/IntervalScheduler */ \"./node_modules/amazon-chime-sdk-js/build/scheduler/IntervalScheduler.js\");\nconst Log_1 = __webpack_require__(/*! ./Log */ \"./node_modules/amazon-chime-sdk-js/build/logger/Log.js\");\nconst LogLevel_1 = __webpack_require__(/*! ./LogLevel */ \"./node_modules/amazon-chime-sdk-js/build/logger/LogLevel.js\");\n/**\n * `POSTLogger` publishes log messages in batches to a URL\n * supplied during its construction.\n *\n * Be sure to call {@link POSTLogger.destroy} when you're done\n * with the logger in order to avoid leaks.\n */\nclass POSTLogger {\n constructor(options) {\n this.logCapture = [];\n this.lock = false;\n this.sequenceNumber = 0;\n const { url, batchSize = POSTLogger.BATCH_SIZE, intervalMs = POSTLogger.INTERVAL_MS, logLevel = LogLevel_1.default.WARN, metadata, headers, } = options;\n this.url = url;\n this.batchSize = batchSize;\n this.intervalMs = intervalMs;\n this.logLevel = logLevel;\n this.metadata = metadata;\n this.headers = headers;\n this.start();\n this.eventListener = () => {\n this.stop();\n };\n this.addEventListener();\n }\n addEventListener() {\n if (!this.eventListener || !('window' in __webpack_require__.g) || !window.addEventListener) {\n return;\n }\n window.addEventListener('unload', this.eventListener);\n }\n removeEventListener() {\n if (!this.eventListener || !('window' in __webpack_require__.g) || !window.removeEventListener) {\n return;\n }\n window.removeEventListener('unload', this.eventListener);\n }\n debug(debugFunction) {\n if (LogLevel_1.default.DEBUG < this.logLevel) {\n return;\n }\n if (typeof debugFunction === 'string') {\n this.log(LogLevel_1.default.DEBUG, debugFunction);\n }\n else if (debugFunction) {\n this.log(LogLevel_1.default.DEBUG, debugFunction());\n }\n else {\n this.log(LogLevel_1.default.DEBUG, '' + debugFunction);\n }\n }\n info(msg) {\n this.log(LogLevel_1.default.INFO, msg);\n }\n warn(msg) {\n this.log(LogLevel_1.default.WARN, msg);\n }\n error(msg) {\n this.log(LogLevel_1.default.ERROR, msg);\n }\n setLogLevel(logLevel) {\n this.logLevel = logLevel;\n }\n getLogLevel() {\n return this.logLevel;\n }\n getLogCaptureSize() {\n return this.logCapture.length;\n }\n start() {\n this.addEventListener();\n this.intervalScheduler = new IntervalScheduler_1.default(this.intervalMs);\n this.intervalScheduler.start(() => __awaiter(this, void 0, void 0, function* () {\n if (this.lock === true || this.getLogCaptureSize() === 0) {\n return;\n }\n this.lock = true;\n const batch = this.logCapture.slice(0, this.batchSize);\n const body = this.makeRequestBody(batch);\n try {\n const response = yield fetch(this.url, Object.assign({ method: 'POST', body }, (this.headers\n ? {\n headers: this.headers,\n }\n : {})));\n if (response.status === 200) {\n this.logCapture = this.logCapture.slice(batch.length);\n }\n }\n catch (error) {\n console.warn('[POSTLogger] ' + error.message);\n }\n finally {\n this.lock = false;\n }\n }));\n }\n stop() {\n var _a;\n // Clean up to avoid resource leaks.\n (_a = this.intervalScheduler) === null || _a === void 0 ? void 0 : _a.stop();\n this.intervalScheduler = undefined;\n this.removeEventListener();\n const body = this.makeRequestBody(this.logCapture);\n navigator.sendBeacon(this.url, body);\n }\n /**\n * Permanently clean up the logger. A new logger must be created to\n * resume logging.\n */\n destroy() {\n return __awaiter(this, void 0, void 0, function* () {\n this.stop();\n this.metadata = undefined;\n this.headers = undefined;\n this.logCapture = [];\n this.sequenceNumber = 0;\n this.lock = false;\n this.batchSize = 0;\n this.intervalMs = 0;\n this.url = undefined;\n });\n }\n makeRequestBody(batch) {\n return JSON.stringify(Object.assign(Object.assign({}, this.metadata), { logs: batch }));\n }\n log(type, msg) {\n if (type < this.logLevel) {\n return;\n }\n const now = Date.now();\n // Handle undefined.\n this.logCapture.push(new Log_1.default(this.sequenceNumber, msg, now, LogLevel_1.default[type]));\n this.sequenceNumber += 1;\n }\n}\nexports[\"default\"] = POSTLogger;\nPOSTLogger.BATCH_SIZE = 85;\nPOSTLogger.INTERVAL_MS = 2000;\n//# sourceMappingURL=POSTLogger.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/logger/POSTLogger.js?")},"./node_modules/amazon-chime-sdk-js/build/mediadevicefactory/DefaultMediaDeviceFactory.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst MediaDeviceProxyHandler_1 = __webpack_require__(/*! ./MediaDeviceProxyHandler */ "./node_modules/amazon-chime-sdk-js/build/mediadevicefactory/MediaDeviceProxyHandler.js");\nclass DefaultMediaDeviceFactory {\n constructor() {\n this.isMediaDevicesSupported = typeof navigator !== \'undefined\' && !!navigator.mediaDevices;\n }\n create() {\n if (!this.isMediaDevicesSupported) {\n throw new Error(`navigator.mediaDevices is not supported`);\n }\n else {\n return new Proxy(navigator.mediaDevices, new MediaDeviceProxyHandler_1.default());\n }\n }\n}\nexports["default"] = DefaultMediaDeviceFactory;\n//# sourceMappingURL=DefaultMediaDeviceFactory.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/mediadevicefactory/DefaultMediaDeviceFactory.js?')},"./node_modules/amazon-chime-sdk-js/build/mediadevicefactory/MediaDeviceProxyHandler.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst AsyncScheduler_1 = __webpack_require__(/*! ../scheduler/AsyncScheduler */ \"./node_modules/amazon-chime-sdk-js/build/scheduler/AsyncScheduler.js\");\nconst IntervalScheduler_1 = __webpack_require__(/*! ../scheduler/IntervalScheduler */ \"./node_modules/amazon-chime-sdk-js/build/scheduler/IntervalScheduler.js\");\nclass MediaDeviceProxyHandler {\n constructor() {\n this.scheduler = null;\n this.devices = null;\n this.deviceChangeListeners = new Set();\n // eslint-disable-next-line @typescript-eslint/no-explicit-any,@typescript-eslint/explicit-module-boundary-types\n this.get = (target, property, receiver) => {\n if (!Reflect.has(target, property)) {\n return undefined;\n }\n if (!('ondevicechange' in navigator.mediaDevices)) {\n if (property === 'addEventListener') {\n return this.patchAddEventListener(target, property, receiver);\n }\n else if (property === 'removeEventListener') {\n return this.patchRemoveEventListener(target, property, receiver);\n }\n }\n const value = Reflect.get(target, property, receiver);\n return typeof value === 'function' ? value.bind(target) : value;\n };\n this.patchAddEventListener = (target, property, \n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n receiver) => {\n const value = Reflect.get(target, property, receiver);\n return (type, listener, options) => {\n if (type === 'devicechange') {\n this.deviceChangeListeners.add(listener);\n if (!this.scheduler) {\n this.scheduler = new IntervalScheduler_1.default(MediaDeviceProxyHandler.INTERVAL_MS);\n this.scheduler.start(this.pollDeviceLists);\n }\n }\n else {\n return Reflect.apply(value, target, [type, listener, options]);\n }\n };\n };\n this.patchRemoveEventListener = (target, property, \n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n receiver) => {\n const value = Reflect.get(target, property, receiver);\n return (type, listener, options) => {\n if (type === 'devicechange') {\n this.deviceChangeListeners.delete(listener);\n if (this.deviceChangeListeners.size === 0 && this.scheduler) {\n this.scheduler.stop();\n this.scheduler = null;\n }\n }\n else {\n return Reflect.apply(value, target, [type, listener, options]);\n }\n };\n };\n this.pollDeviceLists = () => __awaiter(this, void 0, void 0, function* () {\n const newDevices = yield this.sortedDeviceList();\n if (this.devices) {\n const changed = newDevices.length !== this.devices.length ||\n newDevices.some((device, index) => {\n return device.deviceId !== this.devices[index].deviceId;\n });\n if (changed) {\n this.handleDeviceChangeEvent();\n }\n }\n this.devices = newDevices;\n });\n }\n sortedDeviceList() {\n return __awaiter(this, void 0, void 0, function* () {\n // @ts-ignore\n const newDevices = yield navigator.mediaDevices.enumerateDevices();\n return newDevices.sort((device1, device2) => {\n if (device1.deviceId < device2.deviceId) {\n return 1;\n }\n if (device1.deviceId > device2.deviceId) {\n return -1;\n }\n return 0;\n });\n });\n }\n handleDeviceChangeEvent() {\n for (const listener of this.deviceChangeListeners) {\n AsyncScheduler_1.default.nextTick(() => {\n /* istanbul ignore else */\n if (this.deviceChangeListeners.has(listener)) {\n const event = new Event('devicechange');\n if (typeof listener === 'function') {\n listener(event);\n }\n else {\n listener.handleEvent(event);\n }\n }\n });\n }\n }\n}\nexports[\"default\"] = MediaDeviceProxyHandler;\nMediaDeviceProxyHandler.INTERVAL_MS = 1000;\n//# sourceMappingURL=MediaDeviceProxyHandler.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/mediadevicefactory/MediaDeviceProxyHandler.js?")},"./node_modules/amazon-chime-sdk-js/build/mediastreambroker/NoOpMediaStreamBroker.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n/**\n * [[NoOpDeviceBroker]] rejects requests to acquire a [[MediaStream]].\n */\nclass NoOpMediaStreamBroker {\n acquireAudioInputStream() {\n return Promise.reject();\n }\n acquireVideoInputStream() {\n return Promise.reject();\n }\n acquireDisplayInputStream(_streamConstraints) {\n return Promise.reject();\n }\n muteLocalAudioInputStream() { }\n unmuteLocalAudioInputStream() { }\n addMediaStreamBrokerObserver(_observer) { }\n removeMediaStreamBrokerObserver(_observer) { }\n}\nexports["default"] = NoOpMediaStreamBroker;\n//# sourceMappingURL=NoOpMediaStreamBroker.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/mediastreambroker/NoOpMediaStreamBroker.js?')},"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioConnectivityFeedback.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.CheckAudioConnectivityFeedback = void 0;\nvar CheckAudioConnectivityFeedback;\n(function (CheckAudioConnectivityFeedback) {\n CheckAudioConnectivityFeedback[CheckAudioConnectivityFeedback["Succeeded"] = 0] = "Succeeded";\n CheckAudioConnectivityFeedback[CheckAudioConnectivityFeedback["AudioInputRequestFailed"] = 1] = "AudioInputRequestFailed";\n CheckAudioConnectivityFeedback[CheckAudioConnectivityFeedback["AudioInputPermissionDenied"] = 2] = "AudioInputPermissionDenied";\n CheckAudioConnectivityFeedback[CheckAudioConnectivityFeedback["ConnectionFailed"] = 3] = "ConnectionFailed";\n CheckAudioConnectivityFeedback[CheckAudioConnectivityFeedback["AudioNotReceived"] = 4] = "AudioNotReceived";\n})(CheckAudioConnectivityFeedback = exports.CheckAudioConnectivityFeedback || (exports.CheckAudioConnectivityFeedback = {}));\nexports["default"] = CheckAudioConnectivityFeedback;\n//# sourceMappingURL=CheckAudioConnectivityFeedback.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioConnectivityFeedback.js?')},"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioInputFeedback.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.CheckAudioInputFeedback = void 0;\nvar CheckAudioInputFeedback;\n(function (CheckAudioInputFeedback) {\n CheckAudioInputFeedback[CheckAudioInputFeedback["Succeeded"] = 0] = "Succeeded";\n CheckAudioInputFeedback[CheckAudioInputFeedback["Failed"] = 1] = "Failed";\n CheckAudioInputFeedback[CheckAudioInputFeedback["PermissionDenied"] = 2] = "PermissionDenied";\n})(CheckAudioInputFeedback = exports.CheckAudioInputFeedback || (exports.CheckAudioInputFeedback = {}));\nexports["default"] = CheckAudioInputFeedback;\n//# sourceMappingURL=CheckAudioInputFeedback.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioInputFeedback.js?')},"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioOutputFeedback.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.CheckAudioOutputFeedback = void 0;\nvar CheckAudioOutputFeedback;\n(function (CheckAudioOutputFeedback) {\n CheckAudioOutputFeedback[CheckAudioOutputFeedback["Succeeded"] = 0] = "Succeeded";\n CheckAudioOutputFeedback[CheckAudioOutputFeedback["Failed"] = 1] = "Failed";\n})(CheckAudioOutputFeedback = exports.CheckAudioOutputFeedback || (exports.CheckAudioOutputFeedback = {}));\nexports["default"] = CheckAudioOutputFeedback;\n//# sourceMappingURL=CheckAudioOutputFeedback.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioOutputFeedback.js?')},"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckCameraResolutionFeedback.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.CheckCameraResolutionFeedback = void 0;\nvar CheckCameraResolutionFeedback;\n(function (CheckCameraResolutionFeedback) {\n CheckCameraResolutionFeedback[CheckCameraResolutionFeedback["Succeeded"] = 0] = "Succeeded";\n CheckCameraResolutionFeedback[CheckCameraResolutionFeedback["Failed"] = 1] = "Failed";\n CheckCameraResolutionFeedback[CheckCameraResolutionFeedback["ResolutionNotSupported"] = 2] = "ResolutionNotSupported";\n CheckCameraResolutionFeedback[CheckCameraResolutionFeedback["PermissionDenied"] = 3] = "PermissionDenied";\n})(CheckCameraResolutionFeedback = exports.CheckCameraResolutionFeedback || (exports.CheckCameraResolutionFeedback = {}));\nexports["default"] = CheckCameraResolutionFeedback;\n//# sourceMappingURL=CheckCameraResolutionFeedback.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckCameraResolutionFeedback.js?')},"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckContentShareConnectivityFeedback.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.CheckContentShareConnectivityFeedback = void 0;\nvar CheckContentShareConnectivityFeedback;\n(function (CheckContentShareConnectivityFeedback) {\n CheckContentShareConnectivityFeedback[CheckContentShareConnectivityFeedback["Succeeded"] = 0] = "Succeeded";\n CheckContentShareConnectivityFeedback[CheckContentShareConnectivityFeedback["Failed"] = 1] = "Failed";\n CheckContentShareConnectivityFeedback[CheckContentShareConnectivityFeedback["PermissionDenied"] = 2] = "PermissionDenied";\n CheckContentShareConnectivityFeedback[CheckContentShareConnectivityFeedback["TimedOut"] = 3] = "TimedOut";\n CheckContentShareConnectivityFeedback[CheckContentShareConnectivityFeedback["ConnectionFailed"] = 4] = "ConnectionFailed";\n})(CheckContentShareConnectivityFeedback = exports.CheckContentShareConnectivityFeedback || (exports.CheckContentShareConnectivityFeedback = {}));\nexports["default"] = CheckContentShareConnectivityFeedback;\n//# sourceMappingURL=CheckContentShareConnectivityFeedback.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckContentShareConnectivityFeedback.js?')},"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckNetworkTCPConnectivityFeedback.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.CheckNetworkTCPConnectivityFeedback = void 0;\nvar CheckNetworkTCPConnectivityFeedback;\n(function (CheckNetworkTCPConnectivityFeedback) {\n CheckNetworkTCPConnectivityFeedback[CheckNetworkTCPConnectivityFeedback["Succeeded"] = 0] = "Succeeded";\n CheckNetworkTCPConnectivityFeedback[CheckNetworkTCPConnectivityFeedback["MeetingSessionURLsNotInitialized"] = 1] = "MeetingSessionURLsNotInitialized";\n CheckNetworkTCPConnectivityFeedback[CheckNetworkTCPConnectivityFeedback["ConnectionFailed"] = 2] = "ConnectionFailed";\n CheckNetworkTCPConnectivityFeedback[CheckNetworkTCPConnectivityFeedback["ICENegotiationFailed"] = 3] = "ICENegotiationFailed";\n})(CheckNetworkTCPConnectivityFeedback = exports.CheckNetworkTCPConnectivityFeedback || (exports.CheckNetworkTCPConnectivityFeedback = {}));\nexports["default"] = CheckNetworkTCPConnectivityFeedback;\n//# sourceMappingURL=CheckNetworkTCPConnectivityFeedback.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckNetworkTCPConnectivityFeedback.js?')},"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckNetworkUDPConnectivityFeedback.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.CheckNetworkUDPConnectivityFeedback = void 0;\nvar CheckNetworkUDPConnectivityFeedback;\n(function (CheckNetworkUDPConnectivityFeedback) {\n CheckNetworkUDPConnectivityFeedback[CheckNetworkUDPConnectivityFeedback["Succeeded"] = 0] = "Succeeded";\n CheckNetworkUDPConnectivityFeedback[CheckNetworkUDPConnectivityFeedback["MeetingSessionURLsNotInitialized"] = 1] = "MeetingSessionURLsNotInitialized";\n CheckNetworkUDPConnectivityFeedback[CheckNetworkUDPConnectivityFeedback["ConnectionFailed"] = 2] = "ConnectionFailed";\n CheckNetworkUDPConnectivityFeedback[CheckNetworkUDPConnectivityFeedback["ICENegotiationFailed"] = 3] = "ICENegotiationFailed";\n})(CheckNetworkUDPConnectivityFeedback = exports.CheckNetworkUDPConnectivityFeedback || (exports.CheckNetworkUDPConnectivityFeedback = {}));\nexports["default"] = CheckNetworkUDPConnectivityFeedback;\n//# sourceMappingURL=CheckNetworkUDPConnectivityFeedback.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckNetworkUDPConnectivityFeedback.js?')},"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckVideoConnectivityFeedback.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.CheckVideoConnectivityFeedback = void 0;\nvar CheckVideoConnectivityFeedback;\n(function (CheckVideoConnectivityFeedback) {\n CheckVideoConnectivityFeedback[CheckVideoConnectivityFeedback["Succeeded"] = 0] = "Succeeded";\n CheckVideoConnectivityFeedback[CheckVideoConnectivityFeedback["VideoInputRequestFailed"] = 1] = "VideoInputRequestFailed";\n CheckVideoConnectivityFeedback[CheckVideoConnectivityFeedback["VideoInputPermissionDenied"] = 2] = "VideoInputPermissionDenied";\n CheckVideoConnectivityFeedback[CheckVideoConnectivityFeedback["ConnectionFailed"] = 3] = "ConnectionFailed";\n CheckVideoConnectivityFeedback[CheckVideoConnectivityFeedback["VideoNotSent"] = 4] = "VideoNotSent";\n})(CheckVideoConnectivityFeedback = exports.CheckVideoConnectivityFeedback || (exports.CheckVideoConnectivityFeedback = {}));\nexports["default"] = CheckVideoConnectivityFeedback;\n//# sourceMappingURL=CheckVideoConnectivityFeedback.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckVideoConnectivityFeedback.js?')},"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckVideoInputFeedback.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.CheckVideoInputFeedback = void 0;\nvar CheckVideoInputFeedback;\n(function (CheckVideoInputFeedback) {\n CheckVideoInputFeedback[CheckVideoInputFeedback["Succeeded"] = 0] = "Succeeded";\n CheckVideoInputFeedback[CheckVideoInputFeedback["Failed"] = 1] = "Failed";\n CheckVideoInputFeedback[CheckVideoInputFeedback["PermissionDenied"] = 2] = "PermissionDenied";\n})(CheckVideoInputFeedback = exports.CheckVideoInputFeedback || (exports.CheckVideoInputFeedback = {}));\nexports["default"] = CheckVideoInputFeedback;\n//# sourceMappingURL=CheckVideoInputFeedback.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckVideoInputFeedback.js?')},"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/DefaultMeetingReadinessChecker.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst DefaultAudioMixController_1 = __webpack_require__(/*! ../audiomixcontroller/DefaultAudioMixController */ "./node_modules/amazon-chime-sdk-js/build/audiomixcontroller/DefaultAudioMixController.js");\nconst DefaultBrowserBehavior_1 = __webpack_require__(/*! ../browserbehavior/DefaultBrowserBehavior */ "./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js");\nconst DefaultDeviceController_1 = __webpack_require__(/*! ../devicecontroller/DefaultDeviceController */ "./node_modules/amazon-chime-sdk-js/build/devicecontroller/DefaultDeviceController.js");\nconst PermissionDeniedError_1 = __webpack_require__(/*! ../devicecontroller/PermissionDeniedError */ "./node_modules/amazon-chime-sdk-js/build/devicecontroller/PermissionDeniedError.js");\nconst BaseTask_1 = __webpack_require__(/*! ../task/BaseTask */ "./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js");\nconst TimeoutTask_1 = __webpack_require__(/*! ../task/TimeoutTask */ "./node_modules/amazon-chime-sdk-js/build/task/TimeoutTask.js");\nconst CheckAudioConnectivityFeedback_1 = __webpack_require__(/*! ./CheckAudioConnectivityFeedback */ "./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioConnectivityFeedback.js");\nconst CheckAudioInputFeedback_1 = __webpack_require__(/*! ./CheckAudioInputFeedback */ "./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioInputFeedback.js");\nconst CheckAudioOutputFeedback_1 = __webpack_require__(/*! ./CheckAudioOutputFeedback */ "./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioOutputFeedback.js");\nconst CheckCameraResolutionFeedback_1 = __webpack_require__(/*! ./CheckCameraResolutionFeedback */ "./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckCameraResolutionFeedback.js");\nconst CheckContentShareConnectivityFeedback_1 = __webpack_require__(/*! ./CheckContentShareConnectivityFeedback */ "./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckContentShareConnectivityFeedback.js");\nconst CheckNetworkTCPConnectivityFeedback_1 = __webpack_require__(/*! ./CheckNetworkTCPConnectivityFeedback */ "./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckNetworkTCPConnectivityFeedback.js");\nconst CheckNetworkUDPConnectivityFeedback_1 = __webpack_require__(/*! ./CheckNetworkUDPConnectivityFeedback */ "./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckNetworkUDPConnectivityFeedback.js");\nconst CheckVideoConnectivityFeedback_1 = __webpack_require__(/*! ./CheckVideoConnectivityFeedback */ "./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckVideoConnectivityFeedback.js");\nconst CheckVideoInputFeedback_1 = __webpack_require__(/*! ./CheckVideoInputFeedback */ "./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckVideoInputFeedback.js");\nconst MeetingReadinessCheckerConfiguration_1 = __webpack_require__(/*! ./MeetingReadinessCheckerConfiguration */ "./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/MeetingReadinessCheckerConfiguration.js");\nclass DefaultMeetingReadinessChecker {\n constructor(logger, meetingSession, configuration = new MeetingReadinessCheckerConfiguration_1.default()) {\n this.logger = logger;\n this.meetingSession = meetingSession;\n this.configuration = configuration;\n this.browserBehavior = new DefaultBrowserBehavior_1.default();\n }\n static delay(timeoutMs) {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise(resolve => setTimeout(resolve, timeoutMs));\n });\n }\n checkAudioInput(audioInputDevice) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n yield this.meetingSession.audioVideo.startAudioInput(audioInputDevice);\n yield this.meetingSession.audioVideo.stopAudioInput();\n return CheckAudioInputFeedback_1.default.Succeeded;\n }\n catch (error) {\n this.logger.error(`MeetingReadinessChecker: Audio input check failed with error ${error}`);\n if (error instanceof PermissionDeniedError_1.default) {\n return CheckAudioInputFeedback_1.default.PermissionDenied;\n }\n return CheckAudioInputFeedback_1.default.Failed;\n }\n });\n }\n checkAudioOutput(audioOutputDeviceInfo, audioOutputVerificationCallback, audioElement = null) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n const audioOutputDeviceId = audioOutputDeviceInfo\n ? DefaultDeviceController_1.default.getIntrinsicDeviceId(audioOutputDeviceInfo)\n : \'\';\n yield this.playTone(audioOutputDeviceId, this.configuration.audioOutputFrequency, audioElement);\n const userFeedback = yield audioOutputVerificationCallback();\n if (userFeedback) {\n return CheckAudioOutputFeedback_1.default.Succeeded;\n }\n return CheckAudioOutputFeedback_1.default.Failed;\n }\n catch (error) {\n this.logger.error(`MeetingReadinessChecker: Audio output check failed with error: ${error}`);\n return CheckAudioOutputFeedback_1.default.Failed;\n }\n finally {\n this.stopTone();\n }\n });\n }\n playTone(sinkId, frequency, audioElement) {\n return __awaiter(this, void 0, void 0, function* () {\n const rampSec = 0.1;\n const maxGainValue = this.configuration.audioOutputGain;\n if (this.oscillatorNode) {\n this.stopTone();\n }\n this.audioContext = DefaultDeviceController_1.default.getAudioContext();\n this.gainNode = this.audioContext.createGain();\n this.gainNode.gain.value = 0;\n this.oscillatorNode = this.audioContext.createOscillator();\n this.oscillatorNode.frequency.value = frequency;\n this.oscillatorNode.connect(this.gainNode);\n this.destinationStream = this.audioContext.createMediaStreamDestination();\n this.gainNode.connect(this.destinationStream);\n const currentTime = this.audioContext.currentTime;\n const startTime = currentTime + 0.1;\n this.gainNode.gain.linearRampToValueAtTime(0, startTime);\n this.gainNode.gain.linearRampToValueAtTime(maxGainValue, startTime + rampSec);\n this.oscillatorNode.start();\n // Because we always use `DefaultAudioMixController`, and both this class\n // and DAMC use `DefaultBrowserBehavior`, it is not possible for the `bindAudioDevice` call here to throw.\n // Nevertheless, we `catch` here and disable code coverage.\n const audioMixController = new DefaultAudioMixController_1.default(this.logger);\n try {\n if (this.browserBehavior.supportsSetSinkId()) {\n yield audioMixController.bindAudioDevice({ deviceId: sinkId });\n }\n }\n catch (e) {\n /* istanbul ignore next */\n this.logger.error(`Failed to bind audio device: ${e}`);\n }\n try {\n yield audioMixController.bindAudioElement(audioElement || new Audio());\n }\n catch (e) {\n this.logger.error(`Failed to bind audio element: ${e}`);\n }\n yield audioMixController.bindAudioStream(this.destinationStream.stream);\n });\n }\n stopTone() {\n if (!this.audioContext || !this.gainNode || !this.oscillatorNode || !this.destinationStream) {\n return;\n }\n const durationSec = 1;\n const rampSec = 0.1;\n const maxGainValue = this.configuration.audioOutputGain;\n const currentTime = this.audioContext.currentTime;\n this.gainNode.gain.linearRampToValueAtTime(maxGainValue, currentTime + rampSec + durationSec);\n this.gainNode.gain.linearRampToValueAtTime(0, currentTime + rampSec * 2 + durationSec);\n this.oscillatorNode.stop();\n this.oscillatorNode.disconnect(this.gainNode);\n this.gainNode.disconnect(this.destinationStream);\n this.oscillatorNode = null;\n this.gainNode = null;\n this.destinationStream = null;\n }\n checkVideoInput(videoInputDevice) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n yield this.meetingSession.audioVideo.startVideoInput(videoInputDevice);\n yield this.meetingSession.audioVideo.stopVideoInput();\n return CheckVideoInputFeedback_1.default.Succeeded;\n }\n catch (error) {\n this.logger.error(`MeetingReadinessChecker: Video check failed with error ${error}`);\n if (error instanceof PermissionDeniedError_1.default) {\n return CheckVideoInputFeedback_1.default.PermissionDenied;\n }\n return CheckVideoInputFeedback_1.default.Failed;\n }\n });\n }\n checkCameraResolution(videoInputDevice, width, height) {\n return __awaiter(this, void 0, void 0, function* () {\n let stream;\n try {\n const videoInputDeviceId = DefaultDeviceController_1.default.getIntrinsicDeviceId(videoInputDevice);\n const videoConstraint = {\n video: this.calculateVideoConstraint(videoInputDeviceId, width, height),\n };\n stream = yield navigator.mediaDevices.getUserMedia(videoConstraint);\n }\n catch (error) {\n this.logger.error(`MeetingReadinessChecker: Camera resolution check with width: ${width} height ${height} failed with error ${error}`);\n if (error && error.name === \'OverconstrainedError\') {\n return CheckCameraResolutionFeedback_1.default.ResolutionNotSupported;\n }\n if (error && error.name === \'NotAllowedError\') {\n return CheckCameraResolutionFeedback_1.default.PermissionDenied;\n }\n return CheckCameraResolutionFeedback_1.default.Failed;\n }\n finally {\n if (stream) {\n stream.getTracks().forEach(function (track) {\n track.stop();\n });\n }\n }\n return CheckCameraResolutionFeedback_1.default.Succeeded;\n });\n }\n calculateVideoConstraint(videoInputDeviceId, width, height) {\n const dimension = this.browserBehavior.requiresResolutionAlignment(width, height);\n const trackConstraints = {};\n if (this.browserBehavior.requiresNoExactMediaStreamConstraints()) {\n trackConstraints.deviceId = videoInputDeviceId;\n trackConstraints.width = width;\n trackConstraints.height = height;\n }\n else {\n trackConstraints.deviceId = { exact: videoInputDeviceId };\n trackConstraints.width = { exact: dimension[0] };\n trackConstraints.height = { exact: dimension[1] };\n }\n return trackConstraints;\n }\n checkContentShareConnectivity(sourceId) {\n return __awaiter(this, void 0, void 0, function* () {\n let isContentShareStarted = false;\n let isAudioVideoStarted = false;\n const contentShareObserver = {\n contentShareDidStart: () => {\n isContentShareStarted = true;\n },\n };\n const observer = {\n audioVideoDidStart: () => {\n isAudioVideoStarted = true;\n },\n };\n try {\n this.meetingSession.audioVideo.addObserver(observer);\n this.meetingSession.audioVideo.start();\n this.meetingSession.audioVideo.addContentShareObserver(contentShareObserver);\n yield this.meetingSession.audioVideo.startContentShareFromScreenCapture(sourceId);\n yield this.executeTimeoutTask(() => __awaiter(this, void 0, void 0, function* () {\n return isAudioVideoStarted && isContentShareStarted;\n }));\n if (!isAudioVideoStarted) {\n return CheckContentShareConnectivityFeedback_1.default.ConnectionFailed;\n }\n yield this.stopMeeting();\n return isContentShareStarted\n ? CheckContentShareConnectivityFeedback_1.default.Succeeded\n : CheckContentShareConnectivityFeedback_1.default.TimedOut;\n }\n catch (error) {\n this.logger.error(`MeetingReadinessChecker: Content share check failed with error ${error}`);\n if (error.name === \'NotAllowedError\') {\n return CheckContentShareConnectivityFeedback_1.default.PermissionDenied;\n }\n else {\n return CheckContentShareConnectivityFeedback_1.default.Failed;\n }\n }\n finally {\n this.meetingSession.audioVideo.removeObserver(observer);\n this.meetingSession.audioVideo.stopContentShare();\n this.meetingSession.audioVideo.removeContentShareObserver(contentShareObserver);\n }\n });\n }\n checkAudioConnectivity(audioInputDevice) {\n return __awaiter(this, void 0, void 0, function* () {\n let audioPresence = false;\n const audioConnectivityMetrics = {\n packetsReceived: 0,\n };\n const audioVideo = this.meetingSession.audioVideo;\n const checkAudioConnectivityMetricsObserver = {\n metricsDidReceive(clientMetricReport) {\n clientMetricReport.getRTCStatsReport().forEach(report => {\n if (report.type === \'inbound-rtp\' && report.mediaType === \'audio\') {\n audioConnectivityMetrics.packetsReceived = report.packetsReceived;\n }\n });\n },\n };\n const attendeePresenceHandler = (attendeeId, present, _externalUserId, _dropped) => {\n if (attendeeId === this.meetingSession.configuration.credentials.attendeeId && present) {\n audioPresence = true;\n }\n };\n try {\n yield audioVideo.startAudioInput(audioInputDevice);\n }\n catch (error) {\n this.logger.error(`MeetingReadinessChecker: Failed to get audio input device with error ${error}`);\n if (error instanceof PermissionDeniedError_1.default) {\n return CheckAudioConnectivityFeedback_1.default.AudioInputPermissionDenied;\n }\n return CheckAudioConnectivityFeedback_1.default.AudioInputRequestFailed;\n }\n audioVideo.realtimeSubscribeToAttendeeIdPresence(attendeePresenceHandler);\n audioVideo.addObserver(checkAudioConnectivityMetricsObserver);\n if (!(yield this.startMeeting())) {\n audioVideo.removeObserver(checkAudioConnectivityMetricsObserver);\n audioVideo.realtimeUnsubscribeToAttendeeIdPresence(attendeePresenceHandler);\n yield this.meetingSession.audioVideo.stopAudioInput();\n return CheckAudioConnectivityFeedback_1.default.ConnectionFailed;\n }\n yield this.executeTimeoutTask(() => __awaiter(this, void 0, void 0, function* () {\n return this.isAudioConnectionSuccessful(audioPresence, audioConnectivityMetrics);\n }));\n audioVideo.removeObserver(checkAudioConnectivityMetricsObserver);\n audioVideo.realtimeUnsubscribeToAttendeeIdPresence(attendeePresenceHandler);\n yield this.stopMeeting();\n yield this.meetingSession.audioVideo.stopAudioInput();\n return this.isAudioConnectionSuccessful(audioPresence, audioConnectivityMetrics)\n ? CheckAudioConnectivityFeedback_1.default.Succeeded\n : CheckAudioConnectivityFeedback_1.default.AudioNotReceived;\n });\n }\n checkVideoConnectivity(videoInputDevice) {\n return __awaiter(this, void 0, void 0, function* () {\n const audioVideo = this.meetingSession.audioVideo;\n let packetsSent = 0;\n const observer = {\n metricsDidReceive(clientMetricReport) {\n const rawStats = clientMetricReport.getRTCStatsReport();\n rawStats.forEach(report => {\n if (report.type === \'outbound-rtp\' && report.mediaType === \'video\') {\n packetsSent = report.packetsSent;\n }\n });\n },\n };\n try {\n yield audioVideo.startVideoInput(videoInputDevice);\n }\n catch (error) {\n this.logger.error(`MeetingReadinessChecker: Failed to get video input device with error ${error}`);\n if (error instanceof PermissionDeniedError_1.default) {\n return CheckVideoConnectivityFeedback_1.default.VideoInputPermissionDenied;\n }\n return CheckVideoConnectivityFeedback_1.default.VideoInputRequestFailed;\n }\n audioVideo.addObserver(observer);\n if (!(yield this.startMeeting())) {\n return CheckVideoConnectivityFeedback_1.default.ConnectionFailed;\n }\n audioVideo.startLocalVideoTile();\n yield this.executeTimeoutTask(() => __awaiter(this, void 0, void 0, function* () {\n return packetsSent > 0;\n }));\n yield audioVideo.stopVideoInput();\n yield this.stopMeeting();\n audioVideo.removeObserver(observer);\n if (packetsSent <= 0) {\n return CheckVideoConnectivityFeedback_1.default.VideoNotSent;\n }\n return CheckVideoConnectivityFeedback_1.default.Succeeded;\n });\n }\n checkNetworkUDPConnectivity() {\n return __awaiter(this, void 0, void 0, function* () {\n let candidatePairSucceed = false;\n const observer = {\n metricsDidReceive(clientMetricReport) {\n const rawStats = clientMetricReport.getRTCStatsReport();\n rawStats.forEach(report => {\n if (report.type === \'candidate-pair\' && report.state === \'succeeded\') {\n candidatePairSucceed = true;\n }\n });\n },\n };\n try {\n this.originalURLRewriter = this.meetingSession.configuration.urls.urlRewriter;\n }\n catch (error) {\n this.logger.error(`MeetingSessionConfiguration.urls doesn\'t exist. Error: ${error}`);\n return CheckNetworkUDPConnectivityFeedback_1.default.MeetingSessionURLsNotInitialized;\n }\n this.meetingSession.configuration.urls.urlRewriter = (uri) => {\n const transformedUri = this.originalURLRewriter(uri);\n if (transformedUri.includes(\'transport=tcp\')) {\n return \'\';\n }\n return transformedUri;\n };\n const audioVideo = this.meetingSession.audioVideo;\n audioVideo.addObserver(observer);\n if (!(yield this.startMeeting())) {\n this.meetingSession.configuration.urls.urlRewriter = this.originalURLRewriter;\n return CheckNetworkUDPConnectivityFeedback_1.default.ConnectionFailed;\n }\n yield this.executeTimeoutTask(() => __awaiter(this, void 0, void 0, function* () {\n return candidatePairSucceed;\n }));\n this.meetingSession.configuration.urls.urlRewriter = this.originalURLRewriter;\n yield this.stopMeeting();\n audioVideo.removeObserver(observer);\n if (!candidatePairSucceed) {\n return CheckNetworkUDPConnectivityFeedback_1.default.ICENegotiationFailed;\n }\n return CheckNetworkUDPConnectivityFeedback_1.default.Succeeded;\n });\n }\n checkNetworkTCPConnectivity() {\n return __awaiter(this, void 0, void 0, function* () {\n let candidatePairSucceed = false;\n const observer = {\n metricsDidReceive(clientMetricReport) {\n const rawStats = clientMetricReport.getRTCStatsReport();\n rawStats.forEach(report => {\n if (report.type === \'candidate-pair\' && report.state === \'succeeded\') {\n candidatePairSucceed = true;\n }\n });\n },\n };\n try {\n this.originalURLRewriter = this.meetingSession.configuration.urls.urlRewriter;\n }\n catch (error) {\n this.logger.error(`MeetingSessionConfiguration.urls doesn\'t exist. Error: ${error}`);\n return CheckNetworkTCPConnectivityFeedback_1.default.MeetingSessionURLsNotInitialized;\n }\n this.meetingSession.configuration.urls.urlRewriter = (uri) => {\n const transformedUri = this.originalURLRewriter(uri);\n if (transformedUri.includes(\'transport=udp\')) {\n return \'\';\n }\n return transformedUri;\n };\n const audioVideo = this.meetingSession.audioVideo;\n audioVideo.addObserver(observer);\n if (!(yield this.startMeeting())) {\n this.meetingSession.configuration.urls.urlRewriter = this.originalURLRewriter;\n return CheckNetworkTCPConnectivityFeedback_1.default.ConnectionFailed;\n }\n yield this.executeTimeoutTask(() => __awaiter(this, void 0, void 0, function* () {\n return candidatePairSucceed;\n }));\n this.meetingSession.configuration.urls.urlRewriter = this.originalURLRewriter;\n yield this.stopMeeting();\n audioVideo.removeObserver(observer);\n if (!candidatePairSucceed) {\n return CheckNetworkTCPConnectivityFeedback_1.default.ICENegotiationFailed;\n }\n return CheckNetworkTCPConnectivityFeedback_1.default.Succeeded;\n });\n }\n startMeeting() {\n return __awaiter(this, void 0, void 0, function* () {\n let isStarted = false;\n const observer = {\n audioVideoDidStart: () => {\n isStarted = true;\n },\n };\n this.meetingSession.audioVideo.addObserver(observer);\n this.meetingSession.audioVideo.start();\n yield this.executeTimeoutTask(() => __awaiter(this, void 0, void 0, function* () {\n return isStarted;\n }));\n this.meetingSession.audioVideo.removeObserver(observer);\n return isStarted;\n });\n }\n stopMeeting() {\n return __awaiter(this, void 0, void 0, function* () {\n let isStopped = false;\n const observer = {\n audioVideoDidStop: (_sessionStatus) => {\n isStopped = true;\n },\n };\n this.meetingSession.audioVideo.addObserver(observer);\n this.meetingSession.audioVideo.stop();\n yield this.executeTimeoutTask(() => __awaiter(this, void 0, void 0, function* () {\n return isStopped;\n }));\n this.meetingSession.audioVideo.removeObserver(observer);\n return isStopped;\n });\n }\n executeTimeoutTask(conditionCheck) {\n return __awaiter(this, void 0, void 0, function* () {\n let isSuccess = false;\n class CheckForConditionTask extends BaseTask_1.default {\n constructor(logger, waitDurationMs) {\n super(logger);\n this.waitDurationMs = waitDurationMs;\n this.isCancelled = false;\n }\n cancel() {\n this.isCancelled = true;\n }\n run() {\n return __awaiter(this, void 0, void 0, function* () {\n while (!this.isCancelled) {\n if (yield conditionCheck()) {\n isSuccess = true;\n break;\n }\n yield DefaultMeetingReadinessChecker.delay(this.waitDurationMs);\n }\n });\n }\n }\n const timeoutTask = new TimeoutTask_1.default(this.logger, new CheckForConditionTask(this.logger, this.configuration.waitDurationMs), this.configuration.timeoutMs);\n yield timeoutTask.run();\n return isSuccess;\n });\n }\n isAudioConnectionSuccessful(audioPresence, audioConnectivityMetrics) {\n return audioPresence && audioConnectivityMetrics.packetsReceived > 0;\n }\n}\nexports["default"] = DefaultMeetingReadinessChecker;\n//# sourceMappingURL=DefaultMeetingReadinessChecker.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/DefaultMeetingReadinessChecker.js?')},"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/MeetingReadinessCheckerConfiguration.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n/**\n * [[MeetingReadinessCheckerConfiguration]] includes custom settings used for MeetingReadinessChecker\n */\nclass MeetingReadinessCheckerConfiguration {\n constructor() {\n /**\n * Specify how long to wait for each check in a test.\n * If null, it will use the default value.\n */\n this.timeoutMs = 10000;\n /**\n * Specify the wait time before checking again when a check condition is not met.\n * If null, it will use the default value.\n */\n this.waitDurationMs = 3000;\n /**\n * Specify the frequency of oscillation in hertz for the audio output test.\n */\n this.audioOutputFrequency = 440;\n /**\n * Specify the gain value from 0 to 1.0 for the audio output test.\n */\n this.audioOutputGain = 0.1;\n }\n}\nexports["default"] = MeetingReadinessCheckerConfiguration;\n//# sourceMappingURL=MeetingReadinessCheckerConfiguration.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/MeetingReadinessCheckerConfiguration.js?')},"./node_modules/amazon-chime-sdk-js/build/meetingsession/DefaultMeetingSession.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst DefaultAudioVideoController_1 = __webpack_require__(/*! ../audiovideocontroller/DefaultAudioVideoController */ "./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/DefaultAudioVideoController.js");\nconst DefaultAudioVideoFacade_1 = __webpack_require__(/*! ../audiovideofacade/DefaultAudioVideoFacade */ "./node_modules/amazon-chime-sdk-js/build/audiovideofacade/DefaultAudioVideoFacade.js");\nconst FullJitterBackoff_1 = __webpack_require__(/*! ../backoff/FullJitterBackoff */ "./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoff.js");\nconst DefaultBrowserBehavior_1 = __webpack_require__(/*! ../browserbehavior/DefaultBrowserBehavior */ "./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js");\nconst ContentShareMediaStreamBroker_1 = __webpack_require__(/*! ../contentsharecontroller/ContentShareMediaStreamBroker */ "./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/ContentShareMediaStreamBroker.js");\nconst DefaultContentShareController_1 = __webpack_require__(/*! ../contentsharecontroller/DefaultContentShareController */ "./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/DefaultContentShareController.js");\nconst CSPMonitor_1 = __webpack_require__(/*! ../cspmonitor/CSPMonitor */ "./node_modules/amazon-chime-sdk-js/build/cspmonitor/CSPMonitor.js");\nconst Destroyable_1 = __webpack_require__(/*! ../destroyable/Destroyable */ "./node_modules/amazon-chime-sdk-js/build/destroyable/Destroyable.js");\nconst DefaultEventController_1 = __webpack_require__(/*! ../eventcontroller/DefaultEventController */ "./node_modules/amazon-chime-sdk-js/build/eventcontroller/DefaultEventController.js");\nconst DefaultReconnectController_1 = __webpack_require__(/*! ../reconnectcontroller/DefaultReconnectController */ "./node_modules/amazon-chime-sdk-js/build/reconnectcontroller/DefaultReconnectController.js");\nconst DefaultWebSocketAdapter_1 = __webpack_require__(/*! ../websocketadapter/DefaultWebSocketAdapter */ "./node_modules/amazon-chime-sdk-js/build/websocketadapter/DefaultWebSocketAdapter.js");\nclass DefaultMeetingSession {\n constructor(configuration, logger, deviceController, _eventController) {\n this._eventController = _eventController;\n this._configuration = configuration;\n this._logger = logger;\n this.checkBrowserSupportAndFeatureConfiguration();\n CSPMonitor_1.default.addLogger(this._logger);\n CSPMonitor_1.default.register();\n if (!this._eventController) {\n this._eventController = new DefaultEventController_1.default(configuration, logger);\n }\n /* istanbul ignore else */\n if (!deviceController.eventController) {\n deviceController.eventController = this.eventController;\n }\n this.audioVideoController = new DefaultAudioVideoController_1.default(this._configuration, this._logger, new DefaultWebSocketAdapter_1.default(this._logger), deviceController, new DefaultReconnectController_1.default(this._configuration.reconnectTimeoutMs, new FullJitterBackoff_1.default(this._configuration.reconnectFixedWaitMs, this._configuration.reconnectShortBackOffMs, this._configuration.reconnectLongBackOffMs)), this.eventController);\n this._deviceController = deviceController;\n const contentShareMediaStreamBroker = new ContentShareMediaStreamBroker_1.default(this._logger);\n this.contentShareController = new DefaultContentShareController_1.default(contentShareMediaStreamBroker, new DefaultAudioVideoController_1.default(DefaultContentShareController_1.default.createContentShareMeetingSessionConfigure(this._configuration), this._logger, new DefaultWebSocketAdapter_1.default(this._logger), contentShareMediaStreamBroker, new DefaultReconnectController_1.default(this._configuration.reconnectTimeoutMs, new FullJitterBackoff_1.default(this._configuration.reconnectFixedWaitMs, this._configuration.reconnectShortBackOffMs, this._configuration.reconnectLongBackOffMs))), this.audioVideoController);\n this.audioVideoFacade = new DefaultAudioVideoFacade_1.default(this.audioVideoController, this.audioVideoController.videoTileController, this.audioVideoController.realtimeController, this.audioVideoController.audioMixController, this._deviceController, this.contentShareController);\n }\n get configuration() {\n return this._configuration;\n }\n get logger() {\n return this._logger;\n }\n get audioVideo() {\n return this.audioVideoFacade;\n }\n get contentShare() {\n return this.contentShareController;\n }\n get deviceController() {\n return this._deviceController;\n }\n get eventController() {\n return this._eventController;\n }\n /**\n * Clean up this instance and resources that it created.\n *\n * After calling `destroy`, internal fields like `audioVideoController` will be unavailable.\n */\n destroy() {\n return __awaiter(this, void 0, void 0, function* () {\n if (Destroyable_1.isDestroyable(this.contentShareController)) {\n yield this.contentShareController.destroy();\n }\n if (Destroyable_1.isDestroyable(this.audioVideoController)) {\n yield this.audioVideoController.destroy();\n }\n if (Destroyable_1.isDestroyable(this.eventController)) {\n yield this.eventController.destroy();\n }\n CSPMonitor_1.default.removeLogger(this._logger);\n this._logger = undefined;\n this._configuration = undefined;\n this._deviceController = undefined;\n this.audioVideoFacade = undefined;\n this.audioVideoController = undefined;\n this.contentShareController = undefined;\n this._eventController = undefined;\n });\n }\n checkBrowserSupportAndFeatureConfiguration() {\n const browserBehavior = new DefaultBrowserBehavior_1.default();\n const browser = `${browserBehavior.name()} ${browserBehavior.majorVersion()} (${browserBehavior.version()})`;\n this.logger.info(`browser is ${browser}`);\n if (!browserBehavior.isSupported()) {\n this.logger.warn(\'this browser is not currently supported. \' +\n \'Stability may suffer. \' +\n `Supported browsers are: ${browserBehavior.supportString()}.`);\n }\n // Validation if a custom video uplink policy is specified\n if (this._configuration.videoUplinkBandwidthPolicy) {\n if (this.isSimulcastUplinkPolicy(this._configuration.videoUplinkBandwidthPolicy)) {\n if (!browserBehavior.hasChromiumWebRTC()) {\n throw new Error(\'Simulcast is only supported on Chromium-based browsers\');\n }\n this._configuration.enableSimulcastForUnifiedPlanChromiumBasedBrowsers = true;\n }\n else {\n this._configuration.enableSimulcastForUnifiedPlanChromiumBasedBrowsers = false;\n }\n }\n if (this._configuration.enableSimulcastForUnifiedPlanChromiumBasedBrowsers) {\n if (browserBehavior.hasChromiumWebRTC()) {\n this.logger.info(`Simulcast is enabled for ${browserBehavior.name()}`);\n }\n else {\n this._configuration.enableSimulcastForUnifiedPlanChromiumBasedBrowsers = false;\n this.logger.info(\'Simulcast is only supported on Chromium-based browsers\');\n }\n }\n }\n isSimulcastUplinkPolicy(policy) {\n return !!(policy && policy.addObserver);\n }\n}\nexports["default"] = DefaultMeetingSession;\n//# sourceMappingURL=DefaultMeetingSession.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/meetingsession/DefaultMeetingSession.js?')},"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionConfiguration.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst ConnectionHealthPolicyConfiguration_1 = __webpack_require__(/*! ../connectionhealthpolicy/ConnectionHealthPolicyConfiguration */ "./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ConnectionHealthPolicyConfiguration.js");\nconst Utils_1 = __webpack_require__(/*! ../utils/Utils */ "./node_modules/amazon-chime-sdk-js/build/utils/Utils.js");\nconst MeetingSessionCredentials_1 = __webpack_require__(/*! ./MeetingSessionCredentials */ "./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionCredentials.js");\nconst MeetingSessionURLs_1 = __webpack_require__(/*! ./MeetingSessionURLs */ "./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionURLs.js");\n/**\n * [[MeetingSessionConfiguration]] contains the information necessary to start\n * a session.\n */\nclass MeetingSessionConfiguration {\n /**\n * Constructs a MeetingSessionConfiguration optionally with a chime:CreateMeeting and\n * chime:CreateAttendee response. You can pass in either a JSON object containing the\n * responses, or a JSON object containing the information in the Meeting and Attendee\n * root-level fields. Examples:\n *\n * ```\n * const configuration = new MeetingSessionConfiguration({\n * "Meeting": {\n * "MeetingId": "...",\n * "MediaPlacement": {\n * "AudioHostUrl": "...",\n * "SignalingUrl": "...",\n * "TurnControlUrl": "..."\n * }\n * }\n * }\n * }, {\n * "Attendee": {\n * "ExternalUserId": "...",\n * "AttendeeId": "...",\n * "JoinToken": "..."\n * }\n * });\n * ```\n *\n * ```\n * const configuration = new MeetingSessionConfiguration({\n * "MeetingId": "...",\n * "MediaPlacement": {\n * "AudioHostUrl": "...",\n * "SignalingUrl": "...",\n * "TurnControlUrl": "..."\n * }\n * }, {\n * "ExternalUserId": "...",\n * "AttendeeId": "...",\n * "JoinToken": "..."\n * });\n * ```\n */\n constructor(createMeetingResponse, createAttendeeResponse) {\n /**\n * The id of the meeting the session is joining.\n */\n this.meetingId = null;\n /**\n * The external meeting id of the meeting the session is joining.\n */\n this.externalMeetingId = null;\n /**\n * The credentials used to authenticate the session.\n */\n this.credentials = null;\n /**\n * The URLs the session uses to reach the meeting service.\n */\n this.urls = null;\n /**\n * Maximum amount of time in milliseconds to allow for connecting.\n */\n this.connectionTimeoutMs = 15000;\n /**\n * Maximum amount of time in milliseconds to wait for the current attendee to be present\n * after initial connection.\n */\n this.attendeePresenceTimeoutMs = 0;\n /**\n * Configuration for connection health policies: reconnection, unusable audio warning connection,\n * and signal strength bars connection.\n */\n this.connectionHealthPolicyConfiguration = new ConnectionHealthPolicyConfiguration_1.default();\n /**\n * Maximum amount of time in milliseconds to allow for reconnecting.\n */\n this.reconnectTimeoutMs = 120 * 1000;\n /**\n * Fixed wait amount in milliseconds between reconnecting attempts.\n */\n this.reconnectFixedWaitMs = 0;\n /**\n * The short back-off time in milliseconds between reconnecting attempts.\n */\n this.reconnectShortBackOffMs = 1 * 1000;\n /**\n * The long back-off time in milliseconds between reconnecting attempts.\n */\n this.reconnectLongBackOffMs = 5 * 1000;\n /**\n * Feature flag to enable Simulcast\n */\n this.enableSimulcastForUnifiedPlanChromiumBasedBrowsers = false;\n /**\n * Video downlink bandwidth policy to determine which remote videos\n * are subscribed to.\n */\n this.videoDownlinkBandwidthPolicy = null;\n /**\n * Video uplink bandwidth policy to determine the bandwidth constraints\n * of the local video.\n */\n this.videoUplinkBandwidthPolicy = null;\n /**\n * Keep the last frame of the video when a remote video is paused via the pauseVideoTile API.\n * This is done by not clearing the srcObject property of the videoElement.\n */\n this.keepLastFrameWhenPaused = false;\n /**\n * The Amazon Chime SDK media backends currently send a keyframe request to content share senders every 10 seconds to help mitigate\n * decoder issues on receivers. This flag requests the backed to disable that feature.\n *\n * Setting this flag to true may or may not lead to issues with content received for your application, as it depends on browsers used\n * and whether they have fixed previous issues leading to the introduction of this periodic keyframe request. It will however\n * reduce CPU consumption on content senders which no longer have to generate as many expensive keyframes.\n */\n this.disablePeriodicKeyframeRequestOnContentSender = false;\n if (createMeetingResponse) {\n createMeetingResponse = Utils_1.toLowerCasePropertyNames(createMeetingResponse);\n if (createMeetingResponse.meeting) {\n createMeetingResponse = createMeetingResponse.meeting;\n }\n this.meetingId = createMeetingResponse.meetingid;\n this.externalMeetingId = createMeetingResponse.externalmeetingid;\n this.urls = new MeetingSessionURLs_1.default();\n this.urls.audioHostURL = createMeetingResponse.mediaplacement.audiohosturl;\n this.urls.signalingURL = createMeetingResponse.mediaplacement.signalingurl;\n this.urls.turnControlURL = createMeetingResponse.mediaplacement.turncontrolurl;\n if (createMeetingResponse.mediaplacement.eventingestionurl) {\n this.urls.eventIngestionURL = createMeetingResponse.mediaplacement.eventingestionurl;\n }\n }\n if (createAttendeeResponse) {\n createAttendeeResponse = Utils_1.toLowerCasePropertyNames(createAttendeeResponse);\n if (createAttendeeResponse.attendee) {\n createAttendeeResponse = createAttendeeResponse.attendee;\n }\n this.credentials = new MeetingSessionCredentials_1.default();\n this.credentials.attendeeId = createAttendeeResponse.attendeeid;\n this.credentials.externalUserId = createAttendeeResponse.externaluserid;\n this.credentials.joinToken = createAttendeeResponse.jointoken;\n }\n }\n}\nexports["default"] = MeetingSessionConfiguration;\n//# sourceMappingURL=MeetingSessionConfiguration.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionConfiguration.js?')},"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionCredentials.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n/**\n * [[MeetingSessionCredentials]] includes the credentials used to authenticate\n * the attendee on the meeting\n */\nclass MeetingSessionCredentials {\n constructor() {\n /**\n * The attendee id for these credentials.\n */\n this.attendeeId = null;\n /**\n * The external user id associated with the attendee.\n */\n this.externalUserId = null;\n /**\n * If set, the session will be authenticated with a join token.\n */\n this.joinToken = null;\n }\n /**\n * Overrides JSON serialization so that join token is redacted.\n */\n toJSON() {\n return {\n attendeeId: this.attendeeId,\n joinToken: this.joinToken === null ? null : \'\',\n };\n }\n}\nexports["default"] = MeetingSessionCredentials;\n//# sourceMappingURL=MeetingSessionCredentials.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionCredentials.js?')},"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionLifecycleEvent.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.MeetingSessionLifecycleEvent = void 0;\n/**\n * [[MeetingSessionLifecycleEvent]] indicates the lifecycle status.\n * Add new enums to the bottom. We depend on these numbers for analytics.\n */\nvar MeetingSessionLifecycleEvent;\n(function (MeetingSessionLifecycleEvent) {\n /**\n * The session is connecting, either to start a new call, or reconnect to an existing one.\n */\n MeetingSessionLifecycleEvent[MeetingSessionLifecycleEvent["Connecting"] = 0] = "Connecting";\n /**\n * The session successfully arrived in the started state either for the first time or\n * due to a change in connection type.\n */\n MeetingSessionLifecycleEvent[MeetingSessionLifecycleEvent["Started"] = 1] = "Started";\n /**\n * The session came to a stop, either from leaving or due to a failure.\n */\n MeetingSessionLifecycleEvent[MeetingSessionLifecycleEvent["Stopped"] = 2] = "Stopped";\n})(MeetingSessionLifecycleEvent = exports.MeetingSessionLifecycleEvent || (exports.MeetingSessionLifecycleEvent = {}));\nexports["default"] = MeetingSessionLifecycleEvent;\n//# sourceMappingURL=MeetingSessionLifecycleEvent.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionLifecycleEvent.js?')},"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionLifecycleEventCondition.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.MeetingSessionLifecycleEventCondition = void 0;\n/**\n * [[MeetingSessionLifecycleEventCondition]] indicates the lifecycle event condition.\n * Add new enums to the bottom. We depend on these numbers for analytics.\n */\nvar MeetingSessionLifecycleEventCondition;\n(function (MeetingSessionLifecycleEventCondition) {\n /**\n * The session is connecting for the first time.\n */\n MeetingSessionLifecycleEventCondition[MeetingSessionLifecycleEventCondition["ConnectingNew"] = 0] = "ConnectingNew";\n /**\n * The session was connected before and is now reconnecting.\n */\n MeetingSessionLifecycleEventCondition[MeetingSessionLifecycleEventCondition["ReconnectingExisting"] = 1] = "ReconnectingExisting";\n /**\n * The session successfully arrived in the started state for the first time.\n */\n MeetingSessionLifecycleEventCondition[MeetingSessionLifecycleEventCondition["StartedNew"] = 2] = "StartedNew";\n /**\n * The session successfully arrived in the started state but was connected before.\n * This can happen, for example, when the connection type changes.\n */\n MeetingSessionLifecycleEventCondition[MeetingSessionLifecycleEventCondition["StartedExisting"] = 3] = "StartedExisting";\n /**\n * The session successfully arrived in the started state following a reconnect.\n */\n MeetingSessionLifecycleEventCondition[MeetingSessionLifecycleEventCondition["StartedAfterReconnect"] = 4] = "StartedAfterReconnect";\n /**\n * The session stopped cleanly, probably due to leaving the call.\n */\n MeetingSessionLifecycleEventCondition[MeetingSessionLifecycleEventCondition["StoppedCleanly"] = 5] = "StoppedCleanly";\n /**\n * The session stopped due to a failure. A status code will indicate the cause of\n * the failure.\n */\n MeetingSessionLifecycleEventCondition[MeetingSessionLifecycleEventCondition["StoppedWithFailure"] = 6] = "StoppedWithFailure";\n})(MeetingSessionLifecycleEventCondition = exports.MeetingSessionLifecycleEventCondition || (exports.MeetingSessionLifecycleEventCondition = {}));\nexports["default"] = MeetingSessionLifecycleEventCondition;\n//# sourceMappingURL=MeetingSessionLifecycleEventCondition.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionLifecycleEventCondition.js?')},"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatus.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst SignalingProtocol_js_1 = __webpack_require__(/*! ../signalingprotocol/SignalingProtocol.js */ \"./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js\");\nconst MeetingSessionStatusCode_1 = __webpack_require__(/*! ./MeetingSessionStatusCode */ \"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js\");\n/**\n * [[MeetingSessionStatus]] indicates a status received regarding the session.\n */\nclass MeetingSessionStatus {\n constructor(_statusCode) {\n this._statusCode = _statusCode;\n }\n statusCode() {\n return this._statusCode;\n }\n isFailure() {\n switch (this._statusCode) {\n case MeetingSessionStatusCode_1.default.AudioAuthenticationRejected:\n case MeetingSessionStatusCode_1.default.AudioCallAtCapacity:\n case MeetingSessionStatusCode_1.default.AudioInternalServerError:\n case MeetingSessionStatusCode_1.default.AudioServiceUnavailable:\n case MeetingSessionStatusCode_1.default.AudioDisconnected:\n case MeetingSessionStatusCode_1.default.VideoCallAtSourceCapacity:\n case MeetingSessionStatusCode_1.default.SignalingBadRequest:\n case MeetingSessionStatusCode_1.default.SignalingInternalServerError:\n case MeetingSessionStatusCode_1.default.SignalingRequestFailed:\n case MeetingSessionStatusCode_1.default.ICEGatheringTimeoutWorkaround:\n case MeetingSessionStatusCode_1.default.ConnectionHealthReconnect:\n case MeetingSessionStatusCode_1.default.RealtimeApiFailed:\n case MeetingSessionStatusCode_1.default.TaskFailed:\n case MeetingSessionStatusCode_1.default.NoAttendeePresent:\n return true;\n default:\n return false;\n }\n }\n isTerminal() {\n switch (this._statusCode) {\n case MeetingSessionStatusCode_1.default.Left:\n case MeetingSessionStatusCode_1.default.AudioJoinedFromAnotherDevice:\n case MeetingSessionStatusCode_1.default.AudioAuthenticationRejected:\n case MeetingSessionStatusCode_1.default.AudioCallAtCapacity:\n case MeetingSessionStatusCode_1.default.MeetingEnded:\n case MeetingSessionStatusCode_1.default.AudioDisconnected:\n case MeetingSessionStatusCode_1.default.TURNCredentialsForbidden:\n case MeetingSessionStatusCode_1.default.SignalingBadRequest:\n case MeetingSessionStatusCode_1.default.SignalingRequestFailed:\n case MeetingSessionStatusCode_1.default.VideoCallAtSourceCapacity:\n case MeetingSessionStatusCode_1.default.RealtimeApiFailed:\n case MeetingSessionStatusCode_1.default.AudioAttendeeRemoved:\n return true;\n default:\n return false;\n }\n }\n isAudioConnectionFailure() {\n switch (this._statusCode) {\n case MeetingSessionStatusCode_1.default.AudioAuthenticationRejected:\n case MeetingSessionStatusCode_1.default.AudioInternalServerError:\n case MeetingSessionStatusCode_1.default.AudioServiceUnavailable:\n case MeetingSessionStatusCode_1.default.ICEGatheringTimeoutWorkaround:\n case MeetingSessionStatusCode_1.default.SignalingBadRequest:\n case MeetingSessionStatusCode_1.default.SignalingInternalServerError:\n case MeetingSessionStatusCode_1.default.SignalingRequestFailed:\n case MeetingSessionStatusCode_1.default.RealtimeApiFailed:\n case MeetingSessionStatusCode_1.default.NoAttendeePresent:\n return true;\n default:\n return false;\n }\n }\n toString() {\n switch (this._statusCode) {\n case MeetingSessionStatusCode_1.default.OK:\n return 'Everything is OK so far.';\n case MeetingSessionStatusCode_1.default.Left:\n return 'The attendee left the meeting.';\n case MeetingSessionStatusCode_1.default.AudioJoinedFromAnotherDevice:\n return 'The attendee joined from another device.';\n case MeetingSessionStatusCode_1.default.AudioAuthenticationRejected:\n return 'The meeting rejected the attendee.';\n case MeetingSessionStatusCode_1.default.AudioCallAtCapacity:\n return \"The attendee couldn't join because the meeting was at capacity.\";\n case MeetingSessionStatusCode_1.default.MeetingEnded:\n return 'The meeting ended.';\n case MeetingSessionStatusCode_1.default.AudioInternalServerError:\n case MeetingSessionStatusCode_1.default.AudioServiceUnavailable:\n case MeetingSessionStatusCode_1.default.AudioDisconnected:\n return 'The audio connection failed.';\n case MeetingSessionStatusCode_1.default.VideoCallSwitchToViewOnly:\n return \"The attendee couldn't start the local video because the maximum video capacity was reached.\";\n case MeetingSessionStatusCode_1.default.VideoCallAtSourceCapacity:\n return 'The connection failed due to an internal server error.';\n case MeetingSessionStatusCode_1.default.SignalingBadRequest:\n case MeetingSessionStatusCode_1.default.SignalingInternalServerError:\n case MeetingSessionStatusCode_1.default.SignalingRequestFailed:\n return 'The signaling connection failed.';\n case MeetingSessionStatusCode_1.default.ICEGatheringTimeoutWorkaround:\n return 'Gathering ICE candidates timed out. In Chrome, this might indicate that the browser is in a bad state after reconnecting to VPN.';\n case MeetingSessionStatusCode_1.default.ConnectionHealthReconnect:\n return 'The meeting was reconnected.';\n case MeetingSessionStatusCode_1.default.RealtimeApiFailed:\n return 'The real-time API failed. This status code might indicate that the callback you passed to the real-time API threw an exception.';\n case MeetingSessionStatusCode_1.default.TaskFailed:\n return 'The connection failed. See the error message for more details.';\n case MeetingSessionStatusCode_1.default.IncompatibleSDP:\n return 'The connection failed due to incompatible SDP.';\n case MeetingSessionStatusCode_1.default.TURNCredentialsForbidden:\n return 'The meeting ended, or the attendee was removed.';\n case MeetingSessionStatusCode_1.default.NoAttendeePresent:\n return 'The attendee was not present.';\n case MeetingSessionStatusCode_1.default.AudioAttendeeRemoved:\n return 'The meeting ended because attendee removed.';\n case MeetingSessionStatusCode_1.default.AudioVideoWasRemovedFromPrimaryMeeting:\n return 'The Primary meeting credentials provided are no longer valid. chime::DeleteAttendee may have been called on them.';\n case MeetingSessionStatusCode_1.default.AudioDisconnectAudio:\n return 'The audio connection failed.';\n /* istanbul ignore next */\n default: {\n // You get a compile-time error if you do not handle any status code.\n const exhaustiveCheck = this._statusCode;\n throw new Error(`Unhandled case: ${exhaustiveCheck}`);\n }\n }\n }\n static fromSignalFrame(frame) {\n if (frame.error && frame.error.status) {\n return this.fromSignalingStatus(frame.error.status);\n }\n else if (frame.type === SignalingProtocol_js_1.SdkSignalFrame.Type.AUDIO_STATUS) {\n if (frame.audioStatus) {\n return this.fromAudioStatus(frame.audioStatus.audioStatus);\n }\n return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.SignalingRequestFailed);\n }\n else if (frame.type === SignalingProtocol_js_1.SdkSignalFrame.Type.PRIMARY_MEETING_LEAVE) {\n return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.AudioVideoWasRemovedFromPrimaryMeeting);\n }\n return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.OK);\n }\n static fromAudioStatus(status) {\n // TODO: Add these numbers to proto definition and reference them here.\n switch (status) {\n case 200:\n return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.OK);\n case 301:\n return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.AudioJoinedFromAnotherDevice);\n case 302:\n return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.AudioDisconnectAudio);\n case 403:\n return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.AudioAuthenticationRejected);\n case 409:\n return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.AudioCallAtCapacity);\n case 410:\n return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.MeetingEnded);\n case 411:\n return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.AudioAttendeeRemoved);\n case 500:\n return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.AudioInternalServerError);\n case 503:\n return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.AudioServiceUnavailable);\n default:\n switch (Math.floor(status / 100)) {\n case 2:\n return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.OK);\n default:\n return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.AudioDisconnected);\n }\n }\n }\n static fromSignalingStatus(status) {\n // TODO: Add these numbers to proto definition and reference them here.\n //\n // We don't bother adding additional codes with different prefixes, and we probably\n // shouldn't be prefixing all these errors (e.g. `AuthenticationRejected`) with the media type\n // since that doesn't make sense.\n switch (status) {\n case 206:\n return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.VideoCallSwitchToViewOnly);\n case 509:\n return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.VideoCallAtSourceCapacity);\n case 403:\n return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.AudioAuthenticationRejected);\n case 409:\n return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.AudioCallAtCapacity);\n default:\n switch (Math.floor(status / 100)) {\n case 2:\n return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.OK);\n case 4:\n return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.SignalingBadRequest);\n case 5:\n return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.SignalingInternalServerError);\n default:\n return new MeetingSessionStatus(MeetingSessionStatusCode_1.default.SignalingRequestFailed);\n }\n }\n }\n}\nexports[\"default\"] = MeetingSessionStatus;\n//# sourceMappingURL=MeetingSessionStatus.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatus.js?")},"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.MeetingSessionStatusCode = void 0;\n/**\n * [[MeetingSessionStatusCode]] gives the underlying reason for a given [[MeetingSessionStatus]]. Though some codes are used for\n * [[MeetingSessionStatus]] internally, the primary use of these is in `AudioVideoObserver.audioVideoDidStop`, and their docstrings\n * will be specific to that usage. Other functions that use [[MeetingSessionStatus]] (mainly\n * `AudioVideoControllerFacade.promoteToPrimaryMeeting` and `AudioVideoObserver.audioVideoWasDemotedFromPrimaryMeeting` will document\n * their usage separately).\n *\n * These status codes can be used for logging, debugging, and notification to end users, but in most cases should not\n * be used for any retry behavior, as the audio video controller will already be retrying non-terminal errors (i.e. regardless\n * of `MeetingSessionStatus.isTerminal`, your application should not try to immediately restart or recreate the\n * audio video controller). For error codes that indicate issues with the Chime service, please create a github issue\n * with browser logs if they occur frequently.\n *\n * If `MeetingSessionStatus.isTerminal` returns `true`, you should remove any meeting UX in addition to notifying the user,\n * as the audio video controller will not be retrying the connection. When notifying users, more general failure messages are\n * recommended unless otherwise noted.\n */\nvar MeetingSessionStatusCode;\n(function (MeetingSessionStatusCode) {\n /**\n * There is no error. This code is used internally but will never be returned by `audioVideoDidStop`\n */\n MeetingSessionStatusCode[MeetingSessionStatusCode["OK"] = 0] = "OK";\n /**\n * The attendee left the meeting normally via `AudioVideoConftrollerFacade.stop`\n */\n MeetingSessionStatusCode[MeetingSessionStatusCode["Left"] = 1] = "Left";\n /**\n * The attendee joined from another device (e.g. another browser window/tab or on mobile) using the\n * same credentials. `Audio` prefix is irrelevant. The end-user may want to be notified of this\n * type of error.\n *\n * This also can occur if your application unintentionally creates two meeting sessions.\n */\n MeetingSessionStatusCode[MeetingSessionStatusCode["AudioJoinedFromAnotherDevice"] = 2] = "AudioJoinedFromAnotherDevice";\n /**\n * Authentication was rejected as the attendee information in `MeetingSessionCredentials` did\n * not match that of an attendee created via `chime::CreateAttendee`.\n *\n * This error may imply an issue with your credential providing service. The `Audio` prefix is irrelevant.\n */\n MeetingSessionStatusCode[MeetingSessionStatusCode["AudioAuthenticationRejected"] = 3] = "AudioAuthenticationRejected";\n /**\n * The client can not join because the meeting is at capacity. The service supports up to 250 attendees. The\n * end user may want to be notified of this type of error. The `Audio` prefix is irrelevant.\n */\n MeetingSessionStatusCode[MeetingSessionStatusCode["AudioCallAtCapacity"] = 4] = "AudioCallAtCapacity";\n /**\n * The attendee attempted to join a meeting that has already ended. See\n * [this FAQ](https://aws.github.io/amazon-chime-sdk-js/modules/faqs.html#when-does-an-amazon-chime-sdk-meeting-end)\n * for more information. The end user may want to be notified of this type of error.\n */\n MeetingSessionStatusCode[MeetingSessionStatusCode["MeetingEnded"] = 5] = "MeetingEnded";\n /**\n * There was an internal server error related to audio. This may indicate some issue with the audio device, or an issue with\n * the Amazon Chime SDK service itself.\n */\n MeetingSessionStatusCode[MeetingSessionStatusCode["AudioInternalServerError"] = 6] = "AudioInternalServerError";\n /**\n * There was an internal server error related to audio. This may indicate some issue with the audio device, or an issue with\n * the Amazon Chime SDK service itself.\n */\n MeetingSessionStatusCode[MeetingSessionStatusCode["AudioServiceUnavailable"] = 7] = "AudioServiceUnavailable";\n /**\n * There was an internal server error related to audio. This may indicate some issue with the audio device, or an issue with\n * the Amazon Chime SDK service itself.\n */\n MeetingSessionStatusCode[MeetingSessionStatusCode["AudioDisconnected"] = 8] = "AudioDisconnected";\n /**\n * This is only used internally and will not be provided in any `audioVideoDidStop` calls.\n *\n * The client has asked to send and receive video, but it is only possible to\n * continue in view-only mode (receiving video). This should be handled by\n * explicitly switching to view-only mode.\n */\n MeetingSessionStatusCode[MeetingSessionStatusCode["VideoCallSwitchToViewOnly"] = 9] = "VideoCallSwitchToViewOnly";\n /**\n * This is only used internally and will not be provided in any `audioVideoDidStop` calls.\n *\n * This can happen when you attempt to join a video meeting in "send only" mode\n * (transmitting your camera, but not receiving anything -- this isn\'t something\n * we ever do in practice, but it is supported on the server). It should be\n * treated as "fatal" and probably should not be retried (despite the 5xx nature).\n */\n MeetingSessionStatusCode[MeetingSessionStatusCode["VideoCallAtSourceCapacity"] = 10] = "VideoCallAtSourceCapacity";\n /**\n * The Amazon Chime SDK for JavaScript failed to establish a signaling connection because\n * you or someone else deleted the attendee using the\n * [DeleteAttendee](https://docs.aws.amazon.com/chime/latest/APIReference/API_DeleteAttendee.html)\n * API action in your server application. You also should not use the attendee response from\n * the ended meeting that you created with the same ClientRequestToken parameter\n * before.\n */\n MeetingSessionStatusCode[MeetingSessionStatusCode["SignalingBadRequest"] = 11] = "SignalingBadRequest";\n /**\n * The Chime SDK for JavaScript either failed to establish a signaling connection to the Chime\n * backend due to an internal server error or the connection was lost mid-call.\n *\n * This may indicate an issue with the Chime service, but also often indicates a network issue impacting the end user,\n * who may want to be notified of their unstable network during the reconnection.\n */\n MeetingSessionStatusCode[MeetingSessionStatusCode["SignalingInternalServerError"] = 12] = "SignalingInternalServerError";\n /**\n * Received unknown signaling error frame without a status. This code is nearly impossible to occur\n * and indicates an issue with the Chime service.\n */\n MeetingSessionStatusCode[MeetingSessionStatusCode["SignalingRequestFailed"] = 13] = "SignalingRequestFailed";\n /**\n * Timed out gathering ICE candidates. If in Chrome, this could be an\n * indication that the browser is in a bad state due to a VPN reconnect and\n * the user should try quitting and relaunching the app. See:\n * https://bugs.chromium.org/p/webrtc/issues/detail?id=9097\n */\n MeetingSessionStatusCode[MeetingSessionStatusCode["ICEGatheringTimeoutWorkaround"] = 14] = "ICEGatheringTimeoutWorkaround";\n /**\n * Due to connection health as determined by [[ConnectionHealthPolicyConfiguration]], a reconnect has been triggered.\n */\n MeetingSessionStatusCode[MeetingSessionStatusCode["ConnectionHealthReconnect"] = 15] = "ConnectionHealthReconnect";\n /**\n * The [[RealtimeController]] failed in some way. This indicates an issue with the callback function provided to RealtimeController APIs (e.g. a callback is throwing an error).\n */\n MeetingSessionStatusCode[MeetingSessionStatusCode["RealtimeApiFailed"] = 16] = "RealtimeApiFailed";\n /**\n * A step in the connection to the Amazon Chime SDK backends failed without a more specific reason. This may indicate end-user connection issues\n * and should be retried.\n */\n MeetingSessionStatusCode[MeetingSessionStatusCode["TaskFailed"] = 17] = "TaskFailed";\n /**\n * There was an issue with media negotiation. This may indicate an issue with Amazon Chime SDK, or that the end user is using an unsupported\n * browser. Please use `new DefaultBrowserBehavior().isSupported()` pre-call to check the support of end-user browsers\n * and warn them of possible issues.\n */\n MeetingSessionStatusCode[MeetingSessionStatusCode["IncompatibleSDP"] = 18] = "IncompatibleSDP";\n /**\n * This can happen when you attempt to join a meeting which has ended or attendee got removed. This is analogous to `MeetingEnded` except\n * determined through the media channel rather then the signaling channel.\n */\n MeetingSessionStatusCode[MeetingSessionStatusCode["TURNCredentialsForbidden"] = 19] = "TURNCredentialsForbidden";\n /**\n * The attendee did not show up on the roster. This may indicate an issue with the end user audio device or and issue with Amazon Chime SDK.\n */\n MeetingSessionStatusCode[MeetingSessionStatusCode["NoAttendeePresent"] = 20] = "NoAttendeePresent";\n /**\n * The session was ended because the attendee has been removed via `chime::DeleteAttendee`. The end user may want to be notified\n * of this error.\n */\n MeetingSessionStatusCode[MeetingSessionStatusCode["AudioAttendeeRemoved"] = 21] = "AudioAttendeeRemoved";\n /**\n * This is only used in promotion functions and will not be provided in any `audioVideoDidStop` calls.\n *\n * The attendees Primary meeting credentials have been revoked or deleted.\n */\n MeetingSessionStatusCode[MeetingSessionStatusCode["AudioVideoWasRemovedFromPrimaryMeeting"] = 22] = "AudioVideoWasRemovedFromPrimaryMeeting";\n /**\n * This is only used internally and will not be provided in any `audioVideoDidStop` calls.\n *\n * Reserved.\n */\n MeetingSessionStatusCode[MeetingSessionStatusCode["AudioDisconnectAudio"] = 23] = "AudioDisconnectAudio";\n})(MeetingSessionStatusCode = exports.MeetingSessionStatusCode || (exports.MeetingSessionStatusCode = {}));\nexports["default"] = MeetingSessionStatusCode;\n//# sourceMappingURL=MeetingSessionStatusCode.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js?')},"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionTURNCredentials.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n/**\n * [[MeetingSessionTURNCredentials]] contains TURN credentials from the TURN server.\n */\nclass MeetingSessionTURNCredentials {\n constructor() {\n this.username = null;\n this.password = null;\n this.ttl = null;\n this.uris = null;\n }\n}\nexports["default"] = MeetingSessionTURNCredentials;\n//# sourceMappingURL=MeetingSessionTURNCredentials.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionTURNCredentials.js?')},"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionURLs.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n/**\n * [[MeetingSessionURLs]] contains the URLs that will be used to reach the\n * meeting service.\n */\nclass MeetingSessionURLs {\n constructor() {\n /**\n * The audio host URL of the session\n */\n this._audioHostURL = null;\n /**\n * The signaling URL of the session\n */\n this._signalingURL = null;\n /**\n * The TURN control URL of the session\n */\n this._turnControlURL = null;\n /**\n * The event ingestion URL to send the meeting events.\n */\n this._eventIngestionURL = null;\n /**\n * Function to transform URLs. Use this to rewrite URLs to traverse proxies.\n * The default implementation returns the original URL unchanged.\n */\n this.urlRewriter = (url) => {\n return url;\n };\n }\n /**\n * Gets or sets the audio host URL with gets reflecting the result of the {@link MeetingSessionURLs.urlRewriter} function.\n */\n get audioHostURL() {\n return this.urlRewriter(this._audioHostURL);\n }\n set audioHostURL(value) {\n this._audioHostURL = value;\n }\n /**\n * Gets or sets the signaling URL with gets reflecting the result of the {@link MeetingSessionURLs.urlRewriter} function.\n */\n get signalingURL() {\n return this.urlRewriter(this._signalingURL);\n }\n set signalingURL(value) {\n this._signalingURL = value;\n }\n /**\n * Gets or sets the TURN control URL with gets reflecting the result of the {@link MeetingSessionURLs.urlRewriter} function.\n */\n get turnControlURL() {\n return this.urlRewriter(this._turnControlURL);\n }\n set turnControlURL(value) {\n this._turnControlURL = value;\n }\n /**\n * Gets or sets the events ingestion URL with gets reflecting the result of the {@link MeetingSessionURLs.urlRewriter} function.\n */\n get eventIngestionURL() {\n return this.urlRewriter(this._eventIngestionURL);\n }\n set eventIngestionURL(value) {\n this._eventIngestionURL = value;\n }\n}\nexports["default"] = MeetingSessionURLs;\n//# sourceMappingURL=MeetingSessionURLs.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionURLs.js?')},"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionVideoAvailability.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n/**\n * [[MeetingSessionVideoAvailability]] contains the video availability information.\n */\nclass MeetingSessionVideoAvailability {\n constructor() {\n /**\n * Indicates whether one or more remote video streams\n * are available for streaming. This can be used to decide whether or not to\n * switch the connection type to include video.\n */\n this.remoteVideoAvailable = false;\n /**\n * Indicates whether the server has a slot available for\n * this client\'s local video tile. If the client is already sending a local\n * video tile, then this will be true. This property can be used to decide\n * whether to offer the option to start the local video tile.\n */\n this.canStartLocalVideo = false;\n }\n /**\n * Returns whether the fields are the same as that of another availability object.\n */\n equal(other) {\n return (this.remoteVideoAvailable === other.remoteVideoAvailable &&\n this.canStartLocalVideo === other.canStartLocalVideo);\n }\n /**\n * Returns a deep copy of this object.\n */\n clone() {\n const cloned = new MeetingSessionVideoAvailability();\n cloned.remoteVideoAvailable = this.remoteVideoAvailable;\n cloned.canStartLocalVideo = this.canStartLocalVideo;\n return cloned;\n }\n}\nexports["default"] = MeetingSessionVideoAvailability;\n//# sourceMappingURL=MeetingSessionVideoAvailability.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionVideoAvailability.js?')},"./node_modules/amazon-chime-sdk-js/build/message/Message.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nclass Message {\n constructor(type, // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n headers, payload) {\n this.type = type;\n this.headers = headers;\n this.payload = payload;\n }\n}\nexports["default"] = Message;\n//# sourceMappingURL=Message.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/message/Message.js?')},"./node_modules/amazon-chime-sdk-js/build/messagingsession/DefaultMessagingSession.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst client_chime_sdk_messaging_1 = __webpack_require__(/*! @aws-sdk/client-chime-sdk-messaging */ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/index.js\");\nconst FullJitterBackoff_1 = __webpack_require__(/*! ../backoff/FullJitterBackoff */ \"./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoff.js\");\nconst CSPMonitor_1 = __webpack_require__(/*! ../cspmonitor/CSPMonitor */ \"./node_modules/amazon-chime-sdk-js/build/cspmonitor/CSPMonitor.js\");\nconst Message_1 = __webpack_require__(/*! ../message/Message */ \"./node_modules/amazon-chime-sdk-js/build/message/Message.js\");\nconst DefaultReconnectController_1 = __webpack_require__(/*! ../reconnectcontroller/DefaultReconnectController */ \"./node_modules/amazon-chime-sdk-js/build/reconnectcontroller/DefaultReconnectController.js\");\nconst AsyncScheduler_1 = __webpack_require__(/*! ../scheduler/AsyncScheduler */ \"./node_modules/amazon-chime-sdk-js/build/scheduler/AsyncScheduler.js\");\nconst DefaultSigV4_1 = __webpack_require__(/*! ../sigv4/DefaultSigV4 */ \"./node_modules/amazon-chime-sdk-js/build/sigv4/DefaultSigV4.js\");\nconst DefaultWebSocketAdapter_1 = __webpack_require__(/*! ../websocketadapter/DefaultWebSocketAdapter */ \"./node_modules/amazon-chime-sdk-js/build/websocketadapter/DefaultWebSocketAdapter.js\");\nconst WebSocketReadyState_1 = __webpack_require__(/*! ../websocketadapter/WebSocketReadyState */ \"./node_modules/amazon-chime-sdk-js/build/websocketadapter/WebSocketReadyState.js\");\nconst PrefetchOn_1 = __webpack_require__(/*! ./PrefetchOn */ \"./node_modules/amazon-chime-sdk-js/build/messagingsession/PrefetchOn.js\");\nclass DefaultMessagingSession {\n constructor(configuration, logger, webSocket, reconnectController, sigV4) {\n this.configuration = configuration;\n this.logger = logger;\n this.webSocket = webSocket;\n this.reconnectController = reconnectController;\n this.sigV4 = sigV4;\n this.observerQueue = new Set();\n if (!this.webSocket) {\n this.webSocket = new DefaultWebSocketAdapter_1.default(this.logger);\n }\n if (!this.reconnectController) {\n this.reconnectController = new DefaultReconnectController_1.default(configuration.reconnectTimeoutMs, new FullJitterBackoff_1.default(configuration.reconnectFixedWaitMs, configuration.reconnectShortBackoffMs, configuration.reconnectLongBackoffMs));\n }\n if (!this.sigV4) {\n this.sigV4 = new DefaultSigV4_1.default(this.configuration.chimeClient);\n }\n CSPMonitor_1.default.addLogger(this.logger);\n CSPMonitor_1.default.register();\n this.preBootstrapMessages = [];\n }\n addObserver(observer) {\n this.logger.info('adding messaging observer');\n this.observerQueue.add(observer);\n }\n removeObserver(observer) {\n this.logger.info('removing messaging observer');\n this.observerQueue.delete(observer);\n }\n start() {\n return __awaiter(this, void 0, void 0, function* () {\n if (this.isClosed()) {\n yield this.startConnecting(false);\n }\n else {\n this.logger.info('messaging session already started');\n }\n });\n }\n stop() {\n if (!this.isClosed()) {\n this.isClosing = true;\n this.webSocket.close();\n CSPMonitor_1.default.removeLogger(this.logger);\n }\n else {\n this.logger.info('no existing messaging session needs closing');\n }\n }\n forEachObserver(observerFunc) {\n for (const observer of this.observerQueue) {\n AsyncScheduler_1.default.nextTick(() => {\n if (this.observerQueue.has(observer)) {\n observerFunc(observer);\n }\n });\n }\n }\n setUpEventListeners() {\n this.webSocket.addEventListener('open', () => {\n this.openEventHandler();\n });\n this.webSocket.addEventListener('message', (event) => {\n this.receiveMessageHandler(event.data);\n });\n this.webSocket.addEventListener('close', (event) => {\n this.closeEventHandler(event);\n });\n this.webSocket.addEventListener('error', () => {\n this.logger.error(`WebSocket error`);\n });\n }\n startConnecting(reconnecting) {\n return __awaiter(this, void 0, void 0, function* () {\n yield this.startConnectingInternal(reconnecting);\n return yield new Promise((resolve, reject) => {\n this.bootstrapResolved = resolve;\n this.bootstrapRejected = reject;\n });\n });\n }\n startConnectingInternal(reconnecting) {\n var _a;\n return __awaiter(this, void 0, void 0, function* () {\n let endpointUrl = this.configuration.endpointUrl;\n // Moving this reconnect logic can potentially result into an infinite reconnect loop on errors.\n // Check https://github.com/aws/amazon-chime-sdk-js/issues/2372 for details.\n if (!reconnecting) {\n this.reconnectController.reset();\n }\n if (this.reconnectController.hasStartedConnectionAttempt()) {\n this.reconnectController.startedConnectionAttempt(false);\n }\n else {\n this.reconnectController.startedConnectionAttempt(true);\n }\n // reconnect needs to re-resolve endpoint url, which will also refresh credentials on client if they are expired\n if (reconnecting || endpointUrl === undefined) {\n try {\n if (this.configuration.chimeClient.getMessagingSessionEndpoint instanceof Function) {\n const response = yield this.configuration.chimeClient.getMessagingSessionEndpoint();\n // Check for aws sdk v3 with v2 style compatibility first\n if ((_a = response.Endpoint) === null || _a === void 0 ? void 0 : _a.Url) {\n endpointUrl = response.Endpoint.Url;\n }\n else {\n // Make aws sdk v2 call\n const endpoint = yield this.configuration.chimeClient\n .getMessagingSessionEndpoint()\n .promise();\n endpointUrl = endpoint.Endpoint.Url;\n }\n }\n else {\n endpointUrl = (yield this.configuration.chimeClient.send(new client_chime_sdk_messaging_1.GetMessagingSessionEndpointCommand({}))).Endpoint.Url;\n }\n this.logger.debug(`Messaging endpoint resolved to: ${endpointUrl}`);\n }\n catch (e) {\n // send artificial close code event so the\n // re-connect logic of underlying websocket client is\n // triggered in the close handler\n this.logger.error(`Messaging Session failed to resolve endpoint: ${e}`);\n const closeEvent = new CloseEvent('close', {\n wasClean: false,\n code: 4999,\n reason: 'Failed to get messaging session endpoint URL',\n bubbles: false,\n });\n this.closeEventHandler(closeEvent);\n return;\n }\n }\n const signedUrl = yield this.prepareWebSocketUrl(endpointUrl);\n this.logger.info(`opening connection to ${signedUrl}`);\n if (!reconnecting) {\n this.reconnectController.reset();\n }\n if (this.reconnectController.hasStartedConnectionAttempt()) {\n this.reconnectController.startedConnectionAttempt(false);\n }\n else {\n this.reconnectController.startedConnectionAttempt(true);\n }\n this.webSocket.create(signedUrl, [], true);\n this.forEachObserver(observer => {\n if (observer.messagingSessionDidStartConnecting) {\n observer.messagingSessionDidStartConnecting(reconnecting);\n }\n });\n this.setUpEventListeners();\n });\n }\n prepareWebSocketUrl(endpointUrl) {\n return __awaiter(this, void 0, void 0, function* () {\n const queryParams = new Map();\n queryParams.set('userArn', [this.configuration.userArn]);\n queryParams.set('sessionId', [this.configuration.messagingSessionId]);\n if (this.configuration.prefetchOn === PrefetchOn_1.default.Connect) {\n queryParams.set('prefetch-on', [PrefetchOn_1.default.Connect]);\n }\n if (this.configuration.prefetchSortBy) {\n queryParams.set('prefetch-sort-by', [this.configuration.prefetchSortBy]);\n }\n return yield this.sigV4.signURL('GET', 'wss', 'chime', endpointUrl, '/connect', '', queryParams);\n });\n }\n isClosed() {\n return (this.webSocket.readyState() === WebSocketReadyState_1.default.None ||\n this.webSocket.readyState() === WebSocketReadyState_1.default.Closed);\n }\n openEventHandler() {\n this.reconnectController.reset();\n this.isSessionEstablished = false;\n }\n receiveMessageHandler(data) {\n try {\n const jsonData = JSON.parse(data);\n const messageType = jsonData.Headers['x-amz-chime-event-type'];\n const message = new Message_1.default(messageType, jsonData.Headers, jsonData.Payload || null);\n if (!this.isSessionEstablished && messageType === 'SESSION_ESTABLISHED') {\n // Backend connects WebSocket and then either\n // (1) Closes with WebSocket error code to reflect failure to authorize or other connection error OR\n // (2) Sends SESSION_ESTABLISHED. SESSION_ESTABLISHED indicates that all messages and events on a channel\n // the app instance user is a member of is guaranteed to be delivered on this WebSocket as long as the WebSocket\n // connection stays opened.\n this.forEachObserver(observer => {\n if (observer.messagingSessionDidStart) {\n observer.messagingSessionDidStart();\n }\n });\n this.bootstrapResolved();\n this.isSessionEstablished = true;\n // Send message and flush the queue.\n const preBootstrapMessageLength = this.preBootstrapMessages.length;\n for (let iter = 0; iter < preBootstrapMessageLength; iter++) {\n const preBootstrapMessage = this.preBootstrapMessages.shift();\n this.forEachObserver(observer => {\n this.sendMessageToObserver(observer, preBootstrapMessage);\n });\n }\n }\n else if (!this.isSessionEstablished) {\n // SESSION_ESTABLISHED is not guaranteed to be the first message, and in rare conditions a message or event from\n // a channel the member is a member of might arrive prior to SESSION_ESTABLISHED. Because SESSION_ESTABLISHED indicates\n // it is safe to bootstrap the user application without any race conditions in losing events we opt to store messages prior\n // to SESSION_ESTABLISHED being received and send when once SESSION_ESTABLISHED.\n this.preBootstrapMessages.push(message);\n return;\n }\n this.forEachObserver(observer => {\n this.sendMessageToObserver(observer, message);\n });\n }\n catch (error) {\n this.logger.error(`Messaging parsing failed: ${error}`);\n }\n }\n sendMessageToObserver(observer, message) {\n if (observer.messagingSessionDidReceiveMessage) {\n observer.messagingSessionDidReceiveMessage(message);\n }\n }\n retryConnection() {\n return this.reconnectController.retryWithBackoff(() => __awaiter(this, void 0, void 0, function* () {\n yield this.startConnecting(true);\n }), null);\n }\n closeEventHandler(event) {\n this.logger.info(`WebSocket close: ${event.code} ${event.reason}`);\n if (event.code !== 4999) {\n this.webSocket.destroy();\n }\n if (!this.isClosing && this.canReconnect(event.code) && this.retryConnection()) {\n return;\n }\n this.isClosing = false;\n if (this.isSessionEstablished) {\n this.forEachObserver(observer => {\n if (observer.messagingSessionDidStop) {\n observer.messagingSessionDidStop(event);\n }\n });\n }\n else {\n this.bootstrapRejected(event);\n }\n }\n canReconnect(closeCode) {\n // 4003 is Kicked closing event from the back end\n return (closeCode === 1001 ||\n closeCode === 1006 ||\n (closeCode >= 1011 && closeCode <= 1014) ||\n (closeCode > 4000 && closeCode !== 4002 && closeCode !== 4003 && closeCode !== 4401));\n }\n}\nexports[\"default\"] = DefaultMessagingSession;\n//# sourceMappingURL=DefaultMessagingSession.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/messagingsession/DefaultMessagingSession.js?")},"./node_modules/amazon-chime-sdk-js/build/messagingsession/MessagingSessionConfiguration.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n/**\n * [[MessagingSessionConfiguration]] contains the information necessary to start\n * a messaging session.\n */\n/* eslint @typescript-eslint/no-explicit-any: 0, @typescript-eslint/explicit-module-boundary-types: 0 */\nclass MessagingSessionConfiguration {\n /**\n * Constructs a MessagingSessionConfiguration optionally with userArn, messaging session id, a messaging session\n * endpoint URL, and the chimeClient.\n *\n * endpointUrl is deprecated and should not be used. Internally it is resolved on connect via chimeClient if undefined, and\n * always re-resolved on reconnect.\n *\n * The messaging session id is to uniquely identify this messaging session for the userArn.\n * If messaging session id is passed in as null, it will be automatically generated.\n */\n constructor(userArn, messagingSessionId, endpointUrl, chimeClient) {\n this.userArn = userArn;\n this.messagingSessionId = messagingSessionId;\n this.endpointUrl = endpointUrl;\n this.chimeClient = chimeClient;\n /**\n * Maximum amount of time in milliseconds to allow for reconnecting.\n */\n this.reconnectTimeoutMs = 10 * 1000;\n /**\n * Fixed wait amount in milliseconds between reconnecting attempts.\n */\n this.reconnectFixedWaitMs = 0;\n /**\n * The short back off time in milliseconds between reconnecting attempts.\n */\n this.reconnectShortBackoffMs = 1 * 1000;\n /**\n * The long back off time in milliseconds between reconnecting attempts.\n */\n this.reconnectLongBackoffMs = 5 * 1000;\n /**\n * The enum to indicate if we want to turn on prefetch feature. Prefetch feature will send out CHANNEL_DETAILS event\n * upon websocket connection, which includes information about channel, channel messages, channel memberships etc.\n */\n this.prefetchOn = undefined;\n /**\n * The enum to indicate the sorting mechanism to use when deciding which channels to Prefetch. Prefetch feature will send out\n * CHANNEL_DETAILS event upon websocket connection, which includes information about channel, channel messages, channel memberships etc.\n * The first 50 channels matching the PrefetchSortBy will be sent. If not set, channels will be returned first by those\n * with unread messages and then those with the latest last sent message timestamp.\n */\n this.prefetchSortBy = undefined;\n if (!this.messagingSessionId) {\n this.messagingSessionId = this.generateSessionId();\n }\n }\n generateSessionId() {\n const num = new Uint32Array(1);\n const randomNum = window.crypto.getRandomValues(num);\n return randomNum[0].toString();\n }\n}\nexports["default"] = MessagingSessionConfiguration;\n//# sourceMappingURL=MessagingSessionConfiguration.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/messagingsession/MessagingSessionConfiguration.js?')},"./node_modules/amazon-chime-sdk-js/build/messagingsession/PrefetchOn.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n// Using an enum here to make sure we can expand on future features\nvar PrefetchOn;\n(function (PrefetchOn) {\n PrefetchOn["Connect"] = "connect";\n})(PrefetchOn || (PrefetchOn = {}));\nexports["default"] = PrefetchOn;\n//# sourceMappingURL=PrefetchOn.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/messagingsession/PrefetchOn.js?')},"./node_modules/amazon-chime-sdk-js/build/messagingsession/PrefetchSortBy.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n// Using an enum here to make sure we can expand on future features\nvar PrefetchSortBy;\n(function (PrefetchSortBy) {\n PrefetchSortBy["Unread"] = "unread";\n PrefetchSortBy["LastMessageTimestamp"] = "last-message-timestamp";\n})(PrefetchSortBy || (PrefetchSortBy = {}));\nexports["default"] = PrefetchSortBy;\n//# sourceMappingURL=PrefetchSortBy.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/messagingsession/PrefetchSortBy.js?')},"./node_modules/amazon-chime-sdk-js/build/modality/DefaultModality.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst ContentShareConstants_1 = __webpack_require__(/*! ../contentsharecontroller/ContentShareConstants */ \"./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/ContentShareConstants.js\");\nclass DefaultModality {\n constructor(_id) {\n this._id = _id;\n }\n id() {\n return this._id;\n }\n base() {\n if (!this._id) {\n return '';\n }\n return this._id.split(DefaultModality.MODALITY_SEPARATOR)[0];\n }\n modality() {\n if (!this._id) {\n return '';\n }\n const components = this._id.split(DefaultModality.MODALITY_SEPARATOR);\n if (components.length === 2) {\n return components[1];\n }\n return '';\n }\n hasModality(modality) {\n return modality !== '' && this.modality() === modality;\n }\n withModality(modality) {\n const m = new DefaultModality(this.base() + DefaultModality.MODALITY_SEPARATOR + modality);\n if (modality === '' ||\n this.base() === '' ||\n new DefaultModality(m._id).modality() !== modality) {\n return new DefaultModality(this.base());\n }\n return m;\n }\n}\nexports[\"default\"] = DefaultModality;\nDefaultModality.MODALITY_SEPARATOR = ContentShareConstants_1.default.Modality[0];\nDefaultModality.MODALITY_CONTENT = ContentShareConstants_1.default.Modality.substr(1);\n//# sourceMappingURL=DefaultModality.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/modality/DefaultModality.js?")},"./node_modules/amazon-chime-sdk-js/build/pingpong/DefaultPingPong.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst AsyncScheduler_1 = __webpack_require__(/*! ../scheduler/AsyncScheduler */ "./node_modules/amazon-chime-sdk-js/build/scheduler/AsyncScheduler.js");\nconst IntervalScheduler_1 = __webpack_require__(/*! ../scheduler/IntervalScheduler */ "./node_modules/amazon-chime-sdk-js/build/scheduler/IntervalScheduler.js");\nconst SignalingClientEventType_1 = __webpack_require__(/*! ../signalingclient/SignalingClientEventType */ "./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js");\nconst SignalingProtocol_js_1 = __webpack_require__(/*! ../signalingprotocol/SignalingProtocol.js */ "./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js");\nconst Types_1 = __webpack_require__(/*! ../utils/Types */ "./node_modules/amazon-chime-sdk-js/build/utils/Types.js");\n/**\n * [[DefaultPingPong]] implements the PingPong and SignalingClientObserver interface.\n */\nclass DefaultPingPong {\n constructor(signalingClient, intervalMs, logger) {\n this.signalingClient = signalingClient;\n this.intervalMs = intervalMs;\n this.logger = logger;\n this.observerQueue = new Set();\n this.consecutivePongsUnaccountedFor = 0;\n this.intervalScheduler = new IntervalScheduler_1.default(this.intervalMs);\n this.pingId = 0;\n }\n addObserver(observer) {\n this.logger.info(\'adding a ping-pong observer\');\n this.observerQueue.add(observer);\n }\n removeObserver(observer) {\n this.logger.info(\'removing a ping-pong observer\');\n this.observerQueue.delete(observer);\n }\n forEachObserver(observerFunc) {\n for (const observer of this.observerQueue) {\n AsyncScheduler_1.default.nextTick(() => {\n if (this.observerQueue.has(observer)) {\n observerFunc(observer);\n }\n });\n }\n }\n start() {\n this.stop();\n this.signalingClient.registerObserver(this);\n if (this.signalingClient.ready()) {\n this.startPingInterval();\n }\n }\n stop() {\n this.stopPingInterval();\n this.signalingClient.removeObserver(this);\n }\n startPingInterval() {\n this.intervalScheduler.start(() => {\n this.ping();\n });\n this.ping();\n }\n stopPingInterval() {\n this.intervalScheduler.stop();\n this.pingId = 0;\n this.consecutivePongsUnaccountedFor = 0;\n }\n ping() {\n if (this.consecutivePongsUnaccountedFor > 0) {\n this.logger.warn(`missed pong ${this.consecutivePongsUnaccountedFor} time(s)`);\n this.forEachObserver((observer) => {\n Types_1.Maybe.of(observer.didMissPongs).map(f => f.bind(observer)(this.consecutivePongsUnaccountedFor));\n });\n }\n this.consecutivePongsUnaccountedFor += 1;\n this.pingId = (this.pingId + 1) & 0xffffffff;\n const ping = SignalingProtocol_js_1.SdkPingPongFrame.create();\n ping.pingId = this.pingId;\n ping.type = SignalingProtocol_js_1.SdkPingPongType.PING;\n this.pingTimestampLocalMs = this.signalingClient.pingPong(ping);\n this.logger.debug(() => {\n return `sent ping ${this.pingId}`;\n });\n }\n pong(pingId) {\n const pong = SignalingProtocol_js_1.SdkPingPongFrame.create();\n pong.pingId = pingId;\n pong.type = SignalingProtocol_js_1.SdkPingPongType.PONG;\n this.signalingClient.pingPong(pong);\n }\n handleSignalingClientEvent(event) {\n switch (event.type) {\n case SignalingClientEventType_1.default.WebSocketOpen:\n this.startPingInterval();\n break;\n case SignalingClientEventType_1.default.WebSocketFailed:\n case SignalingClientEventType_1.default.WebSocketError:\n this.logger.warn(`stopped pinging (${SignalingClientEventType_1.default[event.type]})`);\n this.stopPingInterval();\n break;\n case SignalingClientEventType_1.default.WebSocketClosing:\n case SignalingClientEventType_1.default.WebSocketClosed:\n this.logger.info(`stopped pinging (${SignalingClientEventType_1.default[event.type]})`);\n this.stopPingInterval();\n break;\n case SignalingClientEventType_1.default.ReceivedSignalFrame:\n if (event.message.type !== SignalingProtocol_js_1.SdkSignalFrame.Type.PING_PONG) {\n break;\n }\n if (event.message.pingPong.type === SignalingProtocol_js_1.SdkPingPongType.PONG) {\n const pingId = event.message.pingPong.pingId;\n if (pingId !== this.pingId) {\n this.logger.warn(`unexpected ping id ${pingId} (expected ${this.pingId})`);\n break;\n }\n this.consecutivePongsUnaccountedFor = 0;\n let pongTimestampRemoteMs;\n if (typeof event.message.timestampMs === \'number\') {\n pongTimestampRemoteMs = event.message.timestampMs;\n }\n else {\n break;\n }\n this.logger.debug(() => {\n return `received pong ${pingId} with timestamp ${pongTimestampRemoteMs}`;\n });\n const pongTimestampLocalMs = event.timestampMs;\n const pingPongLocalIntervalMs = pongTimestampLocalMs - this.pingTimestampLocalMs;\n const estimatedPingTimestampRemoteMs = Math.round(pongTimestampRemoteMs - pingPongLocalIntervalMs / 2);\n const estimatedClockSkewMs = this.pingTimestampLocalMs - estimatedPingTimestampRemoteMs;\n this.logger.info(`local clock skew estimate=${estimatedClockSkewMs}ms from ping-pong time=${pingPongLocalIntervalMs}ms`);\n this.forEachObserver((observer) => {\n Types_1.Maybe.of(observer.didReceivePong).map(f => f.bind(observer)(pingId, estimatedClockSkewMs, pingPongLocalIntervalMs));\n });\n }\n else {\n this.pong(event.message.pingPong.pingId);\n }\n break;\n }\n }\n}\nexports["default"] = DefaultPingPong;\n//# sourceMappingURL=DefaultPingPong.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/pingpong/DefaultPingPong.js?')},"./node_modules/amazon-chime-sdk-js/build/realtimecontroller/DefaultRealtimeController.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst DefaultTranscriptionController_1 = __webpack_require__(/*! ../transcript/DefaultTranscriptionController */ "./node_modules/amazon-chime-sdk-js/build/transcript/DefaultTranscriptionController.js");\nconst RealtimeState_1 = __webpack_require__(/*! ./RealtimeState */ "./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeState.js");\nconst RealtimeVolumeIndicator_1 = __webpack_require__(/*! ./RealtimeVolumeIndicator */ "./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeVolumeIndicator.js");\n/**\n * [[DefaultRealtimeController]] is written to adhere to the following tenets to\n * make privacy and performance bugs significantly less likely.\n *\n * 1. Any call to the object is guaranteed to succeed from the caller\'s\n * perspective to the maximum extent that this can be ensured. However, all\n * failures of the object are reported as fatal errors. For example, if local\n * mute fails, then that is a privacy issue and we must tear down the\n * connection and try starting over.\n *\n * 2. State is owned by the object and is considered authoritative at all times.\n * For example, if [[realtimeIsLocalAudioMuted]] is true then the user *is*\n * muted.\n *\n * 3. Callbacks are fired synchronously and do their work synchronously. Any\n * unnecessary asynchronous implementation only invites latency and\n * increases the surface error for potential errors.\n *\n * 4. Mutation only occurs when state changes. All state-changing functions are\n * idempotent.\n *\n * 5. Every conditional branch gets its own if statement and test coverage is\n * 100% for this object.\n *\n * 6. Function parameters and returns use primitives only (no classes or enums).\n * This minimizes the number of dependencies that consumers have to take on\n * and allows the object to be more easily wrapped. Values are normalized\n * where possible.\n *\n * 7. The object takes no other non-realtime dependencies.\n *\n * 8. Interface functions begin with `realtime` to make boundaries between the\n * RealtimeController interface and the UI or business logic explicit and\n * auditable.\n *\n * 9. Local state overrides remote state but not vice-versa. For example, if\n * locally muted with an active audio input and a remote state indicates the\n * same user is unmuted because the muted state has not yet propagated, then\n * the volume indicator update for the user would show the remote mute state\n * as muted. However, if locally muted without an active audio input and a\n * remote state indicates the user is unmuted (since they are dialed in), the\n * remote state persists but does not override the local state so\n * [[realtimeIsLocalAudioMuted]] still returns true.\n */\nclass DefaultRealtimeController {\n constructor(mediaStreamBroker, transcriptionController) {\n this.mediaStreamBroker = mediaStreamBroker;\n this.state = new RealtimeState_1.default();\n this._transcriptionController =\n transcriptionController || new DefaultTranscriptionController_1.default(this);\n }\n realtimeSetLocalAttendeeId(attendeeId, externalUserId) {\n this.state.localAttendeeId = attendeeId;\n this.state.localExternalUserId = externalUserId;\n }\n realtimeSetAttendeeIdPresence(attendeeId, present, externalUserId, dropped, posInFrame) {\n try {\n if (present) {\n this.state.attendeeIdToExternalUserId[attendeeId] = externalUserId;\n }\n for (const fn of this.state.attendeeIdChangesCallbacks) {\n fn(attendeeId, present, externalUserId, dropped, posInFrame);\n }\n }\n catch (e) {\n this.onError(e);\n }\n }\n realtimeSubscribeToAttendeeIdPresence(callback) {\n try {\n this.state.attendeeIdChangesCallbacks.push(callback);\n }\n catch (e) {\n this.onError(e);\n }\n }\n realtimeUnsubscribeToAttendeeIdPresence(callback) {\n try {\n const index = this.state.attendeeIdChangesCallbacks.indexOf(callback);\n if (index !== -1) {\n this.state.attendeeIdChangesCallbacks.splice(index, 1);\n }\n }\n catch (e) {\n this.onError(e);\n }\n }\n // Muting\n realtimeSetCanUnmuteLocalAudio(canUnmute) {\n try {\n if (this.state.canUnmute === canUnmute) {\n return;\n }\n this.state.canUnmute = canUnmute;\n for (const fn of this.state.setCanUnmuteLocalAudioCallbacks) {\n fn(canUnmute);\n }\n }\n catch (e) {\n this.onError(e);\n }\n }\n realtimeSubscribeToSetCanUnmuteLocalAudio(callback) {\n try {\n this.state.setCanUnmuteLocalAudioCallbacks.push(callback);\n }\n catch (e) {\n this.onError(e);\n }\n }\n realtimeUnsubscribeToSetCanUnmuteLocalAudio(callback) {\n try {\n const index = this.state.setCanUnmuteLocalAudioCallbacks.indexOf(callback);\n if (index !== -1) {\n this.state.setCanUnmuteLocalAudioCallbacks.splice(index, 1);\n }\n }\n catch (e) {\n this.onError(e);\n }\n }\n realtimeCanUnmuteLocalAudio() {\n return this.state.canUnmute;\n }\n realtimeMuteLocalAudio() {\n if (this.state.muted) {\n return;\n }\n try {\n this.setAudioInputEnabled(false);\n this.state.muted = true;\n this.realtimeUpdateVolumeIndicator(this.state.localAttendeeId, null, null, null, this.state.localExternalUserId);\n for (const fn of this.state.muteAndUnmuteLocalAudioCallbacks) {\n fn(true);\n }\n }\n catch (e) {\n this.onError(e);\n }\n }\n realtimeUnmuteLocalAudio() {\n if (!this.state.muted) {\n return true;\n }\n if (!this.state.canUnmute) {\n return false;\n }\n try {\n this.setAudioInputEnabled(true);\n this.state.muted = false;\n this.realtimeUpdateVolumeIndicator(this.state.localAttendeeId, null, null, null, this.state.localExternalUserId);\n for (const fn of this.state.muteAndUnmuteLocalAudioCallbacks) {\n fn(false);\n }\n return true;\n }\n catch (e) {\n this.onError(e);\n return false;\n }\n }\n realtimeSubscribeToMuteAndUnmuteLocalAudio(callback) {\n try {\n this.state.muteAndUnmuteLocalAudioCallbacks.push(callback);\n }\n catch (e) {\n this.onError(e);\n }\n }\n realtimeUnsubscribeToMuteAndUnmuteLocalAudio(callback) {\n try {\n const index = this.state.muteAndUnmuteLocalAudioCallbacks.indexOf(callback);\n if (index !== -1) {\n this.state.muteAndUnmuteLocalAudioCallbacks.splice(index, 1);\n }\n }\n catch (e) {\n this.onError(e);\n }\n }\n realtimeIsLocalAudioMuted() {\n return this.state.muted;\n }\n // Volume Indicators\n realtimeSubscribeToVolumeIndicator(attendeeId, callback) {\n try {\n if (!this.state.volumeIndicatorCallbacks.hasOwnProperty(attendeeId)) {\n this.state.volumeIndicatorCallbacks[attendeeId] = [];\n }\n this.state.volumeIndicatorCallbacks[attendeeId].push(callback);\n this.sendVolumeIndicatorChange(attendeeId, true, true, true, this.state.attendeeIdToExternalUserId[attendeeId]);\n }\n catch (e) {\n this.onError(e);\n }\n }\n realtimeUnsubscribeFromVolumeIndicator(attendeeId, callback) {\n const callbacks = this.state.volumeIndicatorCallbacks[attendeeId];\n if (!callbacks) {\n return;\n }\n if (callback) {\n const index = this.state.volumeIndicatorCallbacks[attendeeId].indexOf(callback);\n if (index >= 0) {\n this.state.volumeIndicatorCallbacks[attendeeId].splice(index, 1);\n }\n }\n else {\n delete this.state.volumeIndicatorCallbacks[attendeeId];\n }\n }\n realtimeUpdateVolumeIndicator(attendeeId, volume, muted, signalStrength, externalUserId) {\n try {\n muted = this.applyLocalMuteOverride(attendeeId, muted);\n const state = this.getVolumeIndicatorState(attendeeId);\n let volumeUpdated = false;\n let mutedUpdated = false;\n let signalStrengthUpdated = false;\n if (muted !== null) {\n if (state.muted !== muted) {\n state.muted = muted;\n mutedUpdated = true;\n if (state.muted && state.volume !== 0.0) {\n state.volume = 0.0;\n volumeUpdated = true;\n }\n }\n }\n if (!state.muted && volume !== null) {\n if (state.volume !== volume) {\n state.volume = volume;\n volumeUpdated = true;\n }\n if (state.muted === null) {\n state.muted = false;\n mutedUpdated = true;\n }\n }\n if (signalStrength !== null) {\n if (state.signalStrength !== signalStrength) {\n state.signalStrength = signalStrength;\n signalStrengthUpdated = true;\n }\n }\n this.sendVolumeIndicatorChange(attendeeId, volumeUpdated, mutedUpdated, signalStrengthUpdated, externalUserId);\n }\n catch (e) {\n this.onError(e);\n }\n }\n realtimeSubscribeToLocalSignalStrengthChange(callback) {\n try {\n this.state.localSignalStrengthChangeCallbacks.push(callback);\n if (this.state.localAttendeeId === null) {\n return;\n }\n this.sendLocalSignalStrengthChange(this.state.localAttendeeId, true);\n }\n catch (e) {\n this.onError(e);\n }\n }\n realtimeUnsubscribeToLocalSignalStrengthChange(callback) {\n try {\n const index = this.state.localSignalStrengthChangeCallbacks.indexOf(callback);\n if (index !== -1) {\n this.state.localSignalStrengthChangeCallbacks.splice(index, 1);\n }\n }\n catch (e) {\n this.onError(e);\n }\n }\n realtimeSubscribeToSendDataMessage(\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n callback) {\n try {\n this.state.sendDataMessageCallbacks.push(callback);\n }\n catch (e) {\n this.onError(e);\n }\n }\n realtimeUnsubscribeFromSendDataMessage(\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n callback) {\n try {\n const index = this.state.sendDataMessageCallbacks.indexOf(callback);\n if (index !== -1) {\n this.state.sendDataMessageCallbacks.splice(index, 1);\n }\n }\n catch (e) {\n this.onError(e);\n }\n }\n realtimeSendDataMessage(topic, data, // eslint-disable-line @typescript-eslint/no-explicit-any\n lifetimeMs) {\n try {\n for (const fn of this.state.sendDataMessageCallbacks) {\n fn(topic, data, lifetimeMs);\n }\n }\n catch (e) {\n this.onError(e);\n }\n }\n realtimeSubscribeToReceiveDataMessage(topic, callback) {\n try {\n if (this.state.receiveDataMessageCallbacks.has(topic)) {\n this.state.receiveDataMessageCallbacks.get(topic).push(callback);\n }\n else {\n this.state.receiveDataMessageCallbacks.set(topic, [callback]);\n }\n }\n catch (e) {\n this.onError(e);\n }\n }\n realtimeUnsubscribeFromReceiveDataMessage(topic) {\n try {\n this.state.receiveDataMessageCallbacks.delete(topic);\n }\n catch (e) {\n this.onError(e);\n }\n }\n realtimeReceiveDataMessage(dataMessage) {\n try {\n if (this.state.receiveDataMessageCallbacks.has(dataMessage.topic)) {\n for (const fn of this.state.receiveDataMessageCallbacks.get(dataMessage.topic)) {\n fn(dataMessage);\n }\n }\n }\n catch (e) {\n this.onError(e);\n }\n }\n // Error Handling\n realtimeSubscribeToFatalError(callback) {\n try {\n this.state.fatalErrorCallbacks.push(callback);\n }\n catch (e) {\n this.onError(e);\n }\n }\n realtimeUnsubscribeToFatalError(callback) {\n try {\n const index = this.state.fatalErrorCallbacks.indexOf(callback);\n if (index !== -1) {\n this.state.fatalErrorCallbacks.splice(index, 1);\n }\n }\n catch (e) {\n this.onError(e);\n }\n }\n get transcriptionController() {\n return this._transcriptionController;\n }\n // Internals\n setAudioInputEnabled(enabled) {\n if (enabled) {\n this.mediaStreamBroker.unmuteLocalAudioInputStream();\n }\n else {\n this.mediaStreamBroker.muteLocalAudioInputStream();\n }\n }\n applyLocalMuteOverride(attendeeIdRemote, mutedRemote) {\n const attendeeIdLocal = this.state.localAttendeeId;\n const mutedLocal = this.state.muted;\n if (attendeeIdRemote !== attendeeIdLocal) {\n return mutedRemote;\n }\n // This is a workaround to check if no audio input then just use the remote value\n if (\n // @ts-ignore\n !(\'activeDevices\' in this.mediaStreamBroker && this.mediaStreamBroker.activeDevices[\'audio\'])) {\n return mutedRemote;\n }\n return mutedLocal;\n }\n sendVolumeIndicatorChange(attendeeId, volumeUpdated, mutedUpdated, signalStrengthUpdated, externalUserId) {\n this.sendLocalSignalStrengthChange(attendeeId, signalStrengthUpdated);\n if (!this.state.volumeIndicatorCallbacks.hasOwnProperty(attendeeId)) {\n return;\n }\n const state = this.getVolumeIndicatorState(attendeeId);\n const updateState = new RealtimeVolumeIndicator_1.default();\n if (volumeUpdated) {\n updateState.volume = state.volume;\n }\n if (mutedUpdated) {\n updateState.muted = state.muted;\n }\n if (signalStrengthUpdated) {\n updateState.signalStrength = state.signalStrength;\n }\n if (this.stateIsEmpty(updateState)) {\n return;\n }\n for (const fn of this.state.volumeIndicatorCallbacks[attendeeId]) {\n fn(attendeeId, updateState.volume, updateState.muted, updateState.signalStrength, externalUserId);\n }\n }\n sendLocalSignalStrengthChange(attendeeId, signalStrengthUpdated) {\n if (!signalStrengthUpdated) {\n return;\n }\n if (attendeeId !== this.state.localAttendeeId) {\n return;\n }\n const state = this.getVolumeIndicatorState(attendeeId);\n const signalStrength = state.signalStrength;\n if (signalStrength === null) {\n return;\n }\n for (const fn of this.state.localSignalStrengthChangeCallbacks) {\n fn(signalStrength);\n }\n }\n getVolumeIndicatorState(id) {\n if (!this.state.volumeIndicatorState.hasOwnProperty(id)) {\n this.state.volumeIndicatorState[id] = new RealtimeVolumeIndicator_1.default();\n }\n return this.state.volumeIndicatorState[id];\n }\n stateIsEmpty(state) {\n return state.volume === null && state.muted === null && state.signalStrength === null;\n }\n onError(error) {\n try {\n // 1) try the fatal error callbacks so that the issue is reported in\n // logs and to give the handler a chance to clean up and reset.\n for (const callback of this.state.fatalErrorCallbacks) {\n callback(error);\n }\n }\n catch (eventError) {\n try {\n // 2) if the error event fails, fall back to console.error so that\n // it at least prints out to the console before moving on.\n console.error(error);\n console.error(eventError);\n }\n catch (consoleError) {\n // 3) if all else fails, swallow the error and give up to guarantee\n // that the API call returns cleanly.\n }\n }\n }\n}\nexports["default"] = DefaultRealtimeController;\n//# sourceMappingURL=DefaultRealtimeController.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/realtimecontroller/DefaultRealtimeController.js?')},"./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeAttendeePositionInFrame.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n/**\n * [[RealtimeAttendeePositionInFrame]] information about the attendee\'s place in the frame.\n */\nclass RealtimeAttendeePositionInFrame {\n constructor() {\n /**\n * Index of attendee update in the frame starting at zero\n */\n this.attendeeIndex = null;\n /**\n * Number of total attendee updates in the frame\n */\n this.attendeesInFrame = null;\n }\n}\nexports["default"] = RealtimeAttendeePositionInFrame;\n//# sourceMappingURL=RealtimeAttendeePositionInFrame.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeAttendeePositionInFrame.js?')},"./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeState.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n/**\n * [[RealtimeState]] stores all realtime persistent state.\n */\nclass RealtimeState {\n constructor() {\n /**\n * Stores the attendee id of the current user\n */\n this.localAttendeeId = null;\n /**\n * Stores the external user id of the current user\n */\n this.localExternalUserId = null;\n /**\n * Callbacks to listen for attendee id changes\n */\n this.attendeeIdChangesCallbacks = [];\n /**\n * Stores whether the user can transition from muted to unmuted\n */\n this.canUnmute = true;\n /**\n * Callbacks to listen for changes to can-unmute local audio state\n */\n this.setCanUnmuteLocalAudioCallbacks = [];\n /**\n * Stores whether the user is presently muted\n */\n this.muted = false;\n /**\n * Callbacks to listen for local audio mutes and unmutes\n */\n this.muteAndUnmuteLocalAudioCallbacks = [];\n /**\n * Stores per-attendee id volume indicator state\n */\n this.volumeIndicatorState = {};\n /**\n * Stores attendee id to external user id mappings\n */\n this.attendeeIdToExternalUserId = {};\n /**\n * Stores per-attendee id callbacks called when volume indicators change\n */\n this.volumeIndicatorCallbacks = {};\n /**\n * Callbacks to listen for changes to local signal strength\n */\n this.localSignalStrengthChangeCallbacks = [];\n /**\n * Callbacks to listen for fatal errors\n */\n this.fatalErrorCallbacks = [];\n /**\n * Callbacks to trigger when sending message\n */\n this.sendDataMessageCallbacks = [];\n /**\n * Callbacks to listen for receiving message from data channel based on given topic\n */\n this.receiveDataMessageCallbacks = new Map();\n }\n}\nexports["default"] = RealtimeState;\n//# sourceMappingURL=RealtimeState.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeState.js?')},"./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeVolumeIndicator.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n/**\n * [[RealtimeVolumeIndicator]] stores the current volume, mute, and\n * signal strength for an attendee.\n */\nclass RealtimeVolumeIndicator {\n constructor() {\n this.volume = null;\n this.muted = null;\n this.signalStrength = null;\n }\n}\nexports["default"] = RealtimeVolumeIndicator;\n//# sourceMappingURL=RealtimeVolumeIndicator.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeVolumeIndicator.js?')},"./node_modules/amazon-chime-sdk-js/build/reconnectcontroller/DefaultReconnectController.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst TimeoutScheduler_1 = __webpack_require__(/*! ../scheduler/TimeoutScheduler */ "./node_modules/amazon-chime-sdk-js/build/scheduler/TimeoutScheduler.js");\nclass DefaultReconnectController {\n constructor(reconnectTimeoutMs, backoffPolicy) {\n this.reconnectTimeoutMs = reconnectTimeoutMs;\n this.backoffPolicy = backoffPolicy;\n this.shouldReconnect = true;\n this.onlyRestartPeerConnection = false;\n this.firstConnectionAttempted = false;\n this.firstConnectionAttemptTimestampMs = 0;\n this.lastActiveTimestampMs = Infinity;\n this._isFirstConnection = true;\n this.backoffTimer = null;\n this.backoffCancel = null;\n this.reset();\n }\n timeSpentReconnectingMs() {\n if (!this.firstConnectionAttempted) {\n return 0;\n }\n return Date.now() - this.firstConnectionAttemptTimestampMs;\n }\n hasPastReconnectDeadline() {\n if (Date.now() - this.lastActiveTimestampMs >= this.reconnectTimeoutMs) {\n return true;\n }\n return this.timeSpentReconnectingMs() >= this.reconnectTimeoutMs;\n }\n reset() {\n this.cancel();\n this.shouldReconnect = true;\n this.onlyRestartPeerConnection = false;\n this.firstConnectionAttempted = false;\n this.firstConnectionAttemptTimestampMs = 0;\n this.lastActiveTimestampMs = Infinity;\n this.backoffPolicy.reset();\n }\n startedConnectionAttempt(isFirstConnection) {\n this._isFirstConnection = isFirstConnection;\n if (!this.firstConnectionAttempted) {\n this.firstConnectionAttempted = true;\n this.firstConnectionAttemptTimestampMs = Date.now();\n }\n }\n hasStartedConnectionAttempt() {\n return this.firstConnectionAttempted;\n }\n isFirstConnection() {\n return this._isFirstConnection;\n }\n disableReconnect() {\n this.shouldReconnect = false;\n }\n enableRestartPeerConnection() {\n this.onlyRestartPeerConnection = true;\n }\n cancel() {\n this.disableReconnect();\n if (this.backoffTimer) {\n this.backoffTimer.stop();\n if (this.backoffCancel) {\n this.backoffCancel();\n this.backoffCancel = null;\n }\n }\n }\n retryWithBackoff(retryFunc, cancelFunc) {\n const willRetry = this.shouldReconnect && !this.hasPastReconnectDeadline();\n if (willRetry) {\n this.backoffCancel = cancelFunc;\n this.backoffTimer = new TimeoutScheduler_1.default(this.backoffPolicy.nextBackoffAmountMs());\n this.backoffTimer.start(() => {\n this.backoffCancel = null;\n retryFunc();\n });\n }\n return willRetry;\n }\n shouldOnlyRestartPeerConnection() {\n return this.onlyRestartPeerConnection;\n }\n clone() {\n return new DefaultReconnectController(this.reconnectTimeoutMs, this.backoffPolicy);\n }\n setLastActiveTimestampMs(timestampMs) {\n this.lastActiveTimestampMs = timestampMs;\n }\n}\nexports["default"] = DefaultReconnectController;\n//# sourceMappingURL=DefaultReconnectController.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/reconnectcontroller/DefaultReconnectController.js?')},"./node_modules/amazon-chime-sdk-js/build/scheduler/AsyncScheduler.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst TimeoutScheduler_1 = __webpack_require__(/*! ./TimeoutScheduler */ "./node_modules/amazon-chime-sdk-js/build/scheduler/TimeoutScheduler.js");\n/**\n * [[AsyncScheduler]] enqueues the callback for the soonest available run of the\n * event loop.\n */\nclass AsyncScheduler extends TimeoutScheduler_1.default {\n constructor() {\n super(0);\n }\n /**\n * Execute the provided callback on the next tick of the event loop.\n * This is semantically equivalent to\n *\n * ```typescript\n * new AsyncScheduler(callback).start();\n * ```\n *\n * but with less overhead.\n *\n * @param callback the code to run.\n */\n static nextTick(callback) {\n setTimeout(callback, 0);\n }\n}\nexports["default"] = AsyncScheduler;\n//# sourceMappingURL=AsyncScheduler.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/scheduler/AsyncScheduler.js?')},"./node_modules/amazon-chime-sdk-js/build/scheduler/IntervalScheduler.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n/**\n * [[IntervalScheduler]] calls the callback every intervalMs milliseconds.\n */\nclass IntervalScheduler {\n constructor(intervalMs) {\n this.intervalMs = intervalMs;\n }\n start(callback) {\n this.stop();\n this.timer = setInterval(callback, this.intervalMs);\n }\n stop() {\n if (this.timer === undefined) {\n return;\n }\n clearInterval(this.timer);\n this.timer = undefined;\n }\n running() {\n return this.timer !== undefined;\n }\n}\nexports["default"] = IntervalScheduler;\n//# sourceMappingURL=IntervalScheduler.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/scheduler/IntervalScheduler.js?')},"./node_modules/amazon-chime-sdk-js/build/scheduler/TimeoutScheduler.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n/**\n * [[TimeoutScheduler]] calls the callback once after timeoutMs milliseconds.\n */\nclass TimeoutScheduler {\n constructor(timeoutMs) {\n this.timeoutMs = timeoutMs;\n // eslint-disable-next-line\n this.timer = null;\n }\n start(callback) {\n this.stop();\n this.timer = setTimeout(() => {\n clearTimeout(this.timer);\n callback();\n }, this.timeoutMs);\n }\n stop() {\n if (this.timer !== null) {\n clearTimeout(this.timer);\n this.timer = null;\n }\n }\n}\nexports["default"] = TimeoutScheduler;\n//# sourceMappingURL=TimeoutScheduler.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/scheduler/TimeoutScheduler.js?')},"./node_modules/amazon-chime-sdk-js/build/sdp/SDP.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst SDPCandidateType_1 = __webpack_require__(/*! ./SDPCandidateType */ \"./node_modules/amazon-chime-sdk-js/build/sdp/SDPCandidateType.js\");\nconst SDPMediaSection_1 = __webpack_require__(/*! ./SDPMediaSection */ \"./node_modules/amazon-chime-sdk-js/build/sdp/SDPMediaSection.js\");\nconst VideoCodecCapability_1 = __webpack_require__(/*! ./VideoCodecCapability */ \"./node_modules/amazon-chime-sdk-js/build/sdp/VideoCodecCapability.js\");\n/**\n * [[SDP]] includes a few helper functions for parsing sdp string.\n */\nclass SDP {\n /**\n * Construts a new [[SDP]] object\n */\n constructor(sdp) {\n this.sdp = sdp;\n }\n /**\n * Clones an SDP\n */\n clone() {\n return new SDP(this.sdp);\n }\n /**\n * Checks if the candidate is a valid RTP candidate\n */\n static isRTPCandidate(candidate) {\n const match = /candidate[:](\\S+) (\\d+)/g.exec(candidate);\n if (match === null || match[2] !== '1') {\n return false;\n }\n return true;\n }\n /**\n * Constructs a new SDP with the given set of SDP lines.\n */\n static linesToSDP(lines) {\n return new SDP(lines.join(SDP.CRLF));\n }\n /**\n * Returns an enum of [[candidateType]] for the given string.\n */\n static candidateTypeFromString(candidateType) {\n switch (candidateType) {\n case SDPCandidateType_1.default.Host:\n return SDPCandidateType_1.default.Host;\n case SDPCandidateType_1.default.ServerReflexive:\n return SDPCandidateType_1.default.ServerReflexive;\n case SDPCandidateType_1.default.PeerReflexive:\n return SDPCandidateType_1.default.PeerReflexive;\n case SDPCandidateType_1.default.Relay:\n return SDPCandidateType_1.default.Relay;\n }\n return null;\n }\n /**\n * Returns the candidate type assocaited with the sdpline.\n */\n static candidateType(sdpLine) {\n const match = /a[=]candidate[:].* typ ([a-z]+) /g.exec(sdpLine);\n if (match === null) {\n return null;\n }\n return SDP.candidateTypeFromString(match[1]);\n }\n /**\n * Returns the media type associated with the sdp line.\n */\n static mediaType(sdpLine) {\n const match = /m=(audio|video)/g.exec(sdpLine);\n if (match === null) {\n return undefined;\n }\n return match[1];\n }\n /**\n * Erase out \"a=mid\" from the sdp line.\n */\n static mid(sdpLine) {\n if (!sdpLine.includes('a=mid:')) {\n return undefined;\n }\n return sdpLine.replace(/^(a=mid:)/, '');\n }\n /**\n * Return the direction associated with the sdp line.\n */\n static direction(sdpLine) {\n const match = /a=(sendrecv|sendonly|recvonly|inactive)/g.exec(sdpLine);\n if (match === null) {\n return undefined;\n }\n return match[1];\n }\n /**\n * Format the sdp string into separate lines.\n */\n static splitLines(blob) {\n return blob\n .trim()\n .split('\\n')\n .map((line) => {\n return line.trim();\n });\n }\n /**\n * split the different sdp sections\n */\n static splitSections(sdp) {\n // each section starts with \"m=\"\n const sections = sdp.split('\\nm=');\n return sections.map((section, index) => {\n return (index > 0 ? 'm=' + section : section).trim() + SDP.CRLF;\n });\n }\n /**\n * split the different sdp sections\n */\n static findActiveCameraSection(sections) {\n let cameraLineIndex = 0;\n let hasCamera = false;\n for (const sec of sections) {\n if (/^m=video/.test(sec)) {\n if (sec.indexOf('sendrecv') > -1 ||\n // RFC 4566: If none of the attributes \"sendonly\", \"recvonly\", \"inactive\",\n // and \"sendrecv\" is present, \"sendrecv\" SHOULD be assumed as the\n // default for sessions\n (sec.indexOf('sendonly') === -1 &&\n sec.indexOf('recvonly') === -1 &&\n sec.indexOf('inactive') === -1)) {\n hasCamera = true;\n break;\n }\n }\n cameraLineIndex++;\n }\n if (hasCamera === false) {\n cameraLineIndex = -1;\n }\n return cameraLineIndex;\n }\n /**\n * Extract the SSRCs from the group line.\n *\n * a=ssrc-group: ...\n */\n static extractSSRCsFromFIDGroupLine(figGroupLine) {\n const ssrcStringMatch = /^a=ssrc-group:FID\\s(.+)/.exec(figGroupLine);\n return ssrcStringMatch[1];\n }\n /**\n * Extracts the lines from the sdp blob that matches the given prefix.\n */\n static matchPrefix(blob, prefix) {\n return SDP.splitLines(blob).filter((line) => {\n return line.indexOf(prefix) === 0;\n });\n }\n /**\n * Splits SDP string into lines\n */\n lines() {\n return this.sdp.split(SDP.CRLF);\n }\n /**\n * Checks if SDP has a video section.\n */\n hasVideo() {\n return /^m=video/gm.exec(this.sdp) !== null;\n }\n /**\n * Checks whether the SDP has candidates for any m-line\n */\n hasCandidates() {\n const match = /a[=]candidate[:]/g.exec(this.sdp);\n if (match === null) {\n return false;\n }\n return true;\n }\n /**\n * Checks whether the SDP has candidates for all m-lines\n */\n hasCandidatesForAllMLines() {\n const isAnyCLineUsingLocalHost = this.sdp.indexOf('c=IN IP4 0.0.0.0') > -1;\n const mLinesHaveCandidates = !isAnyCLineUsingLocalHost;\n return mLinesHaveCandidates;\n }\n /**\n * Removes candidates of a given type from SDP\n */\n withoutCandidateType(candidateTypeToExclude) {\n return SDP.linesToSDP(this.lines().filter(line => SDP.candidateType(line) !== candidateTypeToExclude));\n }\n /**\n * Removes server reflexive candidate from SDP\n */\n withoutServerReflexiveCandidates() {\n return this.withoutCandidateType(SDPCandidateType_1.default.ServerReflexive);\n }\n /**\n * Inserts a parameter to the SDP local offer setting the desired average audio bitrate\n */\n withAudioMaxAverageBitrate(maxAverageBitrate) {\n if (!maxAverageBitrate) {\n return this.clone();\n }\n maxAverageBitrate = Math.trunc(Math.min(Math.max(maxAverageBitrate, SDP.rfc7587LowestBitrate), SDP.rfc7587HighestBitrate));\n const srcLines = this.lines();\n const fmtpAttributes = SDP.findOpusFmtpAttributes(srcLines);\n const dstLines = SDP.updateOpusFmtpAttributes(srcLines, fmtpAttributes, [\n `maxaveragebitrate=${maxAverageBitrate}`,\n ]);\n return SDP.linesToSDP(dstLines);\n }\n /**\n * Update the SDP to include stereo\n */\n withStereoAudio() {\n const srcLines = this.lines();\n const fmtpAttributes = SDP.findOpusFmtpAttributes(srcLines);\n const dstLines = SDP.updateOpusFmtpAttributes(srcLines, fmtpAttributes, [\n 'stereo=1',\n 'sprop-stereo=1',\n ]);\n return SDP.linesToSDP(dstLines);\n }\n /**\n * Here we loop through each line in the SDP\n * and construct an array containing the fmtp\n * attribute for all the audio m lines that use\n * the opus codec. If it doesn't use opus codec\n * we add null to the array which tells\n * updateOpusFmtpAttributes that no update is\n * needed for that particular fmtp attribute line\n */\n static findOpusFmtpAttributes(sdpLines) {\n const opusRtpMapRegex = /^a=rtpmap:\\s*(\\d+)\\s+opus\\/48000/;\n let lookingForOpusRtpMap = false;\n const fmtpAttributes = [];\n for (const line of sdpLines) {\n if (line.startsWith('m=audio')) {\n fmtpAttributes.push(null);\n lookingForOpusRtpMap = true;\n }\n if (line.startsWith('m=video')) {\n // Opus rtpmap is only part of audio m lines section\n // Set this to false as we don't need to perform regex\n // matches for video section\n lookingForOpusRtpMap = false;\n }\n if (lookingForOpusRtpMap) {\n const match = opusRtpMapRegex.exec(line);\n if (match !== null) {\n fmtpAttributes[fmtpAttributes.length - 1] = `a=fmtp:${match[1]} `;\n }\n }\n }\n return fmtpAttributes;\n }\n /**\n * Update the fmtp lines in each audio m section\n * that correspond to the opus codec with the parameters\n * specifief in additionalParams\n */\n static updateOpusFmtpAttributes(srcLines, fmtpAttributes, additionalParams) {\n const dstLines = [];\n let fmtpIndex = 0;\n let currFmtpAttribute = null;\n for (const line of srcLines) {\n if (line.startsWith('m=audio')) {\n currFmtpAttribute = fmtpAttributes[fmtpIndex];\n fmtpIndex++;\n }\n if (line.startsWith('m=video')) {\n currFmtpAttribute = null;\n }\n if (currFmtpAttribute && line.startsWith(currFmtpAttribute)) {\n const oldParameters = line.slice(currFmtpAttribute.length).split(';');\n const newParameters = [];\n // If an existing parameter is in additionalParams\n // dont add it to newParameters as it will be replaced\n for (const parameter of oldParameters) {\n const index = additionalParams.findIndex(element => element.startsWith(parameter.split('=')[0]));\n if (index < 0) {\n newParameters.push(parameter);\n }\n }\n for (const parameter of additionalParams) {\n newParameters.push(parameter);\n }\n dstLines.push(currFmtpAttribute + newParameters.join(';'));\n }\n else {\n dstLines.push(line);\n }\n }\n return dstLines;\n }\n /**\n * Munges Unified-Plan SDP from different browsers to conform to one format\n * TODO: will remove this soon.\n */\n withUnifiedPlanFormat() {\n let originalSdp = this.sdp;\n if (originalSdp.includes('mozilla')) {\n return this.clone();\n }\n else {\n originalSdp = originalSdp.replace('o=-', 'o=mozilla-chrome');\n }\n return new SDP(originalSdp);\n }\n /**\n * Returns the total number of unique Rtp header extensions.\n */\n getUniqueRtpHeaderExtensionId(srcLines) {\n const headerExtensionIds = [];\n for (const line of srcLines) {\n if (/^a=extmap:/.test(line.trim())) {\n const headerExtension = line.split('a=extmap:')[1].split(' ');\n const id = +headerExtension[0];\n if (!headerExtensionIds.includes(id)) {\n headerExtensionIds.push(id);\n }\n }\n }\n headerExtensionIds.sort((a, b) => a - b);\n let previousId = 0; // header extension cannot be 0, refer https://datatracker.ietf.org/doc/html/rfc5285\n for (const id of headerExtensionIds) {\n if (id - previousId > 1) {\n return previousId + 1;\n }\n previousId = id;\n }\n // One-Byte Header header extension cannot be bigger than 14, refer https://datatracker.ietf.org/doc/html/rfc5285\n return previousId === 14 ? -1 : previousId + 1;\n }\n /**\n * To avoid resubscribing to preemptively turn off simulcast streams or to switch layers\n * negotiate with the back end to determine whether to use layers allocation header extension\n * this will not add the packet overhead unless negotiated to avoid waste\n */\n withVideoLayersAllocationRtpHeaderExtension(previousSdp) {\n const url = `http://www.webrtc.org/experiments/rtp-hdrext/video-layers-allocation00`;\n // According to https://webrtc.googlesource.com/src/+/b62ee8ce94e5f10e0a94d6f112e715cc4d0cd9dc,\n // RTP header extension ID change would result in a hard failure. Therefore if the extension exists\n // in the previous SDP, use the same extension ID to avoid the failure. Otherwise use a new ID\n const previousId = previousSdp ? previousSdp.getRtpHeaderExtensionId(url) : -1;\n const id = previousId === -1 ? this.getUniqueRtpHeaderExtensionId(SDP.splitLines(this.sdp)) : previousId;\n const sections = SDP.splitSections(this.sdp);\n const newSections = [];\n for (let section of sections) {\n if (/^m=video/.test(section) && SDP.getRtpHeaderExtensionIdInSection(section, url) === -1) {\n // Add RTP header extension when it does not already exist\n const srcLines = SDP.splitLines(section);\n const dstLines = [];\n if (id === -1 || this.hasRtpHeaderExtensionId(id)) {\n // if all ids are used or the id is already used, we won't add new line to it\n newSections.push(section);\n continue;\n }\n for (const line of srcLines) {\n dstLines.push(line);\n if (/^a=sendrecv/.test(line.trim())) {\n const targetLine = `a=extmap:` + id + ` ` + url;\n dstLines.push(targetLine);\n }\n }\n section = dstLines.join(SDP.CRLF) + SDP.CRLF;\n }\n else if (previousId !== -1 &&\n /^m=video/.test(section) &&\n SDP.getRtpHeaderExtensionIdInSection(section, url) !== previousId) {\n // Override extension ID if it does not match previous SDP\n const srcLines = SDP.splitLines(section);\n const dstLines = [];\n for (const line of srcLines) {\n if (/^a=extmap:/.test(line.trim())) {\n const headerExtension = line.split('a=extmap:')[1].split(' ');\n if (headerExtension[1] === url) {\n if (!this.hasRtpHeaderExtensionId(previousId)) {\n // If previous ID is used by another extension, remove it from this SDP\n const targetLine = `a=extmap:` + previousId + ` ` + url;\n dstLines.push(targetLine);\n }\n continue;\n }\n }\n dstLines.push(line);\n }\n section = dstLines.join(SDP.CRLF) + SDP.CRLF;\n }\n newSections.push(section);\n }\n const newSdp = newSections.join('');\n return new SDP(newSdp);\n }\n /**\n * Extracts the ssrc for the sendrecv video media section in SDP\n */\n ssrcForVideoSendingSection() {\n const srcSDP = this.sdp;\n const sections = SDP.splitSections(srcSDP);\n if (sections.length < 2) {\n return '';\n }\n const cameraLineIndex = SDP.findActiveCameraSection(sections);\n if (cameraLineIndex === -1) {\n return '';\n }\n // TODO: match for Firefox. Currently all failures are not Firefox induced.\n const fidGroupMatch = SDP.matchPrefix(sections[cameraLineIndex], 'a=ssrc-group:FID ');\n if (fidGroupMatch.length < 1) {\n return '';\n }\n const fidGroup = SDP.extractSSRCsFromFIDGroupLine(fidGroupMatch[0]);\n const [videoSSRC1] = fidGroup.split(' ').map(ssrc => parseInt(ssrc, 10));\n return videoSSRC1.toString();\n }\n /**\n * Returns whether the sendrecv video sections if exist have two different SSRCs in SDPs\n */\n videoSendSectionHasDifferentSSRC(prevSdp) {\n const ssrc1 = this.ssrcForVideoSendingSection();\n const ssrc2 = prevSdp.ssrcForVideoSendingSection();\n if (ssrc1 === '' || ssrc2 === '') {\n return false;\n }\n const ssrc1InNumber = parseInt(ssrc1, 10);\n const ssrc2InNumber = parseInt(ssrc2, 10);\n if (ssrc1InNumber === ssrc2InNumber) {\n return false;\n }\n return true;\n }\n /**\n * Removes H.264 from the send section.\n */\n removeH264SupportFromSendSection() {\n const srcSDP = this.sdp;\n const sections = SDP.splitSections(srcSDP);\n const cameraLineIndex = SDP.findActiveCameraSection(sections);\n if (cameraLineIndex === -1) {\n return new SDP(this.sdp);\n }\n const cameraSection = sections[cameraLineIndex];\n const cameraSectionLines = SDP.splitLines(cameraSection);\n const payloadTypesForH264 = [];\n const primaryPayloadTypeToFeedbackPayloadTypes = new Map();\n // Loop through camera section (m=video)\n cameraSectionLines.forEach(attribute => {\n // Find the payload type with H264 codec line (e.g., a=rtpmap: H264/90000)\n if (/^a=rtpmap:/.test(attribute)) {\n const payloadMatch = /^a=rtpmap:([0-9]+)\\s/.exec(attribute);\n if (payloadMatch && attribute.toLowerCase().includes('h264')) {\n payloadTypesForH264.push(parseInt(payloadMatch[1], 10));\n }\n }\n // Loop through the rtx payload and create a mapping between it and the primary payload.\n // a=fmtp: apt=\n if (/^a=fmtp:/.test(attribute)) {\n const feedbackMatches = /^a=fmtp:([0-9]+) apt=([0-9]+)/.exec(attribute);\n if (feedbackMatches && feedbackMatches.length === 3) {\n const feedbackPayloadType = parseInt(feedbackMatches[1], 10);\n const primaryPayloadType = parseInt(feedbackMatches[2], 10);\n if (primaryPayloadTypeToFeedbackPayloadTypes.has(primaryPayloadType)) {\n primaryPayloadTypeToFeedbackPayloadTypes\n .get(primaryPayloadType)\n .push(feedbackPayloadType);\n }\n else {\n primaryPayloadTypeToFeedbackPayloadTypes.set(primaryPayloadType, [feedbackPayloadType]);\n }\n }\n }\n });\n // Add the rtx payloads corresponding to the H264 codec to the remove list\n const payloadTypesToRemove = new Set();\n for (const type of payloadTypesForH264) {\n payloadTypesToRemove.add(type);\n const feedbackTypes = primaryPayloadTypeToFeedbackPayloadTypes.get(type);\n if (feedbackTypes) {\n for (const feedbackType of feedbackTypes) {\n payloadTypesToRemove.add(feedbackType);\n }\n }\n }\n // Remove H264 payload from the media line. m=video 9 UDP/+++ \n if (payloadTypesForH264.length > 0) {\n const mline = cameraSectionLines[0].split(' ');\n cameraSectionLines[0] = mline\n .filter((text) => !payloadTypesToRemove.has(parseInt(text)))\n .join(' ');\n }\n // Filter out lines with H264 payload\n const filteredLines = cameraSectionLines.filter((line) => {\n if (!line.includes('rtpmap') && !line.includes('rtcp-fb') && !line.includes('fmtp')) {\n return true;\n }\n for (const type of payloadTypesToRemove) {\n if (line.includes(type.toString())) {\n return false;\n }\n }\n return true;\n });\n sections[cameraLineIndex] = filteredLines.join(SDP.CRLF) + SDP.CRLF;\n const newSDP = sections.join('');\n return new SDP(newSDP);\n }\n /**\n * List of parsed media sections sections in order they occur on SDP.\n */\n mediaSections() {\n const sections = SDP.splitSections(this.sdp);\n if (sections.length < 2) {\n return [];\n }\n const parsedMediaSections = [];\n for (let i = 1; i < sections.length; i++) {\n const section = new SDPMediaSection_1.default();\n const lines = SDP.splitLines(sections[i]);\n for (const line of lines) {\n const mediaType = SDP.mediaType(line);\n if (mediaType !== undefined) {\n section.mediaType = mediaType;\n continue;\n }\n const direction = SDP.direction(line);\n if (direction !== undefined) {\n section.direction = direction;\n continue;\n }\n const mid = SDP.mid(line);\n if (mid !== undefined) {\n section.mid = mid;\n continue;\n }\n }\n parsedMediaSections.push(section);\n }\n return parsedMediaSections;\n }\n /**\n * Return RTP header extension ID if the extension exists in section. Return -1 otherwise\n */\n static getRtpHeaderExtensionIdInSection(section, url) {\n const lines = SDP.splitLines(section);\n for (const line of lines) {\n if (/^a=extmap:/.test(line.trim())) {\n const headerExtension = line.split('a=extmap:')[1].split(' ');\n const id = +headerExtension[0];\n if (headerExtension[1] === url) {\n return id;\n }\n }\n }\n return -1;\n }\n /**\n * Return RTP header extension ID if the extension exists in SDP. Return -1 otherwise\n */\n getRtpHeaderExtensionId(url) {\n const sections = SDP.splitSections(this.sdp);\n for (const section of sections) {\n if (/^m=video/.test(section)) {\n const id = SDP.getRtpHeaderExtensionIdInSection(section, url);\n if (id !== -1) {\n return id;\n }\n }\n }\n return -1;\n }\n /**\n * Return if extension ID exists in the SDP\n */\n hasRtpHeaderExtensionId(targetId) {\n const lines = SDP.splitLines(this.sdp);\n for (const line of lines) {\n if (/^a=extmap:/.test(line.trim())) {\n const headerExtension = line.split('a=extmap:')[1].split(' ');\n const id = +headerExtension[0];\n if (id === targetId) {\n return true;\n }\n }\n }\n return false;\n }\n /**\n * Based off the provided preferences, this function will reorder the payload types listed in the `m=video` line.\n *\n * This will be applied to the `a=sendrecv` section so it can be applied on either local or remote SDPs. It can be used to\n * 'polyfill' `RTCRtpSender.setCodecPreferences' on the offer, but it can also be used on remote SDPs to force the\n * codec actually being send, since the send codec is currently dependent on the remote answer (i.e. `setCodecPreferences` doesn't actually\n * have any impact unless the remote side respects the order of codecs).\n */\n withVideoSendCodecPreferences(preferences) {\n const srcSDP = this.sdp;\n const sections = SDP.splitSections(srcSDP);\n // Note `findActiveCameraSection` looks for `sendrecv` video sections so it\n // works on both local and remote SDPs.\n const cameraLineIndex = SDP.findActiveCameraSection(sections);\n if (cameraLineIndex === -1) {\n return new SDP(this.sdp);\n }\n sections[cameraLineIndex] = this.sectionWithCodecPreferences(sections[cameraLineIndex], preferences);\n const newSDP = sections.join('');\n return new SDP(newSDP);\n }\n // Based off the provided preferences, this function will reorder the payload types listed in the `m=video` line.\n sectionWithCodecPreferences(section, preferences) {\n const codecNamesToPayloadTypes = new Map();\n const lines = SDP.splitLines(section);\n // First we get the payload types and their respective `a=rtpmap` lines for our provided preferences\n lines.forEach(line => {\n if (!/^a=rtpmap:/.test(line)) {\n return;\n }\n for (const preference of preferences) {\n // Check if theres a match for the encoding name and clock rate as defined in 'RFC 4566 Section 6':\n // a=rtpmap: / [/]\n // E.g. 'a=rtpmap:125 H264/90000'\n if (!line.includes(`${preference.codecName}/${preference.codecCapability.clockRate}`)) {\n continue;\n }\n const payloadMatch = /^a=rtpmap:([0-9]+)\\s/.exec(line); // Get the payload type\n // We may need to check other parameters (e.g. fmtp line) in addition to the codec name\n let codecMatches = false;\n if (preference.codecCapability.sdpFmtpLine !== undefined) {\n // Check the fmtp line\n for (const prospectiveFmtpLine of lines) {\n if (prospectiveFmtpLine.startsWith(`a=fmtp:${payloadMatch[1]} ${preference.codecCapability.sdpFmtpLine}`)) {\n codecMatches = true;\n break;\n }\n }\n }\n else {\n // No 'fmtp' line, nothing else to check\n codecMatches = true;\n }\n if (codecMatches) {\n codecNamesToPayloadTypes.set(preference.codecName, payloadMatch[1]);\n break;\n }\n }\n });\n // RFC 4566 5.14\n // When a list of payload type numbers is given, this implies that all of these\n // payload formats MAY be used in the session, but the first of these\n // formats SHOULD be used as the default format for the session.\n const payloadTypesToRemove = new Set(codecNamesToPayloadTypes.values());\n // Remove payloads from the media line. m=video 9 UDP/+++ ...\n const mline = lines[0].split(' ').filter((text) => !payloadTypesToRemove.has(text));\n // Then splice them back in, in preferred order at the start of the list\n const orderedPreferedPayloadTypes = Array.from(codecNamesToPayloadTypes.values()).sort((name1, name2) => {\n const priority1 = preferences.findIndex(capability => {\n return codecNamesToPayloadTypes.get(capability.codecName) === name1;\n });\n const priority2 = preferences.findIndex(capability => {\n return codecNamesToPayloadTypes.get(capability.codecName) === name2;\n });\n return priority1 - priority2;\n });\n // Start from 3 to skip `m=video 9 UDP/+++`\n mline.splice(3, 0, ...orderedPreferedPayloadTypes.values());\n lines[0] = mline.join(' ');\n // Note that nothing in the RFCs require `a=rtpmap` lines to be reordered\n return lines.join(SDP.CRLF) + SDP.CRLF;\n }\n /**\n * Returns the `VideoCodecCapability` which corresponds to the first payload type in the\n * m-line (e.g. `m=video 9 UDP/+++ ...`),\n * parsing the rest of the SDP for relevant information to construct it.\n *\n * Returns undefined if there is no video send section or no codecs in the send section\n */\n highestPriorityVideoSendCodec() {\n const srcSDP = this.sdp;\n const sections = SDP.splitSections(srcSDP);\n // Note `findActiveCameraSection` looks for `sendrecv` video sections so it\n // works on both local and remote SDPs.\n const cameraLineIndex = SDP.findActiveCameraSection(sections);\n if (cameraLineIndex === -1) {\n return undefined;\n }\n const lines = SDP.splitLines(sections[cameraLineIndex]);\n // m=video 9 UDP/+++ ...\n const mlineTokens = lines[0].split(' ');\n if (mlineTokens.length < 4) {\n return undefined;\n }\n // Start from 3 to skip `m=video 9 UDP/+++`\n const highestPriorityPayloadType = mlineTokens[3];\n let highestPriorityCodecName = undefined;\n let highestPriorityClockRate = undefined;\n let highestPriorityFmtpLine = undefined;\n for (const line of lines) {\n // E.g. 'a=rtpmap:125 H264/90000'\n const payloadMatch = /^a=rtpmap:([0-9]+)\\s/.exec(line); // Get the payload type\n if (payloadMatch === null ||\n payloadMatch.length < 2 ||\n payloadMatch[1] !== highestPriorityPayloadType) {\n continue;\n }\n const lineTokens = line.split(' '); // Previous check guarantees this to be valid\n const nameAndClockRate = lineTokens[1].split('/');\n if (nameAndClockRate === undefined || nameAndClockRate.length < 2) {\n continue;\n }\n highestPriorityCodecName = nameAndClockRate[0];\n highestPriorityClockRate = nameAndClockRate[1];\n for (const prospectiveFmtpLine of lines) {\n if (prospectiveFmtpLine.startsWith(`a=fmtp:${highestPriorityPayloadType}`)) {\n const fmtpLineTokens = prospectiveFmtpLine.split(' ');\n if (fmtpLineTokens === undefined || fmtpLineTokens.length < 2) {\n return undefined; // Bail out of broken SDP\n }\n highestPriorityFmtpLine = fmtpLineTokens[1];\n continue;\n }\n }\n break;\n }\n if (highestPriorityCodecName !== undefined) {\n return new VideoCodecCapability_1.default(highestPriorityCodecName, {\n clockRate: parseInt(highestPriorityClockRate),\n mimeType: `video/${highestPriorityCodecName}`,\n sdpFmtpLine: highestPriorityFmtpLine,\n });\n }\n return undefined;\n }\n}\nexports[\"default\"] = SDP;\nSDP.CRLF = '\\r\\n';\nSDP.rfc7587LowestBitrate = 6000;\nSDP.rfc7587HighestBitrate = 510000;\n//# sourceMappingURL=SDP.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/sdp/SDP.js?")},"./node_modules/amazon-chime-sdk-js/build/sdp/SDPCandidateType.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.SDPCandidateType = void 0;\nvar SDPCandidateType;\n(function (SDPCandidateType) {\n SDPCandidateType["Host"] = "host";\n SDPCandidateType["ServerReflexive"] = "srflx";\n SDPCandidateType["PeerReflexive"] = "prflx";\n SDPCandidateType["Relay"] = "relay";\n})(SDPCandidateType = exports.SDPCandidateType || (exports.SDPCandidateType = {}));\nexports["default"] = SDPCandidateType;\n//# sourceMappingURL=SDPCandidateType.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/sdp/SDPCandidateType.js?')},"./node_modules/amazon-chime-sdk-js/build/sdp/SDPMediaSection.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n/**\n * Represents parsed attributes of a media section (i.e. associated with a single m-line)\n */\nclass SDPMediaSection {\n}\nexports["default"] = SDPMediaSection;\n//# sourceMappingURL=SDPMediaSection.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/sdp/SDPMediaSection.js?')},"./node_modules/amazon-chime-sdk-js/build/sdp/VideoCodecCapability.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst SignalingProtocol_1 = __webpack_require__(/*! ../signalingprotocol/SignalingProtocol */ \"./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js\");\n/**\n * `VideoCodecCapability` represents a higher level type to wrap `RTCRtpCodecCapability`\n * and the codec name used in the SDP, while also namespacing static create functions\n * for codecs supported in the SDK.\n *\n * Note that `codecName` is different then `codecCapability.mimeType`\n */\nclass VideoCodecCapability {\n constructor(codecName, codecCapability) {\n this.codecName = codecName;\n this.codecCapability = codecCapability;\n }\n equals(other) {\n return (other !== undefined &&\n this.codecName === other.codecName &&\n this.codecCapability.mimeType === other.codecCapability.mimeType &&\n this.codecCapability.clockRate === other.codecCapability.clockRate &&\n this.codecCapability.sdpFmtpLine === other.codecCapability.sdpFmtpLine);\n }\n /**\n * Returns the configuration of VP8 supported by the SDK\n */\n static vp8() {\n return new VideoCodecCapability('VP8', {\n clockRate: 90000,\n mimeType: 'video/VP8',\n });\n }\n /**\n * Returns the configuration of H.264 CBP supported by the SDK\n */\n static h264ConstrainedBaselineProfile() {\n return new VideoCodecCapability('H264', {\n clockRate: 90000,\n mimeType: 'video/H264',\n sdpFmtpLine: 'level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f',\n });\n }\n /**\n * Returns the configuration of H.264 recommended by the SDK\n */\n static h264() {\n return this.h264ConstrainedBaselineProfile();\n }\n /**\n * Returns the configuration of codec corresponding to the signaled capability\n */\n static fromSignaled(capability) {\n switch (capability) {\n case SignalingProtocol_1.SdkVideoCodecCapability.VP8:\n return this.vp8();\n case SignalingProtocol_1.SdkVideoCodecCapability.H264_CONSTRAINED_BASELINE_PROFILE:\n return this.h264ConstrainedBaselineProfile();\n default:\n return undefined;\n }\n }\n}\nexports[\"default\"] = VideoCodecCapability;\n//# sourceMappingURL=VideoCodecCapability.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/sdp/VideoCodecCapability.js?")},"./node_modules/amazon-chime-sdk-js/build/sdp/ZLIBTextCompressor.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst pako = __webpack_require__(/*! pako */ \"./node_modules/pako/index.js\");\n/**\n * [[ZLIBTextCompressor]] Performs the text compression and decompression using zlib\n */\nclass ZLIBTextCompressor {\n /**\n * Constructs an instance of [[ZLIBTextCompressor]]\n * @param logger\n */\n constructor(logger) {\n this.logger = logger;\n }\n /**\n * Compresses the given text.\n *\n * Note: The dictionary used during compression should be the same as\n * that being used during decompression.\n *\n * @param text - the text that needs to be compressed\n * @param dictionary - that will be used to seed the compression\n * library to improve compression's performance\n * @returns a compressed text\n */\n compress(text, dictionary) {\n if (dictionary.length > 0) {\n const dictionarySize = Math.min(dictionary.length, ZLIBTextCompressor.MAX_DICTIONARY_SIZE);\n dictionary = dictionary.slice(0, dictionarySize);\n }\n const options = {\n memLevel: ZLIBTextCompressor.Z_MEM_LEVEL,\n dictionary: dictionary,\n };\n const compressedText = pako.deflateRaw(text, options);\n return compressedText;\n }\n /**\n * Decompresses the given text and returns the original text.\n *\n * Note: The dictionary used during compression should be the same as\n * that being used during decompression.\n *\n * @param compressedText that will be decompressed\n * @param dictionary that will be used to seed the compression library to improve\n * decompression's performance\n * @returns decompressed string\n */\n decompress(compressedText, dictionary) {\n if (dictionary.length > 0) {\n const dictionarySize = Math.min(dictionary.length, ZLIBTextCompressor.MAX_DICTIONARY_SIZE);\n dictionary = dictionary.slice(0, dictionarySize);\n }\n const options = {\n to: 'string',\n dictionary: dictionary,\n chunkSize: 4096,\n };\n let decompressedText = '';\n try {\n decompressedText = pako.inflateRaw(compressedText, options);\n }\n catch (ex) {\n this.logger.error(`failed to decompress the string with error: [${ex}]`);\n }\n return decompressedText;\n }\n}\nexports[\"default\"] = ZLIBTextCompressor;\n// The memory Level parameter specifies how much memory to use for the internal state.\n// Smaller values use less memory but are slower, while higher values use more memory\n// to gain compression speed.\n// Range is between 1 to 9\nZLIBTextCompressor.Z_MEM_LEVEL = 9;\n// 32kB is the maximum dictionary size supported by the zlib format.\nZLIBTextCompressor.MAX_DICTIONARY_SIZE = 31744; // 31 KB\n//# sourceMappingURL=ZLIBTextCompressor.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/sdp/ZLIBTextCompressor.js?")},"./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/DefaultSessionStateController.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst SessionStateControllerAction_1 = __webpack_require__(/*! ./SessionStateControllerAction */ "./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerAction.js");\nconst SessionStateControllerDeferPriority_1 = __webpack_require__(/*! ./SessionStateControllerDeferPriority */ "./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerDeferPriority.js");\nconst SessionStateControllerState_1 = __webpack_require__(/*! ./SessionStateControllerState */ "./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerState.js");\nconst SessionStateControllerTransitionResult_1 = __webpack_require__(/*! ./SessionStateControllerTransitionResult */ "./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerTransitionResult.js");\nclass DefaultSessionStateController {\n constructor(logger) {\n this.logger = logger;\n this.currentState = SessionStateControllerState_1.SessionStateControllerState.NotConnected;\n this.deferredAction = null;\n this.deferredWork = null;\n }\n perform(action, work) {\n const state = this.currentState;\n if (state === SessionStateControllerState_1.SessionStateControllerState.NotConnected &&\n action === SessionStateControllerAction_1.SessionStateControllerAction.Connect) {\n this.transition(SessionStateControllerState_1.SessionStateControllerState.Connecting, action);\n }\n else if (state === SessionStateControllerState_1.SessionStateControllerState.Connecting &&\n action === SessionStateControllerAction_1.SessionStateControllerAction.Fail) {\n this.transition(SessionStateControllerState_1.SessionStateControllerState.Disconnecting, action);\n }\n else if (state === SessionStateControllerState_1.SessionStateControllerState.Connecting &&\n action === SessionStateControllerAction_1.SessionStateControllerAction.FinishConnecting) {\n this.transition(SessionStateControllerState_1.SessionStateControllerState.Connected, action);\n }\n else if (state === SessionStateControllerState_1.SessionStateControllerState.Connected &&\n action === SessionStateControllerAction_1.SessionStateControllerAction.Disconnect) {\n this.transition(SessionStateControllerState_1.SessionStateControllerState.Disconnecting, action);\n }\n else if (state === SessionStateControllerState_1.SessionStateControllerState.Connected &&\n action === SessionStateControllerAction_1.SessionStateControllerAction.Reconnect) {\n this.transition(SessionStateControllerState_1.SessionStateControllerState.Connecting, action);\n }\n else if (state === SessionStateControllerState_1.SessionStateControllerState.Connected &&\n action === SessionStateControllerAction_1.SessionStateControllerAction.Fail) {\n this.transition(SessionStateControllerState_1.SessionStateControllerState.Disconnecting, action);\n }\n else if (state === SessionStateControllerState_1.SessionStateControllerState.Connected &&\n action === SessionStateControllerAction_1.SessionStateControllerAction.Update) {\n this.transition(SessionStateControllerState_1.SessionStateControllerState.Updating, action);\n }\n else if (state === SessionStateControllerState_1.SessionStateControllerState.Updating &&\n action === SessionStateControllerAction_1.SessionStateControllerAction.Fail) {\n this.transition(SessionStateControllerState_1.SessionStateControllerState.Disconnecting, action);\n }\n else if (state === SessionStateControllerState_1.SessionStateControllerState.Updating &&\n action === SessionStateControllerAction_1.SessionStateControllerAction.FinishUpdating) {\n this.transition(SessionStateControllerState_1.SessionStateControllerState.Connected, action);\n }\n else if (state === SessionStateControllerState_1.SessionStateControllerState.Disconnecting &&\n action === SessionStateControllerAction_1.SessionStateControllerAction.FinishDisconnecting) {\n this.transition(SessionStateControllerState_1.SessionStateControllerState.NotConnected, action);\n }\n else if (this.canDefer(action)) {\n this.logger.info(`deferring transition from ${SessionStateControllerState_1.SessionStateControllerState[this.currentState]} with ${SessionStateControllerAction_1.SessionStateControllerAction[action]}`);\n this.deferAction(action, work);\n return SessionStateControllerTransitionResult_1.SessionStateControllerTransitionResult.DeferredTransition;\n }\n else {\n this.logger.warn(`no transition found from ${SessionStateControllerState_1.SessionStateControllerState[this.currentState]} with ${SessionStateControllerAction_1.SessionStateControllerAction[action]}`);\n return SessionStateControllerTransitionResult_1.SessionStateControllerTransitionResult.NoTransitionAvailable;\n }\n try {\n work();\n }\n catch (e) {\n this.logger.error(`error during state ${SessionStateControllerState_1.SessionStateControllerState[this.currentState]} with action ${SessionStateControllerAction_1.SessionStateControllerAction[action]}: ${e}`);\n this.logger.info(`rolling back transition to ${SessionStateControllerState_1.SessionStateControllerState[state]}`);\n this.currentState = state;\n return SessionStateControllerTransitionResult_1.SessionStateControllerTransitionResult.TransitionFailed;\n }\n this.performDeferredAction();\n return SessionStateControllerTransitionResult_1.SessionStateControllerTransitionResult.Transitioned;\n }\n state() {\n return this.currentState;\n }\n transition(newState, action) {\n this.logger.info(`transitioning from ${SessionStateControllerState_1.SessionStateControllerState[this.currentState]} to ${SessionStateControllerState_1.SessionStateControllerState[newState]} with ${SessionStateControllerAction_1.SessionStateControllerAction[action]}`);\n this.currentState = newState;\n }\n deferPriority(action) {\n switch (action) {\n case SessionStateControllerAction_1.SessionStateControllerAction.Disconnect:\n return SessionStateControllerDeferPriority_1.SessionStateControllerDeferPriority.VeryHigh;\n case SessionStateControllerAction_1.SessionStateControllerAction.Fail:\n return SessionStateControllerDeferPriority_1.SessionStateControllerDeferPriority.High;\n case SessionStateControllerAction_1.SessionStateControllerAction.Reconnect:\n return SessionStateControllerDeferPriority_1.SessionStateControllerDeferPriority.Medium;\n case SessionStateControllerAction_1.SessionStateControllerAction.Update:\n return SessionStateControllerDeferPriority_1.SessionStateControllerDeferPriority.Low;\n default:\n return SessionStateControllerDeferPriority_1.SessionStateControllerDeferPriority.DoNotDefer;\n }\n }\n deferAction(action, work) {\n if (this.deferredAction !== null &&\n this.deferPriority(this.deferredAction) > this.deferPriority(action)) {\n return;\n }\n this.deferredAction = action;\n this.deferredWork = work;\n }\n canDefer(action) {\n return (this.deferPriority(action) !== SessionStateControllerDeferPriority_1.SessionStateControllerDeferPriority.DoNotDefer &&\n (this.currentState === SessionStateControllerState_1.SessionStateControllerState.Connecting ||\n this.currentState === SessionStateControllerState_1.SessionStateControllerState.Updating));\n }\n performDeferredAction() {\n if (!this.deferredAction) {\n return;\n }\n const deferredAction = this.deferredAction;\n const deferredWork = this.deferredWork;\n this.deferredAction = null;\n this.deferredWork = null;\n this.logger.info(`performing deferred action ${SessionStateControllerAction_1.SessionStateControllerAction[deferredAction]}`);\n if (this.perform(deferredAction, deferredWork) !==\n SessionStateControllerTransitionResult_1.SessionStateControllerTransitionResult.Transitioned) {\n this.logger.info(`unable to perform deferred action ${SessionStateControllerAction_1.SessionStateControllerAction[deferredAction]} in state ${SessionStateControllerState_1.SessionStateControllerState[this.currentState]}`);\n }\n }\n}\nexports["default"] = DefaultSessionStateController;\n//# sourceMappingURL=DefaultSessionStateController.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/DefaultSessionStateController.js?')},"./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerAction.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.SessionStateControllerAction = void 0;\n/**\n * [[SessionStateControllerAction]] is a state-changing action to perform.\n */\nvar SessionStateControllerAction;\n(function (SessionStateControllerAction) {\n SessionStateControllerAction[SessionStateControllerAction["Connect"] = 0] = "Connect";\n SessionStateControllerAction[SessionStateControllerAction["FinishConnecting"] = 1] = "FinishConnecting";\n SessionStateControllerAction[SessionStateControllerAction["Update"] = 2] = "Update";\n SessionStateControllerAction[SessionStateControllerAction["FinishUpdating"] = 3] = "FinishUpdating";\n SessionStateControllerAction[SessionStateControllerAction["Reconnect"] = 4] = "Reconnect";\n SessionStateControllerAction[SessionStateControllerAction["Disconnect"] = 5] = "Disconnect";\n SessionStateControllerAction[SessionStateControllerAction["Fail"] = 6] = "Fail";\n SessionStateControllerAction[SessionStateControllerAction["FinishDisconnecting"] = 7] = "FinishDisconnecting";\n})(SessionStateControllerAction = exports.SessionStateControllerAction || (exports.SessionStateControllerAction = {}));\nexports["default"] = SessionStateControllerAction;\n//# sourceMappingURL=SessionStateControllerAction.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerAction.js?')},"./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerDeferPriority.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.SessionStateControllerDeferPriority = void 0;\n/**\n * [[SessionStateControllerDeferPriority]] indicates the priority level of the action\n * being deferred. For example, stop is more important than update so if forced\n * to pick between the two stop should be chosen.\n */\nvar SessionStateControllerDeferPriority;\n(function (SessionStateControllerDeferPriority) {\n SessionStateControllerDeferPriority[SessionStateControllerDeferPriority["DoNotDefer"] = 0] = "DoNotDefer";\n SessionStateControllerDeferPriority[SessionStateControllerDeferPriority["Low"] = 1] = "Low";\n SessionStateControllerDeferPriority[SessionStateControllerDeferPriority["Medium"] = 2] = "Medium";\n SessionStateControllerDeferPriority[SessionStateControllerDeferPriority["High"] = 3] = "High";\n SessionStateControllerDeferPriority[SessionStateControllerDeferPriority["VeryHigh"] = 4] = "VeryHigh";\n})(SessionStateControllerDeferPriority = exports.SessionStateControllerDeferPriority || (exports.SessionStateControllerDeferPriority = {}));\nexports["default"] = SessionStateControllerDeferPriority;\n//# sourceMappingURL=SessionStateControllerDeferPriority.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerDeferPriority.js?')},"./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerState.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.SessionStateControllerState = void 0;\n/**\n * [[SessionStateControllerState]] reflects the current connection state of the session.\n */\nvar SessionStateControllerState;\n(function (SessionStateControllerState) {\n SessionStateControllerState[SessionStateControllerState["NotConnected"] = 0] = "NotConnected";\n SessionStateControllerState[SessionStateControllerState["Connecting"] = 1] = "Connecting";\n SessionStateControllerState[SessionStateControllerState["Connected"] = 2] = "Connected";\n SessionStateControllerState[SessionStateControllerState["Updating"] = 3] = "Updating";\n SessionStateControllerState[SessionStateControllerState["Disconnecting"] = 4] = "Disconnecting";\n})(SessionStateControllerState = exports.SessionStateControllerState || (exports.SessionStateControllerState = {}));\nexports["default"] = SessionStateControllerState;\n//# sourceMappingURL=SessionStateControllerState.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerState.js?')},"./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerTransitionResult.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.SessionStateControllerTransitionResult = void 0;\n/**\n * Indicates the result of an attempted state transition.\n */\nvar SessionStateControllerTransitionResult;\n(function (SessionStateControllerTransitionResult) {\n /**\n * The transition was successful.\n */\n SessionStateControllerTransitionResult[SessionStateControllerTransitionResult["Transitioned"] = 0] = "Transitioned";\n /**\n * No transition is available from the current state using that action.\n */\n SessionStateControllerTransitionResult[SessionStateControllerTransitionResult["NoTransitionAvailable"] = 1] = "NoTransitionAvailable";\n /**\n * The transition will be tried on the next state.\n */\n SessionStateControllerTransitionResult[SessionStateControllerTransitionResult["DeferredTransition"] = 2] = "DeferredTransition";\n /**\n * An unexpected error occurred while transitioning to the next state.\n */\n SessionStateControllerTransitionResult[SessionStateControllerTransitionResult["TransitionFailed"] = 3] = "TransitionFailed";\n})(SessionStateControllerTransitionResult = exports.SessionStateControllerTransitionResult || (exports.SessionStateControllerTransitionResult = {}));\nexports["default"] = SessionStateControllerTransitionResult;\n//# sourceMappingURL=SessionStateControllerTransitionResult.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerTransitionResult.js?')},"./node_modules/amazon-chime-sdk-js/build/signalingclient/DefaultSignalingClient.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst DefaultBrowserBehavior_1 = __webpack_require__(/*! ../browserbehavior/DefaultBrowserBehavior */ \"./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js\");\nconst TimeoutScheduler_1 = __webpack_require__(/*! ../scheduler/TimeoutScheduler */ \"./node_modules/amazon-chime-sdk-js/build/scheduler/TimeoutScheduler.js\");\nconst SignalingProtocol_js_1 = __webpack_require__(/*! ../signalingprotocol/SignalingProtocol.js */ \"./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js\");\nconst Versioning_1 = __webpack_require__(/*! ../versioning/Versioning */ \"./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js\");\nconst WebSocketReadyState_1 = __webpack_require__(/*! ../websocketadapter/WebSocketReadyState */ \"./node_modules/amazon-chime-sdk-js/build/websocketadapter/WebSocketReadyState.js\");\nconst ServerSideNetworkAdaption_1 = __webpack_require__(/*! ./ServerSideNetworkAdaption */ \"./node_modules/amazon-chime-sdk-js/build/signalingclient/ServerSideNetworkAdaption.js\");\nconst SignalingClientEvent_1 = __webpack_require__(/*! ./SignalingClientEvent */ \"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEvent.js\");\nconst SignalingClientEventType_1 = __webpack_require__(/*! ./SignalingClientEventType */ \"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js\");\n/**\n * [[DefaultSignalingClient]] implements the SignalingClient interface.\n */\nclass DefaultSignalingClient {\n constructor(webSocket, logger) {\n this.webSocket = webSocket;\n this.logger = logger;\n this.unloadHandler = null;\n this.closeEventHandler = (event) => {\n this.deactivatePageUnloadHandler();\n this.resetConnection();\n this.sendEvent(new SignalingClientEvent_1.default(this, SignalingClientEventType_1.default.WebSocketClosed, null, event.code, event.reason));\n this.serviceConnectionRequestQueue();\n };\n this.observerQueue = new Set();\n this.connectionRequestQueue = [];\n this.resetConnection();\n this.logger.debug(() => 'signaling client init');\n this.audioSessionId = this.generateNewAudioSessionId();\n }\n registerObserver(observer) {\n this.logger.debug(() => 'registering signaling client observer');\n this.observerQueue.add(observer);\n }\n removeObserver(observer) {\n this.logger.debug(() => 'removing signaling client observer');\n this.observerQueue.delete(observer);\n }\n openConnection(request) {\n this.logger.info('adding connection request to queue: ' + request.url());\n this.connectionRequestQueue.push(request);\n this.closeConnection();\n }\n pingPong(pingPongFrame) {\n this.logger.debug(() => 'sending ping');\n const message = SignalingProtocol_js_1.SdkSignalFrame.create();\n message.type = SignalingProtocol_js_1.SdkSignalFrame.Type.PING_PONG;\n message.pingPong = pingPongFrame;\n this.sendMessage(message);\n return message.timestampMs;\n }\n join(settings) {\n this.logger.info('sending join');\n const joinFrame = SignalingProtocol_js_1.SdkJoinFrame.create();\n joinFrame.protocolVersion = 2;\n joinFrame.flags = SignalingProtocol_js_1.SdkJoinFlags.HAS_STREAM_UPDATE;\n const browserBehavior = new DefaultBrowserBehavior_1.default();\n const sdkClientDetails = {\n platformName: browserBehavior.name(),\n platformVersion: browserBehavior.version(),\n clientSource: Versioning_1.default.sdkName,\n chimeSdkVersion: Versioning_1.default.sdkVersion,\n };\n if (settings.applicationMetadata) {\n const { appName, appVersion } = settings.applicationMetadata;\n sdkClientDetails.appName = appName;\n sdkClientDetails.appVersion = appVersion;\n }\n joinFrame.clientDetails = SignalingProtocol_js_1.SdkClientDetails.create(sdkClientDetails);\n joinFrame.audioSessionId = this.audioSessionId;\n joinFrame.wantsCompressedSdp = DefaultSignalingClient.CLIENT_SUPPORTS_COMPRESSION;\n joinFrame.disablePeriodicKeyframeRequestOnContentSender =\n settings.disablePeriodicKeyframeRequestOnContentSender;\n joinFrame.serverSideNetworkAdaption = ServerSideNetworkAdaption_1.convertServerSideNetworkAdaptionEnumToSignaled(settings.serverSideNetworkAdaption);\n joinFrame.supportedServerSideNetworkAdaptions = settings.supportedServerSideNetworkAdaptions.map(ServerSideNetworkAdaption_1.convertServerSideNetworkAdaptionEnumToSignaled);\n const message = SignalingProtocol_js_1.SdkSignalFrame.create();\n message.type = SignalingProtocol_js_1.SdkSignalFrame.Type.JOIN;\n message.join = joinFrame;\n this.sendMessage(message);\n }\n subscribe(settings) {\n const subscribeFrame = SignalingProtocol_js_1.SdkSubscribeFrame.create();\n subscribeFrame.sendStreams = [];\n subscribeFrame.sdpOffer = settings.sdpOffer;\n if (settings.connectionTypeHasVideo) {\n subscribeFrame.receiveStreamIds = settings.receiveStreamIds;\n }\n if (settings.audioHost) {\n subscribeFrame.audioCheckin = settings.audioCheckin;\n subscribeFrame.audioHost = settings.audioHost;\n subscribeFrame.audioMuted = settings.audioMuted;\n if (!settings.audioCheckin) {\n const audioStream = SignalingProtocol_js_1.SdkStreamDescriptor.create();\n audioStream.mediaType = SignalingProtocol_js_1.SdkStreamMediaType.AUDIO;\n audioStream.trackLabel = 'AmazonChimeExpressAudio';\n audioStream.attendeeId = settings.attendeeId;\n audioStream.streamId = 1;\n audioStream.groupId = 1;\n audioStream.framerate = 15;\n audioStream.maxBitrateKbps = 600;\n audioStream.avgBitrateBps = 400000;\n subscribeFrame.sendStreams.push(audioStream);\n }\n }\n subscribeFrame.compressedSdpOffer = settings.compressedSdpOffer;\n subscribeFrame.duplex = SignalingProtocol_js_1.SdkStreamServiceType.RX;\n if (settings.localVideoEnabled) {\n subscribeFrame.duplex = SignalingProtocol_js_1.SdkStreamServiceType.DUPLEX;\n for (let i = 0; i < settings.videoStreamDescriptions.length; i++) {\n // Non-simulcast use DefaultVideoStreamIndex.localStreamDescriptions\n // which is the exact old behavior\n const streamDescription = settings.videoStreamDescriptions[i].clone();\n streamDescription.attendeeId = settings.attendeeId;\n subscribeFrame.sendStreams.push(streamDescription.toStreamDescriptor());\n }\n }\n if (settings.videoSubscriptionConfiguration.length > 0) {\n subscribeFrame.videoSubscriptionConfiguration = settings.videoSubscriptionConfiguration.map(this.convertVideoSubscriptionConfiguration);\n }\n const message = SignalingProtocol_js_1.SdkSignalFrame.create();\n message.type = SignalingProtocol_js_1.SdkSignalFrame.Type.SUBSCRIBE;\n message.sub = subscribeFrame;\n this.sendMessage(message);\n }\n remoteVideoUpdate(addedOrUpdated, removed) {\n const remoteVideoUpdate = SignalingProtocol_js_1.SdkRemoteVideoUpdateFrame.create();\n remoteVideoUpdate.addedOrUpdatedVideoSubscriptions = addedOrUpdated.map(this.convertVideoSubscriptionConfiguration);\n remoteVideoUpdate.removedVideoSubscriptionMids = removed;\n const message = SignalingProtocol_js_1.SdkSignalFrame.create();\n message.type = SignalingProtocol_js_1.SdkSignalFrame.Type.REMOTE_VIDEO_UPDATE;\n message.remoteVideoUpdate = remoteVideoUpdate;\n this.sendMessage(message);\n }\n convertVideoSubscriptionConfiguration(config) {\n const signalConfig = new SignalingProtocol_js_1.SdkVideoSubscriptionConfiguration();\n signalConfig.mid = config.mid;\n signalConfig.attendeeId = config.attendeeId;\n signalConfig.streamId = config.streamId;\n signalConfig.groupId = config.groupId;\n signalConfig.priority = config.priority;\n signalConfig.targetBitrateKbps = config.targetBitrateKbps;\n return signalConfig;\n }\n leave() {\n const message = SignalingProtocol_js_1.SdkSignalFrame.create();\n message.type = SignalingProtocol_js_1.SdkSignalFrame.Type.LEAVE;\n message.leave = SignalingProtocol_js_1.SdkLeaveFrame.create();\n this.sendMessage(message);\n this.logger.debug(() => {\n return 'sent leave';\n });\n }\n sendClientMetrics(clientMetricFrame) {\n const message = SignalingProtocol_js_1.SdkSignalFrame.create();\n message.type = SignalingProtocol_js_1.SdkSignalFrame.Type.CLIENT_METRIC;\n message.clientMetric = clientMetricFrame;\n this.sendMessage(message);\n }\n sendDataMessage(messageFrame) {\n const message = SignalingProtocol_js_1.SdkSignalFrame.create();\n message.type = SignalingProtocol_js_1.SdkSignalFrame.Type.DATA_MESSAGE;\n message.dataMessage = messageFrame;\n this.sendMessage(message);\n }\n closeConnection() {\n var _a, _b;\n if (this.webSocket.readyState() !== WebSocketReadyState_1.default.None &&\n this.webSocket.readyState() !== WebSocketReadyState_1.default.Closed) {\n this.isClosing = true;\n this.sendEvent(new SignalingClientEvent_1.default(this, SignalingClientEventType_1.default.WebSocketClosing, null));\n // Continue resetting the connection even if SDK does not receive the \"close\" event.\n const scheduler = new TimeoutScheduler_1.default(DefaultSignalingClient.CLOSE_EVENT_TIMEOUT_MS);\n const handler = (event) => {\n var _a, _b;\n /* istanbul ignore next */\n (_b = (_a = this.webSocket).removeEventListener) === null || _b === void 0 ? void 0 : _b.call(_a, 'close', handler);\n scheduler.stop();\n this.closeEventHandler(event);\n };\n // Remove the existing close handler to prevent SDK from opening a new connection.\n /* istanbul ignore next */\n (_b = (_a = this.webSocket).removeEventListener) === null || _b === void 0 ? void 0 : _b.call(_a, 'close', this.closeEventHandler);\n this.webSocket.addEventListener('close', handler);\n scheduler.start(() => {\n // SDK has not received the \"close\" event on WebSocket for two seconds.\n // Handle a fake close event with 1006 to indicate that the client abnormally closed the connection.\n handler(new CloseEvent('close', { wasClean: false, code: 1006, reason: '', bubbles: false }));\n });\n this.webSocket.close();\n this.deactivatePageUnloadHandler();\n }\n else {\n this.logger.info('no existing signaling client connection needs closing');\n this.serviceConnectionRequestQueue();\n }\n }\n ready() {\n return (this.webSocket.readyState() === WebSocketReadyState_1.default.Open && !this.isClosing && this.wasOpened);\n }\n mute(muted) {\n const message = SignalingProtocol_js_1.SdkSignalFrame.create();\n message.type = SignalingProtocol_js_1.SdkSignalFrame.Type.AUDIO_CONTROL;\n const audioControl = SignalingProtocol_js_1.SdkAudioControlFrame.create();\n audioControl.muted = muted;\n message.audioControl = audioControl;\n this.sendMessage(message);\n }\n pause(streamIds) {\n const message = SignalingProtocol_js_1.SdkSignalFrame.create();\n message.type = SignalingProtocol_js_1.SdkSignalFrame.Type.PAUSE;\n message.pause = SignalingProtocol_js_1.SdkPauseResumeFrame.create();\n message.pause.streamIds = streamIds;\n this.sendMessage(message);\n }\n resume(streamIds) {\n const message = SignalingProtocol_js_1.SdkSignalFrame.create();\n message.type = SignalingProtocol_js_1.SdkSignalFrame.Type.RESUME;\n message.pause = SignalingProtocol_js_1.SdkPauseResumeFrame.create();\n message.pause.streamIds = streamIds;\n this.sendMessage(message);\n }\n resetConnection() {\n this.webSocket.destroy();\n this.wasOpened = false;\n }\n sendMessage(message) {\n message.timestampMs = Date.now();\n this.logger.debug(() => `sending: ${JSON.stringify(message)}`);\n const buffer = this.prependWithFrameTypeRTC(SignalingProtocol_js_1.SdkSignalFrame.encode(message).finish());\n if (this.ready()) {\n if (!this.webSocket.send(buffer)) {\n this.sendEvent(new SignalingClientEvent_1.default(this, SignalingClientEventType_1.default.WebSocketSendMessageFailure, null));\n return;\n }\n this.sendEvent(new SignalingClientEvent_1.default(this, SignalingClientEventType_1.default.WebSocketSentMessage, null));\n }\n else {\n this.sendEvent(new SignalingClientEvent_1.default(this, SignalingClientEventType_1.default.WebSocketSkippedMessage, null));\n }\n }\n receiveMessage(inBuffer) {\n let message;\n try {\n message = SignalingProtocol_js_1.SdkSignalFrame.decode(inBuffer);\n }\n catch (e) {\n this.logger.info(`failed to decode: ${inBuffer}`);\n this.sendEvent(new SignalingClientEvent_1.default(this, SignalingClientEventType_1.default.ProtocolDecodeFailure, null));\n return;\n }\n this.logger.debug(() => `received: ${JSON.stringify(message)}`);\n if (this.webSocket.readyState() === WebSocketReadyState_1.default.Open) {\n this.sendEvent(new SignalingClientEvent_1.default(this, SignalingClientEventType_1.default.ReceivedSignalFrame, message));\n }\n else {\n this.logger.info(`skipping notification of message since WebSocket is not open: ${JSON.stringify(message)}`);\n }\n }\n stripFrameTypeRTC(inBuffer) {\n const frameType = inBuffer[0];\n // TODO: change server frame type to send 0x05\n if (frameType !== DefaultSignalingClient.FRAME_TYPE_RTC && frameType !== 0x02) {\n this.logger.warn(`expected FrameTypeRTC for message but got ${frameType}`);\n }\n return inBuffer.slice(1);\n }\n prependWithFrameTypeRTC(inBuffer) {\n const outBuffer = new Uint8Array(inBuffer.length + 1);\n outBuffer[0] = DefaultSignalingClient.FRAME_TYPE_RTC;\n outBuffer.set(inBuffer, 1);\n return outBuffer;\n }\n serviceConnectionRequestQueue() {\n if (this.connectionRequestQueue.length === 0) {\n this.logger.info('no connection requests to service');\n return;\n }\n const request = this.connectionRequestQueue.shift();\n this.logger.info(`opening connection to ${request.url()}`);\n this.isClosing = false;\n this.webSocket.create(request.url(), request.protocols());\n this.setUpEventListeners();\n this.sendEvent(new SignalingClientEvent_1.default(this, SignalingClientEventType_1.default.WebSocketConnecting, null));\n }\n sendEvent(event) {\n switch (event.type) {\n case SignalingClientEventType_1.default.WebSocketMessage:\n case SignalingClientEventType_1.default.ReceivedSignalFrame:\n case SignalingClientEventType_1.default.WebSocketSentMessage:\n this.logger.debug(() => `notifying event: ${SignalingClientEventType_1.default[event.type]}`);\n break;\n case SignalingClientEventType_1.default.WebSocketSkippedMessage:\n this.logger.debug(() => `notifying event: ${SignalingClientEventType_1.default[event.type]}, websocket state=${WebSocketReadyState_1.default[this.webSocket.readyState()]}`);\n break;\n default:\n this.logger.info(`notifying event: ${SignalingClientEventType_1.default[event.type]}`);\n break;\n }\n for (const observer of this.observerQueue) {\n observer.handleSignalingClientEvent(event);\n }\n }\n setUpEventListeners() {\n this.webSocket.addEventListener('open', () => {\n this.activatePageUnloadHandler();\n this.wasOpened = true;\n this.sendEvent(new SignalingClientEvent_1.default(this, SignalingClientEventType_1.default.WebSocketOpen, null));\n });\n this.webSocket.addEventListener('message', (event) => {\n this.sendEvent(new SignalingClientEvent_1.default(this, SignalingClientEventType_1.default.WebSocketMessage, null));\n this.receiveMessage(this.stripFrameTypeRTC(new Uint8Array(event.data)));\n });\n this.webSocket.addEventListener('close', this.closeEventHandler);\n this.webSocket.addEventListener('error', () => {\n if (this.isClosing && !this.wasOpened) {\n this.logger.info('ignoring error closing signaling while connecting');\n return;\n }\n if (this.wasOpened) {\n this.logger.error('received error while connected');\n this.sendEvent(new SignalingClientEvent_1.default(this, SignalingClientEventType_1.default.WebSocketError, null));\n }\n else {\n this.logger.error('failed to connect');\n this.sendEvent(new SignalingClientEvent_1.default(this, SignalingClientEventType_1.default.WebSocketFailed, null));\n }\n });\n }\n activatePageUnloadHandler() {\n this.unloadHandler = () => {\n this.leave();\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const GlobalAny = __webpack_require__.g;\n GlobalAny['window'] &&\n GlobalAny['window']['addEventListener'] &&\n window.addEventListener('unload', this.unloadHandler);\n }\n deactivatePageUnloadHandler() {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const GlobalAny = __webpack_require__.g;\n GlobalAny['window'] &&\n GlobalAny['window']['removeEventListener'] &&\n window.removeEventListener('unload', this.unloadHandler);\n this.unloadHandler = null;\n }\n generateNewAudioSessionId() {\n const num = new Uint32Array(1);\n const randomNum = window.crypto.getRandomValues(num);\n return randomNum[0];\n }\n promoteToPrimaryMeeting(credentials) {\n const signaledCredentials = SignalingProtocol_js_1.SdkMeetingSessionCredentials.create();\n signaledCredentials.attendeeId = credentials.attendeeId;\n signaledCredentials.externalUserId = credentials.externalUserId;\n signaledCredentials.joinToken = credentials.joinToken;\n const primaryMeetingJoin = SignalingProtocol_js_1.SdkPrimaryMeetingJoinFrame.create();\n primaryMeetingJoin.credentials = signaledCredentials;\n const message = SignalingProtocol_js_1.SdkSignalFrame.create();\n message.type = SignalingProtocol_js_1.SdkSignalFrame.Type.PRIMARY_MEETING_JOIN;\n message.primaryMeetingJoin = primaryMeetingJoin;\n this.sendMessage(message);\n }\n demoteFromPrimaryMeeting() {\n const primaryMeetingLeave = SignalingProtocol_js_1.SdkPrimaryMeetingLeaveFrame.create();\n const message = SignalingProtocol_js_1.SdkSignalFrame.create();\n message.type = SignalingProtocol_js_1.SdkSignalFrame.Type.PRIMARY_MEETING_LEAVE;\n message.primaryMeetingLeave = primaryMeetingLeave;\n this.sendMessage(message);\n }\n}\nexports[\"default\"] = DefaultSignalingClient;\nDefaultSignalingClient.FRAME_TYPE_RTC = 0x5;\nDefaultSignalingClient.CLOSE_EVENT_TIMEOUT_MS = 2000;\nDefaultSignalingClient.CLIENT_SUPPORTS_COMPRESSION = true;\n//# sourceMappingURL=DefaultSignalingClient.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/signalingclient/DefaultSignalingClient.js?")},"./node_modules/amazon-chime-sdk-js/build/signalingclient/ServerSideNetworkAdaption.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.convertServerSideNetworkAdaptionEnumToSignaled = exports.convertServerSideNetworkAdaptionEnumFromSignaled = exports.ServerSideNetworkAdaption = void 0;\nconst SignalingProtocol_1 = __webpack_require__(/*! ../signalingprotocol/SignalingProtocol */ "./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js");\n/**\n * [[ServerSideNetworkAdaption]] represents additional server side features that can be enabled for network adaption.\n */\nvar ServerSideNetworkAdaption;\n(function (ServerSideNetworkAdaption) {\n /**\n * No features enabled, but can be overriden from server side values.\n */\n ServerSideNetworkAdaption[ServerSideNetworkAdaption["Default"] = 0] = "Default";\n /**\n * No features enabled. Will not be override from server side choice.\n */\n ServerSideNetworkAdaption[ServerSideNetworkAdaption["None"] = 1] = "None";\n /**\n * Disable the existing client side bandwidth probing methods of waiting and unpausing,\n * or waiting and upgrading simulcast streams (which can be large increases of bitrates\n * and may lead to periodic oversubscription over network capacity\n * and resulting video freezes) and replace it with more gradual server\n * side probing of increasing amounts padding packets until the\n * bandwidth estimate safely reaches the value needed to resume the\n * next video source, or upgrade to the next higher simulcast stream.\n *\n * When this is enabled, any policy \'probing\' for bandwidth headroom\n * should be disabled. This may also enable pacing of some media packets from the server\n * side, and may also enable packet burst probing.\n *\n * End users should overall see reduced video freezes, reduced broken audio,\n * and reduced packet loss.\n */\n ServerSideNetworkAdaption[ServerSideNetworkAdaption["BandwidthProbing"] = 2] = "BandwidthProbing";\n})(ServerSideNetworkAdaption = exports.ServerSideNetworkAdaption || (exports.ServerSideNetworkAdaption = {}));\nexports["default"] = ServerSideNetworkAdaption;\nfunction convertServerSideNetworkAdaptionEnumFromSignaled(adaption) {\n switch (adaption) {\n case SignalingProtocol_1.SdkServerSideNetworkAdaption.DEFAULT:\n return ServerSideNetworkAdaption.Default;\n case SignalingProtocol_1.SdkServerSideNetworkAdaption.NONE:\n return ServerSideNetworkAdaption.None;\n case SignalingProtocol_1.SdkServerSideNetworkAdaption.BANDWIDTH_PROBING:\n return ServerSideNetworkAdaption.BandwidthProbing;\n }\n}\nexports.convertServerSideNetworkAdaptionEnumFromSignaled = convertServerSideNetworkAdaptionEnumFromSignaled;\nfunction convertServerSideNetworkAdaptionEnumToSignaled(adaption) {\n switch (adaption) {\n case ServerSideNetworkAdaption.Default:\n return SignalingProtocol_1.SdkServerSideNetworkAdaption.DEFAULT;\n case ServerSideNetworkAdaption.None:\n return SignalingProtocol_1.SdkServerSideNetworkAdaption.NONE;\n case ServerSideNetworkAdaption.BandwidthProbing:\n return SignalingProtocol_1.SdkServerSideNetworkAdaption.BANDWIDTH_PROBING;\n }\n}\nexports.convertServerSideNetworkAdaptionEnumToSignaled = convertServerSideNetworkAdaptionEnumToSignaled;\n//# sourceMappingURL=ServerSideNetworkAdaption.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/signalingclient/ServerSideNetworkAdaption.js?')},"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientConnectionRequest.js":(__unused_webpack_module,exports)=>{"use strict";eval("\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n/*\n * [[SignalingClientConnectionRequest]] represents an connection request.\n */\nclass SignalingClientConnectionRequest {\n /** Creates a request with the given URL, conference id, and join token.\n *\n * @param signalingURL The URL of the signaling proxy.\n * @param joinToken The join token that will authenticate the connection.\n */\n constructor(signalingURL, joinToken) {\n this.signalingURL = signalingURL;\n this.joinToken = joinToken;\n }\n /** Gets the signaling URL representing this request.*/\n url() {\n return (this.signalingURL + '?X-Chime-Control-Protocol-Version=3&X-Amzn-Chime-Send-Close-On-Error=1');\n }\n /** Gets the protocols associated with this request.*/\n protocols() {\n return ['_aws_wt_session', this.joinToken];\n }\n}\nexports[\"default\"] = SignalingClientConnectionRequest;\n//# sourceMappingURL=SignalingClientConnectionRequest.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientConnectionRequest.js?")},"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEvent.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst SignalingClientEventType_1 = __webpack_require__(/*! ./SignalingClientEventType */ "./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js");\n/*\n * [[SignalingClientEvent]] stores an event that can be sent to observers of the SignalingClient.\n */\nclass SignalingClientEvent {\n /** Initializes a SignalingClientEvent with the given SignalingClientEventType.\n *\n * @param client Indicates the SignalingClient associated with the event.\n * @param type Indicates the kind of event.\n * @param message SdkSignalFrame if type is ReceivedSignalFrame\n */\n constructor(client, type, message, closeCode, closeReason) {\n this.client = client;\n this.type = type;\n this.message = message;\n this.closeCode = closeCode;\n this.closeReason = closeReason;\n this.timestampMs = Date.now();\n }\n isConnectionTerminated() {\n switch (this.type) {\n case SignalingClientEventType_1.default.WebSocketFailed:\n case SignalingClientEventType_1.default.WebSocketError:\n case SignalingClientEventType_1.default.WebSocketClosing:\n case SignalingClientEventType_1.default.WebSocketClosed:\n return true;\n default:\n return false;\n }\n }\n}\nexports["default"] = SignalingClientEvent;\n//# sourceMappingURL=SignalingClientEvent.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEvent.js?')},"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nexports.SignalingClientEventType = void 0;\n/** Defines the event types generated by SignalingClient and the underlying WebSocket connection. */\nvar SignalingClientEventType;\n(function (SignalingClientEventType) {\n SignalingClientEventType[SignalingClientEventType["WebSocketConnecting"] = 0] = "WebSocketConnecting";\n SignalingClientEventType[SignalingClientEventType["WebSocketOpen"] = 1] = "WebSocketOpen";\n SignalingClientEventType[SignalingClientEventType["WebSocketError"] = 2] = "WebSocketError";\n SignalingClientEventType[SignalingClientEventType["WebSocketClosing"] = 3] = "WebSocketClosing";\n SignalingClientEventType[SignalingClientEventType["WebSocketClosed"] = 4] = "WebSocketClosed";\n SignalingClientEventType[SignalingClientEventType["WebSocketFailed"] = 5] = "WebSocketFailed";\n SignalingClientEventType[SignalingClientEventType["WebSocketMessage"] = 6] = "WebSocketMessage";\n SignalingClientEventType[SignalingClientEventType["WebSocketSendMessageFailure"] = 7] = "WebSocketSendMessageFailure";\n SignalingClientEventType[SignalingClientEventType["WebSocketSentMessage"] = 8] = "WebSocketSentMessage";\n SignalingClientEventType[SignalingClientEventType["ProtocolDecodeFailure"] = 9] = "ProtocolDecodeFailure";\n SignalingClientEventType[SignalingClientEventType["ReceivedSignalFrame"] = 10] = "ReceivedSignalFrame";\n SignalingClientEventType[SignalingClientEventType["WebSocketSkippedMessage"] = 11] = "WebSocketSkippedMessage";\n})(SignalingClientEventType = exports.SignalingClientEventType || (exports.SignalingClientEventType = {}));\nexports["default"] = SignalingClientEventType;\n//# sourceMappingURL=SignalingClientEventType.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js?')},"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientJoin.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\nconst ServerSideNetworkAdaption_1 = __webpack_require__(/*! ./ServerSideNetworkAdaption */ "./node_modules/amazon-chime-sdk-js/build/signalingclient/ServerSideNetworkAdaption.js");\n/**\n * [[SignalingClientJoin]] contains settings for the Join SignalFrame.\n */\nclass SignalingClientJoin {\n /**\n * Initializes a SignalingClientJoin with the given properties.\n * @param applicationMetadata [[ApplicationMetadata]].\n */\n constructor(applicationMetadata) {\n this.applicationMetadata = applicationMetadata;\n this.serverSideNetworkAdaption = ServerSideNetworkAdaption_1.default.Default;\n this.supportedServerSideNetworkAdaptions = [];\n this.disablePeriodicKeyframeRequestOnContentSender = false;\n }\n}\nexports["default"] = SignalingClientJoin;\n//# sourceMappingURL=SignalingClientJoin.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientJoin.js?')},"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientSubscribe.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n/**\n * [[SignalingClientSubscribe]] contains settings for the Subscribe SignalFrame.\n */\nclass SignalingClientSubscribe {\n /** Initializes a SignalingClientSubscribe with the given properties.\n *\n * @param attendeeId Attendee ID of the client\n * @param sdpOffer SDP offer created by WebRTC\n * @param audioHost host\n * @param audioMuted Whether audio from client is muted\n * @param audioCheckin Whether audio is in checked-in state\n * @param receiveStreamIds Which video streams to receive\n * @param localVideoEnabled Whether to send a video stream for the local camera\n * @param array of local video stream description\n * @param connectionTypeHasVideo Whether connection type has video\n * @param compressedSdpOffer Compressed version of the SDP offer which was created by WebRTC\n */\n constructor(attendeeId, sdpOffer, audioHost, audioMuted, audioCheckin, receiveStreamIds, localVideoEnabled, videoStreamDescriptions, connectionTypeHasVideo, compressedSdpOffer) {\n this.attendeeId = attendeeId;\n this.sdpOffer = sdpOffer;\n this.audioHost = audioHost;\n this.audioMuted = audioMuted;\n this.audioCheckin = audioCheckin;\n this.receiveStreamIds = receiveStreamIds;\n this.localVideoEnabled = localVideoEnabled;\n this.videoStreamDescriptions = videoStreamDescriptions;\n this.connectionTypeHasVideo = connectionTypeHasVideo;\n this.compressedSdpOffer = compressedSdpOffer;\n this.videoSubscriptionConfiguration = [];\n }\n}\nexports["default"] = SignalingClientSubscribe;\n//# sourceMappingURL=SignalingClientSubscribe.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientSubscribe.js?')},"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientVideoSubscriptionConfiguration.js":(__unused_webpack_module,exports)=>{"use strict";eval('\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, "__esModule", ({ value: true }));\n/**\n * [[SignalingClientVideoSubscriptionConfiguration]] is an internal representation of\n * `SignalingProtocol.VideoSubscriptionConfiguration`\n */\nclass SignalingClientVideoSubscriptionConfiguration {\n}\nexports["default"] = SignalingClientVideoSubscriptionConfiguration;\n//# sourceMappingURL=SignalingClientVideoSubscriptionConfiguration.js.map\n\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientVideoSubscriptionConfiguration.js?')},"./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";eval('/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/\n\n\nvar $protobuf = __webpack_require__(/*! protobufjs/minimal */ "./node_modules/protobufjs/minimal.js");\n\n// Common aliases\nvar $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util;\n\n// Exported root namespace\nvar $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {});\n\n$root.SdkSignalFrame = (function() {\n\n /**\n * Properties of a SdkSignalFrame.\n * @exports ISdkSignalFrame\n * @interface ISdkSignalFrame\n * @property {number|Long} timestampMs SdkSignalFrame timestampMs\n * @property {SdkSignalFrame.Type} type SdkSignalFrame type\n * @property {ISdkErrorFrame|null} [error] SdkSignalFrame error\n * @property {ISdkJoinFrame|null} [join] SdkSignalFrame join\n * @property {ISdkJoinAckFrame|null} [joinack] SdkSignalFrame joinack\n * @property {ISdkSubscribeFrame|null} [sub] SdkSignalFrame sub\n * @property {ISdkSubscribeAckFrame|null} [suback] SdkSignalFrame suback\n * @property {ISdkIndexFrame|null} [index] SdkSignalFrame index\n * @property {ISdkPauseResumeFrame|null} [pause] SdkSignalFrame pause\n * @property {ISdkLeaveFrame|null} [leave] SdkSignalFrame leave\n * @property {ISdkLeaveAckFrame|null} [leaveAck] SdkSignalFrame leaveAck\n * @property {ISdkBitrateFrame|null} [bitrates] SdkSignalFrame bitrates\n * @property {ISdkAudioControlFrame|null} [audioControl] SdkSignalFrame audioControl\n * @property {ISdkAudioMetadataFrame|null} [audioMetadata] SdkSignalFrame audioMetadata\n * @property {ISdkAudioStreamIdInfoFrame|null} [audioStreamIdInfo] SdkSignalFrame audioStreamIdInfo\n * @property {ISdkPingPongFrame|null} [pingPong] SdkSignalFrame pingPong\n * @property {ISdkAudioStatusFrame|null} [audioStatus] SdkSignalFrame audioStatus\n * @property {ISdkClientMetricFrame|null} [clientMetric] SdkSignalFrame clientMetric\n * @property {ISdkDataMessageFrame|null} [dataMessage] SdkSignalFrame dataMessage\n * @property {ISdkRemoteVideoUpdateFrame|null} [remoteVideoUpdate] SdkSignalFrame remoteVideoUpdate\n * @property {ISdkPrimaryMeetingJoinFrame|null} [primaryMeetingJoin] SdkSignalFrame primaryMeetingJoin\n * @property {ISdkPrimaryMeetingJoinAckFrame|null} [primaryMeetingJoinAck] SdkSignalFrame primaryMeetingJoinAck\n * @property {ISdkPrimaryMeetingLeaveFrame|null} [primaryMeetingLeave] SdkSignalFrame primaryMeetingLeave\n */\n\n /**\n * Constructs a new SdkSignalFrame.\n * @exports SdkSignalFrame\n * @classdesc Represents a SdkSignalFrame.\n * @implements ISdkSignalFrame\n * @constructor\n * @param {ISdkSignalFrame=} [properties] Properties to set\n */\n function SdkSignalFrame(properties) {\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkSignalFrame timestampMs.\n * @member {number|Long} timestampMs\n * @memberof SdkSignalFrame\n * @instance\n */\n SdkSignalFrame.prototype.timestampMs = $util.Long ? $util.Long.fromBits(0,0,true) : 0;\n\n /**\n * SdkSignalFrame type.\n * @member {SdkSignalFrame.Type} type\n * @memberof SdkSignalFrame\n * @instance\n */\n SdkSignalFrame.prototype.type = 1;\n\n /**\n * SdkSignalFrame error.\n * @member {ISdkErrorFrame|null|undefined} error\n * @memberof SdkSignalFrame\n * @instance\n */\n SdkSignalFrame.prototype.error = null;\n\n /**\n * SdkSignalFrame join.\n * @member {ISdkJoinFrame|null|undefined} join\n * @memberof SdkSignalFrame\n * @instance\n */\n SdkSignalFrame.prototype.join = null;\n\n /**\n * SdkSignalFrame joinack.\n * @member {ISdkJoinAckFrame|null|undefined} joinack\n * @memberof SdkSignalFrame\n * @instance\n */\n SdkSignalFrame.prototype.joinack = null;\n\n /**\n * SdkSignalFrame sub.\n * @member {ISdkSubscribeFrame|null|undefined} sub\n * @memberof SdkSignalFrame\n * @instance\n */\n SdkSignalFrame.prototype.sub = null;\n\n /**\n * SdkSignalFrame suback.\n * @member {ISdkSubscribeAckFrame|null|undefined} suback\n * @memberof SdkSignalFrame\n * @instance\n */\n SdkSignalFrame.prototype.suback = null;\n\n /**\n * SdkSignalFrame index.\n * @member {ISdkIndexFrame|null|undefined} index\n * @memberof SdkSignalFrame\n * @instance\n */\n SdkSignalFrame.prototype.index = null;\n\n /**\n * SdkSignalFrame pause.\n * @member {ISdkPauseResumeFrame|null|undefined} pause\n * @memberof SdkSignalFrame\n * @instance\n */\n SdkSignalFrame.prototype.pause = null;\n\n /**\n * SdkSignalFrame leave.\n * @member {ISdkLeaveFrame|null|undefined} leave\n * @memberof SdkSignalFrame\n * @instance\n */\n SdkSignalFrame.prototype.leave = null;\n\n /**\n * SdkSignalFrame leaveAck.\n * @member {ISdkLeaveAckFrame|null|undefined} leaveAck\n * @memberof SdkSignalFrame\n * @instance\n */\n SdkSignalFrame.prototype.leaveAck = null;\n\n /**\n * SdkSignalFrame bitrates.\n * @member {ISdkBitrateFrame|null|undefined} bitrates\n * @memberof SdkSignalFrame\n * @instance\n */\n SdkSignalFrame.prototype.bitrates = null;\n\n /**\n * SdkSignalFrame audioControl.\n * @member {ISdkAudioControlFrame|null|undefined} audioControl\n * @memberof SdkSignalFrame\n * @instance\n */\n SdkSignalFrame.prototype.audioControl = null;\n\n /**\n * SdkSignalFrame audioMetadata.\n * @member {ISdkAudioMetadataFrame|null|undefined} audioMetadata\n * @memberof SdkSignalFrame\n * @instance\n */\n SdkSignalFrame.prototype.audioMetadata = null;\n\n /**\n * SdkSignalFrame audioStreamIdInfo.\n * @member {ISdkAudioStreamIdInfoFrame|null|undefined} audioStreamIdInfo\n * @memberof SdkSignalFrame\n * @instance\n */\n SdkSignalFrame.prototype.audioStreamIdInfo = null;\n\n /**\n * SdkSignalFrame pingPong.\n * @member {ISdkPingPongFrame|null|undefined} pingPong\n * @memberof SdkSignalFrame\n * @instance\n */\n SdkSignalFrame.prototype.pingPong = null;\n\n /**\n * SdkSignalFrame audioStatus.\n * @member {ISdkAudioStatusFrame|null|undefined} audioStatus\n * @memberof SdkSignalFrame\n * @instance\n */\n SdkSignalFrame.prototype.audioStatus = null;\n\n /**\n * SdkSignalFrame clientMetric.\n * @member {ISdkClientMetricFrame|null|undefined} clientMetric\n * @memberof SdkSignalFrame\n * @instance\n */\n SdkSignalFrame.prototype.clientMetric = null;\n\n /**\n * SdkSignalFrame dataMessage.\n * @member {ISdkDataMessageFrame|null|undefined} dataMessage\n * @memberof SdkSignalFrame\n * @instance\n */\n SdkSignalFrame.prototype.dataMessage = null;\n\n /**\n * SdkSignalFrame remoteVideoUpdate.\n * @member {ISdkRemoteVideoUpdateFrame|null|undefined} remoteVideoUpdate\n * @memberof SdkSignalFrame\n * @instance\n */\n SdkSignalFrame.prototype.remoteVideoUpdate = null;\n\n /**\n * SdkSignalFrame primaryMeetingJoin.\n * @member {ISdkPrimaryMeetingJoinFrame|null|undefined} primaryMeetingJoin\n * @memberof SdkSignalFrame\n * @instance\n */\n SdkSignalFrame.prototype.primaryMeetingJoin = null;\n\n /**\n * SdkSignalFrame primaryMeetingJoinAck.\n * @member {ISdkPrimaryMeetingJoinAckFrame|null|undefined} primaryMeetingJoinAck\n * @memberof SdkSignalFrame\n * @instance\n */\n SdkSignalFrame.prototype.primaryMeetingJoinAck = null;\n\n /**\n * SdkSignalFrame primaryMeetingLeave.\n * @member {ISdkPrimaryMeetingLeaveFrame|null|undefined} primaryMeetingLeave\n * @memberof SdkSignalFrame\n * @instance\n */\n SdkSignalFrame.prototype.primaryMeetingLeave = null;\n\n /**\n * Creates a new SdkSignalFrame instance using the specified properties.\n * @function create\n * @memberof SdkSignalFrame\n * @static\n * @param {ISdkSignalFrame=} [properties] Properties to set\n * @returns {SdkSignalFrame} SdkSignalFrame instance\n */\n SdkSignalFrame.create = function create(properties) {\n return new SdkSignalFrame(properties);\n };\n\n /**\n * Encodes the specified SdkSignalFrame message. Does not implicitly {@link SdkSignalFrame.verify|verify} messages.\n * @function encode\n * @memberof SdkSignalFrame\n * @static\n * @param {ISdkSignalFrame} message SdkSignalFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkSignalFrame.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.timestampMs);\n writer.uint32(/* id 2, wireType 0 =*/16).int32(message.type);\n if (message.error != null && Object.hasOwnProperty.call(message, "error"))\n $root.SdkErrorFrame.encode(message.error, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();\n if (message.join != null && Object.hasOwnProperty.call(message, "join"))\n $root.SdkJoinFrame.encode(message.join, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();\n if (message.joinack != null && Object.hasOwnProperty.call(message, "joinack"))\n $root.SdkJoinAckFrame.encode(message.joinack, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();\n if (message.sub != null && Object.hasOwnProperty.call(message, "sub"))\n $root.SdkSubscribeFrame.encode(message.sub, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();\n if (message.suback != null && Object.hasOwnProperty.call(message, "suback"))\n $root.SdkSubscribeAckFrame.encode(message.suback, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();\n if (message.index != null && Object.hasOwnProperty.call(message, "index"))\n $root.SdkIndexFrame.encode(message.index, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();\n if (message.pause != null && Object.hasOwnProperty.call(message, "pause"))\n $root.SdkPauseResumeFrame.encode(message.pause, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();\n if (message.leave != null && Object.hasOwnProperty.call(message, "leave"))\n $root.SdkLeaveFrame.encode(message.leave, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();\n if (message.leaveAck != null && Object.hasOwnProperty.call(message, "leaveAck"))\n $root.SdkLeaveAckFrame.encode(message.leaveAck, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();\n if (message.bitrates != null && Object.hasOwnProperty.call(message, "bitrates"))\n $root.SdkBitrateFrame.encode(message.bitrates, writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim();\n if (message.audioControl != null && Object.hasOwnProperty.call(message, "audioControl"))\n $root.SdkAudioControlFrame.encode(message.audioControl, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();\n if (message.audioMetadata != null && Object.hasOwnProperty.call(message, "audioMetadata"))\n $root.SdkAudioMetadataFrame.encode(message.audioMetadata, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();\n if (message.audioStreamIdInfo != null && Object.hasOwnProperty.call(message, "audioStreamIdInfo"))\n $root.SdkAudioStreamIdInfoFrame.encode(message.audioStreamIdInfo, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();\n if (message.pingPong != null && Object.hasOwnProperty.call(message, "pingPong"))\n $root.SdkPingPongFrame.encode(message.pingPong, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();\n if (message.audioStatus != null && Object.hasOwnProperty.call(message, "audioStatus"))\n $root.SdkAudioStatusFrame.encode(message.audioStatus, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();\n if (message.clientMetric != null && Object.hasOwnProperty.call(message, "clientMetric"))\n $root.SdkClientMetricFrame.encode(message.clientMetric, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim();\n if (message.dataMessage != null && Object.hasOwnProperty.call(message, "dataMessage"))\n $root.SdkDataMessageFrame.encode(message.dataMessage, writer.uint32(/* id 23, wireType 2 =*/186).fork()).ldelim();\n if (message.remoteVideoUpdate != null && Object.hasOwnProperty.call(message, "remoteVideoUpdate"))\n $root.SdkRemoteVideoUpdateFrame.encode(message.remoteVideoUpdate, writer.uint32(/* id 25, wireType 2 =*/202).fork()).ldelim();\n if (message.primaryMeetingJoin != null && Object.hasOwnProperty.call(message, "primaryMeetingJoin"))\n $root.SdkPrimaryMeetingJoinFrame.encode(message.primaryMeetingJoin, writer.uint32(/* id 26, wireType 2 =*/210).fork()).ldelim();\n if (message.primaryMeetingJoinAck != null && Object.hasOwnProperty.call(message, "primaryMeetingJoinAck"))\n $root.SdkPrimaryMeetingJoinAckFrame.encode(message.primaryMeetingJoinAck, writer.uint32(/* id 27, wireType 2 =*/218).fork()).ldelim();\n if (message.primaryMeetingLeave != null && Object.hasOwnProperty.call(message, "primaryMeetingLeave"))\n $root.SdkPrimaryMeetingLeaveFrame.encode(message.primaryMeetingLeave, writer.uint32(/* id 28, wireType 2 =*/226).fork()).ldelim();\n return writer;\n };\n\n /**\n * Encodes the specified SdkSignalFrame message, length delimited. Does not implicitly {@link SdkSignalFrame.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkSignalFrame\n * @static\n * @param {ISdkSignalFrame} message SdkSignalFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkSignalFrame.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkSignalFrame message from the specified reader or buffer.\n * @function decode\n * @memberof SdkSignalFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkSignalFrame} SdkSignalFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkSignalFrame.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkSignalFrame();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.timestampMs = reader.uint64();\n break;\n case 2:\n message.type = reader.int32();\n break;\n case 3:\n message.error = $root.SdkErrorFrame.decode(reader, reader.uint32());\n break;\n case 4:\n message.join = $root.SdkJoinFrame.decode(reader, reader.uint32());\n break;\n case 5:\n message.joinack = $root.SdkJoinAckFrame.decode(reader, reader.uint32());\n break;\n case 6:\n message.sub = $root.SdkSubscribeFrame.decode(reader, reader.uint32());\n break;\n case 7:\n message.suback = $root.SdkSubscribeAckFrame.decode(reader, reader.uint32());\n break;\n case 8:\n message.index = $root.SdkIndexFrame.decode(reader, reader.uint32());\n break;\n case 10:\n message.pause = $root.SdkPauseResumeFrame.decode(reader, reader.uint32());\n break;\n case 11:\n message.leave = $root.SdkLeaveFrame.decode(reader, reader.uint32());\n break;\n case 12:\n message.leaveAck = $root.SdkLeaveAckFrame.decode(reader, reader.uint32());\n break;\n case 14:\n message.bitrates = $root.SdkBitrateFrame.decode(reader, reader.uint32());\n break;\n case 17:\n message.audioControl = $root.SdkAudioControlFrame.decode(reader, reader.uint32());\n break;\n case 18:\n message.audioMetadata = $root.SdkAudioMetadataFrame.decode(reader, reader.uint32());\n break;\n case 19:\n message.audioStreamIdInfo = $root.SdkAudioStreamIdInfoFrame.decode(reader, reader.uint32());\n break;\n case 20:\n message.pingPong = $root.SdkPingPongFrame.decode(reader, reader.uint32());\n break;\n case 21:\n message.audioStatus = $root.SdkAudioStatusFrame.decode(reader, reader.uint32());\n break;\n case 22:\n message.clientMetric = $root.SdkClientMetricFrame.decode(reader, reader.uint32());\n break;\n case 23:\n message.dataMessage = $root.SdkDataMessageFrame.decode(reader, reader.uint32());\n break;\n case 25:\n message.remoteVideoUpdate = $root.SdkRemoteVideoUpdateFrame.decode(reader, reader.uint32());\n break;\n case 26:\n message.primaryMeetingJoin = $root.SdkPrimaryMeetingJoinFrame.decode(reader, reader.uint32());\n break;\n case 27:\n message.primaryMeetingJoinAck = $root.SdkPrimaryMeetingJoinAckFrame.decode(reader, reader.uint32());\n break;\n case 28:\n message.primaryMeetingLeave = $root.SdkPrimaryMeetingLeaveFrame.decode(reader, reader.uint32());\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n if (!message.hasOwnProperty("timestampMs"))\n throw $util.ProtocolError("missing required \'timestampMs\'", { instance: message });\n if (!message.hasOwnProperty("type"))\n throw $util.ProtocolError("missing required \'type\'", { instance: message });\n return message;\n };\n\n /**\n * Decodes a SdkSignalFrame message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkSignalFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkSignalFrame} SdkSignalFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkSignalFrame.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkSignalFrame message.\n * @function verify\n * @memberof SdkSignalFrame\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkSignalFrame.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (!$util.isInteger(message.timestampMs) && !(message.timestampMs && $util.isInteger(message.timestampMs.low) && $util.isInteger(message.timestampMs.high)))\n return "timestampMs: integer|Long expected";\n switch (message.type) {\n default:\n return "type: enum value expected";\n case 1:\n case 2:\n case 3:\n case 4:\n case 5:\n case 7:\n case 8:\n case 9:\n case 10:\n case 13:\n case 16:\n case 17:\n case 18:\n case 19:\n case 20:\n case 21:\n case 22:\n case 24:\n case 25:\n case 26:\n case 27:\n break;\n }\n if (message.error != null && message.hasOwnProperty("error")) {\n var error = $root.SdkErrorFrame.verify(message.error);\n if (error)\n return "error." + error;\n }\n if (message.join != null && message.hasOwnProperty("join")) {\n var error = $root.SdkJoinFrame.verify(message.join);\n if (error)\n return "join." + error;\n }\n if (message.joinack != null && message.hasOwnProperty("joinack")) {\n var error = $root.SdkJoinAckFrame.verify(message.joinack);\n if (error)\n return "joinack." + error;\n }\n if (message.sub != null && message.hasOwnProperty("sub")) {\n var error = $root.SdkSubscribeFrame.verify(message.sub);\n if (error)\n return "sub." + error;\n }\n if (message.suback != null && message.hasOwnProperty("suback")) {\n var error = $root.SdkSubscribeAckFrame.verify(message.suback);\n if (error)\n return "suback." + error;\n }\n if (message.index != null && message.hasOwnProperty("index")) {\n var error = $root.SdkIndexFrame.verify(message.index);\n if (error)\n return "index." + error;\n }\n if (message.pause != null && message.hasOwnProperty("pause")) {\n var error = $root.SdkPauseResumeFrame.verify(message.pause);\n if (error)\n return "pause." + error;\n }\n if (message.leave != null && message.hasOwnProperty("leave")) {\n var error = $root.SdkLeaveFrame.verify(message.leave);\n if (error)\n return "leave." + error;\n }\n if (message.leaveAck != null && message.hasOwnProperty("leaveAck")) {\n var error = $root.SdkLeaveAckFrame.verify(message.leaveAck);\n if (error)\n return "leaveAck." + error;\n }\n if (message.bitrates != null && message.hasOwnProperty("bitrates")) {\n var error = $root.SdkBitrateFrame.verify(message.bitrates);\n if (error)\n return "bitrates." + error;\n }\n if (message.audioControl != null && message.hasOwnProperty("audioControl")) {\n var error = $root.SdkAudioControlFrame.verify(message.audioControl);\n if (error)\n return "audioControl." + error;\n }\n if (message.audioMetadata != null && message.hasOwnProperty("audioMetadata")) {\n var error = $root.SdkAudioMetadataFrame.verify(message.audioMetadata);\n if (error)\n return "audioMetadata." + error;\n }\n if (message.audioStreamIdInfo != null && message.hasOwnProperty("audioStreamIdInfo")) {\n var error = $root.SdkAudioStreamIdInfoFrame.verify(message.audioStreamIdInfo);\n if (error)\n return "audioStreamIdInfo." + error;\n }\n if (message.pingPong != null && message.hasOwnProperty("pingPong")) {\n var error = $root.SdkPingPongFrame.verify(message.pingPong);\n if (error)\n return "pingPong." + error;\n }\n if (message.audioStatus != null && message.hasOwnProperty("audioStatus")) {\n var error = $root.SdkAudioStatusFrame.verify(message.audioStatus);\n if (error)\n return "audioStatus." + error;\n }\n if (message.clientMetric != null && message.hasOwnProperty("clientMetric")) {\n var error = $root.SdkClientMetricFrame.verify(message.clientMetric);\n if (error)\n return "clientMetric." + error;\n }\n if (message.dataMessage != null && message.hasOwnProperty("dataMessage")) {\n var error = $root.SdkDataMessageFrame.verify(message.dataMessage);\n if (error)\n return "dataMessage." + error;\n }\n if (message.remoteVideoUpdate != null && message.hasOwnProperty("remoteVideoUpdate")) {\n var error = $root.SdkRemoteVideoUpdateFrame.verify(message.remoteVideoUpdate);\n if (error)\n return "remoteVideoUpdate." + error;\n }\n if (message.primaryMeetingJoin != null && message.hasOwnProperty("primaryMeetingJoin")) {\n var error = $root.SdkPrimaryMeetingJoinFrame.verify(message.primaryMeetingJoin);\n if (error)\n return "primaryMeetingJoin." + error;\n }\n if (message.primaryMeetingJoinAck != null && message.hasOwnProperty("primaryMeetingJoinAck")) {\n var error = $root.SdkPrimaryMeetingJoinAckFrame.verify(message.primaryMeetingJoinAck);\n if (error)\n return "primaryMeetingJoinAck." + error;\n }\n if (message.primaryMeetingLeave != null && message.hasOwnProperty("primaryMeetingLeave")) {\n var error = $root.SdkPrimaryMeetingLeaveFrame.verify(message.primaryMeetingLeave);\n if (error)\n return "primaryMeetingLeave." + error;\n }\n return null;\n };\n\n /**\n * Creates a SdkSignalFrame message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkSignalFrame\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkSignalFrame} SdkSignalFrame\n */\n SdkSignalFrame.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkSignalFrame)\n return object;\n var message = new $root.SdkSignalFrame();\n if (object.timestampMs != null)\n if ($util.Long)\n (message.timestampMs = $util.Long.fromValue(object.timestampMs)).unsigned = true;\n else if (typeof object.timestampMs === "string")\n message.timestampMs = parseInt(object.timestampMs, 10);\n else if (typeof object.timestampMs === "number")\n message.timestampMs = object.timestampMs;\n else if (typeof object.timestampMs === "object")\n message.timestampMs = new $util.LongBits(object.timestampMs.low >>> 0, object.timestampMs.high >>> 0).toNumber(true);\n switch (object.type) {\n case "JOIN":\n case 1:\n message.type = 1;\n break;\n case "JOIN_ACK":\n case 2:\n message.type = 2;\n break;\n case "SUBSCRIBE":\n case 3:\n message.type = 3;\n break;\n case "SUBSCRIBE_ACK":\n case 4:\n message.type = 4;\n break;\n case "INDEX":\n case 5:\n message.type = 5;\n break;\n case "PAUSE":\n case 7:\n message.type = 7;\n break;\n case "RESUME":\n case 8:\n message.type = 8;\n break;\n case "LEAVE":\n case 9:\n message.type = 9;\n break;\n case "LEAVE_ACK":\n case 10:\n message.type = 10;\n break;\n case "BITRATES":\n case 13:\n message.type = 13;\n break;\n case "AUDIO_CONTROL":\n case 16:\n message.type = 16;\n break;\n case "AUDIO_METADATA":\n case 17:\n message.type = 17;\n break;\n case "AUDIO_STREAM_ID_INFO":\n case 18:\n message.type = 18;\n break;\n case "PING_PONG":\n case 19:\n message.type = 19;\n break;\n case "AUDIO_STATUS":\n case 20:\n message.type = 20;\n break;\n case "CLIENT_METRIC":\n case 21:\n message.type = 21;\n break;\n case "DATA_MESSAGE":\n case 22:\n message.type = 22;\n break;\n case "REMOTE_VIDEO_UPDATE":\n case 24:\n message.type = 24;\n break;\n case "PRIMARY_MEETING_JOIN":\n case 25:\n message.type = 25;\n break;\n case "PRIMARY_MEETING_JOIN_ACK":\n case 26:\n message.type = 26;\n break;\n case "PRIMARY_MEETING_LEAVE":\n case 27:\n message.type = 27;\n break;\n }\n if (object.error != null) {\n if (typeof object.error !== "object")\n throw TypeError(".SdkSignalFrame.error: object expected");\n message.error = $root.SdkErrorFrame.fromObject(object.error);\n }\n if (object.join != null) {\n if (typeof object.join !== "object")\n throw TypeError(".SdkSignalFrame.join: object expected");\n message.join = $root.SdkJoinFrame.fromObject(object.join);\n }\n if (object.joinack != null) {\n if (typeof object.joinack !== "object")\n throw TypeError(".SdkSignalFrame.joinack: object expected");\n message.joinack = $root.SdkJoinAckFrame.fromObject(object.joinack);\n }\n if (object.sub != null) {\n if (typeof object.sub !== "object")\n throw TypeError(".SdkSignalFrame.sub: object expected");\n message.sub = $root.SdkSubscribeFrame.fromObject(object.sub);\n }\n if (object.suback != null) {\n if (typeof object.suback !== "object")\n throw TypeError(".SdkSignalFrame.suback: object expected");\n message.suback = $root.SdkSubscribeAckFrame.fromObject(object.suback);\n }\n if (object.index != null) {\n if (typeof object.index !== "object")\n throw TypeError(".SdkSignalFrame.index: object expected");\n message.index = $root.SdkIndexFrame.fromObject(object.index);\n }\n if (object.pause != null) {\n if (typeof object.pause !== "object")\n throw TypeError(".SdkSignalFrame.pause: object expected");\n message.pause = $root.SdkPauseResumeFrame.fromObject(object.pause);\n }\n if (object.leave != null) {\n if (typeof object.leave !== "object")\n throw TypeError(".SdkSignalFrame.leave: object expected");\n message.leave = $root.SdkLeaveFrame.fromObject(object.leave);\n }\n if (object.leaveAck != null) {\n if (typeof object.leaveAck !== "object")\n throw TypeError(".SdkSignalFrame.leaveAck: object expected");\n message.leaveAck = $root.SdkLeaveAckFrame.fromObject(object.leaveAck);\n }\n if (object.bitrates != null) {\n if (typeof object.bitrates !== "object")\n throw TypeError(".SdkSignalFrame.bitrates: object expected");\n message.bitrates = $root.SdkBitrateFrame.fromObject(object.bitrates);\n }\n if (object.audioControl != null) {\n if (typeof object.audioControl !== "object")\n throw TypeError(".SdkSignalFrame.audioControl: object expected");\n message.audioControl = $root.SdkAudioControlFrame.fromObject(object.audioControl);\n }\n if (object.audioMetadata != null) {\n if (typeof object.audioMetadata !== "object")\n throw TypeError(".SdkSignalFrame.audioMetadata: object expected");\n message.audioMetadata = $root.SdkAudioMetadataFrame.fromObject(object.audioMetadata);\n }\n if (object.audioStreamIdInfo != null) {\n if (typeof object.audioStreamIdInfo !== "object")\n throw TypeError(".SdkSignalFrame.audioStreamIdInfo: object expected");\n message.audioStreamIdInfo = $root.SdkAudioStreamIdInfoFrame.fromObject(object.audioStreamIdInfo);\n }\n if (object.pingPong != null) {\n if (typeof object.pingPong !== "object")\n throw TypeError(".SdkSignalFrame.pingPong: object expected");\n message.pingPong = $root.SdkPingPongFrame.fromObject(object.pingPong);\n }\n if (object.audioStatus != null) {\n if (typeof object.audioStatus !== "object")\n throw TypeError(".SdkSignalFrame.audioStatus: object expected");\n message.audioStatus = $root.SdkAudioStatusFrame.fromObject(object.audioStatus);\n }\n if (object.clientMetric != null) {\n if (typeof object.clientMetric !== "object")\n throw TypeError(".SdkSignalFrame.clientMetric: object expected");\n message.clientMetric = $root.SdkClientMetricFrame.fromObject(object.clientMetric);\n }\n if (object.dataMessage != null) {\n if (typeof object.dataMessage !== "object")\n throw TypeError(".SdkSignalFrame.dataMessage: object expected");\n message.dataMessage = $root.SdkDataMessageFrame.fromObject(object.dataMessage);\n }\n if (object.remoteVideoUpdate != null) {\n if (typeof object.remoteVideoUpdate !== "object")\n throw TypeError(".SdkSignalFrame.remoteVideoUpdate: object expected");\n message.remoteVideoUpdate = $root.SdkRemoteVideoUpdateFrame.fromObject(object.remoteVideoUpdate);\n }\n if (object.primaryMeetingJoin != null) {\n if (typeof object.primaryMeetingJoin !== "object")\n throw TypeError(".SdkSignalFrame.primaryMeetingJoin: object expected");\n message.primaryMeetingJoin = $root.SdkPrimaryMeetingJoinFrame.fromObject(object.primaryMeetingJoin);\n }\n if (object.primaryMeetingJoinAck != null) {\n if (typeof object.primaryMeetingJoinAck !== "object")\n throw TypeError(".SdkSignalFrame.primaryMeetingJoinAck: object expected");\n message.primaryMeetingJoinAck = $root.SdkPrimaryMeetingJoinAckFrame.fromObject(object.primaryMeetingJoinAck);\n }\n if (object.primaryMeetingLeave != null) {\n if (typeof object.primaryMeetingLeave !== "object")\n throw TypeError(".SdkSignalFrame.primaryMeetingLeave: object expected");\n message.primaryMeetingLeave = $root.SdkPrimaryMeetingLeaveFrame.fromObject(object.primaryMeetingLeave);\n }\n return message;\n };\n\n /**\n * Creates a plain object from a SdkSignalFrame message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkSignalFrame\n * @static\n * @param {SdkSignalFrame} message SdkSignalFrame\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkSignalFrame.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.defaults) {\n if ($util.Long) {\n var long = new $util.Long(0, 0, true);\n object.timestampMs = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;\n } else\n object.timestampMs = options.longs === String ? "0" : 0;\n object.type = options.enums === String ? "JOIN" : 1;\n object.error = null;\n object.join = null;\n object.joinack = null;\n object.sub = null;\n object.suback = null;\n object.index = null;\n object.pause = null;\n object.leave = null;\n object.leaveAck = null;\n object.bitrates = null;\n object.audioControl = null;\n object.audioMetadata = null;\n object.audioStreamIdInfo = null;\n object.pingPong = null;\n object.audioStatus = null;\n object.clientMetric = null;\n object.dataMessage = null;\n object.remoteVideoUpdate = null;\n object.primaryMeetingJoin = null;\n object.primaryMeetingJoinAck = null;\n object.primaryMeetingLeave = null;\n }\n if (message.timestampMs != null && message.hasOwnProperty("timestampMs"))\n if (typeof message.timestampMs === "number")\n object.timestampMs = options.longs === String ? String(message.timestampMs) : message.timestampMs;\n else\n object.timestampMs = options.longs === String ? $util.Long.prototype.toString.call(message.timestampMs) : options.longs === Number ? new $util.LongBits(message.timestampMs.low >>> 0, message.timestampMs.high >>> 0).toNumber(true) : message.timestampMs;\n if (message.type != null && message.hasOwnProperty("type"))\n object.type = options.enums === String ? $root.SdkSignalFrame.Type[message.type] : message.type;\n if (message.error != null && message.hasOwnProperty("error"))\n object.error = $root.SdkErrorFrame.toObject(message.error, options);\n if (message.join != null && message.hasOwnProperty("join"))\n object.join = $root.SdkJoinFrame.toObject(message.join, options);\n if (message.joinack != null && message.hasOwnProperty("joinack"))\n object.joinack = $root.SdkJoinAckFrame.toObject(message.joinack, options);\n if (message.sub != null && message.hasOwnProperty("sub"))\n object.sub = $root.SdkSubscribeFrame.toObject(message.sub, options);\n if (message.suback != null && message.hasOwnProperty("suback"))\n object.suback = $root.SdkSubscribeAckFrame.toObject(message.suback, options);\n if (message.index != null && message.hasOwnProperty("index"))\n object.index = $root.SdkIndexFrame.toObject(message.index, options);\n if (message.pause != null && message.hasOwnProperty("pause"))\n object.pause = $root.SdkPauseResumeFrame.toObject(message.pause, options);\n if (message.leave != null && message.hasOwnProperty("leave"))\n object.leave = $root.SdkLeaveFrame.toObject(message.leave, options);\n if (message.leaveAck != null && message.hasOwnProperty("leaveAck"))\n object.leaveAck = $root.SdkLeaveAckFrame.toObject(message.leaveAck, options);\n if (message.bitrates != null && message.hasOwnProperty("bitrates"))\n object.bitrates = $root.SdkBitrateFrame.toObject(message.bitrates, options);\n if (message.audioControl != null && message.hasOwnProperty("audioControl"))\n object.audioControl = $root.SdkAudioControlFrame.toObject(message.audioControl, options);\n if (message.audioMetadata != null && message.hasOwnProperty("audioMetadata"))\n object.audioMetadata = $root.SdkAudioMetadataFrame.toObject(message.audioMetadata, options);\n if (message.audioStreamIdInfo != null && message.hasOwnProperty("audioStreamIdInfo"))\n object.audioStreamIdInfo = $root.SdkAudioStreamIdInfoFrame.toObject(message.audioStreamIdInfo, options);\n if (message.pingPong != null && message.hasOwnProperty("pingPong"))\n object.pingPong = $root.SdkPingPongFrame.toObject(message.pingPong, options);\n if (message.audioStatus != null && message.hasOwnProperty("audioStatus"))\n object.audioStatus = $root.SdkAudioStatusFrame.toObject(message.audioStatus, options);\n if (message.clientMetric != null && message.hasOwnProperty("clientMetric"))\n object.clientMetric = $root.SdkClientMetricFrame.toObject(message.clientMetric, options);\n if (message.dataMessage != null && message.hasOwnProperty("dataMessage"))\n object.dataMessage = $root.SdkDataMessageFrame.toObject(message.dataMessage, options);\n if (message.remoteVideoUpdate != null && message.hasOwnProperty("remoteVideoUpdate"))\n object.remoteVideoUpdate = $root.SdkRemoteVideoUpdateFrame.toObject(message.remoteVideoUpdate, options);\n if (message.primaryMeetingJoin != null && message.hasOwnProperty("primaryMeetingJoin"))\n object.primaryMeetingJoin = $root.SdkPrimaryMeetingJoinFrame.toObject(message.primaryMeetingJoin, options);\n if (message.primaryMeetingJoinAck != null && message.hasOwnProperty("primaryMeetingJoinAck"))\n object.primaryMeetingJoinAck = $root.SdkPrimaryMeetingJoinAckFrame.toObject(message.primaryMeetingJoinAck, options);\n if (message.primaryMeetingLeave != null && message.hasOwnProperty("primaryMeetingLeave"))\n object.primaryMeetingLeave = $root.SdkPrimaryMeetingLeaveFrame.toObject(message.primaryMeetingLeave, options);\n return object;\n };\n\n /**\n * Converts this SdkSignalFrame to JSON.\n * @function toJSON\n * @memberof SdkSignalFrame\n * @instance\n * @returns {Object.} JSON object\n */\n SdkSignalFrame.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n /**\n * Type enum.\n * @name SdkSignalFrame.Type\n * @enum {number}\n * @property {number} JOIN=1 JOIN value\n * @property {number} JOIN_ACK=2 JOIN_ACK value\n * @property {number} SUBSCRIBE=3 SUBSCRIBE value\n * @property {number} SUBSCRIBE_ACK=4 SUBSCRIBE_ACK value\n * @property {number} INDEX=5 INDEX value\n * @property {number} PAUSE=7 PAUSE value\n * @property {number} RESUME=8 RESUME value\n * @property {number} LEAVE=9 LEAVE value\n * @property {number} LEAVE_ACK=10 LEAVE_ACK value\n * @property {number} BITRATES=13 BITRATES value\n * @property {number} AUDIO_CONTROL=16 AUDIO_CONTROL value\n * @property {number} AUDIO_METADATA=17 AUDIO_METADATA value\n * @property {number} AUDIO_STREAM_ID_INFO=18 AUDIO_STREAM_ID_INFO value\n * @property {number} PING_PONG=19 PING_PONG value\n * @property {number} AUDIO_STATUS=20 AUDIO_STATUS value\n * @property {number} CLIENT_METRIC=21 CLIENT_METRIC value\n * @property {number} DATA_MESSAGE=22 DATA_MESSAGE value\n * @property {number} REMOTE_VIDEO_UPDATE=24 REMOTE_VIDEO_UPDATE value\n * @property {number} PRIMARY_MEETING_JOIN=25 PRIMARY_MEETING_JOIN value\n * @property {number} PRIMARY_MEETING_JOIN_ACK=26 PRIMARY_MEETING_JOIN_ACK value\n * @property {number} PRIMARY_MEETING_LEAVE=27 PRIMARY_MEETING_LEAVE value\n */\n SdkSignalFrame.Type = (function() {\n var valuesById = {}, values = Object.create(valuesById);\n values[valuesById[1] = "JOIN"] = 1;\n values[valuesById[2] = "JOIN_ACK"] = 2;\n values[valuesById[3] = "SUBSCRIBE"] = 3;\n values[valuesById[4] = "SUBSCRIBE_ACK"] = 4;\n values[valuesById[5] = "INDEX"] = 5;\n values[valuesById[7] = "PAUSE"] = 7;\n values[valuesById[8] = "RESUME"] = 8;\n values[valuesById[9] = "LEAVE"] = 9;\n values[valuesById[10] = "LEAVE_ACK"] = 10;\n values[valuesById[13] = "BITRATES"] = 13;\n values[valuesById[16] = "AUDIO_CONTROL"] = 16;\n values[valuesById[17] = "AUDIO_METADATA"] = 17;\n values[valuesById[18] = "AUDIO_STREAM_ID_INFO"] = 18;\n values[valuesById[19] = "PING_PONG"] = 19;\n values[valuesById[20] = "AUDIO_STATUS"] = 20;\n values[valuesById[21] = "CLIENT_METRIC"] = 21;\n values[valuesById[22] = "DATA_MESSAGE"] = 22;\n values[valuesById[24] = "REMOTE_VIDEO_UPDATE"] = 24;\n values[valuesById[25] = "PRIMARY_MEETING_JOIN"] = 25;\n values[valuesById[26] = "PRIMARY_MEETING_JOIN_ACK"] = 26;\n values[valuesById[27] = "PRIMARY_MEETING_LEAVE"] = 27;\n return values;\n })();\n\n return SdkSignalFrame;\n})();\n\n$root.SdkErrorFrame = (function() {\n\n /**\n * Properties of a SdkErrorFrame.\n * @exports ISdkErrorFrame\n * @interface ISdkErrorFrame\n * @property {number|null} [status] SdkErrorFrame status\n * @property {string|null} [description] SdkErrorFrame description\n */\n\n /**\n * Constructs a new SdkErrorFrame.\n * @exports SdkErrorFrame\n * @classdesc Represents a SdkErrorFrame.\n * @implements ISdkErrorFrame\n * @constructor\n * @param {ISdkErrorFrame=} [properties] Properties to set\n */\n function SdkErrorFrame(properties) {\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkErrorFrame status.\n * @member {number} status\n * @memberof SdkErrorFrame\n * @instance\n */\n SdkErrorFrame.prototype.status = 0;\n\n /**\n * SdkErrorFrame description.\n * @member {string} description\n * @memberof SdkErrorFrame\n * @instance\n */\n SdkErrorFrame.prototype.description = "";\n\n /**\n * Creates a new SdkErrorFrame instance using the specified properties.\n * @function create\n * @memberof SdkErrorFrame\n * @static\n * @param {ISdkErrorFrame=} [properties] Properties to set\n * @returns {SdkErrorFrame} SdkErrorFrame instance\n */\n SdkErrorFrame.create = function create(properties) {\n return new SdkErrorFrame(properties);\n };\n\n /**\n * Encodes the specified SdkErrorFrame message. Does not implicitly {@link SdkErrorFrame.verify|verify} messages.\n * @function encode\n * @memberof SdkErrorFrame\n * @static\n * @param {ISdkErrorFrame} message SdkErrorFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkErrorFrame.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.status != null && Object.hasOwnProperty.call(message, "status"))\n writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.status);\n if (message.description != null && Object.hasOwnProperty.call(message, "description"))\n writer.uint32(/* id 2, wireType 2 =*/18).string(message.description);\n return writer;\n };\n\n /**\n * Encodes the specified SdkErrorFrame message, length delimited. Does not implicitly {@link SdkErrorFrame.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkErrorFrame\n * @static\n * @param {ISdkErrorFrame} message SdkErrorFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkErrorFrame.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkErrorFrame message from the specified reader or buffer.\n * @function decode\n * @memberof SdkErrorFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkErrorFrame} SdkErrorFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkErrorFrame.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkErrorFrame();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.status = reader.uint32();\n break;\n case 2:\n message.description = reader.string();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkErrorFrame message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkErrorFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkErrorFrame} SdkErrorFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkErrorFrame.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkErrorFrame message.\n * @function verify\n * @memberof SdkErrorFrame\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkErrorFrame.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.status != null && message.hasOwnProperty("status"))\n if (!$util.isInteger(message.status))\n return "status: integer expected";\n if (message.description != null && message.hasOwnProperty("description"))\n if (!$util.isString(message.description))\n return "description: string expected";\n return null;\n };\n\n /**\n * Creates a SdkErrorFrame message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkErrorFrame\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkErrorFrame} SdkErrorFrame\n */\n SdkErrorFrame.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkErrorFrame)\n return object;\n var message = new $root.SdkErrorFrame();\n if (object.status != null)\n message.status = object.status >>> 0;\n if (object.description != null)\n message.description = String(object.description);\n return message;\n };\n\n /**\n * Creates a plain object from a SdkErrorFrame message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkErrorFrame\n * @static\n * @param {SdkErrorFrame} message SdkErrorFrame\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkErrorFrame.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.defaults) {\n object.status = 0;\n object.description = "";\n }\n if (message.status != null && message.hasOwnProperty("status"))\n object.status = message.status;\n if (message.description != null && message.hasOwnProperty("description"))\n object.description = message.description;\n return object;\n };\n\n /**\n * Converts this SdkErrorFrame to JSON.\n * @function toJSON\n * @memberof SdkErrorFrame\n * @instance\n * @returns {Object.} JSON object\n */\n SdkErrorFrame.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkErrorFrame;\n})();\n\n/**\n * SdkJoinFlags enum.\n * @exports SdkJoinFlags\n * @enum {number}\n * @property {number} HAS_STREAM_UPDATE=2 HAS_STREAM_UPDATE value\n * @property {number} COMPLETE_VIDEO_SOURCES_LIST=16 COMPLETE_VIDEO_SOURCES_LIST value\n * @property {number} EXCLUDE_SELF_CONTENT_IN_INDEX=32 EXCLUDE_SELF_CONTENT_IN_INDEX value\n */\n$root.SdkJoinFlags = (function() {\n var valuesById = {}, values = Object.create(valuesById);\n values[valuesById[2] = "HAS_STREAM_UPDATE"] = 2;\n values[valuesById[16] = "COMPLETE_VIDEO_SOURCES_LIST"] = 16;\n values[valuesById[32] = "EXCLUDE_SELF_CONTENT_IN_INDEX"] = 32;\n return values;\n})();\n\n$root.SdkClientDetails = (function() {\n\n /**\n * Properties of a SdkClientDetails.\n * @exports ISdkClientDetails\n * @interface ISdkClientDetails\n * @property {string|null} [appName] SdkClientDetails appName\n * @property {string|null} [appVersion] SdkClientDetails appVersion\n * @property {string|null} [deviceModel] SdkClientDetails deviceModel\n * @property {string|null} [deviceMake] SdkClientDetails deviceMake\n * @property {string|null} [platformName] SdkClientDetails platformName\n * @property {string|null} [platformVersion] SdkClientDetails platformVersion\n * @property {string|null} [clientSource] SdkClientDetails clientSource\n * @property {string|null} [chimeSdkVersion] SdkClientDetails chimeSdkVersion\n */\n\n /**\n * Constructs a new SdkClientDetails.\n * @exports SdkClientDetails\n * @classdesc Represents a SdkClientDetails.\n * @implements ISdkClientDetails\n * @constructor\n * @param {ISdkClientDetails=} [properties] Properties to set\n */\n function SdkClientDetails(properties) {\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkClientDetails appName.\n * @member {string} appName\n * @memberof SdkClientDetails\n * @instance\n */\n SdkClientDetails.prototype.appName = "";\n\n /**\n * SdkClientDetails appVersion.\n * @member {string} appVersion\n * @memberof SdkClientDetails\n * @instance\n */\n SdkClientDetails.prototype.appVersion = "";\n\n /**\n * SdkClientDetails deviceModel.\n * @member {string} deviceModel\n * @memberof SdkClientDetails\n * @instance\n */\n SdkClientDetails.prototype.deviceModel = "";\n\n /**\n * SdkClientDetails deviceMake.\n * @member {string} deviceMake\n * @memberof SdkClientDetails\n * @instance\n */\n SdkClientDetails.prototype.deviceMake = "";\n\n /**\n * SdkClientDetails platformName.\n * @member {string} platformName\n * @memberof SdkClientDetails\n * @instance\n */\n SdkClientDetails.prototype.platformName = "";\n\n /**\n * SdkClientDetails platformVersion.\n * @member {string} platformVersion\n * @memberof SdkClientDetails\n * @instance\n */\n SdkClientDetails.prototype.platformVersion = "";\n\n /**\n * SdkClientDetails clientSource.\n * @member {string} clientSource\n * @memberof SdkClientDetails\n * @instance\n */\n SdkClientDetails.prototype.clientSource = "";\n\n /**\n * SdkClientDetails chimeSdkVersion.\n * @member {string} chimeSdkVersion\n * @memberof SdkClientDetails\n * @instance\n */\n SdkClientDetails.prototype.chimeSdkVersion = "";\n\n /**\n * Creates a new SdkClientDetails instance using the specified properties.\n * @function create\n * @memberof SdkClientDetails\n * @static\n * @param {ISdkClientDetails=} [properties] Properties to set\n * @returns {SdkClientDetails} SdkClientDetails instance\n */\n SdkClientDetails.create = function create(properties) {\n return new SdkClientDetails(properties);\n };\n\n /**\n * Encodes the specified SdkClientDetails message. Does not implicitly {@link SdkClientDetails.verify|verify} messages.\n * @function encode\n * @memberof SdkClientDetails\n * @static\n * @param {ISdkClientDetails} message SdkClientDetails message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkClientDetails.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.appName != null && Object.hasOwnProperty.call(message, "appName"))\n writer.uint32(/* id 1, wireType 2 =*/10).string(message.appName);\n if (message.appVersion != null && Object.hasOwnProperty.call(message, "appVersion"))\n writer.uint32(/* id 2, wireType 2 =*/18).string(message.appVersion);\n if (message.deviceModel != null && Object.hasOwnProperty.call(message, "deviceModel"))\n writer.uint32(/* id 3, wireType 2 =*/26).string(message.deviceModel);\n if (message.deviceMake != null && Object.hasOwnProperty.call(message, "deviceMake"))\n writer.uint32(/* id 4, wireType 2 =*/34).string(message.deviceMake);\n if (message.platformName != null && Object.hasOwnProperty.call(message, "platformName"))\n writer.uint32(/* id 5, wireType 2 =*/42).string(message.platformName);\n if (message.platformVersion != null && Object.hasOwnProperty.call(message, "platformVersion"))\n writer.uint32(/* id 6, wireType 2 =*/50).string(message.platformVersion);\n if (message.clientSource != null && Object.hasOwnProperty.call(message, "clientSource"))\n writer.uint32(/* id 7, wireType 2 =*/58).string(message.clientSource);\n if (message.chimeSdkVersion != null && Object.hasOwnProperty.call(message, "chimeSdkVersion"))\n writer.uint32(/* id 8, wireType 2 =*/66).string(message.chimeSdkVersion);\n return writer;\n };\n\n /**\n * Encodes the specified SdkClientDetails message, length delimited. Does not implicitly {@link SdkClientDetails.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkClientDetails\n * @static\n * @param {ISdkClientDetails} message SdkClientDetails message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkClientDetails.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkClientDetails message from the specified reader or buffer.\n * @function decode\n * @memberof SdkClientDetails\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkClientDetails} SdkClientDetails\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkClientDetails.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkClientDetails();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.appName = reader.string();\n break;\n case 2:\n message.appVersion = reader.string();\n break;\n case 3:\n message.deviceModel = reader.string();\n break;\n case 4:\n message.deviceMake = reader.string();\n break;\n case 5:\n message.platformName = reader.string();\n break;\n case 6:\n message.platformVersion = reader.string();\n break;\n case 7:\n message.clientSource = reader.string();\n break;\n case 8:\n message.chimeSdkVersion = reader.string();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkClientDetails message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkClientDetails\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkClientDetails} SdkClientDetails\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkClientDetails.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkClientDetails message.\n * @function verify\n * @memberof SdkClientDetails\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkClientDetails.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.appName != null && message.hasOwnProperty("appName"))\n if (!$util.isString(message.appName))\n return "appName: string expected";\n if (message.appVersion != null && message.hasOwnProperty("appVersion"))\n if (!$util.isString(message.appVersion))\n return "appVersion: string expected";\n if (message.deviceModel != null && message.hasOwnProperty("deviceModel"))\n if (!$util.isString(message.deviceModel))\n return "deviceModel: string expected";\n if (message.deviceMake != null && message.hasOwnProperty("deviceMake"))\n if (!$util.isString(message.deviceMake))\n return "deviceMake: string expected";\n if (message.platformName != null && message.hasOwnProperty("platformName"))\n if (!$util.isString(message.platformName))\n return "platformName: string expected";\n if (message.platformVersion != null && message.hasOwnProperty("platformVersion"))\n if (!$util.isString(message.platformVersion))\n return "platformVersion: string expected";\n if (message.clientSource != null && message.hasOwnProperty("clientSource"))\n if (!$util.isString(message.clientSource))\n return "clientSource: string expected";\n if (message.chimeSdkVersion != null && message.hasOwnProperty("chimeSdkVersion"))\n if (!$util.isString(message.chimeSdkVersion))\n return "chimeSdkVersion: string expected";\n return null;\n };\n\n /**\n * Creates a SdkClientDetails message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkClientDetails\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkClientDetails} SdkClientDetails\n */\n SdkClientDetails.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkClientDetails)\n return object;\n var message = new $root.SdkClientDetails();\n if (object.appName != null)\n message.appName = String(object.appName);\n if (object.appVersion != null)\n message.appVersion = String(object.appVersion);\n if (object.deviceModel != null)\n message.deviceModel = String(object.deviceModel);\n if (object.deviceMake != null)\n message.deviceMake = String(object.deviceMake);\n if (object.platformName != null)\n message.platformName = String(object.platformName);\n if (object.platformVersion != null)\n message.platformVersion = String(object.platformVersion);\n if (object.clientSource != null)\n message.clientSource = String(object.clientSource);\n if (object.chimeSdkVersion != null)\n message.chimeSdkVersion = String(object.chimeSdkVersion);\n return message;\n };\n\n /**\n * Creates a plain object from a SdkClientDetails message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkClientDetails\n * @static\n * @param {SdkClientDetails} message SdkClientDetails\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkClientDetails.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.defaults) {\n object.appName = "";\n object.appVersion = "";\n object.deviceModel = "";\n object.deviceMake = "";\n object.platformName = "";\n object.platformVersion = "";\n object.clientSource = "";\n object.chimeSdkVersion = "";\n }\n if (message.appName != null && message.hasOwnProperty("appName"))\n object.appName = message.appName;\n if (message.appVersion != null && message.hasOwnProperty("appVersion"))\n object.appVersion = message.appVersion;\n if (message.deviceModel != null && message.hasOwnProperty("deviceModel"))\n object.deviceModel = message.deviceModel;\n if (message.deviceMake != null && message.hasOwnProperty("deviceMake"))\n object.deviceMake = message.deviceMake;\n if (message.platformName != null && message.hasOwnProperty("platformName"))\n object.platformName = message.platformName;\n if (message.platformVersion != null && message.hasOwnProperty("platformVersion"))\n object.platformVersion = message.platformVersion;\n if (message.clientSource != null && message.hasOwnProperty("clientSource"))\n object.clientSource = message.clientSource;\n if (message.chimeSdkVersion != null && message.hasOwnProperty("chimeSdkVersion"))\n object.chimeSdkVersion = message.chimeSdkVersion;\n return object;\n };\n\n /**\n * Converts this SdkClientDetails to JSON.\n * @function toJSON\n * @memberof SdkClientDetails\n * @instance\n * @returns {Object.} JSON object\n */\n SdkClientDetails.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkClientDetails;\n})();\n\n/**\n * SdkServerSideNetworkAdaption enum.\n * @exports SdkServerSideNetworkAdaption\n * @enum {number}\n * @property {number} DEFAULT=1 DEFAULT value\n * @property {number} NONE=2 NONE value\n * @property {number} BANDWIDTH_PROBING=3 BANDWIDTH_PROBING value\n */\n$root.SdkServerSideNetworkAdaption = (function() {\n var valuesById = {}, values = Object.create(valuesById);\n values[valuesById[1] = "DEFAULT"] = 1;\n values[valuesById[2] = "NONE"] = 2;\n values[valuesById[3] = "BANDWIDTH_PROBING"] = 3;\n return values;\n})();\n\n$root.SdkJoinFrame = (function() {\n\n /**\n * Properties of a SdkJoinFrame.\n * @exports ISdkJoinFrame\n * @interface ISdkJoinFrame\n * @property {number|null} [protocolVersion] SdkJoinFrame protocolVersion\n * @property {number|null} [maxNumOfVideos] SdkJoinFrame maxNumOfVideos\n * @property {number|null} [flags] SdkJoinFrame flags\n * @property {ISdkClientDetails|null} [clientDetails] SdkJoinFrame clientDetails\n * @property {number|Long|null} [audioSessionId] SdkJoinFrame audioSessionId\n * @property {boolean|null} [wantsCompressedSdp] SdkJoinFrame wantsCompressedSdp\n * @property {SdkServerSideNetworkAdaption|null} [serverSideNetworkAdaption] SdkJoinFrame serverSideNetworkAdaption\n * @property {Array.|null} [supportedServerSideNetworkAdaptions] SdkJoinFrame supportedServerSideNetworkAdaptions\n * @property {boolean|null} [disablePeriodicKeyframeRequestOnContentSender] SdkJoinFrame disablePeriodicKeyframeRequestOnContentSender\n */\n\n /**\n * Constructs a new SdkJoinFrame.\n * @exports SdkJoinFrame\n * @classdesc Represents a SdkJoinFrame.\n * @implements ISdkJoinFrame\n * @constructor\n * @param {ISdkJoinFrame=} [properties] Properties to set\n */\n function SdkJoinFrame(properties) {\n this.supportedServerSideNetworkAdaptions = [];\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkJoinFrame protocolVersion.\n * @member {number} protocolVersion\n * @memberof SdkJoinFrame\n * @instance\n */\n SdkJoinFrame.prototype.protocolVersion = 2;\n\n /**\n * SdkJoinFrame maxNumOfVideos.\n * @member {number} maxNumOfVideos\n * @memberof SdkJoinFrame\n * @instance\n */\n SdkJoinFrame.prototype.maxNumOfVideos = 0;\n\n /**\n * SdkJoinFrame flags.\n * @member {number} flags\n * @memberof SdkJoinFrame\n * @instance\n */\n SdkJoinFrame.prototype.flags = 0;\n\n /**\n * SdkJoinFrame clientDetails.\n * @member {ISdkClientDetails|null|undefined} clientDetails\n * @memberof SdkJoinFrame\n * @instance\n */\n SdkJoinFrame.prototype.clientDetails = null;\n\n /**\n * SdkJoinFrame audioSessionId.\n * @member {number|Long} audioSessionId\n * @memberof SdkJoinFrame\n * @instance\n */\n SdkJoinFrame.prototype.audioSessionId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;\n\n /**\n * SdkJoinFrame wantsCompressedSdp.\n * @member {boolean} wantsCompressedSdp\n * @memberof SdkJoinFrame\n * @instance\n */\n SdkJoinFrame.prototype.wantsCompressedSdp = false;\n\n /**\n * SdkJoinFrame serverSideNetworkAdaption.\n * @member {SdkServerSideNetworkAdaption} serverSideNetworkAdaption\n * @memberof SdkJoinFrame\n * @instance\n */\n SdkJoinFrame.prototype.serverSideNetworkAdaption = 1;\n\n /**\n * SdkJoinFrame supportedServerSideNetworkAdaptions.\n * @member {Array.} supportedServerSideNetworkAdaptions\n * @memberof SdkJoinFrame\n * @instance\n */\n SdkJoinFrame.prototype.supportedServerSideNetworkAdaptions = $util.emptyArray;\n\n /**\n * SdkJoinFrame disablePeriodicKeyframeRequestOnContentSender.\n * @member {boolean} disablePeriodicKeyframeRequestOnContentSender\n * @memberof SdkJoinFrame\n * @instance\n */\n SdkJoinFrame.prototype.disablePeriodicKeyframeRequestOnContentSender = false;\n\n /**\n * Creates a new SdkJoinFrame instance using the specified properties.\n * @function create\n * @memberof SdkJoinFrame\n * @static\n * @param {ISdkJoinFrame=} [properties] Properties to set\n * @returns {SdkJoinFrame} SdkJoinFrame instance\n */\n SdkJoinFrame.create = function create(properties) {\n return new SdkJoinFrame(properties);\n };\n\n /**\n * Encodes the specified SdkJoinFrame message. Does not implicitly {@link SdkJoinFrame.verify|verify} messages.\n * @function encode\n * @memberof SdkJoinFrame\n * @static\n * @param {ISdkJoinFrame} message SdkJoinFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkJoinFrame.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.protocolVersion != null && Object.hasOwnProperty.call(message, "protocolVersion"))\n writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.protocolVersion);\n if (message.maxNumOfVideos != null && Object.hasOwnProperty.call(message, "maxNumOfVideos"))\n writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.maxNumOfVideos);\n if (message.flags != null && Object.hasOwnProperty.call(message, "flags"))\n writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.flags);\n if (message.clientDetails != null && Object.hasOwnProperty.call(message, "clientDetails"))\n $root.SdkClientDetails.encode(message.clientDetails, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();\n if (message.audioSessionId != null && Object.hasOwnProperty.call(message, "audioSessionId"))\n writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.audioSessionId);\n if (message.wantsCompressedSdp != null && Object.hasOwnProperty.call(message, "wantsCompressedSdp"))\n writer.uint32(/* id 7, wireType 0 =*/56).bool(message.wantsCompressedSdp);\n if (message.serverSideNetworkAdaption != null && Object.hasOwnProperty.call(message, "serverSideNetworkAdaption"))\n writer.uint32(/* id 10, wireType 0 =*/80).int32(message.serverSideNetworkAdaption);\n if (message.supportedServerSideNetworkAdaptions != null && message.supportedServerSideNetworkAdaptions.length)\n for (var i = 0; i < message.supportedServerSideNetworkAdaptions.length; ++i)\n writer.uint32(/* id 11, wireType 0 =*/88).int32(message.supportedServerSideNetworkAdaptions[i]);\n if (message.disablePeriodicKeyframeRequestOnContentSender != null && Object.hasOwnProperty.call(message, "disablePeriodicKeyframeRequestOnContentSender"))\n writer.uint32(/* id 13, wireType 0 =*/104).bool(message.disablePeriodicKeyframeRequestOnContentSender);\n return writer;\n };\n\n /**\n * Encodes the specified SdkJoinFrame message, length delimited. Does not implicitly {@link SdkJoinFrame.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkJoinFrame\n * @static\n * @param {ISdkJoinFrame} message SdkJoinFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkJoinFrame.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkJoinFrame message from the specified reader or buffer.\n * @function decode\n * @memberof SdkJoinFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkJoinFrame} SdkJoinFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkJoinFrame.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkJoinFrame();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.protocolVersion = reader.uint32();\n break;\n case 2:\n message.maxNumOfVideos = reader.uint32();\n break;\n case 3:\n message.flags = reader.uint32();\n break;\n case 4:\n message.clientDetails = $root.SdkClientDetails.decode(reader, reader.uint32());\n break;\n case 6:\n message.audioSessionId = reader.uint64();\n break;\n case 7:\n message.wantsCompressedSdp = reader.bool();\n break;\n case 10:\n message.serverSideNetworkAdaption = reader.int32();\n break;\n case 11:\n if (!(message.supportedServerSideNetworkAdaptions && message.supportedServerSideNetworkAdaptions.length))\n message.supportedServerSideNetworkAdaptions = [];\n if ((tag & 7) === 2) {\n var end2 = reader.uint32() + reader.pos;\n while (reader.pos < end2)\n message.supportedServerSideNetworkAdaptions.push(reader.int32());\n } else\n message.supportedServerSideNetworkAdaptions.push(reader.int32());\n break;\n case 13:\n message.disablePeriodicKeyframeRequestOnContentSender = reader.bool();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkJoinFrame message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkJoinFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkJoinFrame} SdkJoinFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkJoinFrame.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkJoinFrame message.\n * @function verify\n * @memberof SdkJoinFrame\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkJoinFrame.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.protocolVersion != null && message.hasOwnProperty("protocolVersion"))\n if (!$util.isInteger(message.protocolVersion))\n return "protocolVersion: integer expected";\n if (message.maxNumOfVideos != null && message.hasOwnProperty("maxNumOfVideos"))\n if (!$util.isInteger(message.maxNumOfVideos))\n return "maxNumOfVideos: integer expected";\n if (message.flags != null && message.hasOwnProperty("flags"))\n if (!$util.isInteger(message.flags))\n return "flags: integer expected";\n if (message.clientDetails != null && message.hasOwnProperty("clientDetails")) {\n var error = $root.SdkClientDetails.verify(message.clientDetails);\n if (error)\n return "clientDetails." + error;\n }\n if (message.audioSessionId != null && message.hasOwnProperty("audioSessionId"))\n if (!$util.isInteger(message.audioSessionId) && !(message.audioSessionId && $util.isInteger(message.audioSessionId.low) && $util.isInteger(message.audioSessionId.high)))\n return "audioSessionId: integer|Long expected";\n if (message.wantsCompressedSdp != null && message.hasOwnProperty("wantsCompressedSdp"))\n if (typeof message.wantsCompressedSdp !== "boolean")\n return "wantsCompressedSdp: boolean expected";\n if (message.serverSideNetworkAdaption != null && message.hasOwnProperty("serverSideNetworkAdaption"))\n switch (message.serverSideNetworkAdaption) {\n default:\n return "serverSideNetworkAdaption: enum value expected";\n case 1:\n case 2:\n case 3:\n break;\n }\n if (message.supportedServerSideNetworkAdaptions != null && message.hasOwnProperty("supportedServerSideNetworkAdaptions")) {\n if (!Array.isArray(message.supportedServerSideNetworkAdaptions))\n return "supportedServerSideNetworkAdaptions: array expected";\n for (var i = 0; i < message.supportedServerSideNetworkAdaptions.length; ++i)\n switch (message.supportedServerSideNetworkAdaptions[i]) {\n default:\n return "supportedServerSideNetworkAdaptions: enum value[] expected";\n case 1:\n case 2:\n case 3:\n break;\n }\n }\n if (message.disablePeriodicKeyframeRequestOnContentSender != null && message.hasOwnProperty("disablePeriodicKeyframeRequestOnContentSender"))\n if (typeof message.disablePeriodicKeyframeRequestOnContentSender !== "boolean")\n return "disablePeriodicKeyframeRequestOnContentSender: boolean expected";\n return null;\n };\n\n /**\n * Creates a SdkJoinFrame message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkJoinFrame\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkJoinFrame} SdkJoinFrame\n */\n SdkJoinFrame.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkJoinFrame)\n return object;\n var message = new $root.SdkJoinFrame();\n if (object.protocolVersion != null)\n message.protocolVersion = object.protocolVersion >>> 0;\n if (object.maxNumOfVideos != null)\n message.maxNumOfVideos = object.maxNumOfVideos >>> 0;\n if (object.flags != null)\n message.flags = object.flags >>> 0;\n if (object.clientDetails != null) {\n if (typeof object.clientDetails !== "object")\n throw TypeError(".SdkJoinFrame.clientDetails: object expected");\n message.clientDetails = $root.SdkClientDetails.fromObject(object.clientDetails);\n }\n if (object.audioSessionId != null)\n if ($util.Long)\n (message.audioSessionId = $util.Long.fromValue(object.audioSessionId)).unsigned = true;\n else if (typeof object.audioSessionId === "string")\n message.audioSessionId = parseInt(object.audioSessionId, 10);\n else if (typeof object.audioSessionId === "number")\n message.audioSessionId = object.audioSessionId;\n else if (typeof object.audioSessionId === "object")\n message.audioSessionId = new $util.LongBits(object.audioSessionId.low >>> 0, object.audioSessionId.high >>> 0).toNumber(true);\n if (object.wantsCompressedSdp != null)\n message.wantsCompressedSdp = Boolean(object.wantsCompressedSdp);\n switch (object.serverSideNetworkAdaption) {\n case "DEFAULT":\n case 1:\n message.serverSideNetworkAdaption = 1;\n break;\n case "NONE":\n case 2:\n message.serverSideNetworkAdaption = 2;\n break;\n case "BANDWIDTH_PROBING":\n case 3:\n message.serverSideNetworkAdaption = 3;\n break;\n }\n if (object.supportedServerSideNetworkAdaptions) {\n if (!Array.isArray(object.supportedServerSideNetworkAdaptions))\n throw TypeError(".SdkJoinFrame.supportedServerSideNetworkAdaptions: array expected");\n message.supportedServerSideNetworkAdaptions = [];\n for (var i = 0; i < object.supportedServerSideNetworkAdaptions.length; ++i)\n switch (object.supportedServerSideNetworkAdaptions[i]) {\n default:\n case "DEFAULT":\n case 1:\n message.supportedServerSideNetworkAdaptions[i] = 1;\n break;\n case "NONE":\n case 2:\n message.supportedServerSideNetworkAdaptions[i] = 2;\n break;\n case "BANDWIDTH_PROBING":\n case 3:\n message.supportedServerSideNetworkAdaptions[i] = 3;\n break;\n }\n }\n if (object.disablePeriodicKeyframeRequestOnContentSender != null)\n message.disablePeriodicKeyframeRequestOnContentSender = Boolean(object.disablePeriodicKeyframeRequestOnContentSender);\n return message;\n };\n\n /**\n * Creates a plain object from a SdkJoinFrame message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkJoinFrame\n * @static\n * @param {SdkJoinFrame} message SdkJoinFrame\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkJoinFrame.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.arrays || options.defaults)\n object.supportedServerSideNetworkAdaptions = [];\n if (options.defaults) {\n object.protocolVersion = 2;\n object.maxNumOfVideos = 0;\n object.flags = 0;\n object.clientDetails = null;\n if ($util.Long) {\n var long = new $util.Long(0, 0, true);\n object.audioSessionId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;\n } else\n object.audioSessionId = options.longs === String ? "0" : 0;\n object.wantsCompressedSdp = false;\n object.serverSideNetworkAdaption = options.enums === String ? "DEFAULT" : 1;\n object.disablePeriodicKeyframeRequestOnContentSender = false;\n }\n if (message.protocolVersion != null && message.hasOwnProperty("protocolVersion"))\n object.protocolVersion = message.protocolVersion;\n if (message.maxNumOfVideos != null && message.hasOwnProperty("maxNumOfVideos"))\n object.maxNumOfVideos = message.maxNumOfVideos;\n if (message.flags != null && message.hasOwnProperty("flags"))\n object.flags = message.flags;\n if (message.clientDetails != null && message.hasOwnProperty("clientDetails"))\n object.clientDetails = $root.SdkClientDetails.toObject(message.clientDetails, options);\n if (message.audioSessionId != null && message.hasOwnProperty("audioSessionId"))\n if (typeof message.audioSessionId === "number")\n object.audioSessionId = options.longs === String ? String(message.audioSessionId) : message.audioSessionId;\n else\n object.audioSessionId = options.longs === String ? $util.Long.prototype.toString.call(message.audioSessionId) : options.longs === Number ? new $util.LongBits(message.audioSessionId.low >>> 0, message.audioSessionId.high >>> 0).toNumber(true) : message.audioSessionId;\n if (message.wantsCompressedSdp != null && message.hasOwnProperty("wantsCompressedSdp"))\n object.wantsCompressedSdp = message.wantsCompressedSdp;\n if (message.serverSideNetworkAdaption != null && message.hasOwnProperty("serverSideNetworkAdaption"))\n object.serverSideNetworkAdaption = options.enums === String ? $root.SdkServerSideNetworkAdaption[message.serverSideNetworkAdaption] : message.serverSideNetworkAdaption;\n if (message.supportedServerSideNetworkAdaptions && message.supportedServerSideNetworkAdaptions.length) {\n object.supportedServerSideNetworkAdaptions = [];\n for (var j = 0; j < message.supportedServerSideNetworkAdaptions.length; ++j)\n object.supportedServerSideNetworkAdaptions[j] = options.enums === String ? $root.SdkServerSideNetworkAdaption[message.supportedServerSideNetworkAdaptions[j]] : message.supportedServerSideNetworkAdaptions[j];\n }\n if (message.disablePeriodicKeyframeRequestOnContentSender != null && message.hasOwnProperty("disablePeriodicKeyframeRequestOnContentSender"))\n object.disablePeriodicKeyframeRequestOnContentSender = message.disablePeriodicKeyframeRequestOnContentSender;\n return object;\n };\n\n /**\n * Converts this SdkJoinFrame to JSON.\n * @function toJSON\n * @memberof SdkJoinFrame\n * @instance\n * @returns {Object.} JSON object\n */\n SdkJoinFrame.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkJoinFrame;\n})();\n\n$root.SdkJoinAckFrame = (function() {\n\n /**\n * Properties of a SdkJoinAckFrame.\n * @exports ISdkJoinAckFrame\n * @interface ISdkJoinAckFrame\n * @property {ISdkTurnCredentials|null} [turnCredentials] SdkJoinAckFrame turnCredentials\n * @property {number|null} [videoSubscriptionLimit] SdkJoinAckFrame videoSubscriptionLimit\n * @property {boolean|null} [wantsCompressedSdp] SdkJoinAckFrame wantsCompressedSdp\n * @property {SdkServerSideNetworkAdaption|null} [defaultServerSideNetworkAdaption] SdkJoinAckFrame defaultServerSideNetworkAdaption\n */\n\n /**\n * Constructs a new SdkJoinAckFrame.\n * @exports SdkJoinAckFrame\n * @classdesc Represents a SdkJoinAckFrame.\n * @implements ISdkJoinAckFrame\n * @constructor\n * @param {ISdkJoinAckFrame=} [properties] Properties to set\n */\n function SdkJoinAckFrame(properties) {\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkJoinAckFrame turnCredentials.\n * @member {ISdkTurnCredentials|null|undefined} turnCredentials\n * @memberof SdkJoinAckFrame\n * @instance\n */\n SdkJoinAckFrame.prototype.turnCredentials = null;\n\n /**\n * SdkJoinAckFrame videoSubscriptionLimit.\n * @member {number} videoSubscriptionLimit\n * @memberof SdkJoinAckFrame\n * @instance\n */\n SdkJoinAckFrame.prototype.videoSubscriptionLimit = 0;\n\n /**\n * SdkJoinAckFrame wantsCompressedSdp.\n * @member {boolean} wantsCompressedSdp\n * @memberof SdkJoinAckFrame\n * @instance\n */\n SdkJoinAckFrame.prototype.wantsCompressedSdp = false;\n\n /**\n * SdkJoinAckFrame defaultServerSideNetworkAdaption.\n * @member {SdkServerSideNetworkAdaption} defaultServerSideNetworkAdaption\n * @memberof SdkJoinAckFrame\n * @instance\n */\n SdkJoinAckFrame.prototype.defaultServerSideNetworkAdaption = 1;\n\n /**\n * Creates a new SdkJoinAckFrame instance using the specified properties.\n * @function create\n * @memberof SdkJoinAckFrame\n * @static\n * @param {ISdkJoinAckFrame=} [properties] Properties to set\n * @returns {SdkJoinAckFrame} SdkJoinAckFrame instance\n */\n SdkJoinAckFrame.create = function create(properties) {\n return new SdkJoinAckFrame(properties);\n };\n\n /**\n * Encodes the specified SdkJoinAckFrame message. Does not implicitly {@link SdkJoinAckFrame.verify|verify} messages.\n * @function encode\n * @memberof SdkJoinAckFrame\n * @static\n * @param {ISdkJoinAckFrame} message SdkJoinAckFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkJoinAckFrame.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.turnCredentials != null && Object.hasOwnProperty.call(message, "turnCredentials"))\n $root.SdkTurnCredentials.encode(message.turnCredentials, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();\n if (message.videoSubscriptionLimit != null && Object.hasOwnProperty.call(message, "videoSubscriptionLimit"))\n writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.videoSubscriptionLimit);\n if (message.wantsCompressedSdp != null && Object.hasOwnProperty.call(message, "wantsCompressedSdp"))\n writer.uint32(/* id 3, wireType 0 =*/24).bool(message.wantsCompressedSdp);\n if (message.defaultServerSideNetworkAdaption != null && Object.hasOwnProperty.call(message, "defaultServerSideNetworkAdaption"))\n writer.uint32(/* id 4, wireType 0 =*/32).int32(message.defaultServerSideNetworkAdaption);\n return writer;\n };\n\n /**\n * Encodes the specified SdkJoinAckFrame message, length delimited. Does not implicitly {@link SdkJoinAckFrame.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkJoinAckFrame\n * @static\n * @param {ISdkJoinAckFrame} message SdkJoinAckFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkJoinAckFrame.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkJoinAckFrame message from the specified reader or buffer.\n * @function decode\n * @memberof SdkJoinAckFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkJoinAckFrame} SdkJoinAckFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkJoinAckFrame.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkJoinAckFrame();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.turnCredentials = $root.SdkTurnCredentials.decode(reader, reader.uint32());\n break;\n case 2:\n message.videoSubscriptionLimit = reader.uint32();\n break;\n case 3:\n message.wantsCompressedSdp = reader.bool();\n break;\n case 4:\n message.defaultServerSideNetworkAdaption = reader.int32();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkJoinAckFrame message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkJoinAckFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkJoinAckFrame} SdkJoinAckFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkJoinAckFrame.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkJoinAckFrame message.\n * @function verify\n * @memberof SdkJoinAckFrame\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkJoinAckFrame.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.turnCredentials != null && message.hasOwnProperty("turnCredentials")) {\n var error = $root.SdkTurnCredentials.verify(message.turnCredentials);\n if (error)\n return "turnCredentials." + error;\n }\n if (message.videoSubscriptionLimit != null && message.hasOwnProperty("videoSubscriptionLimit"))\n if (!$util.isInteger(message.videoSubscriptionLimit))\n return "videoSubscriptionLimit: integer expected";\n if (message.wantsCompressedSdp != null && message.hasOwnProperty("wantsCompressedSdp"))\n if (typeof message.wantsCompressedSdp !== "boolean")\n return "wantsCompressedSdp: boolean expected";\n if (message.defaultServerSideNetworkAdaption != null && message.hasOwnProperty("defaultServerSideNetworkAdaption"))\n switch (message.defaultServerSideNetworkAdaption) {\n default:\n return "defaultServerSideNetworkAdaption: enum value expected";\n case 1:\n case 2:\n case 3:\n break;\n }\n return null;\n };\n\n /**\n * Creates a SdkJoinAckFrame message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkJoinAckFrame\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkJoinAckFrame} SdkJoinAckFrame\n */\n SdkJoinAckFrame.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkJoinAckFrame)\n return object;\n var message = new $root.SdkJoinAckFrame();\n if (object.turnCredentials != null) {\n if (typeof object.turnCredentials !== "object")\n throw TypeError(".SdkJoinAckFrame.turnCredentials: object expected");\n message.turnCredentials = $root.SdkTurnCredentials.fromObject(object.turnCredentials);\n }\n if (object.videoSubscriptionLimit != null)\n message.videoSubscriptionLimit = object.videoSubscriptionLimit >>> 0;\n if (object.wantsCompressedSdp != null)\n message.wantsCompressedSdp = Boolean(object.wantsCompressedSdp);\n switch (object.defaultServerSideNetworkAdaption) {\n case "DEFAULT":\n case 1:\n message.defaultServerSideNetworkAdaption = 1;\n break;\n case "NONE":\n case 2:\n message.defaultServerSideNetworkAdaption = 2;\n break;\n case "BANDWIDTH_PROBING":\n case 3:\n message.defaultServerSideNetworkAdaption = 3;\n break;\n }\n return message;\n };\n\n /**\n * Creates a plain object from a SdkJoinAckFrame message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkJoinAckFrame\n * @static\n * @param {SdkJoinAckFrame} message SdkJoinAckFrame\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkJoinAckFrame.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.defaults) {\n object.turnCredentials = null;\n object.videoSubscriptionLimit = 0;\n object.wantsCompressedSdp = false;\n object.defaultServerSideNetworkAdaption = options.enums === String ? "DEFAULT" : 1;\n }\n if (message.turnCredentials != null && message.hasOwnProperty("turnCredentials"))\n object.turnCredentials = $root.SdkTurnCredentials.toObject(message.turnCredentials, options);\n if (message.videoSubscriptionLimit != null && message.hasOwnProperty("videoSubscriptionLimit"))\n object.videoSubscriptionLimit = message.videoSubscriptionLimit;\n if (message.wantsCompressedSdp != null && message.hasOwnProperty("wantsCompressedSdp"))\n object.wantsCompressedSdp = message.wantsCompressedSdp;\n if (message.defaultServerSideNetworkAdaption != null && message.hasOwnProperty("defaultServerSideNetworkAdaption"))\n object.defaultServerSideNetworkAdaption = options.enums === String ? $root.SdkServerSideNetworkAdaption[message.defaultServerSideNetworkAdaption] : message.defaultServerSideNetworkAdaption;\n return object;\n };\n\n /**\n * Converts this SdkJoinAckFrame to JSON.\n * @function toJSON\n * @memberof SdkJoinAckFrame\n * @instance\n * @returns {Object.} JSON object\n */\n SdkJoinAckFrame.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkJoinAckFrame;\n})();\n\n$root.SdkLeaveFrame = (function() {\n\n /**\n * Properties of a SdkLeaveFrame.\n * @exports ISdkLeaveFrame\n * @interface ISdkLeaveFrame\n */\n\n /**\n * Constructs a new SdkLeaveFrame.\n * @exports SdkLeaveFrame\n * @classdesc Represents a SdkLeaveFrame.\n * @implements ISdkLeaveFrame\n * @constructor\n * @param {ISdkLeaveFrame=} [properties] Properties to set\n */\n function SdkLeaveFrame(properties) {\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * Creates a new SdkLeaveFrame instance using the specified properties.\n * @function create\n * @memberof SdkLeaveFrame\n * @static\n * @param {ISdkLeaveFrame=} [properties] Properties to set\n * @returns {SdkLeaveFrame} SdkLeaveFrame instance\n */\n SdkLeaveFrame.create = function create(properties) {\n return new SdkLeaveFrame(properties);\n };\n\n /**\n * Encodes the specified SdkLeaveFrame message. Does not implicitly {@link SdkLeaveFrame.verify|verify} messages.\n * @function encode\n * @memberof SdkLeaveFrame\n * @static\n * @param {ISdkLeaveFrame} message SdkLeaveFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkLeaveFrame.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n return writer;\n };\n\n /**\n * Encodes the specified SdkLeaveFrame message, length delimited. Does not implicitly {@link SdkLeaveFrame.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkLeaveFrame\n * @static\n * @param {ISdkLeaveFrame} message SdkLeaveFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkLeaveFrame.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkLeaveFrame message from the specified reader or buffer.\n * @function decode\n * @memberof SdkLeaveFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkLeaveFrame} SdkLeaveFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkLeaveFrame.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkLeaveFrame();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkLeaveFrame message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkLeaveFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkLeaveFrame} SdkLeaveFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkLeaveFrame.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkLeaveFrame message.\n * @function verify\n * @memberof SdkLeaveFrame\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkLeaveFrame.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n return null;\n };\n\n /**\n * Creates a SdkLeaveFrame message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkLeaveFrame\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkLeaveFrame} SdkLeaveFrame\n */\n SdkLeaveFrame.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkLeaveFrame)\n return object;\n return new $root.SdkLeaveFrame();\n };\n\n /**\n * Creates a plain object from a SdkLeaveFrame message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkLeaveFrame\n * @static\n * @param {SdkLeaveFrame} message SdkLeaveFrame\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkLeaveFrame.toObject = function toObject() {\n return {};\n };\n\n /**\n * Converts this SdkLeaveFrame to JSON.\n * @function toJSON\n * @memberof SdkLeaveFrame\n * @instance\n * @returns {Object.} JSON object\n */\n SdkLeaveFrame.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkLeaveFrame;\n})();\n\n$root.SdkLeaveAckFrame = (function() {\n\n /**\n * Properties of a SdkLeaveAckFrame.\n * @exports ISdkLeaveAckFrame\n * @interface ISdkLeaveAckFrame\n */\n\n /**\n * Constructs a new SdkLeaveAckFrame.\n * @exports SdkLeaveAckFrame\n * @classdesc Represents a SdkLeaveAckFrame.\n * @implements ISdkLeaveAckFrame\n * @constructor\n * @param {ISdkLeaveAckFrame=} [properties] Properties to set\n */\n function SdkLeaveAckFrame(properties) {\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * Creates a new SdkLeaveAckFrame instance using the specified properties.\n * @function create\n * @memberof SdkLeaveAckFrame\n * @static\n * @param {ISdkLeaveAckFrame=} [properties] Properties to set\n * @returns {SdkLeaveAckFrame} SdkLeaveAckFrame instance\n */\n SdkLeaveAckFrame.create = function create(properties) {\n return new SdkLeaveAckFrame(properties);\n };\n\n /**\n * Encodes the specified SdkLeaveAckFrame message. Does not implicitly {@link SdkLeaveAckFrame.verify|verify} messages.\n * @function encode\n * @memberof SdkLeaveAckFrame\n * @static\n * @param {ISdkLeaveAckFrame} message SdkLeaveAckFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkLeaveAckFrame.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n return writer;\n };\n\n /**\n * Encodes the specified SdkLeaveAckFrame message, length delimited. Does not implicitly {@link SdkLeaveAckFrame.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkLeaveAckFrame\n * @static\n * @param {ISdkLeaveAckFrame} message SdkLeaveAckFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkLeaveAckFrame.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkLeaveAckFrame message from the specified reader or buffer.\n * @function decode\n * @memberof SdkLeaveAckFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkLeaveAckFrame} SdkLeaveAckFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkLeaveAckFrame.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkLeaveAckFrame();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkLeaveAckFrame message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkLeaveAckFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkLeaveAckFrame} SdkLeaveAckFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkLeaveAckFrame.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkLeaveAckFrame message.\n * @function verify\n * @memberof SdkLeaveAckFrame\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkLeaveAckFrame.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n return null;\n };\n\n /**\n * Creates a SdkLeaveAckFrame message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkLeaveAckFrame\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkLeaveAckFrame} SdkLeaveAckFrame\n */\n SdkLeaveAckFrame.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkLeaveAckFrame)\n return object;\n return new $root.SdkLeaveAckFrame();\n };\n\n /**\n * Creates a plain object from a SdkLeaveAckFrame message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkLeaveAckFrame\n * @static\n * @param {SdkLeaveAckFrame} message SdkLeaveAckFrame\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkLeaveAckFrame.toObject = function toObject() {\n return {};\n };\n\n /**\n * Converts this SdkLeaveAckFrame to JSON.\n * @function toJSON\n * @memberof SdkLeaveAckFrame\n * @instance\n * @returns {Object.} JSON object\n */\n SdkLeaveAckFrame.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkLeaveAckFrame;\n})();\n\n/**\n * SdkStreamServiceType enum.\n * @exports SdkStreamServiceType\n * @enum {number}\n * @property {number} RX=1 RX value\n * @property {number} TX=2 TX value\n * @property {number} DUPLEX=3 DUPLEX value\n */\n$root.SdkStreamServiceType = (function() {\n var valuesById = {}, values = Object.create(valuesById);\n values[valuesById[1] = "RX"] = 1;\n values[valuesById[2] = "TX"] = 2;\n values[valuesById[3] = "DUPLEX"] = 3;\n return values;\n})();\n\n/**\n * SdkStreamMediaType enum.\n * @exports SdkStreamMediaType\n * @enum {number}\n * @property {number} AUDIO=1 AUDIO value\n * @property {number} VIDEO=2 VIDEO value\n */\n$root.SdkStreamMediaType = (function() {\n var valuesById = {}, values = Object.create(valuesById);\n values[valuesById[1] = "AUDIO"] = 1;\n values[valuesById[2] = "VIDEO"] = 2;\n return values;\n})();\n\n$root.SdkSubscribeFrame = (function() {\n\n /**\n * Properties of a SdkSubscribeFrame.\n * @exports ISdkSubscribeFrame\n * @interface ISdkSubscribeFrame\n * @property {SdkStreamServiceType|null} [duplex] SdkSubscribeFrame duplex\n * @property {Array.|null} [sendStreams] SdkSubscribeFrame sendStreams\n * @property {Array.|null} [receiveStreamIds] SdkSubscribeFrame receiveStreamIds\n * @property {string|null} [sdpOffer] SdkSubscribeFrame sdpOffer\n * @property {string|null} [audioHost] SdkSubscribeFrame audioHost\n * @property {boolean|null} [audioCheckin] SdkSubscribeFrame audioCheckin\n * @property {boolean|null} [audioMuted] SdkSubscribeFrame audioMuted\n * @property {Uint8Array|null} [compressedSdpOffer] SdkSubscribeFrame compressedSdpOffer\n * @property {Array.|null} [videoSubscriptionConfiguration] SdkSubscribeFrame videoSubscriptionConfiguration\n */\n\n /**\n * Constructs a new SdkSubscribeFrame.\n * @exports SdkSubscribeFrame\n * @classdesc Represents a SdkSubscribeFrame.\n * @implements ISdkSubscribeFrame\n * @constructor\n * @param {ISdkSubscribeFrame=} [properties] Properties to set\n */\n function SdkSubscribeFrame(properties) {\n this.sendStreams = [];\n this.receiveStreamIds = [];\n this.videoSubscriptionConfiguration = [];\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkSubscribeFrame duplex.\n * @member {SdkStreamServiceType} duplex\n * @memberof SdkSubscribeFrame\n * @instance\n */\n SdkSubscribeFrame.prototype.duplex = 1;\n\n /**\n * SdkSubscribeFrame sendStreams.\n * @member {Array.} sendStreams\n * @memberof SdkSubscribeFrame\n * @instance\n */\n SdkSubscribeFrame.prototype.sendStreams = $util.emptyArray;\n\n /**\n * SdkSubscribeFrame receiveStreamIds.\n * @member {Array.} receiveStreamIds\n * @memberof SdkSubscribeFrame\n * @instance\n */\n SdkSubscribeFrame.prototype.receiveStreamIds = $util.emptyArray;\n\n /**\n * SdkSubscribeFrame sdpOffer.\n * @member {string} sdpOffer\n * @memberof SdkSubscribeFrame\n * @instance\n */\n SdkSubscribeFrame.prototype.sdpOffer = "";\n\n /**\n * SdkSubscribeFrame audioHost.\n * @member {string} audioHost\n * @memberof SdkSubscribeFrame\n * @instance\n */\n SdkSubscribeFrame.prototype.audioHost = "";\n\n /**\n * SdkSubscribeFrame audioCheckin.\n * @member {boolean} audioCheckin\n * @memberof SdkSubscribeFrame\n * @instance\n */\n SdkSubscribeFrame.prototype.audioCheckin = false;\n\n /**\n * SdkSubscribeFrame audioMuted.\n * @member {boolean} audioMuted\n * @memberof SdkSubscribeFrame\n * @instance\n */\n SdkSubscribeFrame.prototype.audioMuted = false;\n\n /**\n * SdkSubscribeFrame compressedSdpOffer.\n * @member {Uint8Array} compressedSdpOffer\n * @memberof SdkSubscribeFrame\n * @instance\n */\n SdkSubscribeFrame.prototype.compressedSdpOffer = $util.newBuffer([]);\n\n /**\n * SdkSubscribeFrame videoSubscriptionConfiguration.\n * @member {Array.} videoSubscriptionConfiguration\n * @memberof SdkSubscribeFrame\n * @instance\n */\n SdkSubscribeFrame.prototype.videoSubscriptionConfiguration = $util.emptyArray;\n\n /**\n * Creates a new SdkSubscribeFrame instance using the specified properties.\n * @function create\n * @memberof SdkSubscribeFrame\n * @static\n * @param {ISdkSubscribeFrame=} [properties] Properties to set\n * @returns {SdkSubscribeFrame} SdkSubscribeFrame instance\n */\n SdkSubscribeFrame.create = function create(properties) {\n return new SdkSubscribeFrame(properties);\n };\n\n /**\n * Encodes the specified SdkSubscribeFrame message. Does not implicitly {@link SdkSubscribeFrame.verify|verify} messages.\n * @function encode\n * @memberof SdkSubscribeFrame\n * @static\n * @param {ISdkSubscribeFrame} message SdkSubscribeFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkSubscribeFrame.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.duplex != null && Object.hasOwnProperty.call(message, "duplex"))\n writer.uint32(/* id 1, wireType 0 =*/8).int32(message.duplex);\n if (message.sendStreams != null && message.sendStreams.length)\n for (var i = 0; i < message.sendStreams.length; ++i)\n $root.SdkStreamDescriptor.encode(message.sendStreams[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();\n if (message.receiveStreamIds != null && message.receiveStreamIds.length)\n for (var i = 0; i < message.receiveStreamIds.length; ++i)\n writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.receiveStreamIds[i]);\n if (message.sdpOffer != null && Object.hasOwnProperty.call(message, "sdpOffer"))\n writer.uint32(/* id 4, wireType 2 =*/34).string(message.sdpOffer);\n if (message.audioHost != null && Object.hasOwnProperty.call(message, "audioHost"))\n writer.uint32(/* id 5, wireType 2 =*/42).string(message.audioHost);\n if (message.audioCheckin != null && Object.hasOwnProperty.call(message, "audioCheckin"))\n writer.uint32(/* id 6, wireType 0 =*/48).bool(message.audioCheckin);\n if (message.audioMuted != null && Object.hasOwnProperty.call(message, "audioMuted"))\n writer.uint32(/* id 7, wireType 0 =*/56).bool(message.audioMuted);\n if (message.compressedSdpOffer != null && Object.hasOwnProperty.call(message, "compressedSdpOffer"))\n writer.uint32(/* id 8, wireType 2 =*/66).bytes(message.compressedSdpOffer);\n if (message.videoSubscriptionConfiguration != null && message.videoSubscriptionConfiguration.length)\n for (var i = 0; i < message.videoSubscriptionConfiguration.length; ++i)\n $root.SdkVideoSubscriptionConfiguration.encode(message.videoSubscriptionConfiguration[i], writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();\n return writer;\n };\n\n /**\n * Encodes the specified SdkSubscribeFrame message, length delimited. Does not implicitly {@link SdkSubscribeFrame.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkSubscribeFrame\n * @static\n * @param {ISdkSubscribeFrame} message SdkSubscribeFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkSubscribeFrame.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkSubscribeFrame message from the specified reader or buffer.\n * @function decode\n * @memberof SdkSubscribeFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkSubscribeFrame} SdkSubscribeFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkSubscribeFrame.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkSubscribeFrame();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.duplex = reader.int32();\n break;\n case 2:\n if (!(message.sendStreams && message.sendStreams.length))\n message.sendStreams = [];\n message.sendStreams.push($root.SdkStreamDescriptor.decode(reader, reader.uint32()));\n break;\n case 3:\n if (!(message.receiveStreamIds && message.receiveStreamIds.length))\n message.receiveStreamIds = [];\n if ((tag & 7) === 2) {\n var end2 = reader.uint32() + reader.pos;\n while (reader.pos < end2)\n message.receiveStreamIds.push(reader.uint32());\n } else\n message.receiveStreamIds.push(reader.uint32());\n break;\n case 4:\n message.sdpOffer = reader.string();\n break;\n case 5:\n message.audioHost = reader.string();\n break;\n case 6:\n message.audioCheckin = reader.bool();\n break;\n case 7:\n message.audioMuted = reader.bool();\n break;\n case 8:\n message.compressedSdpOffer = reader.bytes();\n break;\n case 9:\n if (!(message.videoSubscriptionConfiguration && message.videoSubscriptionConfiguration.length))\n message.videoSubscriptionConfiguration = [];\n message.videoSubscriptionConfiguration.push($root.SdkVideoSubscriptionConfiguration.decode(reader, reader.uint32()));\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkSubscribeFrame message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkSubscribeFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkSubscribeFrame} SdkSubscribeFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkSubscribeFrame.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkSubscribeFrame message.\n * @function verify\n * @memberof SdkSubscribeFrame\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkSubscribeFrame.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.duplex != null && message.hasOwnProperty("duplex"))\n switch (message.duplex) {\n default:\n return "duplex: enum value expected";\n case 1:\n case 2:\n case 3:\n break;\n }\n if (message.sendStreams != null && message.hasOwnProperty("sendStreams")) {\n if (!Array.isArray(message.sendStreams))\n return "sendStreams: array expected";\n for (var i = 0; i < message.sendStreams.length; ++i) {\n var error = $root.SdkStreamDescriptor.verify(message.sendStreams[i]);\n if (error)\n return "sendStreams." + error;\n }\n }\n if (message.receiveStreamIds != null && message.hasOwnProperty("receiveStreamIds")) {\n if (!Array.isArray(message.receiveStreamIds))\n return "receiveStreamIds: array expected";\n for (var i = 0; i < message.receiveStreamIds.length; ++i)\n if (!$util.isInteger(message.receiveStreamIds[i]))\n return "receiveStreamIds: integer[] expected";\n }\n if (message.sdpOffer != null && message.hasOwnProperty("sdpOffer"))\n if (!$util.isString(message.sdpOffer))\n return "sdpOffer: string expected";\n if (message.audioHost != null && message.hasOwnProperty("audioHost"))\n if (!$util.isString(message.audioHost))\n return "audioHost: string expected";\n if (message.audioCheckin != null && message.hasOwnProperty("audioCheckin"))\n if (typeof message.audioCheckin !== "boolean")\n return "audioCheckin: boolean expected";\n if (message.audioMuted != null && message.hasOwnProperty("audioMuted"))\n if (typeof message.audioMuted !== "boolean")\n return "audioMuted: boolean expected";\n if (message.compressedSdpOffer != null && message.hasOwnProperty("compressedSdpOffer"))\n if (!(message.compressedSdpOffer && typeof message.compressedSdpOffer.length === "number" || $util.isString(message.compressedSdpOffer)))\n return "compressedSdpOffer: buffer expected";\n if (message.videoSubscriptionConfiguration != null && message.hasOwnProperty("videoSubscriptionConfiguration")) {\n if (!Array.isArray(message.videoSubscriptionConfiguration))\n return "videoSubscriptionConfiguration: array expected";\n for (var i = 0; i < message.videoSubscriptionConfiguration.length; ++i) {\n var error = $root.SdkVideoSubscriptionConfiguration.verify(message.videoSubscriptionConfiguration[i]);\n if (error)\n return "videoSubscriptionConfiguration." + error;\n }\n }\n return null;\n };\n\n /**\n * Creates a SdkSubscribeFrame message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkSubscribeFrame\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkSubscribeFrame} SdkSubscribeFrame\n */\n SdkSubscribeFrame.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkSubscribeFrame)\n return object;\n var message = new $root.SdkSubscribeFrame();\n switch (object.duplex) {\n case "RX":\n case 1:\n message.duplex = 1;\n break;\n case "TX":\n case 2:\n message.duplex = 2;\n break;\n case "DUPLEX":\n case 3:\n message.duplex = 3;\n break;\n }\n if (object.sendStreams) {\n if (!Array.isArray(object.sendStreams))\n throw TypeError(".SdkSubscribeFrame.sendStreams: array expected");\n message.sendStreams = [];\n for (var i = 0; i < object.sendStreams.length; ++i) {\n if (typeof object.sendStreams[i] !== "object")\n throw TypeError(".SdkSubscribeFrame.sendStreams: object expected");\n message.sendStreams[i] = $root.SdkStreamDescriptor.fromObject(object.sendStreams[i]);\n }\n }\n if (object.receiveStreamIds) {\n if (!Array.isArray(object.receiveStreamIds))\n throw TypeError(".SdkSubscribeFrame.receiveStreamIds: array expected");\n message.receiveStreamIds = [];\n for (var i = 0; i < object.receiveStreamIds.length; ++i)\n message.receiveStreamIds[i] = object.receiveStreamIds[i] >>> 0;\n }\n if (object.sdpOffer != null)\n message.sdpOffer = String(object.sdpOffer);\n if (object.audioHost != null)\n message.audioHost = String(object.audioHost);\n if (object.audioCheckin != null)\n message.audioCheckin = Boolean(object.audioCheckin);\n if (object.audioMuted != null)\n message.audioMuted = Boolean(object.audioMuted);\n if (object.compressedSdpOffer != null)\n if (typeof object.compressedSdpOffer === "string")\n $util.base64.decode(object.compressedSdpOffer, message.compressedSdpOffer = $util.newBuffer($util.base64.length(object.compressedSdpOffer)), 0);\n else if (object.compressedSdpOffer.length)\n message.compressedSdpOffer = object.compressedSdpOffer;\n if (object.videoSubscriptionConfiguration) {\n if (!Array.isArray(object.videoSubscriptionConfiguration))\n throw TypeError(".SdkSubscribeFrame.videoSubscriptionConfiguration: array expected");\n message.videoSubscriptionConfiguration = [];\n for (var i = 0; i < object.videoSubscriptionConfiguration.length; ++i) {\n if (typeof object.videoSubscriptionConfiguration[i] !== "object")\n throw TypeError(".SdkSubscribeFrame.videoSubscriptionConfiguration: object expected");\n message.videoSubscriptionConfiguration[i] = $root.SdkVideoSubscriptionConfiguration.fromObject(object.videoSubscriptionConfiguration[i]);\n }\n }\n return message;\n };\n\n /**\n * Creates a plain object from a SdkSubscribeFrame message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkSubscribeFrame\n * @static\n * @param {SdkSubscribeFrame} message SdkSubscribeFrame\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkSubscribeFrame.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.arrays || options.defaults) {\n object.sendStreams = [];\n object.receiveStreamIds = [];\n object.videoSubscriptionConfiguration = [];\n }\n if (options.defaults) {\n object.duplex = options.enums === String ? "RX" : 1;\n object.sdpOffer = "";\n object.audioHost = "";\n object.audioCheckin = false;\n object.audioMuted = false;\n if (options.bytes === String)\n object.compressedSdpOffer = "";\n else {\n object.compressedSdpOffer = [];\n if (options.bytes !== Array)\n object.compressedSdpOffer = $util.newBuffer(object.compressedSdpOffer);\n }\n }\n if (message.duplex != null && message.hasOwnProperty("duplex"))\n object.duplex = options.enums === String ? $root.SdkStreamServiceType[message.duplex] : message.duplex;\n if (message.sendStreams && message.sendStreams.length) {\n object.sendStreams = [];\n for (var j = 0; j < message.sendStreams.length; ++j)\n object.sendStreams[j] = $root.SdkStreamDescriptor.toObject(message.sendStreams[j], options);\n }\n if (message.receiveStreamIds && message.receiveStreamIds.length) {\n object.receiveStreamIds = [];\n for (var j = 0; j < message.receiveStreamIds.length; ++j)\n object.receiveStreamIds[j] = message.receiveStreamIds[j];\n }\n if (message.sdpOffer != null && message.hasOwnProperty("sdpOffer"))\n object.sdpOffer = message.sdpOffer;\n if (message.audioHost != null && message.hasOwnProperty("audioHost"))\n object.audioHost = message.audioHost;\n if (message.audioCheckin != null && message.hasOwnProperty("audioCheckin"))\n object.audioCheckin = message.audioCheckin;\n if (message.audioMuted != null && message.hasOwnProperty("audioMuted"))\n object.audioMuted = message.audioMuted;\n if (message.compressedSdpOffer != null && message.hasOwnProperty("compressedSdpOffer"))\n object.compressedSdpOffer = options.bytes === String ? $util.base64.encode(message.compressedSdpOffer, 0, message.compressedSdpOffer.length) : options.bytes === Array ? Array.prototype.slice.call(message.compressedSdpOffer) : message.compressedSdpOffer;\n if (message.videoSubscriptionConfiguration && message.videoSubscriptionConfiguration.length) {\n object.videoSubscriptionConfiguration = [];\n for (var j = 0; j < message.videoSubscriptionConfiguration.length; ++j)\n object.videoSubscriptionConfiguration[j] = $root.SdkVideoSubscriptionConfiguration.toObject(message.videoSubscriptionConfiguration[j], options);\n }\n return object;\n };\n\n /**\n * Converts this SdkSubscribeFrame to JSON.\n * @function toJSON\n * @memberof SdkSubscribeFrame\n * @instance\n * @returns {Object.} JSON object\n */\n SdkSubscribeFrame.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkSubscribeFrame;\n})();\n\n$root.SdkSubscribeAckFrame = (function() {\n\n /**\n * Properties of a SdkSubscribeAckFrame.\n * @exports ISdkSubscribeAckFrame\n * @interface ISdkSubscribeAckFrame\n * @property {SdkStreamServiceType|null} [duplex] SdkSubscribeAckFrame duplex\n * @property {Array.|null} [allocations] SdkSubscribeAckFrame allocations\n * @property {string|null} [sdpAnswer] SdkSubscribeAckFrame sdpAnswer\n * @property {Array.|null} [tracks] SdkSubscribeAckFrame tracks\n * @property {Uint8Array|null} [compressedSdpAnswer] SdkSubscribeAckFrame compressedSdpAnswer\n */\n\n /**\n * Constructs a new SdkSubscribeAckFrame.\n * @exports SdkSubscribeAckFrame\n * @classdesc Represents a SdkSubscribeAckFrame.\n * @implements ISdkSubscribeAckFrame\n * @constructor\n * @param {ISdkSubscribeAckFrame=} [properties] Properties to set\n */\n function SdkSubscribeAckFrame(properties) {\n this.allocations = [];\n this.tracks = [];\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkSubscribeAckFrame duplex.\n * @member {SdkStreamServiceType} duplex\n * @memberof SdkSubscribeAckFrame\n * @instance\n */\n SdkSubscribeAckFrame.prototype.duplex = 1;\n\n /**\n * SdkSubscribeAckFrame allocations.\n * @member {Array.} allocations\n * @memberof SdkSubscribeAckFrame\n * @instance\n */\n SdkSubscribeAckFrame.prototype.allocations = $util.emptyArray;\n\n /**\n * SdkSubscribeAckFrame sdpAnswer.\n * @member {string} sdpAnswer\n * @memberof SdkSubscribeAckFrame\n * @instance\n */\n SdkSubscribeAckFrame.prototype.sdpAnswer = "";\n\n /**\n * SdkSubscribeAckFrame tracks.\n * @member {Array.} tracks\n * @memberof SdkSubscribeAckFrame\n * @instance\n */\n SdkSubscribeAckFrame.prototype.tracks = $util.emptyArray;\n\n /**\n * SdkSubscribeAckFrame compressedSdpAnswer.\n * @member {Uint8Array} compressedSdpAnswer\n * @memberof SdkSubscribeAckFrame\n * @instance\n */\n SdkSubscribeAckFrame.prototype.compressedSdpAnswer = $util.newBuffer([]);\n\n /**\n * Creates a new SdkSubscribeAckFrame instance using the specified properties.\n * @function create\n * @memberof SdkSubscribeAckFrame\n * @static\n * @param {ISdkSubscribeAckFrame=} [properties] Properties to set\n * @returns {SdkSubscribeAckFrame} SdkSubscribeAckFrame instance\n */\n SdkSubscribeAckFrame.create = function create(properties) {\n return new SdkSubscribeAckFrame(properties);\n };\n\n /**\n * Encodes the specified SdkSubscribeAckFrame message. Does not implicitly {@link SdkSubscribeAckFrame.verify|verify} messages.\n * @function encode\n * @memberof SdkSubscribeAckFrame\n * @static\n * @param {ISdkSubscribeAckFrame} message SdkSubscribeAckFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkSubscribeAckFrame.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.duplex != null && Object.hasOwnProperty.call(message, "duplex"))\n writer.uint32(/* id 1, wireType 0 =*/8).int32(message.duplex);\n if (message.allocations != null && message.allocations.length)\n for (var i = 0; i < message.allocations.length; ++i)\n $root.SdkStreamAllocation.encode(message.allocations[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();\n if (message.sdpAnswer != null && Object.hasOwnProperty.call(message, "sdpAnswer"))\n writer.uint32(/* id 3, wireType 2 =*/26).string(message.sdpAnswer);\n if (message.tracks != null && message.tracks.length)\n for (var i = 0; i < message.tracks.length; ++i)\n $root.SdkTrackMapping.encode(message.tracks[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();\n if (message.compressedSdpAnswer != null && Object.hasOwnProperty.call(message, "compressedSdpAnswer"))\n writer.uint32(/* id 5, wireType 2 =*/42).bytes(message.compressedSdpAnswer);\n return writer;\n };\n\n /**\n * Encodes the specified SdkSubscribeAckFrame message, length delimited. Does not implicitly {@link SdkSubscribeAckFrame.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkSubscribeAckFrame\n * @static\n * @param {ISdkSubscribeAckFrame} message SdkSubscribeAckFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkSubscribeAckFrame.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkSubscribeAckFrame message from the specified reader or buffer.\n * @function decode\n * @memberof SdkSubscribeAckFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkSubscribeAckFrame} SdkSubscribeAckFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkSubscribeAckFrame.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkSubscribeAckFrame();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.duplex = reader.int32();\n break;\n case 2:\n if (!(message.allocations && message.allocations.length))\n message.allocations = [];\n message.allocations.push($root.SdkStreamAllocation.decode(reader, reader.uint32()));\n break;\n case 3:\n message.sdpAnswer = reader.string();\n break;\n case 4:\n if (!(message.tracks && message.tracks.length))\n message.tracks = [];\n message.tracks.push($root.SdkTrackMapping.decode(reader, reader.uint32()));\n break;\n case 5:\n message.compressedSdpAnswer = reader.bytes();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkSubscribeAckFrame message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkSubscribeAckFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkSubscribeAckFrame} SdkSubscribeAckFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkSubscribeAckFrame.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkSubscribeAckFrame message.\n * @function verify\n * @memberof SdkSubscribeAckFrame\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkSubscribeAckFrame.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.duplex != null && message.hasOwnProperty("duplex"))\n switch (message.duplex) {\n default:\n return "duplex: enum value expected";\n case 1:\n case 2:\n case 3:\n break;\n }\n if (message.allocations != null && message.hasOwnProperty("allocations")) {\n if (!Array.isArray(message.allocations))\n return "allocations: array expected";\n for (var i = 0; i < message.allocations.length; ++i) {\n var error = $root.SdkStreamAllocation.verify(message.allocations[i]);\n if (error)\n return "allocations." + error;\n }\n }\n if (message.sdpAnswer != null && message.hasOwnProperty("sdpAnswer"))\n if (!$util.isString(message.sdpAnswer))\n return "sdpAnswer: string expected";\n if (message.tracks != null && message.hasOwnProperty("tracks")) {\n if (!Array.isArray(message.tracks))\n return "tracks: array expected";\n for (var i = 0; i < message.tracks.length; ++i) {\n var error = $root.SdkTrackMapping.verify(message.tracks[i]);\n if (error)\n return "tracks." + error;\n }\n }\n if (message.compressedSdpAnswer != null && message.hasOwnProperty("compressedSdpAnswer"))\n if (!(message.compressedSdpAnswer && typeof message.compressedSdpAnswer.length === "number" || $util.isString(message.compressedSdpAnswer)))\n return "compressedSdpAnswer: buffer expected";\n return null;\n };\n\n /**\n * Creates a SdkSubscribeAckFrame message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkSubscribeAckFrame\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkSubscribeAckFrame} SdkSubscribeAckFrame\n */\n SdkSubscribeAckFrame.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkSubscribeAckFrame)\n return object;\n var message = new $root.SdkSubscribeAckFrame();\n switch (object.duplex) {\n case "RX":\n case 1:\n message.duplex = 1;\n break;\n case "TX":\n case 2:\n message.duplex = 2;\n break;\n case "DUPLEX":\n case 3:\n message.duplex = 3;\n break;\n }\n if (object.allocations) {\n if (!Array.isArray(object.allocations))\n throw TypeError(".SdkSubscribeAckFrame.allocations: array expected");\n message.allocations = [];\n for (var i = 0; i < object.allocations.length; ++i) {\n if (typeof object.allocations[i] !== "object")\n throw TypeError(".SdkSubscribeAckFrame.allocations: object expected");\n message.allocations[i] = $root.SdkStreamAllocation.fromObject(object.allocations[i]);\n }\n }\n if (object.sdpAnswer != null)\n message.sdpAnswer = String(object.sdpAnswer);\n if (object.tracks) {\n if (!Array.isArray(object.tracks))\n throw TypeError(".SdkSubscribeAckFrame.tracks: array expected");\n message.tracks = [];\n for (var i = 0; i < object.tracks.length; ++i) {\n if (typeof object.tracks[i] !== "object")\n throw TypeError(".SdkSubscribeAckFrame.tracks: object expected");\n message.tracks[i] = $root.SdkTrackMapping.fromObject(object.tracks[i]);\n }\n }\n if (object.compressedSdpAnswer != null)\n if (typeof object.compressedSdpAnswer === "string")\n $util.base64.decode(object.compressedSdpAnswer, message.compressedSdpAnswer = $util.newBuffer($util.base64.length(object.compressedSdpAnswer)), 0);\n else if (object.compressedSdpAnswer.length)\n message.compressedSdpAnswer = object.compressedSdpAnswer;\n return message;\n };\n\n /**\n * Creates a plain object from a SdkSubscribeAckFrame message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkSubscribeAckFrame\n * @static\n * @param {SdkSubscribeAckFrame} message SdkSubscribeAckFrame\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkSubscribeAckFrame.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.arrays || options.defaults) {\n object.allocations = [];\n object.tracks = [];\n }\n if (options.defaults) {\n object.duplex = options.enums === String ? "RX" : 1;\n object.sdpAnswer = "";\n if (options.bytes === String)\n object.compressedSdpAnswer = "";\n else {\n object.compressedSdpAnswer = [];\n if (options.bytes !== Array)\n object.compressedSdpAnswer = $util.newBuffer(object.compressedSdpAnswer);\n }\n }\n if (message.duplex != null && message.hasOwnProperty("duplex"))\n object.duplex = options.enums === String ? $root.SdkStreamServiceType[message.duplex] : message.duplex;\n if (message.allocations && message.allocations.length) {\n object.allocations = [];\n for (var j = 0; j < message.allocations.length; ++j)\n object.allocations[j] = $root.SdkStreamAllocation.toObject(message.allocations[j], options);\n }\n if (message.sdpAnswer != null && message.hasOwnProperty("sdpAnswer"))\n object.sdpAnswer = message.sdpAnswer;\n if (message.tracks && message.tracks.length) {\n object.tracks = [];\n for (var j = 0; j < message.tracks.length; ++j)\n object.tracks[j] = $root.SdkTrackMapping.toObject(message.tracks[j], options);\n }\n if (message.compressedSdpAnswer != null && message.hasOwnProperty("compressedSdpAnswer"))\n object.compressedSdpAnswer = options.bytes === String ? $util.base64.encode(message.compressedSdpAnswer, 0, message.compressedSdpAnswer.length) : options.bytes === Array ? Array.prototype.slice.call(message.compressedSdpAnswer) : message.compressedSdpAnswer;\n return object;\n };\n\n /**\n * Converts this SdkSubscribeAckFrame to JSON.\n * @function toJSON\n * @memberof SdkSubscribeAckFrame\n * @instance\n * @returns {Object.} JSON object\n */\n SdkSubscribeAckFrame.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkSubscribeAckFrame;\n})();\n\n$root.SdkIndexFrame = (function() {\n\n /**\n * Properties of a SdkIndexFrame.\n * @exports ISdkIndexFrame\n * @interface ISdkIndexFrame\n * @property {boolean|null} [atCapacity] SdkIndexFrame atCapacity\n * @property {Array.|null} [sources] SdkIndexFrame sources\n * @property {Array.|null} [pausedAtSourceIds] SdkIndexFrame pausedAtSourceIds\n * @property {number|null} [numParticipants] SdkIndexFrame numParticipants\n * @property {Array.|null} [supportedReceiveCodecIntersection] SdkIndexFrame supportedReceiveCodecIntersection\n */\n\n /**\n * Constructs a new SdkIndexFrame.\n * @exports SdkIndexFrame\n * @classdesc Represents a SdkIndexFrame.\n * @implements ISdkIndexFrame\n * @constructor\n * @param {ISdkIndexFrame=} [properties] Properties to set\n */\n function SdkIndexFrame(properties) {\n this.sources = [];\n this.pausedAtSourceIds = [];\n this.supportedReceiveCodecIntersection = [];\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkIndexFrame atCapacity.\n * @member {boolean} atCapacity\n * @memberof SdkIndexFrame\n * @instance\n */\n SdkIndexFrame.prototype.atCapacity = false;\n\n /**\n * SdkIndexFrame sources.\n * @member {Array.} sources\n * @memberof SdkIndexFrame\n * @instance\n */\n SdkIndexFrame.prototype.sources = $util.emptyArray;\n\n /**\n * SdkIndexFrame pausedAtSourceIds.\n * @member {Array.} pausedAtSourceIds\n * @memberof SdkIndexFrame\n * @instance\n */\n SdkIndexFrame.prototype.pausedAtSourceIds = $util.emptyArray;\n\n /**\n * SdkIndexFrame numParticipants.\n * @member {number} numParticipants\n * @memberof SdkIndexFrame\n * @instance\n */\n SdkIndexFrame.prototype.numParticipants = 0;\n\n /**\n * SdkIndexFrame supportedReceiveCodecIntersection.\n * @member {Array.} supportedReceiveCodecIntersection\n * @memberof SdkIndexFrame\n * @instance\n */\n SdkIndexFrame.prototype.supportedReceiveCodecIntersection = $util.emptyArray;\n\n /**\n * Creates a new SdkIndexFrame instance using the specified properties.\n * @function create\n * @memberof SdkIndexFrame\n * @static\n * @param {ISdkIndexFrame=} [properties] Properties to set\n * @returns {SdkIndexFrame} SdkIndexFrame instance\n */\n SdkIndexFrame.create = function create(properties) {\n return new SdkIndexFrame(properties);\n };\n\n /**\n * Encodes the specified SdkIndexFrame message. Does not implicitly {@link SdkIndexFrame.verify|verify} messages.\n * @function encode\n * @memberof SdkIndexFrame\n * @static\n * @param {ISdkIndexFrame} message SdkIndexFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkIndexFrame.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.atCapacity != null && Object.hasOwnProperty.call(message, "atCapacity"))\n writer.uint32(/* id 1, wireType 0 =*/8).bool(message.atCapacity);\n if (message.sources != null && message.sources.length)\n for (var i = 0; i < message.sources.length; ++i)\n $root.SdkStreamDescriptor.encode(message.sources[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();\n if (message.pausedAtSourceIds != null && message.pausedAtSourceIds.length)\n for (var i = 0; i < message.pausedAtSourceIds.length; ++i)\n writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.pausedAtSourceIds[i]);\n if (message.numParticipants != null && Object.hasOwnProperty.call(message, "numParticipants"))\n writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.numParticipants);\n if (message.supportedReceiveCodecIntersection != null && message.supportedReceiveCodecIntersection.length)\n for (var i = 0; i < message.supportedReceiveCodecIntersection.length; ++i)\n writer.uint32(/* id 5, wireType 0 =*/40).int32(message.supportedReceiveCodecIntersection[i]);\n return writer;\n };\n\n /**\n * Encodes the specified SdkIndexFrame message, length delimited. Does not implicitly {@link SdkIndexFrame.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkIndexFrame\n * @static\n * @param {ISdkIndexFrame} message SdkIndexFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkIndexFrame.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkIndexFrame message from the specified reader or buffer.\n * @function decode\n * @memberof SdkIndexFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkIndexFrame} SdkIndexFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkIndexFrame.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkIndexFrame();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.atCapacity = reader.bool();\n break;\n case 2:\n if (!(message.sources && message.sources.length))\n message.sources = [];\n message.sources.push($root.SdkStreamDescriptor.decode(reader, reader.uint32()));\n break;\n case 3:\n if (!(message.pausedAtSourceIds && message.pausedAtSourceIds.length))\n message.pausedAtSourceIds = [];\n if ((tag & 7) === 2) {\n var end2 = reader.uint32() + reader.pos;\n while (reader.pos < end2)\n message.pausedAtSourceIds.push(reader.uint32());\n } else\n message.pausedAtSourceIds.push(reader.uint32());\n break;\n case 4:\n message.numParticipants = reader.uint32();\n break;\n case 5:\n if (!(message.supportedReceiveCodecIntersection && message.supportedReceiveCodecIntersection.length))\n message.supportedReceiveCodecIntersection = [];\n if ((tag & 7) === 2) {\n var end2 = reader.uint32() + reader.pos;\n while (reader.pos < end2)\n message.supportedReceiveCodecIntersection.push(reader.int32());\n } else\n message.supportedReceiveCodecIntersection.push(reader.int32());\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkIndexFrame message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkIndexFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkIndexFrame} SdkIndexFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkIndexFrame.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkIndexFrame message.\n * @function verify\n * @memberof SdkIndexFrame\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkIndexFrame.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.atCapacity != null && message.hasOwnProperty("atCapacity"))\n if (typeof message.atCapacity !== "boolean")\n return "atCapacity: boolean expected";\n if (message.sources != null && message.hasOwnProperty("sources")) {\n if (!Array.isArray(message.sources))\n return "sources: array expected";\n for (var i = 0; i < message.sources.length; ++i) {\n var error = $root.SdkStreamDescriptor.verify(message.sources[i]);\n if (error)\n return "sources." + error;\n }\n }\n if (message.pausedAtSourceIds != null && message.hasOwnProperty("pausedAtSourceIds")) {\n if (!Array.isArray(message.pausedAtSourceIds))\n return "pausedAtSourceIds: array expected";\n for (var i = 0; i < message.pausedAtSourceIds.length; ++i)\n if (!$util.isInteger(message.pausedAtSourceIds[i]))\n return "pausedAtSourceIds: integer[] expected";\n }\n if (message.numParticipants != null && message.hasOwnProperty("numParticipants"))\n if (!$util.isInteger(message.numParticipants))\n return "numParticipants: integer expected";\n if (message.supportedReceiveCodecIntersection != null && message.hasOwnProperty("supportedReceiveCodecIntersection")) {\n if (!Array.isArray(message.supportedReceiveCodecIntersection))\n return "supportedReceiveCodecIntersection: array expected";\n for (var i = 0; i < message.supportedReceiveCodecIntersection.length; ++i)\n switch (message.supportedReceiveCodecIntersection[i]) {\n default:\n return "supportedReceiveCodecIntersection: enum value[] expected";\n case 1:\n case 3:\n break;\n }\n }\n return null;\n };\n\n /**\n * Creates a SdkIndexFrame message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkIndexFrame\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkIndexFrame} SdkIndexFrame\n */\n SdkIndexFrame.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkIndexFrame)\n return object;\n var message = new $root.SdkIndexFrame();\n if (object.atCapacity != null)\n message.atCapacity = Boolean(object.atCapacity);\n if (object.sources) {\n if (!Array.isArray(object.sources))\n throw TypeError(".SdkIndexFrame.sources: array expected");\n message.sources = [];\n for (var i = 0; i < object.sources.length; ++i) {\n if (typeof object.sources[i] !== "object")\n throw TypeError(".SdkIndexFrame.sources: object expected");\n message.sources[i] = $root.SdkStreamDescriptor.fromObject(object.sources[i]);\n }\n }\n if (object.pausedAtSourceIds) {\n if (!Array.isArray(object.pausedAtSourceIds))\n throw TypeError(".SdkIndexFrame.pausedAtSourceIds: array expected");\n message.pausedAtSourceIds = [];\n for (var i = 0; i < object.pausedAtSourceIds.length; ++i)\n message.pausedAtSourceIds[i] = object.pausedAtSourceIds[i] >>> 0;\n }\n if (object.numParticipants != null)\n message.numParticipants = object.numParticipants >>> 0;\n if (object.supportedReceiveCodecIntersection) {\n if (!Array.isArray(object.supportedReceiveCodecIntersection))\n throw TypeError(".SdkIndexFrame.supportedReceiveCodecIntersection: array expected");\n message.supportedReceiveCodecIntersection = [];\n for (var i = 0; i < object.supportedReceiveCodecIntersection.length; ++i)\n switch (object.supportedReceiveCodecIntersection[i]) {\n default:\n case "VP8":\n case 1:\n message.supportedReceiveCodecIntersection[i] = 1;\n break;\n case "H264_CONSTRAINED_BASELINE_PROFILE":\n case 3:\n message.supportedReceiveCodecIntersection[i] = 3;\n break;\n }\n }\n return message;\n };\n\n /**\n * Creates a plain object from a SdkIndexFrame message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkIndexFrame\n * @static\n * @param {SdkIndexFrame} message SdkIndexFrame\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkIndexFrame.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.arrays || options.defaults) {\n object.sources = [];\n object.pausedAtSourceIds = [];\n object.supportedReceiveCodecIntersection = [];\n }\n if (options.defaults) {\n object.atCapacity = false;\n object.numParticipants = 0;\n }\n if (message.atCapacity != null && message.hasOwnProperty("atCapacity"))\n object.atCapacity = message.atCapacity;\n if (message.sources && message.sources.length) {\n object.sources = [];\n for (var j = 0; j < message.sources.length; ++j)\n object.sources[j] = $root.SdkStreamDescriptor.toObject(message.sources[j], options);\n }\n if (message.pausedAtSourceIds && message.pausedAtSourceIds.length) {\n object.pausedAtSourceIds = [];\n for (var j = 0; j < message.pausedAtSourceIds.length; ++j)\n object.pausedAtSourceIds[j] = message.pausedAtSourceIds[j];\n }\n if (message.numParticipants != null && message.hasOwnProperty("numParticipants"))\n object.numParticipants = message.numParticipants;\n if (message.supportedReceiveCodecIntersection && message.supportedReceiveCodecIntersection.length) {\n object.supportedReceiveCodecIntersection = [];\n for (var j = 0; j < message.supportedReceiveCodecIntersection.length; ++j)\n object.supportedReceiveCodecIntersection[j] = options.enums === String ? $root.SdkVideoCodecCapability[message.supportedReceiveCodecIntersection[j]] : message.supportedReceiveCodecIntersection[j];\n }\n return object;\n };\n\n /**\n * Converts this SdkIndexFrame to JSON.\n * @function toJSON\n * @memberof SdkIndexFrame\n * @instance\n * @returns {Object.} JSON object\n */\n SdkIndexFrame.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkIndexFrame;\n})();\n\n$root.SdkPauseResumeFrame = (function() {\n\n /**\n * Properties of a SdkPauseResumeFrame.\n * @exports ISdkPauseResumeFrame\n * @interface ISdkPauseResumeFrame\n * @property {Array.|null} [streamIds] SdkPauseResumeFrame streamIds\n * @property {Array.|null} [groupIds] SdkPauseResumeFrame groupIds\n */\n\n /**\n * Constructs a new SdkPauseResumeFrame.\n * @exports SdkPauseResumeFrame\n * @classdesc Represents a SdkPauseResumeFrame.\n * @implements ISdkPauseResumeFrame\n * @constructor\n * @param {ISdkPauseResumeFrame=} [properties] Properties to set\n */\n function SdkPauseResumeFrame(properties) {\n this.streamIds = [];\n this.groupIds = [];\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkPauseResumeFrame streamIds.\n * @member {Array.} streamIds\n * @memberof SdkPauseResumeFrame\n * @instance\n */\n SdkPauseResumeFrame.prototype.streamIds = $util.emptyArray;\n\n /**\n * SdkPauseResumeFrame groupIds.\n * @member {Array.} groupIds\n * @memberof SdkPauseResumeFrame\n * @instance\n */\n SdkPauseResumeFrame.prototype.groupIds = $util.emptyArray;\n\n /**\n * Creates a new SdkPauseResumeFrame instance using the specified properties.\n * @function create\n * @memberof SdkPauseResumeFrame\n * @static\n * @param {ISdkPauseResumeFrame=} [properties] Properties to set\n * @returns {SdkPauseResumeFrame} SdkPauseResumeFrame instance\n */\n SdkPauseResumeFrame.create = function create(properties) {\n return new SdkPauseResumeFrame(properties);\n };\n\n /**\n * Encodes the specified SdkPauseResumeFrame message. Does not implicitly {@link SdkPauseResumeFrame.verify|verify} messages.\n * @function encode\n * @memberof SdkPauseResumeFrame\n * @static\n * @param {ISdkPauseResumeFrame} message SdkPauseResumeFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkPauseResumeFrame.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.streamIds != null && message.streamIds.length)\n for (var i = 0; i < message.streamIds.length; ++i)\n writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.streamIds[i]);\n if (message.groupIds != null && message.groupIds.length)\n for (var i = 0; i < message.groupIds.length; ++i)\n writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.groupIds[i]);\n return writer;\n };\n\n /**\n * Encodes the specified SdkPauseResumeFrame message, length delimited. Does not implicitly {@link SdkPauseResumeFrame.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkPauseResumeFrame\n * @static\n * @param {ISdkPauseResumeFrame} message SdkPauseResumeFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkPauseResumeFrame.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkPauseResumeFrame message from the specified reader or buffer.\n * @function decode\n * @memberof SdkPauseResumeFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkPauseResumeFrame} SdkPauseResumeFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkPauseResumeFrame.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkPauseResumeFrame();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (!(message.streamIds && message.streamIds.length))\n message.streamIds = [];\n if ((tag & 7) === 2) {\n var end2 = reader.uint32() + reader.pos;\n while (reader.pos < end2)\n message.streamIds.push(reader.uint32());\n } else\n message.streamIds.push(reader.uint32());\n break;\n case 2:\n if (!(message.groupIds && message.groupIds.length))\n message.groupIds = [];\n if ((tag & 7) === 2) {\n var end2 = reader.uint32() + reader.pos;\n while (reader.pos < end2)\n message.groupIds.push(reader.uint32());\n } else\n message.groupIds.push(reader.uint32());\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkPauseResumeFrame message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkPauseResumeFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkPauseResumeFrame} SdkPauseResumeFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkPauseResumeFrame.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkPauseResumeFrame message.\n * @function verify\n * @memberof SdkPauseResumeFrame\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkPauseResumeFrame.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.streamIds != null && message.hasOwnProperty("streamIds")) {\n if (!Array.isArray(message.streamIds))\n return "streamIds: array expected";\n for (var i = 0; i < message.streamIds.length; ++i)\n if (!$util.isInteger(message.streamIds[i]))\n return "streamIds: integer[] expected";\n }\n if (message.groupIds != null && message.hasOwnProperty("groupIds")) {\n if (!Array.isArray(message.groupIds))\n return "groupIds: array expected";\n for (var i = 0; i < message.groupIds.length; ++i)\n if (!$util.isInteger(message.groupIds[i]))\n return "groupIds: integer[] expected";\n }\n return null;\n };\n\n /**\n * Creates a SdkPauseResumeFrame message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkPauseResumeFrame\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkPauseResumeFrame} SdkPauseResumeFrame\n */\n SdkPauseResumeFrame.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkPauseResumeFrame)\n return object;\n var message = new $root.SdkPauseResumeFrame();\n if (object.streamIds) {\n if (!Array.isArray(object.streamIds))\n throw TypeError(".SdkPauseResumeFrame.streamIds: array expected");\n message.streamIds = [];\n for (var i = 0; i < object.streamIds.length; ++i)\n message.streamIds[i] = object.streamIds[i] >>> 0;\n }\n if (object.groupIds) {\n if (!Array.isArray(object.groupIds))\n throw TypeError(".SdkPauseResumeFrame.groupIds: array expected");\n message.groupIds = [];\n for (var i = 0; i < object.groupIds.length; ++i)\n message.groupIds[i] = object.groupIds[i] >>> 0;\n }\n return message;\n };\n\n /**\n * Creates a plain object from a SdkPauseResumeFrame message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkPauseResumeFrame\n * @static\n * @param {SdkPauseResumeFrame} message SdkPauseResumeFrame\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkPauseResumeFrame.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.arrays || options.defaults) {\n object.streamIds = [];\n object.groupIds = [];\n }\n if (message.streamIds && message.streamIds.length) {\n object.streamIds = [];\n for (var j = 0; j < message.streamIds.length; ++j)\n object.streamIds[j] = message.streamIds[j];\n }\n if (message.groupIds && message.groupIds.length) {\n object.groupIds = [];\n for (var j = 0; j < message.groupIds.length; ++j)\n object.groupIds[j] = message.groupIds[j];\n }\n return object;\n };\n\n /**\n * Converts this SdkPauseResumeFrame to JSON.\n * @function toJSON\n * @memberof SdkPauseResumeFrame\n * @instance\n * @returns {Object.} JSON object\n */\n SdkPauseResumeFrame.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkPauseResumeFrame;\n})();\n\n$root.SdkBitrateFrame = (function() {\n\n /**\n * Properties of a SdkBitrateFrame.\n * @exports ISdkBitrateFrame\n * @interface ISdkBitrateFrame\n * @property {Array.|null} [bitrates] SdkBitrateFrame bitrates\n */\n\n /**\n * Constructs a new SdkBitrateFrame.\n * @exports SdkBitrateFrame\n * @classdesc Represents a SdkBitrateFrame.\n * @implements ISdkBitrateFrame\n * @constructor\n * @param {ISdkBitrateFrame=} [properties] Properties to set\n */\n function SdkBitrateFrame(properties) {\n this.bitrates = [];\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkBitrateFrame bitrates.\n * @member {Array.} bitrates\n * @memberof SdkBitrateFrame\n * @instance\n */\n SdkBitrateFrame.prototype.bitrates = $util.emptyArray;\n\n /**\n * Creates a new SdkBitrateFrame instance using the specified properties.\n * @function create\n * @memberof SdkBitrateFrame\n * @static\n * @param {ISdkBitrateFrame=} [properties] Properties to set\n * @returns {SdkBitrateFrame} SdkBitrateFrame instance\n */\n SdkBitrateFrame.create = function create(properties) {\n return new SdkBitrateFrame(properties);\n };\n\n /**\n * Encodes the specified SdkBitrateFrame message. Does not implicitly {@link SdkBitrateFrame.verify|verify} messages.\n * @function encode\n * @memberof SdkBitrateFrame\n * @static\n * @param {ISdkBitrateFrame} message SdkBitrateFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkBitrateFrame.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.bitrates != null && message.bitrates.length)\n for (var i = 0; i < message.bitrates.length; ++i)\n $root.SdkBitrate.encode(message.bitrates[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();\n return writer;\n };\n\n /**\n * Encodes the specified SdkBitrateFrame message, length delimited. Does not implicitly {@link SdkBitrateFrame.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkBitrateFrame\n * @static\n * @param {ISdkBitrateFrame} message SdkBitrateFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkBitrateFrame.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkBitrateFrame message from the specified reader or buffer.\n * @function decode\n * @memberof SdkBitrateFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkBitrateFrame} SdkBitrateFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkBitrateFrame.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkBitrateFrame();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (!(message.bitrates && message.bitrates.length))\n message.bitrates = [];\n message.bitrates.push($root.SdkBitrate.decode(reader, reader.uint32()));\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkBitrateFrame message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkBitrateFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkBitrateFrame} SdkBitrateFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkBitrateFrame.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkBitrateFrame message.\n * @function verify\n * @memberof SdkBitrateFrame\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkBitrateFrame.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.bitrates != null && message.hasOwnProperty("bitrates")) {\n if (!Array.isArray(message.bitrates))\n return "bitrates: array expected";\n for (var i = 0; i < message.bitrates.length; ++i) {\n var error = $root.SdkBitrate.verify(message.bitrates[i]);\n if (error)\n return "bitrates." + error;\n }\n }\n return null;\n };\n\n /**\n * Creates a SdkBitrateFrame message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkBitrateFrame\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkBitrateFrame} SdkBitrateFrame\n */\n SdkBitrateFrame.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkBitrateFrame)\n return object;\n var message = new $root.SdkBitrateFrame();\n if (object.bitrates) {\n if (!Array.isArray(object.bitrates))\n throw TypeError(".SdkBitrateFrame.bitrates: array expected");\n message.bitrates = [];\n for (var i = 0; i < object.bitrates.length; ++i) {\n if (typeof object.bitrates[i] !== "object")\n throw TypeError(".SdkBitrateFrame.bitrates: object expected");\n message.bitrates[i] = $root.SdkBitrate.fromObject(object.bitrates[i]);\n }\n }\n return message;\n };\n\n /**\n * Creates a plain object from a SdkBitrateFrame message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkBitrateFrame\n * @static\n * @param {SdkBitrateFrame} message SdkBitrateFrame\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkBitrateFrame.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.arrays || options.defaults)\n object.bitrates = [];\n if (message.bitrates && message.bitrates.length) {\n object.bitrates = [];\n for (var j = 0; j < message.bitrates.length; ++j)\n object.bitrates[j] = $root.SdkBitrate.toObject(message.bitrates[j], options);\n }\n return object;\n };\n\n /**\n * Converts this SdkBitrateFrame to JSON.\n * @function toJSON\n * @memberof SdkBitrateFrame\n * @instance\n * @returns {Object.} JSON object\n */\n SdkBitrateFrame.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkBitrateFrame;\n})();\n\n$root.SdkStreamDescriptor = (function() {\n\n /**\n * Properties of a SdkStreamDescriptor.\n * @exports ISdkStreamDescriptor\n * @interface ISdkStreamDescriptor\n * @property {number|null} [streamId] SdkStreamDescriptor streamId\n * @property {number|null} [framerate] SdkStreamDescriptor framerate\n * @property {number|null} [maxBitrateKbps] SdkStreamDescriptor maxBitrateKbps\n * @property {string|null} [trackLabel] SdkStreamDescriptor trackLabel\n * @property {number|null} [groupId] SdkStreamDescriptor groupId\n * @property {number|null} [avgBitrateBps] SdkStreamDescriptor avgBitrateBps\n * @property {string|null} [attendeeId] SdkStreamDescriptor attendeeId\n * @property {SdkStreamMediaType|null} [mediaType] SdkStreamDescriptor mediaType\n * @property {string|null} [externalUserId] SdkStreamDescriptor externalUserId\n */\n\n /**\n * Constructs a new SdkStreamDescriptor.\n * @exports SdkStreamDescriptor\n * @classdesc Represents a SdkStreamDescriptor.\n * @implements ISdkStreamDescriptor\n * @constructor\n * @param {ISdkStreamDescriptor=} [properties] Properties to set\n */\n function SdkStreamDescriptor(properties) {\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkStreamDescriptor streamId.\n * @member {number} streamId\n * @memberof SdkStreamDescriptor\n * @instance\n */\n SdkStreamDescriptor.prototype.streamId = 0;\n\n /**\n * SdkStreamDescriptor framerate.\n * @member {number} framerate\n * @memberof SdkStreamDescriptor\n * @instance\n */\n SdkStreamDescriptor.prototype.framerate = 0;\n\n /**\n * SdkStreamDescriptor maxBitrateKbps.\n * @member {number} maxBitrateKbps\n * @memberof SdkStreamDescriptor\n * @instance\n */\n SdkStreamDescriptor.prototype.maxBitrateKbps = 0;\n\n /**\n * SdkStreamDescriptor trackLabel.\n * @member {string} trackLabel\n * @memberof SdkStreamDescriptor\n * @instance\n */\n SdkStreamDescriptor.prototype.trackLabel = "";\n\n /**\n * SdkStreamDescriptor groupId.\n * @member {number} groupId\n * @memberof SdkStreamDescriptor\n * @instance\n */\n SdkStreamDescriptor.prototype.groupId = 0;\n\n /**\n * SdkStreamDescriptor avgBitrateBps.\n * @member {number} avgBitrateBps\n * @memberof SdkStreamDescriptor\n * @instance\n */\n SdkStreamDescriptor.prototype.avgBitrateBps = 0;\n\n /**\n * SdkStreamDescriptor attendeeId.\n * @member {string} attendeeId\n * @memberof SdkStreamDescriptor\n * @instance\n */\n SdkStreamDescriptor.prototype.attendeeId = "";\n\n /**\n * SdkStreamDescriptor mediaType.\n * @member {SdkStreamMediaType} mediaType\n * @memberof SdkStreamDescriptor\n * @instance\n */\n SdkStreamDescriptor.prototype.mediaType = 1;\n\n /**\n * SdkStreamDescriptor externalUserId.\n * @member {string} externalUserId\n * @memberof SdkStreamDescriptor\n * @instance\n */\n SdkStreamDescriptor.prototype.externalUserId = "";\n\n /**\n * Creates a new SdkStreamDescriptor instance using the specified properties.\n * @function create\n * @memberof SdkStreamDescriptor\n * @static\n * @param {ISdkStreamDescriptor=} [properties] Properties to set\n * @returns {SdkStreamDescriptor} SdkStreamDescriptor instance\n */\n SdkStreamDescriptor.create = function create(properties) {\n return new SdkStreamDescriptor(properties);\n };\n\n /**\n * Encodes the specified SdkStreamDescriptor message. Does not implicitly {@link SdkStreamDescriptor.verify|verify} messages.\n * @function encode\n * @memberof SdkStreamDescriptor\n * @static\n * @param {ISdkStreamDescriptor} message SdkStreamDescriptor message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkStreamDescriptor.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.streamId != null && Object.hasOwnProperty.call(message, "streamId"))\n writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.streamId);\n if (message.framerate != null && Object.hasOwnProperty.call(message, "framerate"))\n writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.framerate);\n if (message.maxBitrateKbps != null && Object.hasOwnProperty.call(message, "maxBitrateKbps"))\n writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.maxBitrateKbps);\n if (message.trackLabel != null && Object.hasOwnProperty.call(message, "trackLabel"))\n writer.uint32(/* id 4, wireType 2 =*/34).string(message.trackLabel);\n if (message.groupId != null && Object.hasOwnProperty.call(message, "groupId"))\n writer.uint32(/* id 6, wireType 0 =*/48).uint32(message.groupId);\n if (message.avgBitrateBps != null && Object.hasOwnProperty.call(message, "avgBitrateBps"))\n writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.avgBitrateBps);\n if (message.attendeeId != null && Object.hasOwnProperty.call(message, "attendeeId"))\n writer.uint32(/* id 8, wireType 2 =*/66).string(message.attendeeId);\n if (message.mediaType != null && Object.hasOwnProperty.call(message, "mediaType"))\n writer.uint32(/* id 9, wireType 0 =*/72).int32(message.mediaType);\n if (message.externalUserId != null && Object.hasOwnProperty.call(message, "externalUserId"))\n writer.uint32(/* id 10, wireType 2 =*/82).string(message.externalUserId);\n return writer;\n };\n\n /**\n * Encodes the specified SdkStreamDescriptor message, length delimited. Does not implicitly {@link SdkStreamDescriptor.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkStreamDescriptor\n * @static\n * @param {ISdkStreamDescriptor} message SdkStreamDescriptor message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkStreamDescriptor.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkStreamDescriptor message from the specified reader or buffer.\n * @function decode\n * @memberof SdkStreamDescriptor\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkStreamDescriptor} SdkStreamDescriptor\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkStreamDescriptor.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkStreamDescriptor();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.streamId = reader.uint32();\n break;\n case 2:\n message.framerate = reader.uint32();\n break;\n case 3:\n message.maxBitrateKbps = reader.uint32();\n break;\n case 4:\n message.trackLabel = reader.string();\n break;\n case 6:\n message.groupId = reader.uint32();\n break;\n case 7:\n message.avgBitrateBps = reader.uint32();\n break;\n case 8:\n message.attendeeId = reader.string();\n break;\n case 9:\n message.mediaType = reader.int32();\n break;\n case 10:\n message.externalUserId = reader.string();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkStreamDescriptor message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkStreamDescriptor\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkStreamDescriptor} SdkStreamDescriptor\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkStreamDescriptor.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkStreamDescriptor message.\n * @function verify\n * @memberof SdkStreamDescriptor\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkStreamDescriptor.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.streamId != null && message.hasOwnProperty("streamId"))\n if (!$util.isInteger(message.streamId))\n return "streamId: integer expected";\n if (message.framerate != null && message.hasOwnProperty("framerate"))\n if (!$util.isInteger(message.framerate))\n return "framerate: integer expected";\n if (message.maxBitrateKbps != null && message.hasOwnProperty("maxBitrateKbps"))\n if (!$util.isInteger(message.maxBitrateKbps))\n return "maxBitrateKbps: integer expected";\n if (message.trackLabel != null && message.hasOwnProperty("trackLabel"))\n if (!$util.isString(message.trackLabel))\n return "trackLabel: string expected";\n if (message.groupId != null && message.hasOwnProperty("groupId"))\n if (!$util.isInteger(message.groupId))\n return "groupId: integer expected";\n if (message.avgBitrateBps != null && message.hasOwnProperty("avgBitrateBps"))\n if (!$util.isInteger(message.avgBitrateBps))\n return "avgBitrateBps: integer expected";\n if (message.attendeeId != null && message.hasOwnProperty("attendeeId"))\n if (!$util.isString(message.attendeeId))\n return "attendeeId: string expected";\n if (message.mediaType != null && message.hasOwnProperty("mediaType"))\n switch (message.mediaType) {\n default:\n return "mediaType: enum value expected";\n case 1:\n case 2:\n break;\n }\n if (message.externalUserId != null && message.hasOwnProperty("externalUserId"))\n if (!$util.isString(message.externalUserId))\n return "externalUserId: string expected";\n return null;\n };\n\n /**\n * Creates a SdkStreamDescriptor message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkStreamDescriptor\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkStreamDescriptor} SdkStreamDescriptor\n */\n SdkStreamDescriptor.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkStreamDescriptor)\n return object;\n var message = new $root.SdkStreamDescriptor();\n if (object.streamId != null)\n message.streamId = object.streamId >>> 0;\n if (object.framerate != null)\n message.framerate = object.framerate >>> 0;\n if (object.maxBitrateKbps != null)\n message.maxBitrateKbps = object.maxBitrateKbps >>> 0;\n if (object.trackLabel != null)\n message.trackLabel = String(object.trackLabel);\n if (object.groupId != null)\n message.groupId = object.groupId >>> 0;\n if (object.avgBitrateBps != null)\n message.avgBitrateBps = object.avgBitrateBps >>> 0;\n if (object.attendeeId != null)\n message.attendeeId = String(object.attendeeId);\n switch (object.mediaType) {\n case "AUDIO":\n case 1:\n message.mediaType = 1;\n break;\n case "VIDEO":\n case 2:\n message.mediaType = 2;\n break;\n }\n if (object.externalUserId != null)\n message.externalUserId = String(object.externalUserId);\n return message;\n };\n\n /**\n * Creates a plain object from a SdkStreamDescriptor message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkStreamDescriptor\n * @static\n * @param {SdkStreamDescriptor} message SdkStreamDescriptor\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkStreamDescriptor.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.defaults) {\n object.streamId = 0;\n object.framerate = 0;\n object.maxBitrateKbps = 0;\n object.trackLabel = "";\n object.groupId = 0;\n object.avgBitrateBps = 0;\n object.attendeeId = "";\n object.mediaType = options.enums === String ? "AUDIO" : 1;\n object.externalUserId = "";\n }\n if (message.streamId != null && message.hasOwnProperty("streamId"))\n object.streamId = message.streamId;\n if (message.framerate != null && message.hasOwnProperty("framerate"))\n object.framerate = message.framerate;\n if (message.maxBitrateKbps != null && message.hasOwnProperty("maxBitrateKbps"))\n object.maxBitrateKbps = message.maxBitrateKbps;\n if (message.trackLabel != null && message.hasOwnProperty("trackLabel"))\n object.trackLabel = message.trackLabel;\n if (message.groupId != null && message.hasOwnProperty("groupId"))\n object.groupId = message.groupId;\n if (message.avgBitrateBps != null && message.hasOwnProperty("avgBitrateBps"))\n object.avgBitrateBps = message.avgBitrateBps;\n if (message.attendeeId != null && message.hasOwnProperty("attendeeId"))\n object.attendeeId = message.attendeeId;\n if (message.mediaType != null && message.hasOwnProperty("mediaType"))\n object.mediaType = options.enums === String ? $root.SdkStreamMediaType[message.mediaType] : message.mediaType;\n if (message.externalUserId != null && message.hasOwnProperty("externalUserId"))\n object.externalUserId = message.externalUserId;\n return object;\n };\n\n /**\n * Converts this SdkStreamDescriptor to JSON.\n * @function toJSON\n * @memberof SdkStreamDescriptor\n * @instance\n * @returns {Object.} JSON object\n */\n SdkStreamDescriptor.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkStreamDescriptor;\n})();\n\n$root.SdkStreamAllocation = (function() {\n\n /**\n * Properties of a SdkStreamAllocation.\n * @exports ISdkStreamAllocation\n * @interface ISdkStreamAllocation\n * @property {string|null} [trackLabel] SdkStreamAllocation trackLabel\n * @property {number|null} [streamId] SdkStreamAllocation streamId\n * @property {number|null} [groupId] SdkStreamAllocation groupId\n */\n\n /**\n * Constructs a new SdkStreamAllocation.\n * @exports SdkStreamAllocation\n * @classdesc Represents a SdkStreamAllocation.\n * @implements ISdkStreamAllocation\n * @constructor\n * @param {ISdkStreamAllocation=} [properties] Properties to set\n */\n function SdkStreamAllocation(properties) {\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkStreamAllocation trackLabel.\n * @member {string} trackLabel\n * @memberof SdkStreamAllocation\n * @instance\n */\n SdkStreamAllocation.prototype.trackLabel = "";\n\n /**\n * SdkStreamAllocation streamId.\n * @member {number} streamId\n * @memberof SdkStreamAllocation\n * @instance\n */\n SdkStreamAllocation.prototype.streamId = 0;\n\n /**\n * SdkStreamAllocation groupId.\n * @member {number} groupId\n * @memberof SdkStreamAllocation\n * @instance\n */\n SdkStreamAllocation.prototype.groupId = 0;\n\n /**\n * Creates a new SdkStreamAllocation instance using the specified properties.\n * @function create\n * @memberof SdkStreamAllocation\n * @static\n * @param {ISdkStreamAllocation=} [properties] Properties to set\n * @returns {SdkStreamAllocation} SdkStreamAllocation instance\n */\n SdkStreamAllocation.create = function create(properties) {\n return new SdkStreamAllocation(properties);\n };\n\n /**\n * Encodes the specified SdkStreamAllocation message. Does not implicitly {@link SdkStreamAllocation.verify|verify} messages.\n * @function encode\n * @memberof SdkStreamAllocation\n * @static\n * @param {ISdkStreamAllocation} message SdkStreamAllocation message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkStreamAllocation.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.trackLabel != null && Object.hasOwnProperty.call(message, "trackLabel"))\n writer.uint32(/* id 1, wireType 2 =*/10).string(message.trackLabel);\n if (message.streamId != null && Object.hasOwnProperty.call(message, "streamId"))\n writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.streamId);\n if (message.groupId != null && Object.hasOwnProperty.call(message, "groupId"))\n writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.groupId);\n return writer;\n };\n\n /**\n * Encodes the specified SdkStreamAllocation message, length delimited. Does not implicitly {@link SdkStreamAllocation.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkStreamAllocation\n * @static\n * @param {ISdkStreamAllocation} message SdkStreamAllocation message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkStreamAllocation.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkStreamAllocation message from the specified reader or buffer.\n * @function decode\n * @memberof SdkStreamAllocation\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkStreamAllocation} SdkStreamAllocation\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkStreamAllocation.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkStreamAllocation();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.trackLabel = reader.string();\n break;\n case 2:\n message.streamId = reader.uint32();\n break;\n case 3:\n message.groupId = reader.uint32();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkStreamAllocation message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkStreamAllocation\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkStreamAllocation} SdkStreamAllocation\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkStreamAllocation.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkStreamAllocation message.\n * @function verify\n * @memberof SdkStreamAllocation\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkStreamAllocation.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.trackLabel != null && message.hasOwnProperty("trackLabel"))\n if (!$util.isString(message.trackLabel))\n return "trackLabel: string expected";\n if (message.streamId != null && message.hasOwnProperty("streamId"))\n if (!$util.isInteger(message.streamId))\n return "streamId: integer expected";\n if (message.groupId != null && message.hasOwnProperty("groupId"))\n if (!$util.isInteger(message.groupId))\n return "groupId: integer expected";\n return null;\n };\n\n /**\n * Creates a SdkStreamAllocation message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkStreamAllocation\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkStreamAllocation} SdkStreamAllocation\n */\n SdkStreamAllocation.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkStreamAllocation)\n return object;\n var message = new $root.SdkStreamAllocation();\n if (object.trackLabel != null)\n message.trackLabel = String(object.trackLabel);\n if (object.streamId != null)\n message.streamId = object.streamId >>> 0;\n if (object.groupId != null)\n message.groupId = object.groupId >>> 0;\n return message;\n };\n\n /**\n * Creates a plain object from a SdkStreamAllocation message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkStreamAllocation\n * @static\n * @param {SdkStreamAllocation} message SdkStreamAllocation\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkStreamAllocation.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.defaults) {\n object.trackLabel = "";\n object.streamId = 0;\n object.groupId = 0;\n }\n if (message.trackLabel != null && message.hasOwnProperty("trackLabel"))\n object.trackLabel = message.trackLabel;\n if (message.streamId != null && message.hasOwnProperty("streamId"))\n object.streamId = message.streamId;\n if (message.groupId != null && message.hasOwnProperty("groupId"))\n object.groupId = message.groupId;\n return object;\n };\n\n /**\n * Converts this SdkStreamAllocation to JSON.\n * @function toJSON\n * @memberof SdkStreamAllocation\n * @instance\n * @returns {Object.} JSON object\n */\n SdkStreamAllocation.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkStreamAllocation;\n})();\n\n$root.SdkTrackMapping = (function() {\n\n /**\n * Properties of a SdkTrackMapping.\n * @exports ISdkTrackMapping\n * @interface ISdkTrackMapping\n * @property {number|null} [streamId] SdkTrackMapping streamId\n * @property {number|null} [ssrc] SdkTrackMapping ssrc\n * @property {string|null} [trackLabel] SdkTrackMapping trackLabel\n */\n\n /**\n * Constructs a new SdkTrackMapping.\n * @exports SdkTrackMapping\n * @classdesc Represents a SdkTrackMapping.\n * @implements ISdkTrackMapping\n * @constructor\n * @param {ISdkTrackMapping=} [properties] Properties to set\n */\n function SdkTrackMapping(properties) {\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkTrackMapping streamId.\n * @member {number} streamId\n * @memberof SdkTrackMapping\n * @instance\n */\n SdkTrackMapping.prototype.streamId = 0;\n\n /**\n * SdkTrackMapping ssrc.\n * @member {number} ssrc\n * @memberof SdkTrackMapping\n * @instance\n */\n SdkTrackMapping.prototype.ssrc = 0;\n\n /**\n * SdkTrackMapping trackLabel.\n * @member {string} trackLabel\n * @memberof SdkTrackMapping\n * @instance\n */\n SdkTrackMapping.prototype.trackLabel = "";\n\n /**\n * Creates a new SdkTrackMapping instance using the specified properties.\n * @function create\n * @memberof SdkTrackMapping\n * @static\n * @param {ISdkTrackMapping=} [properties] Properties to set\n * @returns {SdkTrackMapping} SdkTrackMapping instance\n */\n SdkTrackMapping.create = function create(properties) {\n return new SdkTrackMapping(properties);\n };\n\n /**\n * Encodes the specified SdkTrackMapping message. Does not implicitly {@link SdkTrackMapping.verify|verify} messages.\n * @function encode\n * @memberof SdkTrackMapping\n * @static\n * @param {ISdkTrackMapping} message SdkTrackMapping message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkTrackMapping.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.streamId != null && Object.hasOwnProperty.call(message, "streamId"))\n writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.streamId);\n if (message.ssrc != null && Object.hasOwnProperty.call(message, "ssrc"))\n writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.ssrc);\n if (message.trackLabel != null && Object.hasOwnProperty.call(message, "trackLabel"))\n writer.uint32(/* id 3, wireType 2 =*/26).string(message.trackLabel);\n return writer;\n };\n\n /**\n * Encodes the specified SdkTrackMapping message, length delimited. Does not implicitly {@link SdkTrackMapping.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkTrackMapping\n * @static\n * @param {ISdkTrackMapping} message SdkTrackMapping message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkTrackMapping.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkTrackMapping message from the specified reader or buffer.\n * @function decode\n * @memberof SdkTrackMapping\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkTrackMapping} SdkTrackMapping\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkTrackMapping.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkTrackMapping();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.streamId = reader.uint32();\n break;\n case 2:\n message.ssrc = reader.uint32();\n break;\n case 3:\n message.trackLabel = reader.string();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkTrackMapping message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkTrackMapping\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkTrackMapping} SdkTrackMapping\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkTrackMapping.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkTrackMapping message.\n * @function verify\n * @memberof SdkTrackMapping\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkTrackMapping.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.streamId != null && message.hasOwnProperty("streamId"))\n if (!$util.isInteger(message.streamId))\n return "streamId: integer expected";\n if (message.ssrc != null && message.hasOwnProperty("ssrc"))\n if (!$util.isInteger(message.ssrc))\n return "ssrc: integer expected";\n if (message.trackLabel != null && message.hasOwnProperty("trackLabel"))\n if (!$util.isString(message.trackLabel))\n return "trackLabel: string expected";\n return null;\n };\n\n /**\n * Creates a SdkTrackMapping message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkTrackMapping\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkTrackMapping} SdkTrackMapping\n */\n SdkTrackMapping.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkTrackMapping)\n return object;\n var message = new $root.SdkTrackMapping();\n if (object.streamId != null)\n message.streamId = object.streamId >>> 0;\n if (object.ssrc != null)\n message.ssrc = object.ssrc >>> 0;\n if (object.trackLabel != null)\n message.trackLabel = String(object.trackLabel);\n return message;\n };\n\n /**\n * Creates a plain object from a SdkTrackMapping message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkTrackMapping\n * @static\n * @param {SdkTrackMapping} message SdkTrackMapping\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkTrackMapping.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.defaults) {\n object.streamId = 0;\n object.ssrc = 0;\n object.trackLabel = "";\n }\n if (message.streamId != null && message.hasOwnProperty("streamId"))\n object.streamId = message.streamId;\n if (message.ssrc != null && message.hasOwnProperty("ssrc"))\n object.ssrc = message.ssrc;\n if (message.trackLabel != null && message.hasOwnProperty("trackLabel"))\n object.trackLabel = message.trackLabel;\n return object;\n };\n\n /**\n * Converts this SdkTrackMapping to JSON.\n * @function toJSON\n * @memberof SdkTrackMapping\n * @instance\n * @returns {Object.} JSON object\n */\n SdkTrackMapping.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkTrackMapping;\n})();\n\n$root.SdkBitrate = (function() {\n\n /**\n * Properties of a SdkBitrate.\n * @exports ISdkBitrate\n * @interface ISdkBitrate\n * @property {number|null} [sourceStreamId] SdkBitrate sourceStreamId\n * @property {number|null} [avgBitrateBps] SdkBitrate avgBitrateBps\n */\n\n /**\n * Constructs a new SdkBitrate.\n * @exports SdkBitrate\n * @classdesc Represents a SdkBitrate.\n * @implements ISdkBitrate\n * @constructor\n * @param {ISdkBitrate=} [properties] Properties to set\n */\n function SdkBitrate(properties) {\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkBitrate sourceStreamId.\n * @member {number} sourceStreamId\n * @memberof SdkBitrate\n * @instance\n */\n SdkBitrate.prototype.sourceStreamId = 0;\n\n /**\n * SdkBitrate avgBitrateBps.\n * @member {number} avgBitrateBps\n * @memberof SdkBitrate\n * @instance\n */\n SdkBitrate.prototype.avgBitrateBps = 0;\n\n /**\n * Creates a new SdkBitrate instance using the specified properties.\n * @function create\n * @memberof SdkBitrate\n * @static\n * @param {ISdkBitrate=} [properties] Properties to set\n * @returns {SdkBitrate} SdkBitrate instance\n */\n SdkBitrate.create = function create(properties) {\n return new SdkBitrate(properties);\n };\n\n /**\n * Encodes the specified SdkBitrate message. Does not implicitly {@link SdkBitrate.verify|verify} messages.\n * @function encode\n * @memberof SdkBitrate\n * @static\n * @param {ISdkBitrate} message SdkBitrate message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkBitrate.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.sourceStreamId != null && Object.hasOwnProperty.call(message, "sourceStreamId"))\n writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.sourceStreamId);\n if (message.avgBitrateBps != null && Object.hasOwnProperty.call(message, "avgBitrateBps"))\n writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.avgBitrateBps);\n return writer;\n };\n\n /**\n * Encodes the specified SdkBitrate message, length delimited. Does not implicitly {@link SdkBitrate.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkBitrate\n * @static\n * @param {ISdkBitrate} message SdkBitrate message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkBitrate.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkBitrate message from the specified reader or buffer.\n * @function decode\n * @memberof SdkBitrate\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkBitrate} SdkBitrate\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkBitrate.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkBitrate();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.sourceStreamId = reader.uint32();\n break;\n case 2:\n message.avgBitrateBps = reader.uint32();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkBitrate message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkBitrate\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkBitrate} SdkBitrate\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkBitrate.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkBitrate message.\n * @function verify\n * @memberof SdkBitrate\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkBitrate.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.sourceStreamId != null && message.hasOwnProperty("sourceStreamId"))\n if (!$util.isInteger(message.sourceStreamId))\n return "sourceStreamId: integer expected";\n if (message.avgBitrateBps != null && message.hasOwnProperty("avgBitrateBps"))\n if (!$util.isInteger(message.avgBitrateBps))\n return "avgBitrateBps: integer expected";\n return null;\n };\n\n /**\n * Creates a SdkBitrate message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkBitrate\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkBitrate} SdkBitrate\n */\n SdkBitrate.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkBitrate)\n return object;\n var message = new $root.SdkBitrate();\n if (object.sourceStreamId != null)\n message.sourceStreamId = object.sourceStreamId >>> 0;\n if (object.avgBitrateBps != null)\n message.avgBitrateBps = object.avgBitrateBps >>> 0;\n return message;\n };\n\n /**\n * Creates a plain object from a SdkBitrate message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkBitrate\n * @static\n * @param {SdkBitrate} message SdkBitrate\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkBitrate.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.defaults) {\n object.sourceStreamId = 0;\n object.avgBitrateBps = 0;\n }\n if (message.sourceStreamId != null && message.hasOwnProperty("sourceStreamId"))\n object.sourceStreamId = message.sourceStreamId;\n if (message.avgBitrateBps != null && message.hasOwnProperty("avgBitrateBps"))\n object.avgBitrateBps = message.avgBitrateBps;\n return object;\n };\n\n /**\n * Converts this SdkBitrate to JSON.\n * @function toJSON\n * @memberof SdkBitrate\n * @instance\n * @returns {Object.} JSON object\n */\n SdkBitrate.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkBitrate;\n})();\n\n$root.SdkAudioControlFrame = (function() {\n\n /**\n * Properties of a SdkAudioControlFrame.\n * @exports ISdkAudioControlFrame\n * @interface ISdkAudioControlFrame\n * @property {boolean|null} [muted] SdkAudioControlFrame muted\n */\n\n /**\n * Constructs a new SdkAudioControlFrame.\n * @exports SdkAudioControlFrame\n * @classdesc Represents a SdkAudioControlFrame.\n * @implements ISdkAudioControlFrame\n * @constructor\n * @param {ISdkAudioControlFrame=} [properties] Properties to set\n */\n function SdkAudioControlFrame(properties) {\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkAudioControlFrame muted.\n * @member {boolean} muted\n * @memberof SdkAudioControlFrame\n * @instance\n */\n SdkAudioControlFrame.prototype.muted = false;\n\n /**\n * Creates a new SdkAudioControlFrame instance using the specified properties.\n * @function create\n * @memberof SdkAudioControlFrame\n * @static\n * @param {ISdkAudioControlFrame=} [properties] Properties to set\n * @returns {SdkAudioControlFrame} SdkAudioControlFrame instance\n */\n SdkAudioControlFrame.create = function create(properties) {\n return new SdkAudioControlFrame(properties);\n };\n\n /**\n * Encodes the specified SdkAudioControlFrame message. Does not implicitly {@link SdkAudioControlFrame.verify|verify} messages.\n * @function encode\n * @memberof SdkAudioControlFrame\n * @static\n * @param {ISdkAudioControlFrame} message SdkAudioControlFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkAudioControlFrame.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.muted != null && Object.hasOwnProperty.call(message, "muted"))\n writer.uint32(/* id 1, wireType 0 =*/8).bool(message.muted);\n return writer;\n };\n\n /**\n * Encodes the specified SdkAudioControlFrame message, length delimited. Does not implicitly {@link SdkAudioControlFrame.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkAudioControlFrame\n * @static\n * @param {ISdkAudioControlFrame} message SdkAudioControlFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkAudioControlFrame.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkAudioControlFrame message from the specified reader or buffer.\n * @function decode\n * @memberof SdkAudioControlFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkAudioControlFrame} SdkAudioControlFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkAudioControlFrame.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkAudioControlFrame();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.muted = reader.bool();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkAudioControlFrame message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkAudioControlFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkAudioControlFrame} SdkAudioControlFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkAudioControlFrame.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkAudioControlFrame message.\n * @function verify\n * @memberof SdkAudioControlFrame\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkAudioControlFrame.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.muted != null && message.hasOwnProperty("muted"))\n if (typeof message.muted !== "boolean")\n return "muted: boolean expected";\n return null;\n };\n\n /**\n * Creates a SdkAudioControlFrame message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkAudioControlFrame\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkAudioControlFrame} SdkAudioControlFrame\n */\n SdkAudioControlFrame.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkAudioControlFrame)\n return object;\n var message = new $root.SdkAudioControlFrame();\n if (object.muted != null)\n message.muted = Boolean(object.muted);\n return message;\n };\n\n /**\n * Creates a plain object from a SdkAudioControlFrame message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkAudioControlFrame\n * @static\n * @param {SdkAudioControlFrame} message SdkAudioControlFrame\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkAudioControlFrame.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.defaults)\n object.muted = false;\n if (message.muted != null && message.hasOwnProperty("muted"))\n object.muted = message.muted;\n return object;\n };\n\n /**\n * Converts this SdkAudioControlFrame to JSON.\n * @function toJSON\n * @memberof SdkAudioControlFrame\n * @instance\n * @returns {Object.} JSON object\n */\n SdkAudioControlFrame.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkAudioControlFrame;\n})();\n\n$root.SdkAudioMetadataFrame = (function() {\n\n /**\n * Properties of a SdkAudioMetadataFrame.\n * @exports ISdkAudioMetadataFrame\n * @interface ISdkAudioMetadataFrame\n * @property {Array.|null} [attendeeStates] SdkAudioMetadataFrame attendeeStates\n */\n\n /**\n * Constructs a new SdkAudioMetadataFrame.\n * @exports SdkAudioMetadataFrame\n * @classdesc Represents a SdkAudioMetadataFrame.\n * @implements ISdkAudioMetadataFrame\n * @constructor\n * @param {ISdkAudioMetadataFrame=} [properties] Properties to set\n */\n function SdkAudioMetadataFrame(properties) {\n this.attendeeStates = [];\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkAudioMetadataFrame attendeeStates.\n * @member {Array.} attendeeStates\n * @memberof SdkAudioMetadataFrame\n * @instance\n */\n SdkAudioMetadataFrame.prototype.attendeeStates = $util.emptyArray;\n\n /**\n * Creates a new SdkAudioMetadataFrame instance using the specified properties.\n * @function create\n * @memberof SdkAudioMetadataFrame\n * @static\n * @param {ISdkAudioMetadataFrame=} [properties] Properties to set\n * @returns {SdkAudioMetadataFrame} SdkAudioMetadataFrame instance\n */\n SdkAudioMetadataFrame.create = function create(properties) {\n return new SdkAudioMetadataFrame(properties);\n };\n\n /**\n * Encodes the specified SdkAudioMetadataFrame message. Does not implicitly {@link SdkAudioMetadataFrame.verify|verify} messages.\n * @function encode\n * @memberof SdkAudioMetadataFrame\n * @static\n * @param {ISdkAudioMetadataFrame} message SdkAudioMetadataFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkAudioMetadataFrame.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.attendeeStates != null && message.attendeeStates.length)\n for (var i = 0; i < message.attendeeStates.length; ++i)\n $root.SdkAudioAttendeeState.encode(message.attendeeStates[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();\n return writer;\n };\n\n /**\n * Encodes the specified SdkAudioMetadataFrame message, length delimited. Does not implicitly {@link SdkAudioMetadataFrame.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkAudioMetadataFrame\n * @static\n * @param {ISdkAudioMetadataFrame} message SdkAudioMetadataFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkAudioMetadataFrame.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkAudioMetadataFrame message from the specified reader or buffer.\n * @function decode\n * @memberof SdkAudioMetadataFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkAudioMetadataFrame} SdkAudioMetadataFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkAudioMetadataFrame.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkAudioMetadataFrame();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (!(message.attendeeStates && message.attendeeStates.length))\n message.attendeeStates = [];\n message.attendeeStates.push($root.SdkAudioAttendeeState.decode(reader, reader.uint32()));\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkAudioMetadataFrame message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkAudioMetadataFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkAudioMetadataFrame} SdkAudioMetadataFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkAudioMetadataFrame.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkAudioMetadataFrame message.\n * @function verify\n * @memberof SdkAudioMetadataFrame\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkAudioMetadataFrame.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.attendeeStates != null && message.hasOwnProperty("attendeeStates")) {\n if (!Array.isArray(message.attendeeStates))\n return "attendeeStates: array expected";\n for (var i = 0; i < message.attendeeStates.length; ++i) {\n var error = $root.SdkAudioAttendeeState.verify(message.attendeeStates[i]);\n if (error)\n return "attendeeStates." + error;\n }\n }\n return null;\n };\n\n /**\n * Creates a SdkAudioMetadataFrame message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkAudioMetadataFrame\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkAudioMetadataFrame} SdkAudioMetadataFrame\n */\n SdkAudioMetadataFrame.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkAudioMetadataFrame)\n return object;\n var message = new $root.SdkAudioMetadataFrame();\n if (object.attendeeStates) {\n if (!Array.isArray(object.attendeeStates))\n throw TypeError(".SdkAudioMetadataFrame.attendeeStates: array expected");\n message.attendeeStates = [];\n for (var i = 0; i < object.attendeeStates.length; ++i) {\n if (typeof object.attendeeStates[i] !== "object")\n throw TypeError(".SdkAudioMetadataFrame.attendeeStates: object expected");\n message.attendeeStates[i] = $root.SdkAudioAttendeeState.fromObject(object.attendeeStates[i]);\n }\n }\n return message;\n };\n\n /**\n * Creates a plain object from a SdkAudioMetadataFrame message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkAudioMetadataFrame\n * @static\n * @param {SdkAudioMetadataFrame} message SdkAudioMetadataFrame\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkAudioMetadataFrame.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.arrays || options.defaults)\n object.attendeeStates = [];\n if (message.attendeeStates && message.attendeeStates.length) {\n object.attendeeStates = [];\n for (var j = 0; j < message.attendeeStates.length; ++j)\n object.attendeeStates[j] = $root.SdkAudioAttendeeState.toObject(message.attendeeStates[j], options);\n }\n return object;\n };\n\n /**\n * Converts this SdkAudioMetadataFrame to JSON.\n * @function toJSON\n * @memberof SdkAudioMetadataFrame\n * @instance\n * @returns {Object.} JSON object\n */\n SdkAudioMetadataFrame.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkAudioMetadataFrame;\n})();\n\n$root.SdkAudioAttendeeState = (function() {\n\n /**\n * Properties of a SdkAudioAttendeeState.\n * @exports ISdkAudioAttendeeState\n * @interface ISdkAudioAttendeeState\n * @property {number|null} [audioStreamId] SdkAudioAttendeeState audioStreamId\n * @property {number|null} [volume] SdkAudioAttendeeState volume\n * @property {boolean|null} [muted] SdkAudioAttendeeState muted\n * @property {number|null} [signalStrength] SdkAudioAttendeeState signalStrength\n */\n\n /**\n * Constructs a new SdkAudioAttendeeState.\n * @exports SdkAudioAttendeeState\n * @classdesc Represents a SdkAudioAttendeeState.\n * @implements ISdkAudioAttendeeState\n * @constructor\n * @param {ISdkAudioAttendeeState=} [properties] Properties to set\n */\n function SdkAudioAttendeeState(properties) {\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkAudioAttendeeState audioStreamId.\n * @member {number} audioStreamId\n * @memberof SdkAudioAttendeeState\n * @instance\n */\n SdkAudioAttendeeState.prototype.audioStreamId = 0;\n\n /**\n * SdkAudioAttendeeState volume.\n * @member {number} volume\n * @memberof SdkAudioAttendeeState\n * @instance\n */\n SdkAudioAttendeeState.prototype.volume = 0;\n\n /**\n * SdkAudioAttendeeState muted.\n * @member {boolean} muted\n * @memberof SdkAudioAttendeeState\n * @instance\n */\n SdkAudioAttendeeState.prototype.muted = false;\n\n /**\n * SdkAudioAttendeeState signalStrength.\n * @member {number} signalStrength\n * @memberof SdkAudioAttendeeState\n * @instance\n */\n SdkAudioAttendeeState.prototype.signalStrength = 0;\n\n /**\n * Creates a new SdkAudioAttendeeState instance using the specified properties.\n * @function create\n * @memberof SdkAudioAttendeeState\n * @static\n * @param {ISdkAudioAttendeeState=} [properties] Properties to set\n * @returns {SdkAudioAttendeeState} SdkAudioAttendeeState instance\n */\n SdkAudioAttendeeState.create = function create(properties) {\n return new SdkAudioAttendeeState(properties);\n };\n\n /**\n * Encodes the specified SdkAudioAttendeeState message. Does not implicitly {@link SdkAudioAttendeeState.verify|verify} messages.\n * @function encode\n * @memberof SdkAudioAttendeeState\n * @static\n * @param {ISdkAudioAttendeeState} message SdkAudioAttendeeState message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkAudioAttendeeState.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.audioStreamId != null && Object.hasOwnProperty.call(message, "audioStreamId"))\n writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.audioStreamId);\n if (message.volume != null && Object.hasOwnProperty.call(message, "volume"))\n writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.volume);\n if (message.muted != null && Object.hasOwnProperty.call(message, "muted"))\n writer.uint32(/* id 3, wireType 0 =*/24).bool(message.muted);\n if (message.signalStrength != null && Object.hasOwnProperty.call(message, "signalStrength"))\n writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.signalStrength);\n return writer;\n };\n\n /**\n * Encodes the specified SdkAudioAttendeeState message, length delimited. Does not implicitly {@link SdkAudioAttendeeState.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkAudioAttendeeState\n * @static\n * @param {ISdkAudioAttendeeState} message SdkAudioAttendeeState message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkAudioAttendeeState.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkAudioAttendeeState message from the specified reader or buffer.\n * @function decode\n * @memberof SdkAudioAttendeeState\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkAudioAttendeeState} SdkAudioAttendeeState\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkAudioAttendeeState.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkAudioAttendeeState();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.audioStreamId = reader.uint32();\n break;\n case 2:\n message.volume = reader.uint32();\n break;\n case 3:\n message.muted = reader.bool();\n break;\n case 4:\n message.signalStrength = reader.uint32();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkAudioAttendeeState message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkAudioAttendeeState\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkAudioAttendeeState} SdkAudioAttendeeState\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkAudioAttendeeState.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkAudioAttendeeState message.\n * @function verify\n * @memberof SdkAudioAttendeeState\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkAudioAttendeeState.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.audioStreamId != null && message.hasOwnProperty("audioStreamId"))\n if (!$util.isInteger(message.audioStreamId))\n return "audioStreamId: integer expected";\n if (message.volume != null && message.hasOwnProperty("volume"))\n if (!$util.isInteger(message.volume))\n return "volume: integer expected";\n if (message.muted != null && message.hasOwnProperty("muted"))\n if (typeof message.muted !== "boolean")\n return "muted: boolean expected";\n if (message.signalStrength != null && message.hasOwnProperty("signalStrength"))\n if (!$util.isInteger(message.signalStrength))\n return "signalStrength: integer expected";\n return null;\n };\n\n /**\n * Creates a SdkAudioAttendeeState message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkAudioAttendeeState\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkAudioAttendeeState} SdkAudioAttendeeState\n */\n SdkAudioAttendeeState.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkAudioAttendeeState)\n return object;\n var message = new $root.SdkAudioAttendeeState();\n if (object.audioStreamId != null)\n message.audioStreamId = object.audioStreamId >>> 0;\n if (object.volume != null)\n message.volume = object.volume >>> 0;\n if (object.muted != null)\n message.muted = Boolean(object.muted);\n if (object.signalStrength != null)\n message.signalStrength = object.signalStrength >>> 0;\n return message;\n };\n\n /**\n * Creates a plain object from a SdkAudioAttendeeState message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkAudioAttendeeState\n * @static\n * @param {SdkAudioAttendeeState} message SdkAudioAttendeeState\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkAudioAttendeeState.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.defaults) {\n object.audioStreamId = 0;\n object.volume = 0;\n object.muted = false;\n object.signalStrength = 0;\n }\n if (message.audioStreamId != null && message.hasOwnProperty("audioStreamId"))\n object.audioStreamId = message.audioStreamId;\n if (message.volume != null && message.hasOwnProperty("volume"))\n object.volume = message.volume;\n if (message.muted != null && message.hasOwnProperty("muted"))\n object.muted = message.muted;\n if (message.signalStrength != null && message.hasOwnProperty("signalStrength"))\n object.signalStrength = message.signalStrength;\n return object;\n };\n\n /**\n * Converts this SdkAudioAttendeeState to JSON.\n * @function toJSON\n * @memberof SdkAudioAttendeeState\n * @instance\n * @returns {Object.} JSON object\n */\n SdkAudioAttendeeState.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkAudioAttendeeState;\n})();\n\n$root.SdkAudioStreamIdInfoFrame = (function() {\n\n /**\n * Properties of a SdkAudioStreamIdInfoFrame.\n * @exports ISdkAudioStreamIdInfoFrame\n * @interface ISdkAudioStreamIdInfoFrame\n * @property {Array.|null} [streams] SdkAudioStreamIdInfoFrame streams\n */\n\n /**\n * Constructs a new SdkAudioStreamIdInfoFrame.\n * @exports SdkAudioStreamIdInfoFrame\n * @classdesc Represents a SdkAudioStreamIdInfoFrame.\n * @implements ISdkAudioStreamIdInfoFrame\n * @constructor\n * @param {ISdkAudioStreamIdInfoFrame=} [properties] Properties to set\n */\n function SdkAudioStreamIdInfoFrame(properties) {\n this.streams = [];\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkAudioStreamIdInfoFrame streams.\n * @member {Array.} streams\n * @memberof SdkAudioStreamIdInfoFrame\n * @instance\n */\n SdkAudioStreamIdInfoFrame.prototype.streams = $util.emptyArray;\n\n /**\n * Creates a new SdkAudioStreamIdInfoFrame instance using the specified properties.\n * @function create\n * @memberof SdkAudioStreamIdInfoFrame\n * @static\n * @param {ISdkAudioStreamIdInfoFrame=} [properties] Properties to set\n * @returns {SdkAudioStreamIdInfoFrame} SdkAudioStreamIdInfoFrame instance\n */\n SdkAudioStreamIdInfoFrame.create = function create(properties) {\n return new SdkAudioStreamIdInfoFrame(properties);\n };\n\n /**\n * Encodes the specified SdkAudioStreamIdInfoFrame message. Does not implicitly {@link SdkAudioStreamIdInfoFrame.verify|verify} messages.\n * @function encode\n * @memberof SdkAudioStreamIdInfoFrame\n * @static\n * @param {ISdkAudioStreamIdInfoFrame} message SdkAudioStreamIdInfoFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkAudioStreamIdInfoFrame.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.streams != null && message.streams.length)\n for (var i = 0; i < message.streams.length; ++i)\n $root.SdkAudioStreamIdInfo.encode(message.streams[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();\n return writer;\n };\n\n /**\n * Encodes the specified SdkAudioStreamIdInfoFrame message, length delimited. Does not implicitly {@link SdkAudioStreamIdInfoFrame.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkAudioStreamIdInfoFrame\n * @static\n * @param {ISdkAudioStreamIdInfoFrame} message SdkAudioStreamIdInfoFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkAudioStreamIdInfoFrame.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkAudioStreamIdInfoFrame message from the specified reader or buffer.\n * @function decode\n * @memberof SdkAudioStreamIdInfoFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkAudioStreamIdInfoFrame} SdkAudioStreamIdInfoFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkAudioStreamIdInfoFrame.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkAudioStreamIdInfoFrame();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (!(message.streams && message.streams.length))\n message.streams = [];\n message.streams.push($root.SdkAudioStreamIdInfo.decode(reader, reader.uint32()));\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkAudioStreamIdInfoFrame message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkAudioStreamIdInfoFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkAudioStreamIdInfoFrame} SdkAudioStreamIdInfoFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkAudioStreamIdInfoFrame.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkAudioStreamIdInfoFrame message.\n * @function verify\n * @memberof SdkAudioStreamIdInfoFrame\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkAudioStreamIdInfoFrame.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.streams != null && message.hasOwnProperty("streams")) {\n if (!Array.isArray(message.streams))\n return "streams: array expected";\n for (var i = 0; i < message.streams.length; ++i) {\n var error = $root.SdkAudioStreamIdInfo.verify(message.streams[i]);\n if (error)\n return "streams." + error;\n }\n }\n return null;\n };\n\n /**\n * Creates a SdkAudioStreamIdInfoFrame message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkAudioStreamIdInfoFrame\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkAudioStreamIdInfoFrame} SdkAudioStreamIdInfoFrame\n */\n SdkAudioStreamIdInfoFrame.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkAudioStreamIdInfoFrame)\n return object;\n var message = new $root.SdkAudioStreamIdInfoFrame();\n if (object.streams) {\n if (!Array.isArray(object.streams))\n throw TypeError(".SdkAudioStreamIdInfoFrame.streams: array expected");\n message.streams = [];\n for (var i = 0; i < object.streams.length; ++i) {\n if (typeof object.streams[i] !== "object")\n throw TypeError(".SdkAudioStreamIdInfoFrame.streams: object expected");\n message.streams[i] = $root.SdkAudioStreamIdInfo.fromObject(object.streams[i]);\n }\n }\n return message;\n };\n\n /**\n * Creates a plain object from a SdkAudioStreamIdInfoFrame message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkAudioStreamIdInfoFrame\n * @static\n * @param {SdkAudioStreamIdInfoFrame} message SdkAudioStreamIdInfoFrame\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkAudioStreamIdInfoFrame.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.arrays || options.defaults)\n object.streams = [];\n if (message.streams && message.streams.length) {\n object.streams = [];\n for (var j = 0; j < message.streams.length; ++j)\n object.streams[j] = $root.SdkAudioStreamIdInfo.toObject(message.streams[j], options);\n }\n return object;\n };\n\n /**\n * Converts this SdkAudioStreamIdInfoFrame to JSON.\n * @function toJSON\n * @memberof SdkAudioStreamIdInfoFrame\n * @instance\n * @returns {Object.} JSON object\n */\n SdkAudioStreamIdInfoFrame.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkAudioStreamIdInfoFrame;\n})();\n\n$root.SdkAudioStreamIdInfo = (function() {\n\n /**\n * Properties of a SdkAudioStreamIdInfo.\n * @exports ISdkAudioStreamIdInfo\n * @interface ISdkAudioStreamIdInfo\n * @property {number|null} [audioStreamId] SdkAudioStreamIdInfo audioStreamId\n * @property {string|null} [attendeeId] SdkAudioStreamIdInfo attendeeId\n * @property {boolean|null} [muted] SdkAudioStreamIdInfo muted\n * @property {string|null} [externalUserId] SdkAudioStreamIdInfo externalUserId\n * @property {boolean|null} [dropped] SdkAudioStreamIdInfo dropped\n */\n\n /**\n * Constructs a new SdkAudioStreamIdInfo.\n * @exports SdkAudioStreamIdInfo\n * @classdesc Represents a SdkAudioStreamIdInfo.\n * @implements ISdkAudioStreamIdInfo\n * @constructor\n * @param {ISdkAudioStreamIdInfo=} [properties] Properties to set\n */\n function SdkAudioStreamIdInfo(properties) {\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkAudioStreamIdInfo audioStreamId.\n * @member {number} audioStreamId\n * @memberof SdkAudioStreamIdInfo\n * @instance\n */\n SdkAudioStreamIdInfo.prototype.audioStreamId = 0;\n\n /**\n * SdkAudioStreamIdInfo attendeeId.\n * @member {string} attendeeId\n * @memberof SdkAudioStreamIdInfo\n * @instance\n */\n SdkAudioStreamIdInfo.prototype.attendeeId = "";\n\n /**\n * SdkAudioStreamIdInfo muted.\n * @member {boolean} muted\n * @memberof SdkAudioStreamIdInfo\n * @instance\n */\n SdkAudioStreamIdInfo.prototype.muted = false;\n\n /**\n * SdkAudioStreamIdInfo externalUserId.\n * @member {string} externalUserId\n * @memberof SdkAudioStreamIdInfo\n * @instance\n */\n SdkAudioStreamIdInfo.prototype.externalUserId = "";\n\n /**\n * SdkAudioStreamIdInfo dropped.\n * @member {boolean} dropped\n * @memberof SdkAudioStreamIdInfo\n * @instance\n */\n SdkAudioStreamIdInfo.prototype.dropped = false;\n\n /**\n * Creates a new SdkAudioStreamIdInfo instance using the specified properties.\n * @function create\n * @memberof SdkAudioStreamIdInfo\n * @static\n * @param {ISdkAudioStreamIdInfo=} [properties] Properties to set\n * @returns {SdkAudioStreamIdInfo} SdkAudioStreamIdInfo instance\n */\n SdkAudioStreamIdInfo.create = function create(properties) {\n return new SdkAudioStreamIdInfo(properties);\n };\n\n /**\n * Encodes the specified SdkAudioStreamIdInfo message. Does not implicitly {@link SdkAudioStreamIdInfo.verify|verify} messages.\n * @function encode\n * @memberof SdkAudioStreamIdInfo\n * @static\n * @param {ISdkAudioStreamIdInfo} message SdkAudioStreamIdInfo message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkAudioStreamIdInfo.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.audioStreamId != null && Object.hasOwnProperty.call(message, "audioStreamId"))\n writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.audioStreamId);\n if (message.attendeeId != null && Object.hasOwnProperty.call(message, "attendeeId"))\n writer.uint32(/* id 2, wireType 2 =*/18).string(message.attendeeId);\n if (message.muted != null && Object.hasOwnProperty.call(message, "muted"))\n writer.uint32(/* id 3, wireType 0 =*/24).bool(message.muted);\n if (message.externalUserId != null && Object.hasOwnProperty.call(message, "externalUserId"))\n writer.uint32(/* id 4, wireType 2 =*/34).string(message.externalUserId);\n if (message.dropped != null && Object.hasOwnProperty.call(message, "dropped"))\n writer.uint32(/* id 5, wireType 0 =*/40).bool(message.dropped);\n return writer;\n };\n\n /**\n * Encodes the specified SdkAudioStreamIdInfo message, length delimited. Does not implicitly {@link SdkAudioStreamIdInfo.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkAudioStreamIdInfo\n * @static\n * @param {ISdkAudioStreamIdInfo} message SdkAudioStreamIdInfo message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkAudioStreamIdInfo.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkAudioStreamIdInfo message from the specified reader or buffer.\n * @function decode\n * @memberof SdkAudioStreamIdInfo\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkAudioStreamIdInfo} SdkAudioStreamIdInfo\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkAudioStreamIdInfo.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkAudioStreamIdInfo();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.audioStreamId = reader.uint32();\n break;\n case 2:\n message.attendeeId = reader.string();\n break;\n case 3:\n message.muted = reader.bool();\n break;\n case 4:\n message.externalUserId = reader.string();\n break;\n case 5:\n message.dropped = reader.bool();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkAudioStreamIdInfo message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkAudioStreamIdInfo\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkAudioStreamIdInfo} SdkAudioStreamIdInfo\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkAudioStreamIdInfo.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkAudioStreamIdInfo message.\n * @function verify\n * @memberof SdkAudioStreamIdInfo\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkAudioStreamIdInfo.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.audioStreamId != null && message.hasOwnProperty("audioStreamId"))\n if (!$util.isInteger(message.audioStreamId))\n return "audioStreamId: integer expected";\n if (message.attendeeId != null && message.hasOwnProperty("attendeeId"))\n if (!$util.isString(message.attendeeId))\n return "attendeeId: string expected";\n if (message.muted != null && message.hasOwnProperty("muted"))\n if (typeof message.muted !== "boolean")\n return "muted: boolean expected";\n if (message.externalUserId != null && message.hasOwnProperty("externalUserId"))\n if (!$util.isString(message.externalUserId))\n return "externalUserId: string expected";\n if (message.dropped != null && message.hasOwnProperty("dropped"))\n if (typeof message.dropped !== "boolean")\n return "dropped: boolean expected";\n return null;\n };\n\n /**\n * Creates a SdkAudioStreamIdInfo message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkAudioStreamIdInfo\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkAudioStreamIdInfo} SdkAudioStreamIdInfo\n */\n SdkAudioStreamIdInfo.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkAudioStreamIdInfo)\n return object;\n var message = new $root.SdkAudioStreamIdInfo();\n if (object.audioStreamId != null)\n message.audioStreamId = object.audioStreamId >>> 0;\n if (object.attendeeId != null)\n message.attendeeId = String(object.attendeeId);\n if (object.muted != null)\n message.muted = Boolean(object.muted);\n if (object.externalUserId != null)\n message.externalUserId = String(object.externalUserId);\n if (object.dropped != null)\n message.dropped = Boolean(object.dropped);\n return message;\n };\n\n /**\n * Creates a plain object from a SdkAudioStreamIdInfo message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkAudioStreamIdInfo\n * @static\n * @param {SdkAudioStreamIdInfo} message SdkAudioStreamIdInfo\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkAudioStreamIdInfo.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.defaults) {\n object.audioStreamId = 0;\n object.attendeeId = "";\n object.muted = false;\n object.externalUserId = "";\n object.dropped = false;\n }\n if (message.audioStreamId != null && message.hasOwnProperty("audioStreamId"))\n object.audioStreamId = message.audioStreamId;\n if (message.attendeeId != null && message.hasOwnProperty("attendeeId"))\n object.attendeeId = message.attendeeId;\n if (message.muted != null && message.hasOwnProperty("muted"))\n object.muted = message.muted;\n if (message.externalUserId != null && message.hasOwnProperty("externalUserId"))\n object.externalUserId = message.externalUserId;\n if (message.dropped != null && message.hasOwnProperty("dropped"))\n object.dropped = message.dropped;\n return object;\n };\n\n /**\n * Converts this SdkAudioStreamIdInfo to JSON.\n * @function toJSON\n * @memberof SdkAudioStreamIdInfo\n * @instance\n * @returns {Object.} JSON object\n */\n SdkAudioStreamIdInfo.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkAudioStreamIdInfo;\n})();\n\n/**\n * SdkPingPongType enum.\n * @exports SdkPingPongType\n * @enum {number}\n * @property {number} PING=1 PING value\n * @property {number} PONG=2 PONG value\n */\n$root.SdkPingPongType = (function() {\n var valuesById = {}, values = Object.create(valuesById);\n values[valuesById[1] = "PING"] = 1;\n values[valuesById[2] = "PONG"] = 2;\n return values;\n})();\n\n$root.SdkPingPongFrame = (function() {\n\n /**\n * Properties of a SdkPingPongFrame.\n * @exports ISdkPingPongFrame\n * @interface ISdkPingPongFrame\n * @property {SdkPingPongType} type SdkPingPongFrame type\n * @property {number} pingId SdkPingPongFrame pingId\n */\n\n /**\n * Constructs a new SdkPingPongFrame.\n * @exports SdkPingPongFrame\n * @classdesc Represents a SdkPingPongFrame.\n * @implements ISdkPingPongFrame\n * @constructor\n * @param {ISdkPingPongFrame=} [properties] Properties to set\n */\n function SdkPingPongFrame(properties) {\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkPingPongFrame type.\n * @member {SdkPingPongType} type\n * @memberof SdkPingPongFrame\n * @instance\n */\n SdkPingPongFrame.prototype.type = 1;\n\n /**\n * SdkPingPongFrame pingId.\n * @member {number} pingId\n * @memberof SdkPingPongFrame\n * @instance\n */\n SdkPingPongFrame.prototype.pingId = 0;\n\n /**\n * Creates a new SdkPingPongFrame instance using the specified properties.\n * @function create\n * @memberof SdkPingPongFrame\n * @static\n * @param {ISdkPingPongFrame=} [properties] Properties to set\n * @returns {SdkPingPongFrame} SdkPingPongFrame instance\n */\n SdkPingPongFrame.create = function create(properties) {\n return new SdkPingPongFrame(properties);\n };\n\n /**\n * Encodes the specified SdkPingPongFrame message. Does not implicitly {@link SdkPingPongFrame.verify|verify} messages.\n * @function encode\n * @memberof SdkPingPongFrame\n * @static\n * @param {ISdkPingPongFrame} message SdkPingPongFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkPingPongFrame.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n writer.uint32(/* id 1, wireType 0 =*/8).int32(message.type);\n writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.pingId);\n return writer;\n };\n\n /**\n * Encodes the specified SdkPingPongFrame message, length delimited. Does not implicitly {@link SdkPingPongFrame.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkPingPongFrame\n * @static\n * @param {ISdkPingPongFrame} message SdkPingPongFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkPingPongFrame.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkPingPongFrame message from the specified reader or buffer.\n * @function decode\n * @memberof SdkPingPongFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkPingPongFrame} SdkPingPongFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkPingPongFrame.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkPingPongFrame();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.type = reader.int32();\n break;\n case 2:\n message.pingId = reader.uint32();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n if (!message.hasOwnProperty("type"))\n throw $util.ProtocolError("missing required \'type\'", { instance: message });\n if (!message.hasOwnProperty("pingId"))\n throw $util.ProtocolError("missing required \'pingId\'", { instance: message });\n return message;\n };\n\n /**\n * Decodes a SdkPingPongFrame message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkPingPongFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkPingPongFrame} SdkPingPongFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkPingPongFrame.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkPingPongFrame message.\n * @function verify\n * @memberof SdkPingPongFrame\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkPingPongFrame.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n switch (message.type) {\n default:\n return "type: enum value expected";\n case 1:\n case 2:\n break;\n }\n if (!$util.isInteger(message.pingId))\n return "pingId: integer expected";\n return null;\n };\n\n /**\n * Creates a SdkPingPongFrame message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkPingPongFrame\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkPingPongFrame} SdkPingPongFrame\n */\n SdkPingPongFrame.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkPingPongFrame)\n return object;\n var message = new $root.SdkPingPongFrame();\n switch (object.type) {\n case "PING":\n case 1:\n message.type = 1;\n break;\n case "PONG":\n case 2:\n message.type = 2;\n break;\n }\n if (object.pingId != null)\n message.pingId = object.pingId >>> 0;\n return message;\n };\n\n /**\n * Creates a plain object from a SdkPingPongFrame message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkPingPongFrame\n * @static\n * @param {SdkPingPongFrame} message SdkPingPongFrame\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkPingPongFrame.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.defaults) {\n object.type = options.enums === String ? "PING" : 1;\n object.pingId = 0;\n }\n if (message.type != null && message.hasOwnProperty("type"))\n object.type = options.enums === String ? $root.SdkPingPongType[message.type] : message.type;\n if (message.pingId != null && message.hasOwnProperty("pingId"))\n object.pingId = message.pingId;\n return object;\n };\n\n /**\n * Converts this SdkPingPongFrame to JSON.\n * @function toJSON\n * @memberof SdkPingPongFrame\n * @instance\n * @returns {Object.} JSON object\n */\n SdkPingPongFrame.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkPingPongFrame;\n})();\n\n$root.SdkAudioStatusFrame = (function() {\n\n /**\n * Properties of a SdkAudioStatusFrame.\n * @exports ISdkAudioStatusFrame\n * @interface ISdkAudioStatusFrame\n * @property {number|null} [audioStatus] SdkAudioStatusFrame audioStatus\n */\n\n /**\n * Constructs a new SdkAudioStatusFrame.\n * @exports SdkAudioStatusFrame\n * @classdesc Represents a SdkAudioStatusFrame.\n * @implements ISdkAudioStatusFrame\n * @constructor\n * @param {ISdkAudioStatusFrame=} [properties] Properties to set\n */\n function SdkAudioStatusFrame(properties) {\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkAudioStatusFrame audioStatus.\n * @member {number} audioStatus\n * @memberof SdkAudioStatusFrame\n * @instance\n */\n SdkAudioStatusFrame.prototype.audioStatus = 0;\n\n /**\n * Creates a new SdkAudioStatusFrame instance using the specified properties.\n * @function create\n * @memberof SdkAudioStatusFrame\n * @static\n * @param {ISdkAudioStatusFrame=} [properties] Properties to set\n * @returns {SdkAudioStatusFrame} SdkAudioStatusFrame instance\n */\n SdkAudioStatusFrame.create = function create(properties) {\n return new SdkAudioStatusFrame(properties);\n };\n\n /**\n * Encodes the specified SdkAudioStatusFrame message. Does not implicitly {@link SdkAudioStatusFrame.verify|verify} messages.\n * @function encode\n * @memberof SdkAudioStatusFrame\n * @static\n * @param {ISdkAudioStatusFrame} message SdkAudioStatusFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkAudioStatusFrame.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.audioStatus != null && Object.hasOwnProperty.call(message, "audioStatus"))\n writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.audioStatus);\n return writer;\n };\n\n /**\n * Encodes the specified SdkAudioStatusFrame message, length delimited. Does not implicitly {@link SdkAudioStatusFrame.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkAudioStatusFrame\n * @static\n * @param {ISdkAudioStatusFrame} message SdkAudioStatusFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkAudioStatusFrame.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkAudioStatusFrame message from the specified reader or buffer.\n * @function decode\n * @memberof SdkAudioStatusFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkAudioStatusFrame} SdkAudioStatusFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkAudioStatusFrame.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkAudioStatusFrame();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.audioStatus = reader.uint32();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkAudioStatusFrame message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkAudioStatusFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkAudioStatusFrame} SdkAudioStatusFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkAudioStatusFrame.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkAudioStatusFrame message.\n * @function verify\n * @memberof SdkAudioStatusFrame\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkAudioStatusFrame.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.audioStatus != null && message.hasOwnProperty("audioStatus"))\n if (!$util.isInteger(message.audioStatus))\n return "audioStatus: integer expected";\n return null;\n };\n\n /**\n * Creates a SdkAudioStatusFrame message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkAudioStatusFrame\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkAudioStatusFrame} SdkAudioStatusFrame\n */\n SdkAudioStatusFrame.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkAudioStatusFrame)\n return object;\n var message = new $root.SdkAudioStatusFrame();\n if (object.audioStatus != null)\n message.audioStatus = object.audioStatus >>> 0;\n return message;\n };\n\n /**\n * Creates a plain object from a SdkAudioStatusFrame message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkAudioStatusFrame\n * @static\n * @param {SdkAudioStatusFrame} message SdkAudioStatusFrame\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkAudioStatusFrame.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.defaults)\n object.audioStatus = 0;\n if (message.audioStatus != null && message.hasOwnProperty("audioStatus"))\n object.audioStatus = message.audioStatus;\n return object;\n };\n\n /**\n * Converts this SdkAudioStatusFrame to JSON.\n * @function toJSON\n * @memberof SdkAudioStatusFrame\n * @instance\n * @returns {Object.} JSON object\n */\n SdkAudioStatusFrame.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkAudioStatusFrame;\n})();\n\n$root.SdkMetric = (function() {\n\n /**\n * Properties of a SdkMetric.\n * @exports ISdkMetric\n * @interface ISdkMetric\n * @property {SdkMetric.Type|null} [type] SdkMetric type\n * @property {number|null} [value] SdkMetric value\n */\n\n /**\n * Constructs a new SdkMetric.\n * @exports SdkMetric\n * @classdesc Represents a SdkMetric.\n * @implements ISdkMetric\n * @constructor\n * @param {ISdkMetric=} [properties] Properties to set\n */\n function SdkMetric(properties) {\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkMetric type.\n * @member {SdkMetric.Type} type\n * @memberof SdkMetric\n * @instance\n */\n SdkMetric.prototype.type = 1;\n\n /**\n * SdkMetric value.\n * @member {number} value\n * @memberof SdkMetric\n * @instance\n */\n SdkMetric.prototype.value = 0;\n\n /**\n * Creates a new SdkMetric instance using the specified properties.\n * @function create\n * @memberof SdkMetric\n * @static\n * @param {ISdkMetric=} [properties] Properties to set\n * @returns {SdkMetric} SdkMetric instance\n */\n SdkMetric.create = function create(properties) {\n return new SdkMetric(properties);\n };\n\n /**\n * Encodes the specified SdkMetric message. Does not implicitly {@link SdkMetric.verify|verify} messages.\n * @function encode\n * @memberof SdkMetric\n * @static\n * @param {ISdkMetric} message SdkMetric message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkMetric.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.type != null && Object.hasOwnProperty.call(message, "type"))\n writer.uint32(/* id 1, wireType 0 =*/8).int32(message.type);\n if (message.value != null && Object.hasOwnProperty.call(message, "value"))\n writer.uint32(/* id 2, wireType 1 =*/17).double(message.value);\n return writer;\n };\n\n /**\n * Encodes the specified SdkMetric message, length delimited. Does not implicitly {@link SdkMetric.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkMetric\n * @static\n * @param {ISdkMetric} message SdkMetric message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkMetric.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkMetric message from the specified reader or buffer.\n * @function decode\n * @memberof SdkMetric\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkMetric} SdkMetric\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkMetric.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkMetric();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.type = reader.int32();\n break;\n case 2:\n message.value = reader.double();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkMetric message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkMetric\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkMetric} SdkMetric\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkMetric.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkMetric message.\n * @function verify\n * @memberof SdkMetric\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkMetric.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.type != null && message.hasOwnProperty("type"))\n switch (message.type) {\n default:\n return "type: enum value expected";\n case 1:\n case 2:\n case 3:\n case 4:\n case 5:\n case 6:\n case 7:\n case 8:\n case 9:\n case 10:\n case 11:\n case 12:\n case 13:\n case 14:\n case 15:\n case 16:\n case 17:\n case 18:\n case 19:\n case 20:\n case 21:\n case 22:\n case 23:\n case 24:\n case 25:\n case 26:\n case 27:\n case 28:\n case 29:\n case 30:\n case 31:\n case 32:\n case 33:\n case 34:\n case 35:\n case 36:\n case 37:\n case 38:\n case 39:\n case 40:\n case 41:\n case 42:\n case 43:\n case 44:\n case 45:\n case 46:\n case 47:\n case 48:\n case 49:\n case 64:\n case 66:\n case 69:\n case 72:\n case 86:\n case 87:\n case 88:\n case 89:\n break;\n }\n if (message.value != null && message.hasOwnProperty("value"))\n if (typeof message.value !== "number")\n return "value: number expected";\n return null;\n };\n\n /**\n * Creates a SdkMetric message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkMetric\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkMetric} SdkMetric\n */\n SdkMetric.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkMetric)\n return object;\n var message = new $root.SdkMetric();\n switch (object.type) {\n case "VIDEO_ACTUAL_ENCODER_BITRATE":\n case 1:\n message.type = 1;\n break;\n case "VIDEO_AVAILABLE_SEND_BANDWIDTH":\n case 2:\n message.type = 2;\n break;\n case "VIDEO_RETRANSMIT_BITRATE":\n case 3:\n message.type = 3;\n break;\n case "VIDEO_AVAILABLE_RECEIVE_BANDWIDTH":\n case 4:\n message.type = 4;\n break;\n case "VIDEO_TARGET_ENCODER_BITRATE":\n case 5:\n message.type = 5;\n break;\n case "VIDEO_BUCKET_DELAY_MS":\n case 6:\n message.type = 6;\n break;\n case "STUN_RTT_MS":\n case 7:\n message.type = 7;\n break;\n case "SOCKET_DISCARDED_PPS":\n case 8:\n message.type = 8;\n break;\n case "RTC_MIC_JITTER_MS":\n case 9:\n message.type = 9;\n break;\n case "RTC_MIC_PPS":\n case 10:\n message.type = 10;\n break;\n case "RTC_MIC_FRACTION_PACKET_LOST_PERCENT":\n case 11:\n message.type = 11;\n break;\n case "RTC_MIC_BITRATE":\n case 12:\n message.type = 12;\n break;\n case "RTC_MIC_RTT_MS":\n case 13:\n message.type = 13;\n break;\n case "RTC_SPK_PPS":\n case 14:\n message.type = 14;\n break;\n case "RTC_SPK_FRACTION_PACKET_LOST_PERCENT":\n case 15:\n message.type = 15;\n break;\n case "RTC_SPK_JITTER_MS":\n case 16:\n message.type = 16;\n break;\n case "RTC_SPK_FRACTION_DECODER_LOSS_PERCENT":\n case 17:\n message.type = 17;\n break;\n case "RTC_SPK_BITRATE":\n case 18:\n message.type = 18;\n break;\n case "RTC_SPK_CURRENT_DELAY_MS":\n case 19:\n message.type = 19;\n break;\n case "RTC_SPK_JITTER_BUFFER_MS":\n case 20:\n message.type = 20;\n break;\n case "VIDEO_SENT_RTT_MS":\n case 21:\n message.type = 21;\n break;\n case "VIDEO_ENCODE_USAGE_PERCENT":\n case 22:\n message.type = 22;\n break;\n case "VIDEO_NACKS_RECEIVED":\n case 23:\n message.type = 23;\n break;\n case "VIDEO_PLIS_RECEIVED":\n case 24:\n message.type = 24;\n break;\n case "VIDEO_ENCODE_MS":\n case 25:\n message.type = 25;\n break;\n case "VIDEO_INPUT_FPS":\n case 26:\n message.type = 26;\n break;\n case "VIDEO_ENCODE_FPS":\n case 27:\n message.type = 27;\n break;\n case "VIDEO_SENT_FPS":\n case 28:\n message.type = 28;\n break;\n case "VIDEO_FIRS_RECEIVED":\n case 29:\n message.type = 29;\n break;\n case "VIDEO_SENT_PPS":\n case 30:\n message.type = 30;\n break;\n case "VIDEO_SENT_FRACTION_PACKET_LOST_PERCENT":\n case 31:\n message.type = 31;\n break;\n case "VIDEO_SENT_BITRATE":\n case 32:\n message.type = 32;\n break;\n case "VIDEO_DROPPED_FPS":\n case 33:\n message.type = 33;\n break;\n case "VIDEO_TARGET_DELAY_MS":\n case 34:\n message.type = 34;\n break;\n case "VIDEO_DECODE_MS":\n case 35:\n message.type = 35;\n break;\n case "VIDEO_OUTPUT_FPS":\n case 36:\n message.type = 36;\n break;\n case "VIDEO_RECEIVED_PPS":\n case 37:\n message.type = 37;\n break;\n case "VIDEO_RECEIVED_FRACTION_PACKET_LOST_PERCENT":\n case 38:\n message.type = 38;\n break;\n case "VIDEO_RENDER_DELAY_MS":\n case 39:\n message.type = 39;\n break;\n case "VIDEO_RECEIVED_FPS":\n case 40:\n message.type = 40;\n break;\n case "VIDEO_DECODE_FPS":\n case 41:\n message.type = 41;\n break;\n case "VIDEO_NACKS_SENT":\n case 42:\n message.type = 42;\n break;\n case "VIDEO_FIRS_SENT":\n case 43:\n message.type = 43;\n break;\n case "VIDEO_RECEIVED_BITRATE":\n case 44:\n message.type = 44;\n break;\n case "VIDEO_CURRENT_DELAY_MS":\n case 45:\n message.type = 45;\n break;\n case "VIDEO_JITTER_BUFFER_MS":\n case 46:\n message.type = 46;\n break;\n case "VIDEO_DISCARDED_PPS":\n case 47:\n message.type = 47;\n break;\n case "VIDEO_PLIS_SENT":\n case 48:\n message.type = 48;\n break;\n case "VIDEO_RECEIVED_JITTER_MS":\n case 49:\n message.type = 49;\n break;\n case "VIDEO_ENCODE_HEIGHT":\n case 64:\n message.type = 64;\n break;\n case "VIDEO_SENT_QP_SUM":\n case 66:\n message.type = 66;\n break;\n case "VIDEO_DECODE_HEIGHT":\n case 69:\n message.type = 69;\n break;\n case "VIDEO_RECEIVED_QP_SUM":\n case 72:\n message.type = 72;\n break;\n case "VIDEO_ENCODE_WIDTH":\n case 86:\n message.type = 86;\n break;\n case "VIDEO_DECODE_WIDTH":\n case 87:\n message.type = 87;\n break;\n case "VIDEO_ENCODER_IS_HARDWARE":\n case 88:\n message.type = 88;\n break;\n case "VIDEO_DECODER_IS_HARDWARE":\n case 89:\n message.type = 89;\n break;\n }\n if (object.value != null)\n message.value = Number(object.value);\n return message;\n };\n\n /**\n * Creates a plain object from a SdkMetric message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkMetric\n * @static\n * @param {SdkMetric} message SdkMetric\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkMetric.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.defaults) {\n object.type = options.enums === String ? "VIDEO_ACTUAL_ENCODER_BITRATE" : 1;\n object.value = 0;\n }\n if (message.type != null && message.hasOwnProperty("type"))\n object.type = options.enums === String ? $root.SdkMetric.Type[message.type] : message.type;\n if (message.value != null && message.hasOwnProperty("value"))\n object.value = options.json && !isFinite(message.value) ? String(message.value) : message.value;\n return object;\n };\n\n /**\n * Converts this SdkMetric to JSON.\n * @function toJSON\n * @memberof SdkMetric\n * @instance\n * @returns {Object.} JSON object\n */\n SdkMetric.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n /**\n * Type enum.\n * @name SdkMetric.Type\n * @enum {number}\n * @property {number} VIDEO_ACTUAL_ENCODER_BITRATE=1 VIDEO_ACTUAL_ENCODER_BITRATE value\n * @property {number} VIDEO_AVAILABLE_SEND_BANDWIDTH=2 VIDEO_AVAILABLE_SEND_BANDWIDTH value\n * @property {number} VIDEO_RETRANSMIT_BITRATE=3 VIDEO_RETRANSMIT_BITRATE value\n * @property {number} VIDEO_AVAILABLE_RECEIVE_BANDWIDTH=4 VIDEO_AVAILABLE_RECEIVE_BANDWIDTH value\n * @property {number} VIDEO_TARGET_ENCODER_BITRATE=5 VIDEO_TARGET_ENCODER_BITRATE value\n * @property {number} VIDEO_BUCKET_DELAY_MS=6 VIDEO_BUCKET_DELAY_MS value\n * @property {number} STUN_RTT_MS=7 STUN_RTT_MS value\n * @property {number} SOCKET_DISCARDED_PPS=8 SOCKET_DISCARDED_PPS value\n * @property {number} RTC_MIC_JITTER_MS=9 RTC_MIC_JITTER_MS value\n * @property {number} RTC_MIC_PPS=10 RTC_MIC_PPS value\n * @property {number} RTC_MIC_FRACTION_PACKET_LOST_PERCENT=11 RTC_MIC_FRACTION_PACKET_LOST_PERCENT value\n * @property {number} RTC_MIC_BITRATE=12 RTC_MIC_BITRATE value\n * @property {number} RTC_MIC_RTT_MS=13 RTC_MIC_RTT_MS value\n * @property {number} RTC_SPK_PPS=14 RTC_SPK_PPS value\n * @property {number} RTC_SPK_FRACTION_PACKET_LOST_PERCENT=15 RTC_SPK_FRACTION_PACKET_LOST_PERCENT value\n * @property {number} RTC_SPK_JITTER_MS=16 RTC_SPK_JITTER_MS value\n * @property {number} RTC_SPK_FRACTION_DECODER_LOSS_PERCENT=17 RTC_SPK_FRACTION_DECODER_LOSS_PERCENT value\n * @property {number} RTC_SPK_BITRATE=18 RTC_SPK_BITRATE value\n * @property {number} RTC_SPK_CURRENT_DELAY_MS=19 RTC_SPK_CURRENT_DELAY_MS value\n * @property {number} RTC_SPK_JITTER_BUFFER_MS=20 RTC_SPK_JITTER_BUFFER_MS value\n * @property {number} VIDEO_SENT_RTT_MS=21 VIDEO_SENT_RTT_MS value\n * @property {number} VIDEO_ENCODE_USAGE_PERCENT=22 VIDEO_ENCODE_USAGE_PERCENT value\n * @property {number} VIDEO_NACKS_RECEIVED=23 VIDEO_NACKS_RECEIVED value\n * @property {number} VIDEO_PLIS_RECEIVED=24 VIDEO_PLIS_RECEIVED value\n * @property {number} VIDEO_ENCODE_MS=25 VIDEO_ENCODE_MS value\n * @property {number} VIDEO_INPUT_FPS=26 VIDEO_INPUT_FPS value\n * @property {number} VIDEO_ENCODE_FPS=27 VIDEO_ENCODE_FPS value\n * @property {number} VIDEO_SENT_FPS=28 VIDEO_SENT_FPS value\n * @property {number} VIDEO_FIRS_RECEIVED=29 VIDEO_FIRS_RECEIVED value\n * @property {number} VIDEO_SENT_PPS=30 VIDEO_SENT_PPS value\n * @property {number} VIDEO_SENT_FRACTION_PACKET_LOST_PERCENT=31 VIDEO_SENT_FRACTION_PACKET_LOST_PERCENT value\n * @property {number} VIDEO_SENT_BITRATE=32 VIDEO_SENT_BITRATE value\n * @property {number} VIDEO_DROPPED_FPS=33 VIDEO_DROPPED_FPS value\n * @property {number} VIDEO_TARGET_DELAY_MS=34 VIDEO_TARGET_DELAY_MS value\n * @property {number} VIDEO_DECODE_MS=35 VIDEO_DECODE_MS value\n * @property {number} VIDEO_OUTPUT_FPS=36 VIDEO_OUTPUT_FPS value\n * @property {number} VIDEO_RECEIVED_PPS=37 VIDEO_RECEIVED_PPS value\n * @property {number} VIDEO_RECEIVED_FRACTION_PACKET_LOST_PERCENT=38 VIDEO_RECEIVED_FRACTION_PACKET_LOST_PERCENT value\n * @property {number} VIDEO_RENDER_DELAY_MS=39 VIDEO_RENDER_DELAY_MS value\n * @property {number} VIDEO_RECEIVED_FPS=40 VIDEO_RECEIVED_FPS value\n * @property {number} VIDEO_DECODE_FPS=41 VIDEO_DECODE_FPS value\n * @property {number} VIDEO_NACKS_SENT=42 VIDEO_NACKS_SENT value\n * @property {number} VIDEO_FIRS_SENT=43 VIDEO_FIRS_SENT value\n * @property {number} VIDEO_RECEIVED_BITRATE=44 VIDEO_RECEIVED_BITRATE value\n * @property {number} VIDEO_CURRENT_DELAY_MS=45 VIDEO_CURRENT_DELAY_MS value\n * @property {number} VIDEO_JITTER_BUFFER_MS=46 VIDEO_JITTER_BUFFER_MS value\n * @property {number} VIDEO_DISCARDED_PPS=47 VIDEO_DISCARDED_PPS value\n * @property {number} VIDEO_PLIS_SENT=48 VIDEO_PLIS_SENT value\n * @property {number} VIDEO_RECEIVED_JITTER_MS=49 VIDEO_RECEIVED_JITTER_MS value\n * @property {number} VIDEO_ENCODE_HEIGHT=64 VIDEO_ENCODE_HEIGHT value\n * @property {number} VIDEO_SENT_QP_SUM=66 VIDEO_SENT_QP_SUM value\n * @property {number} VIDEO_DECODE_HEIGHT=69 VIDEO_DECODE_HEIGHT value\n * @property {number} VIDEO_RECEIVED_QP_SUM=72 VIDEO_RECEIVED_QP_SUM value\n * @property {number} VIDEO_ENCODE_WIDTH=86 VIDEO_ENCODE_WIDTH value\n * @property {number} VIDEO_DECODE_WIDTH=87 VIDEO_DECODE_WIDTH value\n * @property {number} VIDEO_ENCODER_IS_HARDWARE=88 VIDEO_ENCODER_IS_HARDWARE value\n * @property {number} VIDEO_DECODER_IS_HARDWARE=89 VIDEO_DECODER_IS_HARDWARE value\n */\n SdkMetric.Type = (function() {\n var valuesById = {}, values = Object.create(valuesById);\n values[valuesById[1] = "VIDEO_ACTUAL_ENCODER_BITRATE"] = 1;\n values[valuesById[2] = "VIDEO_AVAILABLE_SEND_BANDWIDTH"] = 2;\n values[valuesById[3] = "VIDEO_RETRANSMIT_BITRATE"] = 3;\n values[valuesById[4] = "VIDEO_AVAILABLE_RECEIVE_BANDWIDTH"] = 4;\n values[valuesById[5] = "VIDEO_TARGET_ENCODER_BITRATE"] = 5;\n values[valuesById[6] = "VIDEO_BUCKET_DELAY_MS"] = 6;\n values[valuesById[7] = "STUN_RTT_MS"] = 7;\n values[valuesById[8] = "SOCKET_DISCARDED_PPS"] = 8;\n values[valuesById[9] = "RTC_MIC_JITTER_MS"] = 9;\n values[valuesById[10] = "RTC_MIC_PPS"] = 10;\n values[valuesById[11] = "RTC_MIC_FRACTION_PACKET_LOST_PERCENT"] = 11;\n values[valuesById[12] = "RTC_MIC_BITRATE"] = 12;\n values[valuesById[13] = "RTC_MIC_RTT_MS"] = 13;\n values[valuesById[14] = "RTC_SPK_PPS"] = 14;\n values[valuesById[15] = "RTC_SPK_FRACTION_PACKET_LOST_PERCENT"] = 15;\n values[valuesById[16] = "RTC_SPK_JITTER_MS"] = 16;\n values[valuesById[17] = "RTC_SPK_FRACTION_DECODER_LOSS_PERCENT"] = 17;\n values[valuesById[18] = "RTC_SPK_BITRATE"] = 18;\n values[valuesById[19] = "RTC_SPK_CURRENT_DELAY_MS"] = 19;\n values[valuesById[20] = "RTC_SPK_JITTER_BUFFER_MS"] = 20;\n values[valuesById[21] = "VIDEO_SENT_RTT_MS"] = 21;\n values[valuesById[22] = "VIDEO_ENCODE_USAGE_PERCENT"] = 22;\n values[valuesById[23] = "VIDEO_NACKS_RECEIVED"] = 23;\n values[valuesById[24] = "VIDEO_PLIS_RECEIVED"] = 24;\n values[valuesById[25] = "VIDEO_ENCODE_MS"] = 25;\n values[valuesById[26] = "VIDEO_INPUT_FPS"] = 26;\n values[valuesById[27] = "VIDEO_ENCODE_FPS"] = 27;\n values[valuesById[28] = "VIDEO_SENT_FPS"] = 28;\n values[valuesById[29] = "VIDEO_FIRS_RECEIVED"] = 29;\n values[valuesById[30] = "VIDEO_SENT_PPS"] = 30;\n values[valuesById[31] = "VIDEO_SENT_FRACTION_PACKET_LOST_PERCENT"] = 31;\n values[valuesById[32] = "VIDEO_SENT_BITRATE"] = 32;\n values[valuesById[33] = "VIDEO_DROPPED_FPS"] = 33;\n values[valuesById[34] = "VIDEO_TARGET_DELAY_MS"] = 34;\n values[valuesById[35] = "VIDEO_DECODE_MS"] = 35;\n values[valuesById[36] = "VIDEO_OUTPUT_FPS"] = 36;\n values[valuesById[37] = "VIDEO_RECEIVED_PPS"] = 37;\n values[valuesById[38] = "VIDEO_RECEIVED_FRACTION_PACKET_LOST_PERCENT"] = 38;\n values[valuesById[39] = "VIDEO_RENDER_DELAY_MS"] = 39;\n values[valuesById[40] = "VIDEO_RECEIVED_FPS"] = 40;\n values[valuesById[41] = "VIDEO_DECODE_FPS"] = 41;\n values[valuesById[42] = "VIDEO_NACKS_SENT"] = 42;\n values[valuesById[43] = "VIDEO_FIRS_SENT"] = 43;\n values[valuesById[44] = "VIDEO_RECEIVED_BITRATE"] = 44;\n values[valuesById[45] = "VIDEO_CURRENT_DELAY_MS"] = 45;\n values[valuesById[46] = "VIDEO_JITTER_BUFFER_MS"] = 46;\n values[valuesById[47] = "VIDEO_DISCARDED_PPS"] = 47;\n values[valuesById[48] = "VIDEO_PLIS_SENT"] = 48;\n values[valuesById[49] = "VIDEO_RECEIVED_JITTER_MS"] = 49;\n values[valuesById[64] = "VIDEO_ENCODE_HEIGHT"] = 64;\n values[valuesById[66] = "VIDEO_SENT_QP_SUM"] = 66;\n values[valuesById[69] = "VIDEO_DECODE_HEIGHT"] = 69;\n values[valuesById[72] = "VIDEO_RECEIVED_QP_SUM"] = 72;\n values[valuesById[86] = "VIDEO_ENCODE_WIDTH"] = 86;\n values[valuesById[87] = "VIDEO_DECODE_WIDTH"] = 87;\n values[valuesById[88] = "VIDEO_ENCODER_IS_HARDWARE"] = 88;\n values[valuesById[89] = "VIDEO_DECODER_IS_HARDWARE"] = 89;\n return values;\n })();\n\n return SdkMetric;\n})();\n\n$root.SdkStreamMetricFrame = (function() {\n\n /**\n * Properties of a SdkStreamMetricFrame.\n * @exports ISdkStreamMetricFrame\n * @interface ISdkStreamMetricFrame\n * @property {number|null} [streamId] SdkStreamMetricFrame streamId\n * @property {number|null} [groupId] SdkStreamMetricFrame groupId\n * @property {Array.|null} [metrics] SdkStreamMetricFrame metrics\n * @property {Array.|null} [dimensions] SdkStreamMetricFrame dimensions\n */\n\n /**\n * Constructs a new SdkStreamMetricFrame.\n * @exports SdkStreamMetricFrame\n * @classdesc Represents a SdkStreamMetricFrame.\n * @implements ISdkStreamMetricFrame\n * @constructor\n * @param {ISdkStreamMetricFrame=} [properties] Properties to set\n */\n function SdkStreamMetricFrame(properties) {\n this.metrics = [];\n this.dimensions = [];\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkStreamMetricFrame streamId.\n * @member {number} streamId\n * @memberof SdkStreamMetricFrame\n * @instance\n */\n SdkStreamMetricFrame.prototype.streamId = 0;\n\n /**\n * SdkStreamMetricFrame groupId.\n * @member {number} groupId\n * @memberof SdkStreamMetricFrame\n * @instance\n */\n SdkStreamMetricFrame.prototype.groupId = 0;\n\n /**\n * SdkStreamMetricFrame metrics.\n * @member {Array.} metrics\n * @memberof SdkStreamMetricFrame\n * @instance\n */\n SdkStreamMetricFrame.prototype.metrics = $util.emptyArray;\n\n /**\n * SdkStreamMetricFrame dimensions.\n * @member {Array.} dimensions\n * @memberof SdkStreamMetricFrame\n * @instance\n */\n SdkStreamMetricFrame.prototype.dimensions = $util.emptyArray;\n\n /**\n * Creates a new SdkStreamMetricFrame instance using the specified properties.\n * @function create\n * @memberof SdkStreamMetricFrame\n * @static\n * @param {ISdkStreamMetricFrame=} [properties] Properties to set\n * @returns {SdkStreamMetricFrame} SdkStreamMetricFrame instance\n */\n SdkStreamMetricFrame.create = function create(properties) {\n return new SdkStreamMetricFrame(properties);\n };\n\n /**\n * Encodes the specified SdkStreamMetricFrame message. Does not implicitly {@link SdkStreamMetricFrame.verify|verify} messages.\n * @function encode\n * @memberof SdkStreamMetricFrame\n * @static\n * @param {ISdkStreamMetricFrame} message SdkStreamMetricFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkStreamMetricFrame.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.streamId != null && Object.hasOwnProperty.call(message, "streamId"))\n writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.streamId);\n if (message.groupId != null && Object.hasOwnProperty.call(message, "groupId"))\n writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.groupId);\n if (message.metrics != null && message.metrics.length)\n for (var i = 0; i < message.metrics.length; ++i)\n $root.SdkMetric.encode(message.metrics[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();\n if (message.dimensions != null && message.dimensions.length)\n for (var i = 0; i < message.dimensions.length; ++i)\n $root.SdkStreamDimension.encode(message.dimensions[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();\n return writer;\n };\n\n /**\n * Encodes the specified SdkStreamMetricFrame message, length delimited. Does not implicitly {@link SdkStreamMetricFrame.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkStreamMetricFrame\n * @static\n * @param {ISdkStreamMetricFrame} message SdkStreamMetricFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkStreamMetricFrame.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkStreamMetricFrame message from the specified reader or buffer.\n * @function decode\n * @memberof SdkStreamMetricFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkStreamMetricFrame} SdkStreamMetricFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkStreamMetricFrame.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkStreamMetricFrame();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 3:\n message.streamId = reader.uint32();\n break;\n case 4:\n message.groupId = reader.uint32();\n break;\n case 5:\n if (!(message.metrics && message.metrics.length))\n message.metrics = [];\n message.metrics.push($root.SdkMetric.decode(reader, reader.uint32()));\n break;\n case 6:\n if (!(message.dimensions && message.dimensions.length))\n message.dimensions = [];\n message.dimensions.push($root.SdkStreamDimension.decode(reader, reader.uint32()));\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkStreamMetricFrame message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkStreamMetricFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkStreamMetricFrame} SdkStreamMetricFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkStreamMetricFrame.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkStreamMetricFrame message.\n * @function verify\n * @memberof SdkStreamMetricFrame\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkStreamMetricFrame.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.streamId != null && message.hasOwnProperty("streamId"))\n if (!$util.isInteger(message.streamId))\n return "streamId: integer expected";\n if (message.groupId != null && message.hasOwnProperty("groupId"))\n if (!$util.isInteger(message.groupId))\n return "groupId: integer expected";\n if (message.metrics != null && message.hasOwnProperty("metrics")) {\n if (!Array.isArray(message.metrics))\n return "metrics: array expected";\n for (var i = 0; i < message.metrics.length; ++i) {\n var error = $root.SdkMetric.verify(message.metrics[i]);\n if (error)\n return "metrics." + error;\n }\n }\n if (message.dimensions != null && message.hasOwnProperty("dimensions")) {\n if (!Array.isArray(message.dimensions))\n return "dimensions: array expected";\n for (var i = 0; i < message.dimensions.length; ++i) {\n var error = $root.SdkStreamDimension.verify(message.dimensions[i]);\n if (error)\n return "dimensions." + error;\n }\n }\n return null;\n };\n\n /**\n * Creates a SdkStreamMetricFrame message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkStreamMetricFrame\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkStreamMetricFrame} SdkStreamMetricFrame\n */\n SdkStreamMetricFrame.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkStreamMetricFrame)\n return object;\n var message = new $root.SdkStreamMetricFrame();\n if (object.streamId != null)\n message.streamId = object.streamId >>> 0;\n if (object.groupId != null)\n message.groupId = object.groupId >>> 0;\n if (object.metrics) {\n if (!Array.isArray(object.metrics))\n throw TypeError(".SdkStreamMetricFrame.metrics: array expected");\n message.metrics = [];\n for (var i = 0; i < object.metrics.length; ++i) {\n if (typeof object.metrics[i] !== "object")\n throw TypeError(".SdkStreamMetricFrame.metrics: object expected");\n message.metrics[i] = $root.SdkMetric.fromObject(object.metrics[i]);\n }\n }\n if (object.dimensions) {\n if (!Array.isArray(object.dimensions))\n throw TypeError(".SdkStreamMetricFrame.dimensions: array expected");\n message.dimensions = [];\n for (var i = 0; i < object.dimensions.length; ++i) {\n if (typeof object.dimensions[i] !== "object")\n throw TypeError(".SdkStreamMetricFrame.dimensions: object expected");\n message.dimensions[i] = $root.SdkStreamDimension.fromObject(object.dimensions[i]);\n }\n }\n return message;\n };\n\n /**\n * Creates a plain object from a SdkStreamMetricFrame message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkStreamMetricFrame\n * @static\n * @param {SdkStreamMetricFrame} message SdkStreamMetricFrame\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkStreamMetricFrame.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.arrays || options.defaults) {\n object.metrics = [];\n object.dimensions = [];\n }\n if (options.defaults) {\n object.streamId = 0;\n object.groupId = 0;\n }\n if (message.streamId != null && message.hasOwnProperty("streamId"))\n object.streamId = message.streamId;\n if (message.groupId != null && message.hasOwnProperty("groupId"))\n object.groupId = message.groupId;\n if (message.metrics && message.metrics.length) {\n object.metrics = [];\n for (var j = 0; j < message.metrics.length; ++j)\n object.metrics[j] = $root.SdkMetric.toObject(message.metrics[j], options);\n }\n if (message.dimensions && message.dimensions.length) {\n object.dimensions = [];\n for (var j = 0; j < message.dimensions.length; ++j)\n object.dimensions[j] = $root.SdkStreamDimension.toObject(message.dimensions[j], options);\n }\n return object;\n };\n\n /**\n * Converts this SdkStreamMetricFrame to JSON.\n * @function toJSON\n * @memberof SdkStreamMetricFrame\n * @instance\n * @returns {Object.} JSON object\n */\n SdkStreamMetricFrame.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkStreamMetricFrame;\n})();\n\n$root.SdkClientMetricFrame = (function() {\n\n /**\n * Properties of a SdkClientMetricFrame.\n * @exports ISdkClientMetricFrame\n * @interface ISdkClientMetricFrame\n * @property {Array.|null} [globalMetrics] SdkClientMetricFrame globalMetrics\n * @property {Array.|null} [streamMetricFrames] SdkClientMetricFrame streamMetricFrames\n */\n\n /**\n * Constructs a new SdkClientMetricFrame.\n * @exports SdkClientMetricFrame\n * @classdesc Represents a SdkClientMetricFrame.\n * @implements ISdkClientMetricFrame\n * @constructor\n * @param {ISdkClientMetricFrame=} [properties] Properties to set\n */\n function SdkClientMetricFrame(properties) {\n this.globalMetrics = [];\n this.streamMetricFrames = [];\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkClientMetricFrame globalMetrics.\n * @member {Array.} globalMetrics\n * @memberof SdkClientMetricFrame\n * @instance\n */\n SdkClientMetricFrame.prototype.globalMetrics = $util.emptyArray;\n\n /**\n * SdkClientMetricFrame streamMetricFrames.\n * @member {Array.} streamMetricFrames\n * @memberof SdkClientMetricFrame\n * @instance\n */\n SdkClientMetricFrame.prototype.streamMetricFrames = $util.emptyArray;\n\n /**\n * Creates a new SdkClientMetricFrame instance using the specified properties.\n * @function create\n * @memberof SdkClientMetricFrame\n * @static\n * @param {ISdkClientMetricFrame=} [properties] Properties to set\n * @returns {SdkClientMetricFrame} SdkClientMetricFrame instance\n */\n SdkClientMetricFrame.create = function create(properties) {\n return new SdkClientMetricFrame(properties);\n };\n\n /**\n * Encodes the specified SdkClientMetricFrame message. Does not implicitly {@link SdkClientMetricFrame.verify|verify} messages.\n * @function encode\n * @memberof SdkClientMetricFrame\n * @static\n * @param {ISdkClientMetricFrame} message SdkClientMetricFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkClientMetricFrame.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.globalMetrics != null && message.globalMetrics.length)\n for (var i = 0; i < message.globalMetrics.length; ++i)\n $root.SdkMetric.encode(message.globalMetrics[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();\n if (message.streamMetricFrames != null && message.streamMetricFrames.length)\n for (var i = 0; i < message.streamMetricFrames.length; ++i)\n $root.SdkStreamMetricFrame.encode(message.streamMetricFrames[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();\n return writer;\n };\n\n /**\n * Encodes the specified SdkClientMetricFrame message, length delimited. Does not implicitly {@link SdkClientMetricFrame.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkClientMetricFrame\n * @static\n * @param {ISdkClientMetricFrame} message SdkClientMetricFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkClientMetricFrame.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkClientMetricFrame message from the specified reader or buffer.\n * @function decode\n * @memberof SdkClientMetricFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkClientMetricFrame} SdkClientMetricFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkClientMetricFrame.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkClientMetricFrame();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (!(message.globalMetrics && message.globalMetrics.length))\n message.globalMetrics = [];\n message.globalMetrics.push($root.SdkMetric.decode(reader, reader.uint32()));\n break;\n case 2:\n if (!(message.streamMetricFrames && message.streamMetricFrames.length))\n message.streamMetricFrames = [];\n message.streamMetricFrames.push($root.SdkStreamMetricFrame.decode(reader, reader.uint32()));\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkClientMetricFrame message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkClientMetricFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkClientMetricFrame} SdkClientMetricFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkClientMetricFrame.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkClientMetricFrame message.\n * @function verify\n * @memberof SdkClientMetricFrame\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkClientMetricFrame.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.globalMetrics != null && message.hasOwnProperty("globalMetrics")) {\n if (!Array.isArray(message.globalMetrics))\n return "globalMetrics: array expected";\n for (var i = 0; i < message.globalMetrics.length; ++i) {\n var error = $root.SdkMetric.verify(message.globalMetrics[i]);\n if (error)\n return "globalMetrics." + error;\n }\n }\n if (message.streamMetricFrames != null && message.hasOwnProperty("streamMetricFrames")) {\n if (!Array.isArray(message.streamMetricFrames))\n return "streamMetricFrames: array expected";\n for (var i = 0; i < message.streamMetricFrames.length; ++i) {\n var error = $root.SdkStreamMetricFrame.verify(message.streamMetricFrames[i]);\n if (error)\n return "streamMetricFrames." + error;\n }\n }\n return null;\n };\n\n /**\n * Creates a SdkClientMetricFrame message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkClientMetricFrame\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkClientMetricFrame} SdkClientMetricFrame\n */\n SdkClientMetricFrame.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkClientMetricFrame)\n return object;\n var message = new $root.SdkClientMetricFrame();\n if (object.globalMetrics) {\n if (!Array.isArray(object.globalMetrics))\n throw TypeError(".SdkClientMetricFrame.globalMetrics: array expected");\n message.globalMetrics = [];\n for (var i = 0; i < object.globalMetrics.length; ++i) {\n if (typeof object.globalMetrics[i] !== "object")\n throw TypeError(".SdkClientMetricFrame.globalMetrics: object expected");\n message.globalMetrics[i] = $root.SdkMetric.fromObject(object.globalMetrics[i]);\n }\n }\n if (object.streamMetricFrames) {\n if (!Array.isArray(object.streamMetricFrames))\n throw TypeError(".SdkClientMetricFrame.streamMetricFrames: array expected");\n message.streamMetricFrames = [];\n for (var i = 0; i < object.streamMetricFrames.length; ++i) {\n if (typeof object.streamMetricFrames[i] !== "object")\n throw TypeError(".SdkClientMetricFrame.streamMetricFrames: object expected");\n message.streamMetricFrames[i] = $root.SdkStreamMetricFrame.fromObject(object.streamMetricFrames[i]);\n }\n }\n return message;\n };\n\n /**\n * Creates a plain object from a SdkClientMetricFrame message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkClientMetricFrame\n * @static\n * @param {SdkClientMetricFrame} message SdkClientMetricFrame\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkClientMetricFrame.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.arrays || options.defaults) {\n object.globalMetrics = [];\n object.streamMetricFrames = [];\n }\n if (message.globalMetrics && message.globalMetrics.length) {\n object.globalMetrics = [];\n for (var j = 0; j < message.globalMetrics.length; ++j)\n object.globalMetrics[j] = $root.SdkMetric.toObject(message.globalMetrics[j], options);\n }\n if (message.streamMetricFrames && message.streamMetricFrames.length) {\n object.streamMetricFrames = [];\n for (var j = 0; j < message.streamMetricFrames.length; ++j)\n object.streamMetricFrames[j] = $root.SdkStreamMetricFrame.toObject(message.streamMetricFrames[j], options);\n }\n return object;\n };\n\n /**\n * Converts this SdkClientMetricFrame to JSON.\n * @function toJSON\n * @memberof SdkClientMetricFrame\n * @instance\n * @returns {Object.} JSON object\n */\n SdkClientMetricFrame.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkClientMetricFrame;\n})();\n\n$root.SdkStreamDimension = (function() {\n\n /**\n * Properties of a SdkStreamDimension.\n * @exports ISdkStreamDimension\n * @interface ISdkStreamDimension\n * @property {SdkStreamDimension.Type|null} [type] SdkStreamDimension type\n * @property {ISdkDimensionValue|null} [value] SdkStreamDimension value\n */\n\n /**\n * Constructs a new SdkStreamDimension.\n * @exports SdkStreamDimension\n * @classdesc Represents a SdkStreamDimension.\n * @implements ISdkStreamDimension\n * @constructor\n * @param {ISdkStreamDimension=} [properties] Properties to set\n */\n function SdkStreamDimension(properties) {\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkStreamDimension type.\n * @member {SdkStreamDimension.Type} type\n * @memberof SdkStreamDimension\n * @instance\n */\n SdkStreamDimension.prototype.type = 1;\n\n /**\n * SdkStreamDimension value.\n * @member {ISdkDimensionValue|null|undefined} value\n * @memberof SdkStreamDimension\n * @instance\n */\n SdkStreamDimension.prototype.value = null;\n\n /**\n * Creates a new SdkStreamDimension instance using the specified properties.\n * @function create\n * @memberof SdkStreamDimension\n * @static\n * @param {ISdkStreamDimension=} [properties] Properties to set\n * @returns {SdkStreamDimension} SdkStreamDimension instance\n */\n SdkStreamDimension.create = function create(properties) {\n return new SdkStreamDimension(properties);\n };\n\n /**\n * Encodes the specified SdkStreamDimension message. Does not implicitly {@link SdkStreamDimension.verify|verify} messages.\n * @function encode\n * @memberof SdkStreamDimension\n * @static\n * @param {ISdkStreamDimension} message SdkStreamDimension message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkStreamDimension.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.type != null && Object.hasOwnProperty.call(message, "type"))\n writer.uint32(/* id 1, wireType 0 =*/8).int32(message.type);\n if (message.value != null && Object.hasOwnProperty.call(message, "value"))\n $root.SdkDimensionValue.encode(message.value, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();\n return writer;\n };\n\n /**\n * Encodes the specified SdkStreamDimension message, length delimited. Does not implicitly {@link SdkStreamDimension.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkStreamDimension\n * @static\n * @param {ISdkStreamDimension} message SdkStreamDimension message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkStreamDimension.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkStreamDimension message from the specified reader or buffer.\n * @function decode\n * @memberof SdkStreamDimension\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkStreamDimension} SdkStreamDimension\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkStreamDimension.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkStreamDimension();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.type = reader.int32();\n break;\n case 2:\n message.value = $root.SdkDimensionValue.decode(reader, reader.uint32());\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkStreamDimension message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkStreamDimension\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkStreamDimension} SdkStreamDimension\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkStreamDimension.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkStreamDimension message.\n * @function verify\n * @memberof SdkStreamDimension\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkStreamDimension.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.type != null && message.hasOwnProperty("type"))\n switch (message.type) {\n default:\n return "type: enum value expected";\n case 1:\n case 2:\n break;\n }\n if (message.value != null && message.hasOwnProperty("value")) {\n var error = $root.SdkDimensionValue.verify(message.value);\n if (error)\n return "value." + error;\n }\n return null;\n };\n\n /**\n * Creates a SdkStreamDimension message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkStreamDimension\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkStreamDimension} SdkStreamDimension\n */\n SdkStreamDimension.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkStreamDimension)\n return object;\n var message = new $root.SdkStreamDimension();\n switch (object.type) {\n case "VIDEO_ENCODER_NAME":\n case 1:\n message.type = 1;\n break;\n case "VIDEO_DECODER_NAME":\n case 2:\n message.type = 2;\n break;\n }\n if (object.value != null) {\n if (typeof object.value !== "object")\n throw TypeError(".SdkStreamDimension.value: object expected");\n message.value = $root.SdkDimensionValue.fromObject(object.value);\n }\n return message;\n };\n\n /**\n * Creates a plain object from a SdkStreamDimension message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkStreamDimension\n * @static\n * @param {SdkStreamDimension} message SdkStreamDimension\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkStreamDimension.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.defaults) {\n object.type = options.enums === String ? "VIDEO_ENCODER_NAME" : 1;\n object.value = null;\n }\n if (message.type != null && message.hasOwnProperty("type"))\n object.type = options.enums === String ? $root.SdkStreamDimension.Type[message.type] : message.type;\n if (message.value != null && message.hasOwnProperty("value"))\n object.value = $root.SdkDimensionValue.toObject(message.value, options);\n return object;\n };\n\n /**\n * Converts this SdkStreamDimension to JSON.\n * @function toJSON\n * @memberof SdkStreamDimension\n * @instance\n * @returns {Object.} JSON object\n */\n SdkStreamDimension.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n /**\n * Type enum.\n * @name SdkStreamDimension.Type\n * @enum {number}\n * @property {number} VIDEO_ENCODER_NAME=1 VIDEO_ENCODER_NAME value\n * @property {number} VIDEO_DECODER_NAME=2 VIDEO_DECODER_NAME value\n */\n SdkStreamDimension.Type = (function() {\n var valuesById = {}, values = Object.create(valuesById);\n values[valuesById[1] = "VIDEO_ENCODER_NAME"] = 1;\n values[valuesById[2] = "VIDEO_DECODER_NAME"] = 2;\n return values;\n })();\n\n return SdkStreamDimension;\n})();\n\n$root.SdkDimensionValue = (function() {\n\n /**\n * Properties of a SdkDimensionValue.\n * @exports ISdkDimensionValue\n * @interface ISdkDimensionValue\n * @property {string|null} [stringValue] SdkDimensionValue stringValue\n * @property {boolean|null} [boolValue] SdkDimensionValue boolValue\n * @property {number|Long|null} [uintValue] SdkDimensionValue uintValue\n */\n\n /**\n * Constructs a new SdkDimensionValue.\n * @exports SdkDimensionValue\n * @classdesc Represents a SdkDimensionValue.\n * @implements ISdkDimensionValue\n * @constructor\n * @param {ISdkDimensionValue=} [properties] Properties to set\n */\n function SdkDimensionValue(properties) {\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkDimensionValue stringValue.\n * @member {string} stringValue\n * @memberof SdkDimensionValue\n * @instance\n */\n SdkDimensionValue.prototype.stringValue = "";\n\n /**\n * SdkDimensionValue boolValue.\n * @member {boolean} boolValue\n * @memberof SdkDimensionValue\n * @instance\n */\n SdkDimensionValue.prototype.boolValue = false;\n\n /**\n * SdkDimensionValue uintValue.\n * @member {number|Long} uintValue\n * @memberof SdkDimensionValue\n * @instance\n */\n SdkDimensionValue.prototype.uintValue = $util.Long ? $util.Long.fromBits(0,0,true) : 0;\n\n /**\n * Creates a new SdkDimensionValue instance using the specified properties.\n * @function create\n * @memberof SdkDimensionValue\n * @static\n * @param {ISdkDimensionValue=} [properties] Properties to set\n * @returns {SdkDimensionValue} SdkDimensionValue instance\n */\n SdkDimensionValue.create = function create(properties) {\n return new SdkDimensionValue(properties);\n };\n\n /**\n * Encodes the specified SdkDimensionValue message. Does not implicitly {@link SdkDimensionValue.verify|verify} messages.\n * @function encode\n * @memberof SdkDimensionValue\n * @static\n * @param {ISdkDimensionValue} message SdkDimensionValue message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkDimensionValue.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.stringValue != null && Object.hasOwnProperty.call(message, "stringValue"))\n writer.uint32(/* id 1, wireType 2 =*/10).string(message.stringValue);\n if (message.boolValue != null && Object.hasOwnProperty.call(message, "boolValue"))\n writer.uint32(/* id 2, wireType 0 =*/16).bool(message.boolValue);\n if (message.uintValue != null && Object.hasOwnProperty.call(message, "uintValue"))\n writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.uintValue);\n return writer;\n };\n\n /**\n * Encodes the specified SdkDimensionValue message, length delimited. Does not implicitly {@link SdkDimensionValue.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkDimensionValue\n * @static\n * @param {ISdkDimensionValue} message SdkDimensionValue message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkDimensionValue.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkDimensionValue message from the specified reader or buffer.\n * @function decode\n * @memberof SdkDimensionValue\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkDimensionValue} SdkDimensionValue\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkDimensionValue.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkDimensionValue();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.stringValue = reader.string();\n break;\n case 2:\n message.boolValue = reader.bool();\n break;\n case 3:\n message.uintValue = reader.uint64();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkDimensionValue message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkDimensionValue\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkDimensionValue} SdkDimensionValue\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkDimensionValue.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkDimensionValue message.\n * @function verify\n * @memberof SdkDimensionValue\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkDimensionValue.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.stringValue != null && message.hasOwnProperty("stringValue"))\n if (!$util.isString(message.stringValue))\n return "stringValue: string expected";\n if (message.boolValue != null && message.hasOwnProperty("boolValue"))\n if (typeof message.boolValue !== "boolean")\n return "boolValue: boolean expected";\n if (message.uintValue != null && message.hasOwnProperty("uintValue"))\n if (!$util.isInteger(message.uintValue) && !(message.uintValue && $util.isInteger(message.uintValue.low) && $util.isInteger(message.uintValue.high)))\n return "uintValue: integer|Long expected";\n return null;\n };\n\n /**\n * Creates a SdkDimensionValue message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkDimensionValue\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkDimensionValue} SdkDimensionValue\n */\n SdkDimensionValue.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkDimensionValue)\n return object;\n var message = new $root.SdkDimensionValue();\n if (object.stringValue != null)\n message.stringValue = String(object.stringValue);\n if (object.boolValue != null)\n message.boolValue = Boolean(object.boolValue);\n if (object.uintValue != null)\n if ($util.Long)\n (message.uintValue = $util.Long.fromValue(object.uintValue)).unsigned = true;\n else if (typeof object.uintValue === "string")\n message.uintValue = parseInt(object.uintValue, 10);\n else if (typeof object.uintValue === "number")\n message.uintValue = object.uintValue;\n else if (typeof object.uintValue === "object")\n message.uintValue = new $util.LongBits(object.uintValue.low >>> 0, object.uintValue.high >>> 0).toNumber(true);\n return message;\n };\n\n /**\n * Creates a plain object from a SdkDimensionValue message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkDimensionValue\n * @static\n * @param {SdkDimensionValue} message SdkDimensionValue\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkDimensionValue.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.defaults) {\n object.stringValue = "";\n object.boolValue = false;\n if ($util.Long) {\n var long = new $util.Long(0, 0, true);\n object.uintValue = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;\n } else\n object.uintValue = options.longs === String ? "0" : 0;\n }\n if (message.stringValue != null && message.hasOwnProperty("stringValue"))\n object.stringValue = message.stringValue;\n if (message.boolValue != null && message.hasOwnProperty("boolValue"))\n object.boolValue = message.boolValue;\n if (message.uintValue != null && message.hasOwnProperty("uintValue"))\n if (typeof message.uintValue === "number")\n object.uintValue = options.longs === String ? String(message.uintValue) : message.uintValue;\n else\n object.uintValue = options.longs === String ? $util.Long.prototype.toString.call(message.uintValue) : options.longs === Number ? new $util.LongBits(message.uintValue.low >>> 0, message.uintValue.high >>> 0).toNumber(true) : message.uintValue;\n return object;\n };\n\n /**\n * Converts this SdkDimensionValue to JSON.\n * @function toJSON\n * @memberof SdkDimensionValue\n * @instance\n * @returns {Object.} JSON object\n */\n SdkDimensionValue.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkDimensionValue;\n})();\n\n$root.SdkDataMessageFrame = (function() {\n\n /**\n * Properties of a SdkDataMessageFrame.\n * @exports ISdkDataMessageFrame\n * @interface ISdkDataMessageFrame\n * @property {Array.|null} [messages] SdkDataMessageFrame messages\n */\n\n /**\n * Constructs a new SdkDataMessageFrame.\n * @exports SdkDataMessageFrame\n * @classdesc Represents a SdkDataMessageFrame.\n * @implements ISdkDataMessageFrame\n * @constructor\n * @param {ISdkDataMessageFrame=} [properties] Properties to set\n */\n function SdkDataMessageFrame(properties) {\n this.messages = [];\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkDataMessageFrame messages.\n * @member {Array.} messages\n * @memberof SdkDataMessageFrame\n * @instance\n */\n SdkDataMessageFrame.prototype.messages = $util.emptyArray;\n\n /**\n * Creates a new SdkDataMessageFrame instance using the specified properties.\n * @function create\n * @memberof SdkDataMessageFrame\n * @static\n * @param {ISdkDataMessageFrame=} [properties] Properties to set\n * @returns {SdkDataMessageFrame} SdkDataMessageFrame instance\n */\n SdkDataMessageFrame.create = function create(properties) {\n return new SdkDataMessageFrame(properties);\n };\n\n /**\n * Encodes the specified SdkDataMessageFrame message. Does not implicitly {@link SdkDataMessageFrame.verify|verify} messages.\n * @function encode\n * @memberof SdkDataMessageFrame\n * @static\n * @param {ISdkDataMessageFrame} message SdkDataMessageFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkDataMessageFrame.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.messages != null && message.messages.length)\n for (var i = 0; i < message.messages.length; ++i)\n $root.SdkDataMessagePayload.encode(message.messages[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();\n return writer;\n };\n\n /**\n * Encodes the specified SdkDataMessageFrame message, length delimited. Does not implicitly {@link SdkDataMessageFrame.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkDataMessageFrame\n * @static\n * @param {ISdkDataMessageFrame} message SdkDataMessageFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkDataMessageFrame.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkDataMessageFrame message from the specified reader or buffer.\n * @function decode\n * @memberof SdkDataMessageFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkDataMessageFrame} SdkDataMessageFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkDataMessageFrame.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkDataMessageFrame();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (!(message.messages && message.messages.length))\n message.messages = [];\n message.messages.push($root.SdkDataMessagePayload.decode(reader, reader.uint32()));\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkDataMessageFrame message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkDataMessageFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkDataMessageFrame} SdkDataMessageFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkDataMessageFrame.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkDataMessageFrame message.\n * @function verify\n * @memberof SdkDataMessageFrame\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkDataMessageFrame.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.messages != null && message.hasOwnProperty("messages")) {\n if (!Array.isArray(message.messages))\n return "messages: array expected";\n for (var i = 0; i < message.messages.length; ++i) {\n var error = $root.SdkDataMessagePayload.verify(message.messages[i]);\n if (error)\n return "messages." + error;\n }\n }\n return null;\n };\n\n /**\n * Creates a SdkDataMessageFrame message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkDataMessageFrame\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkDataMessageFrame} SdkDataMessageFrame\n */\n SdkDataMessageFrame.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkDataMessageFrame)\n return object;\n var message = new $root.SdkDataMessageFrame();\n if (object.messages) {\n if (!Array.isArray(object.messages))\n throw TypeError(".SdkDataMessageFrame.messages: array expected");\n message.messages = [];\n for (var i = 0; i < object.messages.length; ++i) {\n if (typeof object.messages[i] !== "object")\n throw TypeError(".SdkDataMessageFrame.messages: object expected");\n message.messages[i] = $root.SdkDataMessagePayload.fromObject(object.messages[i]);\n }\n }\n return message;\n };\n\n /**\n * Creates a plain object from a SdkDataMessageFrame message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkDataMessageFrame\n * @static\n * @param {SdkDataMessageFrame} message SdkDataMessageFrame\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkDataMessageFrame.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.arrays || options.defaults)\n object.messages = [];\n if (message.messages && message.messages.length) {\n object.messages = [];\n for (var j = 0; j < message.messages.length; ++j)\n object.messages[j] = $root.SdkDataMessagePayload.toObject(message.messages[j], options);\n }\n return object;\n };\n\n /**\n * Converts this SdkDataMessageFrame to JSON.\n * @function toJSON\n * @memberof SdkDataMessageFrame\n * @instance\n * @returns {Object.} JSON object\n */\n SdkDataMessageFrame.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkDataMessageFrame;\n})();\n\n$root.SdkDataMessagePayload = (function() {\n\n /**\n * Properties of a SdkDataMessagePayload.\n * @exports ISdkDataMessagePayload\n * @interface ISdkDataMessagePayload\n * @property {string|null} [topic] SdkDataMessagePayload topic\n * @property {Uint8Array|null} [data] SdkDataMessagePayload data\n * @property {number|null} [lifetimeMs] SdkDataMessagePayload lifetimeMs\n * @property {string|null} [senderAttendeeId] SdkDataMessagePayload senderAttendeeId\n * @property {number|Long|null} [ingestTimeNs] SdkDataMessagePayload ingestTimeNs\n * @property {string|null} [senderExternalUserId] SdkDataMessagePayload senderExternalUserId\n */\n\n /**\n * Constructs a new SdkDataMessagePayload.\n * @exports SdkDataMessagePayload\n * @classdesc Represents a SdkDataMessagePayload.\n * @implements ISdkDataMessagePayload\n * @constructor\n * @param {ISdkDataMessagePayload=} [properties] Properties to set\n */\n function SdkDataMessagePayload(properties) {\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkDataMessagePayload topic.\n * @member {string} topic\n * @memberof SdkDataMessagePayload\n * @instance\n */\n SdkDataMessagePayload.prototype.topic = "";\n\n /**\n * SdkDataMessagePayload data.\n * @member {Uint8Array} data\n * @memberof SdkDataMessagePayload\n * @instance\n */\n SdkDataMessagePayload.prototype.data = $util.newBuffer([]);\n\n /**\n * SdkDataMessagePayload lifetimeMs.\n * @member {number} lifetimeMs\n * @memberof SdkDataMessagePayload\n * @instance\n */\n SdkDataMessagePayload.prototype.lifetimeMs = 0;\n\n /**\n * SdkDataMessagePayload senderAttendeeId.\n * @member {string} senderAttendeeId\n * @memberof SdkDataMessagePayload\n * @instance\n */\n SdkDataMessagePayload.prototype.senderAttendeeId = "";\n\n /**\n * SdkDataMessagePayload ingestTimeNs.\n * @member {number|Long} ingestTimeNs\n * @memberof SdkDataMessagePayload\n * @instance\n */\n SdkDataMessagePayload.prototype.ingestTimeNs = $util.Long ? $util.Long.fromBits(0,0,false) : 0;\n\n /**\n * SdkDataMessagePayload senderExternalUserId.\n * @member {string} senderExternalUserId\n * @memberof SdkDataMessagePayload\n * @instance\n */\n SdkDataMessagePayload.prototype.senderExternalUserId = "";\n\n /**\n * Creates a new SdkDataMessagePayload instance using the specified properties.\n * @function create\n * @memberof SdkDataMessagePayload\n * @static\n * @param {ISdkDataMessagePayload=} [properties] Properties to set\n * @returns {SdkDataMessagePayload} SdkDataMessagePayload instance\n */\n SdkDataMessagePayload.create = function create(properties) {\n return new SdkDataMessagePayload(properties);\n };\n\n /**\n * Encodes the specified SdkDataMessagePayload message. Does not implicitly {@link SdkDataMessagePayload.verify|verify} messages.\n * @function encode\n * @memberof SdkDataMessagePayload\n * @static\n * @param {ISdkDataMessagePayload} message SdkDataMessagePayload message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkDataMessagePayload.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.topic != null && Object.hasOwnProperty.call(message, "topic"))\n writer.uint32(/* id 1, wireType 2 =*/10).string(message.topic);\n if (message.data != null && Object.hasOwnProperty.call(message, "data"))\n writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.data);\n if (message.lifetimeMs != null && Object.hasOwnProperty.call(message, "lifetimeMs"))\n writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.lifetimeMs);\n if (message.senderAttendeeId != null && Object.hasOwnProperty.call(message, "senderAttendeeId"))\n writer.uint32(/* id 4, wireType 2 =*/34).string(message.senderAttendeeId);\n if (message.ingestTimeNs != null && Object.hasOwnProperty.call(message, "ingestTimeNs"))\n writer.uint32(/* id 5, wireType 0 =*/40).int64(message.ingestTimeNs);\n if (message.senderExternalUserId != null && Object.hasOwnProperty.call(message, "senderExternalUserId"))\n writer.uint32(/* id 6, wireType 2 =*/50).string(message.senderExternalUserId);\n return writer;\n };\n\n /**\n * Encodes the specified SdkDataMessagePayload message, length delimited. Does not implicitly {@link SdkDataMessagePayload.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkDataMessagePayload\n * @static\n * @param {ISdkDataMessagePayload} message SdkDataMessagePayload message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkDataMessagePayload.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkDataMessagePayload message from the specified reader or buffer.\n * @function decode\n * @memberof SdkDataMessagePayload\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkDataMessagePayload} SdkDataMessagePayload\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkDataMessagePayload.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkDataMessagePayload();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.topic = reader.string();\n break;\n case 2:\n message.data = reader.bytes();\n break;\n case 3:\n message.lifetimeMs = reader.uint32();\n break;\n case 4:\n message.senderAttendeeId = reader.string();\n break;\n case 5:\n message.ingestTimeNs = reader.int64();\n break;\n case 6:\n message.senderExternalUserId = reader.string();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkDataMessagePayload message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkDataMessagePayload\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkDataMessagePayload} SdkDataMessagePayload\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkDataMessagePayload.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkDataMessagePayload message.\n * @function verify\n * @memberof SdkDataMessagePayload\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkDataMessagePayload.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.topic != null && message.hasOwnProperty("topic"))\n if (!$util.isString(message.topic))\n return "topic: string expected";\n if (message.data != null && message.hasOwnProperty("data"))\n if (!(message.data && typeof message.data.length === "number" || $util.isString(message.data)))\n return "data: buffer expected";\n if (message.lifetimeMs != null && message.hasOwnProperty("lifetimeMs"))\n if (!$util.isInteger(message.lifetimeMs))\n return "lifetimeMs: integer expected";\n if (message.senderAttendeeId != null && message.hasOwnProperty("senderAttendeeId"))\n if (!$util.isString(message.senderAttendeeId))\n return "senderAttendeeId: string expected";\n if (message.ingestTimeNs != null && message.hasOwnProperty("ingestTimeNs"))\n if (!$util.isInteger(message.ingestTimeNs) && !(message.ingestTimeNs && $util.isInteger(message.ingestTimeNs.low) && $util.isInteger(message.ingestTimeNs.high)))\n return "ingestTimeNs: integer|Long expected";\n if (message.senderExternalUserId != null && message.hasOwnProperty("senderExternalUserId"))\n if (!$util.isString(message.senderExternalUserId))\n return "senderExternalUserId: string expected";\n return null;\n };\n\n /**\n * Creates a SdkDataMessagePayload message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkDataMessagePayload\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkDataMessagePayload} SdkDataMessagePayload\n */\n SdkDataMessagePayload.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkDataMessagePayload)\n return object;\n var message = new $root.SdkDataMessagePayload();\n if (object.topic != null)\n message.topic = String(object.topic);\n if (object.data != null)\n if (typeof object.data === "string")\n $util.base64.decode(object.data, message.data = $util.newBuffer($util.base64.length(object.data)), 0);\n else if (object.data.length)\n message.data = object.data;\n if (object.lifetimeMs != null)\n message.lifetimeMs = object.lifetimeMs >>> 0;\n if (object.senderAttendeeId != null)\n message.senderAttendeeId = String(object.senderAttendeeId);\n if (object.ingestTimeNs != null)\n if ($util.Long)\n (message.ingestTimeNs = $util.Long.fromValue(object.ingestTimeNs)).unsigned = false;\n else if (typeof object.ingestTimeNs === "string")\n message.ingestTimeNs = parseInt(object.ingestTimeNs, 10);\n else if (typeof object.ingestTimeNs === "number")\n message.ingestTimeNs = object.ingestTimeNs;\n else if (typeof object.ingestTimeNs === "object")\n message.ingestTimeNs = new $util.LongBits(object.ingestTimeNs.low >>> 0, object.ingestTimeNs.high >>> 0).toNumber();\n if (object.senderExternalUserId != null)\n message.senderExternalUserId = String(object.senderExternalUserId);\n return message;\n };\n\n /**\n * Creates a plain object from a SdkDataMessagePayload message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkDataMessagePayload\n * @static\n * @param {SdkDataMessagePayload} message SdkDataMessagePayload\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkDataMessagePayload.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.defaults) {\n object.topic = "";\n if (options.bytes === String)\n object.data = "";\n else {\n object.data = [];\n if (options.bytes !== Array)\n object.data = $util.newBuffer(object.data);\n }\n object.lifetimeMs = 0;\n object.senderAttendeeId = "";\n if ($util.Long) {\n var long = new $util.Long(0, 0, false);\n object.ingestTimeNs = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;\n } else\n object.ingestTimeNs = options.longs === String ? "0" : 0;\n object.senderExternalUserId = "";\n }\n if (message.topic != null && message.hasOwnProperty("topic"))\n object.topic = message.topic;\n if (message.data != null && message.hasOwnProperty("data"))\n object.data = options.bytes === String ? $util.base64.encode(message.data, 0, message.data.length) : options.bytes === Array ? Array.prototype.slice.call(message.data) : message.data;\n if (message.lifetimeMs != null && message.hasOwnProperty("lifetimeMs"))\n object.lifetimeMs = message.lifetimeMs;\n if (message.senderAttendeeId != null && message.hasOwnProperty("senderAttendeeId"))\n object.senderAttendeeId = message.senderAttendeeId;\n if (message.ingestTimeNs != null && message.hasOwnProperty("ingestTimeNs"))\n if (typeof message.ingestTimeNs === "number")\n object.ingestTimeNs = options.longs === String ? String(message.ingestTimeNs) : message.ingestTimeNs;\n else\n object.ingestTimeNs = options.longs === String ? $util.Long.prototype.toString.call(message.ingestTimeNs) : options.longs === Number ? new $util.LongBits(message.ingestTimeNs.low >>> 0, message.ingestTimeNs.high >>> 0).toNumber() : message.ingestTimeNs;\n if (message.senderExternalUserId != null && message.hasOwnProperty("senderExternalUserId"))\n object.senderExternalUserId = message.senderExternalUserId;\n return object;\n };\n\n /**\n * Converts this SdkDataMessagePayload to JSON.\n * @function toJSON\n * @memberof SdkDataMessagePayload\n * @instance\n * @returns {Object.} JSON object\n */\n SdkDataMessagePayload.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkDataMessagePayload;\n})();\n\n$root.SdkTurnCredentials = (function() {\n\n /**\n * Properties of a SdkTurnCredentials.\n * @exports ISdkTurnCredentials\n * @interface ISdkTurnCredentials\n * @property {string|null} [username] SdkTurnCredentials username\n * @property {string|null} [password] SdkTurnCredentials password\n * @property {number|null} [ttl] SdkTurnCredentials ttl\n * @property {Array.|null} [uris] SdkTurnCredentials uris\n */\n\n /**\n * Constructs a new SdkTurnCredentials.\n * @exports SdkTurnCredentials\n * @classdesc Represents a SdkTurnCredentials.\n * @implements ISdkTurnCredentials\n * @constructor\n * @param {ISdkTurnCredentials=} [properties] Properties to set\n */\n function SdkTurnCredentials(properties) {\n this.uris = [];\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkTurnCredentials username.\n * @member {string} username\n * @memberof SdkTurnCredentials\n * @instance\n */\n SdkTurnCredentials.prototype.username = "";\n\n /**\n * SdkTurnCredentials password.\n * @member {string} password\n * @memberof SdkTurnCredentials\n * @instance\n */\n SdkTurnCredentials.prototype.password = "";\n\n /**\n * SdkTurnCredentials ttl.\n * @member {number} ttl\n * @memberof SdkTurnCredentials\n * @instance\n */\n SdkTurnCredentials.prototype.ttl = 0;\n\n /**\n * SdkTurnCredentials uris.\n * @member {Array.} uris\n * @memberof SdkTurnCredentials\n * @instance\n */\n SdkTurnCredentials.prototype.uris = $util.emptyArray;\n\n /**\n * Creates a new SdkTurnCredentials instance using the specified properties.\n * @function create\n * @memberof SdkTurnCredentials\n * @static\n * @param {ISdkTurnCredentials=} [properties] Properties to set\n * @returns {SdkTurnCredentials} SdkTurnCredentials instance\n */\n SdkTurnCredentials.create = function create(properties) {\n return new SdkTurnCredentials(properties);\n };\n\n /**\n * Encodes the specified SdkTurnCredentials message. Does not implicitly {@link SdkTurnCredentials.verify|verify} messages.\n * @function encode\n * @memberof SdkTurnCredentials\n * @static\n * @param {ISdkTurnCredentials} message SdkTurnCredentials message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkTurnCredentials.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.username != null && Object.hasOwnProperty.call(message, "username"))\n writer.uint32(/* id 1, wireType 2 =*/10).string(message.username);\n if (message.password != null && Object.hasOwnProperty.call(message, "password"))\n writer.uint32(/* id 2, wireType 2 =*/18).string(message.password);\n if (message.ttl != null && Object.hasOwnProperty.call(message, "ttl"))\n writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.ttl);\n if (message.uris != null && message.uris.length)\n for (var i = 0; i < message.uris.length; ++i)\n writer.uint32(/* id 4, wireType 2 =*/34).string(message.uris[i]);\n return writer;\n };\n\n /**\n * Encodes the specified SdkTurnCredentials message, length delimited. Does not implicitly {@link SdkTurnCredentials.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkTurnCredentials\n * @static\n * @param {ISdkTurnCredentials} message SdkTurnCredentials message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkTurnCredentials.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkTurnCredentials message from the specified reader or buffer.\n * @function decode\n * @memberof SdkTurnCredentials\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkTurnCredentials} SdkTurnCredentials\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkTurnCredentials.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkTurnCredentials();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.username = reader.string();\n break;\n case 2:\n message.password = reader.string();\n break;\n case 3:\n message.ttl = reader.uint32();\n break;\n case 4:\n if (!(message.uris && message.uris.length))\n message.uris = [];\n message.uris.push(reader.string());\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkTurnCredentials message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkTurnCredentials\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkTurnCredentials} SdkTurnCredentials\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkTurnCredentials.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkTurnCredentials message.\n * @function verify\n * @memberof SdkTurnCredentials\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkTurnCredentials.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.username != null && message.hasOwnProperty("username"))\n if (!$util.isString(message.username))\n return "username: string expected";\n if (message.password != null && message.hasOwnProperty("password"))\n if (!$util.isString(message.password))\n return "password: string expected";\n if (message.ttl != null && message.hasOwnProperty("ttl"))\n if (!$util.isInteger(message.ttl))\n return "ttl: integer expected";\n if (message.uris != null && message.hasOwnProperty("uris")) {\n if (!Array.isArray(message.uris))\n return "uris: array expected";\n for (var i = 0; i < message.uris.length; ++i)\n if (!$util.isString(message.uris[i]))\n return "uris: string[] expected";\n }\n return null;\n };\n\n /**\n * Creates a SdkTurnCredentials message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkTurnCredentials\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkTurnCredentials} SdkTurnCredentials\n */\n SdkTurnCredentials.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkTurnCredentials)\n return object;\n var message = new $root.SdkTurnCredentials();\n if (object.username != null)\n message.username = String(object.username);\n if (object.password != null)\n message.password = String(object.password);\n if (object.ttl != null)\n message.ttl = object.ttl >>> 0;\n if (object.uris) {\n if (!Array.isArray(object.uris))\n throw TypeError(".SdkTurnCredentials.uris: array expected");\n message.uris = [];\n for (var i = 0; i < object.uris.length; ++i)\n message.uris[i] = String(object.uris[i]);\n }\n return message;\n };\n\n /**\n * Creates a plain object from a SdkTurnCredentials message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkTurnCredentials\n * @static\n * @param {SdkTurnCredentials} message SdkTurnCredentials\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkTurnCredentials.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.arrays || options.defaults)\n object.uris = [];\n if (options.defaults) {\n object.username = "";\n object.password = "";\n object.ttl = 0;\n }\n if (message.username != null && message.hasOwnProperty("username"))\n object.username = message.username;\n if (message.password != null && message.hasOwnProperty("password"))\n object.password = message.password;\n if (message.ttl != null && message.hasOwnProperty("ttl"))\n object.ttl = message.ttl;\n if (message.uris && message.uris.length) {\n object.uris = [];\n for (var j = 0; j < message.uris.length; ++j)\n object.uris[j] = message.uris[j];\n }\n return object;\n };\n\n /**\n * Converts this SdkTurnCredentials to JSON.\n * @function toJSON\n * @memberof SdkTurnCredentials\n * @instance\n * @returns {Object.} JSON object\n */\n SdkTurnCredentials.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkTurnCredentials;\n})();\n\n$root.SdkTranscriptItem = (function() {\n\n /**\n * Properties of a SdkTranscriptItem.\n * @exports ISdkTranscriptItem\n * @interface ISdkTranscriptItem\n * @property {string|null} [content] SdkTranscriptItem content\n * @property {number|Long|null} [endTime] SdkTranscriptItem endTime\n * @property {string|null} [speakerAttendeeId] SdkTranscriptItem speakerAttendeeId\n * @property {string|null} [speakerExternalUserId] SdkTranscriptItem speakerExternalUserId\n * @property {number|Long|null} [startTime] SdkTranscriptItem startTime\n * @property {SdkTranscriptItem.Type|null} [type] SdkTranscriptItem type\n * @property {boolean|null} [vocabularyFilterMatch] SdkTranscriptItem vocabularyFilterMatch\n * @property {number|null} [confidence] SdkTranscriptItem confidence\n * @property {boolean|null} [stable] SdkTranscriptItem stable\n */\n\n /**\n * Constructs a new SdkTranscriptItem.\n * @exports SdkTranscriptItem\n * @classdesc Represents a SdkTranscriptItem.\n * @implements ISdkTranscriptItem\n * @constructor\n * @param {ISdkTranscriptItem=} [properties] Properties to set\n */\n function SdkTranscriptItem(properties) {\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkTranscriptItem content.\n * @member {string} content\n * @memberof SdkTranscriptItem\n * @instance\n */\n SdkTranscriptItem.prototype.content = "";\n\n /**\n * SdkTranscriptItem endTime.\n * @member {number|Long} endTime\n * @memberof SdkTranscriptItem\n * @instance\n */\n SdkTranscriptItem.prototype.endTime = $util.Long ? $util.Long.fromBits(0,0,false) : 0;\n\n /**\n * SdkTranscriptItem speakerAttendeeId.\n * @member {string} speakerAttendeeId\n * @memberof SdkTranscriptItem\n * @instance\n */\n SdkTranscriptItem.prototype.speakerAttendeeId = "";\n\n /**\n * SdkTranscriptItem speakerExternalUserId.\n * @member {string} speakerExternalUserId\n * @memberof SdkTranscriptItem\n * @instance\n */\n SdkTranscriptItem.prototype.speakerExternalUserId = "";\n\n /**\n * SdkTranscriptItem startTime.\n * @member {number|Long} startTime\n * @memberof SdkTranscriptItem\n * @instance\n */\n SdkTranscriptItem.prototype.startTime = $util.Long ? $util.Long.fromBits(0,0,false) : 0;\n\n /**\n * SdkTranscriptItem type.\n * @member {SdkTranscriptItem.Type} type\n * @memberof SdkTranscriptItem\n * @instance\n */\n SdkTranscriptItem.prototype.type = 1;\n\n /**\n * SdkTranscriptItem vocabularyFilterMatch.\n * @member {boolean} vocabularyFilterMatch\n * @memberof SdkTranscriptItem\n * @instance\n */\n SdkTranscriptItem.prototype.vocabularyFilterMatch = false;\n\n /**\n * SdkTranscriptItem confidence.\n * @member {number} confidence\n * @memberof SdkTranscriptItem\n * @instance\n */\n SdkTranscriptItem.prototype.confidence = 0;\n\n /**\n * SdkTranscriptItem stable.\n * @member {boolean} stable\n * @memberof SdkTranscriptItem\n * @instance\n */\n SdkTranscriptItem.prototype.stable = false;\n\n /**\n * Creates a new SdkTranscriptItem instance using the specified properties.\n * @function create\n * @memberof SdkTranscriptItem\n * @static\n * @param {ISdkTranscriptItem=} [properties] Properties to set\n * @returns {SdkTranscriptItem} SdkTranscriptItem instance\n */\n SdkTranscriptItem.create = function create(properties) {\n return new SdkTranscriptItem(properties);\n };\n\n /**\n * Encodes the specified SdkTranscriptItem message. Does not implicitly {@link SdkTranscriptItem.verify|verify} messages.\n * @function encode\n * @memberof SdkTranscriptItem\n * @static\n * @param {ISdkTranscriptItem} message SdkTranscriptItem message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkTranscriptItem.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.content != null && Object.hasOwnProperty.call(message, "content"))\n writer.uint32(/* id 1, wireType 2 =*/10).string(message.content);\n if (message.endTime != null && Object.hasOwnProperty.call(message, "endTime"))\n writer.uint32(/* id 2, wireType 0 =*/16).int64(message.endTime);\n if (message.speakerAttendeeId != null && Object.hasOwnProperty.call(message, "speakerAttendeeId"))\n writer.uint32(/* id 3, wireType 2 =*/26).string(message.speakerAttendeeId);\n if (message.speakerExternalUserId != null && Object.hasOwnProperty.call(message, "speakerExternalUserId"))\n writer.uint32(/* id 4, wireType 2 =*/34).string(message.speakerExternalUserId);\n if (message.startTime != null && Object.hasOwnProperty.call(message, "startTime"))\n writer.uint32(/* id 5, wireType 0 =*/40).int64(message.startTime);\n if (message.type != null && Object.hasOwnProperty.call(message, "type"))\n writer.uint32(/* id 6, wireType 0 =*/48).int32(message.type);\n if (message.vocabularyFilterMatch != null && Object.hasOwnProperty.call(message, "vocabularyFilterMatch"))\n writer.uint32(/* id 7, wireType 0 =*/56).bool(message.vocabularyFilterMatch);\n if (message.confidence != null && Object.hasOwnProperty.call(message, "confidence"))\n writer.uint32(/* id 8, wireType 1 =*/65).double(message.confidence);\n if (message.stable != null && Object.hasOwnProperty.call(message, "stable"))\n writer.uint32(/* id 9, wireType 0 =*/72).bool(message.stable);\n return writer;\n };\n\n /**\n * Encodes the specified SdkTranscriptItem message, length delimited. Does not implicitly {@link SdkTranscriptItem.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkTranscriptItem\n * @static\n * @param {ISdkTranscriptItem} message SdkTranscriptItem message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkTranscriptItem.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkTranscriptItem message from the specified reader or buffer.\n * @function decode\n * @memberof SdkTranscriptItem\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkTranscriptItem} SdkTranscriptItem\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkTranscriptItem.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkTranscriptItem();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.content = reader.string();\n break;\n case 2:\n message.endTime = reader.int64();\n break;\n case 3:\n message.speakerAttendeeId = reader.string();\n break;\n case 4:\n message.speakerExternalUserId = reader.string();\n break;\n case 5:\n message.startTime = reader.int64();\n break;\n case 6:\n message.type = reader.int32();\n break;\n case 7:\n message.vocabularyFilterMatch = reader.bool();\n break;\n case 8:\n message.confidence = reader.double();\n break;\n case 9:\n message.stable = reader.bool();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkTranscriptItem message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkTranscriptItem\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkTranscriptItem} SdkTranscriptItem\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkTranscriptItem.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkTranscriptItem message.\n * @function verify\n * @memberof SdkTranscriptItem\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkTranscriptItem.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.content != null && message.hasOwnProperty("content"))\n if (!$util.isString(message.content))\n return "content: string expected";\n if (message.endTime != null && message.hasOwnProperty("endTime"))\n if (!$util.isInteger(message.endTime) && !(message.endTime && $util.isInteger(message.endTime.low) && $util.isInteger(message.endTime.high)))\n return "endTime: integer|Long expected";\n if (message.speakerAttendeeId != null && message.hasOwnProperty("speakerAttendeeId"))\n if (!$util.isString(message.speakerAttendeeId))\n return "speakerAttendeeId: string expected";\n if (message.speakerExternalUserId != null && message.hasOwnProperty("speakerExternalUserId"))\n if (!$util.isString(message.speakerExternalUserId))\n return "speakerExternalUserId: string expected";\n if (message.startTime != null && message.hasOwnProperty("startTime"))\n if (!$util.isInteger(message.startTime) && !(message.startTime && $util.isInteger(message.startTime.low) && $util.isInteger(message.startTime.high)))\n return "startTime: integer|Long expected";\n if (message.type != null && message.hasOwnProperty("type"))\n switch (message.type) {\n default:\n return "type: enum value expected";\n case 1:\n case 2:\n break;\n }\n if (message.vocabularyFilterMatch != null && message.hasOwnProperty("vocabularyFilterMatch"))\n if (typeof message.vocabularyFilterMatch !== "boolean")\n return "vocabularyFilterMatch: boolean expected";\n if (message.confidence != null && message.hasOwnProperty("confidence"))\n if (typeof message.confidence !== "number")\n return "confidence: number expected";\n if (message.stable != null && message.hasOwnProperty("stable"))\n if (typeof message.stable !== "boolean")\n return "stable: boolean expected";\n return null;\n };\n\n /**\n * Creates a SdkTranscriptItem message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkTranscriptItem\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkTranscriptItem} SdkTranscriptItem\n */\n SdkTranscriptItem.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkTranscriptItem)\n return object;\n var message = new $root.SdkTranscriptItem();\n if (object.content != null)\n message.content = String(object.content);\n if (object.endTime != null)\n if ($util.Long)\n (message.endTime = $util.Long.fromValue(object.endTime)).unsigned = false;\n else if (typeof object.endTime === "string")\n message.endTime = parseInt(object.endTime, 10);\n else if (typeof object.endTime === "number")\n message.endTime = object.endTime;\n else if (typeof object.endTime === "object")\n message.endTime = new $util.LongBits(object.endTime.low >>> 0, object.endTime.high >>> 0).toNumber();\n if (object.speakerAttendeeId != null)\n message.speakerAttendeeId = String(object.speakerAttendeeId);\n if (object.speakerExternalUserId != null)\n message.speakerExternalUserId = String(object.speakerExternalUserId);\n if (object.startTime != null)\n if ($util.Long)\n (message.startTime = $util.Long.fromValue(object.startTime)).unsigned = false;\n else if (typeof object.startTime === "string")\n message.startTime = parseInt(object.startTime, 10);\n else if (typeof object.startTime === "number")\n message.startTime = object.startTime;\n else if (typeof object.startTime === "object")\n message.startTime = new $util.LongBits(object.startTime.low >>> 0, object.startTime.high >>> 0).toNumber();\n switch (object.type) {\n case "PRONUNCIATION":\n case 1:\n message.type = 1;\n break;\n case "PUNCTUATION":\n case 2:\n message.type = 2;\n break;\n }\n if (object.vocabularyFilterMatch != null)\n message.vocabularyFilterMatch = Boolean(object.vocabularyFilterMatch);\n if (object.confidence != null)\n message.confidence = Number(object.confidence);\n if (object.stable != null)\n message.stable = Boolean(object.stable);\n return message;\n };\n\n /**\n * Creates a plain object from a SdkTranscriptItem message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkTranscriptItem\n * @static\n * @param {SdkTranscriptItem} message SdkTranscriptItem\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkTranscriptItem.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.defaults) {\n object.content = "";\n if ($util.Long) {\n var long = new $util.Long(0, 0, false);\n object.endTime = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;\n } else\n object.endTime = options.longs === String ? "0" : 0;\n object.speakerAttendeeId = "";\n object.speakerExternalUserId = "";\n if ($util.Long) {\n var long = new $util.Long(0, 0, false);\n object.startTime = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;\n } else\n object.startTime = options.longs === String ? "0" : 0;\n object.type = options.enums === String ? "PRONUNCIATION" : 1;\n object.vocabularyFilterMatch = false;\n object.confidence = 0;\n object.stable = false;\n }\n if (message.content != null && message.hasOwnProperty("content"))\n object.content = message.content;\n if (message.endTime != null && message.hasOwnProperty("endTime"))\n if (typeof message.endTime === "number")\n object.endTime = options.longs === String ? String(message.endTime) : message.endTime;\n else\n object.endTime = options.longs === String ? $util.Long.prototype.toString.call(message.endTime) : options.longs === Number ? new $util.LongBits(message.endTime.low >>> 0, message.endTime.high >>> 0).toNumber() : message.endTime;\n if (message.speakerAttendeeId != null && message.hasOwnProperty("speakerAttendeeId"))\n object.speakerAttendeeId = message.speakerAttendeeId;\n if (message.speakerExternalUserId != null && message.hasOwnProperty("speakerExternalUserId"))\n object.speakerExternalUserId = message.speakerExternalUserId;\n if (message.startTime != null && message.hasOwnProperty("startTime"))\n if (typeof message.startTime === "number")\n object.startTime = options.longs === String ? String(message.startTime) : message.startTime;\n else\n object.startTime = options.longs === String ? $util.Long.prototype.toString.call(message.startTime) : options.longs === Number ? new $util.LongBits(message.startTime.low >>> 0, message.startTime.high >>> 0).toNumber() : message.startTime;\n if (message.type != null && message.hasOwnProperty("type"))\n object.type = options.enums === String ? $root.SdkTranscriptItem.Type[message.type] : message.type;\n if (message.vocabularyFilterMatch != null && message.hasOwnProperty("vocabularyFilterMatch"))\n object.vocabularyFilterMatch = message.vocabularyFilterMatch;\n if (message.confidence != null && message.hasOwnProperty("confidence"))\n object.confidence = options.json && !isFinite(message.confidence) ? String(message.confidence) : message.confidence;\n if (message.stable != null && message.hasOwnProperty("stable"))\n object.stable = message.stable;\n return object;\n };\n\n /**\n * Converts this SdkTranscriptItem to JSON.\n * @function toJSON\n * @memberof SdkTranscriptItem\n * @instance\n * @returns {Object.} JSON object\n */\n SdkTranscriptItem.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n /**\n * Type enum.\n * @name SdkTranscriptItem.Type\n * @enum {number}\n * @property {number} PRONUNCIATION=1 PRONUNCIATION value\n * @property {number} PUNCTUATION=2 PUNCTUATION value\n */\n SdkTranscriptItem.Type = (function() {\n var valuesById = {}, values = Object.create(valuesById);\n values[valuesById[1] = "PRONUNCIATION"] = 1;\n values[valuesById[2] = "PUNCTUATION"] = 2;\n return values;\n })();\n\n return SdkTranscriptItem;\n})();\n\n$root.SdkTranscriptEntity = (function() {\n\n /**\n * Properties of a SdkTranscriptEntity.\n * @exports ISdkTranscriptEntity\n * @interface ISdkTranscriptEntity\n * @property {string|null} [category] SdkTranscriptEntity category\n * @property {number|null} [confidence] SdkTranscriptEntity confidence\n * @property {string|null} [content] SdkTranscriptEntity content\n * @property {number|Long|null} [endTime] SdkTranscriptEntity endTime\n * @property {number|Long|null} [startTime] SdkTranscriptEntity startTime\n * @property {string|null} [type] SdkTranscriptEntity type\n */\n\n /**\n * Constructs a new SdkTranscriptEntity.\n * @exports SdkTranscriptEntity\n * @classdesc Represents a SdkTranscriptEntity.\n * @implements ISdkTranscriptEntity\n * @constructor\n * @param {ISdkTranscriptEntity=} [properties] Properties to set\n */\n function SdkTranscriptEntity(properties) {\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkTranscriptEntity category.\n * @member {string} category\n * @memberof SdkTranscriptEntity\n * @instance\n */\n SdkTranscriptEntity.prototype.category = "";\n\n /**\n * SdkTranscriptEntity confidence.\n * @member {number} confidence\n * @memberof SdkTranscriptEntity\n * @instance\n */\n SdkTranscriptEntity.prototype.confidence = 0;\n\n /**\n * SdkTranscriptEntity content.\n * @member {string} content\n * @memberof SdkTranscriptEntity\n * @instance\n */\n SdkTranscriptEntity.prototype.content = "";\n\n /**\n * SdkTranscriptEntity endTime.\n * @member {number|Long} endTime\n * @memberof SdkTranscriptEntity\n * @instance\n */\n SdkTranscriptEntity.prototype.endTime = $util.Long ? $util.Long.fromBits(0,0,false) : 0;\n\n /**\n * SdkTranscriptEntity startTime.\n * @member {number|Long} startTime\n * @memberof SdkTranscriptEntity\n * @instance\n */\n SdkTranscriptEntity.prototype.startTime = $util.Long ? $util.Long.fromBits(0,0,false) : 0;\n\n /**\n * SdkTranscriptEntity type.\n * @member {string} type\n * @memberof SdkTranscriptEntity\n * @instance\n */\n SdkTranscriptEntity.prototype.type = "";\n\n /**\n * Creates a new SdkTranscriptEntity instance using the specified properties.\n * @function create\n * @memberof SdkTranscriptEntity\n * @static\n * @param {ISdkTranscriptEntity=} [properties] Properties to set\n * @returns {SdkTranscriptEntity} SdkTranscriptEntity instance\n */\n SdkTranscriptEntity.create = function create(properties) {\n return new SdkTranscriptEntity(properties);\n };\n\n /**\n * Encodes the specified SdkTranscriptEntity message. Does not implicitly {@link SdkTranscriptEntity.verify|verify} messages.\n * @function encode\n * @memberof SdkTranscriptEntity\n * @static\n * @param {ISdkTranscriptEntity} message SdkTranscriptEntity message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkTranscriptEntity.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.category != null && Object.hasOwnProperty.call(message, "category"))\n writer.uint32(/* id 1, wireType 2 =*/10).string(message.category);\n if (message.confidence != null && Object.hasOwnProperty.call(message, "confidence"))\n writer.uint32(/* id 2, wireType 1 =*/17).double(message.confidence);\n if (message.content != null && Object.hasOwnProperty.call(message, "content"))\n writer.uint32(/* id 3, wireType 2 =*/26).string(message.content);\n if (message.endTime != null && Object.hasOwnProperty.call(message, "endTime"))\n writer.uint32(/* id 4, wireType 0 =*/32).int64(message.endTime);\n if (message.startTime != null && Object.hasOwnProperty.call(message, "startTime"))\n writer.uint32(/* id 5, wireType 0 =*/40).int64(message.startTime);\n if (message.type != null && Object.hasOwnProperty.call(message, "type"))\n writer.uint32(/* id 6, wireType 2 =*/50).string(message.type);\n return writer;\n };\n\n /**\n * Encodes the specified SdkTranscriptEntity message, length delimited. Does not implicitly {@link SdkTranscriptEntity.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkTranscriptEntity\n * @static\n * @param {ISdkTranscriptEntity} message SdkTranscriptEntity message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkTranscriptEntity.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkTranscriptEntity message from the specified reader or buffer.\n * @function decode\n * @memberof SdkTranscriptEntity\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkTranscriptEntity} SdkTranscriptEntity\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkTranscriptEntity.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkTranscriptEntity();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.category = reader.string();\n break;\n case 2:\n message.confidence = reader.double();\n break;\n case 3:\n message.content = reader.string();\n break;\n case 4:\n message.endTime = reader.int64();\n break;\n case 5:\n message.startTime = reader.int64();\n break;\n case 6:\n message.type = reader.string();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkTranscriptEntity message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkTranscriptEntity\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkTranscriptEntity} SdkTranscriptEntity\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkTranscriptEntity.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkTranscriptEntity message.\n * @function verify\n * @memberof SdkTranscriptEntity\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkTranscriptEntity.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.category != null && message.hasOwnProperty("category"))\n if (!$util.isString(message.category))\n return "category: string expected";\n if (message.confidence != null && message.hasOwnProperty("confidence"))\n if (typeof message.confidence !== "number")\n return "confidence: number expected";\n if (message.content != null && message.hasOwnProperty("content"))\n if (!$util.isString(message.content))\n return "content: string expected";\n if (message.endTime != null && message.hasOwnProperty("endTime"))\n if (!$util.isInteger(message.endTime) && !(message.endTime && $util.isInteger(message.endTime.low) && $util.isInteger(message.endTime.high)))\n return "endTime: integer|Long expected";\n if (message.startTime != null && message.hasOwnProperty("startTime"))\n if (!$util.isInteger(message.startTime) && !(message.startTime && $util.isInteger(message.startTime.low) && $util.isInteger(message.startTime.high)))\n return "startTime: integer|Long expected";\n if (message.type != null && message.hasOwnProperty("type"))\n if (!$util.isString(message.type))\n return "type: string expected";\n return null;\n };\n\n /**\n * Creates a SdkTranscriptEntity message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkTranscriptEntity\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkTranscriptEntity} SdkTranscriptEntity\n */\n SdkTranscriptEntity.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkTranscriptEntity)\n return object;\n var message = new $root.SdkTranscriptEntity();\n if (object.category != null)\n message.category = String(object.category);\n if (object.confidence != null)\n message.confidence = Number(object.confidence);\n if (object.content != null)\n message.content = String(object.content);\n if (object.endTime != null)\n if ($util.Long)\n (message.endTime = $util.Long.fromValue(object.endTime)).unsigned = false;\n else if (typeof object.endTime === "string")\n message.endTime = parseInt(object.endTime, 10);\n else if (typeof object.endTime === "number")\n message.endTime = object.endTime;\n else if (typeof object.endTime === "object")\n message.endTime = new $util.LongBits(object.endTime.low >>> 0, object.endTime.high >>> 0).toNumber();\n if (object.startTime != null)\n if ($util.Long)\n (message.startTime = $util.Long.fromValue(object.startTime)).unsigned = false;\n else if (typeof object.startTime === "string")\n message.startTime = parseInt(object.startTime, 10);\n else if (typeof object.startTime === "number")\n message.startTime = object.startTime;\n else if (typeof object.startTime === "object")\n message.startTime = new $util.LongBits(object.startTime.low >>> 0, object.startTime.high >>> 0).toNumber();\n if (object.type != null)\n message.type = String(object.type);\n return message;\n };\n\n /**\n * Creates a plain object from a SdkTranscriptEntity message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkTranscriptEntity\n * @static\n * @param {SdkTranscriptEntity} message SdkTranscriptEntity\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkTranscriptEntity.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.defaults) {\n object.category = "";\n object.confidence = 0;\n object.content = "";\n if ($util.Long) {\n var long = new $util.Long(0, 0, false);\n object.endTime = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;\n } else\n object.endTime = options.longs === String ? "0" : 0;\n if ($util.Long) {\n var long = new $util.Long(0, 0, false);\n object.startTime = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;\n } else\n object.startTime = options.longs === String ? "0" : 0;\n object.type = "";\n }\n if (message.category != null && message.hasOwnProperty("category"))\n object.category = message.category;\n if (message.confidence != null && message.hasOwnProperty("confidence"))\n object.confidence = options.json && !isFinite(message.confidence) ? String(message.confidence) : message.confidence;\n if (message.content != null && message.hasOwnProperty("content"))\n object.content = message.content;\n if (message.endTime != null && message.hasOwnProperty("endTime"))\n if (typeof message.endTime === "number")\n object.endTime = options.longs === String ? String(message.endTime) : message.endTime;\n else\n object.endTime = options.longs === String ? $util.Long.prototype.toString.call(message.endTime) : options.longs === Number ? new $util.LongBits(message.endTime.low >>> 0, message.endTime.high >>> 0).toNumber() : message.endTime;\n if (message.startTime != null && message.hasOwnProperty("startTime"))\n if (typeof message.startTime === "number")\n object.startTime = options.longs === String ? String(message.startTime) : message.startTime;\n else\n object.startTime = options.longs === String ? $util.Long.prototype.toString.call(message.startTime) : options.longs === Number ? new $util.LongBits(message.startTime.low >>> 0, message.startTime.high >>> 0).toNumber() : message.startTime;\n if (message.type != null && message.hasOwnProperty("type"))\n object.type = message.type;\n return object;\n };\n\n /**\n * Converts this SdkTranscriptEntity to JSON.\n * @function toJSON\n * @memberof SdkTranscriptEntity\n * @instance\n * @returns {Object.} JSON object\n */\n SdkTranscriptEntity.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkTranscriptEntity;\n})();\n\n$root.SdkTranscriptAlternative = (function() {\n\n /**\n * Properties of a SdkTranscriptAlternative.\n * @exports ISdkTranscriptAlternative\n * @interface ISdkTranscriptAlternative\n * @property {Array.|null} [items] SdkTranscriptAlternative items\n * @property {string|null} [transcript] SdkTranscriptAlternative transcript\n * @property {Array.|null} [entities] SdkTranscriptAlternative entities\n */\n\n /**\n * Constructs a new SdkTranscriptAlternative.\n * @exports SdkTranscriptAlternative\n * @classdesc Represents a SdkTranscriptAlternative.\n * @implements ISdkTranscriptAlternative\n * @constructor\n * @param {ISdkTranscriptAlternative=} [properties] Properties to set\n */\n function SdkTranscriptAlternative(properties) {\n this.items = [];\n this.entities = [];\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkTranscriptAlternative items.\n * @member {Array.} items\n * @memberof SdkTranscriptAlternative\n * @instance\n */\n SdkTranscriptAlternative.prototype.items = $util.emptyArray;\n\n /**\n * SdkTranscriptAlternative transcript.\n * @member {string} transcript\n * @memberof SdkTranscriptAlternative\n * @instance\n */\n SdkTranscriptAlternative.prototype.transcript = "";\n\n /**\n * SdkTranscriptAlternative entities.\n * @member {Array.} entities\n * @memberof SdkTranscriptAlternative\n * @instance\n */\n SdkTranscriptAlternative.prototype.entities = $util.emptyArray;\n\n /**\n * Creates a new SdkTranscriptAlternative instance using the specified properties.\n * @function create\n * @memberof SdkTranscriptAlternative\n * @static\n * @param {ISdkTranscriptAlternative=} [properties] Properties to set\n * @returns {SdkTranscriptAlternative} SdkTranscriptAlternative instance\n */\n SdkTranscriptAlternative.create = function create(properties) {\n return new SdkTranscriptAlternative(properties);\n };\n\n /**\n * Encodes the specified SdkTranscriptAlternative message. Does not implicitly {@link SdkTranscriptAlternative.verify|verify} messages.\n * @function encode\n * @memberof SdkTranscriptAlternative\n * @static\n * @param {ISdkTranscriptAlternative} message SdkTranscriptAlternative message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkTranscriptAlternative.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.items != null && message.items.length)\n for (var i = 0; i < message.items.length; ++i)\n $root.SdkTranscriptItem.encode(message.items[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();\n if (message.transcript != null && Object.hasOwnProperty.call(message, "transcript"))\n writer.uint32(/* id 2, wireType 2 =*/18).string(message.transcript);\n if (message.entities != null && message.entities.length)\n for (var i = 0; i < message.entities.length; ++i)\n $root.SdkTranscriptEntity.encode(message.entities[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();\n return writer;\n };\n\n /**\n * Encodes the specified SdkTranscriptAlternative message, length delimited. Does not implicitly {@link SdkTranscriptAlternative.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkTranscriptAlternative\n * @static\n * @param {ISdkTranscriptAlternative} message SdkTranscriptAlternative message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkTranscriptAlternative.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkTranscriptAlternative message from the specified reader or buffer.\n * @function decode\n * @memberof SdkTranscriptAlternative\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkTranscriptAlternative} SdkTranscriptAlternative\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkTranscriptAlternative.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkTranscriptAlternative();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (!(message.items && message.items.length))\n message.items = [];\n message.items.push($root.SdkTranscriptItem.decode(reader, reader.uint32()));\n break;\n case 2:\n message.transcript = reader.string();\n break;\n case 3:\n if (!(message.entities && message.entities.length))\n message.entities = [];\n message.entities.push($root.SdkTranscriptEntity.decode(reader, reader.uint32()));\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkTranscriptAlternative message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkTranscriptAlternative\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkTranscriptAlternative} SdkTranscriptAlternative\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkTranscriptAlternative.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkTranscriptAlternative message.\n * @function verify\n * @memberof SdkTranscriptAlternative\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkTranscriptAlternative.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.items != null && message.hasOwnProperty("items")) {\n if (!Array.isArray(message.items))\n return "items: array expected";\n for (var i = 0; i < message.items.length; ++i) {\n var error = $root.SdkTranscriptItem.verify(message.items[i]);\n if (error)\n return "items." + error;\n }\n }\n if (message.transcript != null && message.hasOwnProperty("transcript"))\n if (!$util.isString(message.transcript))\n return "transcript: string expected";\n if (message.entities != null && message.hasOwnProperty("entities")) {\n if (!Array.isArray(message.entities))\n return "entities: array expected";\n for (var i = 0; i < message.entities.length; ++i) {\n var error = $root.SdkTranscriptEntity.verify(message.entities[i]);\n if (error)\n return "entities." + error;\n }\n }\n return null;\n };\n\n /**\n * Creates a SdkTranscriptAlternative message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkTranscriptAlternative\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkTranscriptAlternative} SdkTranscriptAlternative\n */\n SdkTranscriptAlternative.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkTranscriptAlternative)\n return object;\n var message = new $root.SdkTranscriptAlternative();\n if (object.items) {\n if (!Array.isArray(object.items))\n throw TypeError(".SdkTranscriptAlternative.items: array expected");\n message.items = [];\n for (var i = 0; i < object.items.length; ++i) {\n if (typeof object.items[i] !== "object")\n throw TypeError(".SdkTranscriptAlternative.items: object expected");\n message.items[i] = $root.SdkTranscriptItem.fromObject(object.items[i]);\n }\n }\n if (object.transcript != null)\n message.transcript = String(object.transcript);\n if (object.entities) {\n if (!Array.isArray(object.entities))\n throw TypeError(".SdkTranscriptAlternative.entities: array expected");\n message.entities = [];\n for (var i = 0; i < object.entities.length; ++i) {\n if (typeof object.entities[i] !== "object")\n throw TypeError(".SdkTranscriptAlternative.entities: object expected");\n message.entities[i] = $root.SdkTranscriptEntity.fromObject(object.entities[i]);\n }\n }\n return message;\n };\n\n /**\n * Creates a plain object from a SdkTranscriptAlternative message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkTranscriptAlternative\n * @static\n * @param {SdkTranscriptAlternative} message SdkTranscriptAlternative\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkTranscriptAlternative.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.arrays || options.defaults) {\n object.items = [];\n object.entities = [];\n }\n if (options.defaults)\n object.transcript = "";\n if (message.items && message.items.length) {\n object.items = [];\n for (var j = 0; j < message.items.length; ++j)\n object.items[j] = $root.SdkTranscriptItem.toObject(message.items[j], options);\n }\n if (message.transcript != null && message.hasOwnProperty("transcript"))\n object.transcript = message.transcript;\n if (message.entities && message.entities.length) {\n object.entities = [];\n for (var j = 0; j < message.entities.length; ++j)\n object.entities[j] = $root.SdkTranscriptEntity.toObject(message.entities[j], options);\n }\n return object;\n };\n\n /**\n * Converts this SdkTranscriptAlternative to JSON.\n * @function toJSON\n * @memberof SdkTranscriptAlternative\n * @instance\n * @returns {Object.} JSON object\n */\n SdkTranscriptAlternative.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkTranscriptAlternative;\n})();\n\n$root.SdkTranscriptLanguageWithScore = (function() {\n\n /**\n * Properties of a SdkTranscriptLanguageWithScore.\n * @exports ISdkTranscriptLanguageWithScore\n * @interface ISdkTranscriptLanguageWithScore\n * @property {string|null} [languageCode] SdkTranscriptLanguageWithScore languageCode\n * @property {number|null} [score] SdkTranscriptLanguageWithScore score\n */\n\n /**\n * Constructs a new SdkTranscriptLanguageWithScore.\n * @exports SdkTranscriptLanguageWithScore\n * @classdesc Represents a SdkTranscriptLanguageWithScore.\n * @implements ISdkTranscriptLanguageWithScore\n * @constructor\n * @param {ISdkTranscriptLanguageWithScore=} [properties] Properties to set\n */\n function SdkTranscriptLanguageWithScore(properties) {\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkTranscriptLanguageWithScore languageCode.\n * @member {string} languageCode\n * @memberof SdkTranscriptLanguageWithScore\n * @instance\n */\n SdkTranscriptLanguageWithScore.prototype.languageCode = "";\n\n /**\n * SdkTranscriptLanguageWithScore score.\n * @member {number} score\n * @memberof SdkTranscriptLanguageWithScore\n * @instance\n */\n SdkTranscriptLanguageWithScore.prototype.score = 0;\n\n /**\n * Creates a new SdkTranscriptLanguageWithScore instance using the specified properties.\n * @function create\n * @memberof SdkTranscriptLanguageWithScore\n * @static\n * @param {ISdkTranscriptLanguageWithScore=} [properties] Properties to set\n * @returns {SdkTranscriptLanguageWithScore} SdkTranscriptLanguageWithScore instance\n */\n SdkTranscriptLanguageWithScore.create = function create(properties) {\n return new SdkTranscriptLanguageWithScore(properties);\n };\n\n /**\n * Encodes the specified SdkTranscriptLanguageWithScore message. Does not implicitly {@link SdkTranscriptLanguageWithScore.verify|verify} messages.\n * @function encode\n * @memberof SdkTranscriptLanguageWithScore\n * @static\n * @param {ISdkTranscriptLanguageWithScore} message SdkTranscriptLanguageWithScore message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkTranscriptLanguageWithScore.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.languageCode != null && Object.hasOwnProperty.call(message, "languageCode"))\n writer.uint32(/* id 1, wireType 2 =*/10).string(message.languageCode);\n if (message.score != null && Object.hasOwnProperty.call(message, "score"))\n writer.uint32(/* id 2, wireType 1 =*/17).double(message.score);\n return writer;\n };\n\n /**\n * Encodes the specified SdkTranscriptLanguageWithScore message, length delimited. Does not implicitly {@link SdkTranscriptLanguageWithScore.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkTranscriptLanguageWithScore\n * @static\n * @param {ISdkTranscriptLanguageWithScore} message SdkTranscriptLanguageWithScore message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkTranscriptLanguageWithScore.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkTranscriptLanguageWithScore message from the specified reader or buffer.\n * @function decode\n * @memberof SdkTranscriptLanguageWithScore\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkTranscriptLanguageWithScore} SdkTranscriptLanguageWithScore\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkTranscriptLanguageWithScore.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkTranscriptLanguageWithScore();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.languageCode = reader.string();\n break;\n case 2:\n message.score = reader.double();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkTranscriptLanguageWithScore message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkTranscriptLanguageWithScore\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkTranscriptLanguageWithScore} SdkTranscriptLanguageWithScore\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkTranscriptLanguageWithScore.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkTranscriptLanguageWithScore message.\n * @function verify\n * @memberof SdkTranscriptLanguageWithScore\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkTranscriptLanguageWithScore.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.languageCode != null && message.hasOwnProperty("languageCode"))\n if (!$util.isString(message.languageCode))\n return "languageCode: string expected";\n if (message.score != null && message.hasOwnProperty("score"))\n if (typeof message.score !== "number")\n return "score: number expected";\n return null;\n };\n\n /**\n * Creates a SdkTranscriptLanguageWithScore message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkTranscriptLanguageWithScore\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkTranscriptLanguageWithScore} SdkTranscriptLanguageWithScore\n */\n SdkTranscriptLanguageWithScore.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkTranscriptLanguageWithScore)\n return object;\n var message = new $root.SdkTranscriptLanguageWithScore();\n if (object.languageCode != null)\n message.languageCode = String(object.languageCode);\n if (object.score != null)\n message.score = Number(object.score);\n return message;\n };\n\n /**\n * Creates a plain object from a SdkTranscriptLanguageWithScore message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkTranscriptLanguageWithScore\n * @static\n * @param {SdkTranscriptLanguageWithScore} message SdkTranscriptLanguageWithScore\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkTranscriptLanguageWithScore.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.defaults) {\n object.languageCode = "";\n object.score = 0;\n }\n if (message.languageCode != null && message.hasOwnProperty("languageCode"))\n object.languageCode = message.languageCode;\n if (message.score != null && message.hasOwnProperty("score"))\n object.score = options.json && !isFinite(message.score) ? String(message.score) : message.score;\n return object;\n };\n\n /**\n * Converts this SdkTranscriptLanguageWithScore to JSON.\n * @function toJSON\n * @memberof SdkTranscriptLanguageWithScore\n * @instance\n * @returns {Object.} JSON object\n */\n SdkTranscriptLanguageWithScore.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkTranscriptLanguageWithScore;\n})();\n\n$root.SdkTranscriptResult = (function() {\n\n /**\n * Properties of a SdkTranscriptResult.\n * @exports ISdkTranscriptResult\n * @interface ISdkTranscriptResult\n * @property {Array.|null} [alternatives] SdkTranscriptResult alternatives\n * @property {string|null} [channelId] SdkTranscriptResult channelId\n * @property {number|Long|null} [endTime] SdkTranscriptResult endTime\n * @property {boolean|null} [isPartial] SdkTranscriptResult isPartial\n * @property {string|null} [resultId] SdkTranscriptResult resultId\n * @property {number|Long|null} [startTime] SdkTranscriptResult startTime\n * @property {string|null} [languageCode] SdkTranscriptResult languageCode\n * @property {Array.|null} [languageIdentification] SdkTranscriptResult languageIdentification\n */\n\n /**\n * Constructs a new SdkTranscriptResult.\n * @exports SdkTranscriptResult\n * @classdesc Represents a SdkTranscriptResult.\n * @implements ISdkTranscriptResult\n * @constructor\n * @param {ISdkTranscriptResult=} [properties] Properties to set\n */\n function SdkTranscriptResult(properties) {\n this.alternatives = [];\n this.languageIdentification = [];\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkTranscriptResult alternatives.\n * @member {Array.} alternatives\n * @memberof SdkTranscriptResult\n * @instance\n */\n SdkTranscriptResult.prototype.alternatives = $util.emptyArray;\n\n /**\n * SdkTranscriptResult channelId.\n * @member {string} channelId\n * @memberof SdkTranscriptResult\n * @instance\n */\n SdkTranscriptResult.prototype.channelId = "";\n\n /**\n * SdkTranscriptResult endTime.\n * @member {number|Long} endTime\n * @memberof SdkTranscriptResult\n * @instance\n */\n SdkTranscriptResult.prototype.endTime = $util.Long ? $util.Long.fromBits(0,0,false) : 0;\n\n /**\n * SdkTranscriptResult isPartial.\n * @member {boolean} isPartial\n * @memberof SdkTranscriptResult\n * @instance\n */\n SdkTranscriptResult.prototype.isPartial = false;\n\n /**\n * SdkTranscriptResult resultId.\n * @member {string} resultId\n * @memberof SdkTranscriptResult\n * @instance\n */\n SdkTranscriptResult.prototype.resultId = "";\n\n /**\n * SdkTranscriptResult startTime.\n * @member {number|Long} startTime\n * @memberof SdkTranscriptResult\n * @instance\n */\n SdkTranscriptResult.prototype.startTime = $util.Long ? $util.Long.fromBits(0,0,false) : 0;\n\n /**\n * SdkTranscriptResult languageCode.\n * @member {string} languageCode\n * @memberof SdkTranscriptResult\n * @instance\n */\n SdkTranscriptResult.prototype.languageCode = "";\n\n /**\n * SdkTranscriptResult languageIdentification.\n * @member {Array.} languageIdentification\n * @memberof SdkTranscriptResult\n * @instance\n */\n SdkTranscriptResult.prototype.languageIdentification = $util.emptyArray;\n\n /**\n * Creates a new SdkTranscriptResult instance using the specified properties.\n * @function create\n * @memberof SdkTranscriptResult\n * @static\n * @param {ISdkTranscriptResult=} [properties] Properties to set\n * @returns {SdkTranscriptResult} SdkTranscriptResult instance\n */\n SdkTranscriptResult.create = function create(properties) {\n return new SdkTranscriptResult(properties);\n };\n\n /**\n * Encodes the specified SdkTranscriptResult message. Does not implicitly {@link SdkTranscriptResult.verify|verify} messages.\n * @function encode\n * @memberof SdkTranscriptResult\n * @static\n * @param {ISdkTranscriptResult} message SdkTranscriptResult message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkTranscriptResult.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.alternatives != null && message.alternatives.length)\n for (var i = 0; i < message.alternatives.length; ++i)\n $root.SdkTranscriptAlternative.encode(message.alternatives[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();\n if (message.channelId != null && Object.hasOwnProperty.call(message, "channelId"))\n writer.uint32(/* id 2, wireType 2 =*/18).string(message.channelId);\n if (message.endTime != null && Object.hasOwnProperty.call(message, "endTime"))\n writer.uint32(/* id 3, wireType 0 =*/24).int64(message.endTime);\n if (message.isPartial != null && Object.hasOwnProperty.call(message, "isPartial"))\n writer.uint32(/* id 4, wireType 0 =*/32).bool(message.isPartial);\n if (message.resultId != null && Object.hasOwnProperty.call(message, "resultId"))\n writer.uint32(/* id 5, wireType 2 =*/42).string(message.resultId);\n if (message.startTime != null && Object.hasOwnProperty.call(message, "startTime"))\n writer.uint32(/* id 6, wireType 0 =*/48).int64(message.startTime);\n if (message.languageCode != null && Object.hasOwnProperty.call(message, "languageCode"))\n writer.uint32(/* id 7, wireType 2 =*/58).string(message.languageCode);\n if (message.languageIdentification != null && message.languageIdentification.length)\n for (var i = 0; i < message.languageIdentification.length; ++i)\n $root.SdkTranscriptLanguageWithScore.encode(message.languageIdentification[i], writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();\n return writer;\n };\n\n /**\n * Encodes the specified SdkTranscriptResult message, length delimited. Does not implicitly {@link SdkTranscriptResult.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkTranscriptResult\n * @static\n * @param {ISdkTranscriptResult} message SdkTranscriptResult message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkTranscriptResult.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkTranscriptResult message from the specified reader or buffer.\n * @function decode\n * @memberof SdkTranscriptResult\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkTranscriptResult} SdkTranscriptResult\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkTranscriptResult.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkTranscriptResult();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (!(message.alternatives && message.alternatives.length))\n message.alternatives = [];\n message.alternatives.push($root.SdkTranscriptAlternative.decode(reader, reader.uint32()));\n break;\n case 2:\n message.channelId = reader.string();\n break;\n case 3:\n message.endTime = reader.int64();\n break;\n case 4:\n message.isPartial = reader.bool();\n break;\n case 5:\n message.resultId = reader.string();\n break;\n case 6:\n message.startTime = reader.int64();\n break;\n case 7:\n message.languageCode = reader.string();\n break;\n case 8:\n if (!(message.languageIdentification && message.languageIdentification.length))\n message.languageIdentification = [];\n message.languageIdentification.push($root.SdkTranscriptLanguageWithScore.decode(reader, reader.uint32()));\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkTranscriptResult message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkTranscriptResult\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkTranscriptResult} SdkTranscriptResult\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkTranscriptResult.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkTranscriptResult message.\n * @function verify\n * @memberof SdkTranscriptResult\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkTranscriptResult.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.alternatives != null && message.hasOwnProperty("alternatives")) {\n if (!Array.isArray(message.alternatives))\n return "alternatives: array expected";\n for (var i = 0; i < message.alternatives.length; ++i) {\n var error = $root.SdkTranscriptAlternative.verify(message.alternatives[i]);\n if (error)\n return "alternatives." + error;\n }\n }\n if (message.channelId != null && message.hasOwnProperty("channelId"))\n if (!$util.isString(message.channelId))\n return "channelId: string expected";\n if (message.endTime != null && message.hasOwnProperty("endTime"))\n if (!$util.isInteger(message.endTime) && !(message.endTime && $util.isInteger(message.endTime.low) && $util.isInteger(message.endTime.high)))\n return "endTime: integer|Long expected";\n if (message.isPartial != null && message.hasOwnProperty("isPartial"))\n if (typeof message.isPartial !== "boolean")\n return "isPartial: boolean expected";\n if (message.resultId != null && message.hasOwnProperty("resultId"))\n if (!$util.isString(message.resultId))\n return "resultId: string expected";\n if (message.startTime != null && message.hasOwnProperty("startTime"))\n if (!$util.isInteger(message.startTime) && !(message.startTime && $util.isInteger(message.startTime.low) && $util.isInteger(message.startTime.high)))\n return "startTime: integer|Long expected";\n if (message.languageCode != null && message.hasOwnProperty("languageCode"))\n if (!$util.isString(message.languageCode))\n return "languageCode: string expected";\n if (message.languageIdentification != null && message.hasOwnProperty("languageIdentification")) {\n if (!Array.isArray(message.languageIdentification))\n return "languageIdentification: array expected";\n for (var i = 0; i < message.languageIdentification.length; ++i) {\n var error = $root.SdkTranscriptLanguageWithScore.verify(message.languageIdentification[i]);\n if (error)\n return "languageIdentification." + error;\n }\n }\n return null;\n };\n\n /**\n * Creates a SdkTranscriptResult message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkTranscriptResult\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkTranscriptResult} SdkTranscriptResult\n */\n SdkTranscriptResult.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkTranscriptResult)\n return object;\n var message = new $root.SdkTranscriptResult();\n if (object.alternatives) {\n if (!Array.isArray(object.alternatives))\n throw TypeError(".SdkTranscriptResult.alternatives: array expected");\n message.alternatives = [];\n for (var i = 0; i < object.alternatives.length; ++i) {\n if (typeof object.alternatives[i] !== "object")\n throw TypeError(".SdkTranscriptResult.alternatives: object expected");\n message.alternatives[i] = $root.SdkTranscriptAlternative.fromObject(object.alternatives[i]);\n }\n }\n if (object.channelId != null)\n message.channelId = String(object.channelId);\n if (object.endTime != null)\n if ($util.Long)\n (message.endTime = $util.Long.fromValue(object.endTime)).unsigned = false;\n else if (typeof object.endTime === "string")\n message.endTime = parseInt(object.endTime, 10);\n else if (typeof object.endTime === "number")\n message.endTime = object.endTime;\n else if (typeof object.endTime === "object")\n message.endTime = new $util.LongBits(object.endTime.low >>> 0, object.endTime.high >>> 0).toNumber();\n if (object.isPartial != null)\n message.isPartial = Boolean(object.isPartial);\n if (object.resultId != null)\n message.resultId = String(object.resultId);\n if (object.startTime != null)\n if ($util.Long)\n (message.startTime = $util.Long.fromValue(object.startTime)).unsigned = false;\n else if (typeof object.startTime === "string")\n message.startTime = parseInt(object.startTime, 10);\n else if (typeof object.startTime === "number")\n message.startTime = object.startTime;\n else if (typeof object.startTime === "object")\n message.startTime = new $util.LongBits(object.startTime.low >>> 0, object.startTime.high >>> 0).toNumber();\n if (object.languageCode != null)\n message.languageCode = String(object.languageCode);\n if (object.languageIdentification) {\n if (!Array.isArray(object.languageIdentification))\n throw TypeError(".SdkTranscriptResult.languageIdentification: array expected");\n message.languageIdentification = [];\n for (var i = 0; i < object.languageIdentification.length; ++i) {\n if (typeof object.languageIdentification[i] !== "object")\n throw TypeError(".SdkTranscriptResult.languageIdentification: object expected");\n message.languageIdentification[i] = $root.SdkTranscriptLanguageWithScore.fromObject(object.languageIdentification[i]);\n }\n }\n return message;\n };\n\n /**\n * Creates a plain object from a SdkTranscriptResult message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkTranscriptResult\n * @static\n * @param {SdkTranscriptResult} message SdkTranscriptResult\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkTranscriptResult.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.arrays || options.defaults) {\n object.alternatives = [];\n object.languageIdentification = [];\n }\n if (options.defaults) {\n object.channelId = "";\n if ($util.Long) {\n var long = new $util.Long(0, 0, false);\n object.endTime = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;\n } else\n object.endTime = options.longs === String ? "0" : 0;\n object.isPartial = false;\n object.resultId = "";\n if ($util.Long) {\n var long = new $util.Long(0, 0, false);\n object.startTime = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;\n } else\n object.startTime = options.longs === String ? "0" : 0;\n object.languageCode = "";\n }\n if (message.alternatives && message.alternatives.length) {\n object.alternatives = [];\n for (var j = 0; j < message.alternatives.length; ++j)\n object.alternatives[j] = $root.SdkTranscriptAlternative.toObject(message.alternatives[j], options);\n }\n if (message.channelId != null && message.hasOwnProperty("channelId"))\n object.channelId = message.channelId;\n if (message.endTime != null && message.hasOwnProperty("endTime"))\n if (typeof message.endTime === "number")\n object.endTime = options.longs === String ? String(message.endTime) : message.endTime;\n else\n object.endTime = options.longs === String ? $util.Long.prototype.toString.call(message.endTime) : options.longs === Number ? new $util.LongBits(message.endTime.low >>> 0, message.endTime.high >>> 0).toNumber() : message.endTime;\n if (message.isPartial != null && message.hasOwnProperty("isPartial"))\n object.isPartial = message.isPartial;\n if (message.resultId != null && message.hasOwnProperty("resultId"))\n object.resultId = message.resultId;\n if (message.startTime != null && message.hasOwnProperty("startTime"))\n if (typeof message.startTime === "number")\n object.startTime = options.longs === String ? String(message.startTime) : message.startTime;\n else\n object.startTime = options.longs === String ? $util.Long.prototype.toString.call(message.startTime) : options.longs === Number ? new $util.LongBits(message.startTime.low >>> 0, message.startTime.high >>> 0).toNumber() : message.startTime;\n if (message.languageCode != null && message.hasOwnProperty("languageCode"))\n object.languageCode = message.languageCode;\n if (message.languageIdentification && message.languageIdentification.length) {\n object.languageIdentification = [];\n for (var j = 0; j < message.languageIdentification.length; ++j)\n object.languageIdentification[j] = $root.SdkTranscriptLanguageWithScore.toObject(message.languageIdentification[j], options);\n }\n return object;\n };\n\n /**\n * Converts this SdkTranscriptResult to JSON.\n * @function toJSON\n * @memberof SdkTranscriptResult\n * @instance\n * @returns {Object.} JSON object\n */\n SdkTranscriptResult.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkTranscriptResult;\n})();\n\n$root.SdkTranscript = (function() {\n\n /**\n * Properties of a SdkTranscript.\n * @exports ISdkTranscript\n * @interface ISdkTranscript\n * @property {Array.|null} [results] SdkTranscript results\n */\n\n /**\n * Constructs a new SdkTranscript.\n * @exports SdkTranscript\n * @classdesc Represents a SdkTranscript.\n * @implements ISdkTranscript\n * @constructor\n * @param {ISdkTranscript=} [properties] Properties to set\n */\n function SdkTranscript(properties) {\n this.results = [];\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkTranscript results.\n * @member {Array.} results\n * @memberof SdkTranscript\n * @instance\n */\n SdkTranscript.prototype.results = $util.emptyArray;\n\n /**\n * Creates a new SdkTranscript instance using the specified properties.\n * @function create\n * @memberof SdkTranscript\n * @static\n * @param {ISdkTranscript=} [properties] Properties to set\n * @returns {SdkTranscript} SdkTranscript instance\n */\n SdkTranscript.create = function create(properties) {\n return new SdkTranscript(properties);\n };\n\n /**\n * Encodes the specified SdkTranscript message. Does not implicitly {@link SdkTranscript.verify|verify} messages.\n * @function encode\n * @memberof SdkTranscript\n * @static\n * @param {ISdkTranscript} message SdkTranscript message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkTranscript.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.results != null && message.results.length)\n for (var i = 0; i < message.results.length; ++i)\n $root.SdkTranscriptResult.encode(message.results[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();\n return writer;\n };\n\n /**\n * Encodes the specified SdkTranscript message, length delimited. Does not implicitly {@link SdkTranscript.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkTranscript\n * @static\n * @param {ISdkTranscript} message SdkTranscript message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkTranscript.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkTranscript message from the specified reader or buffer.\n * @function decode\n * @memberof SdkTranscript\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkTranscript} SdkTranscript\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkTranscript.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkTranscript();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (!(message.results && message.results.length))\n message.results = [];\n message.results.push($root.SdkTranscriptResult.decode(reader, reader.uint32()));\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkTranscript message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkTranscript\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkTranscript} SdkTranscript\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkTranscript.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkTranscript message.\n * @function verify\n * @memberof SdkTranscript\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkTranscript.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.results != null && message.hasOwnProperty("results")) {\n if (!Array.isArray(message.results))\n return "results: array expected";\n for (var i = 0; i < message.results.length; ++i) {\n var error = $root.SdkTranscriptResult.verify(message.results[i]);\n if (error)\n return "results." + error;\n }\n }\n return null;\n };\n\n /**\n * Creates a SdkTranscript message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkTranscript\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkTranscript} SdkTranscript\n */\n SdkTranscript.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkTranscript)\n return object;\n var message = new $root.SdkTranscript();\n if (object.results) {\n if (!Array.isArray(object.results))\n throw TypeError(".SdkTranscript.results: array expected");\n message.results = [];\n for (var i = 0; i < object.results.length; ++i) {\n if (typeof object.results[i] !== "object")\n throw TypeError(".SdkTranscript.results: object expected");\n message.results[i] = $root.SdkTranscriptResult.fromObject(object.results[i]);\n }\n }\n return message;\n };\n\n /**\n * Creates a plain object from a SdkTranscript message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkTranscript\n * @static\n * @param {SdkTranscript} message SdkTranscript\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkTranscript.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.arrays || options.defaults)\n object.results = [];\n if (message.results && message.results.length) {\n object.results = [];\n for (var j = 0; j < message.results.length; ++j)\n object.results[j] = $root.SdkTranscriptResult.toObject(message.results[j], options);\n }\n return object;\n };\n\n /**\n * Converts this SdkTranscript to JSON.\n * @function toJSON\n * @memberof SdkTranscript\n * @instance\n * @returns {Object.} JSON object\n */\n SdkTranscript.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkTranscript;\n})();\n\n$root.SdkTranscriptionStatus = (function() {\n\n /**\n * Properties of a SdkTranscriptionStatus.\n * @exports ISdkTranscriptionStatus\n * @interface ISdkTranscriptionStatus\n * @property {SdkTranscriptionStatus.Type|null} [type] SdkTranscriptionStatus type\n * @property {number|Long|null} [eventTime] SdkTranscriptionStatus eventTime\n * @property {string|null} [transcriptionRegion] SdkTranscriptionStatus transcriptionRegion\n * @property {string|null} [transcriptionConfiguration] SdkTranscriptionStatus transcriptionConfiguration\n * @property {string|null} [message] SdkTranscriptionStatus message\n */\n\n /**\n * Constructs a new SdkTranscriptionStatus.\n * @exports SdkTranscriptionStatus\n * @classdesc Represents a SdkTranscriptionStatus.\n * @implements ISdkTranscriptionStatus\n * @constructor\n * @param {ISdkTranscriptionStatus=} [properties] Properties to set\n */\n function SdkTranscriptionStatus(properties) {\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkTranscriptionStatus type.\n * @member {SdkTranscriptionStatus.Type} type\n * @memberof SdkTranscriptionStatus\n * @instance\n */\n SdkTranscriptionStatus.prototype.type = 1;\n\n /**\n * SdkTranscriptionStatus eventTime.\n * @member {number|Long} eventTime\n * @memberof SdkTranscriptionStatus\n * @instance\n */\n SdkTranscriptionStatus.prototype.eventTime = $util.Long ? $util.Long.fromBits(0,0,false) : 0;\n\n /**\n * SdkTranscriptionStatus transcriptionRegion.\n * @member {string} transcriptionRegion\n * @memberof SdkTranscriptionStatus\n * @instance\n */\n SdkTranscriptionStatus.prototype.transcriptionRegion = "";\n\n /**\n * SdkTranscriptionStatus transcriptionConfiguration.\n * @member {string} transcriptionConfiguration\n * @memberof SdkTranscriptionStatus\n * @instance\n */\n SdkTranscriptionStatus.prototype.transcriptionConfiguration = "";\n\n /**\n * SdkTranscriptionStatus message.\n * @member {string} message\n * @memberof SdkTranscriptionStatus\n * @instance\n */\n SdkTranscriptionStatus.prototype.message = "";\n\n /**\n * Creates a new SdkTranscriptionStatus instance using the specified properties.\n * @function create\n * @memberof SdkTranscriptionStatus\n * @static\n * @param {ISdkTranscriptionStatus=} [properties] Properties to set\n * @returns {SdkTranscriptionStatus} SdkTranscriptionStatus instance\n */\n SdkTranscriptionStatus.create = function create(properties) {\n return new SdkTranscriptionStatus(properties);\n };\n\n /**\n * Encodes the specified SdkTranscriptionStatus message. Does not implicitly {@link SdkTranscriptionStatus.verify|verify} messages.\n * @function encode\n * @memberof SdkTranscriptionStatus\n * @static\n * @param {ISdkTranscriptionStatus} message SdkTranscriptionStatus message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkTranscriptionStatus.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.type != null && Object.hasOwnProperty.call(message, "type"))\n writer.uint32(/* id 1, wireType 0 =*/8).int32(message.type);\n if (message.eventTime != null && Object.hasOwnProperty.call(message, "eventTime"))\n writer.uint32(/* id 2, wireType 0 =*/16).int64(message.eventTime);\n if (message.transcriptionRegion != null && Object.hasOwnProperty.call(message, "transcriptionRegion"))\n writer.uint32(/* id 3, wireType 2 =*/26).string(message.transcriptionRegion);\n if (message.transcriptionConfiguration != null && Object.hasOwnProperty.call(message, "transcriptionConfiguration"))\n writer.uint32(/* id 4, wireType 2 =*/34).string(message.transcriptionConfiguration);\n if (message.message != null && Object.hasOwnProperty.call(message, "message"))\n writer.uint32(/* id 5, wireType 2 =*/42).string(message.message);\n return writer;\n };\n\n /**\n * Encodes the specified SdkTranscriptionStatus message, length delimited. Does not implicitly {@link SdkTranscriptionStatus.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkTranscriptionStatus\n * @static\n * @param {ISdkTranscriptionStatus} message SdkTranscriptionStatus message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkTranscriptionStatus.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkTranscriptionStatus message from the specified reader or buffer.\n * @function decode\n * @memberof SdkTranscriptionStatus\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkTranscriptionStatus} SdkTranscriptionStatus\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkTranscriptionStatus.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkTranscriptionStatus();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.type = reader.int32();\n break;\n case 2:\n message.eventTime = reader.int64();\n break;\n case 3:\n message.transcriptionRegion = reader.string();\n break;\n case 4:\n message.transcriptionConfiguration = reader.string();\n break;\n case 5:\n message.message = reader.string();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkTranscriptionStatus message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkTranscriptionStatus\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkTranscriptionStatus} SdkTranscriptionStatus\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkTranscriptionStatus.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkTranscriptionStatus message.\n * @function verify\n * @memberof SdkTranscriptionStatus\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkTranscriptionStatus.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.type != null && message.hasOwnProperty("type"))\n switch (message.type) {\n default:\n return "type: enum value expected";\n case 1:\n case 2:\n case 3:\n case 4:\n case 5:\n break;\n }\n if (message.eventTime != null && message.hasOwnProperty("eventTime"))\n if (!$util.isInteger(message.eventTime) && !(message.eventTime && $util.isInteger(message.eventTime.low) && $util.isInteger(message.eventTime.high)))\n return "eventTime: integer|Long expected";\n if (message.transcriptionRegion != null && message.hasOwnProperty("transcriptionRegion"))\n if (!$util.isString(message.transcriptionRegion))\n return "transcriptionRegion: string expected";\n if (message.transcriptionConfiguration != null && message.hasOwnProperty("transcriptionConfiguration"))\n if (!$util.isString(message.transcriptionConfiguration))\n return "transcriptionConfiguration: string expected";\n if (message.message != null && message.hasOwnProperty("message"))\n if (!$util.isString(message.message))\n return "message: string expected";\n return null;\n };\n\n /**\n * Creates a SdkTranscriptionStatus message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkTranscriptionStatus\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkTranscriptionStatus} SdkTranscriptionStatus\n */\n SdkTranscriptionStatus.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkTranscriptionStatus)\n return object;\n var message = new $root.SdkTranscriptionStatus();\n switch (object.type) {\n case "STARTED":\n case 1:\n message.type = 1;\n break;\n case "INTERRUPTED":\n case 2:\n message.type = 2;\n break;\n case "RESUMED":\n case 3:\n message.type = 3;\n break;\n case "STOPPED":\n case 4:\n message.type = 4;\n break;\n case "FAILED":\n case 5:\n message.type = 5;\n break;\n }\n if (object.eventTime != null)\n if ($util.Long)\n (message.eventTime = $util.Long.fromValue(object.eventTime)).unsigned = false;\n else if (typeof object.eventTime === "string")\n message.eventTime = parseInt(object.eventTime, 10);\n else if (typeof object.eventTime === "number")\n message.eventTime = object.eventTime;\n else if (typeof object.eventTime === "object")\n message.eventTime = new $util.LongBits(object.eventTime.low >>> 0, object.eventTime.high >>> 0).toNumber();\n if (object.transcriptionRegion != null)\n message.transcriptionRegion = String(object.transcriptionRegion);\n if (object.transcriptionConfiguration != null)\n message.transcriptionConfiguration = String(object.transcriptionConfiguration);\n if (object.message != null)\n message.message = String(object.message);\n return message;\n };\n\n /**\n * Creates a plain object from a SdkTranscriptionStatus message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkTranscriptionStatus\n * @static\n * @param {SdkTranscriptionStatus} message SdkTranscriptionStatus\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkTranscriptionStatus.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.defaults) {\n object.type = options.enums === String ? "STARTED" : 1;\n if ($util.Long) {\n var long = new $util.Long(0, 0, false);\n object.eventTime = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;\n } else\n object.eventTime = options.longs === String ? "0" : 0;\n object.transcriptionRegion = "";\n object.transcriptionConfiguration = "";\n object.message = "";\n }\n if (message.type != null && message.hasOwnProperty("type"))\n object.type = options.enums === String ? $root.SdkTranscriptionStatus.Type[message.type] : message.type;\n if (message.eventTime != null && message.hasOwnProperty("eventTime"))\n if (typeof message.eventTime === "number")\n object.eventTime = options.longs === String ? String(message.eventTime) : message.eventTime;\n else\n object.eventTime = options.longs === String ? $util.Long.prototype.toString.call(message.eventTime) : options.longs === Number ? new $util.LongBits(message.eventTime.low >>> 0, message.eventTime.high >>> 0).toNumber() : message.eventTime;\n if (message.transcriptionRegion != null && message.hasOwnProperty("transcriptionRegion"))\n object.transcriptionRegion = message.transcriptionRegion;\n if (message.transcriptionConfiguration != null && message.hasOwnProperty("transcriptionConfiguration"))\n object.transcriptionConfiguration = message.transcriptionConfiguration;\n if (message.message != null && message.hasOwnProperty("message"))\n object.message = message.message;\n return object;\n };\n\n /**\n * Converts this SdkTranscriptionStatus to JSON.\n * @function toJSON\n * @memberof SdkTranscriptionStatus\n * @instance\n * @returns {Object.} JSON object\n */\n SdkTranscriptionStatus.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n /**\n * Type enum.\n * @name SdkTranscriptionStatus.Type\n * @enum {number}\n * @property {number} STARTED=1 STARTED value\n * @property {number} INTERRUPTED=2 INTERRUPTED value\n * @property {number} RESUMED=3 RESUMED value\n * @property {number} STOPPED=4 STOPPED value\n * @property {number} FAILED=5 FAILED value\n */\n SdkTranscriptionStatus.Type = (function() {\n var valuesById = {}, values = Object.create(valuesById);\n values[valuesById[1] = "STARTED"] = 1;\n values[valuesById[2] = "INTERRUPTED"] = 2;\n values[valuesById[3] = "RESUMED"] = 3;\n values[valuesById[4] = "STOPPED"] = 4;\n values[valuesById[5] = "FAILED"] = 5;\n return values;\n })();\n\n return SdkTranscriptionStatus;\n})();\n\n$root.SdkTranscriptEvent = (function() {\n\n /**\n * Properties of a SdkTranscriptEvent.\n * @exports ISdkTranscriptEvent\n * @interface ISdkTranscriptEvent\n * @property {ISdkTranscriptionStatus|null} [status] SdkTranscriptEvent status\n * @property {ISdkTranscript|null} [transcript] SdkTranscriptEvent transcript\n */\n\n /**\n * Constructs a new SdkTranscriptEvent.\n * @exports SdkTranscriptEvent\n * @classdesc Represents a SdkTranscriptEvent.\n * @implements ISdkTranscriptEvent\n * @constructor\n * @param {ISdkTranscriptEvent=} [properties] Properties to set\n */\n function SdkTranscriptEvent(properties) {\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkTranscriptEvent status.\n * @member {ISdkTranscriptionStatus|null|undefined} status\n * @memberof SdkTranscriptEvent\n * @instance\n */\n SdkTranscriptEvent.prototype.status = null;\n\n /**\n * SdkTranscriptEvent transcript.\n * @member {ISdkTranscript|null|undefined} transcript\n * @memberof SdkTranscriptEvent\n * @instance\n */\n SdkTranscriptEvent.prototype.transcript = null;\n\n // OneOf field names bound to virtual getters and setters\n var $oneOfFields;\n\n /**\n * SdkTranscriptEvent Event.\n * @member {"status"|"transcript"|undefined} Event\n * @memberof SdkTranscriptEvent\n * @instance\n */\n Object.defineProperty(SdkTranscriptEvent.prototype, "Event", {\n get: $util.oneOfGetter($oneOfFields = ["status", "transcript"]),\n set: $util.oneOfSetter($oneOfFields)\n });\n\n /**\n * Creates a new SdkTranscriptEvent instance using the specified properties.\n * @function create\n * @memberof SdkTranscriptEvent\n * @static\n * @param {ISdkTranscriptEvent=} [properties] Properties to set\n * @returns {SdkTranscriptEvent} SdkTranscriptEvent instance\n */\n SdkTranscriptEvent.create = function create(properties) {\n return new SdkTranscriptEvent(properties);\n };\n\n /**\n * Encodes the specified SdkTranscriptEvent message. Does not implicitly {@link SdkTranscriptEvent.verify|verify} messages.\n * @function encode\n * @memberof SdkTranscriptEvent\n * @static\n * @param {ISdkTranscriptEvent} message SdkTranscriptEvent message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkTranscriptEvent.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.status != null && Object.hasOwnProperty.call(message, "status"))\n $root.SdkTranscriptionStatus.encode(message.status, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();\n if (message.transcript != null && Object.hasOwnProperty.call(message, "transcript"))\n $root.SdkTranscript.encode(message.transcript, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();\n return writer;\n };\n\n /**\n * Encodes the specified SdkTranscriptEvent message, length delimited. Does not implicitly {@link SdkTranscriptEvent.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkTranscriptEvent\n * @static\n * @param {ISdkTranscriptEvent} message SdkTranscriptEvent message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkTranscriptEvent.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkTranscriptEvent message from the specified reader or buffer.\n * @function decode\n * @memberof SdkTranscriptEvent\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkTranscriptEvent} SdkTranscriptEvent\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkTranscriptEvent.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkTranscriptEvent();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.status = $root.SdkTranscriptionStatus.decode(reader, reader.uint32());\n break;\n case 2:\n message.transcript = $root.SdkTranscript.decode(reader, reader.uint32());\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkTranscriptEvent message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkTranscriptEvent\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkTranscriptEvent} SdkTranscriptEvent\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkTranscriptEvent.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkTranscriptEvent message.\n * @function verify\n * @memberof SdkTranscriptEvent\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkTranscriptEvent.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n var properties = {};\n if (message.status != null && message.hasOwnProperty("status")) {\n properties.Event = 1;\n {\n var error = $root.SdkTranscriptionStatus.verify(message.status);\n if (error)\n return "status." + error;\n }\n }\n if (message.transcript != null && message.hasOwnProperty("transcript")) {\n if (properties.Event === 1)\n return "Event: multiple values";\n properties.Event = 1;\n {\n var error = $root.SdkTranscript.verify(message.transcript);\n if (error)\n return "transcript." + error;\n }\n }\n return null;\n };\n\n /**\n * Creates a SdkTranscriptEvent message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkTranscriptEvent\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkTranscriptEvent} SdkTranscriptEvent\n */\n SdkTranscriptEvent.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkTranscriptEvent)\n return object;\n var message = new $root.SdkTranscriptEvent();\n if (object.status != null) {\n if (typeof object.status !== "object")\n throw TypeError(".SdkTranscriptEvent.status: object expected");\n message.status = $root.SdkTranscriptionStatus.fromObject(object.status);\n }\n if (object.transcript != null) {\n if (typeof object.transcript !== "object")\n throw TypeError(".SdkTranscriptEvent.transcript: object expected");\n message.transcript = $root.SdkTranscript.fromObject(object.transcript);\n }\n return message;\n };\n\n /**\n * Creates a plain object from a SdkTranscriptEvent message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkTranscriptEvent\n * @static\n * @param {SdkTranscriptEvent} message SdkTranscriptEvent\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkTranscriptEvent.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (message.status != null && message.hasOwnProperty("status")) {\n object.status = $root.SdkTranscriptionStatus.toObject(message.status, options);\n if (options.oneofs)\n object.Event = "status";\n }\n if (message.transcript != null && message.hasOwnProperty("transcript")) {\n object.transcript = $root.SdkTranscript.toObject(message.transcript, options);\n if (options.oneofs)\n object.Event = "transcript";\n }\n return object;\n };\n\n /**\n * Converts this SdkTranscriptEvent to JSON.\n * @function toJSON\n * @memberof SdkTranscriptEvent\n * @instance\n * @returns {Object.} JSON object\n */\n SdkTranscriptEvent.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkTranscriptEvent;\n})();\n\n$root.SdkTranscriptFrame = (function() {\n\n /**\n * Properties of a SdkTranscriptFrame.\n * @exports ISdkTranscriptFrame\n * @interface ISdkTranscriptFrame\n * @property {Array.|null} [events] SdkTranscriptFrame events\n */\n\n /**\n * Constructs a new SdkTranscriptFrame.\n * @exports SdkTranscriptFrame\n * @classdesc Represents a SdkTranscriptFrame.\n * @implements ISdkTranscriptFrame\n * @constructor\n * @param {ISdkTranscriptFrame=} [properties] Properties to set\n */\n function SdkTranscriptFrame(properties) {\n this.events = [];\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkTranscriptFrame events.\n * @member {Array.} events\n * @memberof SdkTranscriptFrame\n * @instance\n */\n SdkTranscriptFrame.prototype.events = $util.emptyArray;\n\n /**\n * Creates a new SdkTranscriptFrame instance using the specified properties.\n * @function create\n * @memberof SdkTranscriptFrame\n * @static\n * @param {ISdkTranscriptFrame=} [properties] Properties to set\n * @returns {SdkTranscriptFrame} SdkTranscriptFrame instance\n */\n SdkTranscriptFrame.create = function create(properties) {\n return new SdkTranscriptFrame(properties);\n };\n\n /**\n * Encodes the specified SdkTranscriptFrame message. Does not implicitly {@link SdkTranscriptFrame.verify|verify} messages.\n * @function encode\n * @memberof SdkTranscriptFrame\n * @static\n * @param {ISdkTranscriptFrame} message SdkTranscriptFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkTranscriptFrame.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.events != null && message.events.length)\n for (var i = 0; i < message.events.length; ++i)\n $root.SdkTranscriptEvent.encode(message.events[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();\n return writer;\n };\n\n /**\n * Encodes the specified SdkTranscriptFrame message, length delimited. Does not implicitly {@link SdkTranscriptFrame.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkTranscriptFrame\n * @static\n * @param {ISdkTranscriptFrame} message SdkTranscriptFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkTranscriptFrame.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkTranscriptFrame message from the specified reader or buffer.\n * @function decode\n * @memberof SdkTranscriptFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkTranscriptFrame} SdkTranscriptFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkTranscriptFrame.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkTranscriptFrame();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (!(message.events && message.events.length))\n message.events = [];\n message.events.push($root.SdkTranscriptEvent.decode(reader, reader.uint32()));\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkTranscriptFrame message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkTranscriptFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkTranscriptFrame} SdkTranscriptFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkTranscriptFrame.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkTranscriptFrame message.\n * @function verify\n * @memberof SdkTranscriptFrame\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkTranscriptFrame.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.events != null && message.hasOwnProperty("events")) {\n if (!Array.isArray(message.events))\n return "events: array expected";\n for (var i = 0; i < message.events.length; ++i) {\n var error = $root.SdkTranscriptEvent.verify(message.events[i]);\n if (error)\n return "events." + error;\n }\n }\n return null;\n };\n\n /**\n * Creates a SdkTranscriptFrame message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkTranscriptFrame\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkTranscriptFrame} SdkTranscriptFrame\n */\n SdkTranscriptFrame.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkTranscriptFrame)\n return object;\n var message = new $root.SdkTranscriptFrame();\n if (object.events) {\n if (!Array.isArray(object.events))\n throw TypeError(".SdkTranscriptFrame.events: array expected");\n message.events = [];\n for (var i = 0; i < object.events.length; ++i) {\n if (typeof object.events[i] !== "object")\n throw TypeError(".SdkTranscriptFrame.events: object expected");\n message.events[i] = $root.SdkTranscriptEvent.fromObject(object.events[i]);\n }\n }\n return message;\n };\n\n /**\n * Creates a plain object from a SdkTranscriptFrame message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkTranscriptFrame\n * @static\n * @param {SdkTranscriptFrame} message SdkTranscriptFrame\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkTranscriptFrame.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.arrays || options.defaults)\n object.events = [];\n if (message.events && message.events.length) {\n object.events = [];\n for (var j = 0; j < message.events.length; ++j)\n object.events[j] = $root.SdkTranscriptEvent.toObject(message.events[j], options);\n }\n return object;\n };\n\n /**\n * Converts this SdkTranscriptFrame to JSON.\n * @function toJSON\n * @memberof SdkTranscriptFrame\n * @instance\n * @returns {Object.} JSON object\n */\n SdkTranscriptFrame.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkTranscriptFrame;\n})();\n\n$root.SdkRemoteVideoUpdateFrame = (function() {\n\n /**\n * Properties of a SdkRemoteVideoUpdateFrame.\n * @exports ISdkRemoteVideoUpdateFrame\n * @interface ISdkRemoteVideoUpdateFrame\n * @property {Array.|null} [addedOrUpdatedVideoSubscriptions] SdkRemoteVideoUpdateFrame addedOrUpdatedVideoSubscriptions\n * @property {Array.|null} [removedVideoSubscriptionMids] SdkRemoteVideoUpdateFrame removedVideoSubscriptionMids\n */\n\n /**\n * Constructs a new SdkRemoteVideoUpdateFrame.\n * @exports SdkRemoteVideoUpdateFrame\n * @classdesc Represents a SdkRemoteVideoUpdateFrame.\n * @implements ISdkRemoteVideoUpdateFrame\n * @constructor\n * @param {ISdkRemoteVideoUpdateFrame=} [properties] Properties to set\n */\n function SdkRemoteVideoUpdateFrame(properties) {\n this.addedOrUpdatedVideoSubscriptions = [];\n this.removedVideoSubscriptionMids = [];\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkRemoteVideoUpdateFrame addedOrUpdatedVideoSubscriptions.\n * @member {Array.} addedOrUpdatedVideoSubscriptions\n * @memberof SdkRemoteVideoUpdateFrame\n * @instance\n */\n SdkRemoteVideoUpdateFrame.prototype.addedOrUpdatedVideoSubscriptions = $util.emptyArray;\n\n /**\n * SdkRemoteVideoUpdateFrame removedVideoSubscriptionMids.\n * @member {Array.} removedVideoSubscriptionMids\n * @memberof SdkRemoteVideoUpdateFrame\n * @instance\n */\n SdkRemoteVideoUpdateFrame.prototype.removedVideoSubscriptionMids = $util.emptyArray;\n\n /**\n * Creates a new SdkRemoteVideoUpdateFrame instance using the specified properties.\n * @function create\n * @memberof SdkRemoteVideoUpdateFrame\n * @static\n * @param {ISdkRemoteVideoUpdateFrame=} [properties] Properties to set\n * @returns {SdkRemoteVideoUpdateFrame} SdkRemoteVideoUpdateFrame instance\n */\n SdkRemoteVideoUpdateFrame.create = function create(properties) {\n return new SdkRemoteVideoUpdateFrame(properties);\n };\n\n /**\n * Encodes the specified SdkRemoteVideoUpdateFrame message. Does not implicitly {@link SdkRemoteVideoUpdateFrame.verify|verify} messages.\n * @function encode\n * @memberof SdkRemoteVideoUpdateFrame\n * @static\n * @param {ISdkRemoteVideoUpdateFrame} message SdkRemoteVideoUpdateFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkRemoteVideoUpdateFrame.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.addedOrUpdatedVideoSubscriptions != null && message.addedOrUpdatedVideoSubscriptions.length)\n for (var i = 0; i < message.addedOrUpdatedVideoSubscriptions.length; ++i)\n $root.SdkVideoSubscriptionConfiguration.encode(message.addedOrUpdatedVideoSubscriptions[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();\n if (message.removedVideoSubscriptionMids != null && message.removedVideoSubscriptionMids.length)\n for (var i = 0; i < message.removedVideoSubscriptionMids.length; ++i)\n writer.uint32(/* id 2, wireType 2 =*/18).string(message.removedVideoSubscriptionMids[i]);\n return writer;\n };\n\n /**\n * Encodes the specified SdkRemoteVideoUpdateFrame message, length delimited. Does not implicitly {@link SdkRemoteVideoUpdateFrame.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkRemoteVideoUpdateFrame\n * @static\n * @param {ISdkRemoteVideoUpdateFrame} message SdkRemoteVideoUpdateFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkRemoteVideoUpdateFrame.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkRemoteVideoUpdateFrame message from the specified reader or buffer.\n * @function decode\n * @memberof SdkRemoteVideoUpdateFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkRemoteVideoUpdateFrame} SdkRemoteVideoUpdateFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkRemoteVideoUpdateFrame.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkRemoteVideoUpdateFrame();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n if (!(message.addedOrUpdatedVideoSubscriptions && message.addedOrUpdatedVideoSubscriptions.length))\n message.addedOrUpdatedVideoSubscriptions = [];\n message.addedOrUpdatedVideoSubscriptions.push($root.SdkVideoSubscriptionConfiguration.decode(reader, reader.uint32()));\n break;\n case 2:\n if (!(message.removedVideoSubscriptionMids && message.removedVideoSubscriptionMids.length))\n message.removedVideoSubscriptionMids = [];\n message.removedVideoSubscriptionMids.push(reader.string());\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkRemoteVideoUpdateFrame message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkRemoteVideoUpdateFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkRemoteVideoUpdateFrame} SdkRemoteVideoUpdateFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkRemoteVideoUpdateFrame.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkRemoteVideoUpdateFrame message.\n * @function verify\n * @memberof SdkRemoteVideoUpdateFrame\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkRemoteVideoUpdateFrame.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.addedOrUpdatedVideoSubscriptions != null && message.hasOwnProperty("addedOrUpdatedVideoSubscriptions")) {\n if (!Array.isArray(message.addedOrUpdatedVideoSubscriptions))\n return "addedOrUpdatedVideoSubscriptions: array expected";\n for (var i = 0; i < message.addedOrUpdatedVideoSubscriptions.length; ++i) {\n var error = $root.SdkVideoSubscriptionConfiguration.verify(message.addedOrUpdatedVideoSubscriptions[i]);\n if (error)\n return "addedOrUpdatedVideoSubscriptions." + error;\n }\n }\n if (message.removedVideoSubscriptionMids != null && message.hasOwnProperty("removedVideoSubscriptionMids")) {\n if (!Array.isArray(message.removedVideoSubscriptionMids))\n return "removedVideoSubscriptionMids: array expected";\n for (var i = 0; i < message.removedVideoSubscriptionMids.length; ++i)\n if (!$util.isString(message.removedVideoSubscriptionMids[i]))\n return "removedVideoSubscriptionMids: string[] expected";\n }\n return null;\n };\n\n /**\n * Creates a SdkRemoteVideoUpdateFrame message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkRemoteVideoUpdateFrame\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkRemoteVideoUpdateFrame} SdkRemoteVideoUpdateFrame\n */\n SdkRemoteVideoUpdateFrame.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkRemoteVideoUpdateFrame)\n return object;\n var message = new $root.SdkRemoteVideoUpdateFrame();\n if (object.addedOrUpdatedVideoSubscriptions) {\n if (!Array.isArray(object.addedOrUpdatedVideoSubscriptions))\n throw TypeError(".SdkRemoteVideoUpdateFrame.addedOrUpdatedVideoSubscriptions: array expected");\n message.addedOrUpdatedVideoSubscriptions = [];\n for (var i = 0; i < object.addedOrUpdatedVideoSubscriptions.length; ++i) {\n if (typeof object.addedOrUpdatedVideoSubscriptions[i] !== "object")\n throw TypeError(".SdkRemoteVideoUpdateFrame.addedOrUpdatedVideoSubscriptions: object expected");\n message.addedOrUpdatedVideoSubscriptions[i] = $root.SdkVideoSubscriptionConfiguration.fromObject(object.addedOrUpdatedVideoSubscriptions[i]);\n }\n }\n if (object.removedVideoSubscriptionMids) {\n if (!Array.isArray(object.removedVideoSubscriptionMids))\n throw TypeError(".SdkRemoteVideoUpdateFrame.removedVideoSubscriptionMids: array expected");\n message.removedVideoSubscriptionMids = [];\n for (var i = 0; i < object.removedVideoSubscriptionMids.length; ++i)\n message.removedVideoSubscriptionMids[i] = String(object.removedVideoSubscriptionMids[i]);\n }\n return message;\n };\n\n /**\n * Creates a plain object from a SdkRemoteVideoUpdateFrame message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkRemoteVideoUpdateFrame\n * @static\n * @param {SdkRemoteVideoUpdateFrame} message SdkRemoteVideoUpdateFrame\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkRemoteVideoUpdateFrame.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.arrays || options.defaults) {\n object.addedOrUpdatedVideoSubscriptions = [];\n object.removedVideoSubscriptionMids = [];\n }\n if (message.addedOrUpdatedVideoSubscriptions && message.addedOrUpdatedVideoSubscriptions.length) {\n object.addedOrUpdatedVideoSubscriptions = [];\n for (var j = 0; j < message.addedOrUpdatedVideoSubscriptions.length; ++j)\n object.addedOrUpdatedVideoSubscriptions[j] = $root.SdkVideoSubscriptionConfiguration.toObject(message.addedOrUpdatedVideoSubscriptions[j], options);\n }\n if (message.removedVideoSubscriptionMids && message.removedVideoSubscriptionMids.length) {\n object.removedVideoSubscriptionMids = [];\n for (var j = 0; j < message.removedVideoSubscriptionMids.length; ++j)\n object.removedVideoSubscriptionMids[j] = message.removedVideoSubscriptionMids[j];\n }\n return object;\n };\n\n /**\n * Converts this SdkRemoteVideoUpdateFrame to JSON.\n * @function toJSON\n * @memberof SdkRemoteVideoUpdateFrame\n * @instance\n * @returns {Object.} JSON object\n */\n SdkRemoteVideoUpdateFrame.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkRemoteVideoUpdateFrame;\n})();\n\n$root.SdkVideoSubscriptionConfiguration = (function() {\n\n /**\n * Properties of a SdkVideoSubscriptionConfiguration.\n * @exports ISdkVideoSubscriptionConfiguration\n * @interface ISdkVideoSubscriptionConfiguration\n * @property {string} mid SdkVideoSubscriptionConfiguration mid\n * @property {string|null} [attendeeId] SdkVideoSubscriptionConfiguration attendeeId\n * @property {number|null} [streamId] SdkVideoSubscriptionConfiguration streamId\n * @property {number|null} [priority] SdkVideoSubscriptionConfiguration priority\n * @property {number|null} [targetBitrateKbps] SdkVideoSubscriptionConfiguration targetBitrateKbps\n * @property {number|null} [groupId] SdkVideoSubscriptionConfiguration groupId\n */\n\n /**\n * Constructs a new SdkVideoSubscriptionConfiguration.\n * @exports SdkVideoSubscriptionConfiguration\n * @classdesc Represents a SdkVideoSubscriptionConfiguration.\n * @implements ISdkVideoSubscriptionConfiguration\n * @constructor\n * @param {ISdkVideoSubscriptionConfiguration=} [properties] Properties to set\n */\n function SdkVideoSubscriptionConfiguration(properties) {\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkVideoSubscriptionConfiguration mid.\n * @member {string} mid\n * @memberof SdkVideoSubscriptionConfiguration\n * @instance\n */\n SdkVideoSubscriptionConfiguration.prototype.mid = "";\n\n /**\n * SdkVideoSubscriptionConfiguration attendeeId.\n * @member {string} attendeeId\n * @memberof SdkVideoSubscriptionConfiguration\n * @instance\n */\n SdkVideoSubscriptionConfiguration.prototype.attendeeId = "";\n\n /**\n * SdkVideoSubscriptionConfiguration streamId.\n * @member {number} streamId\n * @memberof SdkVideoSubscriptionConfiguration\n * @instance\n */\n SdkVideoSubscriptionConfiguration.prototype.streamId = 0;\n\n /**\n * SdkVideoSubscriptionConfiguration priority.\n * @member {number} priority\n * @memberof SdkVideoSubscriptionConfiguration\n * @instance\n */\n SdkVideoSubscriptionConfiguration.prototype.priority = 0;\n\n /**\n * SdkVideoSubscriptionConfiguration targetBitrateKbps.\n * @member {number} targetBitrateKbps\n * @memberof SdkVideoSubscriptionConfiguration\n * @instance\n */\n SdkVideoSubscriptionConfiguration.prototype.targetBitrateKbps = 0;\n\n /**\n * SdkVideoSubscriptionConfiguration groupId.\n * @member {number} groupId\n * @memberof SdkVideoSubscriptionConfiguration\n * @instance\n */\n SdkVideoSubscriptionConfiguration.prototype.groupId = 0;\n\n /**\n * Creates a new SdkVideoSubscriptionConfiguration instance using the specified properties.\n * @function create\n * @memberof SdkVideoSubscriptionConfiguration\n * @static\n * @param {ISdkVideoSubscriptionConfiguration=} [properties] Properties to set\n * @returns {SdkVideoSubscriptionConfiguration} SdkVideoSubscriptionConfiguration instance\n */\n SdkVideoSubscriptionConfiguration.create = function create(properties) {\n return new SdkVideoSubscriptionConfiguration(properties);\n };\n\n /**\n * Encodes the specified SdkVideoSubscriptionConfiguration message. Does not implicitly {@link SdkVideoSubscriptionConfiguration.verify|verify} messages.\n * @function encode\n * @memberof SdkVideoSubscriptionConfiguration\n * @static\n * @param {ISdkVideoSubscriptionConfiguration} message SdkVideoSubscriptionConfiguration message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkVideoSubscriptionConfiguration.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n writer.uint32(/* id 1, wireType 2 =*/10).string(message.mid);\n if (message.attendeeId != null && Object.hasOwnProperty.call(message, "attendeeId"))\n writer.uint32(/* id 2, wireType 2 =*/18).string(message.attendeeId);\n if (message.streamId != null && Object.hasOwnProperty.call(message, "streamId"))\n writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.streamId);\n if (message.priority != null && Object.hasOwnProperty.call(message, "priority"))\n writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.priority);\n if (message.targetBitrateKbps != null && Object.hasOwnProperty.call(message, "targetBitrateKbps"))\n writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.targetBitrateKbps);\n if (message.groupId != null && Object.hasOwnProperty.call(message, "groupId"))\n writer.uint32(/* id 6, wireType 0 =*/48).uint32(message.groupId);\n return writer;\n };\n\n /**\n * Encodes the specified SdkVideoSubscriptionConfiguration message, length delimited. Does not implicitly {@link SdkVideoSubscriptionConfiguration.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkVideoSubscriptionConfiguration\n * @static\n * @param {ISdkVideoSubscriptionConfiguration} message SdkVideoSubscriptionConfiguration message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkVideoSubscriptionConfiguration.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkVideoSubscriptionConfiguration message from the specified reader or buffer.\n * @function decode\n * @memberof SdkVideoSubscriptionConfiguration\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkVideoSubscriptionConfiguration} SdkVideoSubscriptionConfiguration\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkVideoSubscriptionConfiguration.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkVideoSubscriptionConfiguration();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.mid = reader.string();\n break;\n case 2:\n message.attendeeId = reader.string();\n break;\n case 3:\n message.streamId = reader.uint32();\n break;\n case 4:\n message.priority = reader.uint32();\n break;\n case 5:\n message.targetBitrateKbps = reader.uint32();\n break;\n case 6:\n message.groupId = reader.uint32();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n if (!message.hasOwnProperty("mid"))\n throw $util.ProtocolError("missing required \'mid\'", { instance: message });\n return message;\n };\n\n /**\n * Decodes a SdkVideoSubscriptionConfiguration message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkVideoSubscriptionConfiguration\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkVideoSubscriptionConfiguration} SdkVideoSubscriptionConfiguration\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkVideoSubscriptionConfiguration.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkVideoSubscriptionConfiguration message.\n * @function verify\n * @memberof SdkVideoSubscriptionConfiguration\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkVideoSubscriptionConfiguration.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (!$util.isString(message.mid))\n return "mid: string expected";\n if (message.attendeeId != null && message.hasOwnProperty("attendeeId"))\n if (!$util.isString(message.attendeeId))\n return "attendeeId: string expected";\n if (message.streamId != null && message.hasOwnProperty("streamId"))\n if (!$util.isInteger(message.streamId))\n return "streamId: integer expected";\n if (message.priority != null && message.hasOwnProperty("priority"))\n if (!$util.isInteger(message.priority))\n return "priority: integer expected";\n if (message.targetBitrateKbps != null && message.hasOwnProperty("targetBitrateKbps"))\n if (!$util.isInteger(message.targetBitrateKbps))\n return "targetBitrateKbps: integer expected";\n if (message.groupId != null && message.hasOwnProperty("groupId"))\n if (!$util.isInteger(message.groupId))\n return "groupId: integer expected";\n return null;\n };\n\n /**\n * Creates a SdkVideoSubscriptionConfiguration message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkVideoSubscriptionConfiguration\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkVideoSubscriptionConfiguration} SdkVideoSubscriptionConfiguration\n */\n SdkVideoSubscriptionConfiguration.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkVideoSubscriptionConfiguration)\n return object;\n var message = new $root.SdkVideoSubscriptionConfiguration();\n if (object.mid != null)\n message.mid = String(object.mid);\n if (object.attendeeId != null)\n message.attendeeId = String(object.attendeeId);\n if (object.streamId != null)\n message.streamId = object.streamId >>> 0;\n if (object.priority != null)\n message.priority = object.priority >>> 0;\n if (object.targetBitrateKbps != null)\n message.targetBitrateKbps = object.targetBitrateKbps >>> 0;\n if (object.groupId != null)\n message.groupId = object.groupId >>> 0;\n return message;\n };\n\n /**\n * Creates a plain object from a SdkVideoSubscriptionConfiguration message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkVideoSubscriptionConfiguration\n * @static\n * @param {SdkVideoSubscriptionConfiguration} message SdkVideoSubscriptionConfiguration\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkVideoSubscriptionConfiguration.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.defaults) {\n object.mid = "";\n object.attendeeId = "";\n object.streamId = 0;\n object.priority = 0;\n object.targetBitrateKbps = 0;\n object.groupId = 0;\n }\n if (message.mid != null && message.hasOwnProperty("mid"))\n object.mid = message.mid;\n if (message.attendeeId != null && message.hasOwnProperty("attendeeId"))\n object.attendeeId = message.attendeeId;\n if (message.streamId != null && message.hasOwnProperty("streamId"))\n object.streamId = message.streamId;\n if (message.priority != null && message.hasOwnProperty("priority"))\n object.priority = message.priority;\n if (message.targetBitrateKbps != null && message.hasOwnProperty("targetBitrateKbps"))\n object.targetBitrateKbps = message.targetBitrateKbps;\n if (message.groupId != null && message.hasOwnProperty("groupId"))\n object.groupId = message.groupId;\n return object;\n };\n\n /**\n * Converts this SdkVideoSubscriptionConfiguration to JSON.\n * @function toJSON\n * @memberof SdkVideoSubscriptionConfiguration\n * @instance\n * @returns {Object.} JSON object\n */\n SdkVideoSubscriptionConfiguration.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkVideoSubscriptionConfiguration;\n})();\n\n$root.SdkPrimaryMeetingJoinFrame = (function() {\n\n /**\n * Properties of a SdkPrimaryMeetingJoinFrame.\n * @exports ISdkPrimaryMeetingJoinFrame\n * @interface ISdkPrimaryMeetingJoinFrame\n * @property {ISdkMeetingSessionCredentials|null} [credentials] SdkPrimaryMeetingJoinFrame credentials\n */\n\n /**\n * Constructs a new SdkPrimaryMeetingJoinFrame.\n * @exports SdkPrimaryMeetingJoinFrame\n * @classdesc Represents a SdkPrimaryMeetingJoinFrame.\n * @implements ISdkPrimaryMeetingJoinFrame\n * @constructor\n * @param {ISdkPrimaryMeetingJoinFrame=} [properties] Properties to set\n */\n function SdkPrimaryMeetingJoinFrame(properties) {\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * SdkPrimaryMeetingJoinFrame credentials.\n * @member {ISdkMeetingSessionCredentials|null|undefined} credentials\n * @memberof SdkPrimaryMeetingJoinFrame\n * @instance\n */\n SdkPrimaryMeetingJoinFrame.prototype.credentials = null;\n\n /**\n * Creates a new SdkPrimaryMeetingJoinFrame instance using the specified properties.\n * @function create\n * @memberof SdkPrimaryMeetingJoinFrame\n * @static\n * @param {ISdkPrimaryMeetingJoinFrame=} [properties] Properties to set\n * @returns {SdkPrimaryMeetingJoinFrame} SdkPrimaryMeetingJoinFrame instance\n */\n SdkPrimaryMeetingJoinFrame.create = function create(properties) {\n return new SdkPrimaryMeetingJoinFrame(properties);\n };\n\n /**\n * Encodes the specified SdkPrimaryMeetingJoinFrame message. Does not implicitly {@link SdkPrimaryMeetingJoinFrame.verify|verify} messages.\n * @function encode\n * @memberof SdkPrimaryMeetingJoinFrame\n * @static\n * @param {ISdkPrimaryMeetingJoinFrame} message SdkPrimaryMeetingJoinFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkPrimaryMeetingJoinFrame.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n if (message.credentials != null && Object.hasOwnProperty.call(message, "credentials"))\n $root.SdkMeetingSessionCredentials.encode(message.credentials, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();\n return writer;\n };\n\n /**\n * Encodes the specified SdkPrimaryMeetingJoinFrame message, length delimited. Does not implicitly {@link SdkPrimaryMeetingJoinFrame.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkPrimaryMeetingJoinFrame\n * @static\n * @param {ISdkPrimaryMeetingJoinFrame} message SdkPrimaryMeetingJoinFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkPrimaryMeetingJoinFrame.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkPrimaryMeetingJoinFrame message from the specified reader or buffer.\n * @function decode\n * @memberof SdkPrimaryMeetingJoinFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkPrimaryMeetingJoinFrame} SdkPrimaryMeetingJoinFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkPrimaryMeetingJoinFrame.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkPrimaryMeetingJoinFrame();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.credentials = $root.SdkMeetingSessionCredentials.decode(reader, reader.uint32());\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkPrimaryMeetingJoinFrame message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkPrimaryMeetingJoinFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkPrimaryMeetingJoinFrame} SdkPrimaryMeetingJoinFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkPrimaryMeetingJoinFrame.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkPrimaryMeetingJoinFrame message.\n * @function verify\n * @memberof SdkPrimaryMeetingJoinFrame\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkPrimaryMeetingJoinFrame.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n if (message.credentials != null && message.hasOwnProperty("credentials")) {\n var error = $root.SdkMeetingSessionCredentials.verify(message.credentials);\n if (error)\n return "credentials." + error;\n }\n return null;\n };\n\n /**\n * Creates a SdkPrimaryMeetingJoinFrame message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkPrimaryMeetingJoinFrame\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkPrimaryMeetingJoinFrame} SdkPrimaryMeetingJoinFrame\n */\n SdkPrimaryMeetingJoinFrame.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkPrimaryMeetingJoinFrame)\n return object;\n var message = new $root.SdkPrimaryMeetingJoinFrame();\n if (object.credentials != null) {\n if (typeof object.credentials !== "object")\n throw TypeError(".SdkPrimaryMeetingJoinFrame.credentials: object expected");\n message.credentials = $root.SdkMeetingSessionCredentials.fromObject(object.credentials);\n }\n return message;\n };\n\n /**\n * Creates a plain object from a SdkPrimaryMeetingJoinFrame message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkPrimaryMeetingJoinFrame\n * @static\n * @param {SdkPrimaryMeetingJoinFrame} message SdkPrimaryMeetingJoinFrame\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.} Plain object\n */\n SdkPrimaryMeetingJoinFrame.toObject = function toObject(message, options) {\n if (!options)\n options = {};\n var object = {};\n if (options.defaults)\n object.credentials = null;\n if (message.credentials != null && message.hasOwnProperty("credentials"))\n object.credentials = $root.SdkMeetingSessionCredentials.toObject(message.credentials, options);\n return object;\n };\n\n /**\n * Converts this SdkPrimaryMeetingJoinFrame to JSON.\n * @function toJSON\n * @memberof SdkPrimaryMeetingJoinFrame\n * @instance\n * @returns {Object.} JSON object\n */\n SdkPrimaryMeetingJoinFrame.prototype.toJSON = function toJSON() {\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\n };\n\n return SdkPrimaryMeetingJoinFrame;\n})();\n\n$root.SdkPrimaryMeetingJoinAckFrame = (function() {\n\n /**\n * Properties of a SdkPrimaryMeetingJoinAckFrame.\n * @exports ISdkPrimaryMeetingJoinAckFrame\n * @interface ISdkPrimaryMeetingJoinAckFrame\n */\n\n /**\n * Constructs a new SdkPrimaryMeetingJoinAckFrame.\n * @exports SdkPrimaryMeetingJoinAckFrame\n * @classdesc Represents a SdkPrimaryMeetingJoinAckFrame.\n * @implements ISdkPrimaryMeetingJoinAckFrame\n * @constructor\n * @param {ISdkPrimaryMeetingJoinAckFrame=} [properties] Properties to set\n */\n function SdkPrimaryMeetingJoinAckFrame(properties) {\n if (properties)\n for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)\n if (properties[keys[i]] != null)\n this[keys[i]] = properties[keys[i]];\n }\n\n /**\n * Creates a new SdkPrimaryMeetingJoinAckFrame instance using the specified properties.\n * @function create\n * @memberof SdkPrimaryMeetingJoinAckFrame\n * @static\n * @param {ISdkPrimaryMeetingJoinAckFrame=} [properties] Properties to set\n * @returns {SdkPrimaryMeetingJoinAckFrame} SdkPrimaryMeetingJoinAckFrame instance\n */\n SdkPrimaryMeetingJoinAckFrame.create = function create(properties) {\n return new SdkPrimaryMeetingJoinAckFrame(properties);\n };\n\n /**\n * Encodes the specified SdkPrimaryMeetingJoinAckFrame message. Does not implicitly {@link SdkPrimaryMeetingJoinAckFrame.verify|verify} messages.\n * @function encode\n * @memberof SdkPrimaryMeetingJoinAckFrame\n * @static\n * @param {ISdkPrimaryMeetingJoinAckFrame} message SdkPrimaryMeetingJoinAckFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkPrimaryMeetingJoinAckFrame.encode = function encode(message, writer) {\n if (!writer)\n writer = $Writer.create();\n return writer;\n };\n\n /**\n * Encodes the specified SdkPrimaryMeetingJoinAckFrame message, length delimited. Does not implicitly {@link SdkPrimaryMeetingJoinAckFrame.verify|verify} messages.\n * @function encodeDelimited\n * @memberof SdkPrimaryMeetingJoinAckFrame\n * @static\n * @param {ISdkPrimaryMeetingJoinAckFrame} message SdkPrimaryMeetingJoinAckFrame message or plain object to encode\n * @param {$protobuf.Writer} [writer] Writer to encode to\n * @returns {$protobuf.Writer} Writer\n */\n SdkPrimaryMeetingJoinAckFrame.encodeDelimited = function encodeDelimited(message, writer) {\n return this.encode(message, writer).ldelim();\n };\n\n /**\n * Decodes a SdkPrimaryMeetingJoinAckFrame message from the specified reader or buffer.\n * @function decode\n * @memberof SdkPrimaryMeetingJoinAckFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @param {number} [length] Message length if known beforehand\n * @returns {SdkPrimaryMeetingJoinAckFrame} SdkPrimaryMeetingJoinAckFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkPrimaryMeetingJoinAckFrame.decode = function decode(reader, length) {\n if (!(reader instanceof $Reader))\n reader = $Reader.create(reader);\n var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SdkPrimaryMeetingJoinAckFrame();\n while (reader.pos < end) {\n var tag = reader.uint32();\n switch (tag >>> 3) {\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n };\n\n /**\n * Decodes a SdkPrimaryMeetingJoinAckFrame message from the specified reader or buffer, length delimited.\n * @function decodeDelimited\n * @memberof SdkPrimaryMeetingJoinAckFrame\n * @static\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\n * @returns {SdkPrimaryMeetingJoinAckFrame} SdkPrimaryMeetingJoinAckFrame\n * @throws {Error} If the payload is not a reader or valid buffer\n * @throws {$protobuf.util.ProtocolError} If required fields are missing\n */\n SdkPrimaryMeetingJoinAckFrame.decodeDelimited = function decodeDelimited(reader) {\n if (!(reader instanceof $Reader))\n reader = new $Reader(reader);\n return this.decode(reader, reader.uint32());\n };\n\n /**\n * Verifies a SdkPrimaryMeetingJoinAckFrame message.\n * @function verify\n * @memberof SdkPrimaryMeetingJoinAckFrame\n * @static\n * @param {Object.} message Plain object to verify\n * @returns {string|null} `null` if valid, otherwise the reason why it is not\n */\n SdkPrimaryMeetingJoinAckFrame.verify = function verify(message) {\n if (typeof message !== "object" || message === null)\n return "object expected";\n return null;\n };\n\n /**\n * Creates a SdkPrimaryMeetingJoinAckFrame message from a plain object. Also converts values to their respective internal types.\n * @function fromObject\n * @memberof SdkPrimaryMeetingJoinAckFrame\n * @static\n * @param {Object.} object Plain object\n * @returns {SdkPrimaryMeetingJoinAckFrame} SdkPrimaryMeetingJoinAckFrame\n */\n SdkPrimaryMeetingJoinAckFrame.fromObject = function fromObject(object) {\n if (object instanceof $root.SdkPrimaryMeetingJoinAckFrame)\n return object;\n return new $root.SdkPrimaryMeetingJoinAckFrame();\n };\n\n /**\n * Creates a plain object from a SdkPrimaryMeetingJoinAckFrame message. Also converts values to other types if specified.\n * @function toObject\n * @memberof SdkPrimaryMeetingJoinAckFrame\n * @static\n * @param {SdkPrimaryMeetingJoinAckFrame} message SdkPrimaryMeetingJoinAckFrame\n * @param {$protobuf.IConversionOptions} [options] Conversion options\n * @returns {Object.